/* ===========================
   CSS VARIABLES
   =========================== */
:root {
    --primary-warm: #8B6F47;
    --primary-deep: #4A5D4F;
    --accent-gold: #C9A961;
    --soft-cream: #F8F6F3;
    --text-dark: #2C3633;
    --line-thick: 4px;
}

/* ===========================
   GLOBAL STYLES
   =========================== */

html {
    /* This reserves the scrollbar space, preventing the layout shift */
    scrollbar-gutter: stable;
}

body {
    font-family: 'Karla', sans-serif;
    background-color: var(--soft-cream);
    margin: 0;
    overflow-x: hidden;
}



/* ===========================
   NAVBAR (Restored Width/Spacing)
   =========================== */
.navbar {
    background: rgba(248, 246, 243, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0; /* Restored to your original height */
}

.nav-link {
    position: relative;
   
    color: #aaa;
    margin: 0 0.8rem; /* Restored to your original margin */
    font-size: 0.95rem; /* Restored to your original size */
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.navbar-nav .nav-link.active {
    color: var(--accent-gold) !important;
}

/* Show the underline permanently on the active page link */
.nav-link:not(.nav-contact-btn).active:after {
    width: 100%;
}

/* The "Topic Filter" Style Animation */
.nav-link:not(.nav-contact-btn):after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px; /* Sits just below the text */
    left: 50%;
    background-color: var(--accent-gold);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-link:not(.nav-contact-btn):hover:after {
    width: 100%;
}

.nav-link:not(.nav-contact-btn):hover {
    color: var(--accent-gold) !important;
}

/* Contact Button - Keeping your original styling */
.nav-contact-btn {
    background: var(--accent-gold) !important;
    color: var(--soft-cream) !important;
    padding: 0.6rem 1.5rem !important;
    margin-left: 1rem;
    border-radius: 0;
    display: inline-block;
    transition: background 0.3s ease !important;
}

.nav-contact-btn:hover, .full-screen-menu .nav-contact-btn:hover {
    background: #B8956A !important;
    color: var(--soft-cream) !important;
}

.full-screen-menu .nav-contact-btn:hover a {
    color: var(--soft-cream) !important;
}

/* ===========================
   HERO SECTION (Homepage)
   =========================== */
.hero-section {
    position: relative;
    z-index: 20;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: var(--line-thick) solid var(--accent-gold);

}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background picture,
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--soft-cream);
    background: var(--soft-cream);
    padding: 3rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    max-width: 550px;
    margin-left: 10%;
    border-top: var(--line-thick) solid var(--accent-gold);
    transition: transform 0.3s ease;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.03);
}

/* Desktop hover effect for hero content */
@media (min-width: 992px) {
    .hero-content:hover {
        transform: scale(1.02);
    }
}

.hero-subtitle {
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-deep);
}

.hero-description {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--primary-deep);
}

/* ===========================
   ABOUT PAGE HEADER SECTION
   =========================== */
.about-header {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: var(--line-thick) solid var(--accent-gold);


    /* Background Settings - No Overlay */
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.about-grid {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

/* The Portrait Frame */
.portrait-frame-wrapper {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.portrait-frame {
    position: relative;
    z-index: 2;
    border: var(--line-thick) solid rgba(0, 0, 0, 0.1);
    line-height: 0;
    background: var(--soft-cream);
}

.portrait-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* The post Frame */
.post-frame-wrapper {
    flex: 1;
    
    position: relative;
}

.post-frame {
    position: relative;
    z-index: 2;
    border: 2px solid rgba(0, 0, 0, 0.1);
    line-height: 0;
    box-shadow: 25px 25px 0 0 var(--accent-gold);
    background: var(--soft-cream);
}

.post-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* The About Text Box - Matching Hero Content Styles */
.about-text-box {
    background: var(--soft-cream);
    padding: 3rem;
    border-top: var(--line-thick) solid var(--primary-deep);
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.03);
    position: relative;
}

/* Desktop: text box is part of the grid */
@media (min-width: 992px) {
    .about-text-box {
        flex: 1.2;
    }
    .portrait-frame {
        box-shadow: 25px 25px 0 0 var(--accent-gold);
    }
}

.about-subtitle {
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: block;
}

.about-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--primary-deep);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 300;
}

.about-description {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--primary-deep);
    margin-bottom: 2rem;
}

/* ===========================
   URLs
   =========================== */

/* =========================================================
   Inline links – typography-level styling only
   ========================================================= */

/* ===========================
   URLs (inline links)
   =========================== */

/* Inline links in text only (won't affect buttons/CTAs) */
.rich-text a,
.section p a,
.section li a,
.about-page-body a,
.section-body a,
.qualifications-list a, 
.assessment-footer a,
.form-check-label a {
    color: var(--primary-warm) !important;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--primary-warm);
    /* primary-deep tint */
    transition: color 0.2s ease, border-color 0.2s ease;
}


.rich-text a:hover,
.section p a:hover,
.section li a:hover,
.about-page-body a:hover,
.section-body a:hover,
.qualifications-list a:hover,
.rich-text a:focus,
.section p a:focus,
.section li a:focus,
.about-page-body a:focus,
.section-body a:focus,
.qualifications-list a:focus {
    color: var(--text-dark) !important;
    border-bottom-color: var(--text-dark);
}

/* Links on dark sections */
.section--dark a,
.about-page-section--dark a,
.about-breakout-quote a {
    color: var(--accent-gold) !important;
    border-bottom-color: rgba(201, 169, 97, 0.65);
}

.section--dark a:hover,
.about-page-section--dark a:hover,
.about-breakout-quote a:hover,
.section--dark a:focus,
.about-page-section--dark a:focus,
.about-breakout-quote a:focus {
    color: #fff !important;
    border-bottom-color: #fff;
}



/* ===========================
   BUTTONS
   =========================== */
.btn-custom {
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-gold {
    background: var(--accent-gold);
    border: none;
    color: var(--soft-cream);
}


.btn-gold:hover {
    background: #B8956A;
    color: var(--soft-cream);
}

.btn-outline {
    border: 1px solid var(--primary-deep);
    color: var(--primary-deep);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-deep);
    color: var(--soft-cream);
    border-color: var(--primary-deep);
}



.btn-dark {
    background: var(--primary-deep);
    color: var(--soft-cream) !important;
    border: none;
}

.btn-dark:hover {
    color: var(--soft-cream) !important;
    box-shadow: 0 4px 12px rgba(74, 93, 79, 0.35);
    border-color: var(--accent-gold);
}

