/*
Theme Name: Resistance Theme
*/

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #121212;
    color: #d0d0d0;
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ HEADER ============ */

.site-header {
    text-align: center;
    padding: 30px 20px 25px;
}

.site-header .site-title {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.site-header .site-title a {
    color: #fff;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 auto 25px;
    max-width: 800px;
}

.header-logo::before,
.header-logo::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #555;
}

.header-logo img {
    height: 200px;
    width: auto;
    flex-shrink: 0;
}

.site-header .slogan {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
    margin: 5px 0 15px;
}

.site-header .manifesto {
    max-width: 1100px;
    margin: 25px auto 0;
    text-align: left;
    font-size: 16px;
    line-height: 1.7;
    color: #d0d0d0;
}

.site-header .manifesto p {
    margin: 0 0 12px;
}

/* ============ NAVIGATION ============ */

.main-navigation {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 20px 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid #222;
}

.main-navigation a,
.main-navigation .nav-item {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #d0d0d0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.main-navigation a:hover,
.main-navigation .nav-item:hover,
.main-navigation .current-menu-item a {
    color: #8b1e1e;
    border-bottom-color: #8b1e1e;
}

.main-navigation li {
    list-style: none;
    margin: 0;
}

/* ============ FEATURED SECTION ============ */

.featured-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin: 40px auto 60px;
}

.featured-main {
    position: relative;
    overflow: hidden;
    background: #181818;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
}

.featured-main img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
    display: block;
}

.featured-main .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.featured-main .overlay h2 {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #181818;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
}

.featured-side-item {
    padding: 14px 18px;
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    color: #e0e0e0;
    border-bottom: 1px solid #2a2a2a;
    transition: background 0.2s;
}

.featured-side-item:last-child {
    border-bottom: none;
}

.featured-side-item:hover {
    background: #222;
}

.featured-side-item a {
    color: #e0e0e0;
}

/* ============ SECTIONS ============ */

.section-heading {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    margin: 0 0 20px;
    padding-bottom: 12px;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: #8b1e1e;
}

.content-section {
    margin-bottom: 50px;
}

/* ============ ARTICLE GRID ============ */

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.article-card:hover {
    border-color: #8b1e1e;
}

.article-card .card-image img,
.article-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
}

.article-card .card-body {
    padding: 16px;
}

.article-card .card-body h3 {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 8px;
    line-height: 1.3;
}

.article-card .card-body h3 a {
    color: #fff;
}

.article-card .card-body .excerpt {
    font-size: 14px;
    color: #999;
    line-height: 1.5;
}

/* ============ SINGLE POST / PAGE ============ */

.post-content h1 {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    margin: 40px 0 20px;
    text-transform: uppercase;
}

.post-content .meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

.post-content .body {
    font-size: 16px;
    line-height: 1.7;
    color: #ccc;
}

.post-content .featured-image {
    margin-bottom: 24px;
}

.post-content .featured-image img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
}

/* ============ ARCHIVE ============ */

.archive-header {
    margin-bottom: 30px;
}

.archive-header h1 {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    margin: 0 0 8px;
}

.archive-header .description {
    color: #999;
    font-size: 16px;
}

/* ============ FOOTER ============ */

.site-footer {
    border-top: 1px solid #222;
    padding: 50px 20px;
    text-align: center;
    font-size: 18px;
    color: #999;
}

.site-footer .footer-title {
    font-family: 'Oswald', 'Roboto Condensed', sans-serif;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
}

.site-footer a {
    color: #8b1e1e;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer p {
    margin: 8px 0;
}

/* ============ PAGINATION ============ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 50px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    background: #181818;
    border: 1px solid #2a2a2a;
    color: #d0d0d0;
    font-size: 14px;
    border-radius: 4px;
}

.pagination .current {
    background: #8b1e1e;
    border-color: #8b1e1e;
    color: #fff;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
    .featured-section {
        grid-template-columns: 1fr;
    }

    .main-navigation {
        gap: 20px;
    }

    .main-navigation a,
    .main-navigation .nav-item {
        font-size: 16px;
    }

    .site-header .slogan {
        font-size: 22px;
    }

    .header-logo {
        max-width: 400px;
        gap: 16px;
    }

    .header-logo img {
        height: 140px;
    }
}

@media (max-width: 600px) {
    .main-navigation {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .main-navigation li {
        text-align: center;
    }

    .site-header .slogan {
        font-size: 18px;
    }

    .header-logo {
        max-width: 300px;
        gap: 12px;
    }

    .header-logo img {
        height: 100px;
    }

    .site-header {
        padding: 30px 15px 20px;
    }
}
