:root {
    --demo-ink: #24322f;
    --demo-muted: #697a75;
    --demo-bg: #fbfaf4;
    --demo-surface: #ffffff;
    --demo-mint: #2f8f83;
    --demo-mint-dark: #246d65;
    --demo-coral: #f47f5b;
    --demo-sun: #f4c84a;
    --demo-sky: #dceff4;
    --demo-border: #e8e1d3;
}

body {
    background: var(--demo-bg);
    color: var(--demo-ink);
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

a {
    color: var(--demo-mint-dark);
    text-decoration: none;
}

a:hover {
    color: var(--demo-coral);
}

.container {
    max-width: min(100% - 56px, 1440px);
}

.main-content {
    padding: 0;
}

.demo-navbar {
    background: rgba(251, 250, 244, 0.96);
    border-bottom: 1px solid var(--demo-border);
    box-shadow: 0 12px 30px rgba(36, 50, 47, 0.06);
}

.demo-navbar .navbar-brand {
    display: flex;
    align-items: center;
    min-height: 70px;
}

.demo-navbar .navbar-brand img {
    max-height: 74px !important;
    width: auto;
    object-fit: contain;
    margin: 0 !important;
}

.demo-brand-name {
    color: var(--demo-mint-dark);
    font-weight: 800;
    letter-spacing: 0;
    margin-left: 10px;
}

.demo-navbar .nav-link {
    color: var(--demo-ink);
    font-weight: 700;
    padding: 10px 13px !important;
    border-radius: 999px;
}

.demo-navbar .nav-link:hover,
.demo-navbar .nav-link.active {
    color: var(--demo-mint-dark);
    background: rgba(47, 143, 131, 0.1);
}

.dropdown-menu {
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(36, 50, 47, 0.12);
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading span,
.hero-eyebrow,
.meal-hero span {
    display: inline-flex;
    color: var(--demo-coral);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading h2,
.section-title {
    color: var(--demo-ink);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.section-heading p,
.subtitle {
    color: var(--demo-muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 14px auto 0;
}

.why-section,
.gallery-section {
    background: var(--demo-bg);
}

.why-card {
    background: var(--demo-surface);
    border: 1px solid rgba(232, 225, 211, 0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(36, 50, 47, 0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(36, 50, 47, 0.12);
}

.why-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0 !important;
}

.why-card .card-body {
    padding: 22px;
}

.why-card h5 {
    color: var(--demo-ink);
    font-size: 20px;
    font-weight: 900;
}

.why-card p {
    color: var(--demo-muted);
    line-height: 1.6;
    min-height: 78px;
}

.btn-card,
.btn-news-pink,
.btn-gallery-pink,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--demo-mint);
    border: 1px solid var(--demo-mint);
    border-radius: 999px;
    color: white !important;
    font-weight: 800;
    padding: 10px 18px;
}

.btn-card:hover,
.btn-news-pink:hover,
.btn-gallery-pink:hover,
.btn-primary:hover {
    background: var(--demo-mint-dark);
    border-color: var(--demo-mint-dark);
    color: white !important;
}

.news-section {
    background: linear-gradient(180deg, #fff 0%, #fff8ed 100%);
}

.news-section .row > [class*="col-"] {
    display: flex;
}

.news-item {
    border: 1px solid var(--demo-border) !important;
    border-radius: 8px !important;
    width: 100%;
    min-height: 285px;
    display: flex;
    box-shadow: 0 18px 45px rgba(36, 50, 47, 0.08) !important;
}

.news-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.news-meta {
    color: var(--demo-coral);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

.news-title {
    color: var(--demo-ink);
    font-size: 25px;
    font-weight: 900;
    line-height: 1.15;
}

.news-text {
    color: var(--demo-muted);
    line-height: 1.7;
    flex: 1;
}

.news-read-more {
    color: var(--demo-mint-dark);
    font-weight: 900;
}

.gallery-section {
    padding: 70px 0;
}

.gallery-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-home-item {
    min-height: 230px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(36, 50, 47, 0.1);
}

.gallery-home-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-home-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-home-item:hover img {
    transform: scale(1.05);
}

.meal-page {
    padding: 48px 0 80px;
}

.meal-hero {
    background: linear-gradient(135deg, rgba(47, 143, 131, .12), rgba(244, 200, 74, .22));
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    padding: 34px;
    margin-bottom: 26px;
    text-align: center;
}

.meal-hero h1 {
    color: var(--demo-ink);
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 900;
    letter-spacing: 0;
    margin: 0;
}

.meal-hero p {
    color: var(--demo-muted);
    font-size: 18px;
    margin: 12px 0 0;
}

.meal-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.meal-card {
    background: var(--demo-surface);
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(36, 50, 47, 0.08);
}

.meal-card-head {
    background: var(--demo-mint);
    color: white;
    padding: 15px 18px;
    font-size: 18px;
    font-weight: 900;
}

.meal-card dl {
    margin: 0;
    padding: 18px;
}

.meal-card dl div + div {
    border-top: 1px solid var(--demo-border);
    margin-top: 14px;
    padding-top: 14px;
}

.meal-card dt {
    color: var(--demo-coral);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.meal-card dd {
    color: var(--demo-ink);
    line-height: 1.55;
    margin: 5px 0 0;
}

.meal-note {
    color: var(--demo-muted);
    background: #fff;
    border: 1px dashed var(--demo-border);
    border-radius: 8px;
    margin-top: 22px;
    padding: 16px 18px;
    text-align: center;
}

.demo-page {
    padding: 52px 0 86px;
}

.page-hero {
    background: linear-gradient(135deg, rgba(47, 143, 131, .12), rgba(244, 200, 74, .2));
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    margin-bottom: 34px;
    padding: clamp(30px, 5vw, 58px);
}

.page-hero span {
    display: inline-flex;
    color: var(--demo-coral);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.page-hero h1 {
    color: var(--demo-ink);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    max-width: 900px;
}

.page-hero p {
    color: var(--demo-muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 16px 0 0;
    max-width: 760px;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.about-content,
.news-detail,
.album-header {
    background: var(--demo-surface);
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(36, 50, 47, 0.08);
}

.about-content {
    padding: clamp(28px, 4vw, 52px);
    color: var(--demo-muted);
    font-size: 18px;
    line-height: 1.78;
}

.about-content h2,
.about-content h3 {
    color: var(--demo-ink);
    font-weight: 950;
    letter-spacing: 0;
    margin-top: 30px;
}

.about-content h2:first-child,
.about-content h3:first-child {
    margin-top: 0;
}

.about-content ul {
    display: grid;
    gap: 10px;
    padding-left: 20px;
}

.about-panel {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 98px;
}

.about-panel div {
    background: var(--demo-mint);
    border-radius: 8px;
    color: white;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(36, 50, 47, 0.1);
}

.about-panel div:nth-child(2) {
    background: var(--demo-coral);
}

.about-panel div:nth-child(3) {
    background: var(--demo-mint-dark);
}

.about-panel span {
    display: block;
    font-size: 25px;
    font-weight: 950;
    line-height: 1.05;
}

.about-panel p {
    margin: 8px 0 0;
    opacity: .9;
}

.featured-news {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    background: white;
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(36, 50, 47, 0.1);
    margin-bottom: 26px;
    overflow: hidden;
}

.featured-media,
.news-card-media {
    display: block;
    background: var(--demo-sky);
    overflow: hidden;
}

.featured-media img,
.news-card-media img,
.album-cover img,
.photo-item img,
.news-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-body {
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: clamp(30px, 4vw, 50px);
}

.featured-badge {
    align-self: flex-start;
    background: rgba(244, 127, 91, .12);
    border-radius: 999px;
    color: var(--demo-coral);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    padding: 8px 12px;
    text-transform: uppercase;
}

.featured-title {
    font-size: clamp(31px, 4vw, 48px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 18px 0 12px;
}

.featured-title a,
.news-card-title a {
    color: var(--demo-ink);
}

.featured-excerpt,
.news-excerpt {
    color: var(--demo-muted);
    line-height: 1.7;
}

.featured-excerpt {
    flex: 1;
    font-size: 18px;
    margin-top: 10px;
}

.featured-read-more {
    align-self: flex-start;
    background: var(--demo-mint);
    border-radius: 999px;
    color: white !important;
    font-weight: 900;
    margin-top: 24px;
    padding: 11px 18px;
}

.news-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.news-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    background: var(--demo-surface);
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(36, 50, 47, 0.08);
    min-height: 235px;
    overflow: hidden;
}

.news-card-body {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.news-card-title {
    color: var(--demo-ink);
    font-size: 24px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0 0 12px;
}

.news-excerpt {
    flex: 1;
}

.news-detail {
    margin: 0 auto;
    max-width: 980px;
    overflow: hidden;
}

.news-detail .page-hero {
    border: 0;
    border-bottom: 1px solid var(--demo-border);
    box-shadow: none;
    margin: 0;
}

.news-detail-image {
    aspect-ratio: 16 / 8;
}

.news-content {
    color: var(--demo-muted);
    font-size: 18px;
    line-height: 1.78;
    padding: clamp(28px, 4vw, 54px);
}

.news-content h2,
.news-content h3 {
    color: var(--demo-ink);
    font-weight: 950;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.album-item {
    background: var(--demo-surface);
    border: 1px solid var(--demo-border);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(36, 50, 47, 0.08);
    color: var(--demo-ink);
    overflow: hidden;
}

.album-cover {
    aspect-ratio: 4 / 3;
    background: var(--demo-sky);
    position: relative;
}

.album-placeholder {
    align-items: center;
    color: var(--demo-muted);
    display: flex;
    height: 100%;
    justify-content: center;
}

.album-count {
    background: rgba(36, 50, 47, .82);
    border-radius: 999px;
    bottom: 14px;
    color: white;
    font-size: 13px;
    font-weight: 900;
    padding: 7px 12px;
    position: absolute;
    right: 14px;
}

.album-text {
    padding: 22px;
}

.album-text h3 {
    color: var(--demo-ink);
    font-size: 24px;
    font-weight: 950;
    letter-spacing: 0;
    margin: 0 0 10px;
}

.album-text p {
    color: var(--demo-muted);
    line-height: 1.6;
    margin: 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.photo-item {
    aspect-ratio: 1 / 1;
    background: var(--demo-sky);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(36, 50, 47, 0.08);
    overflow: hidden;
    position: relative;
}

.photo-link {
    display: block;
    height: 100%;
}

.photo-download {
    align-items: center;
    background: rgba(36, 50, 47, .75);
    border-radius: 999px;
    color: #fff !important;
    display: flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
}

.lightbox {
    display: none;
}

.lightbox.active {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 1200;
}

.lightbox-overlay {
    background: rgba(20, 28, 26, .88);
    inset: 0;
    position: absolute;
}

.lightbox-content {
    align-items: center;
    display: flex;
    max-height: 90vh;
    max-width: 92vw;
    position: relative;
    z-index: 1;
}

.lb-image {
    border-radius: 8px;
    max-height: 90vh;
    max-width: 88vw;
}

.lb-close,
.lb-prev,
.lb-next,
.lb-fullscreen {
    background: rgba(255, 255, 255, .92);
    border: 0;
    border-radius: 999px;
    color: var(--demo-ink);
    font-size: 28px;
    font-weight: 900;
    height: 44px;
    position: absolute;
    width: 44px;
    z-index: 2;
}

.lb-close {
    right: -12px;
    top: -54px;
}

.lb-prev {
    left: -58px;
}

.lb-next {
    right: -58px;
}

.lb-fullscreen {
    bottom: -54px;
    font-size: 20px;
    right: -12px;
}

.cookie-box {
    position: fixed;
    bottom: clamp(20px, 4vw, 40px);
    left: clamp(24px, 5vw, 56px);
    max-width: min(430px, calc(100vw - 48px));
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(47, 143, 131, .16);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(36, 50, 47, .16);
    display: none;
    padding: 22px 24px 20px;
    z-index: 1300;
}

.cookie-text {
    color: var(--demo-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-right: 18px;
}

.cookie-text a {
    color: var(--demo-mint-dark);
    font-weight: 800;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-box .btn {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 16px;
}

.cookie-box #rejectCookies {
    background: var(--demo-surface);
    border-color: var(--demo-border);
    color: var(--demo-muted);
}

.cookie-box #acceptCookies {
    background: var(--demo-mint);
    border-color: var(--demo-mint);
    color: #fff;
}

.cookie-box #acceptCookies:hover {
    background: var(--demo-mint-dark);
    border-color: var(--demo-mint-dark);
}

.site-footer-brand {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.site-footer-mark {
    background: var(--demo-sun);
    border-radius: 50%;
    flex: 0 0 auto;
    height: 40px;
    margin-top: 2px;
    position: relative;
    width: 40px;
}

.site-footer-mark::before {
    border: 6px solid var(--demo-mint-dark);
    border-bottom: 0;
    border-radius: 40px 40px 0 0;
    content: "";
    height: 18px;
    left: 9px;
    position: absolute;
    top: 16px;
    transform: rotate(-4deg);
    width: 22px;
}

.site-footer-info {
    min-width: 0;
}

.site-footer-info h6,
.site-footer-info .small,
.demo-footer .small {
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .about-layout,
    .featured-news,
    .news-card {
        grid-template-columns: 1fr;
    }

    .about-panel {
        position: static;
    }

    .featured-media {
        aspect-ratio: 16 / 9;
    }

    .news-card-media {
        aspect-ratio: 16 / 9;
    }

    .album-grid,
    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .meal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-home-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .container {
        max-width: min(100% - 28px, 1440px);
    }

    .demo-navbar .navbar-brand img {
        max-height: 56px !important;
    }

    .demo-page {
        padding-top: 34px;
    }

    .news-page-grid,
    .album-grid,
    .photo-grid,
    .meal-grid,
    .gallery-home-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 26px;
    }

    .gallery-home-item.big {
        grid-column: auto;
        grid-row: auto;
    }

    .news-item {
        padding: 24px !important;
    }

    .cookie-box {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
        padding: 20px;
    }

    .cookie-text {
        padding-right: 0;
    }

    .cookie-buttons {
        justify-content: stretch;
    }

    .cookie-box .btn {
        flex: 1 1 130px;
    }

    .site-footer-brand {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}
