/* ===================================================================
   Baháʼí Faith Tanzania — Visual System
   Loaded AFTER style.css. Purely presentational refinement layer:
   refined palette tokens, organic section transitions, botanical
   decorations and editorial card systems.
   =================================================================== */

:root {
    /* --- Refined palette (evolved from the original brand colours) --- */
    --coffee: #6F4E37;
    --coffee-light: #8B6347;
    --coffee-dark: #55392A;
    --coffee-deep: #34241A;

    --sage: #6A9C89;
    --sage-dark: #4F7F6D;
    --sage-soft: #A8C7BA;

    --gold: #C8A15A;
    --gold-soft: #E6CFA4;

    /* Softer ivory replaces the original hard cream */
    --cream: #F7F1E6;
    --warm-white: #FDFBF7;
    --paper: #F6F0E8;
    --paper-deep: #EFE7DC;

    --ink: #2A2320;
    --text-dark: #332B26;
    --text-muted: #6B6259;

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 24px;
    --r-xl: 32px;

    --sh-1: 0 6px 20px rgba(52, 36, 26, .07);
    --sh-2: 0 14px 36px rgba(52, 36, 26, .10);
    --sh-3: 0 26px 60px rgba(52, 36, 26, .16);

    --sec-pad: clamp(68px, 8vw, 110px);
    --diag: 56px;
}

/* ===================================================================
   1. Base rhythm & typography
   =================================================================== */

body {
    background: var(--warm-white);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -.005em;
}

.section-padding {
    padding: var(--sec-pad) 0;
}

.section-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-title {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.2;
    color: var(--coffee);
    margin-bottom: .9rem;
}

.title-underline {
    position: relative;
    width: 104px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--coffee) 25%, var(--sage) 75%, transparent);
    margin: 0 auto 1.1rem;
}

.title-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 3px rgba(253, 251, 247, .75);
}

.section-subtitle {
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    color: var(--text-muted);
    max-width: 62ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ===================================================================
   2. Buttons
   =================================================================== */

.btn-primary,
.btn-outline-light,
.btn-coffee,
.btn-outline-coffee {
    border-radius: 999px;
    letter-spacing: .01em;
}

.btn-primary {
    background-color: var(--coffee);
    border-color: var(--coffee);
    box-shadow: 0 10px 24px rgba(111, 78, 55, .18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--coffee-dark);
    border-color: var(--coffee-dark);
    box-shadow: 0 16px 32px rgba(111, 78, 55, .28);
}

.btn-outline-coffee {
    border-width: 1.5px;
}

/* ===================================================================
   3. Organic transition primitives
   =================================================================== */

/* Decoration canvas: keeps ornaments clipped inside a section while
   allowing real content to overlap section boundaries. */
.sec-deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* A dome of the NEXT section's colour rising into the current one */
.flow-dome {
    position: absolute;
    left: -6%;
    right: -6%;
    bottom: -1px;
    height: clamp(64px, 8vw, 112px);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
    z-index: 1;
}

.flow-dome--paper { background: var(--paper); }
.flow-dome--white {
    background: #FFFFFF;
    left: -14%;
    right: -14%;
    height: clamp(48px, 6vw, 84px);
}

/* Full-bleed SVG wave divider between two sections */
.flow-wave {
    position: relative;
    line-height: 0;
    z-index: 1;
}

.flow-wave svg {
    display: block;
    width: 100%;
    height: clamp(52px, 7vw, 104px);
}

.flow-wave--blog { background: #F1EAE0; }
.flow-wave--blog path { fill: var(--warm-white); }

/* Slim botanical ornament used to breathe between related sections */
.flow-ornament {
    display: block;
    width: min(220px, 46vw);
    height: 54px;
    margin: 0 auto;
    background: url('../images/decor/leaf-band.svg') no-repeat center / contain;
    opacity: .3;
}

/* ===================================================================
   3b. Navigation bar
   Fixed height of 76px matches the offset every page already uses.
   =================================================================== */

.site-navbar {
    --nav-h: 106px;
    min-height: var(--nav-h);
    padding: 0;
    background:
        linear-gradient(180deg, rgba(255, 253, 250, .62) 0%, rgba(250, 245, 236, .72) 100%),
        url('../images/decor/nav-floral-sakura.jpg') center 30% / cover no-repeat;
    border-bottom: 1px solid #e8e3da;
    box-shadow: none;
    transition: min-height .35s ease, background .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.site-navbar > .container {
    min-height: inherit;
}

.site-navbar.scrolled {
    --nav-h: 78px;
    background:
        linear-gradient(180deg, rgba(255, 253, 250, .72) 0%, rgba(250, 245, 236, .8) 100%),
        url('../images/decor/nav-floral-sakura.jpg') center 30% / cover no-repeat;
    border-bottom-color: #e8e3da;
    box-shadow: 0 4px 18px rgba(52, 36, 26, .08);
}

/* --- Brand: two-line serif wordmark, bahai.org style --- */

.site-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 0;
    margin-right: 2rem;
}

.site-navbar .logo-img {
    height: 56px;
    transition: height .35s ease;
}

.site-navbar.scrolled .logo-img {
    height: 42px;
}

.nav-brand-lines {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-brand-title {
    font-family: 'Lora', serif;
    font-size: clamp(1.35rem, 2.3vw, 1.7rem);
    font-weight: 600;
    color: #2f2a24;
    letter-spacing: 0;
    white-space: nowrap;
}

.nav-brand-sub {
    font-size: .78rem;
    font-weight: 400;
    color: #8a8178;
    letter-spacing: .02em;
    margin-top: .2rem;
}

/* --- Links --- */

.site-navbar .navbar-nav .nav-link {
    position: relative;
    color: #3e3938;
    font-weight: 500;
    letter-spacing: .01em;
    transition: color .25s ease;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link.active {
    color: #1c1713;
}

/* The underline indicator lives on ::before so ::after stays free
   for Bootstrap's dropdown caret. */
.site-navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--coffee);
    transition: width .28s ease;
}

.site-navbar .navbar-nav .nav-link::after {
    display: none;
}

/* Restore a proper caret on dropdown toggles */
.site-navbar .navbar-nav .dropdown-toggle::after {
    display: inline-block;
    position: static;
    width: 0;
    height: 0;
    margin-left: .4em;
    vertical-align: .13em;
    background: none;
    border-top: .32em solid;
    border-right: .32em solid transparent;
    border-bottom: 0;
    border-left: .32em solid transparent;
    transform: none;
    transition: transform .3s ease;
    opacity: .7;
}

.site-navbar .dropdown:hover .dropdown-toggle::after,
.site-navbar .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* --- Dropdown panel --- */

.site-navbar .dropdown {
    padding-bottom: .45rem;
}

.site-navbar .dropdown-menu {
    min-width: 230px;
    padding: .5rem 0;
    margin-top: 0;
    background: #fff;
    border: 1px solid #e8e3da;
    border-radius: 6px;
    box-shadow: 0 14px 34px rgba(52, 36, 26, .12);
}

.site-navbar .dropdown-item {
    padding: .6rem 1.15rem;
    font-size: .92rem;
    font-weight: 400;
    color: #3e3938;
    transition: background-color .2s ease, color .2s ease;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus {
    background: #f7f4ef;
    color: #1c1713;
}

.site-navbar .dropdown-item.active {
    background: #f7f4ef;
    color: var(--coffee);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--coffee);
}

/* --- Language switch — plain text links, bahai.org style --- */

.site-navbar .language-switch {
    gap: .5rem;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    border-left: 1px solid #e8e3da;
    padding-left: 1.5rem;
}

.site-navbar .language-switch .separator {
    display: inline;
    color: rgba(60, 45, 30, .25);
    font-weight: 300;
}

.site-navbar .lang-btn {
    padding: 0;
    border-radius: 0;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.3;
    color: #8a8178;
    transition: color .25s ease;
}

.site-navbar .lang-btn:hover {
    color: #1c1713;
}

.site-navbar .lang-btn.active {
    color: #1c1713;
    font-weight: 600;
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--coffee);
}

/* --- Toggler --- */

.site-navbar .navbar-toggler {
    padding: .4rem .55rem;
    border: 1px solid rgba(60, 45, 30, .18);
    border-radius: 8px;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(111, 78, 55, .16);
}

.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233e3938' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .site-navbar { --nav-h: 96px; }
    .site-navbar .nav-brand-title { font-size: 1.3rem; font-weight: 700; white-space: normal; }
    .site-navbar .nav-brand-sub { font-size: .82rem; font-weight: 600; color: #5c5347; white-space: normal; }
    .site-navbar .logo-img { height: 52px; }
}

@media (max-width: 575.98px) {
    .site-navbar .nav-brand-title { font-size: 1.15rem; }
    .site-navbar .nav-brand-sub { font-size: .74rem; }
    .site-navbar .logo-img { height: 46px; }
}

@media (min-width: 992px) {
    .site-navbar .navbar-nav {
        gap: 1.5rem;
    }

    .site-navbar .navbar-nav .nav-link {
        padding: .35rem 0;
        font-size: 1rem;
    }

    .site-navbar .navbar-nav .nav-link.active {
        font-weight: 600;
    }

    .site-navbar .navbar-nav .nav-link:hover::before {
        width: 100%;
    }

    .site-navbar .navbar-nav .nav-link.active::before {
        width: 100%;
    }

    /* Smooth hover dropdowns (main.js toggles .show) */
    .site-navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    }

    .site-navbar .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 991.98px) {
    /* The expanded menu becomes a floating card below the bar */
    .site-navbar .navbar-collapse {
        margin: .35rem 0 .75rem;
        padding: .5rem;
        background: #fff;
        border: 1px solid rgba(111, 78, 55, .1);
        border-radius: 18px;
        box-shadow: 0 18px 42px rgba(52, 36, 26, .16);
        max-height: calc(100vh - var(--nav-h) - 1.5rem);
        overflow-y: auto;
    }

    .site-navbar .navbar-nav {
        padding: 0;
        gap: .15rem;
    }

    .site-navbar .navbar-nav .nav-link {
        padding: .78rem .9rem;
        border-radius: 12px;
        font-weight: 600;
        color: var(--ink);
    }

    .site-navbar .navbar-nav .nav-link.active {
        background: rgba(111, 78, 55, .08);
    }

    .site-navbar .navbar-nav .nav-link::before {
        display: none;
    }

    .site-navbar .dropdown-menu {
        margin: .2rem 0 .45rem;
        padding: .35rem;
        background: rgba(111, 78, 55, .04);
        border: 0;
        border-radius: 12px;
        box-shadow: none;
    }

    .site-navbar .dropdown-item {
        padding: .62rem .9rem;
    }

    .site-navbar .language-switch {
        width: max-content;
        margin: .5rem 0 .25rem .9rem;
    }
}

