/* ========================================
   INNOVAMÉXICO VANGUARD
   FactoriaDigital
   ======================================== */

/* Reset & Base */
:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-surface-2: #1a1a1a;
    --color-text: #f5f5f5;
    --color-text-muted: #888888;
    --color-gold: #bfa36f;
    --color-gold-light: #f0d878;
    --color-gold-dark: #8a7349;
    --font-head: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: Georgia, 'Times New Roman', serif;
    --max-width: 1400px;
    --gap: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--color-gold); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--color-gold-light); }

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

/* Screen reader */
.screen-reader-text {
    position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* Skip link */
.skip-link {
    position: absolute; top: -40px; left: 0; background: var(--color-gold);
    color: var(--color-bg); padding: 0.5rem 1rem; z-index: 10000;
    font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
    font-size: 0.75rem; letter-spacing: 1px;
}
.skip-link:focus { top: 0; }

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: sticky; top: 0; z-index: 999;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(191,163,111,0.15);
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.site-branding { display: flex; flex-direction: column; gap: 0.25rem; }
.site-logo { width: 260px; height: auto; display: block; }
.site-slogan {
    font-family: var(--font-head);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    opacity: 0.8;
    margin-left: 82px;
}

/* Navigation */
.main-navigation { flex: 1; }
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0; padding: 0;
}
.nav-menu li { margin: 0; padding: 0; }
.nav-menu a {
    font-family: var(--font-head);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.25rem;
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--color-gold);
    transition: width 0.3s ease;
}
.nav-menu a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 0.5rem;
}
.menu-toggle span {
    display: block; width: 25px; height: 2px;
    background: var(--color-gold);
}

/* Search */
.header-search { position: relative; }
.search-toggle {
    background: none; border: none; color: var(--color-text);
    cursor: pointer; padding: 0.5rem;
}
.search-panel {
    position: absolute; top: 120%; right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-gold-dark);
    padding: 1rem; width: 300px; display: none;
    z-index: 1000;
}
.search-panel.active { display: block; }
.search-panel input[type="search"] {
    width: 100%; background: var(--color-bg); border: 1px solid #333;
    color: var(--color-text); padding: 0.5rem;
}

/* ========================================
   HERO - Asimétrico
   ======================================== */
.hero-section { padding: 2rem 2rem 0; }
.hero-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label {
    font-family: var(--font-head);
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 4px; color: var(--color-gold);
    margin-bottom: 1rem; display: inline-block;
    border-left: 3px solid var(--color-gold); padding-left: 0.75rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--gap);
    height: 600px;
}
.hero-main {
    grid-row: 1 / 3;
    position: relative; overflow: hidden;
    background: var(--color-surface);
}
.hero-side { position: relative; overflow: hidden; background: var(--color-surface); }
.hero-side-1 { grid-row: 1 / 2; }
.hero-side-2 { grid-row: 2 / 3; }

