/*
Theme Name:   Anh Thy Education (Child)
Theme URI:    https://anhthyedu.com
Description:  Child theme cho Trung tâm Bán trú & Năng khiếu Anh Thy
Author:       Anh Thy
Template:     astra
Version:      1.0.10
Text Domain:  astra-anhthy
*/

/* =========================================================
   HEADER + LOGO — nền navy trùng logo, chữ vàng
   ========================================================= */
.ast-primary-header-bar,
.main-header-bar,
.ast-main-header-wrap .main-header-bar,
.site-header .ast-main-header-bar-alignment,
.site-header-primary-section-left,
.site-header-primary-section-right,
.site-primary-header-wrap,
.ast-primary-header,
.ast-builder-grid-row {
  background-color: var(--at-logo-blue) !important;
}
/* Logo nhỏ lại, blend vào nền header */
.ast-site-identity .site-logo-img img.custom-logo,
.site-header .custom-logo {
  height: 46px;
  width: auto;
  max-width: 100%;
  border-radius: 0;
}
@media (max-width: 600px) {
  .ast-site-identity .site-logo-img img.custom-logo,
  .site-header .custom-logo { height: 38px; }
}
/* Ẩn chữ "Trung tâm..." cạnh logo */
.site-header .ast-site-title-wrap,
.site-header .site-title,
.site-header .site-description {
  display: none !important;
}
/* Menu chữ vàng */
.main-header-bar .main-navigation a,
.main-header-menu .menu-link,
.main-header-menu .menu-item > a,
.ast-builder-menu-1 .menu-item > .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
  color: var(--at-yellow) !important;
}
.main-header-bar .main-navigation a:hover,
.main-header-menu .menu-item:hover > .menu-link,
.main-header-menu .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .menu-link:hover,
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .current-menu-ancestor > .menu-link {
  color: #ffffff !important;
}
/* Nút menu mobile + dropdown */
.ast-mobile-menu-trigger-minimal,
.main-header-bar .menu-toggle { color: var(--at-yellow) !important; }
.main-header-menu .sub-menu { background-color: var(--at-navy-light) !important; }
.main-header-menu .sub-menu a { color: var(--at-yellow) !important; }

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --at-yellow:      #F5A623;
  --at-yellow-dark: #D4881A;
  --at-yellow-light:#FFF3DC;
  --at-logo-blue:   #203888;
  --at-navy:        #1B2A6B;
  --at-navy-light:  #2E3E8A;
  --at-green:       #27AE60;
  --at-text:        #2C2C2C;
  --at-muted:       #666;
  --at-white:       #FFFFFF;
  --at-bg:          #FAFAFA;
  --at-border:      #E8E8E8;
  --at-radius:      12px;
  --at-radius-lg:   20px;
  --at-shadow:      0 4px 24px rgba(0,0,0,.08);
  --at-shadow-hover:0 8px 40px rgba(245,166,35,.25);
  --at-font-heading:'Nunito', 'Be Vietnam Pro', sans-serif;
  --at-font-body:   'Nunito', 'Be Vietnam Pro', sans-serif;
  --at-max-width:   1200px;
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--at-font-body);
  color: var(--at-text);
  background: var(--at-bg);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; }

a { color: var(--at-yellow-dark); text-decoration: none; }
a:hover { color: var(--at-navy); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--at-font-heading);
  color: var(--at-navy);
  line-height: 1.3;
}

/* =========================================================
   GOOGLE FONTS IMPORT
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

/* =========================================================
   ASTRA OVERRIDES
   ========================================================= */
.ast-container { max-width: var(--at-max-width) !important; }

/* Header */
#masthead,
.site-header {
  background: var(--at-white) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.07) !important;
}

.ast-site-identity .site-title a,
.ast-site-identity .site-title {
  color: var(--at-navy) !important;
  font-weight: 800 !important;
  font-size: 1.4rem !important;
}

