/* ============================================================
   BONGA CITY — SHARED PUBLIC DESIGN SYSTEM
   Classic, industry-standard government web styling.
   Loaded via includes/header.php on every public page.
   ============================================================ */

:root {
    --forest-deep: #06351f;
    --forest-mid: #0c5b36;
    --forest-dark: #02180e;
    --kaffa-gold: #c9a45c;
    --kaffa-gold-hover: #e1bd74;
    --light-mist: #f4f7f5;
    --text-dark: #17231c;
    --line-soft: rgba(6, 53, 31, 0.12);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background: var(--light-mist);
    color: var(--text-dark);
}

::selection { background: var(--kaffa-gold); color: var(--forest-deep); }

/* ------------------------------------------------------------------
   PAGE HERO — consistent classic government banner w/ breadcrumb
   (per-page background images are preserved; we only refine structure)
   ------------------------------------------------------------------ */
.page-header { position: relative; overflow: hidden; }
.page-header .container { position: relative; z-index: 2; }
.page-header,
.hero-banner {
    isolation: isolate;
}
.page-header::before,
.hero-banner::before {
    content: '';
    position: absolute;
    inset: -35%;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 25%, rgba(201, 164, 92, 0.16), transparent 26%),
        radial-gradient(circle at 82% 72%, rgba(12, 91, 54, 0.28), transparent 30%);
    animation: portalGlow 14s ease-in-out infinite alternate;
    pointer-events: none;
}
.hero-banner .container { position: relative; z-index: 1; }

@keyframes portalGlow {
    from { transform: translate3d(-2%, -1%, 0) scale(1); }
    to { transform: translate3d(2%, 1%, 0) scale(1.04); }
}

.breadcrumb-pmo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.breadcrumb-pmo a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-pmo a:hover { color: var(--kaffa-gold); }
.breadcrumb-pmo .bc-sep { color: rgba(255, 255, 255, 0.35); font-size: 0.6rem; display: inline-flex; }
.breadcrumb-pmo .bc-current { color: var(--kaffa-gold); text-transform: uppercase; font-weight: 700; }

.page-header h1 { font-weight: 800; letter-spacing: -0.3px; }
.page-header .lead { font-weight: 400; }

/* ------------------------------------------------------------------
   SECTION HEADINGS — eyebrow + title + gold rule
   ------------------------------------------------------------------ */
.sec-eyebrow {
    font-size: 0.76rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--kaffa-gold);
    font-weight: 800;
    display: inline-block;
}
.sec-title { font-weight: 800; color: var(--text-dark); letter-spacing: -0.3px; }
.sec-rule { width: 56px; height: 3px; background-color: var(--kaffa-gold); }

