*, *::before, *::after {
    box-sizing: border-box !important;
}

html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: white;
    color: #444;
    border: 2px solid #f7dce5;
    border-radius: 25px;
    box-shadow: 0px 0px 25px rgba(244, 210, 220, 0.25);
    min-height: calc(100vh - 40px);
}

img {
    max-width: 100%;
    display: block;
}

.page-container,
.gallery-section,
header {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* LOGO / HEADER */

.logo,
img[alt*="Logo"] {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 250px;
    height: auto !important;
}

header,
.hero-section {
    text-align: center !important;
    width: 100% !important;
}

/* NAVIGATION */

nav {
    background-color: white;
    padding: 28px 20px;
    text-align: center;
    border-bottom: 1px solid #f3dfe7;
}

nav a {
    text-decoration: none;
    color: #d88ca0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0 18px;
    padding: 10px 22px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #b96f84;
}

/* HERO */

.hero {
    text-align: center;
    padding: 100px 20px;
}

.logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 30px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', cursive;
    font-size: 82px;
    color: #d88ca0;
    margin-bottom: 10px;
    font-weight: normal;
}

.hero p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: #8d8d8d;
    max-width: 700px;
    margin: auto;
    line-height: 1.5;
    font-weight: 300;
}

/* ABOUT PAGE */

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    padding: 80px 40px;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 30px;
    border: 2px solid #f7dce5;
    box-shadow: 0px 0px 25px rgba(244, 210, 220, 0.20);
    object-fit: cover;
}

.about-content {
    width: 100%;
    max-width: 430px;
}

.about-content h1 {
   font-family: 'Cormorant Garamond', serif;
    font-size: 68px;
    color: #d88ca0;
    margin-bottom: 25px;
}

.about-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    line-height: 1.9;
    color: #7d7d7d;
    margin-bottom: 35px;
    width: 100%;
}

/* CONTACT PAGE */

.contact-section {
    text-align: center;
    padding: 70px 40px;
}

.contact-section h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 68px;
    color: #d88ca0;
    margin-bottom: 25px;
}

.contact-section p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #7d7d7d;
    max-width: 760px;
    display: block;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    text-align: center;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
    max-width: 1000px;
    margin: 35px auto 0;
}

.contact-card {
    width: 240px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: #d88ca0;
    background-color: white;
    border: 2px solid #f7dce5;
    border-radius: 30px;
    box-shadow: 0px 0px 18px rgba(244, 210, 220, 0.15);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background-color: #fff4f7;
    transform: translateY(-4px);
    box-shadow: 0px 8px 22px rgba(244, 190, 205, 0.3);
}

/* GALLERY PAGE */

.gallery-section {
    padding: 80px 50px;
    text-align: center;
}

.gallery-section h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 70px;
    color: #d88ca0;
    margin-bottom: 60px;
}

.gallery-section p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #7d7d7d;
    max-width: 760px;
    display: block;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    text-align: center;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: start;
    max-width: 1200px;
    margin: 40px auto;
    gap: 28px;
    padding: 0 20px;
}

.gallery-card {
    width: 180px;
    height: 285px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    border: 2px solid #f7dce5;
    box-shadow: 0px 0px 20px rgba(244, 210, 220, 0.15);
    transition: all 0.3s ease;
    padding: 0;
    line-height: 0;
    text-align: center;
    flex-shrink: 0;
}

.gallery-card:hover {
    transform: translateY(-6px);
    background-color: #fff7fa;
}

.gallery-card img,
.gallery-card img.tall-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
}

.gallery-card h2,
.gallery-card h3 {
    font-family: 'Cormorant Garamond', serif;
    height: 85px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d88ca0;
    font-size: 24px;
    padding: 8px;
    margin: 0;
    text-align: center;
    line-height: 1.15;
}

/* CAROUSEL PAGES */

.carousel-section {
    padding: 40px 20px;
    text-align: center;
}

.carousel-section h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    color: #d88ca0;
    margin-bottom: 20px;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-item img {
    width: 100%;
    max-width: 300px;
    height: 500px;
    object-fit: cover;
    border-radius: 30px;
    border: 2px solid #f7dce5;
    margin: auto;
}

.carousel-item p {
    margin-top: 18px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #7b707d;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #f7dce5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #d88ca0;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #d88ca0;
    color: white;
    transition: 0.3s ease;
}

.prev {
    left: 200px;
}

.next {
    right: 200px;
}

.back-button {
    display: inline-block;
    margin: 40px auto;
    padding: 12px 28px;
    background-color: white;
    color: #d88ca0;
    border: 2px solid #d88ca0;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #d88ca0;
    color: white;
}

.back-container {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
}



