/* ==========================================================================
   Subrina Hossain — front-end theme (Bootstrap 5.3 + jQuery)
   ========================================================================== */

:root {
    --sh-ink: #16182b;
    --sh-ink-soft: #2a2d45;
    --sh-gold: #b8894a;
    --sh-gold-dark: #94692f;
    --sh-gold-soft: #f4ebdd;
    --sh-cream: #faf7f2;
    --sh-text: #2f2f35;
    --sh-muted: #6e6c75;
    --sh-line: #e8e2d8;
    --sh-radius: 14px;
    --sh-shadow: 0 10px 30px rgba(22, 24, 43, .08);
    --sh-shadow-lg: 0 20px 50px rgba(22, 24, 43, .14);
    --sh-font-head: "Playfair Display", Georgia, serif;
    --sh-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Bootstrap overrides */
    --bs-body-font-family: var(--sh-font-body);
    --bs-body-color: var(--sh-text);
    --bs-body-bg: #fff;
    --bs-link-color: var(--sh-gold-dark);
    --bs-link-color-rgb: 148, 105, 47;
    --bs-link-hover-color: var(--sh-ink);
    --bs-link-hover-color-rgb: 22, 24, 43;
    --bs-border-color: var(--sh-line);
}

html { scroll-behavior: smooth; }
body { font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, h5, .font-head {
    font-family: var(--sh-font-head);
    color: var(--sh-ink);
    font-weight: 600;
    line-height: 1.25;
}

::selection { background: var(--sh-gold); color: #fff; }

.text-gold { color: var(--sh-gold) !important; }
.text-ink { color: var(--sh-ink) !important; }
.bg-cream { background: var(--sh-cream) !important; }
.bg-ink { background: var(--sh-ink) !important; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 767.98px) {
    .section { padding: 64px 0; }
    .section-sm { padding: 48px 0; }
}

/* Eyebrow + section headings ------------------------------------------------ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--sh-gold-dark);
    margin-bottom: .9rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.section-lead { color: var(--sh-muted); max-width: 640px; }
.text-center .section-lead { margin-inline: auto; }
.text-center .eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

/* Buttons ------------------------------------------------------------------- */
.btn {
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-padding-y: .75rem;
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: .9rem;
    --bs-btn-border-radius: 999px;
    letter-spacing: .02em;
    transition: all .25s ease;
}
.btn-sm { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .45rem; --bs-btn-font-size: .8rem; }
.btn-gold {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--sh-gold);
    --bs-btn-border-color: var(--sh-gold);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--sh-gold-dark);
    --bs-btn-hover-border-color: var(--sh-gold-dark);
    --bs-btn-active-bg: var(--sh-gold-dark);
    --bs-btn-active-border-color: var(--sh-gold-dark);
    --bs-btn-focus-shadow-rgb: 184, 137, 74;
}
.btn-ink {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--sh-ink);
    --bs-btn-border-color: var(--sh-ink);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--sh-ink-soft);
    --bs-btn-hover-border-color: var(--sh-ink-soft);
}
.btn-outline-ink {
    --bs-btn-color: var(--sh-ink);
    --bs-btn-border-color: var(--sh-ink);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--sh-ink);
    --bs-btn-hover-border-color: var(--sh-ink);
}
.btn-outline-light-soft {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .45);
    --bs-btn-hover-color: var(--sh-ink);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
}
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.link-arrow {
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* Top bar + navbar ---------------------------------------------------------- */
.topbar {
    background: var(--sh-ink);
    color: rgba(255, 255, 255, .75);
    font-size: .82rem;
}
.topbar a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.topbar a:hover { color: var(--sh-gold); }
.topbar .social a { margin-left: 1rem; }

.site-nav {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(10px);
    transition: box-shadow .3s ease, padding .3s ease;
    padding: 1rem 0;
}
.site-nav.is-scrolled { box-shadow: 0 6px 24px rgba(22, 24, 43, .08); padding: .55rem 0; }
.site-nav .navbar-brand {
    font-family: var(--sh-font-head);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--sh-ink);
    display: flex;
    align-items: center;
    gap: .6rem;
}
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sh-ink);
    color: var(--sh-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    letter-spacing: .02em;
}
.site-nav .nav-link {
    font-weight: 500;
    font-size: .92rem;
    color: var(--sh-text);
    padding: .5rem .9rem !important;
    position: relative;
}
.site-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: .2rem;
    height: 2px;
    background: var(--sh-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--sh-ink); }
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .dropdown-toggle::after { border: 0; }
.site-nav .dropdown-menu {
    border: 0;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow-lg);
    padding: .5rem;
    margin-top: .5rem;
}
.site-nav .dropdown-item {
    border-radius: 8px;
    font-size: .9rem;
    padding: .55rem 1rem;
}
.site-nav .dropdown-item:hover,
.site-nav .dropdown-item.active { background: var(--sh-gold-soft); color: var(--sh-ink); }
@media (min-width: 992px) {
    .site-nav .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--sh-line);
    }
    .site-nav .nav-link::after { display: none; }
    .site-nav .dropdown-menu { box-shadow: none; background: var(--sh-cream); }
}

