/**
 * Responsive CSS - bent4d.it.com
 */

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

@media (max-width: 1024px) {
    .nav-main {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .magazine-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mag-card-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .mag-card-featured img {
        height: 260px;
        min-height: auto;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-img {
        height: 280px;
    }

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

    .cta-banner-text p {
        max-width: none;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-brand {
        grid-column: span 2;
    }

    .stat-divider {
        display: none;
    }

    .stats-row {
        gap: var(--space-2xl);
    }
}

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

@media (max-width: 768px) {
    .header-inner {
        padding: 0 var(--space-lg);
    }

    .hero-title-outline,
    .hero-title-solid {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }

    .hero-trust-row {
        gap: var(--space-xs);
    }

    .hero-trust-pill {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .hero-content {
        padding: var(--space-2xl) 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cat-scroll-row {
        grid-template-columns: 1fr;
    }

    .magazine-grid {
        grid-template-columns: 1fr;
    }

    .mag-card-featured {
        grid-column: span 1;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-brand {
        grid-column: span 1;
    }

    .section-heading {
        font-size: var(--text-2xl);
    }

    .stats-row {
        gap: var(--space-xl);
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: calc(var(--total-header-height) + var(--space-xl)) 0 var(--space-2xl);
    }

    .page-hero h1 {
        font-size: var(--text-3xl);
    }
}

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn-hero,
    .btn-outline-hero {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .magazine-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: var(--space-xl);
    }

    .cta-banner-content {
        gap: var(--space-xl);
    }

    .stat-block {
        flex: 0 0 calc(50% - var(--space-sm));
    }

    .stats-row {
        flex-wrap: wrap;
        gap: var(--space-xl) var(--space-md);
    }

    .hero-trust-pill {
        display: none;
    }

    .hero-trust-pill:nth-child(-n+2) {
        display: inline-flex;
    }
}
