/* L5 additions retain the original typography and palette. */
[hidden]{display:none!important}
.hero .main-card{transform:translate(-50%,-50%) rotate(0deg)!important}
.main-nav [aria-current=page]{color:var(--purple);font-weight:800}
.main-nav{gap:17px}.main-nav>a,.nav-dropdown>button{font-size:14px}
#ielts .ielts-card:not(.dark){background:linear-gradient(135deg,#e7f5ff,#eee5ff)}
#ielts .ielts-card:not(.dark)>p{color:#35215d}
#teachers .teacher-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:48px}
#teachers .team-gallery{display:grid;grid-template-columns:1fr;gap:16px;max-width:380px;width:100%;justify-self:center}
#teachers .team-card{margin:0;overflow:hidden}
#teachers .team-card img{display:block;width:100%;height:auto;max-height:230px;object-fit:contain;background:#f1edf6}
#teachers .teacher-profile img{width:100%;height:auto;max-height:none;object-fit:contain}
#teachers figcaption:empty{display:none}
.honor-card-managed .honor-photo{height:auto;aspect-ratio:auto;background:#f1edf6}
.honor-card-managed .honor-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
#ellNewsGrid{display:flex;flex-direction:column;gap:0}
.notice-list-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid #ded3e8}
.notice-list-row h3{margin:0;font-size:16px;line-height:1.5;color:#35215d}.notice-list-row button{cursor:pointer}
#news .section-heading>.text-link{display:none}
@media(max-width:1100px){.nav-inner{flex-wrap:wrap}.main-nav{flex-wrap:wrap;justify-content:center;gap:12px}}
@media(max-width:700px){#teachers .teacher-grid{grid-template-columns:1fr;gap:25px}#teachers .team-gallery{max-width:none}.notice-list-row{grid-template-columns:1fr;gap:8px}}

#teachers .team-card img{aspect-ratio:auto}#teachers .team-card figcaption{display:block}#teachers .team-card h3{font-size:16px;margin:0;color:#51347d}#teachers .team-card p{font-size:14px;margin:5px 0;white-space:pre-wrap}

/* Compact announcement list, including inherited button typography. */
.notice-list-row{padding:16px 0;gap:16px}.notice-list-row h3 .notice-open{font-size:16px;line-height:1.5;font-weight:600;margin:0;padding:4px 0}.notice-list-row>small{font-size:12px}.notice-list-row>.notice-open{font-size:13px;font-weight:500;margin:0;align-self:center}
@media(max-width:700px){.notice-list-row h3 .notice-open{font-size:15px}.notice-list-row{gap:4px}}

/* Keep every experience caption centered under the photograph. */
#experiences .teacher-photo-card figcaption {text-align:center;}

/* 07/11/2026: direct LMS/mock-test links in the two hero cards. */
.hero-visual .float-card .hero-card-cta {
  display:inline-flex;
  flex-direction:row;
  align-items:baseline;
  gap:3px;
  margin-top:4px;
  color:#8258bd;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
}
.hero-visual .float-card .hero-card-cta-arrow {
  color:inherit;
  font-size:10px;
  font-weight:700;
  line-height:1;
}
.hero-visual .float-card:hover .hero-card-cta,
.hero-visual .float-card:focus-visible .hero-card-cta {
  color:#6740a3;
  text-decoration:underline;
  text-underline-offset:2px;
}
/* Recover the CTA's height from inner spacing; keep the LMS card compact. */
.hero-visual .card-lms {padding-top:10px;padding-bottom:10px;}
.hero-visual .card-lms strong {line-height:1.35;}
.hero-visual .card-lms small {line-height:1.45;}
.hero-visual .card-lms .hero-card-cta {margin-top:3px;}
@media(max-width:640px) {
  .hero-visual .card-lms {padding-top:7px;padding-bottom:7px;}
  .hero-visual .float-card .hero-card-cta {font-size:11px;gap:2px;}
  .hero-visual .float-card .hero-card-cta-arrow {font-size:8px;}
  .hero-visual .card-lms .hero-card-cta {margin-top:2px;}
}
