/* Extracted from Components/Web/Pages/Constitution.razor; loaded only by that component. */
:root {
    --color-primary: #c0392b;
    --color-primary-dark: #a93226;
    --color-secondary: #f39c12;
    --color-accent: #2980b9;
    --color-bg: #fdf8f4;
    --color-white: #ffffff;
    --color-text: #1e1e2a;
    --color-text-muted: #4a4a5a;
    --color-border: #e8e0d8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

/* ── Page Banner ── */
.page-banner {
    position: relative;
    padding: 85px 0 65px;
    background: linear-gradient(135deg, #1c1313 0%, #251b22 50%, #171720 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(192, 57, 43, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #f39c12;
    background: rgba(243, 156, 18, 0.15);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 14px;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-banner h1 .highlight {
    color: #f39c12;
}

.page-banner .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    font-weight: 500;
    margin: 0;
}

.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.25s ease;
}

.page-banner .breadcrumb a:hover {
    color: #f39c12;
}

.page-banner .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.25);
}

/* ── Constitution Page ── */
.constitution-page {
    padding: 60px 0 80px;
    background: var(--color-bg);
}

.constitution-intro {
    max-width: 840px;
    margin: 0 auto 50px;
    text-align: center;
    background: #ffffff;
    padding: 36px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.constitution-intro .section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    background: rgba(192, 57, 43, 0.08);
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.constitution-intro .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 14px;
}

.constitution-intro .section-title .highlight {
    color: var(--color-primary);
}

.constitution-intro p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* ── PDF Sections ── */
.pdf-section {
    margin-bottom: 45px;
}

.pdf-section .section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-border);
}

.pdf-section .section-heading h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0;
}

.pdf-section .section-heading .badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pdf-section .section-heading .badge.current {
    background: #27ae60;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.25);
}

.pdf-section .section-heading .badge.archive {
    background: #7f8c8d;
    color: #ffffff;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.pdf-grid.single-feature {
    grid-template-columns: 1fr;
}

/* ── PDF Card ── */
.pdf-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 26px 30px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.pdf-card.featured {
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    border: 2px solid rgba(243, 156, 18, 0.4);
    box-shadow: 0 12px 32px rgba(243, 156, 18, 0.1);
}

.pdf-card.featured:hover {
    border-color: #f39c12;
    box-shadow: 0 18px 42px rgba(243, 156, 18, 0.2);
}

.pdf-card .pdf-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(192, 57, 43, 0.3);
    transition: transform 0.3s ease;
}

.pdf-card:hover .pdf-icon {
    transform: scale(1.08) rotate(-3deg);
}

.pdf-card .pdf-info {
    flex: 1;
    min-width: 0;
}

.pdf-card .pdf-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 6px;
    transition: color 0.25s ease;
}

.pdf-card:hover .pdf-info h4 {
    color: var(--color-primary);
}

.pdf-card .pdf-info .meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.pdf-card .pdf-info .btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--color-primary);
    padding: 6px 16px;
    background: rgba(192, 57, 43, 0.08);
    border-radius: 50px;
    transition: all 0.25s ease;
}

.pdf-card:hover .pdf-info .btn-pdf {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateX(4px);
}

/* ── Archive Note ── */
.archive-note {
    margin-top: 35px;
    padding: 22px 28px;
    background: #ffffff;
    border-radius: 16px;
    border-left: 4px solid #f39c12;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.archive-note i {
    font-size: 1.8rem;
    color: #f39c12;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .page-banner {
        padding: 50px 0 40px;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

    .constitution-intro {
        padding: 24px 20px;
    }

    .constitution-intro .section-title {
        font-size: 1.7rem;
    }

    .pdf-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .pdf-card .pdf-info .meta {
        justify-content: center;
    }

    .pdf-section .section-heading {
        flex-wrap: wrap;
    }
}
