/* =========================================
   Global Post Variables & Resets
   ========================================= */
:root {
    --brand-red: #E31E24;
    --brand-dark: #0a0a0a;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #ffffff;
}

body {
    background-color: var(--bg-light);
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    padding: 0;
}

.post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* =========================================
   Hero Banner Section
   ========================================= */
.post-hero-section {
    background-color: var(--brand-dark);
    color: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

/* Outline Text Effect */
.outline-heading {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.hero-date {
    font-size: 1rem;
    font-weight: 600;
    color: #cccccc;
    margin: 0 0 10px 0;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 25px 0;
    text-transform: uppercase;
}

.category-badge {
    display: inline-block;
    background-color: var(--brand-red);
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.featured-img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(227, 30, 36, 0.15); /* Subtle red glow */
}

/* =========================================
   Main Content & Sidebar Grid
   ========================================= */
.post-body-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr; /* 70% / 30% split */
    gap: 60px;
}

/* --- Article Styling --- */
.main-article {
    color: var(--text-dark);
}

.main-article h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.main-article p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* --- Sidebar Styling --- */
.sidebar-widget {
    margin-bottom: 50px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-red);
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

/* Search Form */
.search-form {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
    padding: 5px;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 0.95rem;
    outline: none;
}

.search-form button {
    background-color: var(--brand-red);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.search-form button:hover {
    transform: scale(1.05);
}

/* Recent Posts List */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.recent-post-item:hover {
    transform: translateX(5px);
}

.recent-post-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post-info h4 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 600;
    transition: color 0.3s ease;
}

.recent-post-item:hover .recent-post-info h4 {
    color: var(--brand-red);
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 991px) {
    .content-grid {
        grid-template-columns: 1fr; /* Stack sidebar under content */
    }
    
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-graphic {
        justify-content: center;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .outline-heading {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}