/*
Theme Name: Radio Presidente Ibáñez
Theme URI: https://www.radiopresidenteibanez.cl
Author: Rodrigo Oyarzún Márquez
Author URI: https://www.Server-Chile.Net
Description: Tema personalizado para Radio Presidente Ibáñez con diseño moderno y ancho completo.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ibanez
Tags: full-width, custom-colors, radio, broadcasting
*/

/* Reset y configuración general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100%;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

/* Asegurar que no hay espacio en páginas single/page */
body.single,
body.single-post,
body.page {
    margin: 0 !important;
    padding: 0 !important;
}

/* Contenedor principal - ancho completo */
.site-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

/* Menú superior negro */
.top-menu {
    background-color: #2b2b2b;
    color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
    width: 100%;
}

.top-menu-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-menu-left {
    color: #ffffff;
}

.top-menu-right ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.top-menu-right ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.top-menu-right ul li a:hover {
    color: #ff8c00;
}

/* Cabecera con logo y banner */
.site-header {
    background-color: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.site-logo {
    flex: 0 0 auto;
}

.site-logo img {
    max-height: 200px;
    width: auto;
    height: auto;
    display: block;
}

.header-banner {
    flex: 1;
    text-align: right;
}

.header-banner img {
    max-width: 100%;
    height: auto;
}

/* Menú de navegación principal (naranja) */
.main-navigation {
    background-color: #ff8c00;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.main-navigation-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Botón hamburguesa (oculto por defecto) */
.menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    padding: 15px 20px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1000;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.3s;
}

.main-navigation ul li a:hover {
    background-color: #e67e00;
}

.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_item a {
    background-color: #d67400;
}

/* Icono de búsqueda en el menú */
.menu-search-icon {
    padding: 15px 20px;
    color: #ffffff;
    cursor: pointer;
    margin-left: auto;
}

/* Contenido principal */
.site-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: 500px;
}

/* Pie de página negro */
.site-footer {
    background-color: #2b2b2b;
    color: #ffffff;
    padding: 30px 0;
    margin: 0;
    width: 100%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-content p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-content a {
    color: #ff8c00;
    text-decoration: none;
}

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

/* Estilos para listado de posts */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 20px;
}

