/* Blackmon Tutoring — Subject (Math) page — built from Figma */

.subject-page {
  --navy: #0b1f3f;
  --navy-2: #0d2243;
  --navy-3: #12294e;
  --blue: #5babe0;
  --blue-2: #3e8dc4;
  --blue-3: #5cabe0;
  --ink: #222222;
  --muted: #54647e;
  --border: #dfe7f0;
  --border-2: #dce6f0;
  --bg-light: #f4f8fc;
  --bg-input: #fbfcfe;
  --font-heading: var(--font-merriweather), Georgia, serif;
  --font-body: var(--font-inter), Arial, sans-serif;
  color: var(--ink);
  font-family: var(--font-body);
}

.subject-page * {
  box-sizing: border-box;
}

.subject-page .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.subject-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 0.2px solid var(--blue-2);
  background: rgba(62, 141, 196, 0.04);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 24px;
}

.subject-page .eyebrow--on-dark {
  background: rgba(62, 141, 196, 0.1);
  color: var(--blue);
  border-color: var(--blue);
}

.subject-page .eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  flex-shrink: 0;
}

.subject-page h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.28;
  color: var(--navy);
  letter-spacing: -0.42px;
  margin: 0 0 12px;
}

.subject-page .section-lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 640px;
  margin: 0 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 24px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: #fff;
  color: var(--navy);
}

.btn-primary:hover {
  background: #e8f1f8;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--blue-2);
}

.btn-outline-navy {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-navy:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ---------- HERO ---------- */

.subject-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 73px;
  background: linear-gradient(175deg, #071229 0%, #0b1f3f 55%, #122a54 100%);
}

.subject-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-bg.jpg");
  background-size: 1492px 652px;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.55;
  z-index: 0;
}

.subject-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(7, 18, 41, 0.9) 1%, rgba(11, 31, 63, 0.9) 54%, rgba(18, 42, 84, 0.9) 109%);
  z-index: 0;
}

.subject-hero .hero-glow {
  position: absolute;
  top: -108px;
  right: -181px;
  width: 544px;
  height: 544px;
  border-radius: 272px;
  filter: blur(16px);
  background: radial-gradient(circle, rgba(92, 171, 224, 0.6) 0%, rgba(92, 171, 224, 0) 65%);
  z-index: 0;
}

.subject-hero .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 620px) 538px;
  gap: 40px;
  align-items: center;
}

.subject-hero .hero-grid > * {
  min-width: 0;
}

.subject-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -1.04px;
  color: #fff;
  margin: 0 0 20px;
}

.subject-hero h1 .accent {
  color: var(--blue);
}

.subject-hero .hero-copy {
  font-size: 18px;
  line-height: 1.55;
  color: #fff;
  max-width: 500px;
  margin: 0 0 28px;
}

.subject-hero .hero-cta {
  margin-bottom: 24px;
}

.subject-hero .hero-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(91, 171, 224, 0.08);
  border: 1px solid #20385f;
  color: #cbddf0;
  font-size: 14px;
  white-space: nowrap;
}

/* Quiz card */

.quiz-card {
  background: var(--bg-light);
  border: 1px solid #fff;
  border-radius: 25px;
  overflow: hidden;
}

.quiz-card .quiz-header {
  background: var(--navy);
  padding: 24px 24px 20px;
}

.quiz-progress-track {
  height: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 33%;
  border-radius: 12px;
  background: linear-gradient(90deg, #071229 0%, #0b1f3f 20%, #122a54 45%, #5cabe0 67%, #85ceff 100%);
}

.quiz-card .quiz-body {
  padding: 20px 28px 38px;
  position: relative;
}

.quiz-step {
  display: flow-root;
}

.quiz-step[hidden] {
  display: none;
}

.quiz-card .quiz-question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 4px;
}

.quiz-card .quiz-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 20px;
}