/* View All Posts button (blog preview section) */
.btn-view-all,
a.btn-view-all {
    background-color: var(--primary-deep);
    color: var(--soft-cream, #fdfcf9) !important;
    border: 2px solid var(--primary-deep);
    font-family: 'Karla', sans-serif;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-view-all:hover,
a.btn-view-all:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--soft-cream, #fdfcf9) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.btn-dark:active {
    background: #2e3d32;
    color: #fff;
    transform: translateY(0);
    box-shadow: none;
}

.btn-dark:focus {
    background: var(--primary-deep);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(74, 93, 79, 0.3);
    outline: none;
}


/* ===========================
   ABOUT PAGE CONTENT SECTIONS
   =========================== */
.about-section {
    padding: 90px 0;
    background: var(--soft-cream);
}

.about-section-alt {
    background: var(--soft-cream);
}

.about-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--soft-cream);
    padding: 4rem 3rem;
    border-top: var(--line-thick) solid var(--primary-deep);
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.03);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--primary-deep);
    margin-bottom: 1.5rem;
}

.section-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4A5D4F;
    margin-bottom: 1.2rem;
}

.section-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-warm);
    margin: 2.2rem 0 1rem;
}

.qualifications-list {
    margin: 0;
    padding-left: 1.2rem;
}

.qualifications-list li {
    margin: 0 0 0.9rem;
    line-height: 1.6;
    color: #4A5D4F;
}

/* Mirror work */
.mirror-grid {
    display: flex;
    align-items: center;
    gap: 70px;
}

.image-frame-wrapper {
    flex: 1.1;
    max-width: 620px;
}

.image-frame {
    position: relative;
    border: var(--line-thick) solid rgba(0, 0, 0, 0.1);
    line-height: 0;
    box-shadow: 25px 25px 0 0 var(--accent-gold);
    /* same underlay feel as portrait */
    background: var(--soft-cream);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mirror-text-box {
    flex: 0.9;
    background: transparent;
    padding: 0;
    border-top: none;
    box-shadow: none;
}

.mirror-text-box p {
    margin: 0 0 1rem;
    line-height: 1.8;
    color: var(--primary-deep);
}

/* Where to find me */
.findme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    background-color: var(--soft-cream);
}

.findme-lead {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: var(--primary-warm);
    margin-bottom: 0.75rem;
}

.findme-map {
    height: 360px;
}

.findme-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-privacy-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border: var(--line-thick) solid rgba(0, 0, 0, 0.08);
    box-shadow: 15px 15px 0 0 rgba(139, 111, 71, 0.18);
    overflow: hidden;
}

.map-static-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-static-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.8) brightness(0.95);
}

.map-privacy-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-caption {
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.map-caption a {
    color: var(--primary-deep);
    text-decoration: underline;
}

.privacy-note {
    margin-top: 2rem;
    background: var(--soft-cream);
    padding: 1.25rem 1.25rem;
    border-left: var(--line-thick) solid var(--accent-gold);
}

/* Responsive tweaks for About sections */
@media (max-width: 991px) {
    .about-section {
        padding: 70px 0;
    }

    .about-text-box {
    /* translateY(120px) moved the box visually but not in flow, causing overlap
       into My Story. margin-top: -120px recreates the same visual overlap of the
       text box over the portrait bottom, but keeps it in flow so sections
       below stack correctly. */
    margin-top: -120px;
}


    

    .about-section-inner {
        padding: 2.5rem 1.5rem;
        box-shadow: none;
        border-top-width: 3px;
    }

    .section-title {
        font-size: 2rem;
    }

    .mirror-grid {
        flex-direction: column-reverse;
        gap: 28px;
    }

    .image-frame-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .mirror-text-box {
        width: 100%;
        padding: 0;
        box-shadow: none;
    }

    .findme-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .findme-map {
        height: 360px;
    }

    .map-privacy-wrapper {
        box-shadow: none;
    }
}

@media (max-width: 576px) {
    i.bi.bi-map::before {
        font-size: 1.5rem; 
        color: var(--accent-gold); 
        margin-bottom: 0.5rem;}
    
        
   
    .about-section-inner {
        padding: 2.2rem 1.25rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }

    .findme-map {
        height: 360px;
    }
    .qualifications-list {
        padding-left: 0 !important; /* Force removal of the 1.2rem padding */
        text-align: center !important;
        list-style-type: none !important; /* Centered bullets look messy, better to hide them */
        padding-left: 20px;
        padding-right: 20px;
    }
    .qualifications-list li {
        display: block;
        margin-bottom: 0.9rem;
        width: 100%;
    }

    /* If Jekyll is wrapping your list text in <p> tags via Markdown */
    .qualifications-list li p {
        text-align: center !important;
        margin-bottom: 0;
    }

    

    

   
}


/* ===========================
   SERVICES SECTION
   =========================== */
.services-section {
    position: relative;

    background-image: none !important;
    background-attachment: fixed;
    margin-top: -4px;
    padding: 0;
    z-index: 5;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--soft-cream);
    padding: 6rem 3rem;
    position: relative;
    z-index: 10;
    border-left: 1px solid rgba(139, 111, 71, 0.2);
    border-right: 1px solid rgba(139, 111, 71, 0.2);
}

.services-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;

    color: var(--primary-deep);
    text-align: center;
    margin-bottom: 0.5rem;
}

.services-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--primary-warm);
    text-align: center;
    margin-bottom: 4rem;
    font-style: italic;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2.5rem;
    max-width: 850px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold), #B8956A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-cream);
    transition: transform 0.3s ease;
}

.service-icon i {
    font-size: 2.2rem;
}

.service-name {
    font-weight: 600;
    color: var(--primary-deep);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-item p {
    font-family: 'Lora', serif;
}

/* Desktop hover effect for service icons */
@media (min-width: 992px) {
    .service-icon:hover {
        animation: pulse 1s ease-in-out;
    }

    @keyframes pulse {

        0%,
        100% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }
    }
}

@media (min-width: 992px) {

    body {
        background-image:
            /* Layer 1: Tilted Left (-15deg) - 20% opacity */
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%238B6F47' stroke-width='0.6' stroke-opacity='0.2'%3E%3Cg transform='rotate(-15 200 200)'%3E%3Cpath d='M200 320 C190 300 155 270 145 200 C135 130 175 70 200 50 C225 70 265 130 255 200 C245 270 210 300 200 320 Z'/%3E%3Cpath d='M200 310 L200 65'/%3E%3Cpath d='M200 250 L175 225 M200 200 L165 175 M200 150 L180 130'/%3E%3Cpath d='M200 250 L225 225 M200 200 L235 175 M200 150 L220 130'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),

            /* Layer 2: Tilted Right (42deg) - 15% opacity */
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%238B6F47' stroke-width='0.6' stroke-opacity='0.15'%3E%3Cg transform='rotate(42 200 200) scale(0.85)'%3E%3Cpath d='M200 320 C190 300 155 270 145 200 C135 130 175 70 200 50 C225 70 265 130 255 200 C245 270 210 300 200 320 Z'/%3E%3Cpath d='M200 310 L200 65'/%3E%3Cpath d='M200 240 L170 215 M200 190 L160 170'/%3E%3Cpath d='M200 240 L230 215 M200 190 L240 170'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),

            /* Layer 3: Heavily Tilted (105deg) - 12% opacity */
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%238B6F47' stroke-width='0.6' stroke-opacity='0.12'%3E%3Cg transform='rotate(105 200 200) scale(0.7)'%3E%3Cpath d='M200 320 C190 300 155 270 145 200 C135 130 175 70 200 50 C225 70 265 130 255 200 C245 270 210 300 200 320 Z'/%3E%3Cpath d='M200 310 L200 65'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

        background-repeat: repeat;

        /* Prime numbers for sizes (467, 613, 739) prevent the "grid" effect */
        background-size: 467px 467px, 613px 613px, 739px 739px;

        /* Custom positions for deep randomization */
        background-position: 0 0, 211px 347px, 487px 123px;

        background-attachment: fixed;
    }


    .art-section-light,
    .contact-section {
        background-color: transparent !important;
        z-index: 5;
        padding-top: 3rem;
    }

    .art-grid,
    .art-grid-raised {
        position: relative;
        z-index: 10;
        /* Sits above the leaves */
        background: var(--soft-cream) !important;
        /* Solid white box for the art */
        padding: 40px;
        transform: translateY(-40px);
        /* The floating effect */
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(139, 111, 71, 0.1);
    }



    .art-grid-raised {
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
}


/* ===========================
   GALLERY SECTION
   =========================== */
.gallery-section {
    padding: 100px 0;
    background: var(--soft-cream);
    position: relative;

}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-header h2,
.art-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: var(--primary-deep);
}

