/* ACMOBOOK responsive header & layout overrides */

/* ----------------------------------------------------------
   Desktop-only / mobile-only visibility
---------------------------------------------------------- */

@media (max-width: 991.98px) {
    .desktop-only {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }
}

/* ----------------------------------------------------------
   Container responsive padding
---------------------------------------------------------- */

@media (max-width: 575.98px) {
    .container,
    .container-xl {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .container,
    .container-xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* ----------------------------------------------------------
   Typography responsive scale
---------------------------------------------------------- */

@media (max-width: 767.98px) {
    .section-head h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        letter-spacing: -1px;
    }

    .section-head p {
        font-size: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .section-head h2 {
        font-size: clamp(2rem, 5vw, 3rem);
        letter-spacing: -1.5px;
    }
}

/* ----------------------------------------------------------
   Section spacing
---------------------------------------------------------- */

@media (max-width: 767.98px) {
    .section {
        padding: 60px 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .section {
        padding: 80px 0;
    }
}

/* ----------------------------------------------------------
   Grid helpers
---------------------------------------------------------- */

@media (max-width: 767.98px) {
    .grid-2-col,
    .grid-3-col {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ----------------------------------------------------------
   Touch-friendly tap targets on mobile
---------------------------------------------------------- */

@media (max-width: 991.98px) {
    .btn,
    .acmo-btn,
    .footer-column a,
    .footer-social a {
        min-height: 44px;
        min-width: 44px;
    }
}