/* Archival record stream shared by leadership, services, policy, and reports. */
.archive-stream { position: relative; }
.archive-stream::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(var(--kaffa-gold), rgba(6, 53, 31, 0.12));
}
.archive-record { position: relative; margin-left: 46px; }
.archive-record::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 26px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--light-mist);
    border-radius: 50%;
    background: var(--kaffa-gold);
    box-shadow: 0 0 0 1px var(--kaffa-gold);
}
.archive-meta {
    color: var(--forest-mid);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.captcha-field { max-width: 360px; }
.captcha-challenge {
    display: inline-block;
    padding: .2rem .5rem;
    margin-left: .25rem;
    color: var(--forest-deep);
    background: rgba(201, 164, 92, .25);
    border: 1px solid rgba(201, 164, 92, .55);
    letter-spacing: 1px;
}
.text-white-50 + .captcha-challenge,
.captcha-field .text-white-50 .captcha-challenge { color: var(--forest-deep); }
.news-feature { border-top: 5px solid var(--kaffa-gold) !important; }
.news-feature .news-img { height: 330px; }
.news-gallery img { height: 150px; object-fit: cover; }
.home-news-archive { background: #f4f7f5; border-top: 1px solid rgba(6, 53, 31, .08); border-bottom: 1px solid rgba(6, 53, 31, .08); }
.home-news-feature { overflow: hidden; background: #fff; border: 1px solid var(--line-soft); border-top: 5px solid var(--kaffa-gold); box-shadow: 0 12px 30px rgba(6, 53, 31, .08); }
.home-news-feature-image { min-height: 270px; position: relative; background-position: center; background-size: cover; }
.home-news-feature-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(2, 24, 14, .08), rgba(2, 24, 14, .62)); }
.home-news-feature-portrait { position: relative; min-height: 640px; border-top: 0; }
.home-news-feature-portrait .home-news-feature-image { position: absolute; inset: 0; height: 100%; }
.home-news-feature-portrait .home-news-feature-image::after { background: linear-gradient(180deg, rgba(2, 24, 14, .05) 25%, rgba(2, 24, 14, .9) 100%); }
.home-news-feature-label { position: absolute; z-index: 2; right: 18px; top: 18px; padding: .45rem .7rem; background: var(--kaffa-gold); color: var(--forest-deep); font-size: .7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.home-news-feature-content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 2.2rem; }
.home-news-list { position: relative; padding-left: 28px; }
.home-news-list::before { content: ''; position: absolute; left: 8px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(var(--kaffa-gold), rgba(6, 53, 31, .12)); }
.home-news-record { position: relative; display: flex; gap: 16px; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(6, 53, 31, .1); }
.home-news-record:last-child { border-bottom: 0; margin-bottom: 0; }
.home-news-record::before { content: ''; position: absolute; left: -25px; top: 4px; width: 11px; height: 11px; background: var(--kaffa-gold); border: 3px solid var(--light-mist); border-radius: 50%; box-shadow: 0 0 0 1px var(--kaffa-gold); }
.home-news-record-number { color: var(--kaffa-gold); font-size: 1.4rem; font-weight: 800; line-height: 1; min-width: 28px; }
.home-news-thumb-record { align-items: flex-start; }
.home-news-thumb { width: 132px; height: 96px; flex: 0 0 132px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 5px 14px rgba(6, 53, 31, .14); }
.home-news-record-body { flex: 1; min-width: 0; }
.home-news-record h3 a:hover { color: var(--forest-mid) !important; }
.archive-menu { border-left: 4px solid var(--kaffa-gold) !important; }
.archive-menu a:hover { color: var(--forest-mid) !important; }

/* ------------------------------------------------------------------
   STANDARD GOV CARD
   ------------------------------------------------------------------ */
.gov-card {
    background: #ffffff;
    border: 1px solid var(--line-soft);
    border-top: 4px solid var(--forest-mid);
    box-shadow: 0 4px 18px rgba(6, 53, 31, 0.06);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.gov-card:hover {
    border-top-color: var(--kaffa-gold);
    box-shadow: 0 18px 36px rgba(6, 53, 31, 0.13);
    transform: translateY(-3px);
}

/* Cabinet directory cards */
.cabinet-card {
    background: #ffffff;
    border: 1px solid var(--line-soft);
    border-left: 4px solid var(--forest-mid);
    box-shadow: 0 8px 24px rgba(6, 53, 31, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cabinet-card:hover {
    border-left-color: var(--kaffa-gold);
    box-shadow: 0 16px 32px rgba(6, 53, 31, 0.12);
    transform: translateY(-3px);
}
.cabinet-card .cabinet-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--kaffa-gold);
    background: rgba(6, 53, 31, 0.08);
    border: 1px solid rgba(201, 164, 92, 0.35);
}
.gov-card .card-icon {
    width: 52px; height: 52px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--kaffa-gold);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}

/* ------------------------------------------------------------------
   SHARED PUBLIC CONTENT SURFACES
   ------------------------------------------------------------------ */
.mayor-card,
.vision-statement-card,
.roadmap-card,
.timeline-card,
.council-card,
.init-card,
.cabinet-card,
.dept-card,
.news-card,
.service-card,
.info-card,
.sidebar-card {
    border-radius: 6px !important;
    border-color: var(--line-soft) !important;
    box-shadow: 0 8px 24px rgba(6, 53, 31, 0.07);
}
.mayor-card:hover,
.vision-statement-card:hover,
.roadmap-card:hover,
.timeline-card:hover,
.council-card:hover,
.init-card:hover,
.dept-card:hover,
.news-card:hover,
.service-card:hover,
.info-card:hover,
.sidebar-card:hover {
    box-shadow: 0 18px 38px rgba(6, 53, 31, 0.13);
}
.hero-full-img,
.profile-thumb {
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.hero-full-img:hover,
.profile-thumb:hover {
    transform: scale(1.025);
    box-shadow: 0 16px 30px rgba(2, 24, 14, 0.22);
}
.hero-image-container::before {
    content: '';
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(225, 189, 116, 0.4);
    border-radius: 18px;
    animation: emblemOrbit 8s linear infinite;
    pointer-events: none;
}
@keyframes emblemOrbit {
    from { transform: rotate(0deg) scale(0.98); opacity: 0.45; }
    50% { transform: rotate(180deg) scale(1.01); opacity: 0.9; }
    to { transform: rotate(360deg) scale(0.98); opacity: 0.45; }
}
.icon-box,
.cabinet-icon,
.gov-card .card-icon {
    transition: transform 0.35s ease, background-color 0.35s ease;
}
.mayor-card:hover .icon-box,
.init-card:hover .icon-box,
.cabinet-card:hover .cabinet-icon,
.gov-card:hover .card-icon {
    transform: translateY(-4px) rotate(-3deg);
    background-color: rgba(201, 164, 92, 0.2);
}

/* ------------------------------------------------------------------
   GLOWING HERO, TEAM, AND HOMEPAGE GRAPHICS
   ------------------------------------------------------------------ */
.hero-carousel-item {
    background-position: center;
    animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-carousel-overlay {
    background: linear-gradient(115deg, rgba(2, 24, 14, 0.96), rgba(6, 53, 31, 0.68) 62%, rgba(2, 24, 14, 0.84));
}
.hero-crest-badge {
    box-shadow: 0 0 0 1px rgba(225, 189, 116, 0.16), 0 0 22px rgba(201, 164, 92, 0.22);
    animation: badgeGlow 3.8s ease-in-out infinite alternate;
}
.carousel-info-glass {
    box-shadow: 0 0 34px rgba(201, 164, 92, 0.18), inset 0 0 30px rgba(255, 255, 255, 0.04);
}
@keyframes heroDrift {
    from { background-position: 46% 50%; }
    to { background-position: 54% 48%; }
}
@keyframes badgeGlow {
    from { box-shadow: 0 0 0 1px rgba(225, 189, 116, 0.16), 0 0 12px rgba(201, 164, 92, 0.12); }
    to { box-shadow: 0 0 0 1px rgba(225, 189, 116, 0.48), 0 0 28px rgba(201, 164, 92, 0.35); }
}
.hero-full-img {
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9), 0 0 0 8px rgba(201, 164, 92, 0.9), 0 18px 46px rgba(2, 24, 14, 0.5) !important;
    animation: profileHalo 4.5s ease-in-out infinite alternate;
}
.team-profile-frame {
    display: inline-flex;
    padding: 7px;
    border: 1px solid rgba(225, 189, 116, 0.78);
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, rgba(201, 164, 92, 0.45));
    box-shadow: 0 0 0 4px rgba(6, 53, 31, 0.08), 0 0 24px rgba(201, 164, 92, 0.28);
    animation: profileHalo 4.5s ease-in-out infinite alternate;
}
.team-profile-frame .profile-thumb {
    border: 0 !important;
    box-shadow: 0 5px 18px rgba(2, 24, 14, 0.2) !important;
}
.timeline-card .profile-thumb,
.council-card .profile-thumb {
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px rgba(201, 164, 92, 0.82), 0 0 24px rgba(201, 164, 92, 0.28) !important;
    animation: profileHalo 4.5s ease-in-out infinite alternate;
}
@keyframes profileHalo {
    from { filter: saturate(0.96); box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px rgba(201, 164, 92, 0.58), 0 0 16px rgba(201, 164, 92, 0.2); }
    to { filter: saturate(1.08); box-shadow: 0 0 0 4px #ffffff, 0 0 0 7px rgba(225, 189, 116, 0.92), 0 0 30px rgba(201, 164, 92, 0.42); }
}
.support-ticket-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(118deg, var(--forest-dark), var(--forest-deep) 52%, var(--forest-mid));
}
.support-ticket-section::before {
    content: '';
    position: absolute;
    inset: -30%;
    z-index: -1;
    background: radial-gradient(circle at 15% 30%, rgba(225, 189, 116, 0.22), transparent 25%), radial-gradient(circle at 85% 70%, rgba(42, 151, 93, 0.2), transparent 28%);
    animation: ticketAurora 12s ease-in-out infinite alternate;
}
.support-ticket-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(225, 189, 116, 0.45);
    border-left: 4px solid var(--kaffa-gold);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 38px rgba(201, 164, 92, 0.17), inset 0 0 28px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}