/* Nav */
.main-header-menu .menu-item > a,
.ast-header-custom-item a {
  color: var(--at-text) !important;
  font-weight: 600 !important;
  font-size: .95rem !important;
}
.main-header-menu .menu-item > a:hover,
.main-header-menu .current-menu-item > a {
  color: var(--at-yellow-dark) !important;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.at-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s ease;
  border: none;
  text-decoration: none;
}
.at-btn-primary {
  background: var(--at-yellow);
  color: var(--at-white);
}
.at-btn-primary:hover {
  background: var(--at-yellow-dark);
  color: var(--at-white);
  transform: translateY(-2px);
  box-shadow: var(--at-shadow-hover);
}
.at-btn-outline {
  background: transparent;
  color: var(--at-yellow-dark);
  border: 2px solid var(--at-yellow);
}
.at-btn-outline:hover {
  background: var(--at-yellow);
  color: var(--at-white);
}
.at-btn-navy {
  background: var(--at-navy);
  color: var(--at-white);
}
.at-btn-navy:hover {
  background: var(--at-navy-light);
  color: var(--at-white);
  transform: translateY(-2px);
}

/* =========================================================
   SECTION HELPERS
   ========================================================= */
.at-section { padding: 80px 20px; }
.at-section-sm { padding: 48px 20px; }
.at-container { max-width: var(--at-max-width); margin: 0 auto; }