.gallery-header p {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--primary-warm);
}

.art-grid,
.art-grid-raised {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 15px;
}

.art-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--soft-cream);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 8px solid var(--soft-cream); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.art-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.art-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 93, 79, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;                 /* visible by default */
    transition: opacity 0.4s ease;
    padding: 20px;
    text-align: center;
    color: var(--soft-cream);
}

.art-item:hover .art-overlay {
    opacity: 0;                 /* fades away on hover */
}


.art-item:hover img {
    transform: scale(1.1);
}

.art-overlay {
    opacity: 1;
}

.art-item:hover .art-overlay {
    opacity: 0;
}

.art-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.art-initials {
    font-family: 'Karla', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
}



/* ===========================
   MODAL STYLING
   =========================== */
.modal-content {
    background-color: transparent;
}

.modal-body {
    background: var(--soft-cream);
    border-radius: 0;
}

.modal-art-title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-deep);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.modal-art-artist {
    font-family: 'Karla', sans-serif;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-art-description {
    font-family: 'Lora', serif;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.modal-close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
    background-color: var(--soft-cream);
    border-radius: 50%;
    padding: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.modal-close-btn:hover {
    opacity: 1;
}



.art-header p {
    font-family: 'Lora', serif;
    font-style: italic;
    /* Explicitly italicized */
    color: var(--primary-warm);
    /* Matches --primary-warm requirement */
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

/* --- Duplicate 1: Raised Style (Container-based) --- */
.art-section-raised {
    background: transparent !important;
    padding: 100px 0;
}

.art-section-raised .container {
    background: var(--soft-cream);
    padding: 4rem 3rem;
    border-top: var(--line-thick) solid var(--primary-deep);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(139, 111, 71, 0.1);
}

/* --- Duplicate 2: Dark Green Style (Full Width & Flush) --- */
.art-section-dark {
    background-color: #3D4D41;
    padding: 100px 0;
    /* Keeps internal vertical spacing */
    margin: 0;
    /* Ensures no gap between sections */
    border: none;
}

/* Override Header Colors for the Dark Section visibility */
.art-section-dark .art-header h2,
.art-section-dark .art-header p {
    color: var(--soft-cream);
}

.art-section-dark .art-header p {
    opacity: 0.9;
}

/* Overlay visibility for dark background */
.art-section-dark .art-overlay {
    background: rgba(201, 169, 97, 0.95);
}

.art-section-dark .art-title,
.art-section-dark .art-initials {
    color: var(--text-dark);
}
.art-section-light, 
.art-section-raised, 
.art-section-dark {
    scroll-margin-top: 60px; /* Adjust this value based on the height of your navbar */
}

/* ===========================
   ART GALLERY CAROUSEL
   Desktop (≥ 992 px): scroll-snap
   driven by buttons + auto-rotate.
   Mobile: unchanged swipe behaviour.
   =========================== */

/* Column layout: track on top, buttons centred below */
.art-carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Desktop: override grid with horizontal flex + scroll-snap */
@media (min-width: 992px) {
    .art-carousel-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 20px;
        padding: 15px 10px 20px !important;
        width: 100%;
        min-width: 0;
        scroll-behavior: smooth;
    }

    .art-carousel-track::-webkit-scrollbar {
        display: none;
    }

    .art-carousel-track .art-item {
        flex: 0 0 calc(33.333% - 14px);
        scroll-snap-align: start;
        min-width: 0;
    }
}

/* Button row – sits centred below the track */
.art-carousel-controls {
    display: none;
}

@media (min-width: 992px) {
    .art-carousel-controls {
        display: flex;
        gap: 16px;
        justify-content: center;
        padding: 12px 0 4px;
    }

    .art-carousel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 2px solid var(--accent-gold);
        background: transparent;
        color: var(--accent-gold);
        font-size: 1.1rem;
        line-height: 1;
        cursor: pointer;
        border-radius: 50%;
        transition: background 0.25s ease, color 0.25s ease;
    }

    .art-carousel-btn:hover {
        background: var(--accent-gold);
        color: var(--soft-cream);
    }

    .art-carousel-btn:focus-visible {
        outline: 2px solid var(--accent-gold);
        outline-offset: 3px;
    }

    /* Dark variant: already gold so no override needed */
}

/* Mobile: wrapper becomes a plain block so existing art-grid rules apply */
@media (max-width: 991px) {
    .art-carousel-wrapper {
        display: block;
        padding: 0;
    }
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section-raised {
    padding: 100px 0;
    background-color: transparent;
    position: relative;

}

.contact-section-light {

    padding-top: 3rem;
    padding-bottom: 0;
    background-color: transparent;
    position: relative;

}

.contact-section-dark {
    max-width: 100% !important;
    position: relative;
    padding: 100px 0;
    background-color: #3D4D41;
    position: relative;
    border-top: var(--line-thick) solid var(--accent-gold);
    border-bottom: var(--line-thick) solid var(--accent-gold);
}

.contact-card-raised,
.contact-card-dark {
    max-width: 800px;
    margin: 0 auto;
    
    border: 1px solid rgba(139, 111, 71, 0.1);
}



.contact-card-dark .form-control,
.contact-card-dark .privacy-note {
    background-color: #3D4D41;
}

.contact-card-dark .form-control::placeholder {
    color: #888888;
}

.contact-card-dark .privacy-note,
.contact-card-dark .form-label,
.contact-card-dark .form-check-label {
    color: var(--soft-cream);
}

p.privacy-note {
    padding: 1rem 1rem;
}


.contact-card-dark {
    background: var(--primary-deep);
    

}

.contact-card-raised {
    background: var(--soft-cream);
    padding: 4rem 3rem 2rem 3rem;
}



.contact-card-light {
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
    padding: 0rem 4rem 4rem 4rem;
    box-shadow: none !important;
    border: none !important;
}

.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: var(--primary-deep);
    margin-bottom: 1rem;
    text-align: center;
}

.contact-title-dark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: var(--soft-cream);
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-note {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--primary-warm);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;    
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1rem;
    background-color: #fafafa;
}

