/**
 * Mobile & Tablet-Specific Overrides
 * Loaded on screens <= 899px (matches the 900px desktop nav breakpoint)
 * 
 * @package EasyFM
 * @since 1.0.0
 */

/* ==========================================
   SHARED MOBILE/TABLET (≤899px)
   ========================================== */

.hero-title {
    font-size: 24px;
}

.nav-menu a {
    font-size: 18px;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0px, rgba(255, 255, 255, 0.8) 50px, rgba(255, 255, 255, 0) 90px);
}

.hero-content {
    padding-left: var(--spacing-xs);
    padding-right: var(--spacing-xs);
}

/* ==========================================
   SMALL TABLET / LARGE PHONE (≤768px)
   ========================================== */

@media (max-width: 768px) {
    .hero-home {
        height: 40vh;
        min-height: 420px;
    }

    .hero-internal {
        height: 220px;
        min-height: 220px;
    }

    .hero-title {
        font-size: 22px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .btn.btn-large {
        font-size: 24px;
        padding-left: 20px !important;
        padding-right: 12px !important;
    }

    .btn-icon {
        width: 32px;
        height: 32px;
    }

    .hero-cta .btn-icon svg {
        width: 24px;
        height: 24px;
    }

    .sponsors-title {
        font-size: 24px;
        padding: 20px 0 20px;
    }

    .entry-title {
        font-size: 32px;
    }

    .entry-content h1,
    .entry-content .wp-block-heading:is(h1) {
        font-size: 32px;
    }

    .entry-content h2,
    .entry-content .wp-block-heading:is(h2) {
        font-size: 26px;
    }

    .entry-content h3,
    .entry-content .wp-block-heading:is(h3) {
        font-size: 22px;
    }

    .entry-content h4,
    .entry-content .wp-block-heading:is(h4) {
        font-size: 24px;
    }
}

/* ==========================================
   PHONE (≤600px)
   ========================================== */

@media (max-width: 600px) {
    .hero-home {
        height: 45vh;
        min-height: 400px;
    }

    .hero-internal {
        height: 200px;
        min-height: 200px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-cta {
        margin-top: var(--spacing-xs);
    }

    .sponsors-title {
        font-size: 22px;
        padding: 16px 0 16px;
    }

    .sponsors-grid,
    .sponsors-grid-major {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .entry-title {
        font-size: 32px;
    }

    .entry-content h1,
    .entry-content .wp-block-heading:is(h1) {
        font-size: 32px;
    }

    .entry-content h2,
    .entry-content .wp-block-heading:is(h2) {
        font-size: 22px;
    }

    .entry-content h3,
    .entry-content .wp-block-heading:is(h3) {
        font-size: 20px;
    }

    .entry-content h4,
    .entry-content .wp-block-heading:is(h4) {
        font-size: 24px;
    }
}

/* ==========================================
   SMALL PHONE (≤480px)
   ========================================== */

@media (max-width: 480px) {
    .hero-home {
        min-height: 380px;
    }

    .hero-internal {
        height: 180px;
        min-height: 180px;
    }

    .hero-title {
        font-size: 18px;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0px, rgba(255, 255, 255, 0.8) 40px, rgba(255, 255, 255, 0) 70px);
    }

    .btn.btn-large {
        font-size: 20px;
        padding-left: 16px !important;
        padding-right: 10px !important;
    }

    .btn-icon {
        width: 28px;
        height: 28px;
    }

    .hero-cta .btn-icon svg {
        width: 20px;
        height: 20px;
    }

    .sponsors-title {
        font-size: 20px;
        padding: 12px 0 12px;
    }

    /* Hide volume slider on very small screens */
    .volume-slider {
        display: none;
    }

    .player-container {
        grid-template-columns: auto 50px 1fr auto;
        grid-template-areas:
            "logo artwork info controls";
    }

    .player-volume {
        grid-area: controls;
        margin-left: var(--spacing-xs);
    }

    .btn-volume {
        display: none;
    }

    .player-artwork {
        width: 50px;
        height: 50px;
    }

    .track-title {
        font-size: 15px;
    }

    .track-artist {
        font-size: 15px;
    }
}

/* ==========================================
   VERY SMALL PHONE (≤375px)
   ========================================== */

@media (max-width: 375px) {
    .hero-home {
        min-height: 380px;
    }

    .hero-internal {
        height: 140px;
        min-height: 140px;
    }

    .hero-title {
        font-size: 16px;
    }

    .sponsors-grid,
    .sponsors-grid-major {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .entry-title {
        font-size: 32px;
    }

    .entry-content h1,
    .entry-content .wp-block-heading:is(h1) {
        font-size: 32px;
    }

    .entry-content h2,
    .entry-content .wp-block-heading:is(h2) {
        font-size: 20px;
    }

    .entry-content h4,
    .entry-content .wp-block-heading:is(h4) {
        font-size: 24px;
    }
}
