:root{
  --navy:#0b2145;
  --blue:#2459e8;
  --blue-dark:#1745bd;
  --soft-blue:#eaf1ff;
  --background:#f6f8fc;
  --white:#fff;
  --text:#0b2145;
  --muted:#526581;
  --border:#dfe6f2;
  --success:#16845b;
  --warning:#a55404;
  --error:#c52222;
  --radius:16px;
  --shadow:0 5px 22px #0b214505;
  font-family:Inter,'Noto Sans Sinhala','Nirmala UI',sans-serif;
  color:var(--text);
  background:var(--background);
  font-synthesis:none;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:105px}
body{margin:0;min-width:0;font-size:16px;line-height:1.8}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;line-height:1.65}
a{color:var(--blue);text-decoration:none}
button:disabled{cursor:wait;opacity:.65}
button,a{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{
  outline:3px solid #527dff;
  outline-offset:4px;
}
button,select,input{max-width:100%}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:700;line-height:1.65;overflow-wrap:anywhere}
h2{font-size:25px;letter-spacing:-.6px}
h3{font-size:19px}

svg.icon{
  display:block;
  width:20px;
  height:20px;
  flex-shrink:0;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.container{width:min(1240px,100%);margin:0 auto;padding:0 32px}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link{
  position:fixed;
  top:8px;
  left:12px;
  z-index:100;
  background:white;
  color:var(--blue);
  padding:12px 20px;
  border-radius:9px;
  transform:translateY(-160%);
  box-shadow:0 4px 25px #0002;
}
.skip-link:focus{transform:translateY(0)}

/* Header */

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  background:#fffffffa;
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(12px);
}

.header-inner{
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:11px;
  flex-shrink:0;
  color:var(--navy);
  min-height:44px;
}

.brand-mark{
  display:grid;
  place-items:center;
  background:var(--blue);
  border-radius:12px;
  color:white;
  width:43px;
  height:45px;
  font-size:28px;
  font-weight:800;
  line-height:1;
}

.brand-word{font-size:28px;font-weight:800;letter-spacing:1px;line-height:1.1}
.brand-period{color:var(--blue)}
.brand-word small{
  font-size:9px;
  letter-spacing:2px;
  font-weight:500;
  display:block;
  margin-top:7px;
  line-height:1.2;
  color:#67768d;
}

.primary-nav{display:flex;align-items:center;gap:23px}
.primary-nav>a{
  font-size:14px;
  font-weight:500;
  color:var(--muted);
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  position:relative;
}

.primary-nav>a:not(.admin-link)[aria-current]{color:var(--blue)}
.primary-nav>a:not(.admin-link)[aria-current]:after{
  content:'';
  position:absolute;
  bottom:1px;
  left:0;
  right:0;
  height:2px;
  background:var(--blue);
  border-radius:3px;
}

.primary-nav>a:hover{color:var(--blue)}
.primary-nav .admin-link{
  font-size:13px;
  color:#586b87;
  padding:0 12px;
  border:1px solid var(--border);
  border-radius:8px;
  gap:7px;
  margin-left:3px;
}
.admin-link .icon{width:15px;height:15px}

.menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border:1px solid var(--border);
  border-radius:9px;
  background:white;
  color:var(--navy);
}

/* Hero */

.hero{background:var(--navy);color:white;overflow:hidden}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:70px;
  align-items:center;
  padding-top:34px;
  padding-bottom:34px;
}

.eyebrow{
  font-size:13px;
  line-height:1.8;
  font-weight:600;
  color:var(--blue);
  margin-bottom:7px;
}

.hero-eyebrow{
  color:#abc3f7;
  letter-spacing:1.7px;
  font-size:11px;
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:9px;
}
.hero-eyebrow span{
  display:block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#86acff;
}