.at-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--at-navy);
  margin-bottom: .5rem;
}
.at-section-subtitle {
  color: var(--at-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.at-title-center { text-align: center; }
.at-divider {
  width: 60px;
  height: 4px;
  background: var(--at-yellow);
  border-radius: 2px;
  margin: .75rem auto 1.5rem;
}
.at-divider-left { margin-left: 0; }

/* =========================================================
   HERO
   ========================================================= */
.at-hero {
  background: linear-gradient(135deg, var(--at-navy) 0%, var(--at-navy-light) 50%, #3a5298 100%);
  color: var(--at-white);
  padding: 100px 20px 80px;
  position: relative;
  overflow: hidden;
}
.at-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.at-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,166,35,.1) 0%, transparent 70%);
  border-radius: 50%;
}
.at-hero-inner {
  max-width: var(--at-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.at-hero-tag {
  display: inline-block;
  background: rgba(245,166,35,.2);
  color: var(--at-yellow);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
}
.at-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--at-white);
  margin: 0 0 1rem;
  line-height: 1.2;
}
.at-hero h1 span { color: var(--at-yellow); }
.at-hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.at-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.at-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 2.5rem;
}
.at-hero-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--at-radius);
  padding: 1.25rem;
  text-align: center;
}
.at-hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--at-yellow);
  display: block;
}
.at-hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-top: .25rem;
}
.at-hero-img {
  border-radius: var(--at-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  aspect-ratio: 4/3;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.at-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =========================================================
   HOTLINE BAR
   ========================================================= */
.at-hotline-bar {
  background: var(--at-yellow);
  color: var(--at-white);
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}
.at-hotline-bar a { color: var(--at-white); }
.at-hotline-bar a:hover { opacity: .85; }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.at-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.at-card {
  background: var(--at-white);
  border-radius: var(--at-radius-lg);
  padding: 2rem;
  box-shadow: var(--at-shadow);
  transition: all .3s ease;
  border: 1px solid var(--at-border);
}
.at-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--at-shadow-hover);
  border-color: var(--at-yellow);
}
.at-card-icon {
  width: 64px;
  height: 64px;
  background: var(--at-yellow-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.at-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.at-card p {
  color: var(--at-muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.at-card-link {
  color: var(--at-yellow-dark);
  font-weight: 700;
  font-size: .9rem;
}

/* =========================================================
   WHY US
   ========================================================= */
.at-why {
  background: linear-gradient(135deg, var(--at-yellow-light) 0%, #fff 100%);
}
.at-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.at-why-img {
  border-radius: var(--at-radius-lg);
  overflow: hidden;
  box-shadow: var(--at-shadow);
  aspect-ratio: 4/3;
}
.at-why-img img { width:100%; height:100%; object-fit:cover; }
/* Năng khiếu — poster từng môn */
.at-mon-row { margin-bottom: 4.5rem; }
.at-mon-row:last-of-type { margin-bottom: 2.5rem; }
.at-mon-poster { display: flex; justify-content: center; }
.at-mon-poster img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--at-radius-lg);
  box-shadow: var(--at-shadow);
}
.at-mon-badge {
  display: inline-block;
  background: var(--at-yellow);
  color: #fff;
  padding: .3rem .9rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
/* Video YouTube nhúng — responsive 16:9 */
.at-video { max-width: 900px; margin: 0 auto; }
.at-video-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: var(--at-radius-lg);
  overflow: hidden;
  box-shadow: var(--at-shadow);
}
.at-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.at-why-items { display: flex; flex-direction: column; gap: 1.5rem; }
.at-why-item { display: flex; gap: 1rem; align-items: flex-start; }
.at-why-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--at-yellow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.at-why-item h4 {
  font-size: 1rem; font-weight: 800; margin-bottom: .25rem;
}
.at-why-item p { color: var(--at-muted); font-size: .9rem; margin:0; }

/* =========================================================
   PRICING
   ========================================================= */
.at-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.at-price-card {
  background: var(--at-white);
  border-radius: var(--at-radius-lg);
  padding: 2rem;
  box-shadow: var(--at-shadow);
  border: 2px solid var(--at-border);
  text-align: center;
  transition: all .3s ease;
}
.at-price-card.featured {
  border-color: var(--at-yellow);
  background: linear-gradient(145deg, #fffbf0, var(--at-white));
  transform: scale(1.03);
}
.at-price-card:hover {
  border-color: var(--at-yellow);
  transform: scale(1.03);
}
.at-price-card.featured:hover { transform: scale(1.06); }
.at-price-badge {
  display: inline-block;
  background: var(--at-yellow);
  color: var(--at-white);
  padding: .25rem .85rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.at-price-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.at-price-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--at-yellow-dark);
  margin: .75rem 0;
}
.at-price-amount span { font-size: 1rem; font-weight: 600; color: var(--at-muted); }
.at-price-list {
  list-style: none;
  padding: 0; margin: 1rem 0 1.5rem;
  text-align: left;
}
.at-price-list li {
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--at-muted);
  border-bottom: 1px solid var(--at-border);
  display: flex; gap: .5rem;
}
.at-price-list li::before { content: '✓'; color: var(--at-green); font-weight: 700; }

/* =========================================================
   BRANCHES
   ========================================================= */
.at-branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.at-branch-card {
  background: var(--at-white);
  border-radius: var(--at-radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--at-border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all .25s ease;
}
.at-branch-card:hover {
  border-color: var(--at-yellow);
  box-shadow: var(--at-shadow);
}
.at-branch-num {
  min-width: 36px; height: 36px;
  background: var(--at-yellow);
  color: var(--at-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem;
}
.at-branch-card strong { display: block; font-weight: 700; margin-bottom: .2rem; }
.at-branch-card p { color: var(--at-muted); font-size: .88rem; margin: 0; }

/* =========================================================
   GALLERY
   ========================================================= */
.at-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 1.5rem;
}
.at-gallery-item {
  border-radius: var(--at-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--at-shadow);
  transition: transform .3s ease;
}
.at-gallery-item:hover { transform: scale(1.03); }
.at-gallery-item img { width:100%; height:100%; object-fit:cover; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.at-testimonials { background: var(--at-navy); }
.at-testimonials .at-section-title,
.at-testimonials .at-section-subtitle { color: var(--at-white); }
.at-testimonials .at-divider { background: var(--at-yellow); }
.at-testimonials .at-section-subtitle { color: rgba(255,255,255,.7); }
.at-testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.at-testi-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--at-radius-lg);
  padding: 2rem;
}
.at-testi-stars { color: var(--at-yellow); font-size: 1.1rem; margin-bottom: 1rem; }
.at-testi-text {
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.at-testi-author { display: flex; gap: .75rem; align-items: center; }
.at-testi-avatar {
  width: 44px; height: 44px;
  background: var(--at-yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--at-white);
}
.at-testi-name { font-weight: 700; color: var(--at-white); font-size: .9rem; }
.at-testi-role { color: rgba(255,255,255,.5); font-size: .8rem; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.at-cta {
  background: linear-gradient(135deg, var(--at-yellow) 0%, var(--at-yellow-dark) 100%);
  padding: 60px 20px;
  text-align: center;
}
.at-cta h2 {
  color: var(--at-white);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: .75rem;
}
.at-cta p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 2rem; }
.at-cta .at-btn-navy { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.at-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.at-contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.at-contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.at-contact-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--at-yellow-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.at-contact-item h4 { font-weight: 700; margin-bottom: .2rem; font-size: .95rem; }
.at-contact-item p { color: var(--at-muted); font-size: .9rem; margin: 0; }

/* Contact Form 7 styles */
.wpcf7-form .at-field-group { margin-bottom: 1.25rem; }
.wpcf7-form label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--at-text);
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--at-border);
  border-radius: var(--at-radius);
  font-family: var(--at-font-body);
  font-size: .95rem;
  color: var(--at-text);
  background: var(--at-white);
  transition: border-color .2s;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--at-yellow);
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form input[type=submit] {
  background: var(--at-yellow);
  color: var(--at-white);
  border: none;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s;
  font-family: var(--at-font-body);
}
.wpcf7-form input[type=submit]:hover {
  background: var(--at-yellow-dark);
  transform: translateY(-2px);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer,
#colophon {
  background: var(--at-navy) !important;
  color: rgba(255,255,255,.8) !important;
}
.site-footer a,
#colophon a {
  color: var(--at-yellow) !important;
}
.site-footer a:hover,
#colophon a:hover { color: var(--at-white) !important; }