/* Home hero ----------------------------------------------------------------- */
.hero {
    position: relative;
    background: var(--sh-cream);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 42%;
    background: var(--sh-gold-soft);
}
.hero .container { position: relative; }
.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--sh-gold-dark); }
.hero-text { font-size: 1.1rem; color: var(--sh-muted); max-width: 520px; }
.hero-media { position: relative; padding: 0 0 2rem 2rem; }
.hero-media .carousel {
    border-radius: 200px 200px var(--sh-radius) var(--sh-radius);
    overflow: hidden;
    box-shadow: var(--sh-shadow-lg);
}
.hero-media .carousel-item img { aspect-ratio: 1 / 1.1; object-fit: cover; object-position: top; }
.hero-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #fff;
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-shadow-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    max-width: 280px;
    z-index: 2;
}
.hero-badge i {
    font-size: 1.4rem;
    color: var(--sh-gold);
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--sh-gold-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hero-badge strong { display: block; font-size: .95rem; color: var(--sh-ink); line-height: 1.3; }
.hero-badge span { font-size: .8rem; color: var(--sh-muted); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.5rem; }
.hero-meta div { font-size: .85rem; color: var(--sh-muted); }
.hero-meta strong { display: block; font-family: var(--sh-font-head); font-size: 1.15rem; color: var(--sh-ink); }
@media (max-width: 991.98px) {
    .hero::before { width: 100%; top: auto; height: 38%; }
    .hero-media { padding: 0 0 2rem 0; margin-top: 2rem; }
}

/* Page hero (inner pages) ---------------------------------------------------- */
.page-hero {
    position: relative;
    padding: 110px 0 90px;
    background: var(--sh-ink) url("../../webs/img/page-header.jpg") center / cover no-repeat;
    color: #fff;
    text-align: center;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 24, 43, .78), rgba(22, 24, 43, .9));
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .75rem; }
.page-hero p { color: rgba(255, 255, 255, .75); max-width: 620px; margin: 0 auto 1.25rem; }
.page-hero .breadcrumb { justify-content: center; margin: 0; font-size: .85rem; }
.page-hero .breadcrumb a { color: var(--sh-gold); text-decoration: none; }
.page-hero .breadcrumb-item.active,
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

/* About / portrait blocks --------------------------------------------------- */
.img-frame { position: relative; }
.img-frame img { border-radius: var(--sh-radius); box-shadow: var(--sh-shadow-lg); position: relative; z-index: 1; }
.img-frame::before {
    content: "";
    position: absolute;
    top: -18px;
    left: -18px;
    width: 60%;
    height: 70%;
    border: 2px solid var(--sh-gold);
    border-radius: var(--sh-radius);
}
.signature { max-height: 60px; opacity: .85; }

.quote-block {
    border-left: 3px solid var(--sh-gold);
    padding: .5rem 0 .5rem 1.5rem;
    font-family: var(--sh-font-head);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--sh-ink);
}