/* ===================================================================
   3c. PDF viewer modal (shared by library page and homepage preview)
   =================================================================== */

.pdf-viewer-modal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.pdf-viewer-modal .modal-header {
    background: var(--coffee);
    color: #fff;
}

.pdf-viewer-modal .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.pdf-viewer-modal .pdf-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border-bottom: 1px solid rgba(111, 78, 55, .12);
    background: rgba(111, 78, 55, .04);
}

.pdf-viewer-modal .pdf-nav-controls {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pdf-viewer-modal .page-info {
    font-size: .85rem;
    color: var(--text-muted);
    min-width: 70px;
    text-align: center;
}

.pdf-viewer-modal #pdfViewerContainer {
    height: 70vh;
    overflow: auto;
    text-align: center;
    background: #e8e4de;
    padding: 1rem;
}

.pdf-viewer-modal #pdfCanvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(52, 36, 26, .2);
}

.pdf-viewer-modal #pdfLoading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 3rem 1rem;
}

/* ===================================================================
   4. Hero
   =================================================================== */

.hero-section {
    position: relative;
    z-index: 5;
    margin-top: 76px;
    padding: 0;
}

.hero-section .carousel-item {
    height: clamp(520px, 82vh, 720px);
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
}

/* Readable, warm, bottom-weighted overlay */
.hero-section .hero-overlay {
    background:
        linear-gradient(to top,
            rgba(26, 18, 13, .82) 0%,
            rgba(26, 18, 13, .46) 32%,
            rgba(26, 18, 13, .12) 60%,
            rgba(26, 18, 13, .30) 100%),
        linear-gradient(118deg, rgba(111, 78, 55, .34), rgba(106, 156, 137, .16));
}

.hero-section .carousel-caption {
    position: absolute;
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(940px, 90vw);
    padding: 0 0 clamp(46px, 7vw, 96px);
    text-align: center;
    z-index: 2;
}

.hero-section .carousel-caption h1 {
    font-size: clamp(1.85rem, 4.6vw, 3.5rem);
    line-height: 1.14;
    margin-bottom: 1.1rem;
    text-shadow: 0 3px 26px rgba(0, 0, 0, .5);
}

.hero-section .carousel-caption .lead {
    font-size: clamp(1rem, 1.55vw, 1.3rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, .93);
    max-width: 54ch;
    margin: 0 auto 1.9rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

/* Small ornamental rule under the headline */
.hero-rule {
    width: 104px;
    height: 2px;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg,
        rgba(230, 207, 164, 0),
        rgba(230, 207, 164, .95) 28%,
        rgba(230, 207, 164, .95) 72%,
        rgba(230, 207, 164, 0));
    box-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

.hero-section .btn {
    border-radius: 999px;
    padding: .85rem 2rem;
    font-weight: 600;
}

.hero-section .btn-primary {
    box-shadow: 0 14px 32px rgba(26, 18, 13, .4);
}

.hero-section .btn-outline-light {
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
    border-color: rgba(255, 255, 255, .75);
}

.hero-section .btn-outline-light:hover {
    background: #fff;
    color: var(--coffee);
}

/* Indicators sit above the wave */
.hero-section .carousel-indicators {
    bottom: clamp(76px, 10vw, 152px);
    margin: 0;
    gap: .5rem;
    z-index: 4;
}

.hero-section .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    opacity: 1;
    transition: width .35s ease, background .35s ease;
}