.at-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 20px 40px;
  max-width: var(--at-max-width);
  margin: 0 auto;
}
.at-footer-brand p { color: rgba(255,255,255,.65); font-size: .9rem; margin: .75rem 0 1.25rem; }
.at-footer-col h4 { color: var(--at-white); font-weight: 700; margin-bottom: 1rem; font-size: .95rem; }
.at-footer-col ul { list-style: none; padding: 0; }
.at-footer-col ul li { margin-bottom: .6rem; }
.at-footer-col ul li a { color: rgba(255,255,255,.65) !important; font-size: .9rem; }
.at-footer-col ul li a:hover { color: var(--at-yellow) !important; }
.at-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px;
  text-align: center;
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  max-width: var(--at-max-width);
  margin: 0 auto;
}

/* =========================================================
   PAGE HERO
   ========================================================= */
.at-page-hero {
  background: linear-gradient(135deg, var(--at-navy), var(--at-navy-light));
  color: var(--at-white);
  padding: 60px 20px;
  text-align: center;
}
.at-page-hero h1 { color: var(--at-white); font-size: 2.2rem; margin-bottom: .5rem; }
.at-page-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.at-breadcrumb { color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: .75rem; }
.at-breadcrumb a { color: var(--at-yellow) !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .at-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .at-hero-img { display: none; }
  .at-why-grid { grid-template-columns: 1fr; }
  .at-contact-grid { grid-template-columns: 1fr; }
  .at-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .at-section { padding: 56px 16px; }
  .at-section-title { font-size: 1.5rem; }
  .at-hero { padding: 70px 16px 56px; }
  .at-hero h1 { font-size: 1.8rem; }
  .at-hero-stats { grid-template-columns: 1fr 1fr; }
  .at-footer-grid { grid-template-columns: 1fr; }
  .at-pricing-grid { grid-template-columns: 1fr; }
  .at-price-card.featured { transform: none; }
}

/* =========================================================
   SVG ICON HELPERS
   ========================================================= */
