/*
Theme Name: Educare Overseas
Description: Custom theme converted from the Educare Overseas HTML site. Header, Footer, Team and Services are managed from the admin sidebar; the Home page is edited from Pages → Home → Edit.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: educare
*/

/* Site styles live in css/style.css (copied from the HTML theme). */

/* WordPress-only tweaks (kept here so re-running wp-export.js, which replaces css/style.css, won't undo them) */
/* Footer: About | Contact | MBBS Abroad | Quick Link | Study Abroad */
.footer__grid { grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Mobile menu: the slide-in panel lives inside the sticky header, whose z-index (100)
   traps it below the dark page overlay (150), so the overlay blocked every tap.
   Lift the header above the overlay while the menu is open. */
body.nav-open .header { z-index: 160; }

/* Logged-in users: keep the sticky header and the mobile menu below the WordPress admin bar. */
body.admin-bar .header { top: 32px; }
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header, body.admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .header { top: 0; } } /* admin bar scrolls away here */
@media (min-width: 1201px) { body.admin-bar .nav { top: auto; } }