/* Stat strip ---------------------------------------------------------------- */
.stat-strip { background: var(--sh-ink); color: #fff; }
.stat-item { text-align: center; padding: 2.25rem 1rem; }
.stat-item + .stat-item { border-left: 1px solid rgba(255, 255, 255, .1); }
.stat-item .num { font-family: var(--sh-font-head); font-size: 2.6rem; color: var(--sh-gold); line-height: 1; }
.stat-item p { margin: .6rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .7); letter-spacing: .04em; }
@media (max-width: 767.98px) {
    .stat-item + .stat-item { border-left: 0; }
    .stat-item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .1); }
    .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* Feature (focus area) cards ------------------------------------------------ */
.focus-card {
    height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--sh-shadow-lg); border-color: transparent; }
.focus-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--sh-gold-soft);
    color: var(--sh-gold-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: background .3s ease, color .3s ease;
}
.focus-card:hover .icon { background: var(--sh-gold); color: #fff; }
.focus-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.focus-card p { color: var(--sh-muted); font-size: .95rem; margin: 0; }

/* Content cards (blog, events, team) ---------------------------------------- */
.content-card {
    height: 100%;
    background: #fff;
    border-radius: var(--sh-radius);
    overflow: hidden;
    box-shadow: var(--sh-shadow);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.content-card:hover { transform: translateY(-6px); box-shadow: var(--sh-shadow-lg); }
.content-card .thumb { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sh-gold-soft); }
.content-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.content-card:hover .thumb img { transform: scale(1.06); }
.content-card .thumb .tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--sh-gold);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .75rem;
    border-radius: 999px;
}
.content-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.content-card .meta { font-size: .8rem; color: var(--sh-muted); margin-bottom: .6rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.content-card .meta i { color: var(--sh-gold); margin-right: .3rem; }
.content-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.content-card h3 a { color: inherit; text-decoration: none; }
.content-card h3 a:hover { color: var(--sh-gold-dark); }
.content-card p { color: var(--sh-muted); font-size: .93rem; }
.content-card .body > :last-child { margin-top: auto; }

/* Team -------------------------------------------------------------------- */
.team-card .thumb { aspect-ratio: 1 / 1; }
.team-card .social {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding: 1rem;
    background: linear-gradient(0deg, rgba(22, 24, 43, .8), transparent);
    transform: translateY(100%);
    transition: transform .3s ease;
}
.team-card:hover .social { transform: translateY(0); }
.team-card .social a { background: #fff; color: var(--sh-ink); }
.team-card .social a:hover { background: var(--sh-gold); color: #fff; }

/* Video cards ---------------------------------------------------------------- */
.video-card { cursor: pointer; }
.video-card .play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 24, 43, .25);
    transition: background .3s ease;
}
.video-card .play span {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--sh-gold);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 0 0 10px rgba(184, 137, 74, .3);
    transition: transform .3s ease;
}
.video-card:hover .play { background: rgba(22, 24, 43, .45); }
.video-card:hover .play span { transform: scale(1.1); }
#videoModal .modal-content { background: #000; border: 0; border-radius: var(--sh-radius); overflow: hidden; }
#videoModal .btn-close { z-index: 5; }

/* Photo gallery -------------------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.gallery-filters .btn { --bs-btn-padding-y: .45rem; --bs-btn-padding-x: 1.1rem; }
.gallery-grid { columns: 3 280px; column-gap: 1.25rem; }
.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    position: relative;
    display: block;
    border-radius: var(--sh-radius);
    overflow: hidden;
    cursor: zoom-in;
}
.gallery-item img { width: 100%; display: block; transition: transform .6s ease; }
.gallery-item .caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2.5rem 1rem 1rem;
    color: #fff;
    font-size: .9rem;
    font-weight: 500;
    background: linear-gradient(0deg, rgba(22, 24, 43, .85), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .caption { opacity: 1; transform: none; }

.lightbox .modal-content { background: transparent; border: 0; align-items: center; }
.lightbox .modal-body { padding: 0; position: relative; text-align: center; flex: 0 0 auto; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: var(--sh-radius); }
.lightbox .caption { color: #fff; margin-top: .9rem; font-size: .95rem; }
.lightbox .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .9);
    color: var(--sh-ink);
    border: 0;
}
.lightbox .nav-btn.prev { left: .75rem; }
.lightbox .nav-btn.next { right: .75rem; }
.lightbox .btn-close { position: absolute; top: -2.5rem; right: 0; }
.modal-backdrop.show { opacity: .88; }

/* Timeline -------------------------------------------------------------- */
.timeline { position: relative; padding: 1rem 0; }
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--sh-line);
    transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 3rem 3rem 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 3rem 3rem; }