.hero h1{font-size:34px;line-height:1.6;letter-spacing:-.7px;margin-bottom:9px}
.hero h1 span{color:#bad0ff}
.hero-description{color:#c7d4eb;font-size:15px;line-height:1.95;max-width:535px}
.hero-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}

/* Buttons */

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:10px 17px;
  border:1px solid transparent;
  border-radius:9px;
  font-size:14px;
  font-weight:600;
  line-height:1.7;
  transition:background .15s,border-color .15s,box-shadow .15s;
}
.button-white{color:var(--navy);background:white;border-color:white}
.button-white:hover{background:#eaf1ff;border-color:#eaf1ff}
.button-outline-light{border-color:#6a7a97;color:#f5f8ff;background:transparent}
.button-outline-light:hover{background:#ffffff0c}
.button-secondary{background:white;border-color:#cdd8ec;color:var(--blue)}
.button-secondary:hover{background:var(--soft-blue);border-color:#abc2fa}
.button-primary{background:var(--blue);color:white}
.button-primary:hover{background:var(--blue-dark)}

/* Next class */

.next-card{
  background:white;
  color:var(--text);
  border-radius:var(--radius);
  padding:22px 24px;
  box-shadow:0 8px 22px #020f2520;
  min-width:0;
}

.next-card-header{
  display:flex;
  align-items:center;
  gap:10px;
  border-bottom:1px solid #e8edf5;
antwoord  padding-bottom:13px;
  margin-bottom:14px;
}
.next-card-header h2{font-size:14px;letter-spacing:0;font-weight:600}
.next-icon{
  color:var(--blue);
  background:var(--soft-blue);
  width:31px;
  height:31px;
  border-radius:9px;
  display:grid;
  place-items:center;
}
.next-icon .icon{width:17px;height:17px}
.next-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:7px;
}
.next-title-row h3{font-size:21px;line-height:1.65}
.next-card .next-teacher{color:var(--muted);font-size:14px;margin-bottom:12px}
.next-date{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:#385275;
  margin-bottom:9px;
  flex-wrap:wrap;
}
.next-date .icon{width:17px;height:17px;color:#677fa7}
.next-time{
  background:#f3f6fd;
  border:1px solid #e3eaf7;
  border-radius:9px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  font-family:Inter,'Noto Sans Sinhala',sans-serif;
  font-size:20px;
  font-weight:700;
  line-height:1.5;
}
.next-time .icon{color:#5877a7;width:19px;height:19px}
.next-venue{
  display:flex;
  gap:6px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
  margin-top:9px;
}
.next-venue .icon{width:15px;height:15px}
.next-empty h3{font-size:18px;margin:6px 0}
.next-empty p{font-size:14px;color:var(--muted);line-height:1.9}
.next-card-header #next-status{margin-left:auto}
.next-date-short{display:none}

/* Finder */

.section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-bottom:22px;
}
.section-description{font-size:15px;color:var(--muted);margin-top:6px;line-height:1.95}
.finder-section{padding-top:34px}
.timezone-note{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  color:var(--muted);
  white-space:nowrap;
}
.timezone-note .icon{width:16px;height:16px}

.finder{
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px 24px 14px;
  box-shadow:var(--shadow);
}
.finder-date-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}
.segmented{
  display:flex;
  background:#f1f4fa;
  border:1px solid #e5eaf4;
  padding:4px;
  border-radius:10px;
  gap:4px;
}
.segmented button{
  min-width:80px;
  min-height:44px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#4e617f;
  font-size:14px;
  font-weight:500;
  padding:7px 17px;
  transition:background .15s,box-shadow .15s;
}
.segmented button[aria-pressed=true]{
  background:var(--blue);
  color:white;
  box-shadow:0 2px 6px #2459e81a;
}
.segmented button:hover:not([aria-pressed=true]){background:#e4ebf8}
.custom-date{display:flex;align-items:center;gap:12px;min-width:0}
.custom-date label{font-size:13px;color:var(--muted)}
.custom-date input{
  border:1px solid #8091ac;
  border-radius:8px;
  min-height:44px;
  background:#fff;
  padding:8px 10px;
  font-size:14px;
  color:var(--navy);
  width:164px;
  min-width:0;
}
.finder-fields{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.filter-field{min-width:0}
.filter-field label{display:block;font-size:14px;font-weight:500;margin-bottom:8px}
.filter-field select{
  width:100%;
  min-height:49px;
  padding:10px 34px 10px 13px;
  border:1px solid #8091ac;
  border-radius:9px;
  background-color:#fff;
  color:var(--navy);
  font-size:15px;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23526581' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 13px center;
  text-overflow:ellipsis;
}
.filter-field select:hover{border-color:#9ab0d1}
.finder-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  border-top:1px solid #edf0f7;
  margin-top:20px;
  padding-top:11px;
}
.selected-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.filter-hint{color:var(--muted);font-size:13px}
.filter-chip{
  display:inline-flex;
  gap:5px;
  align-items:center;
  color:#2f55a4;
  font-size:13px;
  background:var(--soft-blue);
  border:1px solid #d5e1fa;
  border-radius:7px;
  padding:0 5px 0 11px;
  max-width:100%;
}
.filter-chip>span{overflow-wrap:anywhere}
.filter-chip button{
  display:grid;
  place-items:center;
  border:0;
  background:none;
  color:inherit;
  width:44px;
  height:44px;
  min-width:44px;
}
.filter-chip .icon{width:15px;height:15px}
.reset-button{
  background:transparent;
  color:var(--muted);
  border:0;
  display:flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  padding:8px 0;
  font-size:13px;
  white-space:nowrap;
}
.reset-button .icon{width:16px;height:16px}
.reset-button:hover{color:var(--blue)}

/* Urgent notices */

.urgent-notices:empty{display:none}
.urgent-notices{display:grid;gap:10px;margin-top:18px}
.urgent-alert{
  display:flex;
  gap:13px;
  align-items:flex-start;
  border:1px solid #f0d5b3;
  background:#fff8ec;
  padding:15px 18px;
  border-radius:11px;
}
.urgent-alert>.icon{color:#a05c08;margin-top:4px}
.urgent-alert strong{font-size:14px;display:block;color:#794907}
.urgent-alert p{font-size:14px;color:#79572b;line-height:1.9}
.urgent-alert.cancelled{background:#fff4f4;border-color:#efcccc}
.urgent-alert.cancelled strong,.urgent-alert.cancelled>.icon{color:#a12222}
.urgent-alert.cancelled p{color:#8a4545}

/* Class results */

.results-section{margin-top:30px}
.results-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:19px;
}
.results-heading h2{font-size:21px}
.result-count{font-size:14px;color:var(--muted);margin-top:4px}
.result-switches{display:flex;gap:5px;flex-wrap:wrap}
.result-switches button{
  min-height:44px;
  padding:7px 12px;
  color:#526581;
  background:transparent;
  border:1px solid transparent;
  border-radius:8px;
  font-size:13px;
}
.result-switches button[aria-pressed=true]{
  color:var(--blue);
  background:#eaf1ff;
  border-color:#d7e3ff;
}
.result-switches button:hover{background:#edf2fa}
.class-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.class-card{
  background:white;
  border:1px solid var(--border);
  border-radius:14px;
  padding:22px 21px;
  display:flex;
  flex-direction:column;
  min-width:0;
  box-shadow:var(--shadow);
  transition:box-shadow .18s,transform .18s,border-color .18s;
}
.class-card:hover{
  border-color:#b6c8ec;
  box-shadow:0 8px 25px #183e7710;
  transform:translateY(-2px);
}
.class-card.is-live{border-color:#8ecdb5}
.class-card.is-cancelled{border-color:#e9c9c9}
.class-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px;
}
.subject-heading{min-width:0}
.subject-heading h3{font-size:19px;line-height:1.7;letter-spacing:-.4px}
.subject-heading small{display:block;color:#61738c;font-size:12px;margin-top:4px}
.grade-badge{
  color:#325baf;
  background:#edf3ff;
  font-size:13px;
  line-height:1.7;
  font-weight:500;
  border-radius:7px;
  padding:6px 9px;
  white-space:nowrap;
  flex-shrink:0;
}
.grade-badge.group-grade{white-space:normal;max-width:125px;font-size:12px}
.teacher-line{
  display:flex;
  align-items:center;
  gap:10px;
  border-top:1px solid #edf1f7;
  padding-top:14px;
  margin-bottom:14px;
  color:#415575;
  font-size:14px;
  line-height:1.8;
  min-height:65px;
}
.avatar{
  width:33px;
  height:35px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#f0f4fc;
  color:#526c98;
  font-size:14px;
  font-weight:600;
  flex-shrink:0;
}
.class-date{
  font-size:14px;
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  margin-bottom:8px;
}
.class-date .icon{width:16px;height:16px;color:#778dab}
.class-time{
  display:flex;
  align-items:center;
  gap:8px;
  font-family:Inter,'Noto Sans Sinhala',sans-serif;
  color:var(--navy);
  font-size:20px;
  font-weight:700;
  letter-spacing:-.4px;
  line-height:1.6;
  margin-bottom:13px;
  white-space:nowrap;
}
.class-time .icon{width:18px;height:18px;color:#6f88b0}
.class-venue{
  display:flex;
  gap:6px;
  align-items:center;
  color:var(--muted);
  font-size:13px;
  margin-bottom:12px;
}
.class-venue .icon{width:15px;height:15px}
.class-card-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:auto;
  padding-top:13px;
  border-top:1px solid #edf1f7;
}
.class-kind{font-size:12px;color:#63768f}
.status-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:1px solid transparent;
  border-radius:6px;
  padding:5px 8px;
  font-size:14px;
  font-weight:500;
  line-height:1.6;
  white Maj-space:nowrap;
}
.status-badge.upcoming{color:#2555bd;background:#edf3ff}
.status-badge.live{color:#116c49;background:#eaf7f0}
.status-badge.ended{color:#526276;background:#eef1f5}
.status-badge.cancelled{color:#ac2424;background:#fff0f0}
.status-badge .icon{width:13px;height:13px}
.class-note{
  font-size:14px;
  line-height:1.9;
  border-radius:8px;
  padding:12px;
  margin-bottom:13px;
  background:#f0f5ff;
  color:#3a5987;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
.class-note.cancelled{background:#fff2f2;color:#963636}
.inline-notice{
  background:#f5f7fc;
  padding:12px;
  border:1px solid #e5eaf4;
  border-radius:8px;
  font-size:13px;
  line-height:1.9;
  margin-bottom:13px;
  color:#526581;
  overflow-wrap:anywhere;
}
.inline-notice strong{display:block;color:#2a4268;font-size:13px}

/* Statistics */

.metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border:1px solid var(--border);
  border-radius:13px;
  background:#fff;
  padding:18px 5px;
  margin-top:26px;
}
.metric{
  display:flex;
  gap:12px;
  align-items:center;
  padding:0 20px;
  border-right:1px solid #e7ecf5;
}
.metric:last-child{border:0}
.metric-icon{
  display:grid;
  place-items:center;
  width:40px;
  height:42px;
  border-radius:10px;
  flex-shrink:0;
}
.metric-icon .icon{width:20px;height:20px}
.blue{background:#eaf1ff;color:#365fc0}
.green{background:#eaf7f0;color:#16764f}
.violet{background:#f1edfc;color:#7655af}
.amber{background:#fff3e5;color:#9d600c}
.metric strong{display:block;font-size:24px;font-weight:700;line-height:1.3}
.metric span:not(.metric-icon){font-size:12px;color:var(--muted);line-height:1.8}

/* Notices */

.notices-section,.teachers-section{padding-top:43px}
.notice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.notice-card{
  display:flex;
  align-items:flex-start;
  gap:15px;
  border:1px solid var(--border);
  background:white;
  border-radius:13px;
  padding:23px;
  min-width:0;
}
.notice-icon{
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:37px;
  height:39px;
  background:#edf3ff;
  color:#5276bc;
  border-radius:10px;
}
.notice-card.urgent{border-color:#efd2ac}
.notice-card.urgent .notice-icon{color:#9f5c09;background:#fff3df}
.notice-category{font-size:12px;font-weight:500;color:#526b94}
.priority-label{
  display:inline-block;
  margin-left:7px;
  padding:2px 7px;
  border-radius:5px;
  background:#fff0d7;
  color:#90520b;
  font-size:12px;
}
.notice-card h3{font-size:17px;line-height:1.8;margin:7px 0}
.notice-card p{
  font-size:15px;
  line-height:2;
  color:var(--muted);
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.notice-card small{display:block;color:#5e7089;font-size:12px;margin-top:13px;line-height:1.9}

/* Teachers */

.teacher-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.teacher-card{
  text-align:center;
  border:1px solid var(--border);
  background:white;
  border-radius:13px;
  padding:23px 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0;
}
.teacher-avatar{
  display:grid;
  place-items:center;
  width:55px;
  height:57px;
  border-radius:17px;
  background:#eaf1ff;
  color:#4a6cab;
  font-size:22px;
  font-weight:600;
  margin-bottom:14px;
}
.teacher-photo{
  width:100px;
  height:112px;
  border-radius:16px;
  border:1px solid #dce4f0;
  object-fit:cover;
  margin-bottom:15px;
}
.teacher-card .teacher-avatar{width:100px;height:112px;border-radius:16px;font-size:30px}
.teacher-card h3{font-size:16px;line-height:1.85;margin-bottom:5px}
.teacher-subject{font-size:14px;line-height:1.9;color:var(--muted)}
.teacher-grades{font-size:13px;color:#526581;margin-top:9px;line-height:1.95}
.teacher-count{font-size:12px;color:#5e708b;margin:9px 0 16px}
.teacher-card .button{
  width:100%;
  margin-top:auto;
  min-height:44px;
  padding:9px;
  font-size:14px;
  background:#f6f8fe;
  color:#315ebd;
  border-color:#dce5f7;
}
.teacher-card .button:hover{background:var(--soft-blue)}
.all-teachers{flex-shrink:0}

/* Contact and footer */

.contact-section{
  margin-top:46px;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:55px;
  align-items:center;
  padding:30px 32px;
  border:1px solid #dce5f4;
  border-radius:16px;
  background:#edf3fc;
}
.contact-copy h2{font-size:24px;margin:7px 0 9px}
.contact-copy>p:last-child{font-size:15px;color:var(--muted);line-height:1.95;max-width:450px}
.contact-information{font-size:15px;min-width:0}
.contact-location{display:flex;align-items:center;gap:13px;color:#2e4b76}
.contact-location>.icon{width:22px;height:22px;color:#496a9d}
.contact-location strong{font-size:17px}
.contact-location p{color:var(--muted);font-size:14px}
.contact-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.contact-actions .button{font-size:14px;line-height:1.6}
.contact-website{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  color:#365b96;
  font-size:14px;
}
.contact-website .icon{width:16px;height:16px}

.site-footer{
  margin-top:40px;
  padding:28px 0 30px;
  border-top:1px solid var(--border);
  background:white;
}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}
.footer-brand .brand-mark{width:34px;height:37px;border-radius:9px;font-size:23px}
.footer-brand .brand-word{font-size:22px}
.footer-brand .brand-word small{font-size:8px;letter-spacing:1.6px}
.footer-inner p{font-size:13px;color:#536783;line-height:2}
.footer-inner p span{font-size:12px}
.footer-inner>a:last-child{font-size:14px;min-height:44px;display:flex;align-items:center}
.mobile-bottom-nav{display:none}

/* Empty, error and loading states */

.empty-state{
  grid-column:1/-1;
  border:1px dashed #cbd6e7;
  background:#fff;
  border-radius:13px;
  text-align:center;
  padding:30px 24px;
  color:var(--muted);
}
.empty-state>.icon{margin:0 auto 12px;width:27px;height:27px;color:#6680a8}
.empty-state h3{font-size:17px;margin-bottom:7px;color:#304c74}
.empty-state p{font-size:14px;line-height:1.9}
.empty-state .button{margin-top:15px}
.empty-notices{padding:25px}
.empty-notices>.icon{width:23px;height:23px}
.error-message{
  background:#fff3f3;
  border:1px solid #ebcccc;
  color:#992929;
  padding:16px 19px;
  border-radius:10px;
  margin-bottom:18px;
  font-size:14px;
  line-height:1.9;
}
.error-message .button{
  margin-top:11px;
  border-color:#d4a8a8;
  color:#8a2424;
  background:white;
  display:flex;
  width:max-content;
}
.muted{color:var(--muted)}
.loading-card{
  background:white;
  border:1px solid var(--border);
  border-radius:14px;
  padding:24px;
  min-height:235px;
}
.skeleton{border-radius:6px;background:#eaf0f8;animation:skeleton-pulse 1.5s ease-in-out infinite}
.skeleton-title{height:24px;width:65%;margin:10px 0 15px}
.skeleton-line{height:14px;width:82%;margin:10px 0 20px}
.skeleton-time{height:42px;width:90%;margin-top:35px}
.loading-text{font-size:13px}
.development-tools{margin:25px 32px;padding:17px;border:1px dashed #adbfdc;font-size:14px;background:#fff}
.development-tools a{margin-left:15px;text-decoration:underline}
.js-warning{font-size:14px;background:#fff3db;padding:16px;margin:20px;border-radius:8px}
[hidden]{display:none!important}

@keyframes skeleton-pulse{50%{opacity:.45}}

/* Main responsive layouts */

@media(min-width:1440px){
  .hero-grid{gap:100px}
  .hero h1{font-size:38px}
}

@media(max-width:1150px){
  .primary-nav{gap:15px}
  .primary-nav>a{font-size:13px}
  .primary-nav .admin-link{padding:0 9px;font-size:12px}
  .brand-word{font-size:25px}
  .brand-mark{width:39px;height:42px}
  .hero-grid{gap:35px}
  .class-grid{gap:16px}
  .class-card{padding:20px 17px}
  .class-time{font-size:18px}
  .grade-badge{font-size:12px}
  .metric{padding:0 15px;gap:10px}
  .teacher-grid{gap:14px}
  .teacher-card{padding:21px 13px}
}

@media(max-width:1023px){
  .container{padding-left:24px;padding-right:24px}
  .class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .class-time{font-size:21px}
  .header-inner{height:78px}
  .primary-nav{
    position:absolute;
    display:none;
    top:100%;
    left:0;
    right:0;
    background:white;
    box-shadow:0 10px 20px #0b21450d;
    border-bottom:1px solid var(--border);
    padding:13px 24px 20px;
    gap:3px;
  }
  .primary-nav.is-open{display:flex;flex-direction:column;align-items:stretch}
  .primary-nav>a{
    justify-content:flex-start;
    font-size:15px;
    padding:9px 13px;
    min-height:46px;
    border-radius:8px;
  }
  .primary-nav>a[aria-current]:after{display:none}
  .primary-nav>a[aria-current]{background:#edf3ff}
  .primary-nav .admin-link{margin:10px 0 0;font-size:14px;justify-content:center}
  .menu-toggle{display:flex}
  .hero-grid{gap:25px;grid-template-columns:1.05fr 1fr;padding-top:30px;padding-bottom:30px}
  .hero h1{font-size:30px}
  .hero-eyebrow{font-size:9px;letter-spacing:1px}
  .hero-description{font-size:14px}
  .hero-actions .button{font-size:13px;padding:10px 12px}
  .next-card{padding:20px}
  .next-title-row h3{font-size:19px}
  .next-time{font-size:18px}
  .grade-badge.group-grade{max-width:110px}
  .timezone-note{display:none}
  .metrics{padding:16px 0}
  .metric{padding:0 13px;gap:9px}
  .metric-icon{width:34px;height:37px}
  .metric strong{font-size:22px}
  .metric span:not(.metric-icon){font-size:11px}
  .contact-section{gap:25px;padding:25px}
  .footer-inner{gap:18px}
  .footer-inner p{font-size:12px}
  .footer-inner>a:last-child{font-size:13px}
}

@media(max-width:700px){
  html{scroll-padding-top:92px}
  .container{padding-left:20px;padding-right:20px}
  .header-inner{height:72px}
  .brand-mark{width:36px;height:39px;font-size:25px;border-radius:10px}
  .brand-word{font-size:25px}
  .brand-word small{font-size:8px;letter-spacing:1.8px;margin-top:6px}
  .hero-grid{grid-template-columns:1fr;gap:23px;padding-top:27px;padding-bottom:27px}
  .hero h1{font-size:29px;line-height:1.55;margin:6px 0 9px}
  .hero-eyebrow{font-size:9px;letter-spacing:1px}
  .hero-description{font-size:14px;line-height:1.95;max-width:500px}
  .hero-actions{margin-top:15px}
  .hero-actions .button{font-size:14px;padding:10px 15px}
  .next-card{padding:17px 19px}
  .next-card-header{padding-bottom:10px;margin-bottom:11px}
  .next-card-header h2{font-size:14px}
  .next-title-row h3{font-size:19px}
  .next-card .next-teacher{margin-bottom:9px;font-size:14px}
  .next-time{font-size:19px;padding:8px 10px}
  .next-date{font-size:13px;margin-bottom:8px}
  .next-venue{margin-top:7px;font-size:13px}
  .finder-section{padding-top:27px}
  h2{font-size:22px}
  .section-heading{margin-bottom:18px;gap:15px}
  .section-description{font-size:14px}
  .eyebrow{font-size:12px;margin-bottom:5px}
  .finder{padding:17px 16px 10px}
  .finder-date-row{flex-direction:column;align-items:stretch;gap:15px;margin-bottom:18px}
  .date-segments{width:100%}
  .segmented button{min-width:0;flex:1;padding:7px 10px;font-size:14px}
  .custom-date{justify-content:space-between}
  .custom-date label{font-size:14px}
  .custom-date input{min-height:44px;width:170px;font-size:16px}
  .finder-fields{grid-template-columns:1fr 1fr;gap:16px 12px}
  .filter-field:last-child{grid-column:1/-1}
  .filter-field label{font-size:14px;margin-bottom:6px}
  .filter-field select{min-height:48px;font-size:16px;padding-left:10px}
  .finder-footer{margin-top:16px;flex-direction:column;align-items:flex-start;gap:0}
  .selected-filters{padding-top:3px;min-height:25px}
  .filter-chip button{width:44px;height:44px;min-width:44px}
  .filter-chip{padding-top:0;padding-bottom:0;font-size:13px}
  .reset-button{align-self:flex-end;font-size:13px}
  .results-section{margin-top:26px}
  .results-heading{align-items:flex-start;flex-direction:column;gap:13px}
  .results-heading h2{font-size:21px}
  .result-count{font-size:13px;line-height:1.9}
  .result-switches{width:100%;gap:6px}
  .result-switches button{padding:7px 11px;font-size:13px}
  .class-grid{grid-template-columns:1fr;gap:15px}
  .class-card{padding:21px 20px}
  .subject-heading h3{font-size:20px}
  .grade-badge{font-size:13px}
  .teacher-line{font-size:15px}
  .class-date{font-size:14px}
  .class-time{font-size:23px;margin-bottom:14px}
  .class-card-bottom .status-badge{font-size:13px}
  .metrics{grid-template-columns:1fr 1fr;padding:0;margin-top:23px}
  .metric{padding:17px 15px;border-bottom:1px solid #e7ecf5;gap:11px}
  .metric:nth-child(2){border-right:0}
  .metric:nth-child(3),.metric:nth-child(4){border-bottom:0}
  .metric-icon{width:36px;height:39px}
  .metric strong{font-size:24px}
  .metric span:not(.metric-icon){font-size:11px}
  .notices-section,.teachers-section{padding-top:34px}
  .notice-grid{grid-template-columns:1fr;gap:15px}
  .notice-card{padding:20px 17px;gap:12px}
  .notice-card h3{font-size:17px}
  .notice-card p{font-size:14px}
  .notice-icon{width:32px;height:35px}
  .teachers-section .section-heading{align-items:flex-start;flex-direction:column}
  .teacher-grid{gap:14px}
  .teacher-card{padding:20px 13px}
  .teacher-card h3{font-size:15px}
  .teacher-subject{font-size:13px}
  .teacher-grades{font-size:12px}
  .teacher-card .button{font-size:13px;padding:8px 6px}
  .teacher-count{font-size:12px}
  .all-teachers{min-height:44px;font-size:14px}
  .contact-section{grid-template-columns:1fr;gap:23px;padding:23px 21px;margin-top:35px}
  .contact-copy h2{font-size:22px}
  .contact-copy>p:last-child{font-size:14px}
  .contact-location strong{font-size:16px}
  .contact-location p{font-size:14px}
  .site-footer{margin-top:30px;padding:25px 0 calc(95px + env(safe-area-inset-bottom))}
  .footer-inner{align-items:flex-start;flex-wrap:wrap;gap:20px}
  .footer-inner p{font-size:12px;margin-left:auto}
  .footer-inner>a:last-child{
    width:100%;
    min-height:44px;
    border-top:1px solid var(--border);
    padding-top:14px;
    font-size:14px;
  }
  .mobile-bottom-nav{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:25;
    background:#fffffffa;
    backdrop-filter:blur(10px);
    border-top:1px solid var(--border);
    padding:7px 12px calc(6px + env(safe-area-inset-bottom));
    box-shadow:0 -3px 15px #0b214505;
  }
  .mobile-bottom-nav a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    font-size:11px;
    line-height:1.6;
    color:#526581;
    min-height:48px;
    border-radius:8px;
  }
  .mobile-bottom-nav a[aria-current]{color:var(--blue);background:#edf3ff}
  .mobile-bottom-nav .icon{width:19px;height:19px}
  .urgent-alert{padding:13px 14px;gap:9px}
  .urgent-alert p,.urgent-alert strong{font-size:13px}
  .empty-state{padding:25px 18px}
  .empty-state h3{font-size:16px}
  .development-tools{margin:20px;font-size:13px}
}

@media(max-width:374px){
  .container{padding-left:16px;padding-right:16px}
  .hero h1{font-size:27px}
  .hero-actions{gap:8px}
  .hero-actions .button{font-size:13px;padding:10px 12px}
  .finder{padding:16px 13px 9px}
  .class-time{font-size:21px}
  .result-switches button{font-size:12px;padding:7px 9px}
  .metric{padding:15px 11px;gap:8px}
  .teacher-grid{gap:11px}
  .teacher-card{padding:18px 10px}
  .teacher-card h3{font-size:14px}
  .footer-inner{flex-direction:column}
  .footer-inner p{margin:0}
}

/* Official NAZA logo and loading animation */

.official-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
  width:158px;
  flex-shrink:0;
}
.official-brand small{
  font-family:Inter,sans-serif;
  font-size:9px;
  font-weight:700;
  letter-spacing:2.3px;
  line-height:1.2;
  color:#526581;
  white-space:nowrap;
}
.header-logo{
  display:block;
  width:158px;
  height:37px;
  overflow:visible;
  fill:url(#header-logo-shine);
}
.official-brand img{display:block;width:150px;height:auto}
.loading-brand{
  width:min(280px,65vw);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
}
.loading-logo{display:block;width:100%;height:auto;fill:#fff;overflow:visible}
.loading-logo .logo-letter{
  opacity:0;
  transform:translateY(12px);
  animation:naza-letter-in .55s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay:calc(var(--letter)*.24s + .12s);
}
.loading-caption{
  font-family:Inter,sans-serif;
  font-size:11px;
  letter-spacing:5px;
  line-height:1.6;
  color:#fff;
  opacity:0;
  animation:naza-letter-in .5s ease 1s forwards;
}
.loading-line{
  width:110px;
  height:3px;
  border-radius:5px;
  background:#ffffff35;
  overflow:hidden;
  position:relative;
}
.loading-line:after{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;
  transform:translateX(-100%);
  animation:naza-load-line 1.5s ease-in-out infinite;
}
.brand-loader{transition:opacity .3s ease}
.brand-loader.is-finished{
  display:flex;
  position:fixed;
  inset:0;
  z-index:9999;
  align-items:center;
  justify-content:center;
  background:#1555dc;
  opacity:0;
  pointer-events:none;
}

@keyframes naza-letter-in{to{opacity:1;transform:translateY(0)}}
@keyframes naza-load-line{to{transform:translateX(100%)}}

@media(max-width:700px){
  .official-brand{width:127px;gap:5px}
  .header-logo{width:127px;height:30px}
  .official-brand small{font-size:8px;letter-spacing:1.5px}
  .official-brand img{width:127px}

  .hero-grid{padding-top:21px;padding-bottom:23px;gap:18px}
  .hero-eyebrow{display:none}
  .hero h1{font-size:28px;line-height:1.5;margin:0 0 8px}
  .hero-description{line-height:1.85}
  .hero-actions{margin-top:14px}
  .next-card{padding:14px 16px}
  .next-card-header{padding:0;border:0;margin-bottom:9px;gap:7px}
  .next-card-header h2{font-size:13px;line-height:1.6}
  .next-icon{width:24px;height:25px;border-radius:7px}
  .next-icon .icon{width:15px;height:15px}
  .next-card-header .status-badge{font-size:13px;padding:3px 6px}
  .next-title-row{margin-bottom:5px;gap:8px}
  .next-title-row h3{font-size:18px;line-height:1.5}
  .next-title-row .grade-badge{font-size:12px;padding:3px 7px}
  .next-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:5px 0 8px;
  }
  .next-card .next-teacher{font-size:14px;line-height:1.7;margin:0;min-width:0}
  .next-date{margin:0;font-size:14px;gap:5px;white-space:nowrap;flex-shrink:0}
  .next-date .icon{width:14px;height:14px}
  .next-date-full{display:none}
  .next-date-short{display:inline}
  .next-time{padding:6px 9px;font-size:18px;line-height:1.5}
  .next-venue{font-size:12px}
}

/* Class countdowns */

.class-timing{
  --timer-color:#2459e8;
  --timer-track:#e3ebff;
  margin:2px 0 17px;
  padding:12px 0 0;
  border-top:1px solid #edf1f7;
}
.class-timing.is-live{--timer-color:#16845b;--timer-track:#dcf1e7}
.countdown-caption{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  color:#46618a;
  font-size:13px;
  line-height:1.8;
  margin-bottom:8px;
}
.is-live .countdown-caption{color:#166846}
.countdown-value{
  font-family:Inter,'Noto Sans Sinhala',sans-serif;
  font-variant-numeric:tabular-nums;
  font-size:16px;
  letter-spacing:.3px;
  font-weight:700;
  color:var(--timer-color);
  white-space:nowrap;
}
.class-timing.is-live .countdown-value{color:#116c49}
.timing-track{
  height:5px;
  border-radius:10px;
  background:var(--timer-track);
  overflow:hidden;
  position:relative;
}
.timing-fill{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--timer-color);
  position:relative;
  overflow:hidden;
  transition:width 1s linear;
  min-width:0;
}
.timing-fill:after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(100deg,transparent 5%,#ffffffb3 48%,transparent 90%);
  transform:translateX(-100%);
  animation:class-line-sweep 2.4s ease-in-out infinite;
}
.is-live .timing-fill:after{animation-duration:1.9s}
.class-teacher-photo,.next-teacher-photo{
  display:block;
  width:44px;
  height:46px;
  object-fit:cover;
  border-radius:11px;
  border:1px solid #dce4f0;
  flex-shrink:0;
  background:#eef2f9;
}

/* Slim next class strip */

.up-next-strip{
  display:flex;
  align-items:center;
  gap:13px;
  padding-top:15px;
  padding-bottom:15px;
  border-bottom:1px solid var(--border);
}
.up-next-label{color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap}
.up-next-strip #next-class{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex:1;
  min-width:0;
}
.next-strip-summary{display:flex;gap:11px;align-items:center;min-width:0}
.next-strip-summary strong{display:block;font-size:15px;line-height:1.9}
.next-strip-summary span{display:block;font-size:13px;color:var(--muted)}
.next-teacher-photo{width:38px;height:40px;border-radius:9px}
.next-strip-meta{text-align:right;flex-shrink:0}
.next-strip-meta time{display:block;color:var(--muted);font-size:13px}
.next-strip-meta strong{
  display:block;
  font-family:Inter,sans-serif;
  font-size:15px;
  letter-spacing:.1px;
}

/* Teacher advertisements */

.teacher-showcase{min-width:0}
.showcase-heading{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  font-size:13px;
  color:#d9e5ff;
  margin-bottom:12px;
}
.showcase-tag{font-family:Inter,sans-serif;letter-spacing:1.7px;font-size:10px;color:#a8c0f0}
.promo-stage{
  height:390px;
  border-radius:17px;
  overflow:hidden;
  background:#f7f9ff;
  color:var(--navy);
  box-shadow:0 12px 35px #020e2520;
  isolation:isolate;
}
.promo-slide{
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
  gap:14px 16px;
  height:100%;
  padding:22px;
  position:relative;
  animation:promo-reveal .55s ease-out both;
}
.promo-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.promo-class-label{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:13px}
.promo-class-label>span:first-child{
  font-size:12px;
  font-weight:600;
  color:#3b63b2;
  border:1px solid #d6e1f7;
  background:#edf3ff;
  border-radius:6px;
  padding:4px 7px;
}
.promo-class-label .status-badge{font-size:11px;padding:4px 6px}
.promo-copy h2{font-size:25px;line-height:1.5;letter-spacing:-.6px;margin:0 0 8px;color:#123365}
.promo-copy .promo-teacher{font-size:15px;font-weight:600;color:#35517b;line-height:1.9;margin:0 0 15px}
.promo-date{
  display:flex;
  align-items:center;
  gap:7px;
  color:#526887;
  font-size:14px;
  line-height:1.7;
  margin-bottom:6px;
}
.promo-date .icon{width:16px;height:16px;color:#6080b5}
.promo-time{
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  color:#14356b;
  font-size:17px;
  line-height:1.6;
  font-family:Inter,sans-serif;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.promo-time>span{white-space:nowrap}
.promo-portrait{
  position:relative;
  margin:0;
  border-radius:13px;
  overflow:hidden;
  background:#e8edf6;
tea  min-width:0;
  min-height:0;
  align-self:stretch;
}
.promo-teacher-photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  animation:portrait-drift 7s ease-out both;
}
.promo-portrait .promo-cta{
  position:absolute;
  bottom:12px;
  left:10px;
  right:10px;
  padding:9px 5px;
  min-height:44px;
  font-size:13px;
  background:#ffffffed;
  border-color:#fff;
  color:#17488f;
  box-shadow:0 3px 12px #0b21451c;
  backdrop-filter:blur(8px);
  white-space:nowrap;
}
.promo-portrait .promo-cta:hover{background:#eaf1ff}
.promo-class-timing{grid-column:1/-1}
.promo-class-timing .class-timing{margin:0;padding:11px 0 0;border-top-color:#dce5f3}
.promo-class-timing .countdown-value{font-size:18px}
.promo-class-timing .countdown-caption{font-size:13px;margin-bottom:8px}
.showcase-rotation{
  height:2px;
  background:#ffffff22;
  border-radius:5px;
  overflow:hidden;
  margin:12px 0 9px;
}
.showcase-rotation>span{display:block;width:0;height:100%;background:#a2c4ff;transition:width 1s linear}
.showcase-controls{display:flex;justify-content:space-between;gap:12px;align-items:center}
.showcase-controls>div{display:flex;gap:7px}
.promo-position{
  font-size:13px;
  font-family:Inter,sans-serif;
  font-weight:500;
  letter-spacing:1px;
  color:#cfddf6;
  min-width:48px;
}
.promo-control{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  font-size:13px;
  color:#dae6ff;
  border:1px solid #7890b74d;
  border-radius:8px;
  background:#ffffff06;
  padding:7px 12px;
}
.promo-control:hover{background:#ffffff12;border-color:#9bb4dd}
.promo-control:focus-visible{outline-color:#b4d0ff}
.promo-control:disabled{opacity:.45}
.promo-pause{min-width:107px}
.promo-loading,.promo-empty{padding:30px;color:#3e587c;font-size:14px;line-height:2}
.promo-empty h3{font-size:21px;line-height:1.8;margin-bottom:12px}
.promo-photo-fallback{
  display:grid;
  place-items:center;
  background:#e2eafb;
  color:#5878ac;
  width:100%;
  height:100%;
  font-size:45px;
}

@keyframes class-line-sweep{
  0%{transform:translateX(-100%)}
  85%,100%{transform:translateX(100%)}
}
@keyframes promo-reveal{
  from{opacity:.15;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes portrait-drift{
  from{transform:scale(1.025)}
  to{transform:scale(1)}
}

@media(max-width:1150px){
  .promo-slide{padding:19px;gap:12px}
  .promo-copy h2{font-size:23px}
  .promo-copy .promo-teacher{font-size:14px}
  .promo-time{font-size:16px}
  .promo-control{padding-left:10px;padding-right:10px}
  .hero-grid{gap:35px}
}

@media(max-width:1023px) and (min-width:701px){
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px}
  .promo-stage{height:380px}
  .promo-slide{padding:17px;grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr);gap:12px 10px}
  .promo-copy h2{font-size:21px}
  .promo-class-label{gap:5px;margin-bottom:9px}
  .promo-class-label>span:first-child{font-size:11px}
  .promo-class-label .status-badge{font-size:10px}
  .promo-copy .promo-teacher{margin-bottom:12px}
  .promo-time{font-size:15px}
  .showcase-heading{font-size:12px}
  .showcase-tag{display:none}
  .promo-position{font-size:12px;min-width:38px}
  .promo-control{font-size:12px;min-width:44px;padding:7px 8px}
  .promo-pause{min-width:92px}
  .up-next-strip{flex-wrap:wrap}
  .up-next-strip #next-class{flex-basis:75%}
}

@media(max-width:700px){
  .hero-grid{gap:23px}
  .showcase-heading{font-size:12px;margin-bottom:9px}
  .showcase-tag{font-size:9px;letter-spacing:1.3px}
  .promo-stage{height:286px;border-radius:13px}
  .promo-slide{
    padding:14px;
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
    gap:11px 12px;
  }
  .promo-copy h2{font-size:21px;line-height:1.45;margin-bottom:5px}
  .promo-copy .promo-teacher{font-size:13px;line-height:1.8;margin-bottom:9px}
  .promo-class-label{margin-bottom:9px;gap:5px}
  .promo-class-label>span:first-child{font-size:11px;padding:3px 6px}
  .promo-class-label .status-badge{font-size:10px;padding:3px 5px}
  .promo-date{font-size:13px;gap:5px;margin-bottom:4px}
  .promo-date .icon{width:14px;height:14px}
  .promo-time{font-size:14px;gap:4px;line-height:1.6}
  .promo-portrait{border-radius:9px}
  .promo-portrait .promo-cta{
    left:6px;
    right:6px;
    bottom:8px;
    font-size:11px;
    padding:8px 3px;
    min-height:44px;
  }
  .promo-class-timing .class-timing{padding-top:8px}
  .promo-class-timing .countdown-caption{font-size:12px;margin-bottom:6px}
  .promo-class-timing .countdown-value{font-size:16px}
  .showcase-rotation{margin:10px 0 7px}
  .promo-position{font-size:12px}
  .promo-control{font-size:12px;padding:7px 10px}
  .promo-pause{min-width:100px}
  .up-next-strip{display:none}
  .teacher-photo,.teacher-card .teacher-avatar{width:90px;height:104px}
  .class-teacher-photo{width:44px;height:46px}
  .class-timing .countdown-caption{font-size:13px}
  .class-timing .countdown-value{font-size:16px}
}

@media(max-width:374px){
  .promo-slide{padding:13px;gap:10px}
  .promo-copy h2{font-size:20px}
  .promo-copy .promo-teacher{font-size:12px}
  .promo-date{font-size:12px}
  .promo-time{font-size:13px}
  .promo-pause{min-width:95px}
  .promo-control{padding:7px 9px}
  .promo-position{min-width:40px;font-size:11px}
  .showcase-tag{font-size:8px}
}

/* WhatsApp community banner */

.community-banner{
  display:flex;
  align-items:center;
  gap:23px;
  background:#edf8f3;
  border:1px solid #cce7da;
  border-radius:17px;
  padding:26px 30px;
  margin-top:32px;
}
.community-banner>div{flex:1;min-width:0}
.community-banner .eyebrow{color:#126343;font-size:11px;margin:0 0 7px}
.community-banner h2{font-size:21px;line-height:1.65;margin:0 0 6px}
.community-banner p:last-child{
  font-size:14px;
  line-height:1.9;
  color:#365a4a;
  margin:0;
  max-width:680px;
}
.community-icon{
  width:52px;
  height:52px;
  background:#d3efdf;
  color:#126343;
  display:grid;
  place-items:center;
  border-radius:15px;
  flex-shrink:0;
}
.community-icon .icon{width:27px;height:27px}
.button-whatsapp{
  background:#146c49;
  color:#fff;
  border:1px solid #146c49;
  white-space:normal;
  text-align:center;
  min-height:44px;
}
.button-whatsapp:hover{background:#0d5538;color:#fff}
.community-banner>.button{flex-shrink:0;font-size:14px}

@media(max-width:1023px){
  .community-banner{flex-wrap:wrap;gap:15px}
  .community-banner>.button{margin-left:67px}
}

/* Mobile fix: readable text with a full-width button below */

@media(max-width:700px){
  .community-banner{
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    align-items:start;
    padding:21px 18px;
    gap:13px;
    margin-top:22px;
  }
  .community-banner>div{
    min-width:0;
    width:100%;
  }
  .community-icon{
    width:38px;
    height:38px;
    border-radius:11px;
  }
  .community-banner h2{font-size:18px}
  .community-banner p:last-child{font-size:14px}
  .community-banner>.button{
    grid-column:1/-1;
    width:100%;
    min-width:0;
    margin:3px 0 0;
    justify-self:stretch;
  }
  .contact-actions{display:flex;gap:10px}
  .contact-actions .button{width:100%}
}

/* Reduced motion */

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation:none!important;transition:none!important}
  .class-card:hover{transform:none}
  .header-logo{fill:#1555dc}
  .loading-logo .logo-letter,.loading-caption{
    opacity:1;
    transform:none;
    animation:none;
  }
  .loading-line:after{animation:none;transform:none}
  .brand-loader{transition:none}
  .timing-fill,.showcase-rotation>span{transition:none}
  .promo-slide,.promo-teacher-photo,.timing-fill:after{animation:none!important}
}