/* ============================================
   HustleCenter's Website — Shared Styles
   ============================================ */

:root {
    --navy: #0F172A;
    --gold: #D4A373;
    --gold-hover: #C8925A;
    --background: #F8FAFC;
    --white: #FFFFFF;
    --muted: #475569;
    --border-light: #E2E8F0;
    --shadow-sm: 0 8px 30px rgba(15, 23, 42, 0.06);
    --shadow-focus: 0 0 0 4px rgba(212, 163, 115, 0.25);
    --radius-md: 14px;
    --radius-pill: 50px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 960px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--navy);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Layout containers */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.header-inner,
.footer-inner {
    width: 100%;
}

/* Header */
.site-header {
    padding: 28px 0 20px;
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-mark {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    color: var(--navy);
    white-space: nowrap;
}

.logo-mark .gold {
    color: var(--gold);
}

/* Circular page navigation */
.circle-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 6px 10px;
    box-shadow: var(--shadow-sm);
}

.nav-current {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
    min-width: 64px;
    text-align: center;
    white-space: nowrap;
}

.nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--navy);
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: var(--shadow-focus);
}

.nav-arrow:focus-visible {
    outline: none;
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: var(--shadow-focus);
}

/* Main content */
main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.hero,
.page-content {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 56px 28px;
    margin: 28px auto 40px;
    max-width: 760px;
    width: 100%;
    text-align: center;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: auto;
    text-align: left;
}

.page-content {
    display: block;
    margin-top: 28px;
}

