/* Extracted from history.html */
.history-hero {
    background: linear-gradient(135deg, #090d16 0%, #151d30 50%, #0d1322 100%);
    color: #ffffff;
    padding: 7.5rem 0 3.5rem;
    margin-top: 0;
    position: relative;
    border-bottom: 3px solid var(--accent);
    overflow: hidden;
}
.history-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.history-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 991px) {
    .history-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.history-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}
.history-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    font-family: 'Outfit', sans-serif;
}
.history-hero-title span {
    color: var(--accent);
    background: linear-gradient(135deg, #f5d061 0%, #d4a017 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.history-hero-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}
.history-stats-pill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.history-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.history-stat-box:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}
.history-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.history-stat-lbl {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.4;
}
.archive-card-image-box {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}
.archive-card-image-box img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}
.archive-card-image-box:hover img {
    transform: scale(1.02);
}

/* --- Leaders Album Scoped Styles --- */
.leaders-album-wrapper {
    width: 100%;
}
.leader-album-card {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    transition: transform var(--trans-norm), border-color var(--trans-norm), box-shadow var(--trans-norm) !important;
}
.leader-album-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 14px 35px rgba(212, 160, 23, 0.3) !important;
}
.leader-album-card .leader-card-body {
    padding: 1.5rem 1.6rem 1.6rem !important;
    background: #0f172a !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.leader-album-card h3.leader-card-name,
.leader-card-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 0.25rem 0 !important;
    line-height: 1.25 !important;
}
.leader-kurdish-name {
    font-size: 0.92rem !important;
    color: #fbbf24 !important;
    font-weight: 600 !important;
    direction: rtl !important;
    text-align: left !important;
    margin-bottom: 0.6rem !important;
}
.leader-title-role {
    font-size: 0.88rem !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 0.6rem !important;
}
.leader-entity-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: 6px !important;
    margin-bottom: 1rem !important;
    width: fit-content !important;
}
.leader-bio-text {
    font-size: 0.92rem !important;
    color: #cbd5e1 !important;
    line-height: 1.75 !important;
    margin-bottom: 1.25rem !important;
    flex-grow: 1 !important;
}
.leader-quote-box {
    background: rgba(253, 184, 19, 0.08) !important;
    border-left: 3px solid #d4a017 !important;
    padding: 0.85rem 1rem !important;
    border-radius: 0 6px 6px 0 !important;
    font-style: italic !important;
    font-size: 0.88rem !important;
    color: #fef08a !important;
    line-height: 1.6 !important;
    margin-bottom: 1.35rem !important;
}
.leader-jump-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 0.7rem 1rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid #d4a017 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.leader-jump-btn:hover {
    background: #d4a017 !important;
    color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.4) !important;
}

/* Localized Banner Overlay Card */
.history-banner-overlay-card {
    position: relative;
    width: 100%;
    min-height: 220px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #090d16 100%);
    border: 1px solid rgba(212, 160, 23, 0.35);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    direction: ltr;
    text-align: left;
    margin-bottom: 1.5rem;
}

[dir="rtl"] .history-banner-overlay-card,
.history-banner-overlay-card.rtl {
    direction: rtl;
    text-align: right;
}

.history-banner-overlay-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.history-banner-overlay-card .banner-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.history-banner-overlay-card .banner-date-badge {
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.3rem 0.9rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

.history-banner-overlay-card .banner-sun-icon {
    font-size: 1.6rem;
    color: #f59e0b;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}

.history-banner-overlay-card .banner-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
    line-height: 1.25;
    position: relative;
    z-index: 2;
}

[dir="rtl"] .history-banner-overlay-card .banner-title,
.history-banner-overlay-card.rtl .banner-title {
    font-family: 'hk', 'Outfit', sans-serif;
}

.history-banner-overlay-card .banner-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    font-weight: 600;
    margin: 0 0 1.25rem 0;
    position: relative;
    z-index: 2;
}

.history-banner-overlay-card .banner-dossier-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    position: relative;
    z-index: 2;
}

.history-banner-overlay-card .banner-dossier-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.history-banner-overlay-card .banner-dossier-items {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Chapter Leader Visual Showcases */
.chapter-leader-hero-frame {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 160, 23, 0.35);
    background: #020617;
}

.chapter-leader-hero-frame img.chapter-leader-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform var(--trans-slow);
}

.chapter-leader-hero-frame:hover img.chapter-leader-hero-img {
    transform: scale(1.02);
}

.chapter-leader-hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.7) 60%, transparent 100%);
    padding: 1.25rem 1.5rem 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}

.chapter-leader-hero-caption .caption-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
}

.chapter-leader-hero-caption .caption-role {
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Multi-leader Showcase for Chapter 11 (Federal Statesmen) */
.chapter-multileader-hero-frame {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    margin-bottom: 1.25rem;
}

.chapter-multileader-card {
    position: relative;
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.25);
    background: #0b1120;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
    transition: transform var(--trans-norm), border-color var(--trans-norm);
}

.chapter-multileader-card:hover {
    transform: translateY(-4px);
    border-color: #f59e0b;
}

.chapter-multileader-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.chapter-multileader-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.7) 70%, transparent 100%);
    padding: 0.65rem 0.75rem;
    text-align: center;
    z-index: 2;
}

.chapter-multileader-caption .caption-name {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
}

.chapter-multileader-caption .caption-role {
    color: #f59e0b;
    font-size: 0.76rem;
    font-weight: 600;
    margin-top: 0.15rem;
    display: block;
}

@media (max-width: 900px) {
    .chapter-multileader-hero-frame {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .chapter-multileader-hero-frame {
        grid-template-columns: 1fr;
    }
}

/* Chapter 10 Halabja Hero Frame with Enhanced Height */
.chapter-leader-hero-frame.halabja-hero-frame {
    height: 480px;
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.chapter-leader-hero-frame.halabja-hero-frame img.chapter-leader-hero-img {
    object-position: center 65%;
}

@media (max-width: 768px) {
    .chapter-leader-hero-frame.halabja-hero-frame {
        height: 330px;
    }
}

/* Halabja & Anfal Casualty & Date Statistics Grid */
.banner-casualty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
    margin: 0.85rem 0 1.25rem 0;
    position: relative;
    z-index: 2;
}

.casualty-stat-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.75rem 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    backdrop-filter: blur(6px);
    transition: transform var(--trans-fast), border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.casualty-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.casualty-stat-card.stat-danger {
    border-color: rgba(239, 68, 68, 0.45);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.14) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.casualty-stat-card.stat-danger:hover {
    border-color: rgba(239, 68, 68, 0.85);
}

.casualty-stat-card.stat-warning {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.casualty-stat-card.stat-warning:hover {
    border-color: rgba(245, 158, 11, 0.85);
}

.casualty-stat-card.stat-info {
    border-color: rgba(56, 189, 248, 0.45);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.14) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.casualty-stat-card.stat-info:hover {
    border-color: rgba(56, 189, 248, 0.85);
}

.casualty-stat-card.stat-purple {
    border-color: rgba(168, 85, 247, 0.45);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.14) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.casualty-stat-card.stat-purple:hover {
    border-color: rgba(168, 85, 247, 0.85);
}

.casualty-stat-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
}

.casualty-stat-content {
    display: flex;
    flex-direction: column;
}

.casualty-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    line-height: 1.2;
}

.casualty-stat-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-top: 0.15rem;
}

[dir="rtl"] .casualty-stat-card {
    text-align: right;
}



