/* modules/historical_figures/assets/css/heroes.css */
/* Premium Historical Figures Theme - Kartuli News */

/* --- 1. VARIABLES & TYPOGRAPHY --- */
:root {
    --hero-bg: #f7f5f0;
    --hero-paper: #ffffff;
    --hero-primary: #8a1c1c;
    --hero-primary-light: #a52828;
    --hero-secondary: #1a1a2e;
    --hero-gold: #c5a059;
    --hero-gold-light: #d4b06a;
    --hero-gold-dark: #b08d45;
    --hero-border: #e8e4da;
    --hero-text: #2d3748;
    --hero-text-muted: #718096;
    --timeline-line: #d4c5a9;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

h1, h2, h3, h4, h5, .font-serif, .display-3 {
    font-family: 'Playfair Display', serif;
    color: var(--hero-secondary);
}

body {
    background-color: var(--hero-bg);
    color: var(--hero-text);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(197, 160, 89, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(138, 28, 28, 0.02) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

/* --- 2. LAYOUT FIXES --- */
html, body { height: 100%; }
body { display: flex; flex-direction: column; }
.main-wrapper { flex: 1 0 auto; }

/* --- 3. BRANDING & HEADER (INDEX PAGE) --- */
.program-branding-wrapper {
    padding: 80px 0 60px;
    background: transparent;
    text-align: center;
    position: relative;
}

.program-main-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--hero-secondary);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1a1a2e 0%, #4a3f6b 40%, #8a1c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
    padding-bottom: 0.15em;
    animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.program-title-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--hero-primary), var(--hero-gold));
    margin: 0 auto 24px auto;
    position: relative;
    border-radius: 2px;
}
.program-title-divider::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid var(--hero-gold);
    border-radius: 50%;
    background: var(--hero-bg);
}
.program-title-divider::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--hero-gold);
    opacity: 0.5;
}

.program-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 5px;
    font-weight: 500;
    color: var(--hero-text-muted);
    text-transform: uppercase;
    display: block;
    width: 100%;
    text-align: center !important;
    margin: 0 auto;
    max-width: 600px;
}

/* --- 4. FILTERS & SEARCH --- */
.search-filter-section {
    position: relative;
}

.search-filter-section .input-group {
    border: 2px solid var(--hero-border);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.search-filter-section .input-group:focus-within {
    border-color: var(--hero-gold);
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.15);
}
.search-filter-section .input-group-text {
    background: transparent;
    border: none;
}
.search-filter-section .form-control {
    border: none;
    font-size: 0.95rem;
}
.search-filter-section .form-control:focus {
    box-shadow: none;
}
.search-filter-section .btn-primary {
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-primary-light));
    border: none;
    border-radius: 0 50px 50px 0 !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 28px;
    transition: var(--transition-smooth);
}
.search-filter-section .btn-primary:hover {
    background: linear-gradient(135deg, var(--hero-primary-light), var(--hero-primary));
    transform: translateX(2px);
}

/* Period Pills */
.period-pills {
    scrollbar-width: thin;
    scrollbar-color: var(--hero-gold) transparent;
}
.period-pills::-webkit-scrollbar {
    height: 4px;
}
.period-pills::-webkit-scrollbar-thumb {
    background: var(--hero-gold);
    border-radius: 10px;
}

.nav-pills .nav-link,
.period-pill {
    background-color: #fff;
    border: 1.5px solid var(--hero-border) !important;
    color: var(--hero-text) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 20px;
    border-radius: 50px !important;
    transition: var(--transition-smooth);
    white-space: nowrap;
}
.nav-pills .nav-link:hover,
.period-pill:hover {
    background-color: #faf6ee;
    border-color: var(--hero-gold) !important;
    color: var(--hero-secondary) !important;
    transform: translateY(-1px);
}
.nav-pills .nav-link.active,
.period-pill.active {
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-primary-light)) !important;
    border-color: var(--hero-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(138, 28, 28, 0.3);
    transform: translateY(-1px);
}

