/**
 * JUSTICE MINDS - SHARED STYLING SYSTEM
 *
 * This file defines consistent formatting across ALL pages.
 * DO NOT duplicate these styles in individual pages.
 *
 * Last updated: 2025-11-09
 */

/* ============================================
   COLOR VARIABLES
   ============================================ */
:root {
    --primary-blue: #052962;
    --accent-red: #c70000;
    --text-dark: #121212;
    --text-grey: #767676;
    --border-grey: #dcdcdc;
    --bg-light: #f6f6f6;
}

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

/* ============================================
   TYPOGRAPHY FOUNDATION
   ============================================ */
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: #ffffff;
}

/* ============================================
   HEADER & FOOTER COMPONENTS
   ============================================ */
.header {
    background: white;
    border-bottom: 4px solid var(--accent-red);
    margin-bottom: 0;
}

.header-hero-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: white;
    max-height: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-full-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    max-height: 400px;
}

.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary-blue);
    border-top: none;
    border-bottom: none;
    box-shadow: none;
    margin-top: 0;
}

.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 100%;
    border-top: 2px solid var(--accent-red);
    border-bottom: 2px solid var(--accent-red);
}

.nav-item {
    padding: 1.25rem 2.5rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: none;
    transition: all 0.3s;
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item:first-child {
    border-left: none;
}

.nav-item:hover,
.nav-item.active {
    background: var(--accent-red);
    color: white;
}

.footer {
    background: var(--primary-blue);
    margin-top: 4rem;
}

.footer-nav {
    background: rgba(0, 0, 0, 0.2);
    border-top: 4px solid var(--accent-red);
    border-bottom: 4px solid var(--accent-red);
}

.footer-nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 100%;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.footer-nav-bar::-webkit-scrollbar {
    display: none;
}

.footer-nav-link {
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--accent-red);
}

.footer-full-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   CONTENT WIDTH - MID-SCREEN, NOT FULL-WIDTH
   ============================================ */

/* Container for ALL article/content pages */
.article-container,
.content-container,
.main-content,
.container {
    max-width: 800px; /* Mid-screen width on wide screens */
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Never exceed 900px even on ultra-wide screens */
@media (min-width: 1400px) {
    .article-container,
    .content-container,
    .main-content {
        max-width: 900px;
    }
}

/* ============================================
   HEADINGS - CONSISTENT HIERARCHY
   ============================================ */
h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    line-height: 1.3;
    margin: 3rem 0 1.5rem 0;
    font-weight: 700;
    color: var(--primary-blue);
    border-bottom: 3px solid var(--primary-blue);
    padding-bottom: 0.5rem;
}

h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
    color: var(--primary-blue);
}

/* ============================================
   PARAGRAPHS - CONSISTENT SPACING
   ============================================ */
p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* ============================================
   KEY QUOTES - RED BORDER BOX WITH SPEECH MARKS
   ============================================ */

/* Markdown usage: <blockquote class="key-quote">Your quote here</blockquote> */
.key-quote,
blockquote.key-quote {
    border: 3px solid var(--accent-red);
    border-left: 6px solid var(--accent-red);
    background: #fff;
    padding: 2rem;
    margin: 2.5rem 0;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.3rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--primary-blue);
    position: relative;
}

/* Speech marks */
.key-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-red);
    position: absolute;
    top: -10px;
    left: 10px;
    line-height: 1;
    font-family: Georgia, serif;
}

.key-quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-red);
    position: absolute;
    bottom: -30px;
    right: 10px;
    line-height: 1;
    font-family: Georgia, serif;
}

/* Attribution in quotes */
.key-quote .attribution {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    color: var(--text-grey);
    text-align: right;
}

/* ============================================
   FOCUS LINES - HIGHLIGHTED TEXT
   ============================================ */

/* Markdown usage: <p class="focus-line">Important text</p> */
.focus-line {
    border-left: 4px solid var(--accent-red);
    padding-left: 2rem;
    margin: 2rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: var(--bg-light);
    padding: 1.5rem;
    padding-left: 2rem;
}

/* ============================================
   STANDARD BLOCKQUOTES
   ============================================ */
blockquote {
    border-left: 4px solid var(--accent-red);
    padding-left: 2rem;
    margin: 2.5rem 0;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-blue);
    line-height: 1.6;
}

/* ============================================
   HIGHLIGHT BOXES - IMPORTANT INFORMATION
   ============================================ */