.tagline {
    font-weight: 600;
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h1 .gold {
    color: var(--gold);
}

.hero-sub,
.prose p,
.empty-state p,
.updates-state p {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 16px;
}

.prose {
    margin-top: 10px;
}

.prose p {
    margin-bottom: 16px;
    text-align: left;
}

.prose strong {
    color: var(--navy);
}

.empty-state,
.updates-state {
    margin-top: 24px;
    padding: 20px;
    border: 1px dashed var(--border-light);
    border-radius: 12px;
    background: #FDFDFD;
}

.empty-state p,
.updates-state p {
    margin-bottom: 4px;
    text-align: center;
}

.empty-state p:last-child,
.updates-state p:last-child {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.updates-state-container {
    margin-top: 10px;
}

.updates-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

/* Footer */
.site-footer {
    padding: 36px 0 28px;
    margin-top: 20px;
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
}

.footer-brand .gold {
    color: var(--gold);
}

.footer-contact {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-tagline {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.footer-nav a {
    color: var(--muted);
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-nav a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--muted);
    opacity: 0.75;
    margin-top: 4px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        padding: 0 14px;
    }

    .header-inner {
        gap: 12px;
    }

    .logo-mark {
        font-size: 1.2rem;
    }

    .circle-nav {
        gap: 8px;
        padding: 5px 7px;
    }

    .nav-current {
        font-size: 0.85rem;
        min-width: 54px;
    }

    .nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .hero,
    .page-content {
        padding: 40px 18px;
        margin: 20px auto 28px;
    }

    .hero {
        min-height: auto;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-sub,
    .prose p,
    .empty-state p,
    .updates-state p {
        font-size: 0.98rem;
    }

    .footer-nav {
        gap: 6px;
        font-size: 0.82rem;
    }
}

@media (min-width: 600px) and (max-width: 900px) {

    .hero,
    .page-content {
        padding: 48px 26px;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.25);
}

/* ============================================
   Update Card Styles
   ============================================ */

.update-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-align: left;
    margin-bottom: 8px;
}

.update-card:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.update-date {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--gold) !important;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.update-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.update-card p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.update-card p:last-of-type {
    margin-bottom: 0;
}

.update-motto {
    font-weight: 600;
    color: var(--navy) !important;
    font-size: 1.05rem;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

/* Icon styling inside update cards */
.update-card i.ph {
    font-size: 1.2rem;
    color: var(--gold);
    margin-right: 6px;
    vertical-align: middle;
}

/* General link style inside update cards (buttons) */
.update-card a {
    display: inline-block;
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    margin-top: 14px;
    text-decoration: none;
    white-space: normal;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.update-card a:hover {
    background: var(--gold-hover);
    box-shadow: var(--shadow-focus);
}

/* Inline contact links inside update cards */
.update-card a.contact-link {
    display: inline;
    background: none;
    color: var(--gold) !important;
    font-weight: 600;
    padding: 0;
    border-radius: 0;
    margin-top: 0;
    text-decoration: underline;
    white-space: normal;
    transition: color 0.2s ease;
}

.update-card a.contact-link:hover {
    color: var(--gold-hover);
    background: none;
    box-shadow: none;
    text-decoration: underline;
}

/* Generic inline contact links (privacy page, etc.) */
a.contact-link {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

a.contact-link:hover {
    color: var(--gold-hover);
    text-decoration: underline;
}

/* SVG icons in update cards */
.update-card svg.update-icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 6px;
}

/* Update CTA button */
.update-card .update-cta {
    text-align: center;
    margin-top: 10px;
}

.update-card .update-cta-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ============================================
   Privacy Page Specific Styles
   ============================================ */

.privacy-updated {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 20px;
    font-style: italic;
    text-align: left;
}

.prose ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0 auto 16px;
    max-width: 600px;
    list-style-position: outside;
}

.prose li {
    text-align: left;
    margin-bottom: 6px;
}

.prose li::marker {
    color: var(--gold);
}

.prose h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin: 24px 0 12px;
    letter-spacing: -0.01em;
}

.privacy-intro {
    text-align: center !important;
    max-width: none !important;
    margin: 0 auto 16px !important;
    font-size: 0.9rem !important;
}

/* Gold text selection highlight */
::selection {
    background: var(--gold);
    color: var(--navy);
}

::-moz-selection {
    background: var(--gold);
    color: var(--navy);
}

/* Homepage Updates Entry */
.updates-entry {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 40px 24px;
    margin: 28px auto 40px;
    max-width: 760px;
    text-align: center;
}

.updates-entry h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.updates-entry p {
    color: var(--muted);
    margin-bottom: 20px;
}

.updates-entry-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.updates-entry-btn:hover {
    background: var(--gold-hover);
    box-shadow: var(--shadow-focus);
}

.update-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 16px;
}

.update-card li {
    margin-bottom: 4px;
    color: var(--muted);
    text-align: left;
}

.update-card li::marker {
    color: var(--gold);
}

/* ============================================
   Spotlight Component
   ============================================ */

.spotlight {
    margin: 28px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.spotlight-header {
    margin-bottom: 20px;
    text-align: center;
}

.spotlight-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.spotlight-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0;
}

.spotlight-carousel {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 60px;
}

.spotlight-slides {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #F1F5F9;
    aspect-ratio: 4 / 5;
}

.spotlight-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.spotlight-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.spotlight-image {
    position: relative;
    flex: 1;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.spotlight-caption {
    display: none;
}

.spotlight-name {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.spotlight-role {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.spotlight-prev,
.spotlight-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--navy);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 5;
}

.spotlight-prev {
    left: 0;
}

.spotlight-next {
    right: 0;
}

.spotlight-prev:hover,
.spotlight-next:hover {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: var(--shadow-focus);
}

.spotlight-prev:focus-visible,
.spotlight-next:focus-visible {
    outline: none;
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: var(--shadow-focus);
}

.spotlight-counter {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    margin-top: 12px;
    letter-spacing: 0.05em;
}

.spotlight-progress {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.spotlight-progress-bar {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.spotlight-conclusion {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 16px;
    font-style: italic;
}

.spotlight-fallback {
    margin-top: 20px;
    padding: 16px;
    background: #F8FAFC;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
}

.spotlight-fallback-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spotlight-member {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--muted);
}

.spotlight-member:last-child {
    border-bottom: none;
}

.spotlight-member span {
    font-weight: 600;
    color: var(--navy);
}

/* Hide fallback when JavaScript is available */
.js .spotlight-fallback {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .spotlight-carousel {
        padding: 0 40px;
    }

    .spotlight-prev,
    .spotlight-next {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .spotlight-name {
        font-size: 1.1rem;
    }

    .spotlight-role {
        font-size: 0.9rem;
    }
}

/* Long email/contact links: reduce size and allow wrapping */
.update-card a.contact-link.long-email {
    word-break: break-all;
    overflow-wrap: anywhere;
}

/* ============================================
   Stories Page Styles
   ============================================ */

.stories-intro {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 32px;
    text-align: center;
}

.stories-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.story-category {
    background: var(--white);
    border: 1px solid var(--border-light);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.story-category.is-active,
.story-category:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: var(--shadow-focus);
}

.story-category:focus-visible {
    outline: none;
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: var(--shadow-focus);
}

/* Featured Story */
.featured-story {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    text-align: left;
}

.featured-story-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #F1F5F9;
}

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

.featured-story-content {
    flex: 1;
}

.story-category-label {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
}

.featured-story h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.featured-story-intro {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.featured-story-note {
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 16px;
}

.story-read-link {
    display: inline-block;
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.story-read-link:hover {
    background: var(--gold-hover);
    box-shadow: var(--shadow-focus);
}

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
}

.stories-placeholder {
    background: var(--white);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.stories-editorial-note {
    margin-top: 40px;
    padding: 20px;
    background: #FDFDFD;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--muted);
    text-align: left;
}

.stories-editorial-note strong {
    color: var(--navy);
}

/* Responsive */
@media (min-width: 600px) {
    .featured-story {
        flex-direction: row;
        align-items: center;
    }

    .featured-story-image {
        width: 45%;
        aspect-ratio: 4 / 3;
    }

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

@media (min-width: 900px) {
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Story Card Styles */
.story-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-align: left;
}

.story-card:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.story-card-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #F1F5F9;
}

.story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  object-position: center;
    display: block;
}

.story-card-content {
    padding: 20px;
}

.story-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin: 8px 0 6px;
}

.story-card-intro {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Story Page Specific */
.story-page {
    text-align: left;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.story-date {
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
}

.story-hero-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 32px;
    background: #F1F5F9;
}

.story-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  object-position: center;
    display: block;
}

.story-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 12px;
}

.story-body p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: left;
}

.story-body blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    margin: 20px 0;
    background: #FDFDFD;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--navy);
}