.hero-section .carousel-indicators .active {
    width: 30px;
    border-radius: 999px;
    background: #fff;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: clamp(56px, 6vw, 82px);
    opacity: .6;
    z-index: 4;
    transition: opacity .3s ease;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 44px;
    height: 44px;
    background-size: 40% 40%;
    background-color: rgba(26, 18, 13, .32);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

/* Layered organic bottom edge */
.hero-flow {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}

.hero-flow svg {
    display: block;
    width: 100%;
    height: clamp(66px, 9vw, 142px);
}

.hero-flow .wave-back  { fill: rgba(106, 156, 137, .28); }
.hero-flow .wave-mid   { fill: rgba(246, 240, 232, .65); }
.hero-flow .wave-front { fill: var(--warm-white); }

/* Events ribbon — floats across the hero / About boundary */
.hero-section .events-banner {
    position: relative;
    z-index: 4;
    width: calc(100% - 2.5rem);
    max-width: 1080px;
    margin: -58px auto -44px;
    padding: 0;
    border-radius: 18px;
    border: 5px solid var(--warm-white);
    overflow: hidden;
    background: linear-gradient(112deg, var(--coffee-deep), var(--coffee) 55%, var(--coffee-light));
    box-shadow: 0 24px 54px rgba(52, 36, 26, .34);
}

.hero-section .events-banner > .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.hero-section .events-banner h5 {
    font-size: 1rem;
    letter-spacing: .02em;
    color: var(--gold-soft);
}

.hero-section .event-item {
    padding-right: .5rem;
}

.hero-section .event-item .text-muted {
    color: rgba(255, 255, 255, .82) !important;
}

/* ===================================================================
   5. About the Faith
   =================================================================== */

#about {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--warm-white) 0%, #FAF6F0 52%, var(--paper) 100%);
    padding-top: clamp(58px, 7vw, 92px);
    /* Small bottom padding so the journey cards genuinely cross into the Library */
    padding-bottom: clamp(36px, 4.5vw, 56px);
    /* Clip the wide curve horizontally while letting the cards overflow downwards */
    overflow-x: clip;
    overflow-y: visible;
}

#about > .container {
    position: relative;
    z-index: 2;
}

.sec-deco--about::before {
    content: '';
    position: absolute;
    top: 3%;
    right: 1%;
    width: min(230px, 26vw);
    height: min(250px, 28vw);
    background: url('../images/decor/sprig.svg') no-repeat center / contain;
    opacity: .07;
}

.sec-deco--about::after {
    content: '';
    position: absolute;
    left: -14%;
    top: 18%;
    width: min(620px, 64vw);
    height: min(620px, 64vw);
    background: radial-gradient(circle at 50% 50%, rgba(106, 156, 137, .14), transparent 68%);
}

/* Organic image frame */
.about-visual {
    position: relative;
    padding: 0 0 14px 14px;
}

.about-visual::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border: 1px solid rgba(111, 78, 55, .3);
    border-radius: 24px 24px 24px 92px;
}

.about-visual img {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 24px 24px 92px 24px;
    box-shadow: 0 22px 52px rgba(52, 36, 26, .18);
}

#about h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

#about .lead::first-letter {
    font-size: 2.9rem;
    line-height: .82;
    float: left;
    padding: .16em .12em 0 0;
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--coffee);
}

#about p a {
    color: var(--coffee);
    text-decoration-color: rgba(111, 78, 55, .4);
    text-underline-offset: 3px;
}

/* --- The journey: spiritual growth → service → social discourse --- */

.journey-wrap {
    position: relative;
    z-index: 3;
    margin-top: clamp(30px, 4vw, 52px);
    margin-bottom: clamp(-150px, -10vw, -90px);
}

.journey-wrap::before {
    content: '';
    position: absolute;
    left: 14%;
    right: 14%;
    top: 46px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(111, 78, 55, .3), rgba(106, 156, 137, .32), transparent);
    z-index: -1;
}

.journey-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 1.9rem 1.7rem 1.7rem;
    background: #fff;
    border: 1px solid rgba(111, 78, 55, .09);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s ease, border-color .4s ease;
}

.journey-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coffee), var(--sage));
    transform: scaleX(.26);
    transform-origin: left;
    transition: transform .5s ease;
}

.journey-card:hover,
.journey-card:focus-visible {
    transform: translateY(-10px);
    box-shadow: var(--sh-2);
    border-color: rgba(111, 78, 55, .18);
}

.journey-card:hover::after {
    transform: scaleX(1);
}

.journey-card h4 {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    color: var(--coffee);
    margin-bottom: .6rem;
}

.journey-card p { color: #5c5347; font-size: .95rem; line-height: 1.7; }

.journey-step {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--coffee);
    margin-bottom: 1rem;
}

.journey-step::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(111, 78, 55, .4), transparent);
}

.journey-card--2 .journey-step { color: var(--sage-dark); }
.journey-card--2 .journey-step::after { background: linear-gradient(90deg, rgba(79, 127, 109, .4), transparent); }
.journey-card--3 .journey-step { color: #9C7C3E; }
.journey-card--3 .journey-step::after { background: linear-gradient(90deg, rgba(156, 124, 62, .4), transparent); }

.journey-more {
    display: inline-flex;
    align-items: center;
    margin-top: 1.1rem;
    font-size: .95rem;
    color: var(--coffee);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .3s ease, transform .3s ease;
}

.journey-card:hover .journey-more,
.journey-card:focus-visible .journey-more { opacity: 1; transform: translateX(0); }

.journey-card--2 .journey-more { color: var(--sage-dark); }
.journey-card--3 .journey-more { color: #9C7C3E; }

@media (min-width: 992px) {
    .journey-card--2 { transform: translateY(-22px); }
    .journey-card--2:hover { transform: translateY(-32px); }
}

/* ===================================================================
   6. Library — editorial / paper treatment
   =================================================================== */

#library {
    position: relative;
    background: linear-gradient(180deg, var(--paper) 0%, #F2EBE1 42%, var(--warm-white) 100%);
    padding-top: clamp(150px, 15vw, 215px);
    padding-bottom: clamp(60px, 7vw, 92px);
}

#library > .container {
    position: relative;
    z-index: 2;
}

.sec-deco--library::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/decor/nine-star.svg') repeat;
    background-size: 300px 300px;
    opacity: .03;
}