.quiz-card .quiz-timer {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 15px;
  color: var(--navy);
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.quiz-option {
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #e9e9e9;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 14px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.quiz-option:hover {
  border-color: var(--blue-3);
}

.quiz-option--fixed {
  flex-grow: 0;
}

.quiz-option.is-selected {
  background: var(--blue-3);
  border-color: var(--blue-3);
  color: var(--navy);
}

.quiz-continue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  border: 1px solid #e9e9e9;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  height: 36px;
  padding: 0 20px;
  border-radius: 6px;
  float: right;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.quiz-continue:hover {
  background: var(--blue-2);
}

.quiz-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.quiz-back:hover {
  color: var(--navy);
}

.quiz-step + .quiz-step {
  margin-top: 0;
}

.quiz-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-fields input {
  width: 100%;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #e9e9e9;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  padding: 0 14px;
  font-family: var(--font-body);
}

.quiz-success {
  text-align: center;
  padding: 8px 0 4px;
}

.quiz-success .quiz-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f6ef;
  color: #2e9e6b;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.quiz-success h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 6px;
}

.quiz-success p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* ---------- FEATURES ---------- */

.subject-features {
  background: #fff;
  padding: 100px 0;
}

.subject-features .section-head {
  text-align: center;
}

.subject-features .eyebrow,
.subject-features h2 {
  display: inline-flex;
}

.subject-features h2 {
  display: block;
  text-align: center;
  margin: 0 auto 48px;
  max-width: 700px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-grid > * {
  min-width: 0;
}

.feature-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.feature-card.is-dark {
  background: var(--navy);
  border-color: var(--navy);
}

.feature-card:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.feature-card:hover h3,
.feature-card:hover p {
  color: #fff;
}

.feature-card .feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .feature-icon img {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.18px;
  color: var(--navy);
  margin: 0 0 8px;
}

.feature-card.is-dark h3,
.feature-card.is-dark p {
  color: #fff;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

/* ---------- LEVELS CAROUSEL ---------- */

.subject-levels {
  background: var(--navy-2);
  padding: 100px 0 60px;
  overflow: hidden;
}

.levels-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 40px;
  align-items: start;
}

.levels-grid > * {
  min-width: 0;
}

.levels-grid > div:first-child {
  max-width: 460px;
}

.levels-grid > div:nth-child(2) {
  min-width: 0;
}

.levels-grid > .levels-carousel-controls {
  grid-column: 1 / -1;
}

.subject-levels h2 {
  color: #fff;
}

.subject-levels .section-lede {
  color: #fff;
  margin-bottom: 32px;
}

.level-cards {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.level-cards::-webkit-scrollbar {
  display: none;
}

.level-card {
  flex: 0 0 380px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 2px 4px rgba(11, 31, 63, 0.12);
  overflow: hidden;
  padding-bottom: 20px;
}

.level-card .level-photo {
  height: 230px;
  overflow: hidden;
}

.level-card .level-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.level-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
  color: var(--navy-2);
  margin: 10px 19px 12px;
}

.level-card p {
  font-size: 16px;
  line-height: 1.44;
  color: var(--ink);
  margin: 0 19px 16px;
}

.level-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 19px;
}

.level-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 16px 19px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue-2);
  text-decoration: none;
}

.level-card-link:hover {
  text-decoration: underline;
}

.level-tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 100px;
  background: rgba(62, 141, 196, 0.04);
  border: 0.2px solid var(--blue-2);
  color: var(--navy-2);
  font-size: 14px;
}

.level-tag.is-active {
  background: var(--blue-2);
  border-color: var(--blue-2);
  color: #fff;
}

.levels-carousel-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.levels-progress-track {
  flex: 1;
  height: 8px;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}

.levels-progress-track {
  min-width: 0;
}

.levels-progress-fill {
  height: 100%;
  width: 30%;
  background: var(--navy-2);
  border-radius: 24px;
}

.carousel-nav {
  display: flex;
  gap: 10px;
}

.carousel-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--blue-3);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- RESULTS TESTIMONIAL ---------- */

