/*
Theme Name: RetroGrid
Theme URI: https://foenix.ai/?from=wpgen
Author: Foenix AI
Author URI: https://foenix.ai/?from=wpgen
Description: A retro gaming culture blog theme with dark space aesthetic, neon accents, and pixel-inspired typography.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: retrogrid
Tags: dark, blog, retro, gaming
*/

/* =============================================
   CSS RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #0D0D1A;
    color: #C0C0D0;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

.wp-block-group,
.wp-block-columns,
.wp-block-column,
.wp-site-blocks,
.is-layout-constrained,
.is-layout-flow,
[class*="wp-container"],
[class*="wp-elements"],
.entry-content,
.post-content {
    all: revert;
}

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

a {
    color: #22D3EE;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: #A855F7;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

p {
    margin-bottom: 1.25rem;
}

input, button, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* =============================================
   LAYOUT
   ============================================= */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
}

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

.site-content {
    flex: 1;
    width: 100%;
}

body, html {
    max-width: 100% !important;
    width: 100% !important;
}

.site, .site-content, .entry-content, .post-content, main, article {
    max-width: 100% !important;
    width: 100% !important;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
    background-color: #080810;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 20px rgba(168, 85, 247, 0.15);
}

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

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    text-shadow:
        0 0 10px rgba(168, 85, 247, 0.9),
        0 0 20px rgba(168, 85, 247, 0.6),
        0 0 40px rgba(168, 85, 247, 0.3);
    position: relative;
    transition: text-shadow 0.3s ease;
}

.site-logo:hover {
    color: #FFFFFF;
    text-shadow:
        0 0 15px rgba(168, 85, 247, 1),
        0 0 30px rgba(168, 85, 247, 0.8),
        0 0 60px rgba(168, 85, 247, 0.4),
        0 0 80px rgba(34, 211, 238, 0.2);
}

.site-logo span.logo-bracket {
    color: #22D3EE;
    text-shadow:
        0 0 10px rgba(34, 211, 238, 0.9),
        0 0 20px rgba(34, 211, 238, 0.5);
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #A0A0B8;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-page-ancestor > a {
    color: #A855F7;
    border-bottom-color: #A855F7;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #A855F7;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: #A855F7;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, #0D0D1A 0%, #1A0A2E 50%, #0A1A2E 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(168, 85, 247, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

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

.hero-tagline {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #A855F7;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow:
        0 0 30px rgba(168, 85, 247, 0.4),
        0 0 60px rgba(168, 85, 247, 0.2);
    line-height: 1.1;
}

.hero-title .accent {
    color: #A855F7;
    text-shadow:
        0 0 20px rgba(168, 85, 247, 0.8),
        0 0 40px rgba(168, 85, 247, 0.4);
}

.hero-description {
    font-size: 1.1rem;
    color: #8080A0;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #A855F7, #7C3AED);
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 3px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4), 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    color: #FFFFFF;
    background: linear-gradient(135deg, #B855F7, #8C3AED);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 8px 25px rgba(0,0,0,0.4);
    text-shadow: none;
    transform: translateY(-2px);
}

/* =============================================
   POST CARDS / BLOG LISTING
   ============================================= */
.posts-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #22D3EE;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.4), transparent);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.post-card {
    background: #12121F;
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1), 0 8px 30px rgba(0,0,0,0.3);
    transform: translateY(-3px);
}

.post-card-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #0D0D1A;
}

.post-card-thumb-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1A0A2E, #0A1A2E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(168, 85, 247, 0.3);
    position: relative;
    overflow: hidden;
}

.post-card-thumb-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
}

.post-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.post-category {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #A855F7;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 3px 10px;
    border-radius: 2px;
}

.post-date {
    font-size: 0.75rem;
    color: #505070;
}

.post-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card-title a:hover {
    color: #A855F7;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: #606080;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
}

.read-more {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #22D3EE;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.read-more:hover {
    color: #A855F7;
    text-shadow: 0 0 6px rgba(168, 85, 247, 0.5);
}

.read-more::after {
    content: ' →';
}

/* =============================================
   SINGLE POST
   ============================================= */
.single-post-wrapper {
    padding: 60px 0;
}