.hero-link { display: block; height: 100%; position: relative; color: var(--color-text); }
.hero-image {
    position: absolute; inset: 0;
    overflow: hidden;
}
.hero-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.hero-link:hover .hero-image img { transform: scale(1.05); }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
}
.hero-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem;
    z-index: 2;
}
.hero-category {
    font-family: var(--font-head);
    font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--color-gold);
    display: block; margin-bottom: 0.5rem;
}
.hero-title {
    font-family: var(--font-head);
    font-size: 2rem; font-weight: 800; line-height: 1.1;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-main .hero-title { font-size: 2.8rem; }
.hero-excerpt {
    font-size: 0.95rem; color: var(--color-text-muted);
    line-height: 1.5;
}
.hero-date {
    font-size: 0.75rem; color: var(--color-text-muted);
    margin-top: 0.75rem; display: block;
}

.hero-image-placeholder {
    background: linear-gradient(135deg, var(--color-surface-2) 0%, var(--color-surface) 100%);
}

/* ========================================
   AD SPACES - Poder
   ======================================== */
.ad-section { max-width: var(--max-width); margin: 3rem auto; padding: 0 2rem; }
.ad-space-power {
    background: linear-gradient(135deg, #1a1200 0%, #2a1f0a 50%, #0f0a00 100%);
    border: 1px solid var(--color-gold-dark);
    position: relative; overflow: hidden;
    text-align: center; padding: 3rem 2rem;
}
.ad-space-power::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(191,163,111,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.ad-inner { position: relative; z-index: 1; }
.ad-icon {
    font-size: 2rem; color: var(--color-gold);
    display: block; margin-bottom: 0.5rem;
}
.ad-label {
    font-family: var(--font-head);
    font-size: 1.5rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 6px;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
}
.ad-space-power p {
    color: var(--color-text-muted); font-size: 0.9rem;
    max-width: 400px; margin: 0 auto 1.5rem;
}
.ad-cta {
    display: inline-block;
    background: var(--color-gold); color: var(--color-bg);
    font-family: var(--font-head); font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    font-size: 0.8rem; padding: 0.75rem 2rem;
    border: 2px solid var(--color-gold);
    transition: all 0.3s ease;
}
.ad-cta:hover {
    background: transparent; color: var(--color-gold);
}

/* ========================================
   CATEGORY SECTIONS - Asimétrico
   ======================================== */
.category-section {
    max-width: var(--max-width);
    margin: 4rem auto; padding: 0 2rem;
}
.section-header {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(191,163,111,0.2);
    padding-bottom: 0.75rem;
}
.section-title {
    font-family: var(--font-head);
    font-size: 1.25rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px;
}
.section-more {
    font-family: var(--font-head);
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--color-gold);
}
.section-more:hover { color: var(--color-gold-light); }

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: var(--gap);
}
.cat-post {
    background: var(--color-surface);
    overflow: hidden; position: relative;
    transition: transform 0.3s ease;
}
.cat-post:hover { transform: translateY(-4px); }
.cat-post a { display: block; height: 100%; color: var(--color-text); }

.cat-post-image {
    position: relative; height: 60%; overflow: hidden;
}
.cat-post-image img { width: 100%; height: 100%; object-fit: cover; }
.cat-post-body {
    padding: 1rem;
    height: 40%;
    display: flex; flex-direction: column;
}
.cat-post-title {
    font-family: var(--font-head);
    font-size: 1rem; font-weight: 700;
    line-height: 1.2; margin-bottom: 0.5rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-post-excerpt {
    font-size: 0.85rem; color: var(--color-text-muted);
    line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-post-placeholder {
    background: linear-gradient(135deg, var(--color-surface-2), var(--color-surface));
}

/* Asimetría */
.cat-post-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.cat-post-1 .cat-post-image { height: 70%; }
.cat-post-1 .cat-post-body { height: 30%; }
.cat-post-1 .cat-post-title { font-size: 1.5rem; -webkit-line-clamp: 3; }

.cat-post-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.cat-post-3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.cat-post-4 { grid-column: 3 / 5; grid-row: 2 / 3; }
.cat-post-4 .cat-post-image { width: 50%; height: 100%; float: left; }
.cat-post-4 .cat-post-body { width: 50%; height: 100%; float: right; padding: 1.5rem; }
.cat-post-4 .cat-post-title { font-size: 1.25rem; }

/* ========================================
   POSTS GRID
   ======================================== */
.posts-grid {
    max-width: var(--max-width);
    margin: 2rem auto; padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.post-card {
    background: var(--color-surface);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(191,163,111,0.08);
}
.post-card-link { display: block; color: var(--color-text); }
.post-card-image { height: 220px; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-placeholder {
    background: linear-gradient(135deg, var(--color-surface-2), var(--color-surface));
    height: 220px;
}
.post-card-body { padding: 1.25rem; }
.post-card-category {
    font-family: var(--font-head);
    font-size: 0.65rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--color-gold);
    display: block; margin-bottom: 0.5rem;
}
.post-card-title {
    font-family: var(--font-head);
    font-size: 1.15rem; font-weight: 700;
    line-height: 1.2; margin-bottom: 0.75rem;
}
.post-card-excerpt {
    font-size: 0.9rem; color: var(--color-text-muted);
    line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-date {
    font-size: 0.75rem; color: var(--color-text-muted);
    margin-top: 1rem; display: block;
}

/* ========================================
   SINGLE POST
   ======================================== */
.content-wrapper { max-width: var(--max-width); margin: 0 auto; padding: 2rem; }
.content-single .primary { max-width: 900px; margin: 0 auto; }
.single-post { margin-bottom: 3rem; }
.single-header { margin-bottom: 2rem; }
.single-meta-top {
    display: flex; gap: 1rem; align-items: center;
    margin-bottom: 1rem;
}
.single-category {
    font-family: var(--font-head);
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--color-gold);
}
.single-date { font-size: 0.8rem; color: var(--color-text-muted); }
.single-title {
    font-family: var(--font-head);
    font-size: 3rem; font-weight: 900;
    line-height: 1.1; margin-bottom: 1rem;
}
.single-lead {
    font-size: 1.25rem; color: var(--color-text-muted);
    font-style: italic; line-height: 1.5;
}
.single-featured-image {
    margin: 2rem 0; position: relative;
}
.single-featured-image img { width: 100%; border-radius: 4px; }
.single-featured-image figcaption {
    font-size: 0.8rem; color: var(--color-text-muted);
    margin-top: 0.5rem; font-style: italic;
}
.single-content {
    font-size: 1.1rem; line-height: 1.8;
    color: var(--color-text);
}
.single-content h2, .single-content h3, .single-content h4 {
    font-family: var(--font-head);
    margin: 2rem 0 1rem;
    color: var(--color-gold-light);
    font-weight: 700;
}
.single-content h2 { font-size: 1.75rem; }
.single-content h3 { font-size: 1.4rem; }
.single-content p { margin-bottom: 1.5rem; }
.single-content a { border-bottom: 1px solid var(--color-gold-dark); color: var(--color-gold); }
.single-content a:hover { border-bottom-color: var(--color-gold); }
.single-content blockquote {
    border-left: 4px solid var(--color-gold);
    padding-left: 1.5rem; margin: 2rem 0;
    font-style: italic; color: var(--color-text-muted);
}
.single-content ul, .single-content ol {
    margin: 1.5rem 0; padding-left: 2rem;
}
.single-content li { margin-bottom: 0.5rem; }
.single-content img { border-radius: 4px; margin: 1.5rem 0; }

.single-footer {
    margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.single-tags { font-size: 0.85rem; color: var(--color-text-muted); }
.single-tags a { color: var(--color-gold); margin-left: 0.5rem; border-bottom: none; }
.single-share { display: flex; gap: 1rem; align-items: center; font-size: 0.85rem; }
.single-share a {
    font-family: var(--font-head); font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid var(--color-gold-dark); padding: 0.4rem 0.8rem;
    color: var(--color-text); border-bottom: none;
}
.single-share a:hover { background: var(--color-gold); color: var(--color-bg); }

.post-navigation {
    display: flex; justify-content: space-between;
    gap: 2rem; margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-prev, .nav-next { flex: 1; }
.nav-next { text-align: right; }
.post-navigation a {
    font-family: var(--font-head); font-weight: 700;
    display: block; margin-top: 0.5rem; color: var(--color-text);
}
.post-navigation a:hover { color: var(--color-gold); }

.related-posts { margin-top: 3rem; }
.related-title {
    font-family: var(--font-head);
    font-size: 1.25rem; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 1.5rem;
    color: var(--color-gold);
}
.related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
}

/* ========================================
   PAGES
   ======================================== */
.content-page .primary { max-width: 900px; margin: 0 auto; }
.page-header { margin-bottom: 2rem; }
.page-title {
    font-family: var(--font-head);
    font-size: 2.5rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.page-subtitle {
    font-size: 1.1rem; color: var(--color-text-muted);
    font-style: italic;
}
.page-body {
    font-size: 1.1rem; line-height: 1.8;
}
.page-body h2 {
    font-family: var(--font-head);
    color: var(--color-gold-light); margin: 2rem 0 1rem;
    font-size: 1.5rem; font-weight: 700;
}
.page-body h3 {
    font-family: var(--font-head);
    color: var(--color-gold); margin: 1.5rem 0 0.75rem;
    font-size: 1.25rem;
}
.page-body p { margin-bottom: 1.5rem; }
.page-body ul, .page-body ol { margin: 1rem 0; padding-left: 2rem; }
.page-body a { border-bottom: 1px solid var(--color-gold-dark); }

/* Directorio */
.directorio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    margin-top: 2rem;
}
.staff-card {
    background: var(--color-surface);
    padding: 1.5rem;
    display: flex; gap: 1rem;
    align-items: flex-start;
    border-left: 3px solid var(--color-gold-dark);
    transition: border-color 0.3s ease;
}
.staff-card:hover { border-left-color: var(--color-gold); }
.staff-avatar {
    width: 60px; height: 60px; min-width: 60px;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 1.5rem;
    font-weight: 900; color: var(--color-bg);
}
.staff-name {
    font-family: var(--font-head); font-size: 1.1rem;
    font-weight: 700; margin-bottom: 0.25rem;
}
.staff-role {
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--color-gold);
    display: block; margin-bottom: 0.5rem;
}
.staff-bio {
    font-size: 0.9rem; color: var(--color-text-muted);
    line-height: 1.5;
}

/* Contacto */
.contacto-body {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
    margin-top: 2rem;
}
.contacto-info p { margin-bottom: 0.5rem; color: var(--color-text-muted); }
.contacto-info strong { color: var(--color-text); }
.contacto-info a { color: var(--color-gold); font-size: 1.1rem; border-bottom: none; }
.contacto-form label {
    display: block; font-family: var(--font-head);
    font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}
.contacto-form input,
.contacto-form textarea {
    width: 100%; background: var(--color-surface);
    border: 1px solid #333; color: var(--color-text);
    padding: 0.75rem; margin-bottom: 1.25rem;
    font-family: var(--font-body); font-size: 1rem;
    transition: border-color 0.3s;
}
.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none; border-color: var(--color-gold);
}
.btn-primary {
    display: inline-block; background: var(--color-gold);
    color: var(--color-bg); font-family: var(--font-head);
    font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; font-size: 0.8rem;
    padding: 0.75rem 2rem; border: 2px solid var(--color-gold);
    cursor: pointer; transition: all 0.3s ease;
}
.btn-primary:hover {
    background: transparent; color: var(--color-gold);
}
.form-note {
    font-size: 0.8rem; color: var(--color-text-muted);
    margin-top: 1rem;
}

/* ========================================
   ARCHIVES & 404
   ======================================== */
.archive-header {
    max-width: var(--max-width); margin: 3rem auto 2rem;
    padding: 0 2rem;
}
.archive-header h1 {
    font-family: var(--font-head);
    font-size: 2rem; text-transform: uppercase;
    letter-spacing: 2px;
}
.archive-desc { color: var(--color-text-muted); margin-top: 0.5rem; }

.error-404 {
    text-align: center; padding: 6rem 2rem;
    max-width: 600px; margin: 0 auto;
}
.error-code {
    font-family: var(--font-head);
    font-size: 8rem; font-weight: 900;
    color: var(--color-gold); line-height: 1;
    opacity: 0.3;
}
.error-404 h2 {
    font-family: var(--font-head); font-size: 1.5rem;
    margin-bottom: 1rem;
}
.error-404 p { color: var(--color-text-muted); margin-bottom: 2rem; }

.nav-links {
    display: flex; justify-content: center; gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}
.page-numbers {
    font-family: var(--font-head);
    padding: 0.5rem 1rem; border: 1px solid #333;
    color: var(--color-text); text-decoration: none;
}
.page-numbers.current { background: var(--color-gold); color: var(--color-bg); border-color: var(--color-gold); }
.page-numbers:hover:not(.current) { border-color: var(--color-gold); color: var(--color-gold); }

.breadcrumbs {
    font-size: 0.8rem; color: var(--color-text-muted);
    margin-bottom: 2rem;
}
.breadcrumbs a { color: var(--color-text-muted); border-bottom: none; }
.breadcrumbs a:hover { color: var(--color-gold); }
.bc-sep { margin: 0 0.5rem; opacity: 0.5; }

/* ========================================
   SIDEBAR & WIDGETS
   ======================================== */
.widget-area {
    max-width: var(--max-width); margin: 0 auto 3rem;
    padding: 0 2rem;
}
.widget { margin-bottom: 2rem; }
.widget-title {
    font-family: var(--font-head);
    font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--color-gold);
    margin-bottom: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--color-surface);
    border-top: 1px solid rgba(191,163,111,0.15);
    margin-top: 4rem;
    padding: 3rem 2rem 2rem;
}
.footer-inner {
    max-width: var(--max-width); margin: 0 auto;
}
.footer-widgets {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem; margin-bottom: 3rem;
}
.footer-widget-title {
    font-family: var(--font-head);
    font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--color-gold);
    margin-bottom: 1rem;
}
.footer-navigation {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0; margin-bottom: 2rem;
}
.footer-menu {
    list-style: none; display: flex;
    justify-content: center; flex-wrap: wrap; gap: 2rem;
    margin: 0; padding: 0;
}
.footer-menu li { margin: 0; }
.footer-menu a {
    font-family: var(--font-head);
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--color-text-muted);
    border-bottom: none;
}
.footer-menu a:hover { color: var(--color-gold); }
.footer-bottom {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
    font-size: 0.8rem; color: var(--color-text-muted);
}
.footer-bottom a { color: var(--color-gold); border-bottom: none; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1fr; height: auto; }
    .hero-main { grid-row: 1 / 2; grid-column: 1 / 3; height: 400px; }
    .hero-side-1 { grid-column: 1 / 2; grid-row: 2 / 3; height: 250px; }
    .hero-side-2 { grid-column: 2 / 3; grid-row: 2 / 3; height: 250px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .cat-post-1 { grid-column: 1 / 3; grid-row: auto; height: 400px; }
    .cat-post-2, .cat-post-3, .cat-post-4 { grid-column: auto; grid-row: auto; height: 300px; }
    .cat-post-4 .cat-post-image, .cat-post-4 .cat-post-body { width: auto; height: auto; float: none; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .directorio-grid { grid-template-columns: 1fr; }
    .contacto-body { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; padding: 1rem; }
    .site-logo { width: 200px; }
    .site-slogan { margin-left: 0; font-size: 0.6rem; }
    .menu-toggle { display: flex; }
    .nav-menu { display: none; flex-direction: column; width: 100%; gap: 1rem; padding-top: 1rem; }
    .nav-menu.active { display: flex; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-main, .hero-side-1, .hero-side-2 { grid-column: 1 / -1; grid-row: auto; height: 350px; }
    .hero-main .hero-title { font-size: 1.8rem; }
    .hero-title { font-size: 1.4rem; }
    .category-grid { grid-template-columns: 1fr; }
    .cat-post-1 { grid-column: 1 / -1; height: auto; }
    .cat-post-1 .cat-post-image { height: 250px; }
    .cat-post { height: auto; }
    .cat-post-image { height: 200px; }
    .posts-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .single-title { font-size: 2rem; }
    .post-navigation { flex-direction: column; gap: 1rem; }
    .nav-next { text-align: left; }
    .single-footer { flex-direction: column; }
    .contacto-body { gap: 2rem; }
    .directorio-grid { grid-template-columns: 1fr; }
    .ad-section { padding: 0 1rem; }
    .category-section { padding: 0 1rem; }
    .posts-grid { padding: 0 1rem; }
    .content-wrapper { padding: 1rem; }
}

@media (max-width: 480px) {
    .hero-main { height: 300px; }
    .hero-side-1, .hero-side-2 { height: 200px; }
    .hero-main .hero-title { font-size: 1.4rem; }
    .hero-excerpt { display: none; }
    .section-header { flex-direction: column; gap: 0.5rem; }
    .page-title { font-size: 1.8rem; }
    .single-title { font-size: 1.6rem; }
    .staff-card { flex-direction: column; align-items: center; text-align: center; }
}