.subject-results {
  background: var(--bg-light);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.subject-results .section-head {
  max-width: 700px;
  margin: 0 auto 48px;
}

.subject-results .eyebrow {
  margin-bottom: 16px;
}

.subject-results .section-lede {
  margin: 0 auto;
}

.testimonial-fan {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-fan .fan-photo {
  position: absolute;
  width: 214px;
  height: 302px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11, 31, 63, 0.25);
}

.testimonial-fan .fan-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-fan .fan-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.testimonial-fan .play-btn {
  z-index: 2;
}

.testimonial-fan .fan-photo.is-center {
  width: 270px;
  height: 360px;
  z-index: 5;
  transform: translateY(20px);
}

.testimonial-fan .fan-photo.is-center::after {
  background: transparent;
}

.testimonial-fan .fan-1 { transform: rotate(-8.2deg) translateX(-410px); z-index: 1; }
.testimonial-fan .fan-2 { transform: rotate(-4.7deg) translateX(-205px); z-index: 2; }
.testimonial-fan .fan-4 { transform: rotate(5deg) translateX(205px); z-index: 2; }
.testimonial-fan .fan-5 { transform: rotate(7.5deg) translateX(410px); z-index: 1; }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(1px);
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-fan .fan-3 .play-btn {
  background: rgba(11, 31, 63, 0.55);
  width: 64px;
  height: 64px;
}

.play-btn img {
  width: 23px;
  height: 23px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.testimonial-dots span {
  width: 34px;
  height: 8px;
  border-radius: 5px;
  background: #cbd9f0;
}

.testimonial-dots span.is-active {
  width: 48px;
  background: var(--blue-3);
}

.testimonial-caption {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 8px;
}

.testimonial-stars {
  color: #f7a202;
  font-size: 20px;
  letter-spacing: 4px;
}

/* ---------- CITIES ---------- */

.subject-cities {
  background: #fff;
  padding: 100px 0;
  text-align: center;
}

.subject-cities .section-head {
  max-width: 700px;
  margin: 0 auto 40px;
}

.subject-cities .section-lede {
  margin: 0 auto;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 32px;
  text-align: left;
}

.city-grid > * {
  min-width: 0;
}

.city-card {
  position: relative;
  height: 330px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-3);
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 31, 63, 0.05) 38%, rgba(11, 31, 63, 0.85) 100%);
}

.city-card .city-label {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
}

.city-card .city-label .city-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 23px;
  display: block;
  margin-bottom: 6px;
}

.city-card .city-label .city-sub {
  font-size: 15px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.location-grid > * {
  min-width: 0;
}

.location-chip {
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
}

.subject-cities .footnote {
  font-size: 14px;
  color: var(--ink);
}

.subject-cities .footnote a {
  color: #3b90c9;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- DIAGNOSTIC CTA ---------- */

.subject-diagnostic {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 100px 0;
}

.subject-diagnostic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.subject-diagnostic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(7, 18, 41, 0.92) 0%, rgba(11, 31, 63, 0.92) 55%, rgba(18, 42, 84, 0.92) 100%);
  z-index: 0;
}

.diagnostic-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 620px) 400px;
  gap: 60px;
  align-items: center;
}

.diagnostic-grid > * {
  min-width: 0;
}

.subject-diagnostic h2 {
  color: #fff;
  font-size: 34px;
}

.subject-diagnostic .section-lede {
  color: #cbddf0;
  margin-bottom: 28px;
}

.diagnostic-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.diagnostic-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
}

.diagnostic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diagnostic-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--navy);
}

.diagnostic-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ---------- FAQ + CONTACT ---------- */

.subject-faq {
  background: linear-gradient(90deg, rgba(232, 241, 248, 0.45), rgba(232, 241, 248, 0.45)), #fff;
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

.faq-grid > * {
  min-width: 0;
}

.faq-list {
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.faq-item .faq-question .chevron {
  color: var(--blue-2);
  font-size: 16px;
  flex-shrink: 0;
}

.faq-item .faq-answer {
  font-size: 16px;
  line-height: 1.4;
  color: #222;
  margin-top: 12px;
  max-width: 90%;
}

.faq-item:not(.is-open) .faq-answer {
  display: none;
}

.faq-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 50px -24px rgba(20, 40, 80, 0.25);
  padding: 40px;
}

.faq-card .eyebrow-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-2);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.faq-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.26px;
  margin: 0 0 8px;
}

.faq-card .form-sub {
  font-size: 16px;
  color: #222;
  margin: 0 0 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row > * {
  min-width: 0;
}

.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14.5px;
  color: var(--navy);
  font-family: var(--font-body);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.faq-card .btn-submit {
  width: 100%;
  margin: 24px 0 12px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px -8px rgba(91, 171, 224, 0.7);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-card .btn-submit:hover {
  background: var(--blue-2);
}

.faq-card .form-note {
  font-size: 13px;
  color: #5b6472;
  text-align: center;
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .subject-hero .hero-grid,
  .feature-grid,
  .levels-grid,
  .diagnostic-grid,
  .faq-grid,
  .city-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subject-page .inner {
    padding: 0 24px;
  }
}
