/* ==========================================================================
   OYE GUANAJUATO - DISEÑO RESPONSIVE ESPECÍFICO (TABLET Y MÓVIL)
   ========================================================================== */

/* TABLETS Y PANTALLAS MEDIANAS (1024px y menor) */
@media (max-width: 1024px) {
    .oye-hero-layout {
        grid-template-columns: 1fr;
    }
    
    .oye-hero-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .oye-sidebar-ad-slot {
        grid-column: 1 / -1;
    }
    
    .oye-hero-subgrid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .oye-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .oye-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .oye-grid-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .oye-opinion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .oye-reels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .oye-single-grid {
        grid-template-columns: 1fr;
    }
    
    .oye-footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* SMARTPHONES Y PANTALLAS PEQUEÑAS (768px y menor) */
@media (max-width: 768px) {
    /* Barra superior compacta */
    .oye-top-bar-inner {
        flex-direction: column;
        gap: 0.4rem;
        align-items: flex-start;
    }
    .oye-top-left {
        width: 100%;
        justify-content: space-between;
    }
    .oye-top-right {
        display: none; /* Redes en footer y drawer */
    }
    
    /* Encabezado */
    .oye-header-inner {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }
    .oye-brand-area {
        flex-direction: column;
        gap: 0.5rem;
    }
    .oye-slogan-wrap {
        display: none; /* Simplificado en móvil */
    }
    .oye-header-search {
        width: 100%;
    }
    .oye-search-form {
        width: 100%;
    }
    
    /* Menú móvil interactivo */
    .oye-mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        background: transparent;
        border: none;
        color: #FFFFFF;
        font-family: inherit;
        font-weight: 800;
        font-size: 0.9rem;
        padding: 0.85rem 0;
        cursor: pointer;
        width: 100%;
    }
    .oye-hamburger-box {
        width: 24px;
        height: 18px;
        position: relative;
        display: inline-block;
    }
    .oye-hamburger-inner,
    .oye-hamburger-inner::before,
    .oye-hamburger-inner::after {
        width: 24px;
        height: 2px;
        background-color: var(--oye-accent);
        position: absolute;
        transition: transform 0.2s ease;
    }
    .oye-hamburger-inner {
        top: 8px;
    }
    .oye-hamburger-inner::before {
        content: '';
        top: -7px;
    }
    .oye-hamburger-inner::after {
        content: '';
        top: 7px;
    }
    
    .oye-nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--oye-primary-light);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .oye-nav-list.active {
        display: flex;
    }
    .oye-nav-item > a {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .oye-sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        padding-left: 1rem;
    }
    
    /* Ticker en móvil */
    .oye-ticker-container {
        gap: 0.5rem;
    }
    .oye-ticker-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    .oye-ticker-item {
        font-size: 0.78rem;
    }
    
    /* Hero en móvil */
    .oye-card-lead {
        min-height: 320px;
    }
    .oye-card-lead-title {
        font-size: 1.35rem;
        line-height: 1.3;
    }
    .oye-card-lead-excerpt {
        display: none;
    }
    .oye-card-lead-content {
        padding: 1.25rem;
    }
    .oye-hero-sidebar {
        grid-template-columns: 1fr;
    }
    
    /* Grids en móvil */
    .oye-hero-subgrid {
        grid-template-columns: 1fr;
    }
    .oye-grid-4,
    .oye-grid-3,
    .oye-grid-2 {
        grid-template-columns: 1fr;
    }
    .oye-opinion-grid {
        grid-template-columns: 1fr;
    }
    
    /* Reels en móvil: Desplazamiento horizontal fluido tipo feed */
    .oye-reels-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
    }
    .oye-reel-card {
        flex: 0 0 240px;
        scroll-snap-align: start;
    }
    
    /* Publicidad móvil: Evitar desbordes */
    .oye-ad-wrapper {
        max-width: 100%;
        overflow: hidden;
    }
    .oye-ad-placeholder {
        padding: 1rem;
        min-height: 70px;
    }
    .oye-ad-placeholder-label {
        font-size: 0.7rem;
    }
    .oye-ad-placeholder-sub {
        font-size: 0.62rem;
    }
    
    /* Artículo individual en móvil */
    .oye-single-content-col {
        padding: 1.25rem;
    }
    .oye-single-title {
        font-size: 1.65rem;
    }
    .oye-single-lead {
        font-size: 1rem;
    }
    .oye-single-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .oye-bottom-share {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Footer en móvil */
    .oye-footer-top {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .oye-footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}