.at-icon-inline {
  display: inline-block;
  vertical-align: middle;
  margin-right: .3em;
}
.at-card-icon svg,
.at-why-icon svg,
.at-contact-icon svg {
  display: block;
}
.at-check-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: .4em;
  flex-shrink: 0;
  color: var(--at-green);
}
.at-star-icon {
  display: inline-block;
  color: var(--at-yellow);
}
/* Fix price list với SVG check */
.at-price-list li {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.at-price-list li::before { display: none; } /* bỏ ::before cũ */

/* =========================================================
   ASTRA LAYOUT OVERRIDE — custom full-width templates
   Astra sets .site-content .ast-container { display:flex }
   cho sidebar layout — phải override để sections stack dọc
   ========================================================= */
.anhthy-theme .site-content .ast-container {
  display: block !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Xoá padding Astra inject vào content area */
.anhthy-theme #primary.content-area,
.anhthy-theme .content-area {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}

.anhthy-theme #main.site-main {
  padding: 0 !important;
  margin: 0 !important;
}

/* Đảm bảo mọi section stack dọc */
.anhthy-theme .at-hero,
.anhthy-theme .at-section,
.anhthy-theme .at-cta,
.anhthy-theme .at-page-hero,
.anhthy-theme .at-testimonials,
.anhthy-theme .at-why {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

/* Astra article wrapper */
.anhthy-theme .ast-article-inner {
  padding: 0 !important;
}

/* =========================================================
   STICKY PHONE BUTTON (mobile)
   ========================================================= */
.at-sticky-phone {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--at-yellow);
  color: var(--at-white);
  width: 58px; height: 58px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(245,166,35,.5);
  animation: at-pulse 2s infinite;
  text-decoration: none;
}
.at-sticky-phone:hover { color: var(--at-white); background: var(--at-yellow-dark); }
@keyframes at-pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(245,166,35,.5); }
  50%      { box-shadow: 0 6px 40px rgba(245,166,35,.8); }
}
@media (max-width: 768px) { .at-sticky-phone { display: flex; } }

/* =========================================================
   HERO V2 — nền sáng, ảnh collage (giống bố cục landing)
   ========================================================= */
.at-hero2 {
  background:
    linear-gradient(135deg, rgba(255,243,220,.9) 0%, rgba(255,255,255,.95) 55%, rgba(232,238,255,.9) 100%);
  padding: 64px 20px 56px;
  position: relative;
  overflow: hidden;
}
.at-hero2::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(245,166,35,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.at-hero2-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.at-hero2-tag {
  display: inline-block;
  background: var(--at-yellow-light);
  color: var(--at-yellow-dark);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
}
.at-hero2 h1 {
  margin: 0 0 1.1rem;
  line-height: 1.12;
  font-weight: 900;
}
.at-hero2 h1 .l1,
.at-hero2 h1 .l2 {
  display: block;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}
.at-hero2 h1 .l1 { color: var(--at-navy); }
.at-hero2 h1 .l2 { color: var(--at-yellow-dark); }
.at-hero2-lead {
  font-size: 1.15rem;
  color: var(--at-text);
  margin: 0 0 .35rem;
  font-weight: 600;
}
.at-hero2-sub {
  font-size: 1.05rem;
  color: var(--at-muted);
  margin: 0 0 1.75rem;
  font-weight: 600;
}
.at-hero2-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Collage ảnh hero: 1 ảnh lớn + 2 ảnh nhỏ xếp dọc */
.at-hero2-collage {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 420px;
}
.at-hero2-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-hero2-collage .c-main {
  grid-row: 1 / 3;
  border-radius: var(--at-radius-lg);
  overflow: hidden;
  box-shadow: var(--at-shadow);
}
.at-hero2-collage .c-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.at-hero2-collage .c-side img {
  border-radius: var(--at-radius);
  box-shadow: var(--at-shadow);
}

/* =========================================================
   THANH TÍNH NĂNG — card trắng bo tròn, đè lên hero
   ========================================================= */
.at-features-wrap { background: var(--at-bg); padding: 0 20px; }
.at-features {
  background: var(--at-white);
  border-radius: var(--at-radius-lg);
  box-shadow: var(--at-shadow);
  border: 1px solid var(--at-border);
  margin: -40px auto 0;
  max-width: 1100px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 32px 16px;
}
.at-feature {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--at-border);
}
.at-feature:last-child { border-right: none; }
.at-feature-icon {
  width: 56px; height: 56px;
  margin: 0 auto .9rem;
  background: var(--at-yellow-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--at-yellow-dark);
}
.at-feature-icon svg { width: 28px; height: 28px; }
.at-feature h4 {
  font-size: .92rem;
  font-weight: 800;
  color: var(--at-navy);
  margin: 0 0 .4rem;
  text-transform: uppercase;
  line-height: 1.35;
}
.at-feature p { font-size: .82rem; color: var(--at-muted); margin: 0; line-height: 1.55; }