@media (max-width: 1200px) {
    nav {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px 20px !important;
        padding: 15px !important;
        width: 100% !important;
    }

    nav a {
        white-space: nowrap !important;
        font-size: 15px !important;
        padding: 5px 10px !important;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    html,
    body {
        border: none !important;
    }

    .page-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    nav {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 14px 18px !important;
        width: 100% !important;
        max-width: 680px !important;
        margin: 0 auto !important;
        padding: 20px 22px 24px 22px !important;
        background-color: white !important;
        border-bottom: 1px solid #f3dfe7 !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    nav a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 10px 6px !important;
        background-color: #fff5f8 !important;
        color: #d196ab !important;
        border-radius: 8px !important;
        text-align: center !important;
        text-decoration: none !important;
        font-size: clamp(16px, 3.4vw, 22px) !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    nav a:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
    nav a:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
    nav a:nth-child(3) { grid-column: 3 !important; grid-row: 1 !important; }
    nav a:nth-child(4) { grid-column: 4 !important; grid-row: 1 !important; }

    nav a:nth-child(5),
    nav a[href*="events"] {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
    }

    .gallery-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 55px 14px 70px 14px !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    .gallery-section h1 {
        font-size: clamp(36px, 9vw, 48px) !important;
        margin: 20px 0 16px 0 !important;
        padding: 0 10px !important;
    }

    .gallery-section p {
        font-size: clamp(18px, 4.5vw, 24px) !important;
        line-height: 1.35 !important;
        padding: 0 10px !important;
        margin: 0 auto 48px auto !important;
        max-width: 560px !important;
    }

    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        justify-items: stretch !important;
        align-items: start !important;
    }

    .gallery-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 235px !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: none !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        text-decoration: none !important;
    }

    .gallery-card img,
    .gallery-card img.tall-image {
        width: 100% !important;
        height: 165px !important;
        min-height: 165px !important;
        max-height: 165px !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
        flex-shrink: 0 !important;
    }

    .gallery-card h2,
    .gallery-card h3 {
        width: 100% !important;
        height: 70px !important;
        min-height: 70px !important;
        margin: 0 !important;
        padding: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: clamp(16px, 4.5vw, 22px) !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .carousel-container {
        position: relative !important;
        padding-bottom: 72px !important;
        overflow: visible !important;
    }

    .carousel-track {
        width: 100% !important;
    }

    .carousel-item {
        width: 100% !important;
        min-width: 100% !important;
    }

    .carousel-btn,
    .prev,
    .next {
        position: absolute !important;
        top: auto !important;
        bottom: 0 !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        background-color: white !important;
        color: #d88ca0 !important;
        border: 2px solid #f7dce5 !important;
        border-radius: 50% !important;
        font-size: 22px !important;
        font-weight: bold !important;
        cursor: pointer !important;
        z-index: 10 !important;
    }

    .prev {
        left: calc(50% - 52px) !important;
        right: auto !important;
    }

    .next {
        right: calc(50% - 52px) !important;
        left: auto !important;
    }

    .back-container {
        margin-top: 24px !important;
    }

    .contact-section {
        padding: 45px 18px 70px 18px !important;
        overflow-x: hidden !important;
    }

    .contact-section h1 {
        font-size: clamp(52px, 15vw, 72px) !important;
        line-height: 1.05 !important;
        margin: 70px 0 28px 0 !important;
        text-align: center !important;
    }

    .contact-section p {
        display: block !important;
        width: fit-content !important;
        max-width: 100% !important;
        margin: 0 auto 60px auto !important;
        padding: 0 20px !important;
        text-align: center !important;
        font-size: clamp(27px, 6.4vw, 34px) !important;
        line-height: 1.45 !important;
    }

    .contact-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 580px !important;
        margin: 0 auto !important;
        padding: 0 12px !important;
        justify-items: stretch !important;
    }

    .contact-card {
        width: 100% !important;
        min-width: 0 !important;
        height: 78px !important;
        padding: 0 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: clamp(25px, 6.5vw, 34px) !important;
        line-height: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;
        border-radius: 24px !important;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 55px 14px 70px 14px !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 18px !important;

        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;

        justify-items: stretch !important;
        align-items: start !important;
        overflow: visible !important;
    }

    .gallery-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        height: 235px !important;
        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        justify-self: stretch !important;
        align-self: start !important;

        transform: none !important;
        float: none !important;
        clear: none !important;

        border-radius: 18px !important;
        overflow: hidden !important;
        text-decoration: none !important;
    }

    .gallery-card:nth-child(1) {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .gallery-card:nth-child(2) {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .gallery-card:nth-child(3) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .gallery-card:nth-child(4) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    .gallery-card:nth-child(5) {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }

    .gallery-card:nth-child(6) {
        grid-column: 2 !important;
        grid-row: 3 !important;
    }

    .gallery-card img,
    .gallery-card img.tall-image {
        width: 100% !important;
        height: 165px !important;
        min-height: 165px !important;
        max-height: 165px !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
        flex-shrink: 0 !important;
    }

    .gallery-card h2,
    .gallery-card h3 {
        width: 100% !important;
        height: 70px !important;
        min-height: 70px !important;
        margin: 0 !important;
        padding: 6px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: clamp(16px, 4.5vw, 22px) !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }
}



@media (max-width: 768px) {
    .about-container {
        padding: 28px 18px 55px 18px !important;
        gap: 26px !important;
        align-items: center !important;
    }

    .about-image {
        width: 100% !important;
        margin: 0 !important;
    }

    .about-image img {
        width: 100% !important;
        max-width: 560px !important;
        max-height: 360px !important;
        margin: 0 auto !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 24px !important;
    }

    .about-content {
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .about-content h1 {
        font-size: clamp(54px, 15vw, 78px) !important;
        line-height: 1 !important;
        margin: 0 0 24px 0 !important;
    }

    .about-content p {
        font-size: clamp(20px, 5.6vw, 28px) !important;
        line-height: 1.45 !important;
        margin: 0 auto 22px auto !important;
        max-width: 95% !important;
        text-align: center !important;
    }
}


@media (max-width: 768px) {
    .contact-buttons {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;

        width: 100% !important;
        max-width: 580px !important;

        margin: 0 auto !important;
        padding: 0 18px !important;

        box-sizing: border-box !important;
        justify-items: stretch !important;
        align-items: start !important;
    }

    .contact-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        height: 78px !important;
        margin: 0 !important;
        padding: 0 8px 4px 8px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: clamp(24px, 6vw, 32px) !important;
        line-height: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;

        border-radius: 24px !important;
        box-sizing: border-box !important;
    }

    .contact-card:nth-child(1) {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .contact-card:nth-child(2) {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .contact-card:nth-child(3) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .contact-card:nth-child(4) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
}


@media (max-width: 768px) {
    .gallery-section {
        padding-top: 22px !important;
    }

    .gallery-section h1 {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }

    .gallery-section p {
        margin-bottom: 42px !important;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: 235px !important;
        gap: 18px !important;

        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 14px 50px 14px !important;

        box-sizing: border-box !important;
        align-items: start !important;
        justify-items: stretch !important;
    }

    .gallery-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        height: 235px !important;
        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        border-radius: 18px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .gallery-card:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
    .gallery-card:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
    .gallery-card:nth-child(3) { grid-column: 1 !important; grid-row: 2 !important; }
    .gallery-card:nth-child(4) { grid-column: 2 !important; grid-row: 2 !important; }
    .gallery-card:nth-child(5) { grid-column: 1 !important; grid-row: 3 !important; }
    .gallery-card:nth-child(6) { grid-column: 2 !important; grid-row: 3 !important; }
    .gallery-card:nth-child(7) { grid-column: 1 !important; grid-row: 4 !important; }

    .gallery-card img,
    .gallery-card img.tall-image {
        width: 100% !important;
        height: 165px !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
        flex-shrink: 0 !important;
    }

    .gallery-card h2,
    .gallery-card h3 {
        height: 70px !important;
        min-height: 70px !important;
        margin: 0 !important;
        padding: 6px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: clamp(16px, 4.5vw, 22px) !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }
}




.coasters-page .carousel-container {
    width: min(92vw, 820px) !important;
    max-width: 820px !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: visible !important;
}

.coasters-page .carousel-window {
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 30px !important;
}

.coasters-page .carousel-track {
    display: flex !important;
    width: 100% !important;
    transition: transform 0.4s ease !important;
}

.coasters-page .carousel-item {
    width: 100% !important;
    min-width: 100% !important;
    flex: 0 0 100% !important;
}

.coasters-page .carousel-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 30px !important;
    border: 2px solid #f7dce5 !important;
    display: block !important;
}


@media (min-width: 769px) {
    .coasters-page .prev,
    .coasters-page .next {
        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        z-index: 20 !important;
    }

    .coasters-page .prev {
        left: -64px !important;
        right: auto !important;
    }

    .coasters-page .next {
        right: -64px !important;
        left: auto !important;
    }
}


@media (max-width: 768px) {
    .coasters-page .carousel-container {
        width: min(92vw, 520px) !important;
        max-width: 520px !important;
        padding-bottom: 72px !important;
    }

    .coasters-page .prev,
    .coasters-page .next {
        position: absolute !important;
        top: auto !important;
        bottom: 0 !important;
        transform: none !important;
        z-index: 20 !important;
    }

    .coasters-page .prev {
        left: calc(50% - 52px) !important;
        right: auto !important;
    }

    .coasters-page .next {
        right: calc(50% - 52px) !important;
        left: auto !important;
    }
}


.coasters-page .carousel-container {
    width: min(92vw, 520px) !important;
    max-width: 520px !important;
    overflow: hidden !important;
}

.coasters-page .carousel-track {
    width: 100% !important;
}

.coasters-page .carousel-item {
    min-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
}

.coasters-page .carousel-item img {
    width: 100% !important;
    max-width: 100% !important;
}



@media (min-width: 769px) {
    .coasters-page .carousel-container {
        width: min(92vw, 980px) !important;
        max-width: 980px !important;
        padding: 0 80px !important;
        overflow: visible !important;
        position: relative !important;
    }

    .coasters-page .carousel-window {
        overflow: hidden !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .coasters-page .carousel-btn,
    .coasters-page .prev,
    .coasters-page .next {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;

        z-index: 50 !important;
        pointer-events: auto !important;
    }

    .coasters-page .prev {
        left: 12px !important;
        right: auto !important;
    }

    .coasters-page .next {
        right: 12px !important;
        left: auto !important;
    }
}

@media (min-width: 769px) {
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(8, 118px) !important;
        justify-content: center !important;
        justify-items: center !important;
        align-items: start !important;

        column-gap: 0 !important;
        row-gap: 42px !important;

        width: 100% !important;
        max-width: 1040px !important;
        margin: 40px auto 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .gallery-card {
        width: 220px !important;
        height: 330px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .gallery-card:nth-child(1) { grid-column: 1 / span 2 !important; grid-row: 1 !important; }
    .gallery-card:nth-child(2) { grid-column: 3 / span 2 !important; grid-row: 1 !important; }
    .gallery-card:nth-child(3) { grid-column: 5 / span 2 !important; grid-row: 1 !important; }
    .gallery-card:nth-child(4) { grid-column: 7 / span 2 !important; grid-row: 1 !important; }

    .gallery-card:nth-child(5) { grid-column: 2 / span 2 !important; grid-row: 2 !important; }
    .gallery-card:nth-child(6) { grid-column: 4 / span 2 !important; grid-row: 2 !important; }
    .gallery-card:nth-child(7) { grid-column: 6 / span 2 !important; grid-row: 2 !important; }

    .gallery-card img,
    .gallery-card img.tall-image {
        width: 100% !important;
        height: 235px !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .gallery-card h2,
    .gallery-card h3 {
        height: 95px !important;
        min-height: 95px !important;
    }
}


@media (min-width: 769px) {
    .coasters-page .carousel-container {
        width: min(92vw, 980px) !important;
        max-width: 980px !important;
        margin: 0 auto !important;
        padding: 0 82px !important;
        position: relative !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .coasters-page .carousel-window {
        width: 100% !important;
        overflow: hidden !important;
        border-radius: 30px !important;
    }

    .coasters-page .carousel-track {
        display: flex !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .coasters-page .carousel-item {
        width: 100% !important;
        min-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .coasters-page .carousel-item img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    .coasters-page .carousel-container::before,
    .coasters-page .carousel-container::after {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 82px !important;
        background: white !important;
        z-index: 10 !important;
        pointer-events: none !important;
    }

    .coasters-page .carousel-container::before {
        left: 0 !important;
    }

    .coasters-page .carousel-container::after {
        right: 0 !important;
    }

    .coasters-page .carousel-btn,
    .coasters-page .prev,
    .coasters-page .next {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;

        z-index: 20 !important;
        pointer-events: auto !important;
    }

    .coasters-page .prev {
        left: 18px !important;
        right: auto !important;
    }

    .coasters-page .next {
        right: 18px !important;
        left: auto !important;
    }
}



@media (min-width: 769px) {
    .coasters-page .carousel-btn,
    .coasters-page .prev,
    .coasters-page .next {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        line-height: 1 !important;
        font-size: 24px !important;
        text-align: center !important;
    }
}



@media (max-width: 768px) {
    .gallery-section {
        padding-bottom: 28px !important;
        margin-bottom: 0 !important;
    }

    .gallery-grid {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .gallery-card:last-child {
        margin-bottom: 0 !important;
    }

    .page-container {
        min-height: auto !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    body {
        min-height: auto !important;
    }
}



@media (max-width: 768px) {
    .gallery-section,
    .page-container {
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 20px !important;
        margin-bottom: 0 !important;
    }

    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(4, 235px) !important;
        grid-auto-rows: 0 !important;

        gap: 18px !important;
        height: auto !important;
        min-height: 0 !important;

        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
    }

    .gallery-card {
        height: 235px !important;
        margin-bottom: 0 !important;
    }

    .gallery-card:nth-child(7) {
        grid-column: 1 !important;
        grid-row: 4 !important;
    }

    body {
        min-height: 0 !important;
    }
}