.sec-deco--library::after {
    content: '';
    position: absolute;
    right: -6%;
    bottom: 4%;
    width: min(420px, 48vw);
    height: min(420px, 48vw);
    background: radial-gradient(circle at 50% 50%, rgba(200, 161, 90, .16), transparent 66%);
}

#library .category-filter {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(111, 78, 55, .1);
    border-radius: var(--r-md);
    padding: 1.4rem 1.25rem;
    box-shadow: var(--sh-1);
}

#library .category-filter h5 {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-bottom: .75rem;
    margin-bottom: .9rem;
    border-bottom: 1px solid rgba(111, 78, 55, .12);
    font-size: 1rem;
    letter-spacing: .01em;
}

#library .category-filter ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .55rem .75rem;
    border-radius: 10px;
    font-size: .93rem;
    border: 1px solid transparent;
}

#library .category-filter ul li a:hover,
#library .category-filter ul li a.active {
    padding-left: .75rem;
    background: #fff;
    border-color: rgba(111, 78, 55, .16);
    color: var(--coffee);
}

#library .category-filter .badge {
    background: rgba(111, 78, 55, .1) !important;
    color: var(--coffee) !important;
    font-weight: 600;
}

#library .resource-card {
    align-items: flex-start;
    gap: .9rem;
    padding: 1.15rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(111, 78, 55, .09);
    border-left: 3px solid rgba(111, 78, 55, .35);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-1);
    transition: transform .35s ease, box-shadow .35s ease, border-left-color .35s ease;
}

#library .resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-2);
    border-left-color: var(--gold);
}

#library .resource-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(111, 78, 55, .1), rgba(200, 161, 90, .16));
    color: var(--coffee);
    font-size: 1.35rem;
}

#library .resource-card h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    text-overflow: clip;
    font-size: .97rem;
    line-height: 1.45;
    margin-bottom: .5rem;
    color: var(--ink);
}

#library .resource-card-meta {
    flex-wrap: wrap;
    row-gap: .35rem;
    min-width: 0;
}

#library .resource-card-meta .badge {
    white-space: normal;
    text-align: left;
}

#library .resource-card-meta .badge.bg-coffee {
    background: rgba(111, 78, 55, .1) !important;
    color: var(--coffee) !important;
    letter-spacing: .04em;
}

#library .resource-card-meta .badge.bg-light {
    background: rgba(106, 156, 137, .14) !important;
    color: var(--sage-dark) !important;
}

#library .resource-card-actions {
    align-self: center;
}

/* ===================================================================
   7. Gallery — Media Bank window
   =================================================================== */

#gallery {
    position: relative;
    background: linear-gradient(180deg, var(--warm-white) 0%, #FBF7F1 100%);
    padding-bottom: calc(var(--sec-pad) + var(--diag));
}

#gallery > .container {
    position: relative;
    z-index: 2;
}

.sec-deco--gallery::before {
    content: '';
    position: absolute;
    left: 2%;
    bottom: 12%;
    width: min(210px, 24vw);
    height: min(210px, 24vw);
    background: url('../images/decor/flower.svg') no-repeat center / contain;
    opacity: .08;
}

#galleryGrid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 1.1rem;
    margin: 0;
}

#galleryGrid .gallery-item {
    width: auto;
    padding: 0;
    grid-column: span 5;
}

#galleryGrid .gallery-item:first-child {
    grid-column: span 7;
    grid-row: span 2;
}

#galleryGrid .gallery-item:nth-child(4) {
    grid-column: span 12;
}

#galleryGrid .gallery-card {
    height: 100%;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    transition: transform .45s cubic-bezier(.2, .7, .3, 1), box-shadow .45s ease;
}

#galleryGrid .gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-3);
}

#galleryGrid .gallery-overlay {
    opacity: 1;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(to top, rgba(26, 18, 13, .88) 0%, rgba(26, 18, 13, .25) 52%, rgba(26, 18, 13, 0) 78%);
}

#galleryGrid .gallery-overlay i {
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
    margin: 0;
    font-size: 1.35rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .35s ease, transform .35s ease;
}

#galleryGrid .gallery-card:hover .gallery-overlay i {
    opacity: 1;
    transform: translateY(0);
}

#galleryGrid .gallery-overlay p {
    padding: 0;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

#galleryGrid .gallery-overlay .badge {
    margin-top: .5rem !important;
    background: rgba(255, 255, 255, .16) !important;
    color: #fff !important;
    font-weight: 500;
    letter-spacing: .03em;
    backdrop-filter: blur(4px);
}

/* ===================================================================
   8. Media bank (video + podcasts) — diagonal transition in
   =================================================================== */

#media-bank {
    position: relative;
    margin-top: calc(-1 * var(--diag));
    padding-top: calc(var(--sec-pad) + var(--diag));
    padding-bottom: var(--sec-pad);
    background: linear-gradient(165deg, var(--paper) 0%, #F4EDE4 45%, #F1EAE0 100%);
    clip-path: polygon(0 var(--diag), 100% 0, 100% 100%, 0 100%);
}

#media-bank > .container {
    position: relative;
    z-index: 2;
}

.sec-deco--media::before {
    content: '';
    position: absolute;
    right: 3%;
    top: 16%;
    width: min(240px, 26vw);
    height: min(260px, 28vw);
    background: url('../images/decor/sprig.svg') no-repeat center / contain;
    opacity: .06;
    transform: scaleX(-1);
}

.media-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .85rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(111, 78, 55, .14);
}

.media-col-head h4 {
    font-size: 1.15rem;
    margin: 0;
    color: var(--coffee);
    display: flex;
    align-items: center;
    gap: .6rem;
}

.media-col-head h4 i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(111, 78, 55, .1);
    font-size: .95rem;
}

.media-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--coffee);
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    white-space: nowrap;
}

.media-link:hover {
    color: var(--coffee-dark);
    text-decoration: none;
}

.media-link i {
    transition: transform .3s ease;
}

.media-link:hover i {
    transform: translateX(4px);
}

.video-card {
    border: 1px solid rgba(111, 78, 55, .1);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--sh-2);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(111, 78, 55, .16);
    border-color: rgba(111, 78, 55, .2);
}

.video-preview-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #17100c;
}

.video-feat-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    background: linear-gradient(135deg, #f3b05a, #e09a3c);
    color: #4a3414;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .4rem .85rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    pointer-events: none;
}

.video-cat-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    background: rgba(61, 36, 21, .82);
    backdrop-filter: blur(4px);
    color: var(--cream);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .4rem .8rem;
    border-radius: 50px;
    pointer-events: none;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: .55rem;
}

.video-meta i {
    color: var(--coffee);
}

.video-preview-wrap iframe,
.video-preview-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card-body {
    padding: 1.25rem 1.4rem 1.4rem;
}

