@import url('https://fonts.googleapis.com/css2?family=Autour+One&family=IBM+Plex+Serif:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&display=swap');

:root {
    /* Premium Earth Tones Palette */
    --bg-light: #faf7f2;          /* Warm earthy off-white */
    --bg-surface: #ffffff;        /* Pure white for cards & header */
    --border-color: #e5dacb;      /* Light clay/earth border */
    
    --text-dark: #2c251e;         /* Deep coffee/charcoal brown */
    --text-muted: #6e6053;        /* Soft earth gray-brown */
    --text-light: #ffffff;
    
    /* Accents */
    --accent-brown: #824d3b;      /* Rich terracotta / clay */
    --accent-brown-rgb: 130, 77, 59;
    --accent-green: #37523d;      /* Deep forest green */
    --accent-green-rgb: 55, 82, 61;
    --accent-green-light: #5d8266; /* Sage green */
    --accent-gold: #b3862b;       /* Brass / instrument gold */
    --accent-gold-light: #d6ab58;
    
    --accent-color: var(--accent-green);
    
    /* Typography */
    --font-headings: 'Autour One', cursive, sans-serif;
    --font-body: 'IBM Plex Serif', Georgia, serif;
    
    /* UI tokens */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 4px 20px rgba(44, 37, 30, 0.05);
    --shadow-md: 0 10px 30px rgba(44, 37, 30, 0.08);
    --shadow-lg: 0 20px 40px rgba(44, 37, 30, 0.12);
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 24px;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--accent-brown);
    text-decoration: none;
    transition: var(--transition);
}

.site-logo i {
    color: var(--accent-gold);
    font-size: 1.6rem;
    transform: rotate(-15deg);
    transition: var(--transition);
}

.site-logo:hover i {
    transform: rotate(0deg) scale(1.1);
}

.site-logo span {
    color: var(--accent-green);
}

.site-nav {
    display: flex;
    gap: 0.8rem;
}

.nav-link {
    font-family: var(--font-body);
    white-space: nowrap;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
    border-radius: 30px;
    border: 1px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 0.85rem;
}

.nav-link:hover {
    color: var(--accent-brown);
    background-color: rgba(130, 77, 59, 0.05);
    border-color: rgba(130, 77, 59, 0.1);
}

.nav-link.active {
    color: #ffffff;
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    box-shadow: 0 4px 10px rgba(55, 82, 61, 0.2);
}

.nav-toggle {
    display: none;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-family: var(--font-headings);
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--border-color);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 4rem 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(229, 218, 203, 0.3) 0%, rgba(250, 247, 242, 0) 100%);
    border-bottom: 1px solid rgba(229, 218, 203, 0.5);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent-green-light) 0.8px, transparent 0.8px);
    background-size: 24px 24px;
    opacity: 0.07;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    color: var(--accent-green);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.hero-title span {
    color: var(--accent-brown);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    display: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Category Grid/Dashboard */
.support-section {
    padding: 3rem 0;
}

.section-title {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    color: var(--accent-green);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.support-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.support-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-green-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-green-light);
}

.support-card:hover::after {
    transform: scaleX(1);
}

.support-icon {
    font-size: 2.2rem;
    color: var(--accent-brown);
    display: inline-flex;
    transition: var(--transition);
}

.support-card:hover .support-icon {
    color: var(--accent-gold);
    transform: scale(1.05);
}

.support-title {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    color: var(--accent-green);
    margin-top: 0.25rem;
}

.support-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Articles Section & Grid */
.articles-section {
    padding: 4rem 0;
    background-color: #f6f2eb;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.cat-btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.cat-btn:hover {
    background-color: rgba(55, 82, 61, 0.05);
    color: var(--accent-green);
    border-color: var(--accent-green-light);
}

.cat-btn.active {
    background-color: var(--accent-brown);
    color: #ffffff;
    border-color: var(--accent-brown);
    box-shadow: 0 4px 10px rgba(130, 77, 59, 0.2);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

/* Article Cards */
.article-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-brown);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: var(--border-color);
    overflow: hidden;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.article-card:hover .card-img {
    transform: scale(1.05);
}