.btn-submit {
    width: auto;
    max-width: 300px;
    margin: 1rem auto 0;
    display: block;
}

@media (max-width: 768px) {
    .contact-section-raised {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: var(--line-thick) solid var(--accent-gold);
    }


    .contact-card-raised,
    .contact-section-light {
        padding-top: 4rem;
        padding-bottom: 1.5rem;
    }

    .contact-section-dark {
        padding-top: 0rem;
        padding-bottom: 0rem;
    }

    #contact .container {
        padding-left: 0;
        padding-right: 0;
    }


    .art-section-raised {
        padding-bottom: 0;
    }
}



/* ===========================
   THANK YOU CAROUSEL
   =========================== */
.thank-you-section-dark {
    padding: 60px 0 80px;
    background-color: var(--primary-deep);
    color: var(--soft-cream);
    position: relative;

    border-bottom: var(--line-thick) solid var(--accent-gold);
}

.thank-you-section-light {
    padding: 60px 0 80px;
    background: none;
    position: relative;

    border-bottom: var(--line-thick) solid var(--accent-gold);

}

.thank-you-section-light p.testimonial-text {
    color: var(--primary-deep);
}

.thank-you-title-dark {
    color: var(--soft-cream);

}


.thank-you-title-light {
    color: var(--primary-deep);
}

.thank-you-title-dark,
.thank-you-title-light {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 300;
}

.testimonial-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    display: inline-block;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}



.custom-indicators {
    bottom: -30px;
}

.custom-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: var(--accent-gold) !important;
    opacity: 0.4;
    border: none !important;
    margin: 0 10px !important;
    transition: opacity 0.3s ease;
}

.custom-indicators button.active {
    opacity: 1;
}

/* ===========================
   BLOG
   =========================== */

blockquote {
  font-size: 1em;
  width:100%;

  font-family: Lora, serif;
  font-style:italic;
  color: var(--text-dark);
  padding:0.5em 5px 0.5em 75px;
  border-left:6px solid var(--primary-deep) ;
  line-height:1.6;
  position: relative;
  background:var(--soft-cream);
}
blockquote p {
  color: var(--primary-deep);
  margin: 0 0 1rem 0;
}
blockquote p strong {
  font-style: normal;
  color: var(--primary-deep)
}

/* Remove bottom margin on last paragraph */
blockquote p:last-child {
  margin-bottom: 0;
}

blockquote::before{
  font-family:Lora;
  content: "\201C";
  color:var(--primary-warm);
  font-size:4em;
  position: absolute;
  left: 10px;
  top:-10px;
}

blockquote::after{
  content: '';
}

blockquote span{
  display:block;
  color:#333333;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

/* Remove extra spacing between consecutive blockquotes */
/* Merge consecutive blockquotes into one continuous quote */
blockquote + blockquote {
  margin-top: -1em;   /* cancels out top padding gap */
  padding-top: 0;
}



/* Only show the big quote mark on the first blockquote */
blockquote + blockquote::before {
  content: none;
}
.blog-preview-section {
    background: transparent !important;
}

.blog-preview-card {
    border-radius: 0 !important;
}

.blog-page {
    background-color: #fdfcf9;
}

/* Header Section - Matching About Hero Spacing */
.blog-header-section {
    padding: 160px 0 80px;
    text-align: center;
}

.blog-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-container {
    max-width: 1100px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

/* Featured Post - Elevated Card Style */
.featured-post-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    margin-bottom: 100px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    
}

.featured-image-side {
    padding: 3.5rem;
}

/* Featured image keeps the gold offset frame */
.featured-image-side .portrait-frame {
    border: var(--line-thick) solid rgba(0,0,0,0.1);
    box-shadow: 20px 20px 0 0 var(--accent-gold);
}

.featured-image-side img {
    width: 100%;
    
    object-fit: cover;
    display: block;
}

/* Featured section: make videos 16:9 and prevent portrait sizing */
.featured-image-side .video-privacy-wrapper,
.featured-image-side .video-frame {
  position: relative;
  width: 100%;
  max-width: 850px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Ensure embedded iframe/video fills the frame */
.featured-image-side .video-privacy-wrapper iframe,
.featured-image-side .video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



.featured-text-side {
    padding: 4rem;
}

.post-category {
    font-family: 'Karla', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 1rem;
}

.featured-post-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.post-excerpt {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 50px;
}

.blog-grid-card {
    background: var(--soft-cream);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--text-dark);
    display: flex;
    flex-direction: column;
}

.blog-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.06);
}

.grid-card-img {
    overflow: hidden;
}

.grid-card-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-grid-card:hover .grid-card-img img {
    transform: scale(1.05);
}

.grid-card-body {
    padding: 2.5rem 2rem;
}

.grid-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.grid-card-excerpt {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.read-more-link {
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    text-decoration: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: var(--primary-deep);
    border-bottom-color: var(--accent-gold);
    text-decoration: none !important;
}

.blog-grid-card:hover .read-more-link {
    color: var(--primary-deep);
    border-bottom-color: var(--accent-gold);
}

/* Targeted fixes for the Post Container */
.post-container .post-featured-figure {
    margin: 0 0 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}



/* Frame for body images — natural proportions, soft gold border */
.post-container .portrait-frame {
    position: relative;
    width: 100%;
    background: transparent;
    overflow: hidden;
    margin-bottom: 0;
    border: 2px solid var(--accent-gold);
    box-shadow: none;
}

/* Make sure the video or image fills that 3:4 frame */
.post-container .post-main-img, 
.post-container .portrait-frame video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Caption sits snugly below the image */
.post-container .featured-photo-meta {
    text-align: left;
    width: 100%;
    max-width: 750px;
    padding: 0.4rem 0 0 0;
}

.post-container .photo-caption {
    display: block;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0;
    font-style: italic;
    text-align: center;
}

.post-container .photo-credit {
    display: none; /* credit shown as overlay instead */
}

/* Body Media Fix: For images/videos inserted inside the text */
.post-content-body .post-media-container {
    margin: 2rem auto;
    display: block;
    
    max-width: 100%;
    height: auto;
}

.post-content-body ul ::marker {
  content: "◆";
  color: var(--primary-warm);
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 0;
  line-height: inherit;
  
}

.post-content-body ul li {
  padding-left: 24px;
  position: relative;
  
}

/* ===========================
   BLOG ORDERED LIST STYLING
   =========================== */

.post-content-body ol {
  list-style: none; /* remove default numbers */
  counter-reset: blog-counter;
  padding-left: 24px;
  margin: 1.5rem 0;
}

.post-content-body ol li {
  counter-increment: blog-counter;
  position: relative;
  padding-left: 36px;
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--primary-deep);
  font-family: 'Lora', serif;
}