.video-card-body h5 {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--coffee-dark);
    margin-bottom: 0;
    line-height: 1.4;
}

.media-tag {
    display: inline-block;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: rgba(111, 78, 55, .09);
    color: var(--coffee);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.podcast-card {
    border: 1px solid rgba(111, 78, 55, .08);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: var(--sh-1);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-2);
}

.podcast-thumb-wrap {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.podcast-thumb {
    width: 100%;
    height: 100%;
    min-height: 116px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 0;
    transition: transform .4s ease;
}

.podcast-card:hover .podcast-thumb {
    transform: scale(1.06);
}

.podcast-thumb-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(61, 36, 21, .05) 40%, rgba(61, 36, 21, .45));
    pointer-events: none;
}

.pod-thumb-icon {
    position: absolute;
    top: .6rem;
    left: .6rem;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 253, 208, .94);
    color: var(--coffee);
    font-size: .8rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}

.pod-thumb-dur {
    position: absolute;
    bottom: .6rem;
    right: .6rem;
    z-index: 2;
    background: rgba(61, 36, 21, .85);
    color: var(--cream);
    font-size: .68rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 6px;
    letter-spacing: .03em;
}

.podcast-card h6 {
    font-family: 'Lora', serif;
    font-size: .98rem;
    line-height: 1.4;
    color: var(--coffee-dark);
}

.play-icon-wrap {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    background: linear-gradient(140deg, var(--coffee), var(--coffee-light));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(111, 78, 55, .28);
    transition: transform .3s ease;
}

.play-icon-wrap:hover {
    color: #fff;
    transform: scale(1.07);
}

.media-empty {
    border: 1px dashed rgba(111, 78, 55, .22);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .6);
    color: var(--text-muted);
    padding: clamp(2rem, 5vw, 3.25rem) 1.5rem;
    text-align: center;
}

/* ===================================================================
   9. Blog — editorial layout
   =================================================================== */

#blog {
    position: relative;
    background: linear-gradient(180deg, var(--warm-white) 0%, #FBF7F2 55%, var(--paper) 100%);
}

#blog > .container {
    position: relative;
    z-index: 2;
}

.sec-deco--blog::before {
    content: '';
    position: absolute;
    left: -8%;
    top: 8%;
    width: min(560px, 60vw);
    height: min(560px, 60vw);
    background: radial-gradient(circle at 50% 50%, rgba(111, 78, 55, .08), transparent 68%);
}

.post-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(111, 78, 55, .08);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-2);
    transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s ease;
}

.post-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-3);
}

.post-feature-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--paper-deep);
}

.post-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}

.post-feature:hover .post-feature-media img {
    transform: scale(1.05);
}

.post-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: .35rem .95rem;
    border-radius: 999px;
    background: rgba(26, 18, 13, .62);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.post-feature-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(1.4rem, 2.6vw, 2rem);
}

.post-feature-body h3 {
    font-size: clamp(1.25rem, 2.1vw, 1.7rem);
    line-height: 1.3;
    margin-bottom: .85rem;
}

.post-feature-body h3 a {
    color: var(--coffee);
    text-decoration: none;
}

.post-feature-body h3 a:hover {
    color: var(--coffee-dark);
}

.post-feature-body p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem 1rem;
    margin-bottom: .9rem;
    font-size: .84rem;
    color: var(--text-muted);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.article-date {
    display: inline-flex;
    align-items: baseline;
    gap: .4rem;
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--coffee);
}

.post-mini {
    display: flex;
    gap: 1rem;
    padding: .9rem;
    background: #fff;
    border: 1px solid rgba(111, 78, 55, .08);
    border-radius: var(--r-md);
    box-shadow: var(--sh-1);
    text-decoration: none;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.post-mini:hover {
    transform: translateX(5px);
    box-shadow: var(--sh-2);
    border-color: rgba(111, 78, 55, .18);
}

.post-mini-media {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--paper-deep);
}

.post-mini-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-mini-body {
    min-width: 0;
}

.post-mini-body h4 {
    font-size: 1rem;
    line-height: 1.42;
    margin: 0 0 .45rem;
    color: var(--coffee);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-mini-body .article-meta {
    margin: 0;
    font-size: .78rem;
}

.read-more {
    margin-top: auto;
    align-self: flex-start;
}

/* ===================================================================
   10. Badí calendar band
   =================================================================== */

#calendar {
    position: relative;
    background: linear-gradient(180deg, var(--paper) 0%, #F3EDE4 40%, #F7F2EA 100%);
    overflow-x: clip;
    overflow-y: visible;
}

#calendar > .container {
    position: relative;
    z-index: 2;
}

.sec-deco--calendar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/decor/nine-star.svg') repeat;
    background-size: 320px 320px;
    opacity: .028;
}

.sec-deco--calendar::after {
    content: '';
    position: absolute;
    left: 4%;
    top: -60px;
    width: min(220px, 24vw);
    height: min(220px, 24vw);
    background: url('../images/decor/flower.svg') no-repeat center / contain;
    opacity: .09;
}

.badi-today {
    height: 100%;
    border: 0;
    border-radius: var(--r-lg);
    background:
        linear-gradient(150deg, rgba(52, 36, 26, .72), rgba(111, 78, 55, .68) 60%, rgba(139, 99, 71, .72)),
        url('../images/1.jpg') center / cover no-repeat;
    color: #fff;
    box-shadow: var(--sh-2);
    overflow: hidden;
    position: relative;
}

.badi-today::before {
    content: '';
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 253, 208, .16), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.badi-today::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    background: url('../images/decor/nine-star.svg') no-repeat center / contain;
    opacity: .12;
}

.badi-today .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badi-icon-ring {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 253, 208, .1);
    border: 1px solid rgba(255, 253, 208, .38);
    color: var(--gold-soft);
    font-size: 1.9rem;
    box-shadow: 0 0 0 9px rgba(255, 253, 208, .06);
}

.badi-today .badi-label {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .74rem;
    color: var(--gold-soft);
}