.story-body blockquote p {
    margin-bottom: 0;
    color: var(--navy);
}

.story-contact {
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.stories-empty {
    background: var(--white);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    grid-column: 1 / -1;
}

/* ============================================
   Lightbox (Modal Spotlight)
   ============================================ */

.spotlight-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.spotlight-lightbox[hidden] {
    display: none;
}

.spotlight-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.spotlight-lightbox-content {
    position: relative;
    z-index: 1;
    width: min(92vw, 760px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    border-radius: 18px;
    padding: 20px 20px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.spotlight-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--navy);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-lightbox-image-wrap {
    width: 100%;
    max-height: 60vh;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.spotlight-lightbox-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.spotlight-lightbox-info {
    width: 100%;
    text-align: center;
}

.spotlight-lightbox-counter {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
}

.spotlight-lightbox-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.spotlight-lightbox-role {
    display: block;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.4;
}

.spotlight-lightbox-progress {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.spotlight-lightbox-progress-bar {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.spotlight-lightbox-prev,
.spotlight-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.spotlight-lightbox-prev {
    left: 16px;
}

.spotlight-lightbox-next {
    right: 16px;
}

@media (max-width: 600px) {
    .spotlight-lightbox-content {
        width: calc(100vw - 32px);
        padding: 16px 16px 20px;
    }

    .spotlight-lightbox-prev,
    .spotlight-lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .spotlight-lightbox-prev {
        left: 8px;
    }

    .spotlight-lightbox-next {
        right: 8px;
    }

    .spotlight-lightbox-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
}

/* Fix category label wrapping */
.story-category-label {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 4px 8px;
}

/* Fix large SVG icons on Story pages */
.story-page svg.update-icon,
.story-contact svg.update-icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 6px;
}

.story-spotlight-link {
    text-align: center;
    margin-top: 8px;
}

.story-spotlight-link .story-read-link {
    display: inline-block;
}

.story-spotlight-caption {
    padding: 40px 16px 16px;
}

@media (max-width: 600px) {
    .story-spotlight-caption {
        padding: 30px 12px 12px;
    }
}

/* Share Button */
.share-btn {
    background: none;
    border: 1px solid var(--border-light);
    color: var(--muted);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 16px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.share-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Share Modal Overlay */
.share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
}

.share-panel {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 24px;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.share-header h3 {
    color: var(--navy);
    margin-bottom: 4px;
}

.share-header p {
    color: var(--muted);
    margin-bottom: 20px;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-option {
    background: var(--background);
    border: 1px solid var(--border-light);
    color: var(--navy);
    font-weight: 600;
    padding: 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.share-option:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.share-option.cancel {
    background: none;
    border: none;
    color: var(--muted);
    margin-top: 8px;
}

.share-option.cancel:hover {
    background: none;
    color: var(--navy);
}

.share-feedback {
    margin-top: 16px;
    color: var(--gold);
    font-weight: 600;
}

[hidden] {
    display: none !important;
}
/* ============================================
   Story Page Lists & Icon Styling
   ============================================ */

/* Bullet lists inside story body */
.story-body ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 16px;
}

.story-body ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 0 0 16px;
}

.story-body li {
    color: var(--muted);
    margin-bottom: 6px;
    line-height: 1.6;
    text-align: left;
}

.story-body li::marker {
    color: var(--gold);
}

/* Sparkle / decorative SVG icon inside story headings and content */
.story-body svg.update-icon,
.story-card-content svg.update-icon,
.story-spotlight-caption svg.update-icon,
.story-meta svg.update-icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin: 0 4px;
    color: var(--gold);
}
/* Share button compatibility fix for Samsung Internet and others */
.share-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--muted);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 16px;
    min-height: 40px;
    visibility: visible !important;
    opacity: 1 !important;
}

.share-btn svg.update-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Carousel: transparent background, no gray box */
.spotlight-slides,
.spotlight-image {
    background: transparent !important;
}

.spotlight-image img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
    display: block;
}

/* Story cards: uniform shape, crop from top */
.story-card-image {
    aspect-ratio: 4 / 5;
    background: #F1F5F9;
    overflow: hidden;
}

.story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;   /* you can change to center or center bottom */
    display: block;
}