/* Custom number marker */
.post-content-body ol li::before {
  content: counter(blog-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-warm);
  font-weight: 600;
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
}

.post-content-body a, strong {
    color: var(--primary-warm);
}



/* ==========================================================================
   the mirror - Specific Styles
   ========================================================================== */

.blog-main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    color: var(--text-dark);
    margin: 0.5rem 0 2rem;
    letter-spacing: -2px;
}

/* Topic Filter Menu */
/* ==========================================================================
   the mirror - Refined Filter Menu
   ========================================================================== */

/* 1. The Wrapper: Solid lines, centered, no scroll */
.topic-filter-wrapper {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
    padding: 20px 0;
    background: #fff;
    /* Keeps it visible as they scroll through the 9 posts */
    position: sticky;
    top: 80px;
    z-index: 800;
}

/* 2. The Menu: Flex-wrap allows items to drop to a new line on mobile */
.topic-filter {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    /* Centers the menu */
    flex-wrap: wrap;
    /* Prevents the 'scroll' behavior */
    gap: 40px;
    /* Space between links */
}

/* 3. The Links: Clean, spaced out, and uppercase */
.topic-filter a {
    text-decoration: none;
    font-family: 'Karla', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.topic-filter a:hover,
.topic-filter a.active {
    color: var(--text-dark);
}

/* 4. Elegant Underline: Grows from the center on hover */
.topic-filter a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.topic-filter a:hover::after,
.topic-filter a.active::after {
    width: 100%;
}

/* ===========================
   VIDEO FRAME SIZING FIX
   =========================== */

.video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

.video-frame video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Featured video in post */
.post-featured-figure .video-frame {
    max-width: 100%;
    margin: 0 auto;
}

/* ===========================
   POST MEDIA CONTAINER
   =========================== */

.post-media-container {
    margin: 2rem 0;
}

.photo-meta {
    margin-top: 0.75rem;
    text-align: center;
}

.photo-caption {
    font-family: 'Lora', serif;
    font-style: italic;
    color: var(--primary-warm);
    font-size: 0.95rem;
    display: block;
    text-align: center;
    
}
.blog-preview-card h3 {
    margin-top: 0;
}

.photo-credit {
    font-family: 'Karla', sans-serif;
    font-style: normal;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
    display: inline-block;
    margin-top: 0.25rem;
}

.photo-meta a,
.photo-caption a,
.photo-credit a {
    color: var(--primary-deep);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 93, 79, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.photo-meta a:hover,
.photo-caption a:hover,
.photo-credit a:hover {
    color: var(--text-dark);
    border-bottom-color: var(--text-dark);
}


/* ===========================
   RESPONSIVE
   =========================== */

/* 5. Mobile Adjustment: Wraps gracefully instead of hiding items */
@media (max-width: 768px) {
    .topic-filter {
        gap: 15px 25px;
        /* Tighter spacing for smaller screens */
        padding: 0 15px;
    }

    .topic-filter a {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}

/* Post Metadata & Credits */
.post-meta-top {
    font-family: 'Karla', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    gap: 15px;
    padding-top: 3rem;
    
}

.post-date {
    color: #999;
}

.post-category {
    color: var(--accent-gold);
    font-weight: 600;
}

.photo-meta {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: #888;
}

.photo-credit {
    font-family: 'Karla', sans-serif;
    font-style: normal;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
}

.grid-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pagination */
.pagination-container {
    margin: 80px 0;
    
}
.pagination .page-link {
    border-radius: 0 !important;
}

.pagination .page-link {
    color: var(--primary-deep);
    border: 1px solid rgba(0,0,0,0.12);
    background: transparent;
    padding: 10px 18px;
    font-family: 'Karla', sans-serif;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: #6B8070 !important;
    border-color: #6B8070 !important;
    color: var(--soft-cream, #fdfcf9);
}

/* Previous / Next buttons: primary-deep background with soft-cream text */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    background-color: var(--primary-deep) !important;
    border-color: var(--primary-deep);
    color: var(--soft-cream, #fdfcf9);
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
    background-color: var(--primary-deep) !important;
    border-color: var(--primary-deep) !important;
    color: var(--soft-cream, #fdfcf9);
}

.pagination .page-item.disabled .page-link {
    background-color: rgba(0,0,0,0.25);
    border-color: transparent;
    color: rgba(255,255,255,0.5);
    cursor: default;
}

.pagination .page-link:hover:not(.active) {
    background-color: var(--primary-deep);
    border-color: var(--primary-deep);
    color: var(--soft-cream, #fdfcf9);
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .topic-filter {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }


    .blog-main-title {
        font-size: 3.5rem;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-image-side {
        padding: 2.5rem 2rem 0;
    }

    .featured-text-side {
        padding: 2.5rem 2rem;
    }

    .featured-post-title {
        font-size: 2.2rem;
    }
    .art-grid {
        display: flex !important; /* Overrides the grid layout on mobile */
        overflow-x: auto;         /* Enables horizontal scrolling */
        scroll-snap-type: x mandatory; /* Makes items snap into place */
        gap: 15px;
        padding: 10px 20px 30px !important;
        -webkit-overflow-scrolling: touch; /* Smooth swiping for iOS */
        scrollbar-width: none;    /* Hides scrollbar on Firefox */
    }

    /* Hide scrollbar for Chrome/Safari */
    .art-grid::-webkit-scrollbar {
        display: none;
    }

    /* 2. Format the items to sit side-by-side */
    .art-item {
        flex: 0 0 82%;            /* Shows 82% of the card so the next is visible */
        scroll-snap-align: center;/* Snaps the item to the center of the screen */
        margin-bottom: 0 !important; 
    }

    /* 3. Ensure the images maintain their look */
    .art-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 4. Keep titles visible on mobile touch-points */
    .art-overlay {
        opacity: 1;
        background: rgba(74, 93, 79, 0.5);
    }


}
/* Ensure the container stacks everything vertically */
.post-container .post-media-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 2rem 0 !important;
    width: 100% !important;
    position: relative;
}

/* Landscape Frame for YouTube & Video (16:9) */
.post-container .video-privacy-wrapper,
.post-container .video-frame {
    position: relative !important;
    width: 100% !important;
    max-width: 850px;
    aspect-ratio: 16 / 9 !important; /* Force landscape */
    background: #000 !important;
    overflow: hidden;
}

/* Frame for body images — natural proportions, soft gold border, no offset shadow */
.post-container .portrait-frame {
    position: relative !important;
    width: 100% !important;
    max-width: 750px;
    background: transparent;
    overflow: hidden;
    border: 2px solid var(--accent-gold) !important;
    box-shadow: none !important;
    line-height: 0;
    font-size: 0;
}

/* Portrait Frame for Images (16:9) */
.post-container .post-frame {
    position: relative !important;
    width: 100% !important;
    max-width: 650px;
    aspect-ratio: 16 / 9;
    background: #f4f4f4;
    border-radius: 0px;
    overflow: hidden;
}

/* Images flow naturally; videos fill their fixed-ratio frame */
.post-container .portrait-frame img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    object-fit: unset !important;
    display: block;
}

.post-container .video-frame video {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Caption sits snugly below the frame */
.post-container .photo-meta {
    text-align: left !important;
    width: 100% !important;
    max-width: 750px;
    display: block !important;
    padding: 0.4rem 0 0 0 !important;
}

.post-container .photo-caption {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
}

.post-container .photo-credit {
    display: none !important; /* shown as overlay instead */
}

/* Privacy Overlay centering — single canonical rule used by both map and video */
.privacy-overlay {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 3rem;
}

/* ===========================
   YOUTUBE PRIVACY OVERLAY
   =========================== */

.video-privacy-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 300px; /* Ensures privacy overlay content fits on narrow screens */
    background: var(--soft-cream);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.privacy-overlay {
    background: linear-gradient(135deg, var(--soft-cream) 0%, #f5f0e8 100%);
}

.privacy-content {
    text-align: center;
    padding: 1.5rem;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
}

.btn-privacy-accept {
    background-color: var(--primary-deep);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-privacy-accept:hover {
    background-color: #3a4d3f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 93, 79, 0.35);
}

.btn-privacy-accept:active {
    background-color: #2e3d32;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Embedded YouTube iframe (after accept) */
.video-privacy-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .privacy-overlay {
        padding: 0.75rem;
        overflow: hidden;
    }

    .privacy-content {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    /* Shrink the decorative icon so it doesn't eat vertical space */
    .privacy-content i[style*="font-size: 3rem"] {
        font-size: 1.75rem !important;
        margin-bottom: 0 !important;
    }

    .privacy-content h5 {
        font-size: 1rem;
        margin-bottom: 0 !important;
    }

    .privacy-content p {
        font-size: 0.8rem !important; /* overrides inline style on <p> */
        margin-bottom: 0 !important;
        line-height: 1.4;
    }

    .btn-privacy-accept {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
}


/* ==========================================================================
   Post & Policy Layout Styling
   ========================================================================== */

/* Container widths for better readability */
.post-container,
.policy-container {
    max-width: 850px;
    margin: 80px auto;
    padding: 0 20px;
}

.post-full-title,
.policy-title {
    font-size: 3rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary-deep);
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-divider,
.accent-line {
    width: 60px;
    height: 1px;
    background-color: var(--accent-gold);
    border: none;
    margin: 30px auto;
}

/* Post Content Styling */
.post-content-body,
.policy-content {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.post-content-body p,
.policy-content p {
    margin-bottom: 25px;
}

.post-content-body h2, h3, h4, h6 {
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--primary-deep);
}



/* Post Featured Image specific sizing */
.post-featured-figure {
    margin: 60px 0;
}

.post-main-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Navigation */
.post-navigation a {
    font-family: 'Karla', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--accent-gold);
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: var(--text-dark);
}

/* Policy Specifics */
.last-updated {
    font-family: 'Karla', sans-serif;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* ===========================
   DESKTOP SPECIFIC STYLES
   =========================== */
@media (min-width: 992px) {
    .services-section {
        background-color: transparent;
        position: relative;
        z-index: 30;
    }


    .services-container {
        transform: translateY(-56px);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
       border-top: var(--line-thick) solid var(--accent-gold);
  
    }

    
    /* ADD THIS FOR THE GALLERY */
    .art-section-light {
        background-color: transparent;
        /* Allows the fixed body/section leaves to show */
        position: relative;
        z-index: 30;
    }

    .art-grid,
    .art-grid-raised {
        /* This creates the floating effect consistent with services */
        transform: translateY(-40px);
        background: var(--soft-cream); 
        padding: 40px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
        border: 1px solid rgba(139, 111, 71, 0.14);
    }
    .contact-card-dark, .contact-card-raised {
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    }
}

/* ===========================
   MOBILE / TABLET STYLES
   =========================== */
@media (max-width: 991px) {


   .footer-heading-legal {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    }

.footer-links-legal a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.2s;
    text-align: center;
    }
    /* Hero Section Mobile — stacked layout (image above, text below) */
    .hero-section {
        display: block;
        min-height: unset;
        border-bottom: var(--line-thick) solid var(--accent-gold);
    }

    .hero-background {
        position: static;
        width: 100%;
        aspect-ratio: 3 / 4;
    }

    .hero-background picture,
    .hero-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        padding-top: 40px;
    }

    .hero-section .container {
        max-width: 100%;
        padding: 0;
    }

    .hero-content {
        position: static;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        border-radius: 0;
        padding: 2rem 1.3rem;
        background: var(--primary-deep);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border-top: var(--line-thick) solid var(--accent-gold);
    }

    .hero-content h1,
    p.hero-description,
    .hero-description {
        color: var(--soft-cream);
        text-align: left;
    }

    .hero-content:after,
    .hero-content:before {
        display: none;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: var(--soft-cream);
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: var(--soft-cream);
    }

    .btn-outline {
        border-color: var(--soft-cream);
        color: var(--soft-cream);
    }

    .btn-custom {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
        border-color: var(--soft-cream) !important;
        color: var(--soft-cream) !important;
    }

    /* About Page Mobile */
    .about-header {
        padding: 0;
        min-height: unset;        /* section height now driven by content */
        background-image: none;
        align-items: stretch;
        border-bottom: var(--line-thick) solid var(--accent-gold);
    }

    .about-header .container {
        max-width: 100%;
        padding: 0;
        height: auto;
    }

    /* Grid stacks portrait then text box in normal flow */
    .about-grid {
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-width: 100%;
        min-height: unset;
        position: static;
    }

    /* Portrait is in-flow at exactly the same height as before (85vh),
       so the image crop is identical to the original */
    .portrait-frame-wrapper {
        position: static;
        width: 100%;
        max-width: 100%;
        height: 85vh;
        flex: none;
        overflow: hidden;
    }

    .portrait-frame {
        width: 100%;
        height: 100%;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .portrait-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

    /* Negative margin pulls the text box up over the portrait bottom by the
       same 120px that translateY was shifting it down — identical visual result,
       but now in flow so My Story starts correctly below */
    .about-text-box {
        position: relative;
        z-index: 10;
        max-width: 100%;
        width: 100%;
        margin: 0;
        margin-top: -120px;
        padding: 2rem 1.3rem;
        border-radius: 0;
        box-shadow: none;
        filter: none;
        background: var(--primary-deep);
        border-top: var(--line-thick) solid var(--accent-gold);
    }

    .about-text-box .about-subtitle {
        color: var(--accent-gold);
    }

    .about-text-box .about-title,
    .about-text-box .about-description,
    .about-text-box .about-description p {
        color: var(--soft-cream);
    }

    .about-subtitle {
        font-size: 0.8rem;
    }

    .about-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Gallery Mobile */
    .art-grid,
    .art-grid-raised {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
        gap: 0;
    }

    .art-section-light {
        background-color: white;
        padding-top: 3rem;

        border-bottom: var(--line-thick) solid var(--accent-gold);

    }

    .art-section-dark {


        border-bottom: var(--line-thick) solid var(--accent-gold);
    }

    .art-section-raised {
        padding-top: 0rem;
    }

    .art-item {
        transform: scale(0.95);
    }

    /* Testimonials Mobile */
    .testimonial-card {
        min-height: 280px;
        padding: 25px 15px;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }

    .quote-icon {
        font-size: 2rem;
    }


}

@media (max-width: 576px) {

    .art-grid,
    .art-grid-raised {
        grid-template-columns: 1fr;
    }

    .art-item {
        transform: scale(0.85);
    }

 
   
}



/* ===========================
   ABOUT PAGE (SECTIONS + LEAF BACKGROUND)
   =========================== */


.about-page-section {
    padding: 70px 0;
}

.about-page-container {
    max-width: 1100px;

}

.about-page-container-raised {
    background-color: var(--soft-cream);
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 111, 71, 0.1);
}

.about-page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--primary-deep);
    margin-bottom: 1.25rem;
    text-transform: none;

    text-align: center;
}

.about-page-body {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--primary-deep);
}

.about-page-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Plain section sits directly on the leaf page background */
.about-page-section--plain {
    padding-top: 90px;
}

.about-page-plain p,
.about-light-inner p {
    max-width: 900px;
    margin: 0 auto 1rem;
    padding-left: 35px;
    padding-right: 35px;
}

.about-elevated p {
    padding-left: 35px;
    padding-right: 35px;
}

/* Elevated "page" cards */
.about-elevated {
    background-color: var(--soft-cream);
    padding: 4.5rem 3rem;
    border-left: 1px solid rgba(139, 111, 71, 0.18);
    border-right: 1px solid rgba(139, 111, 71, 0.18);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Soft alternative card for variety */
.about-elevated--soft {
    background-color: var(--soft-cream);
}

/* Pull quote tweaks (reusing Thank-you section styling) */
.about-pullquote {
    padding: 55px 0 70px;
}

.about-pullquote-title {
    margin-bottom: 1.5rem;
}

.about-pullquote-card {
    min-height: auto;
    padding: 10px 10px 0;
}

.about-pullquote-body {
    max-width: 900px;
}

.about-pullquote-body p {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.85;
    margin-bottom: 1.1rem;
}

/* Dark band section (Qualifications) */
.about-page-section--dark {
    padding: 0;
    background-color: var(--primary-deep);
    color: var(--soft-cream);

}

.about-page-title--light {
    color: var(--soft-cream);
}

.qualifications-list--light li {
    color: var(--soft-cream); 
    
}

.qualifications-list--dark li {
    border-bottom: 1px solid var(--primary-warm) !important;
}

.about-dark-inner,
.about-light-inner,
.about-raised-inner {
    padding: 60px 0 80px;
    text-align: left;
}





.qualifications-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    max-width: 900px;
    margin-inline: auto;
}

.qualifications-list li {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qualifications-list li:last-child {
    border-bottom: none;
}

/* Mirror + Find Me grids */
.mirror-grid,
.findme-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2.25rem;
}

.image-frame-wrapper {
    position: relative;
    max-width: 680px;
}


.image-frame {
    position: relative;
    z-index: 2;
    border: var(--line-thick) solid rgba(0, 0, 0, 0.1);
    line-height: 0;
    box-shadow: 25px 25px 0 0 var(--accent-gold);
    background: var(--soft-cream);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mirror-text-box,
.findme-text {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--primary-deep);
}

.findme-lead {
    font-style: italic;
    color: #6B7B75;
    margin-bottom: 0.75rem;
}

.findme-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-caption {
    margin-top: 10px;
    font-size: 0.9rem;
}

.map-caption a {
    color: var(--primary-deep);
}

/* About-page contact section spacing */
.about-contact-wrap {
    padding-top: 20px;
}




/* Responsive adjustments */
@media (max-width: 991px) {
    .about-page-section {
        padding: 55px 0;
    }
    .about-page-container {
    padding-left: 30px;
    padding-right: 30px;
}

    .about-page-title {
        font-size: 2.2rem;
    }

    .about-elevated {
        padding: 3rem 1.6rem;
    }
   #credentials {
    color: var(--soft-cream); 
    border-bottom: var(--line-thick) solid var(--accent-gold);  
}

    .mirror-grid,
    .findme-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .findme-map {
        height: 360px;
    }

    .image-frame {
        box-shadow: 18px 18px 0 0 var(--accent-gold);
    }

    .about-pullquote-body p {
        font-size: 1.12rem;
    }
}

@media (max-width: 576px) {
    .about-elevated {
        padding: 2.4rem 1.25rem;
    }

    .findme-map {
        height: 360px;
    }

    .main-footer {
        text-align: center;
    }

    /* Logo column stays full width */
    .main-footer .footer-column-1 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Connect and Legal columns side by side */
    .main-footer .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .footer-heading-legal,
    .footer-heading-connect,
    .footer-links-legal,
    .footer-links-legal a,
    .footer-links-connect a {
        text-align: center;
    }
}


/* =======================
   ABOUT BREAKOUT QUOTE
   ======================= */
.about-breakout-quote {
    padding: 70px 0 85px;
    background: var(--primary-deep);
    color: var(--soft-cream);
}

.about-breakout-quote .about-page-title--light {
    color: var(--soft-cream);
    margin-bottom: 1.75rem;
}

.about-breakout-quote__inner {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 28px;
    border-left: var(--line-thick) solid var(--accent-gold);
}

.about-breakout-quote__inner p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.9;
    margin: 0 0 1rem;
    text-align: left;
    /* left-justified text, centered container */
    color: var(--soft-cream);
}

/* --- Desktop vs Mobile Toggle Visibility --- */
@media (min-width: 992px) {
    .menu-toggle { display: none !important; }
    .full-screen-menu { display: none !important; }
    .navbar-collapse { display: flex !important; }
    .footer-heading-legal, .footer-legal-note { text-align: right; }
}

@media (max-width: 991px) {

    

    .navbar-collapse { display: none !important; } /* Hide the desktop list */
    .menu-toggle { 
        display: block !important; 
        z-index: 10000 !important;
        position: relative;
        background: none; 
        border: none; 
        cursor: pointer;
        padding: 10px;
    }

   

      .hero-description {
    color: var(--soft-cream);
}

}

/* --- Bento Icon & Morphing Logic --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 5px);
    grid-template-rows: repeat(3, 5px);
    gap: 3px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent-gold); /* primary-deep */
    transition: all 0.3s ease;
}

/* The "Dice 5" Shape Morph */
/* When .is-active is added, we hide dots 2, 4, 6, and 8 */
.menu-toggle.is-active .bento-dot:nth-child(2),
.menu-toggle.is-active .bento-dot:nth-child(4),
.menu-toggle.is-active .bento-dot:nth-child(6),
.menu-toggle.is-active .bento-dot:nth-child(8) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.is-active .bento-dot {
    background-color: #C9A961; /* accent-gold */
}

.menu-toggle.is-active .bento-grid {
    transform: rotate(45deg); /* Optional: slight tilt for the dice look */
}

/* --- Full Screen Menu Text Styling --- */
.full-screen-menu {
    position: fixed;
    z-index: 9999 !important; /* Extremely high to override layout elements */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Using your Primary Deep color with 90% opacity */
    background-color: rgba(74, 93, 79, 0.96); 
    
    /* Glassmorphism effect: Blurs the page behind the green tint */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto; /* prevents cut-off on small screens */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Ensure the bento button is even higher so it's always clickable to close the menu */
.bento-toggle {
    z-index: 10000 !important;
}



.full-screen-menu.is-open {
    opacity: 1;
    visibility: visible;
}

/* Center the list and remove bullet points */
.full-screen-menu .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem; /* padding so contact btn isn't clipped */
    margin: 0;
    list-style: none;
    width: 100%;
    text-align: center;
}

/* The actual Links */
.full-screen-menu .nav-link {
    font-family: 'Karla', sans-serif;
    font-size: clamp(1.2rem, 5vw, 2.2rem); /* scales down on small screens */
    font-weight: 400;
    color: var(--soft-cream) !important;
    margin: 0.6rem 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    text-align: center;
    white-space: normal; /* allows Psych Assessments to wrap/centre */
    max-width: 90vw;
    transition: color 0.3s ease;
}

/* Full-screen menu specific contact button hover fix */
.full-screen-menu .nav-item .nav-contact-btn:hover {
    color: var(--soft-cream) !important;
    background: #B8956A !important;
    text-decoration: none;
}

/* Special styling for the Contact Button in the overlay */
.full-screen-menu .nav-contact-btn {
    background: var(--accent-gold) !important;
    color: var(--soft-cream) !important;
    padding: 0.8rem 2rem !important;
    margin-top: 1.5rem;
    margin-bottom: 1rem; /* stops it being clipped at bottom */
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    letter-spacing: 2px;
    display: inline-block;
}


/* ===========================
   PHOTO CREDIT OVERLAY
   (top-right of image, both body and featured)
   =========================== */

/* Body image credit overlay */
.post-container .post-media-container .photo-credit-overlay,
.post-container .post-featured-figure .photo-credit-overlay {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.72rem;
    font-style: italic;
    font-family: 'Karla', sans-serif;
    padding: 0.25rem 0.5rem;
    max-width: 60%;
    text-align: right;
    line-height: 1.3;
}

.post-container .post-media-container .photo-credit-overlay a,
.post-container .post-featured-figure .photo-credit-overlay a {
    color: var(--accent-gold) !important;
    text-decoration: none;
}

.post-container .post-media-container .photo-credit-overlay a:hover,
.post-container .post-featured-figure .photo-credit-overlay a:hover {
    text-decoration: underline;
}

/* Ensure the image wrapper is positioned for the overlay anchor */
.post-container .portrait-frame,
.post-container .video-frame,
.post-container .video-privacy-wrapper,
.post-container .post-frame {
    position: relative;
}

/* Featured image: credit overlay sits on the image wrapper */
.post-featured-figure .post-frame,
.post-featured-figure .portrait-frame,
.post-featured-figure .video-frame,
.post-featured-figure .video-privacy-wrapper {
    position: relative;
}


/* Credit shown as overlay on image — hide from card footer */
.grid-footer .photo-credit {
    display: none;
}

/* Grid card image wrapper needs position for overlay */
.grid-card-img {
    position: relative;
    overflow: hidden;
}

/* Credit overlay for blog listing cards */
.grid-card-img .photo-credit-overlay {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.68rem;
    font-style: italic;
    font-family: 'Karla', sans-serif;
    padding: 0.2rem 0.45rem;
    max-width: 60%;
    text-align: right;
    line-height: 1.3;
}

.grid-card-img .photo-credit-overlay a {
    color: var(--accent-gold);
    text-decoration: none;
}

/* Featured post image credit overlay */
.featured-image-side {
    position: relative;
}

.featured-image-side .portrait-frame {
    position: relative;
}

.featured-image-side .portrait-frame .photo-credit-overlay {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.72rem;
    font-style: italic;
    font-family: 'Karla', sans-serif;
    padding: 0.25rem 0.5rem;
    max-width: 60%;
    text-align: right;
    line-height: 1.3;
}

.featured-image-side .portrait-frame .photo-credit-overlay a {
    color: var(--accent-gold);
    text-decoration: none;
}

.privacy-content a {
    color: var(--accent-gold);    
}

/* Hide old figcaption credit in blog listing featured post */
.featured-image-side .photo-credit {
    display: none;
}

.featured-photo-meta {
    margin-top: 2rem !important;
}
.photo-meta {
    margin-top: 0;
}

/* ===========================
   LEGAL PAGES
   =========================== */

.legal-page-header {
    padding-top: 130px;
    padding-bottom: 60px;
    background: var(--soft-cream);
    border-bottom: var(--line-thick) solid var(--accent-gold);
}

.legal-label {
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Karla', sans-serif;
}

.legal-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-deep);
    font-size: 3rem;
}