/* Sort dropdown */
.sort-dropdown .btn {
    border: 1.5px solid var(--hero-border);
    background: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 20px;
    transition: var(--transition-smooth);
}
.sort-dropdown .btn:hover {
    border-color: var(--hero-gold);
    background: #faf6ee;
}
.sort-dropdown .dropdown-menu {
    border: 1px solid var(--hero-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    padding: 8px;
    margin-top: 8px !important;
}
.sort-dropdown .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}
.sort-dropdown .dropdown-item:hover {
    background: #faf6ee;
    color: var(--hero-primary);
}

/* --- 5. FIGURE CARDS --- */
.figure-card {
    transition: var(--transition-bounce);
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--hero-paper);
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
}
.figure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--hero-gold), var(--hero-primary));
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: left;
    z-index: 2;
}
.figure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.figure-card:hover::before { transform: scaleX(1); }

.figure-card .card-img-top {
    transition: transform 0.6s ease, filter 0.6s ease;
}
.figure-card:hover .card-img-top {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.figure-card .card-body {
    padding: 1.5rem 1.25rem;
    background: linear-gradient(to bottom, #ffffff, #fcfaf7);
    position: relative;
}
.figure-card .card-title a {
    color: var(--hero-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    line-height: 1.3;
}
.figure-card:hover .card-title a { color: var(--hero-primary); }

.figure-card .card-body .text-muted.small {
    font-size: 0.78rem;
    letter-spacing: 1px;
}

.figure-card .card-body .font-monospace {
    font-size: 0.82rem;
    color: var(--hero-gold-dark);
    font-weight: 500;
}

/* Card overlay */
.figure-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 17, 21, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(0px);
}
.figure-card:hover .figure-overlay {
    opacity: 1;
    backdrop-filter: blur(1px);
}
.figure-overlay .btn {
    transform: scale(0.8) translateY(10px);
    opacity: 0;
    transition: var(--transition-bounce);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.95);
    color: var(--hero-secondary);
    font-size: 1rem;
}
.figure-card:hover .figure-overlay .btn {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.figure-overlay .btn:hover {
    background: var(--hero-gold);
    border-color: var(--hero-gold);
    color: #fff;
}

/* Period badge on cards */
.figure-card .badge {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* --- 6. ON THIS DAY WIDGET --- */
.on-this-day-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.on-this-day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hero-gold), var(--hero-primary), var(--hero-gold));
}
.on-this-day-card .card-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
}
.on-this-day-card .card-body {
    padding: 20px;
}

.on-this-day-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}
.on-this-day-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateX(4px);
    color: #fff;
}
.on-this-day-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(197, 160, 89, 0.4);
    transition: var(--transition-smooth);
}
.on-this-day-item:hover img {
    border-color: var(--hero-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}
.on-this-day-item h6 {
    color: #e2e8f0;
    margin-bottom: 2px;
    font-size: 0.95rem;
}
.on-this-day-item small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
}

/* --- 7. FEATURED SECTION --- */
.featured-section-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.featured-section-header h3 {
    white-space: nowrap;
    font-size: 1.5rem;
    position: relative;
}
.featured-section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--hero-border), transparent);
}

.featured-badge {
    background: linear-gradient(135deg, #c5a059 0%, #e6c88b 50%, #c5a059 100%);
    color: #1a1a2e;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
    font-size: 0.65rem !important;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 20px;
}

/* --- 8. FIGURE DETAIL HERO --- */
.figure-hero {
    min-height: 580px;
    background: #0f1115;
    color: #fff !important;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}
.figure-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--hero-bg), transparent);
    z-index: 2;
    pointer-events: none;
}
.figure-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--hero-gold), transparent);
    z-index: 3;
}

.figure-bg-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(25px) grayscale(30%) brightness(0.25) saturate(0.8);
    z-index: 0;
}