/* Markdown usage: <div class="highlight-box"><h3>Title</h3><p>Content</p></div> */
.highlight-box {
    background: white;
    color: #1a1a1a;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 4px;
    border: 3px solid #c41e3a;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.1);
}

.highlight-box h3 {
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 1rem;
    border: none;
}

.highlight-box p {
    color: #4a4a4a;
    margin-bottom: 0;
}

/* ============================================
   STAT BANNERS - KEY STATISTICS
   ============================================ */

/* Markdown usage: <div class="stat-banner"><h3>Number</h3><p>Description</p></div> */
.stat-banner {
    background: var(--accent-red);
    color: white;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
    border-radius: 4px;
}

.stat-banner h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
    border: none;
}

.stat-banner p {
    font-size: 1.1rem;
    margin: 0;
    color: white;
}

/* ============================================
   KICKERS - CATEGORY LABELS
   ============================================ */

/* Markdown usage: <div class="kicker">CATEGORY</div> */
.kicker,
.article-kicker {
    color: var(--accent-red);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: block;
}

/* ============================================
   STANDFIRST - ARTICLE SUMMARIES
   ============================================ */

/* Markdown usage: <p class="standfirst">Summary text</p> */
.standfirst,
.article-standfirst {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-grey);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* ============================================
   LISTS - CONSISTENT STYLING
   ============================================ */
ul, ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

/* ============================================
   LINKS - CONSISTENT COLORS
   ============================================ */
a {
    color: var(--accent-red);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

a:hover {
    border-bottom-color: var(--accent-red);
}

/* ============================================
   CODE BLOCKS
   ============================================ */
code {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--primary-blue);
}

pre {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-blue);
}

pre code {
    background: none;
    padding: 0;
}

/* ============================================
   IMAGES - RESPONSIVE
   ============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
    border-radius: 4px;
}

.article-image {
    margin: 3rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   DIVIDERS
   ============================================ */
hr {
    border: none;
    border-top: 2px solid var(--border-grey);
    margin: 3rem 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s;
    border-bottom: none;
}

.btn-primary:hover {
    background: #a00000;
    transform: translateY(-2px);
    border-bottom: none;
}

/* ============================================
   QUOTE BOX (Alternative style)
   ============================================ */