/* =========================================================
   KHỐI ĐÔI — A. Bán trú | B. Năng khiếu
   ========================================================= */
.at-duo {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.at-duo-col {
  background: var(--at-white);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  box-shadow: var(--at-shadow);
  padding: 0 0 1.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.at-duo-head {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  text-align: center;
  padding: .9rem 1rem;
  margin-bottom: 1.5rem;
}
.at-duo-head-navy   { background: var(--at-navy); }
.at-duo-head-orange { background: linear-gradient(90deg, var(--at-yellow), var(--at-yellow-dark)); }

/* Cột bán trú: checklist + ảnh */
.at-duo-bantru {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 0 1.5rem;
  flex: 1;
}
.at-check-list { list-style: none; padding: 0; margin: 0; }
.at-check-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .35rem 0;
  font-size: .86rem;
  line-height: 1.4;
  color: var(--at-text);
  font-weight: 600;
}
.at-check-list .at-check-icon { color: var(--at-green); flex-shrink: 0; margin-top: .1rem; }
.at-duo-bantru-img {
  border-radius: var(--at-radius);
  overflow: hidden;
  box-shadow: var(--at-shadow);
  aspect-ratio: 3/4;
  max-height: 210px;
  margin: 0 auto;
}
.at-duo-bantru-img img { width: 100%; height: 100%; object-fit: cover; }

/* Cột năng khiếu: 5 thẻ ảnh */
.at-nk-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 0 1.5rem;
  flex: 1;
  align-content: center;
}
.at-nk-card { text-align: center; }
.at-nk-img {
  border-radius: var(--at-radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--at-shadow);
  margin-bottom: .6rem;
  transition: transform .25s ease;
}
.at-nk-card:hover .at-nk-img { transform: translateY(-4px); }
.at-nk-img img { width: 100%; height: 100%; object-fit: cover; }
.at-nk-label {
  font-size: .8rem;
  font-weight: 800;
  color: var(--at-navy);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}
.at-nk-label .at-icon-inline { color: var(--at-yellow-dark); margin: 0; }

.at-duo-btn {
  align-self: center;
  margin: 1.5rem auto 0;
  flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE — Hero V2 / Features / Duo
   ========================================================= */
@media (max-width: 900px) {
  .at-hero2-inner { grid-template-columns: 1fr; gap: 32px; }
  .at-hero2-collage { height: 320px; }
  .at-features { grid-template-columns: repeat(2, 1fr); gap: 8px 0; }
  .at-feature { border-right: none; border-bottom: 1px solid var(--at-border); padding-bottom: 1rem; }
  .at-feature:nth-child(2) { border-right: none; }
  .at-feature:last-child { border-bottom: none; }
  .at-duo { grid-template-columns: 1fr; }
  .at-nk-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .at-hero2 { padding: 48px 16px 40px; }
  .at-hero2-btns .at-btn { width: 100%; justify-content: center; }
  .at-hero2-collage { height: 260px; gap: 10px; }
  .at-features { grid-template-columns: 1fr; margin-top: -24px; }
  .at-feature { border-right: none; }
  .at-duo-bantru { grid-template-columns: 1fr; }
  .at-duo-bantru-img { aspect-ratio: 4/3; max-height: 240px; }
  .at-nk-grid { grid-template-columns: repeat(2, 1fr); }
}