.tl-item::before {
    content: "";
    position: absolute;
    top: 1.6rem;
    right: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--sh-gold);
    z-index: 1;
}
.tl-item:nth-child(even)::before { right: auto; left: -9px; }
.tl-card {
    background: #fff;
    border-radius: var(--sh-radius);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--sh-shadow);
    transition: box-shadow .3s ease;
}
.tl-card:hover { box-shadow: var(--sh-shadow-lg); }
.tl-date {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sh-gold-dark);
    background: var(--sh-gold-soft);
    padding: .25rem .75rem;
    border-radius: 999px;
    margin-bottom: .75rem;
}
.tl-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.tl-card p { color: var(--sh-muted); margin: 0; font-size: .95rem; }
@media (max-width: 767.98px) {
    .timeline::before { left: 9px; }
    .tl-item,
    .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 2rem 2.5rem; }
    .tl-item::before,
    .tl-item:nth-child(even)::before { left: 0; right: auto; }
}

/* Biography --------------------------------------------------------------- */
.bio-aside { position: sticky; top: 110px; }
.bio-card { background: #fff; border-radius: var(--sh-radius); box-shadow: var(--sh-shadow); overflow: hidden; }
.bio-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bio-card .body { padding: 1.5rem; }
.bio-facts { list-style: none; padding: 0; margin: 0; }
.bio-facts li { display: flex; gap: .75rem; padding: .65rem 0; border-bottom: 1px dashed var(--sh-line); font-size: .92rem; }
.bio-facts li:last-child { border-bottom: 0; }
.bio-facts i { color: var(--sh-gold); margin-top: .15rem; }
.bio-content h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.bio-content h2:first-child { margin-top: 0; }
.bio-content p { color: var(--sh-text); }
.award-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--sh-radius);
    background: var(--sh-cream);
    border: 1px solid var(--sh-line);
    height: 100%;
}
.award-card i { font-size: 1.6rem; color: var(--sh-gold); }
.award-card h4 { font-size: 1rem; margin-bottom: .25rem; font-family: var(--sh-font-body); font-weight: 600; }
.award-card p { font-size: .88rem; color: var(--sh-muted); margin: 0; }

/* FAQ accordion ------------------------------------------------------------- */
.faq .accordion-item {
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq .accordion-button {
    font-family: var(--sh-font-head);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--sh-ink);
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
}
.faq .accordion-button:not(.collapsed) { background: var(--sh-gold-soft); }
.faq .accordion-body { color: var(--sh-muted); padding: 1.25rem 1.5rem; }

