/* Keep the header in normal document flow and its menu visible at every width. */
body>header{position:static;top:auto;z-index:auto;flex-wrap:wrap}html{scroll-padding-top:24px}
.site-home-header{background:#faf7f0;border-bottom:1px solid #ddd8cf;padding:8px 0}
.site-home-header .nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:88px;height:auto;padding:8px 24px;max-width:1280px;margin:auto}
.site-home-header .brand{margin:0;min-width:0}.site-home-header .academy-logo{width:220px;height:68px;object-fit:cover}
.site-home-header nav#nav{position:static;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;order:initial;width:auto;min-width:0;margin:0;padding:6px;gap:3px;border:1px solid #e4dfd6;border-radius:24px;background:#f0ece3;box-shadow:none;white-space:normal}
.site-home-header nav#nav a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:9px;font-size:14px;line-height:1.35;text-align:center;text-decoration:none;white-space:normal;border-radius:18px;color:#17324d}
.site-home-header nav#nav a:hover{background:#fffdf8}
.site-home-header .header-actions{order:initial;width:auto;display:flex;align-items:center;margin:0;gap:0}.site-home-header .header-actions .btn{flex:none;font-size:14px;line-height:1.35;padding:12px 15px;min-height:48px;white-space:normal;text-align:center}
body>header .nav-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.course-fee{display:flex;flex-direction:column;gap:3px;min-height:0!important;margin:20px 0!important}.course-fee strong{font-size:27px;color:#17324d;font-weight:650}.course-fee span{font-size:14px}.course-detail-link{width:100%;justify-content:center}
.fh-footer-admin{max-width:1180px;margin:26px auto 0;padding-top:18px;border-top:1px solid #dbcdbf;display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;align-items:center}.fh-footer-admin a{display:inline-flex;min-height:44px;align-items:center;padding:10px 14px;border:1px solid #a1acb6;border-radius:14px;font-size:14px;line-height:1.4;background:#faf7f0;color:#17324d;text-decoration:none}
.fh-whatsapp-action{background:#176b45;color:white;border-color:#176b45}.fh-whatsapp-action:hover{background:#115637;color:white}.fh-email-tools{flex-shrink:1}.fh-email-actions{justify-content:flex-end}
.fh-whatsapp-float{position:fixed;right:20px;bottom:20px;z-index:90;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:13px 18px;border-radius:999px;background:#176b45;color:white;border:1px solid #115637;box-shadow:0 5px 18px #17324d22;font:600 14px/1.3 'Instrument Sans',Arial,sans-serif;text-decoration:none}.fh-whatsapp-float svg{display:block;width:25px;height:25px;flex-shrink:0}.fh-whatsapp-float:hover{background:#115637}.fh-whatsapp-float:focus-visible,.fh-footer-admin a:focus-visible{outline:3px solid #f18a54;outline-offset:4px}
.fh-enrollment-fee{margin:20px 0 28px;padding:24px;background:#fff0e6;border:1px solid #e4dfd6;border-radius:20px}.fh-enrollment-fee h2{font-size:24px;margin-top:0}.fh-enrollment-fee p{font-size:15px;line-height:1.6}
.listening-play{min-height:56px!important;font-size:16px!important;padding:15px 24px!important;gap:12px!important}.listening-play:before{content:'▶';font-size:17px}.listening-play:after{display:none!important}#pause-audio,#stop{min-height:48px}#audio-status{min-height:48px;line-height:1.6}
@media(max-width:1150px){.site-home-header .nav{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:10px 22px}.site-home-header nav#nav{grid-column:1/-1;width:100%;order:3}.site-home-header .header-actions{grid-column:2;grid-row:1}}
@media(max-width:600px){.site-home-header .nav{padding:8px 18px;gap:12px}.site-home-header .academy-logo{width:185px;height:60px;max-width:100%}.site-home-header .header-actions .btn{font-size:14px;max-width:136px;padding:10px 12px}.site-home-header nav#nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px;border-radius:20px;gap:4px}.site-home-header nav#nav a{padding:9px 5px;font-size:14px;min-height:48px;border-radius:14px}.fh-whatsapp-float{width:52px;padding:12px;right:16px;bottom:16px}.fh-whatsapp-float span{display:none}.fh-footer-admin,.fh-email-actions{justify-content:flex-start}.fh-email-footer{padding-bottom:88px}.listening-play{width:100%}}

.listening-play{min-height:56px!important;font-size:16px!important;padding:15px 24px!important;gap:12px!important}.listening-play:before{content:'▶';font-size:17px}.listening-play:after{display:none!important}#pause-audio,#stop{min-height:48px}#audio-status{min-height:48px;line-height:1.6}.audio-settings{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 14px;align-items:center}.audio-settings label{font-size:14px}.audio-settings select{max-width:100%;min-width:0}.approval-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.test-access-card{max-width:850px;margin:20px auto}.test-approved h2{font-size:24px}.test-approved{margin-bottom:24px}.academy-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.filters input[type=search]{padding:11px 13px;width:100%;border:1px solid #a1acb6;border-radius:8px;font:inherit}.cards audio{width:100%;margin:16px 0}@media(max-width:600px){.listening-play{width:100%}.audio-settings{grid-template-columns:1fr}}

.course-detail-page .fh-whatsapp-float{color:#fff}.course-detail-page .fh-whatsapp-action{color:#fff}

/* The public header puts the five main destinations on one line whenever possible. */
.site-home-header nav#nav a[aria-current="page"] {
  background: #17324d;
  color: #fff;
}
.site-home-header nav#nav a:focus-visible,
.hub-card-link:focus-visible,
.hub-progress button:focus-visible {
  outline: 3px solid #bd5527;
  outline-offset: 3px;
}
@media (min-width: 850px) {
  .site-home-header .nav { grid-template-columns: auto minmax(0, 1fr) auto; }
  .site-home-header nav#nav { grid-column: auto; width: auto; order: initial; }
  .site-home-header .header-actions { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  .site-home-header nav#nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .site-home-header nav#nav a { padding-inline: 2px; font-size: 13px; }
}

.home-intro { background: #f0ece3; padding: clamp(42px, 7vw, 96px) 0; }
.home-intro h1 {
  max-width: 830px;
  font-size: clamp(38px, 7vw, 80px);
  letter-spacing: -.045em;
  line-height: 1.04;
  margin: 0 0 18px;
}
.home-intro p { max-width: 590px; font-size: clamp(17px, 2vw, 20px); line-height: 1.6; }
.home-intro .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.home-simple #courses, .home-simple #how { padding-block: clamp(32px, 5vw, 68px); }
.home-study { background: #f0ece3; }
.home-study .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.home-study h2 { margin: 0 0 6px; }
.home-study p { margin: 0; }
.home-simple .course h3 { min-height: 0; }

.study-hub-overview .academy-shell { display: block; max-width: 1180px; }
.study-hub-overview .academy-nav { display: none; }
.study-hub-overview .academy-main { padding: clamp(18px, 5vw, 56px); }
.study-hub-intro h1 { margin: 0 0 12px; line-height: 1.06; font-size: clamp(38px, 7vw, 68px); }
.study-hub-intro p, .hub-access p, .hub-card p { font-size: 16px; line-height: 1.6; margin: 0; }
.hub-access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 26px 0;
  padding: 20px;
  border: 1px solid #ddcbb9;
  border-radius: 18px;
  background: #fff1e4;
  color: #17324d;
}
.hub-access h2 { font-size: 22px; margin: 0 0 4px; }
.hub-access [role="status"]:empty { display: none; }
.hub-access-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hub-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  border: 1px solid #d9d4ca;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  background: #fffdf8;
  color: #17324d;
}
.hub-card h2 { margin: 0; font-size: 25px; }
.hub-card-label { font-size: 14px; color: #48596a; }
.hub-card-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font-weight: 650; color: #17324d; text-decoration: underline; }
.hub-progress button { font: inherit; color: #17324d; background: transparent; border: 0; padding: 12px 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 600px) {
  .hub-grid { grid-template-columns: 1fr; }
  .home-intro .actions > a { justify-content: center; }
}

.home-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(228px, 29vw, 370px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
}
.home-intro-brand {
  margin: 0;
  text-align: center;
  color: #17324d;
}
.home-intro-mark {
  display: block;
  width: min(100%, clamp(182px, 26vw, 310px));
  height: auto;
  margin-inline: auto;
}
.home-intro-brand figcaption {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}
.home-intro-name {
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.25;
}
.home-intro-motto {
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.45;
}
@media (max-width: 760px) {
  .home-intro { padding-block: 22px 36px; }
  .home-intro-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .home-intro h1 { font-size: clamp(34px, 7vw, 52px); margin-bottom: 12px; }
  .home-intro p { font-size: 16px; line-height: 1.5; }
  .home-intro .actions { margin-top: 16px; }
  .home-intro-brand { grid-row: 1; text-align: left; }
  .home-intro-mark { width: clamp(68px, 20vw, 92px); margin-inline: 0; }
  .home-intro-brand figcaption { margin-top: 8px; }
}

.ielts-basics {
  padding-block: clamp(32px, 5vw, 64px);
}
.ielts-basics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ielts-basics-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #ddd8cf;
  border-top: 3px solid #f18a54;
  border-radius: 20px;
  background: #fffdf8;
}
.ielts-basics-overview {
  grid-column: 1 / -1;
  background: #fff0e6;
}
.ielts-basics-card h2,
.ielts-basics-card h3 {
  margin: 0 0 10px;
  line-height: 1.15;
}
.ielts-basics-card h2 { font-size: clamp(28px, 5vw, 42px); }
.ielts-basics-card h3 { font-size: clamp(22px, 3vw, 26px); }
.ielts-basics-card p {
  margin: 0 0 8px;
  max-width: 75ch;
  font-size: 16px;
  line-height: 1.6;
}
.ielts-basics-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  justify-self: start;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ielts-basics-link:focus-visible {
  outline: 3px solid #bd5527;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .ielts-basics-grid { grid-template-columns: minmax(0, 1fr); }
}

.site-home-header .fh-menu { display: none; }
@media (max-width: 849px) {
  .site-home-header.menu-ready .nav {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 8px;
  }
  .site-home-header.menu-ready .brand { grid-column: 1; grid-row: 1; }
  .site-home-header.menu-ready .academy-logo { max-width: 100%; }
  .site-home-header.menu-ready .fh-menu {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #17324d;
    background: #faf7f0;
    border: 1px solid #c8c3ba;
    border-radius: 50%;
    cursor: pointer;
  }
  .site-home-header .fh-menu:focus-visible { outline: 3px solid #9d461f; outline-offset: 2px; }
  .site-home-header.menu-ready .fh-menu[aria-expanded="true"] { background: #17324d; color: white; }
  .site-home-header.menu-ready nav#nav { display: none; }
  .site-home-header.menu-ready .fh-menu[aria-expanded="true"] + nav#nav {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
    grid-row: 2;
    border-radius: 18px;
  }
  .site-home-header.menu-ready nav#nav a { justify-content: flex-start; padding: 10px 16px; font-size: 16px; }
}
