/**
 * Responsive CSS — Wombats Blog
 */

/* ==========================================================================
   TABLET (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .nav-main { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header-nav-actions .nav-cta-btn { display: none; }

    .slot-hero-side { display: none; }
    .slot-cabinet { max-width: 440px; }

    .topics-magazine {
        grid-template-columns: 1fr 1fr;
    }
    .topic-feature-1 { grid-column: 1 / 3; grid-row: 1; }
    .topic-feature-2 { grid-column: 1; grid-row: 2; }
    .topic-feature-3 { grid-column: 2; grid-row: 2; }
    .topic-feature-4 { grid-column: 1; grid-row: 3; }
    .topics-small-grid { grid-column: 1 / 3; grid-row: 4; }

    .howwe-grid { grid-template-columns: repeat(2, 1fr); }

    .cta-content { flex-direction: column; text-align: center; }
    .cta-actions { flex-direction: row; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / 3; }

    .recent-grid { grid-template-columns: 1fr; }
    .recent-card-featured { grid-row: auto; }
}

/* ==========================================================================
   MOBILE (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --brand-bar-height: 40px;
        --header-height: 50px;
        --total-header-height: 90px;
    }

    .header-brand-tagline { display: none; }
    .header-logo img { height: 32px; }

    .slot-hero { min-height: 100svh; max-height: none; }
    .slot-cabinet { padding: 14px; margin: 0 12px; }
    .slot-reel { height: 180px; }
    .slot-symbol { height: 60px; font-size: 1.8rem; }

    .topics-magazine { grid-template-columns: 1fr; }
    .topic-feature-1,
    .topic-feature-2,
    .topic-feature-3,
    .topic-feature-4 { grid-column: 1; grid-row: auto; }
    .topics-small-grid { grid-column: 1; }

    .section-header-split { flex-direction: column; align-items: flex-start; }
    .howwe-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .howwe-card { padding: 20px 16px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: 1; }

    .cat-card-stack { grid-template-columns: 1fr; }

    .cta-actions { flex-direction: column; width: 100%; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; text-align: center; }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   SMALL MOBILE (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .slot-controls { flex-direction: column; }
    .slot-read-btn { width: 100%; text-align: center; }
    .slot-trust { gap: 6px; }
    .slot-trust-badge { font-size: 0.65rem; padding: 3px 8px; }
    .howwe-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }

    .recent-card-img, .recent-card-featured .recent-card-img { height: 160px; }
}
