:root {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: #222;
      background-color: #f5f5f5;
    }
    body {
      margin: 0;
      padding: 0;
      background: #f5f5f5;
    }
    header {
      background: #1f2933;
      color: #fff;
      padding: 1.5rem 1rem 1.25rem;
      position: sticky;
      top: 0;
      z-index: 50;
    }
    header .inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    header h1 {
      margin: 0;
      font-size: 1.6rem;
      letter-spacing: 0.03em;
    }
    nav ul {
      list-style: none;
      display: flex;
      gap: 1rem;
      margin: 0;
      padding: 0;
      flex-wrap: wrap;
    }
    nav a {
      color: #e5e7eb;
      text-decoration: none;
      font-size: 0.95rem;
    }
    nav a.active {
      font-weight: 600;
      text-decoration: underline;
    }
    nav a:hover {
      text-decoration: underline;
    }
    main {
      max-width: 1100px;
      margin: 0 auto;
      padding: 2rem 1rem 3rem;
    }
    section {
      margin-bottom: 2.5rem;
      background: #ffffff;
      padding: 2rem 1.75rem;
      border-radius: 12px;
      box-shadow: 0 12px 20px rgba(15,23,42,0.06);
    }
    section h2 {
      margin-top: 0;
      margin-bottom: 0.75rem;
      font-size: 1.5rem;
      letter-spacing: 0.02em;
    }
    section h3 {
      margin-top: 1.3rem;
      margin-bottom: 0.4rem;
      font-size: 1.1rem;
    }
    p {
      line-height: 1.5;
      margin: 0.5rem 0;
    }
    ul {
      padding-left: 1.2rem;
      margin: 0.4rem 0 0.6rem;
    }
    li {
      margin: 0.15rem 0;
    }
    .tagline {
      font-size: 0.95rem;
      opacity: 0.9;
    }
    .two-column {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.5rem;
    }
    @media (min-width: 900px) {
      .two-column {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      }
    }
    .card {
      background: #f9fafb;
      border-radius: 10px;
      padding: 1.1rem 1.3rem;
      border: 1px solid #e5e7eb;
    }
.sidebar-note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: #4b5563;
}
.book-promo {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 0.75rem;
}
.book-promo img {
  max-width: 120px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(15,23,42,0.18);
}
    .pill {
      display: inline-block;
      padding: 0.25rem 0.55rem;
      border-radius: 999px;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      background: #111827;
      color: #f9fafb;
      margin-bottom: 0.35rem;
    }
    .subpill {
      background: #fbbf24;
      color: #111827;
    }
    figure {
      margin: 1.5rem auto;
      text-align: center;
    }
    figure img {
      max-width: 260px;
      width: 80%;
      height: auto;
      display: block;
      margin: 0 auto 0.75rem;
    }
    figure figcaption {
      font-size: 0.85rem;
      color: #4b5563;
    }
    .contact-list {
      list-style: none;
      padding-left: 0;
    }
    .contact-list li {
      margin: 0.15rem 0;
    }
.teacher-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:1.5rem;
  margin-top:1.5rem;
}
@media (min-width: 900px){
  .teacher-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.teacher-layout{
  display:flex;
  gap:1rem;
  align-items:flex-start;
}

.teacher-photo{
  flex:0 0 120px;
  max-width:120px;
  height:150px;
  border-radius:8px;
  overflow:hidden;
}

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

    footer {
      text-align: center;
      font-size: 0.8rem;
      color: #6b7280;
      padding: 1.5rem 1rem 2rem;
    }
    a {
      color: #065f46;
    }
    a:hover {
      text-decoration: underline;
    }