.entry-title {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.entry-title a {
    color: #2b2b2b;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.entry-title a:hover {
    color: #ff8c00;
    transform: translateX(5px);
}

.entry-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.entry-meta span {
    display: inline-block;
}

.entry-summary {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.read-more {
    color: #ff8c00;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Paginación */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #ff8c00;
    color: #ffffff;
    border-color: #ff8c00;
}

.pagination .current {
    background-color: #ff8c00;
    color: #ffffff;
    border-color: #ff8c00;
}

/* Estilos para post individual */
.single-post-container,
.page-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

.page-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.single-page .entry-header {
    margin-bottom: 30px;
}

.single-page .entry-title {
    text-align: left;
}

.content-sidebar-wrap {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 40px;
    align-items: flex-start;
}

.main-content-area {
    flex: 1;
    min-width: 0;
}

.single-post,
.single-page {
    background: #ffffff;
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.single-post .entry-header,
.single-post .entry-content,
.single-post .entry-tags,
.single-post .post-thumbnail-single {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Sidebar */
.sidebar {
    flex: 0 0 400px;
    width: 400px;
    max-width: 400px;
    min-width: 400px;
    background: #f5f5f5;
    padding: 30px;
    border-radius: 5px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.sidebar .widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar .widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar .widget-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff8c00;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar ul li:last-child {
    border-bottom: none;
}

.sidebar ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar ul li a:hover {
    color: #ff8c00;
}

/* Contenido del sidebar responsive */
.sidebar img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sidebar iframe,
.sidebar video,
.sidebar embed,
.sidebar object {
    max-width: 100%;
    height: auto;
}

.sidebar table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.sidebar .widget > * {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.single-post .entry-title,
.single-page .entry-title {
    font-size: 42px;
    margin-bottom: 25px;
    color: #2b2b2b;
    line-height: 1.3;
    padding: 0;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.single-post .entry-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff8c00 0%, #ffa500 100%);
    border-radius: 2px;
}

.single-post .entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff8c00;
}

.post-thumbnail-single img,
.page-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 35px;
    border-radius: 5px;
    max-height: 600px;
    object-fit: cover;
}

.entry-content {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
    max-width: 100%;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #333;
}

.entry-content h3 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #333;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
}

.entry-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: background-color 0.3s;
}

.entry-tags a:hover {
    background-color: #ff8c00;
    color: #ffffff;
}

/* Posts Relacionados */
.related-posts {
    margin: 50px 0;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 10px;
}

.related-posts-title {
    font-size: 28px;
    color: #2b2b2b;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff8c00;
    position: relative;
}

.related-posts-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #ff8c00;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-post-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.related-post-title a {
    color: #2b2b2b;
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-title a:hover {
    color: #ff8c00;
}

.related-post-meta {
    font-size: 13px;
    color: #888;
}

.related-post-date {
    display: flex;
    align-items: center;
}

/* Navegación entre posts */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px auto;
    gap: 25px;
    max-width: 1400px;
    padding: 0 60px;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 48%;
}

.post-navigation a {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.post-navigation a:hover {
    border-color: #ff8c00;
    background: #fff5eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,140,0,0.15);
}

.nav-previous a::before {
    content: "←";
    font-size: 24px;
    margin-right: 15px;
    color: #ff8c00;
}

.nav-next a {
    justify-content: flex-end;
    text-align: right;
}

.nav-next a::after {
    content: "→";
    font-size: 24px;
    margin-left: 15px;
    color: #ff8c00;
}

/* Sin posts */
.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.no-posts h2 {
    color: #333;
    margin-bottom: 15px;
}

/* Categorías */
.categories a {
    color: #ff8c00;
    text-decoration: none;
}

.categories a:hover {
    text-decoration: underline;
}

/* Archivo de categorías y etiquetas */
.archive-container {
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 40px;
}

/* Layout con sidebar en categorías */
.archive-content-wrap {
    display: flex;
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
    gap: 25px;
    align-items: flex-start;
}

.archive-main-content {
    flex: 1;
    min-width: 0;
}

.archive-sidebar {
    flex: 0 0 400px;
    width: 400px;
    max-width: 400px;
    min-width: 400px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.archive-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
    color: #ffffff;
    margin-bottom: 60px;
    border-radius: 5px;
}

.archive-title {
    font-size: 38px;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

/* Página 404 */
.error-404-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.error-404-content {
    text-align: center;
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.error-404-title {
    font-size: 120px;
    color: #ff8c00;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1;
}

.error-404-subtitle {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.error-404-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.error-404-search {
    margin: 30px 0;
}

.error-404-search form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.error-404-search input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
}

.error-404-search input[type="submit"] {
    padding: 12px 30px;
    background-color: #ff8c00;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.error-404-search input[type="submit"]:hover {
    background-color: #e67e00;
}

.btn-home {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ff8c00;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.btn-home:hover {
    background-color: #e67e00;
}

.error-404-widgets {
    margin-top: 40px;
    text-align: left;
}

/* Formulario de búsqueda */
.search-form {
    display: flex;
    max-width: 100%;
    gap: 5px;
}

.search-form label {
    flex: 1;
    margin: 0;
}

.search-field {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 3px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.search-field:focus {
    outline: none;
    border-color: #ff8c00;
}

.search-submit {
    padding: 10px 25px;
    background-color: #ff8c00;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

.search-submit:hover {
    background-color: #e67e00;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Resultados de búsqueda */
.search-results-container {
    max-width: 1400px;
    margin: 0 auto;
}

.search-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
    color: #ffffff;
    margin-bottom: 30px;
    border-radius: 5px;
}

.search-title {
    font-size: 28px;
    color: #ffffff;
}

.search-title span {
    font-weight: bold;
    font-style: italic;
}

.search-results-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 5px;
}

.no-results h2 {
    color: #333;
    margin-bottom: 15px;
}

.search-again {
    max-width: 500px;
    margin: 30px auto;
}

/* ==========================================================================
   CALENDARIO WIDGET
   ========================================================================== */

.widget_calendar {
    background: #ffffff;
    padding: 0;
    border-radius: 8px;
}

.widget_calendar table {
    width: 95% !important;
    margin: 0 auto !important;
}

#wp-calendar {
    width: 95% !important;
    max-width: 95% !important;
    border-collapse: collapse;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin: 0 auto !important;
    border-radius: 8px;
    overflow: hidden;
    display: table;
}

#wp-calendar caption {
    font-size: 16px;
    font-weight: 700;
    padding: 15px;
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
    color: #ffffff;
    text-align: center;
    width: 100%;
    display: table-caption;
}

#wp-calendar thead {
    background: #f8f8f8;
}

#wp-calendar thead th {
    padding: 12px 8px;
    font-weight: 600;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #ff8c00;
}

#wp-calendar tbody td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #f0f0f0;
    color: #666;
    transition: all 0.3s ease;
    font-size: 13px;
}

#wp-calendar tbody td:hover {
    background: #fff5eb;
    color: #ff8c00;
}