.badi-today h3 {
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.badi-today .badi-greg {
    color: rgba(255, 255, 255, .78);
}

.badi-year-chip {
    display: inline-block;
    padding: .35rem 1rem;
    border-radius: 50px;
    background: rgba(255, 253, 208, .14);
    border: 1px solid rgba(255, 253, 208, .3);
    color: var(--cream);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .05em;
}

.badi-events {
    height: 100%;
    border: 1px solid rgba(111, 78, 55, .09);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(4px);
    box-shadow: var(--sh-1);
    overflow: hidden;
}

.badi-events .badi-ev-head {
    padding-bottom: 1rem;
    margin-bottom: .5rem;
    border-bottom: 2px solid rgba(111, 78, 55, .1);
}

.badi-events .badi-ev-head h5 {
    color: var(--coffee);
    font-weight: 700;
}

.badi-ev-list {
    display: flex;
    flex-direction: column;
}

.badi-ev {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem .6rem;
    border-bottom: 1px solid rgba(111, 78, 55, .07);
    border-radius: 12px;
    transition: background .25s ease, transform .25s ease;
}

.badi-ev:hover {
    background: rgba(111, 78, 55, .05);
    transform: translateX(4px);
}

.badi-ev:last-child {
    border-bottom: 0;
}

.badi-ev .ev-date {
    flex: 0 0 60px;
    text-align: center;
    border-radius: 14px;
    padding: .55rem .25rem;
    background: linear-gradient(145deg, rgba(106, 156, 137, .12), rgba(106, 156, 137, .06));
    color: var(--sage-dark);
    border: 1px solid rgba(106, 156, 137, .18);
}

.badi-ev .ev-date .d {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.badi-ev .ev-date .m {
    display: block;
    font-size: .66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-top: .25rem;
    opacity: .8;
}

.badi-ev .ev-date--holy {
    background: linear-gradient(145deg, #fff3d4, #ffe7a8);
    color: #8a6a1f;
    border-color: rgba(243, 176, 90, .4);
}

.badi-ev .ev-date--feast {
    background: linear-gradient(145deg, rgba(111, 78, 55, .14), rgba(111, 78, 55, .07));
    color: var(--coffee);
    border-color: rgba(111, 78, 55, .2);
}

.badi-ev .ev-body {
    flex: 1;
    min-width: 0;
}

.badi-ev .ev-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: .95rem;
    line-height: 1.35;
}

.badi-ev .ev-badi {
    font-size: .76rem;
    color: var(--text-muted);
    margin-top: .15rem;
}

.badi-ev .ev-badge {
    display: inline-block;
    vertical-align: middle;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .22rem .55rem;
    border-radius: 50px;
    margin-left: .4rem;
}

.badi-ev .ev-badge--holy {
    background: linear-gradient(135deg, #f3b05a, #e09a3c);
    color: #4a3414;
}

.badi-ev .ev-badge--feast {
    background: var(--coffee);
    color: var(--cream);
}

/* ===================================================================
   11. FAQ preview
   =================================================================== */

#faq-preview {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #FBF7F2 60%, var(--paper) 100%);
    padding-bottom: clamp(150px, 15vw, 200px);
}

#faq-preview > .container {
    position: relative;
    z-index: 2;
}

.sec-deco--faq::before {
    content: '';
    position: absolute;
    right: -6%;
    top: 10%;
    width: min(520px, 56vw);
    height: min(520px, 56vw);
    background: radial-gradient(circle at 50% 50%, rgba(106, 156, 137, .12), transparent 68%);
}

.home-faq-intro {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: clamp(1.7rem, 3vw, 2.4rem);
    border-radius: var(--r-lg);
    background:
        linear-gradient(150deg, rgba(52, 36, 26, .72), rgba(111, 78, 55, .68) 58%, rgba(79, 127, 109, .72)),
        url('../images/2.jpg') center / cover no-repeat;
    color: #fff;
    box-shadow: var(--sh-2);
}

.home-faq-intro::before {
    content: '';
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 253, 208, .16), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.home-faq-intro::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 240px;
    height: 240px;
    background: url('../images/decor/flower.svg') no-repeat center / contain;
    opacity: .16;
}

.home-faq-intro h3 {
    position: relative;
    color: #fff;
    font-size: clamp(1.3rem, 2.1vw, 1.65rem);
}

.home-faq-intro p {
    position: relative;
    color: rgba(255, 255, 255, .82);
    line-height: 1.7;
}

.home-faq-intro .faq-icon {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 253, 208, .1);
    border: 1px solid rgba(255, 253, 208, .38);
    color: var(--gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 0 0 9px rgba(255, 253, 208, .06);
}

.home-faq-intro .btn-light {
    position: relative;
    color: var(--coffee);
    font-weight: 600;
    border: 0;
}

.home-faq-accordion {
    counter-reset: faq;
}

.home-faq-accordion .accordion-item {
    margin-bottom: .8rem;
    border: 1px solid rgba(111, 78, 55, .1);
    border-radius: var(--r-md) !important;
    background: #fff;
    box-shadow: var(--sh-1);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.home-faq-accordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(111, 78, 55, .1);
}

.home-faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: rgba(243, 176, 90, .5);
    box-shadow: 0 10px 26px rgba(111, 78, 55, .12);
}

.home-faq-accordion .accordion-button {
    padding: 1.15rem 1.3rem;
    font-family: 'Lora', serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    align-items: center;
    gap: .9rem;
}

/* numbered chip before each question */
.home-faq-accordion .accordion-button::before {
    counter-increment: faq;
    content: counter(faq, decimal-leading-zero);
    order: -1;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(106, 156, 137, .12);
    color: var(--sage-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.home-faq-accordion .accordion-button:not(.collapsed)::before {
    background: linear-gradient(135deg, var(--coffee), var(--coffee-light));
    color: var(--cream);
    transform: scale(1.05);
}

/* recolor the chevron to match the palette */
.home-faq-accordion .accordion-button::after {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236F4E37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.home-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--coffee);
    background: linear-gradient(90deg, rgba(243, 176, 90, .12), rgba(111, 78, 55, .04));
    box-shadow: none;
}

.home-faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(111, 78, 55, .18);
}

.home-faq-accordion .accordion-body {
    padding: .4rem 1.3rem 1.35rem 4.6rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: .95rem;
}

@media (max-width: 767.98px) {
    .home-faq-accordion .accordion-button::before {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: .7rem;
    }
    .home-faq-accordion .accordion-body {
        padding-left: 1.3rem;
    }
}

/* ===================================================================
   12. Contact — the closing invitation
   =================================================================== */

#contact {
    position: relative;
    margin-top: -100px;
    padding-top: calc(var(--sec-pad) + 100px);
    padding-bottom: clamp(60px, 7vw, 90px);
    background:
        linear-gradient(180deg,
            rgba(46, 33, 24, .3) 0,
            rgba(46, 33, 24, .58) 130px,
            rgba(62, 44, 32, .68) 32%,
            rgba(85, 57, 42, .74) 72%,
            rgba(111, 78, 55, .78) 100%),
        url('../images/seat.jpg') center / cover no-repeat;
    color: rgba(255, 255, 255, .85);
    overflow: hidden;
}

#contact > .container {
    position: relative;
    z-index: 2;
}

.sec-deco--contact::before {
    content: '';
    position: absolute;
    left: -4%;
    bottom: -40px;
    width: min(300px, 34vw);
    height: min(320px, 36vw);
    background: url('../images/decor/sprig.svg') no-repeat center / contain;
    opacity: .1;
    filter: brightness(3);
}