.legal-updated {
    font-family: 'Karla', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 0;
}

/* Legal content body */
.legal-section {
    padding: 60px 0 100px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-dark);
}

.legal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-deep);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.legal-content h3 {
    font-family: 'Karla', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-warm);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-deep);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 93, 79, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-content a:hover {
    color: var(--text-dark);
    border-bottom-color: var(--text-dark);
}

/* Table (used in cookie policy) */
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Karla', sans-serif;
    font-size: 0.92rem;
    margin: 1.5rem 0 2rem;
}

.legal-content th {
    background-color: var(--primary-deep);
    color: var(--soft-cream);
    text-align: left;
    padding: 0.65rem 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.legal-content td {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    vertical-align: top;
    color: var(--text-dark);
}

.legal-content tr:last-child td {
    border-bottom: none;
}

.legal-content tr:nth-child(even) td {
    background-color: rgba(248, 246, 243, 0.6);
}

@media (max-width: 991px) {
    .legal-page-header {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .legal-title {
        font-size: 2.2rem;
    }

    .legal-section {
        padding: 40px 0 70px;
    }

    .legal-content {
        font-size: 1rem;
    }

    .legal-content h2 {
        font-size: 1.35rem;
    }

    .pagination-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    
}

@media (max-width: 576px) {
    .legal-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}


/* ===========================
   FOOTER
   =========================== */
.main-footer {
    background-color: var(--primary-deep);
    color: var(--soft-cream);
    padding: 80px 0 40px;
}

.footer-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--soft-cream);
    overflow-wrap: anywhere;
}

.footer-reg {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-reg a {
    color: var(--soft-cream) !important;
    text-decoration: underline !important;
   
}

.footer-heading-connect, .footer-heading-legal {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-legal a, .footer-links-connect a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-links-connect a:hover, .footer-links-legal a:hover {
    color: var(--accent-gold);
}

.footer-links-legal {
    text-align: right;
}
.footer-links-connect, .footer-heading-connect {
    text-align: center;
}