.ticket-input {
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2px !important;
    background: rgba(2, 24, 14, 0.45) !important;
    color: #ffffff !important;
}
.ticket-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.ticket-input:focus {
    border-color: var(--kaffa-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.18) !important;
}
.ticket-input option { color: var(--text-dark); background: #ffffff; }
.ticket-submit {
    color: var(--forest-dark);
    border: 0;
    border-radius: 2px;
    background: linear-gradient(110deg, var(--kaffa-gold), var(--kaffa-gold-hover));
    box-shadow: 0 0 18px rgba(225, 189, 116, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ticket-submit:hover {
    color: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(225, 189, 116, 0.52);
}
.ticket-orbit-icon {
    color: var(--kaffa-gold-hover);
    font-size: 1.7rem;
    animation: ticketIconFloat 3s ease-in-out infinite;
}
@keyframes ticketAurora {
    from { transform: translate3d(-2%, -1%, 0) rotate(-2deg); }
    to { transform: translate3d(2%, 1%, 0) rotate(2deg); }
}
@keyframes ticketIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(8deg); }
}
#invest .card,
.service-action-box,
.news-headline-card {
    border: 1px solid var(--line-soft) !important;
    box-shadow: 0 8px 24px rgba(6, 53, 31, 0.07) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
#invest .card:hover,
.service-action-box:hover,
.news-headline-card:hover {
    border-color: rgba(201, 164, 92, 0.76) !important;
    box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.18), 0 18px 38px rgba(6, 53, 31, 0.15) !important;
    transform: translateY(-7px);
}
#invest .card img,
.news-headline-card,
.service-action-box {
    overflow: hidden;
}
.investment-classic {
    background: #f3eee3;
    color: var(--text-dark);
}
.investment-classic-heading > span {
    color: var(--kaffa-gold);
    font-size: .72rem;
    letter-spacing: 2px;
}
.investment-classic-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: .2px;
}
.investment-classic-heading p {
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
}
.investment-classic-rule {
    width: 74px;
    height: 4px;
    border-top: 1px solid var(--kaffa-gold);
    border-bottom: 1px solid var(--kaffa-gold);
}
.investment-classic-card {
    background: #fbfaf5;
    border: 1px solid rgba(101, 78, 38, .2) !important;
    border-top: 4px solid var(--forest-mid) !important;
    box-shadow: 0 8px 18px rgba(65, 51, 25, .08) !important;
}
.investment-classic-card:hover {
    border-top-color: var(--kaffa-gold) !important;
    box-shadow: 0 14px 28px rgba(65, 51, 25, .14) !important;
    transform: translateY(-4px);
}
.investment-classic-media {
    position: relative;
    overflow: hidden;
}
.investment-classic-media img {
    height: 180px;
    object-fit: cover;
    filter: saturate(.72) sepia(.12);
    transition: transform .45s ease, filter .45s ease;
}
.investment-classic-card:hover .investment-classic-media img {
    transform: scale(1.04);
    filter: saturate(.9) sepia(.04);
}
.investment-classic-number {
    position: absolute;
    right: 14px;
    bottom: -1px;
    min-width: 38px;
    padding: 7px 8px 5px;
    background: var(--kaffa-gold);
    color: var(--forest-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
}
.investment-classic-card h5 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
}
.investment-premium {
    background: linear-gradient(135deg, #f5f1e8 0%, #eee8da 100%);
}
.investment-premium-card {
    overflow: hidden;
    border: 1px solid rgba(6, 53, 31, .14) !important;
    border-top: 0 !important;
    box-shadow: 0 14px 32px rgba(6, 53, 31, .09) !important;
    transition: transform .35s ease, box-shadow .35s ease;
}
.investment-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(6, 53, 31, .16) !important;
}
.investment-premium-card .investment-classic-media {
    min-height: 238px;
}
.investment-premium-card .investment-classic-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 24, 14, .02) 25%, rgba(2, 24, 14, .72) 100%);
    pointer-events: none;
}
.investment-premium-card .investment-classic-media img {
    height: 238px;
    filter: saturate(.82) contrast(1.03);
}
.investment-premium-card .investment-classic-number {
    z-index: 2;
    left: 18px;
    right: auto;
    bottom: 18px;
    min-width: 42px;
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.investment-premium-badge {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    padding: .45rem .65rem;
    background: rgba(255,255,255,.92);
    color: var(--forest-deep);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.investment-premium-card .card-body { background: #fffefa; }
.investment-premium-kicker {
    display: block;
    margin-bottom: .7rem;
    color: var(--kaffa-gold);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.investment-premium-card h5 { font-size: 1.18rem; line-height: 1.32; }
.investment-premium-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(6, 53, 31, .1);
    color: #718078;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.investment-premium-link {
    color: var(--forest-mid);
    white-space: nowrap;
    text-decoration: none;
}
.investment-premium-link:hover { color: var(--kaffa-gold); }
.investment-profile-hero-meta {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--kaffa-gold-hover);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.investment-profile-card {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    background: #fffefa;
    border: 1px solid var(--line-soft);
    border-top: 4px solid var(--kaffa-gold);
    box-shadow: 0 14px 32px rgba(6, 53, 31, .09);
}
.investment-profile-image { position: relative; min-height: 360px; overflow: hidden; }
.investment-profile-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; filter: saturate(.88); }
.investment-profile-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(2, 24, 14, .02), rgba(2, 24, 14, .58)); }
.investment-profile-image-label { position: absolute; z-index: 1; left: 20px; bottom: 20px; padding: .55rem .75rem; background: var(--kaffa-gold); color: var(--forest-deep); font-size: .68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.investment-profile-copy { display: flex; flex-direction: column; justify-content: center; }
.investment-profile-copy .sec-title { font-family: Georgia, "Times New Roman", serif; }
.investment-profile-note { display: flex; align-items: flex-start; gap: .75rem; padding-top: 1rem; border-top: 1px solid rgba(6, 53, 31, .12); color: #66756c; font-size: .78rem; line-height: 1.6; }
.investment-profile-note i { color: var(--kaffa-gold); margin-top: .2rem; }
.investment-pillar-card { background: #fbfaf5; border: 1px solid rgba(101, 78, 38, .18); border-top: 3px solid var(--forest-mid); box-shadow: 0 7px 18px rgba(65, 51, 25, .06); transition: transform .25s ease, border-color .25s ease; }
.investment-pillar-card:hover { transform: translateY(-3px); border-top-color: var(--kaffa-gold); }
.investment-pillar-number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(201, 164, 92, .18); color: var(--forest-deep); font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.investment-profile-cta { background: linear-gradient(115deg, var(--forest-deep), var(--forest-mid)); color: #ffffff; border-left: 5px solid var(--kaffa-gold); box-shadow: 0 14px 30px rgba(6, 53, 31, .16); }
.service-icon-frame,
.service-icon_frame {
    animation: iconPulse 3.5s ease-in-out infinite alternate;
}
.cta-investment-box {
    box-shadow: 0 0 38px rgba(6, 53, 31, 0.18), inset 0 0 30px rgba(201, 164, 92, 0.08) !important;
}
@keyframes iconPulse {
    from { filter: drop-shadow(0 0 0 rgba(201, 164, 92, 0)); }
    to { filter: drop-shadow(0 0 10px rgba(201, 164, 92, 0.42)); }
}

/* ------------------------------------------------------------------
   STANDARD SIDEBAR
   ------------------------------------------------------------------ */
.public-sidebar {
    align-self: flex-start;
}
.public-sidebar > .card {
    border: 1px solid var(--line-soft) !important;
    border-top: 3px solid var(--forest-mid) !important;
    border-left: 1px solid var(--line-soft) !important;
    border-radius: 6px !important;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(6, 53, 31, 0.07) !important;
}
.public-sidebar > .card:first-child {
    border-top-color: var(--kaffa-gold) !important;
}
.public-sidebar h5 {
    letter-spacing: -0.15px;
}
.sidebar-action {
    background: linear-gradient(110deg, var(--forest-deep), var(--forest-mid)) !important;
    transition: background-position 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease;
    background-size: 200% 100% !important;
    background-position: 100% 0 !important;
}
.sidebar-action:hover {
    background-position: 0 0 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 53, 31, 0.2);
}
.sidebar-step {
    position: relative;
}
.sidebar-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 29px;
    bottom: -18px;
    left: 13px;
    width: 1px;
    background: linear-gradient(var(--kaffa-gold), rgba(12, 91, 54, 0.08));
}
.sidebar-number {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px #ffffff;
}

@media (min-width: 992px) {
    .public-sidebar {
        position: sticky;
        top: 104px;
    }
}

/* ------------------------------------------------------------------
   BUTTONS — classic squared government buttons
   ------------------------------------------------------------------ */
.btn-gov {
    background-color: var(--forest-deep);
    color: #ffffff;
    border-radius: 0;
    font-weight: 700;
    border: 2px solid var(--forest-deep);
    padding: 0.65rem 1.6rem;
    transition: all 0.2s ease;
}
.btn-gov:hover { background-color: var(--kaffa-gold); border-color: var(--kaffa-gold); color: var(--forest-deep); }

.btn-gold {
    background-color: var(--kaffa-gold);
    color: var(--forest-deep);
    border-radius: 0;
    font-weight: 800;
    border: 2px solid var(--kaffa-gold);
    padding: 0.65rem 1.6rem;
    transition: all 0.2s ease;
}
.btn-gold:hover { background-color: var(--forest-deep); border-color: var(--forest-deep); color: #ffffff; }

/* ------------------------------------------------------------------
   BADGES
   ------------------------------------------------------------------ */
.badge-gov {
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--forest-deep);
    border: 1px solid var(--kaffa-gold);
    font-weight: 700;
    border-radius: 0;
    padding: 0.45em 0.8em;
}

/* ------------------------------------------------------------------
   NEWS ARCHIVE DESK
   ------------------------------------------------------------------ */
.archive-hero {
    background: linear-gradient(115deg, rgba(2, 24, 14, .98), rgba(6, 53, 31, .82)), url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1600&q=75') center/cover;
}
.archive-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}
.archive-hero-stats span {
    padding: .55rem .8rem;
    border: 1px solid rgba(201, 164, 92, .42);
    background: rgba(2, 24, 14, .3);
    color: rgba(255, 255, 255, .78);
    font-size: .72rem;
    letter-spacing: .35px;
}
.archive-hero-stats strong { color: var(--kaffa-gold-hover); margin-right: .25rem; }
.archive-toolbox {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--line-soft);
    border-top: 4px solid var(--kaffa-gold);
    box-shadow: 0 10px 28px rgba(6, 53, 31, .07);
}
.archive-toolbox-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    background: var(--forest-deep);
    color: var(--kaffa-gold-hover);
}
.archive-toolbox .form-control,
.archive-toolbox .form-select,
.archive-toolbox .input-group-text {
    min-height: 43px;
    border-color: rgba(6, 53, 31, .18);
}
.archive-toolbox .form-control:focus,
.archive-toolbox .form-select:focus {
    border-color: var(--kaffa-gold);
    box-shadow: 0 0 0 3px rgba(201, 164, 92, .15);
}
.btn-archive-search {
    min-height: 43px;
    background: var(--forest-deep);
    color: #ffffff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .35px;
}
.btn-archive-search:hover { background: var(--kaffa-gold); color: var(--forest-deep); }
.archive-filter-chip {
    padding: .35rem .6rem;
    background: rgba(201, 164, 92, .16);
    border: 1px solid rgba(201, 164, 92, .5);
    color: var(--forest-deep);
    font-size: .72rem;
    font-weight: 700;
}
.archive-result-count {
    color: var(--forest-mid);
    font-size: .76rem;
    letter-spacing: .3px;
}
.archive-result-count strong { font-size: 1.15rem; color: var(--forest-deep); }
.archive-record-card {
    display: grid;
    grid-template-columns: 62px 148px minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    padding: .9rem;
    background: #ffffff;
    border: 1px solid var(--line-soft);
    border-left: 4px solid var(--forest-mid);
    box-shadow: 0 6px 18px rgba(6, 53, 31, .06);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.archive-record-card:hover {
    transform: translateY(-3px);
    border-left-color: var(--kaffa-gold);
    box-shadow: 0 13px 26px rgba(6, 53, 31, .11);
}
.archive-record-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    padding: .4rem;
    background: var(--light-mist);
    color: var(--forest-deep);
    text-align: center;
}
.archive-record-date span { font-size: .68rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--forest-mid); }
.archive-record-date strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; line-height: 1.1; }
.archive-record-date small { font-size: .68rem; color: #65736b; }
.archive-record-image { min-height: 150px; overflow: hidden; }
.archive-record-image img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; transition: transform .4s ease; }
.archive-record-card:hover .archive-record-image img { transform: scale(1.04); }
.archive-record-content { padding: .35rem .5rem .35rem 0; }
.archive-record-content h3 { line-height: 1.35; }
.archive-read-link { color: var(--forest-mid); font-size: .74rem; font-weight: 800; letter-spacing: .4px; text-decoration: none; text-transform: uppercase; }
.archive-read-link:hover { color: var(--kaffa-gold); }
.archive-index {
    position: sticky;
    top: 104px;
    padding: 1.35rem;
    background: #fbfaf5;
    border: 1px solid rgba(101, 78, 38, .18);
    border-top: 4px solid var(--forest-mid);
    box-shadow: 0 8px 22px rgba(65, 51, 25, .07);
}
.archive-index a { color: #536159; font-size: .82rem; text-decoration: none; }
.archive-index a:hover, .archive-index a.active { color: var(--forest-mid); }
.archive-index-all, .archive-year-link, .archive-month-link { display: flex; justify-content: space-between; align-items: center; }
.archive-index-all { padding: .7rem 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); font-weight: 700; }
.archive-index a span { color: #8a806d; font-size: .72rem; }
.archive-year-group { padding: .75rem 0 .2rem; border-bottom: 1px solid rgba(6, 53, 31, .08); }
.archive-year-link { font-weight: 800; color: var(--forest-deep) !important; }
.archive-month-link { padding: .28rem 0 .28rem .9rem; font-size: .76rem !important; }
.archive-back-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--forest-mid); font-size: .78rem; font-weight: 800; text-decoration: none; }
.archive-back-link:hover { color: var(--kaffa-gold); }
.archive-empty { padding: 4rem 1.5rem; background: #ffffff; border: 1px dashed rgba(6, 53, 31, .22); text-align: center; }
.archive-empty > i { color: var(--kaffa-gold); font-size: 2rem; }

/* ------------------------------------------------------------------
   BACK TO TOP FAB
   ------------------------------------------------------------------ */
#backToTop {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 1050;
    width: 44px; height: 44px;
    border-radius: 50%;
    background-color: var(--kaffa-gold);
    color: var(--forest-deep);
    border: none;
    box-shadow: 0 8px 20px rgba(5, 34, 19, 0.28);
    font-size: 1rem;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background-color: var(--forest-deep); color: #ffffff; }

/* ------------------------------------------------------------------
   RESPONSIVE REFINEMENTS
   ------------------------------------------------------------------ */
@media (max-width: 767.98px) {
    .archive-stream::before { left: 8px; }
    .archive-record { margin-left: 28px; }
    .archive-record::before { left: -26px; }
    .page-header { padding-top: 44px !important; padding-bottom: 44px !important; }
    .page-header h1 { font-size: 1.8rem; }
    .breadcrumb-pmo { font-size: 0.72rem; }
    .sec-title { font-size: 1.5rem; }
    .public-sidebar { margin-top: 0.5rem; }
    .hero-glass-card { padding: 24px !important; }
    .hero-full-img { height: min(72vw, 340px) !important; }
    .profile-thumb { width: 104px; height: 104px; }
    .investment-profile-card { grid-template-columns: 1fr; }
    .investment-profile-image,
    .investment-profile-image img { min-height: 260px; height: 260px; }
    .investment-premium-footer { align-items: flex-start; flex-direction: column; }
    .timeline-card .row,
    .council-card .row { text-align: center; }
    .timeline-card .d-flex,
    .council-card .d-flex { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