.figure-portrait {
    position: relative;
}
.figure-portrait::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hero-gold), transparent, var(--hero-gold));
    opacity: 0.3;
    animation: portraitGlow 4s ease-in-out infinite;
}
@keyframes portraitGlow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.02); }
}

.figure-portrait img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--hero-gold);
    box-shadow:
        0 0 40px rgba(197, 160, 89, 0.2),
        0 0 80px rgba(197, 160, 89, 0.1);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}
.figure-portrait:hover img {
    transform: scale(1.03);
    box-shadow:
        0 0 50px rgba(197, 160, 89, 0.3),
        0 0 100px rgba(197, 160, 89, 0.15);
}

.figure-hero h1.display-3 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-date-container {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}
.hero-date-container p {
    position: relative;
    display: inline-block;
}
.hero-date-container p::before,
.hero-date-container p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--hero-gold);
    opacity: 0.4;
}
.hero-date-container p::before { right: calc(100% + 16px); }
.hero-date-container p::after { left: calc(100% + 16px); }

/* Hero action buttons */
.hero-actions .btn {
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
    border-width: 1.5px;
}
.hero-actions .btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}
.hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* --- 9. ARTICLE CONTENT --- */
.article-content {
    background: #fff;
    padding: 48px !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--hero-border);
    font-family: 'Noto Sans Georgian', 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    position: relative;
}
.article-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--hero-gold), var(--hero-primary), transparent);
    border-radius: 4px 0 0 4px;
}

.article-content p {
    margin-bottom: 1.2em;
}
.article-content p:first-child::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    float: left;
    line-height: 0.85;
    margin-right: 12px;
    margin-top: 4px;
    color: var(--hero-primary);
    font-weight: 700;
}

/* --- 10. TIMELINE --- */
.timeline {
    border-left: 2px solid var(--hero-gold);
    padding-left: 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 8px;
    height: 8px;
    background: var(--hero-gold);
    border-radius: 50%;
}
.timeline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 8px;
    height: 8px;
    background: var(--hero-gold);
    border-radius: 50%;
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    margin-bottom: 0;
    padding-left: 30px;
}
.timeline-marker {
    position: absolute;
    background: #fff;
    border: 3px solid var(--hero-primary);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    left: -38px;
    top: 20px;
    transition: var(--transition-smooth);
    z-index: 1;
}
.timeline-item:hover .timeline-marker {
    background: var(--hero-primary);
    box-shadow: 0 0 10px rgba(138, 28, 28, 0.3);
    transform: scale(1.2);
}

.timeline-content {
    background: #fff;
    border: 1px solid var(--hero-border);
    border-left: 4px solid var(--hero-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}
.timeline-content:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(6px);
    border-left-color: var(--hero-gold);
}

/* --- 11. QUOTES --- */
.quote-card {
    border: 1px solid var(--hero-border);
    border-left: 5px solid var(--hero-gold) !important;
    background: linear-gradient(135deg, #fdfcfa 0%, #f8f5ef 100%);
    font-family: 'Playfair Display', serif;
    border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
    transition: var(--transition-smooth);
    overflow: hidden;
    position: relative;
}
.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.quote-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}
.quote-card i.fa-quote-left {
    color: var(--hero-gold);
    opacity: 0.25;
    font-size: 2.5rem;
}
.quote-card blockquote p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--hero-secondary);
}

/* --- 12. SIDEBAR WIDGETS --- */
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--hero-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}
.sidebar-widget:hover {
    box-shadow: var(--shadow-soft);
}
.sidebar-widget .card-header {
    background: linear-gradient(135deg, #faf9f6 0%, #f5f2eb 100%);
    border-bottom: 1px solid var(--hero-border);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--hero-primary);
    letter-spacing: 0.5px;
    padding: 16px 20px;
}
.sidebar-widget .list-group-item {
    border-color: rgba(0, 0, 0, 0.04);
    padding: 14px 20px;
    transition: var(--transition-smooth);
}
.sidebar-widget .list-group-item:hover {
    background: #faf9f6;
}