.sec-deco--contact::after {
    content: '';
    position: absolute;
    right: -5%;
    top: 12%;
    width: min(480px, 52vw);
    height: min(480px, 52vw);
    background: radial-gradient(circle at 50% 50%, rgba(200, 161, 90, .16), transparent 66%);
}

#contact .section-title {
    color: #fff;
}

#contact .section-subtitle {
    color: rgba(255, 255, 255, .74);
}

#contact .title-underline {
    background: linear-gradient(90deg, transparent, var(--gold-soft) 30%, var(--sage-soft) 70%, transparent);
}

#contact .title-underline::after {
    box-shadow: 0 0 0 3px rgba(42, 30, 22, .6);
}

#contact .contact-info {
    height: 100%;
    padding: clamp(1.6rem, 3vw, 2.1rem);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(6px);
}

#contact .contact-item {
    margin-bottom: 1.6rem;
}

#contact .contact-item:last-of-type {
    margin-bottom: 1rem;
}

#contact .contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 1.15rem;
}

#contact .contact-item h5 {
    color: var(--gold-soft);
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

#contact .contact-item p {
    color: rgba(255, 255, 255, .88);
    line-height: 1.55;
}

#contact .social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
}

#contact .social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--coffee-deep);
}

#contact .contact-form-wrapper {
    padding: clamp(1.6rem, 3vw, 2.3rem);
    border-radius: var(--r-lg);
    background: var(--warm-white);
    box-shadow: var(--sh-3);
}

.contact-form-title {
    color: var(--coffee);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    margin-bottom: .4rem;
}

.contact-form-note {
    color: var(--text-muted);
    font-size: .94rem;
    margin-bottom: 1.4rem;
}

#contact .form-control {
    border: 1px solid rgba(111, 78, 55, .18);
    border-radius: 12px;
    background: #fff;
    padding: .8rem 1rem;
}

#contact .form-control:focus {
    border-color: var(--coffee);
    box-shadow: 0 0 0 .2rem rgba(111, 78, 55, .12);
}

#contact .map-container {
    border-radius: var(--r-lg);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: var(--sh-3);
}

#contact .map-container iframe {
    display: block;
    filter: saturate(.9);
}

/* ===================================================================
   13. Footer — visually continues the contact section
   =================================================================== */

.footer {
    position: relative;
    background: linear-gradient(180deg, var(--coffee) 0%, var(--coffee-dark) 45%, #2A1D15 100%);
    padding: clamp(2.75rem, 5vw, 4rem) 0 1.25rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 207, 164, .35), transparent);
}

.footer-title {
    position: relative;
    padding-bottom: .7rem;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    letter-spacing: .02em;
    color: var(--gold-soft);
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    border-radius: 999px;
    background: rgba(230, 207, 164, .45);
}

.footer p {
    color: rgba(255, 255, 255, .82);
    line-height: 1.75;
}

.footer-links a {
    position: relative;
    color: rgba(255, 255, 255, .85);
    font-size: .94rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: .4rem;
}

.footer-links li {
    margin-bottom: .6rem;
    color: rgba(255, 255, 255, .85);
    font-size: .94rem;
}

.footer .social-links {
    gap: .65rem;
}

.footer .social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
}

.footer .social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--coffee-deep);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, .14);
    margin: 2.25rem 0 1.4rem;
}

.footer .row:last-child p {
    font-size: .88rem;
    color: rgba(255, 255, 255, .72);
}

.scroll-top {
    background: var(--coffee);
    box-shadow: 0 10px 26px rgba(26, 18, 13, .32);
}

/* ===================================================================
   14. Responsive behaviour
   =================================================================== */

@media (max-width: 1199.98px) {
    .journey-wrap::before { left: 10%; right: 10%; }
}

@media (max-width: 991.98px) {
    :root { --diag: 34px; }

    .hero-section .carousel-item { height: clamp(500px, 74vh, 600px); }

    .about-visual { margin-bottom: 1.5rem; }

    .journey-wrap::before { display: none; }

    .journey-wrap { margin-bottom: clamp(-90px, -7vw, -60px); }

    #library { padding-top: clamp(120px, 14vw, 170px); }

    .post-mini { margin-bottom: 0; }
}

@media (max-width: 767.98px) {
    :root { --sec-pad: clamp(52px, 9vw, 70px); --diag: 24px; }

    .hero-section .carousel-item { height: clamp(520px, 82vh, 620px); }

    .hero-section .carousel-caption {
        width: min(940px, 92vw);
        padding-bottom: clamp(34px, 8vw, 58px);
    }

    .hero-section .carousel-caption h1 { margin-bottom: .85rem; }

    .hero-section .carousel-caption .lead { margin-bottom: 1.5rem; }

    .hero-section .carousel-indicators { bottom: clamp(52px, 12vw, 92px); }

    /* Swipe + indicators are enough on small screens; avoids overlapping the copy */
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next { display: none; }

    .hero-section .btn { padding: .75rem 1.5rem; }

    .hero-section .events-banner {
        margin: -34px auto -30px;
        padding: 0;
        border-width: 4px;
        border-radius: 14px;
    }

    #about .lead::first-letter { font-size: 2.4rem; }

    /* Justified text creates rivers in narrow columns */
    #about p,
    #about .lead { text-align: left; }

    .about-visual { padding: 0 0 10px 10px; }

    .about-visual img { border-radius: 20px 20px 64px 20px; }

    #galleryGrid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 178px;
        gap: .85rem;
    }

    #galleryGrid .gallery-item,
    #galleryGrid .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }

    #galleryGrid .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }

    #galleryGrid .gallery-overlay { padding: 1rem 1.1rem; }

    #galleryGrid .gallery-overlay p { font-size: .98rem; }

    /* Simplify decorative layers on small screens */
    .sec-deco--about::before,
    .sec-deco--media::before,
    .sec-deco--gallery::before,
    .sec-deco--calendar::after,
    .sec-deco--contact::before { display: none; }

    #contact { margin-top: -70px; padding-top: calc(var(--sec-pad) + 70px); }

    #faq-preview { padding-bottom: clamp(110px, 20vw, 150px); }

    .footer-title { margin-bottom: 1rem; }
}

@media (max-width: 575.98px) {
    .hero-section .carousel-item { height: clamp(500px, 84vh, 600px); }

    .hero-section .carousel-caption h1 { font-size: clamp(1.55rem, 7.4vw, 2.1rem); }

    .hero-section .carousel-caption .lead { font-size: 1rem; }

    .hero-section .events-banner { width: calc(100% - 1.5rem); }

    #galleryGrid { display: block; }

    #galleryGrid .gallery-item { margin-bottom: .85rem; }

    #galleryGrid .gallery-card { height: 220px; }

    #galleryGrid .gallery-item:first-child .gallery-card { height: 290px; }

    .post-mini { flex-direction: row; }

    .post-mini-media { flex: 0 0 78px; width: 78px; height: 78px; }
}

