.elementor-2870 .elementor-element.elementor-element-6126cb1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-41d07b7 *//* ================================
   GALLERY GRID – WIDTH PATTERN
================================ */

.width-brick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    margin: 40px 0;
}

/* ================================
   CARD BASE
================================ */

.width-brick {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 260px;
    text-decoration: none;

    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

/* Soft shadow */
.width-brick {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* ================================
   WIDTH PATTERN (6 ITEMS LOOP)
================================ */

/* Row 1 */
.width-brick:nth-child(6n+1) { grid-column: span 1; } /* small */
.width-brick:nth-child(6n+2) { grid-column: span 2; } /* big */
.width-brick:nth-child(6n+3) { grid-column: span 2; } /* big */

/* Row 2 */
.width-brick:nth-child(6n+4) { grid-column: span 2; } /* big */
.width-brick:nth-child(6n+5) { grid-column: span 2; } /* big */
.width-brick:nth-child(6n+6) { grid-column: span 1; } /* small */

/* ================================
   OVERLAYS & GRADIENTS
================================ */

/* Dark overlay */
.width-brick::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.55)
    );
    transition: opacity 0.4s ease;
}

/* ================================
   TITLE
================================ */

.width-brick-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 22px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #fff;

    z-index: 2;
}

/* ================================
   HOVER EFFECTS
================================ */

.width-brick:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
}

.width-brick:hover::before {
    opacity: 0.75;
}

/* ================================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 1024px) {
    .width-brick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .width-brick {
        grid-column: span 1 !important;
        min-height: 240px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .width-brick-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .width-brick {
        min-height: 220px;
        border-radius: 10px;
    }

    .width-brick-title {
        font-size: 16px;
        padding: 18px;
    }
}

.gallery-pagination {
    margin-top: 50px;
    text-align: center;
}

.gallery-pagination .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    transition: all .3s ease;
}

.gallery-pagination .page-numbers.current {
    background: #000;
    color: #fff;
}

.gallery-pagination .page-numbers:hover {
    background: #000;
    color: #fff;
}/* End custom CSS */