/* Story page hero: show entire image, empty space matches page */
.story-hero-image {
    background: var(--white) !important;   /* or transparent */
    aspect-ratio: auto;                    /* remove fixed ratio */
}

.story-hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Story card category tags */
.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.story-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

/* Story card category tags – compact and flexible */
.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.story-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 3px 6px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.update-card-image {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    display: block;
}

/* Story carousel (top image slider) */
.story-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #F1F5F9;
}

.story-carousel-slides {
    position: relative;
    width: 100%;
}

.story-carousel-slide {
    display: none;
}

.story-carousel-slide.is-active {
    display: block;
}

.story-carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

.story-carousel-prev,
.story-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--navy);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.story-carousel-prev {
    left: 12px;
}

.story-carousel-next {
    right: 12px;
}

.story-carousel-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 5;
}

/* Inline story images */
.story-inline-image {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    display: block;
}

/* Updates category filter */
.updates-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.update-category {
    background: var(--white);
    border: 1px solid var(--border-light);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.update-category.is-active,
.update-category:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: var(--shadow-focus);
}

/* Business update poster images */
.update-card-image {
    width: 100%;
    aspect-ratio: 2 / 2.8;      /* slightly wider than original 2:3, crops top/bottom */
    object-fit: cover;
    object-position: center;
    background: transparent;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    display: block;
}

/* Decorative icons in update cards (e.g., sparkle, special offer) */
.update-card svg.decor-icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 4px;
    color: var(--gold);
}

.updates-categories .update-category svg.decor-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 4px;
    color: var(--gold);
}
.update-card-image.tall {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 16px;
    display: block;
    border-radius: var(--radius-md);
    background: transparent;
}

.update-card h2.update {
    color: var(--gold);
  font-size: 20px;
}

.stories-categories .story-category svg.decor-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 4px;
    color: var(--gold);
}

/* ============================================
   Homepage Stories Carousel
   ============================================ */
.home-stories {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 40px 0;
    margin: 28px auto 40px;
    max-width: 960px;
    width: 100%;
    overflow: hidden;
}

.home-stories-heading {
    font-size: 1.8rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 8px;
}

.home-stories-sub {
    color: var(--muted);
    text-align: center;
    margin-bottom: 24px;
    padding: 0 24px;
}

.home-stories-carousel {
    position: relative;
    padding: 0 60px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.home-carousel-track {
    width: 100%;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.home-carousel-slide {
    flex: 0 0 300px;
    scroll-snap-align: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.55;
    transform: scale(0.88);
}

.home-carousel-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.home-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--navy);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-carousel-prev { left: 8px; }
.home-carousel-next { right: 8px; }

.home-carousel-btn:hover,
.home-carousel-btn:focus-visible {
    outline: none;
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: var(--shadow-focus);
}

.home-carousel-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.home-carousel-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    transition: background 0.3s ease, transform 0.3s ease;
}

.home-carousel-indicator span.is-active {
    background: var(--gold);
    transform: scale(1.3);
}

.home-stories-actions {
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 600px) {
    .home-stories-carousel {
        padding: 0;
    }
    .home-carousel-track {
        padding: 16px;
        gap: 12px;
    }
    .home-carousel-slide {
        flex: 0 0 80vw;
        max-width: 300px;
    }
    .home-carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 1.3rem;
    }
    .home-carousel-prev { left: 4px; }
    .home-carousel-next { right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-carousel-track { scroll-behavior: auto; }
    .home-carousel-slide { transition: none; }
}

/* ============================================
   Expandable Update Cards
   ============================================ */
.update-card-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid var(--border-light);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    margin-top: 12px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.update-card-toggle:hover,
.update-card-toggle:focus-visible {
    outline: none;
    border-color: var(--gold);
    color: var(--gold);
}