/* Key facts styling */
.sidebar-widget .list-group-item .text-muted.small {
    font-size: 0.78rem;
    letter-spacing: 1px;
}
.sidebar-widget .list-group-item .fw-bold {
    font-family: 'Playfair Display', serif;
}

/* Sources links */
.sidebar-widget .list-group-item-action:hover {
    background: #faf6ee;
    color: var(--hero-primary);
}

/* --- 13. VIDEO CINEMATIC BLOCK --- */
.cinematic-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 40px 0;
    box-shadow: var(--shadow-heavy);
    border: none;
    background: #000;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    -webkit-tap-highlight-color: transparent;
}
@media (max-width: 991px) {
    .cinematic-video-wrapper { margin: 20px 0 40px 0; }
}

.cinematic-video-wrapper .video-overlay,
.cinematic-video-wrapper .video-thumbnail,
.cinematic-video-wrapper .play-button,
.cinematic-video-wrapper .video-label {
    pointer-events: none;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: all 0.6s ease;
}
.cinematic-video-wrapper:hover .video-thumbnail {
    opacity: 1;
    transform: scale(1.03);
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    transition: background 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: rgba(197, 160, 89, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    padding-left: 5px;
    box-shadow: 0 0 0 rgba(197, 160, 89, 0.4);
    animation: pulse-gold 2.5s infinite;
    transition: var(--transition-bounce);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

@media (hover: hover) {
    .cinematic-video-wrapper:hover .video-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    }
    .cinematic-video-wrapper:hover .play-button {
        transform: translate(-50%, -50%) scale(1.12);
        box-shadow: 0 0 40px rgba(197, 160, 89, 0.5);
        background: rgba(197, 160, 89, 1);
    }
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.6); }
    70% { box-shadow: 0 0 0 25px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}
.video-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.3px;
}

/* --- 14. "YOU MIGHT HAVE MISSED" SECTION --- */
.related-figures-section {
    background: linear-gradient(180deg, var(--hero-bg) 0%, #efe9dd 100%);
    border-top: 1px solid var(--hero-border);
    position: relative;
}
.related-figures-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--hero-gold), transparent);
}
.related-figures-section h3 {
    position: relative;
    display: inline-block;
}
.related-figures-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--hero-gold);
}

/* --- 15. PAGINATION --- */
.pagination .page-link {
    border: 1.5px solid var(--hero-border);
    color: var(--hero-text);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius-sm) !important;
    margin: 0 4px;
    transition: var(--transition-smooth);
    background: #fff;
}
.pagination .page-link:hover {
    background: #faf6ee;
    border-color: var(--hero-gold);
    color: var(--hero-primary);
    transform: translateY(-2px);
}
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--hero-secondary), #2d2d4e);
    border-color: var(--hero-secondary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.25);
}
.pagination .page-item.disabled .page-link {
    background: #f8f8f8;
    color: #ccc;
    border-color: #eee;
}

/* --- 16. SHARE BUTTON --- */
.share-btn-wrapper .btn {
    border: 1.5px solid var(--hero-border);
    background: #fff;
    color: var(--hero-text);
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}
.share-btn-wrapper .btn:hover {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.15);
}

/* --- 17. CONTRIBUTION/REPORT MODAL --- */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
}
.modal-header {
    background: linear-gradient(135deg, #faf9f6, #f5f2eb);
    border-bottom: 1px solid var(--hero-border);
    padding: 20px 24px;
}
.modal-header .modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--hero-secondary);
}
.modal-body {
    padding: 24px;
}
.modal-body .form-control,
.modal-body .form-select {
    border: 1.5px solid var(--hero-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: var(--transition-smooth);
}
.modal-body .form-control:focus,
.modal-body .form-select:focus {
    border-color: var(--hero-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}
.modal-footer {
    border-top: 1px solid var(--hero-border);
    padding: 16px 24px;
    background: #faf9f6;
}
.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-primary-light));
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
}
.modal-footer .btn-secondary {
    border-radius: 50px;
    padding: 10px 20px;
}