/* Contact -------------------------------------------------------------- */
.contact-info {
    background: var(--sh-ink);
    color: rgba(255, 255, 255, .8);
    border-radius: var(--sh-radius);
    padding: 2.5rem;
    height: 100%;
}
.contact-info h3 { color: #fff; }
.contact-info .item { display: flex; gap: 1rem; margin-top: 1.75rem; }
.contact-info .item i {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(184, 137, 74, .15);
    color: var(--sh-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.contact-info .item strong { display: block; color: #fff; font-weight: 600; font-size: .95rem; }
.contact-info .item a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.contact-info .item a:hover { color: var(--sh-gold); }
.form-card { background: #fff; border-radius: var(--sh-radius); box-shadow: var(--sh-shadow); padding: 2.5rem; }
.form-control,
.form-select {
    border-radius: 10px;
    border-color: var(--sh-line);
    padding: .8rem 1rem;
}
.form-floating > .form-control { padding: 1rem; }
.form-control:focus,
.form-select:focus { border-color: var(--sh-gold); box-shadow: 0 0 0 .2rem rgba(184, 137, 74, .15); }
@media (max-width: 575.98px) {
    .form-card,
    .contact-info { padding: 1.75rem; }
}

/* Article (blog details / legal pages) ---------------------------------------- */
.article { font-size: 1.05rem; }
.article h2 { font-size: 1.5rem; margin: 2.25rem 0 .9rem; }
.article h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.article img { max-width: 100%; height: auto; border-radius: var(--sh-radius); }
.article p { margin-bottom: 1.25rem; }
.article-cover { border-radius: var(--sh-radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 2rem; }
.sidebar-card { background: var(--sh-cream); border-radius: var(--sh-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card h4 { font-size: 1.1rem; margin-bottom: 1rem; }
.mini-post { display: flex; gap: .9rem; text-decoration: none; color: inherit; padding: .6rem 0; }
.mini-post img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.mini-post span { font-weight: 600; font-size: .9rem; color: var(--sh-ink); line-height: 1.35; }
.mini-post:hover span { color: var(--sh-gold-dark); }

/* CTA banner -------------------------------------------------------------- */
.cta {
    background: linear-gradient(120deg, var(--sh-ink) 0%, var(--sh-ink-soft) 100%);
    border-radius: 24px;
    padding: 3.5rem;
    color: rgba(255, 255, 255, .8);
    position: relative;
    overflow: hidden;
}
.cta::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 40px solid rgba(184, 137, 74, .15);
}
.cta h2 { color: #fff; }
@media (max-width: 575.98px) { .cta { padding: 2.25rem 1.5rem; } }

/* Empty state -------------------------------------------------------------- */
.empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border: 1px dashed var(--sh-line);
    border-radius: var(--sh-radius);
    color: var(--sh-muted);
    background: #fff;
}
.empty-state i { font-size: 2.2rem; color: var(--sh-gold); display: block; margin-bottom: .75rem; }

/* Pagination -------------------------------------------------------------- */
.pagination { --bs-pagination-color: var(--sh-ink); --bs-pagination-active-bg: var(--sh-gold); --bs-pagination-active-border-color: var(--sh-gold); --bs-pagination-hover-color: var(--sh-gold-dark); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(184, 137, 74, .2); }

/* Footer -------------------------------------------------------------- */
.site-footer { background: var(--sh-ink); color: rgba(255, 255, 255, .65); font-size: .93rem; }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.25rem; }
.site-footer a { color: rgba(255, 255, 255, .65); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--sh-gold); }
.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: .6rem; }
.site-footer .footer-links i { font-size: .7rem; margin-right: .4rem; color: var(--sh-gold); }
.site-footer .contact-line { display: flex; gap: .75rem; margin-bottom: .8rem; }
.site-footer .contact-line i { color: var(--sh-gold); margin-top: .2rem; }
.site-footer .social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: .4rem;
}
.site-footer .social a:hover { background: var(--sh-gold); border-color: var(--sh-gold); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* Back to top -------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s ease;
    box-shadow: var(--sh-shadow-lg);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Scroll reveal ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* Alerts -------------------------------------------------------------- */
.alert { border-radius: var(--sh-radius); }

/* Rich text from the admin editor (biography, legal pages, blog posts) */
.article blockquote,
.bio-content blockquote {
    border-left: 3px solid var(--sh-gold);
    padding: .5rem 0 .5rem 1.5rem;
    margin: 2.5rem 0;
    font-family: var(--sh-font-head);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--sh-ink);
}
.article ul, .article ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.article table { width: 100%; margin-bottom: 1.25rem; }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.bio-content.article { font-size: 1rem; }

/* Placeholder for posts without a photo */
.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(184, 137, 74, .35) 0, transparent 45%),
        linear-gradient(135deg, var(--sh-ink) 0%, var(--sh-ink-soft) 100%);
}
.thumb-placeholder span {
    font-family: var(--sh-font-head);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--sh-gold);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid rgba(184, 137, 74, .5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumb-placeholder.mini { width: 72px; height: 56px; border-radius: 8px; flex-shrink: 0; }
.thumb-placeholder.mini span { font-size: .85rem; width: auto; height: auto; border: 0; }