.update-card-body {
    display: none;
    margin-top: 12px;
}

.update-card.is-expanded .update-card-body {
    display: block;
    animation: updateFadeIn 0.3s ease;
}

@keyframes updateFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.update-card.is-expanded .update-card-toggle {
    border-color: var(--gold);
    color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
    .update-card.is-expanded .update-card-body {
        animation: none;
    }
}

.stories-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.stories-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    transition: background 0.3s ease, transform 0.3s ease;
}

.stories-dots span.is-active {
    background: var(--gold);
    transform: scale(1.3);
}

.stories-cta {
    text-align: center;
    margin-top: 16px;
}
.stories-intro + p {
    margin-bottom: 16px;
}

.stories-intro + p + p {
    margin-bottom: 32px;
}

.updates-intro {
    color: var(--muted);
    text-align: center;
    margin: 0 auto 24px;
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .updates-intro {
        font-size: 0.98rem;
    }
}

.update-carousel {
    position: relative;
    width: 100%;
    margin: 0 0 16px;
}

.update-carousel-slide {
    display: none;
}

.update-carousel-slide.is-active {
    display: block;
}

.update-carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

.update-carousel-prev,
.update-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--navy);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.update-carousel-prev { left: 8px; }
.update-carousel-next { right: 8px; }

.update-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.update-carousel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    transition: background 0.3s ease, transform 0.3s ease;
}

.update-carousel-dots span.is-active {
    background: var(--gold);
    transform: scale(1.3);
}

/* Collapsed update card with image background */
.update-card.is-collapsed {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.update-card.is-collapsed::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.update-card.is-collapsed > * {
    position: relative;
    z-index: 1;
}

.update-card.is-collapsed .update-card-toggle,
.update-card.is-collapsed .share-btn,
.update-card.is-collapsed .update-card-body {
    position: relative;
    z-index: 2;
}

.update-card.is-collapsed h2 {
    color: #FFFFFF;
}

.update-card.is-collapsed p {
    color: rgba(255, 255, 255, 0.85);
}

.update-card.is-collapsed .update-date {
    color: var(--gold) !important;
}

.update-card.is-collapsed .update-card-toggle {
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
}

.update-card.is-collapsed .share-btn {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.85);
}

.update-card.is-collapsed.no-bg::before {
    display: none;
}

.update-card.is-collapsed.no-bg h2 {
    color: var(--navy);
}

.update-card.is-collapsed.no-bg p {
    color: var(--muted);
}

.update-card.is-collapsed .update-card-body {
    display: none;
}

.update-card.is-collapsed.no-bg .update-card-toggle {
    border-color: var(--border-light);
  color: var(--muted);
}

.update-card.is-collapsed.no-bg .share-btn {
    border-color: var(--border-light);
    color: var(--muted);
}

.updates-categories .update-category.is-active svg.decor-icon,
.stories-categories .story-category.is-active svg.decor-icon {
    color: #FFFFFF;
}

.story-card {
    display: flex;
    flex-direction: column;
}

.story-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.story-card-content .story-read-link {
    margin-top: auto;
    align-self: flex-start;
}

.home-carousel-track {
    align-items: flex-start;
}

.home-carousel-slide {
    height: auto;
}

.home-carousel-slide .story-card-intro {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-bottom: 16px;
}

.home-carousel-slide .story-read-link {
    margin-top: 0;
}

.update-carousel-slide video {
    width: 100%;
    height: auto;
  max-width: 100%;
    border-radius: var(--radius-md);
    display: block;
    background: #000;
}

/* Carousel slides: override story-card defaults */
.home-carousel-slide {
    display: flex;
    flex-direction: column;
}

/* ============================================
   Nominee Card Celebration
   ============================================ */

.nominee-card {
    overflow: hidden;
}

.nominee-card .story-tag {
    animation: nomineePop 3s ease-out infinite;
}

@keyframes nomineePop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1); }
    50%  { transform: scale(1.08); }
    60%  { transform: scale(1); }
    100% { transform: scale(1); }
}

.nominee-card .confetti-piece {
    position: absolute;
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
    animation: nomineeFall 3s linear infinite;
}

.nominee-card .confetti-piece.circle {
    border-radius: 50%;
}

@keyframes nomineeFall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(400px) rotate(720deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nominee-card .story-tag {
        animation: none;
    }
    .nominee-card .confetti-piece {
        animation: none;
        opacity: 0;
    }
}

.update-carousel-counter {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    margin-top: 12px;
    letter-spacing: 0.05em;
}

.update-card hr.update-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 20px 0;
}