/* Beautiful dynamic placeholder for images when generated */
.placeholder-svg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e5dacb 0%, #d4c2ae 100%);
    color: var(--accent-brown);
    font-family: var(--font-headings);
    font-size: 1.1rem;
    text-align: center;
    padding: 1.5rem;
}

.placeholder-svg-wrapper i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent-green);
    opacity: 0.8;
}

.card-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-badge {
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Category Badge Colors */
.badge-istorija {
    background-color: rgba(55, 82, 61, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(55, 82, 61, 0.2);
}

.badge-pobednici {
    background-color: rgba(179, 134, 43, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(179, 134, 43, 0.2);
}

.badge-biografije {
    background-color: rgba(130, 77, 59, 0.1);
    color: var(--accent-brown);
    border: 1px solid rgba(130, 77, 59, 0.2);
}

.badge-price {
    background-color: rgba(110, 96, 83, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(110, 96, 83, 0.2);
}

.card-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.card-title {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.article-card:hover .card-title {
    color: var(--accent-brown);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--accent-green-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-card:hover .read-more {
    color: var(--accent-brown);
}

/* Individual Article Pages */
.article-header {
    padding: 4.5rem 0 3.5rem 0;
    background: linear-gradient(180deg, #f3ede2 0%, var(--bg-light) 100%);
    border-bottom: 1px solid var(--border-color);
}

.article-header .container {
    max-width: 900px;
}

.article-category {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-brown);
    display: inline-block;
    margin-bottom: 1rem;
}

.article-title {
    font-family: var(--font-headings);
    font-size: 2.4rem;
    color: var(--accent-green);
    line-height: 1.35;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(229, 218, 203, 0.6);
    padding-top: 1rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    color: var(--accent-brown);
}

/* Article Page Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    padding: 4rem 0;
}

.article-body-content {
    min-width: 0; /* Prevents flex items from overflowing */
}

/* Article cover image block */
.article-cover-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
}

.article-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Style for Article Body Elements */
.article-body-content p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body-content p strong {
    color: var(--accent-brown);
}

.article-body-content h2 {
    font-family: var(--font-headings);
    font-size: 1.7rem;
    color: var(--accent-green);
    margin: 3.5rem 0 1.5rem 0;
    line-height: 1.4;
    border-left: 5px solid var(--accent-brown);
    padding-left: 1rem;
}

.article-body-content h3 {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    color: var(--accent-brown);
    margin: 2.5rem 0 1.25rem 0;
    line-height: 1.45;
}

.article-body-content blockquote {
    background-color: var(--bg-surface);
    border-left: 4px solid var(--accent-gold);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    box-shadow: var(--shadow-soft);
}

.article-body-content blockquote p {
    margin-bottom: 0;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.article-body-content ul, .article-body-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.article-body-content li {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Custom bullet styling */
.article-body-content ul li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.article-body-content ul li::before {
    content: '✦';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
}

/* Quick Summary Bullets styling */
.summary-bullets-list {
    list-style: none;
    padding-left: 0 !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-bullets-list li {
    position: relative;
    padding-left: 1.8rem !important;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 0 !important;
}

.summary-bullets-list li::before {
    content: '✦' !important;
    color: var(--accent-gold) !important;
    position: absolute !important;
    left: 0.4rem !important;
    top: 0 !important;
}

/* Table Style */
.table-wrapper, .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2.5rem 0;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-soft);
}

.article-body-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    overflow: hidden;
    background-color: var(--bg-surface);
    min-width: 600px;
}

.article-body-content th {
    background-color: var(--accent-green);
    color: #ffffff;
    text-align: left;
    padding: 1rem 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.article-body-content td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.article-body-content tr:last-child td {
    border-bottom: none;
}

.article-body-content tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* Alert blocks */
.alert-block {
    background: var(--bg-surface);
    border-left: 4px solid var(--accent-green-light);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
}

.alert-block-note {
    border-left-color: var(--accent-brown);
    background-color: #ffffff;
}

.alert-title {
    font-family: var(--font-headings);
    font-size: 1.05rem;
    color: var(--accent-green);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.alert-block-note .alert-title {
    color: var(--accent-brown);
}

/* FAQ section */
.faq-question {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-headings);
    font-size: 1.05rem;
    color: var(--accent-green);
    transition: var(--transition);
}

.faq-question:hover {
    border-color: var(--accent-brown);
    background-color: rgba(130, 77, 59, 0.02);
}

.faq-answer {
    padding: 1.2rem 1.5rem;
    border-top: none;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    margin-top: -8px;
    border: 1px solid var(--border-color);
    border-top: none;
    line-height: 1.7;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Sidebar Widgets */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.8rem;
    box-shadow: var(--shadow-soft);
}

.widget-title {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    color: var(--accent-green);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: var(--accent-gold);
}

/* Table of Contents Widget */
.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.toc-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
    transition: var(--transition);
    padding: 4px 0 4px 10px;
    border-left: 2px solid transparent;
}

.toc-link:hover {
    color: var(--accent-brown);
    border-left-color: rgba(130, 77, 59, 0.3);
}

.toc-link.active {
    color: var(--accent-brown);
    font-weight: 700;
    border-left-color: var(--accent-brown);
}

/* Related articles cards in sidebar */
.read-next-card {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid rgba(229, 218, 203, 0.4);
    transition: var(--transition);
}

.read-next-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.read-next-img-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--border-color);
}

.read-next-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.read-next-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.read-next-title {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-next-card:hover .read-next-title {
    color: var(--accent-brown);
}

.read-next-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Footer Section */
.support-callout-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.support-callout-box {
    background: linear-gradient(135deg, var(--accent-green) 0%, #203125 100%);
    color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.support-callout-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(179, 134, 43, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.support-callout-content {
    flex: 1;
}

.support-callout-content h3 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold-light);
}

.support-callout-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.6;
}

.support-callout-action {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.support-callout-btn {
    background-color: var(--accent-brown);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(130, 77, 59, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-callout-btn:hover {
    background-color: #985a47;
    transform: translateY(-2px);
}

.support-callout-btn.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.support-callout-btn.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

/* Callout 8-links grid layout */
.support-callout-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    flex-shrink: 0;
    width: 55%;
}

.support-grid-link {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.7rem 1.2rem;
    border-radius: 24px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-grid-link i {
    color: var(--accent-gold-light);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.support-grid-link:hover {
    background-color: var(--accent-gold);
    color: #ffffff;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.support-grid-link:hover i {
    color: #ffffff;
}

@media (max-width: 992px) {
    .support-callout-box {
        flex-direction: column;
        align-items: stretch;
        gap: 2.5rem;
    }
    .support-callout-grid {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .support-callout-grid {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    background-color: #211c16; /* Dark earthy brown */
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 3rem 0;
    border-top: 4px solid var(--accent-brown);
}

.footer-grid-asistel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col-mission {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    font-family: var(--font-headings);
    font-size: 1.6rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.footer-logo span {
    color: var(--accent-gold-light);
}

.footer-mission-text {
    font-size: 1rem;
    line-height: 1.7;
}

.footer-heading-asistel {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading-asistel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links-asistel {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-asistel a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-asistel a:hover {
    color: var(--accent-gold-light);
    padding-left: 5px;
}

.footer-bottom-asistel {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Reading Progress Bar */
.progress-bar-container {
    position: fixed;
    top: 85px; /* Directly below sticky header */
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 99;
    background-color: transparent;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--accent-brown);
    transition: width 0.08s ease-out;
}

/* Alphabet Filter (Biographies) */
.alphabet-filter-container {
    padding: 0 1.5rem;
}

.filter-letter-btn:disabled {
    cursor: not-allowed;
    background-color: transparent;
}

.filter-letter-btn:not(:disabled):hover {
    background-color: rgba(130, 77, 59, 0.08) !important;
    border-color: var(--accent-brown) !important;
    color: var(--accent-brown) !important;
}

/* Responsive styles */
@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .article-sidebar {
        position: static !important;
    }
    .footer-grid-asistel {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .support-callout-box {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
        gap: 2rem;
    }
    .support-callout-action {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .nav-toggle {
        display: block;
    }
    .site-nav {
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 2px solid var(--border-color);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-md);
        display: none;
    }
    .site-nav.active {
        display: flex;
    }
    .nav-link {
        border-radius: 8px;
        padding: 0.8rem 1.2rem;
    }
    .nav-link.active {
        box-shadow: none;
    }
    .article-title {
        font-size: 1.9rem;
    }
}