.quote-box {
    background: var(--primary-blue);
    color: white;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ============================================
   SHARE SECTION
   ============================================ */
.share-section {
    background: var(--bg-light);
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.share-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* ============================================
   MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 968px) {
    /* Footer already has consistent styling from base styles */
}

@media (max-width: 768px) {
    .container,
    .article-container,
    .content-container,
    .main-content {
        padding: 2rem 1.5rem;
    }

    .nav-item {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .key-quote,
    blockquote {
        font-size: 1.1rem;
        padding: 1.5rem;
    }

    .key-quote::before,
    .key-quote::after {
        font-size: 3rem;
    }

    .standfirst {
        font-size: 1.15rem;
    }

    .highlight-box,
    .stat-banner {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container,
    .article-container,
    .content-container,
    .main-content {
        padding: 1.5rem 1rem;
    }

    .nav-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0;
    }

    .nav-bar::-webkit-scrollbar {
        display: none;
    }

    .nav-item {
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
        flex-shrink: 0;
        white-space: nowrap;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p, li {
        font-size: 1rem;
    }

    .key-quote,
    blockquote {
        font-size: 1rem;
        padding: 1rem;
    }

    .focus-line {
        padding: 1rem;
        padding-left: 1.5rem;
        font-size: 1.1rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .key-quote,
    .highlight-box,
    .stat-banner {
        page-break-inside: avoid;
    }

    a {
        color: var(--text-dark);
        border-bottom: none;
    }

    .nav-bar,
    .footer {
        display: none;
    }
}

/* ============================================
   HEADER MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 768px) {
    .header {
        background: white;
    }

    .header-hero-image {
        padding: 1rem 0.5rem;
        background: white;
    }

    .hero-full-image {
        object-fit: contain;
        max-height: 250px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        background: white;
    }

    .header-hero-image {
        padding: 0.5rem 0.25rem;
        background: white;
    }

    .hero-full-image {
        max-height: 180px;
        width: 100%;
        object-fit: contain;
    }
}

/* ============================================
   WEB PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* GPU acceleration for smooth scrolling */
.main-nav {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* SVG optimization for header/footer */
.hero-full-image,
.footer-full-image {
    shape-rendering: geometricPrecision;
    image-rendering: optimizeQuality;
}

/* Reduce repaints on hover */
.nav-item,
.footer-nav-link {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Prefetch DNS for external resources */
/* Add this to <head>: <link rel="dns-prefetch" href="https://tvecnfdqakrevzaeifpk.supabase.co"> */

/* Content visibility for better rendering */
.article-container,
.content-container {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* ============================================
   NAVIGATION DROPDOWN
   ============================================ */
.nav-dropdown {
    position: relative;
    cursor: pointer;
    padding: 1.25rem 2.5rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: none;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dropdown:hover {
    background: var(--accent-red);
    color: white;
}

.nav-dropdown-trigger {
    display: block;
    padding: 0;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 350px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1000;
    margin-top: 5px;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: #0b0c0c;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 14px;
    white-space: nowrap;
    border-left: none;
}

.nav-dropdown-content a:hover {
    background: #f3f2f1;
    border-bottom: none;
}

/* Touch device dropdown handling */
@media (hover: none) and (pointer: coarse) {
    .nav-dropdown:hover .nav-dropdown-content {
        display: none;
    }

    .nav-dropdown.active .nav-dropdown-content {
        display: block !important;
    }

    .nav-dropdown-trigger {
        padding: 0.75rem;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }

    .nav-dropdown-content a {
        min-height: 44px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
}

/* Dropdown mobile responsive */
@media (max-width: 480px) {
    .nav-dropdown {
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .nav-dropdown-trigger {
        font-size: 0.65rem;
    }

    .nav-dropdown-content {
        min-width: 280px;
        right: -50px;
    }

    .nav-dropdown-content a {
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .nav-dropdown {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        letter-spacing: 0.75px;
    }

    .nav-dropdown-trigger {
        font-size: 0.7rem;
    }

    .nav-dropdown-content {
        min-width: 300px;
        font-size: 13px;
    }

    /* Ensure dropdown works on all mobile devices */
    .nav-dropdown:hover .nav-dropdown-content {
        display: none;
    }

    .nav-dropdown.active .nav-dropdown-content {
        display: block !important;
    }

    .nav-dropdown-trigger {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    }
}

/* ============================================
   PASSWORD MODAL
   ============================================ */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 10000;
    overflow-y: auto;
}

.password-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.modal-hero {
    background: #0b0c0c;
    padding: 40px 20px;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.modal-login {
    background: white;
    padding: 50px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.login-title {
    margin: 0 0 40px 0;
    color: #0b0c0c;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 3px solid #0b0c0c;
    padding-bottom: 15px;
}

.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0b0c0c;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #0b0c0c;
    background: #f8f8f8;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ffdd00;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 221, 0, 0.2);
}

.error-message {
    display: none;
    background: #d4351c;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.button-group {
    display: flex;
    gap: 15px;
}

.btn-login {
    flex: 2;
    padding: 16px 24px;
    background: #0b0c0c;
    color: white;
    border: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #1a1b1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn-cancel {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    color: #0b0c0c;
    border: 2px solid #0b0c0c;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

.login-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.login-footer p {
    margin: 0 0 10px 0;
    color: #505a5f;
    font-size: 12px;
    line-height: 1.6;
}

.warning-text {
    color: #d4351c;
    font-weight: 600;
}

/* ============================================
   HOMEPAGE ARTICLE GRID
   ============================================ */
.featured-article-section {
    margin: 0 0 4rem 0;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: none;
}

.featured-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.featured-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content .kicker {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.featured-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    line-height: 1.3;
    margin: 0 0 1.5rem 0;
    color: var(--primary-blue);
    border: none;
    padding: 0;
}

.featured-excerpt {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-grey);
    margin-bottom: 2rem;
}

.read-more-featured {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.article-card {
    background: white;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-grey);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-red);
}

.article-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

.article-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-content .kicker {
    color: var(--accent-red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.article-card-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0 0 1rem 0;
    color: var(--primary-blue);
    border: none;
    padding: 0;
}

.article-card-content .excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
    flex: 1;
}

.read-more {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-top: auto;
}

/* Mobile responsive for article grid */
@media (max-width: 768px) {
    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 300px;
    }

    .featured-content {
        padding: 2rem;
    }

    .featured-content h2 {
        font-size: 1.8rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 3rem 1rem;
        gap: 1.5rem;
    }

    .article-card-content {
        padding: 1.5rem;
    }
}