/* Never let decoration create horizontal scrolling */
html, body { max-width: 100%; overflow-x: hidden; }

/* ===================================================================
   15. Motion & accessibility preferences
   =================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .journey-card:hover,
    .post-feature:hover,
    .podcast-card:hover,
    #galleryGrid .gallery-card:hover,
    .post-mini:hover {
        transform: none;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ==========================================================
   Principles page — polished cards
   ========================================================== */
.principle-card {
    position: relative;
    border: 1px solid rgba(111, 78, 55, .14);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: var(--sh-1);
    padding: 2.6rem 1.6rem 1.8rem;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    overflow: hidden;
}
.principle-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--coffee), var(--gold), var(--sage));
    opacity: 0;
    transition: opacity .28s ease;
}
.principle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-2);
    border-color: rgba(200, 161, 90, .45);
}
.principle-card:hover::before { opacity: 1; }

.principle-num {
    position: absolute;
    top: 1rem; right: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--sage);
    background: rgba(106, 156, 137, .10);
    border: 1px solid rgba(106, 156, 137, .25);
    border-radius: 999px;
    padding: .2rem .6rem;
    transition: color .28s ease, background .28s ease, border-color .28s ease;
}
.principle-card:hover .principle-num {
    color: #fff;
    background: var(--coffee);
    border-color: var(--coffee);
}

.principle-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--coffee);
    background: radial-gradient(circle at 30% 25%, #fff 0%, var(--cream) 55%, var(--gold-soft) 100%);
    border: 2px solid rgba(200, 161, 90, .55);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(200, 161, 90, .12), 0 8px 18px rgba(52, 36, 26, .10);
    transition: transform .28s ease, box-shadow .28s ease;
}
.principle-card:hover .principle-icon {
    transform: scale(1.06);
    box-shadow: 0 0 0 8px rgba(200, 161, 90, .16), 0 12px 24px rgba(52, 36, 26, .14);
}

.principle-card h4 {
    font-family: 'Lora', serif;
    color: var(--coffee-dark);
    font-size: 1.18rem;
    margin-bottom: .6rem;
}
.principle-card p {
    color: #5d5348;
    font-size: .92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .principle-card { padding: 2.4rem 1.3rem 1.5rem; }
}

/* ===================================================================
   Slim underline tab-bar filters (gallery, FAQ)
   =================================================================== */
.gal-filter-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 2px solid rgba(111, 78, 55, .18);
    margin-bottom: 1.75rem;
}
.gal-filter {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 0;
}
.gal-filter::-webkit-scrollbar { display: none; }
.gfc-btn {
    appearance: none;
    background: none;
    border: none;
    padding: .55rem .95rem .6rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: #9a8b7c;
    white-space: nowrap;
    position: relative;
    text-decoration: none;
    transition: color .2s ease;
}
.gfc-btn:hover { color: var(--coffee); }
.gfc-btn .cnt {
    font-size: .68rem;
    font-weight: 500;
    color: #b9a48d;
    margin-left: .3rem;
}
.gfc-btn.active { color: var(--coffee); }
.gfc-btn.active .cnt { color: var(--coffee); }
.gfc-btn.active::after {
    content: '';
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: -2px;
    height: 2px;
    background: var(--coffee);
    border-radius: 2px;
}
.gal-count {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: var(--text-muted);
    white-space: nowrap;
    padding-bottom: .55rem;
}
@media (max-width: 575.98px) { .gal-count { display: none; } }

/* FAQ � flat hairline accordion */
.faq-search {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding-bottom: .45rem;
    color: #9a8b7c;
}
.faq-search input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: .82rem;
    color: var(--text-dark);
    width: 11rem;
    padding: 0;
}
.faq-search input::placeholder { color: #b9a48d; }

.faq-list .accordion-item {
    border: 1px solid rgba(111, 78, 55, .16);
    border-radius: 12px;
    background: #fff;
    margin-bottom: .75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(111, 78, 55, .06);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-list .accordion-item:hover {
    border-color: rgba(111, 78, 55, .32);
    box-shadow: 0 4px 14px rgba(111, 78, 55, .1);
}
.faq-list .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: rgba(111, 78, 55, .4);
    border-left: 3px solid var(--coffee);
    box-shadow: 0 6px 18px rgba(111, 78, 55, .12);
}
.faq-list .accordion-button {
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .96rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    padding: 1rem 1.15rem;
    box-shadow: none;
    gap: .75rem;
}
.faq-list .accordion-button:hover { color: var(--coffee); }
.faq-list .accordion-button:focus { box-shadow: none; border: none; }
.faq-list .accordion-button:not(.collapsed) {
    background: #fdfaf6;
    color: var(--coffee);
    border-bottom: 1px solid rgba(111, 78, 55, .14);
}
.faq-list .accordion-button::after {
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236F4E37' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.faq-list .accordion-body {
    padding: 1rem 1.35rem 1.3rem;
    color: #57493c;
    line-height: 1.85;
    font-size: .95rem;
}
.faq-empty {
    text-align: center;
    padding: 3.5rem 1rem;
    color: var(--text-muted);
}
.faq-empty i { font-size: 2.5rem; color: #c9b8a4; }

/* FAQ — sticky category sidebar (large devices) */
.faq-side {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid rgba(111, 78, 55, .16);
    border-radius: 14px;
    padding: 1.1rem 1.15rem 1.25rem;
    box-shadow: var(--sh-1);
}
.faq-search--side {
    padding: 0 0 .65rem;
    border-bottom: 2px solid rgba(111, 78, 55, .18);
    margin-bottom: .9rem;
}
.faq-search--side input { width: 100%; }
.faq-side-title {
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--coffee);
    margin-bottom: .35rem;
}
.faq-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.faq-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: .55rem .6rem;
    font-size: .85rem;
    font-weight: 500;
    color: #6d5f51;
    text-decoration: none;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.faq-cat-link:hover {
    color: var(--coffee);
    background: rgba(111, 78, 55, .06);
}
.faq-cat-link.active {
    color: var(--coffee);
    font-weight: 700;
    background: rgba(111, 78, 55, .09);
    border-left-color: var(--coffee);
}
.faq-cat-link .cnt {
    font-size: .68rem;
    font-weight: 600;
    color: #9a8b7c;
    background: rgba(111, 78, 55, .08);
    border-radius: 999px;
    padding: .1rem .5rem;
    min-width: 1.7rem;
    text-align: center;
}
.faq-cat-link.active .cnt {
    color: #fff;
    background: var(--coffee);
}
button.faq-cat-link {
    background: none;
    border: none;
    border-left: 3px solid transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}
.faq-side .gal-count {
    display: block;
    margin-top: .8rem;
    padding-top: .7rem;
    border-top: 1px solid rgba(111, 78, 55, .12);
    font-size: .75rem;
    color: #9a8b7c;
}