#wp-calendar tbody td a {
    display: block;
    width: 100%;
    color: #ff8c00;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

#wp-calendar tbody td a:hover {
    background: #ff8c00;
    color: #ffffff;
    border-radius: 4px;
}

#wp-calendar tbody td#today {
    background: #ff8c00;
    color: #ffffff;
    font-weight: 700;
    border-radius: 4px;
}

#wp-calendar tbody td.pad {
    background: #fafafa;
    color: #ccc;
}

#wp-calendar tfoot td {
    padding: 12px;
    border-top: 2px solid #f0f0f0;
    background: #f8f8f8;
    font-size: 12px;
}

#wp-calendar tfoot td a {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

#wp-calendar tfoot td a:hover {
    color: #2b2b2b;
}

#wp-calendar tfoot #prev {
    text-align: left;
}

#wp-calendar tfoot #next {
    text-align: right;
}
    text-align: left;
}

#wp-calendar tfoot #next {
    text-align: right;
}

/* Responsive */

/* Tablet y pantallas medianas */
@media (max-width: 1024px) {
    .site-header .header-content {
        padding: 15px 20px;
    }
    
    .site-logo img {
        max-height: 60px;
        width: auto;
        height: auto;
    }
    
    /* Menú hamburguesa en tablet */
    .main-navigation ul {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    .main-navigation ul.active {
        max-height: 1000px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-navigation ul li:last-child {
        border-bottom: none;
    }
    
    .main-navigation ul li a {
        text-align: center;
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .content-sidebar-wrap {
        gap: 30px;
    }
    
    .sidebar {
        flex: 0 0 350px;
        width: 350px;
        max-width: 350px;
        min-width: 350px;
    }
    
    /* Posts relacionados en tablet */
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Sidebar en categorías - tablet */
    .archive-sidebar {
        flex: 0 0 350px;
        width: 350px;
        max-width: 350px;
        min-width: 350px;
    }
}

/* Móviles y tablets pequeñas */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .site-logo {
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
    }
    
    .site-logo img {
        max-height: none;
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    .header-banner {
        text-align: center;
        width: 100%;
    }
    
    .top-menu {
        padding: 10px;
    }
    
    .top-menu-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .top-menu-right ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .top-menu-right ul li a {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    .main-navigation ul.active {
        max-height: 1000px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-navigation ul li:last-child {
        border-bottom: none;
    }
    
    .main-navigation ul li a {
        text-align: center;
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Posts relacionados responsive */
    .related-posts {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .related-posts-title {
        font-size: 24px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .single-post,
    .single-page {
        padding: 0;
    }
    
    .content-sidebar-wrap {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }
    
    /* Sidebar en categorías - móvil */
    .archive-content-wrap {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }
    
    .archive-sidebar {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        position: static;
    }
    
    .sidebar {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        position: static;
        padding: 20px;
    }
    
    .single-post .entry-title,
    .single-page .entry-title {
        font-size: 28px;
    }
    
    .entry-content {
        font-size: 16px;
    }
    
    .post-navigation {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
        margin: 30px auto;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
    
    .post-navigation a {
        padding: 18px 20px;
        font-size: 15px;
    }
    
    .nav-next a {
        justify-content: flex-start;
        text-align: left;
        flex-direction: row-reverse;
    }
    
    .nav-next a::after {
        margin-left: 0;
        margin-right: 15px;
    }
    
    .archive-container {
        padding: 20px;
    }
    
    .archive-header h1 {
        font-size: 28px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .site-logo {
        max-width: 250px;
        width: 100%;
    }
    
    .site-logo img {
        max-height: none;
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    .top-menu-content span {
        font-size: 11px;
    }
    
    .main-navigation ul li a {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .menu-toggle {
        font-size: 24px;
        padding: 12px 15px;
    }
    
    .single-post .entry-title,
    .single-page .entry-title {
        font-size: 22px;
    }
    
    .entry-content {
        font-size: 15px;
    }
    
    .sidebar {
        padding: 15px;
    }
    
    .sidebar .widget {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .sidebar .widget-title {
        font-size: 18px;
    }
    
    .archive-header h1 {
        font-size: 22px;
    }
    
    .site-footer {
        padding: 20px;
        font-size: 13px;
    }
}