/* --- 18. BANNER IMAGE (INDEX) --- */
.hero-banner-wrapper {
    position: relative;
    overflow: hidden;
}
.hero-banner-wrapper img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
    filter: sepia(15%) contrast(108%) brightness(0.95);
    transition: transform 8s ease;
}
.hero-banner-wrapper:hover img {
    transform: scale(1.02);
}
.hero-banner-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--hero-bg), transparent);
    pointer-events: none;
}

/* --- 19. BACK BUTTON (FIGURE PAGE) --- */
.back-btn-hero {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 10px 20px;
    color: #fff;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    z-index: 3;
}
.back-btn-hero:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateX(-4px);
}

/* --- 20. SECTION HEADERS --- */
.section-header {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.section-header h3 {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--hero-secondary);
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--hero-gold);
    display: inline-block;
}

/* --- 21. EMPTY STATE --- */
.empty-state {
    padding: 80px 20px;
    text-align: center;
}
.empty-state i {
    font-size: 4rem;
    opacity: 0.2;
    margin-bottom: 20px;
    color: var(--hero-gold);
}
.empty-state h3 {
    color: var(--hero-text-muted);
    font-size: 1.5rem;
}
.empty-state p {
    color: var(--hero-text-muted);
    opacity: 0.7;
}

/* --- 22. AOS-LIKE ENTRANCE ANIMATIONS --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(11) { transition-delay: 0.55s; }
.stagger-children.visible > *:nth-child(12) { transition-delay: 0.6s; }
.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* --- 23. OCCUPATION BADGE (HERO) --- */
.occupation-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* --- 24. RESPONSIVE --- */
@media (max-width: 768px) {
    .program-main-title { font-size: 2.4rem; letter-spacing: -0.5px; }
    .program-branding-wrapper { padding: 50px 0 40px; }
    .program-subtitle { font-size: 0.72rem; letter-spacing: 3px; }

    .figure-hero { min-height: 480px; }
    .figure-hero h1.display-3 { font-size: 2rem; }
    .figure-portrait img { width: 140px; height: 140px; }

    .article-content { padding: 24px !important; font-size: 0.98rem; }
    .article-content p:first-child::first-letter { font-size: 2.5em; }

    .hero-date-container p::before,
    .hero-date-container p::after { display: none; }

    .hero-actions .btn { padding: 8px 16px; font-size: 0.82rem; }

    .on-this-day-item { padding: 10px 12px; }
    .on-this-day-item img { width: 44px; height: 44px; }
}

@media (max-width: 576px) {
    .program-main-title { font-size: 1.8rem; }
    .figure-hero h1.display-3 { font-size: 1.7rem; }
    .figure-portrait img { width: 120px; height: 120px; }
    .figure-card .card-title a { font-size: 0.95rem; }
}

/* --- 25. PRINT STYLES --- */
@media print {
    .figure-hero { min-height: auto; padding: 20px; background: #fff; }
    .hero-actions, .figure-bg-blur, .figure-overlay, .no-print { display: none !important; }
    .article-content { box-shadow: none; border: 1px solid #ddd; padding: 20px !important; }
    .sidebar-widget { break-inside: avoid; }
}

/* --- 26. AD OVERRIDES --- */
.ad-card-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.ad-media-container {
    text-align: center;
}
.ad-image {
    width: 100% !important;
    height: auto !important;
    max-height: 450px;
    object-fit: contain !important;
    margin: 0 auto;
    border-radius: var(--radius-md);
}
.ad-ticker-container {
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: var(--radius-sm);
}