.single-post-header {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.single-post-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1.15;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.single-post-thumbnail {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    margin-bottom: 48px;
}

.single-post-content {
    max-width: 760px;
    margin: 0 auto;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: #FFFFFF;
    margin: 2rem 0 1rem;
}

.single-post-content h2 {
    font-size: 1.6rem;
    color: #A855F7;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.single-post-content h3 {
    font-size: 1.25rem;
    color: #22D3EE;
}

.single-post-content p {
    color: #C0C0D0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.single-post-content a {
    color: #22D3EE;
    text-decoration: underline;
    text-decoration-color: rgba(34, 211, 238, 0.3);
}

.single-post-content a:hover {
    color: #A855F7;
}

.single-post-content blockquote {
    border-left: 3px solid #A855F7;
    margin: 2rem 0;
    padding: 16px 24px;
    background: rgba(168, 85, 247, 0.05);
    font-style: italic;
    color: #A0A0C0;
}

.single-post-content code {
    background: #1A1A2E;
    color: #22D3EE;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.9em;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.single-post-content pre {
    background: #0A0A15;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 4px;
    padding: 24px;
    overflow-x: auto;
    margin: 2rem 0;
}

.single-post-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    color: #C0C0D0;
}

.single-post-content ul,
.single-post-content ol {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.single-post-content ul li,
.single-post-content ol li {
    padding: 4px 0 4px 20px;
    position: relative;
    color: #C0C0D0;
}

.single-post-content ul li::before {
    content: '▸';
    color: #A855F7;
    position: absolute;
    left: 0;
    font-size: 0.8em;
}

.single-post-content ol {
    counter-reset: retro-counter;
}

.single-post-content ol li::before {
    counter-increment: retro-counter;
    content: counter(retro-counter, decimal-leading-zero) '.';
    color: #22D3EE;
    position: absolute;
    left: 0;
    font-size: 0.8em;
}

.single-post-content img {
    border-radius: 4px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    margin: 2rem auto;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 20px;
    background: #12121F;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 4px;
    color: #C0C0D0;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-next a {
    text-align: right;
}

.nav-previous a:hover,
.nav-next a:hover {
    border-color: rgba(168, 85, 247, 0.5);
    color: #A855F7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
}

/* =============================================
   PAGE TEMPLATE
   ============================================= */
.page-wrapper {
    padding: 60px 0;
}

.page-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.page-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.page-content {
    max-width: 760px;
}

.page-content h2 { color: #A855F7; }
.page-content h3 { color: #22D3EE; }
.page-content p { color: #C0C0D0; line-height: 1.8; margin-bottom: 1.25rem; }
.page-content ul, .page-content ol { list-style: initial; padding-left: 20px; margin: 1rem 0; }
.page-content li { color: #C0C0D0; margin-bottom: 0.5rem; }

/* =============================================
   ARCHIVE / VAULT
   ============================================= */
.archive-wrapper {
    padding: 60px 0;
}

.archive-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.archive-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #22D3EE;
    margin-bottom: 12px;
}

.archive-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #12121F;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 3px;
    color: #C0C0D0;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover {
    border-color: #A855F7;
    color: #A855F7;
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.pagination .current {
    background: #A855F7;
    border-color: #A855F7;
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

/* =============================================
   404 PAGE
   ============================================= */
.error-404-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 80px 0;
    text-align: center;
}

.error-code {
    font-size: clamp(6rem, 20vw, 14rem);
    font-weight: 800;
    color: transparent;
    background: linear-gradient(135deg, #A855F7, #22D3EE);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.4));
}

.error-title {
    font-size: 1.6rem;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.error-message {
    color: #606080;
    margin-bottom: 32px;
    font-size: 1rem;
}

.error-back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #A855F7, #7C3AED);
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease;
}

.error-back-btn:hover {
    color: #FFFFFF;
    text-shadow: none;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background-color: #080810;
    border-top: 1px solid rgba(168, 85, 247, 0.25);
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.footer-brand .site-logo {
    font-size: 1.4rem;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #505070;
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #22D3EE;
    margin-bottom: 16px;
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #505070;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #A855F7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    color: #404060;
    font-size: 0.8rem;
}

.footer-copy a {
    color: #505070;
    text-decoration: none;
}

.footer-copy a:hover {
    color: #A855F7;
}

.footer-badge {
    font-size: 0.75rem;
    color: #303050;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-badge span {
    color: #A855F7;
}

/* =============================================
   WIDGETS & SIDEBAR
   ============================================= */
.widget {
    background: #12121F;
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #22D3EE;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.neon-text-purple {
    color: #A855F7;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.neon-text-cyan {
    color: #22D3EE;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}

.pixel-border {
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
}

.tag-badge {
    display: inline-block;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #22D3EE;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .site-header .container {
        height: 56px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #080810;
        border-bottom: 1px solid rgba(168, 85, 247, 0.3);
        padding: 16px;
    }

    .main-navigation.is-active {
        display: flex;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-navigation a {
        display: block;
        padding: 12px 16px;
        border-bottom: none;
        border-left: 2px solid transparent;
    }

    .main-navigation a:hover {
        border-bottom: none;
        border-left-color: #A855F7;
        background: rgba(168, 85, 247, 0.05);
    }

    .hero-section {
        padding: 60px 0;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}