/*
  Teaching page — minimal course index
  Keeps the site's existing palette and visual language.
*/
.teaching-page{
  --serif:'Newsreader',Georgia,'Times New Roman',serif;
}

.teaching-page h1,
.teaching-page h2,
.teaching-page h3{
  font-family:var(--serif);
  font-weight:600;
  text-wrap:balance;
}

.teaching-hero{
  padding:82px 0 58px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,color-mix(in srgb,var(--accent-soft) 38%,transparent),transparent);
}

.teaching-hero-inner{
  max-width:820px;
}

.teaching-hero h1{
  margin:0 0 18px;
  font-size:clamp(2.8rem,4.7vw,4.25rem);
  line-height:1.04;
  letter-spacing:-.038em;
}

.teaching-hero .page-lead{
  margin:0;
  max-width:680px;
  font-size:1.1rem;
  line-height:1.72;
  color:var(--muted);
  text-align:left!important;
  hyphens:none!important;
}

.teaching-courses{
  padding:76px 0 96px;
}

.course-card{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(350px,.98fr);
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--surface);
  box-shadow:0 16px 46px rgba(19,39,45,.08);
}

.course-copy{
  padding:48px 50px;
  align-self:center;
}

.course-copy h2{
  margin:0 0 17px;
  max-width:620px;
  font-size:clamp(2rem,3.1vw,2.85rem);
  line-height:1.12;
  letter-spacing:-.027em;
}

.course-description{
  max-width:62ch;
  margin:0;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.76;
  text-align:left!important;
  text-justify:auto!important;
  hyphens:none!important;
}

.course-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:25px;
}

.course-meta span{
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 10px;
  color:var(--muted);
  background:color-mix(in srgb,var(--surface-2) 55%,transparent);
  font-size:.75rem;
  line-height:1.2;
}

.course-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}

.course-actions .btn{
  padding:11px 18px;
  font-size:.88rem;
  font-weight:650;
}

.course-visual{
  min-height:430px;
  padding:42px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:var(--accent-dark);
  color:#fff;
}

.course-monogram{
  width:86px;
  height:86px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.22);
  border-radius:22px;
  font-family:var(--serif);
  font-size:3.15rem;
  font-weight:600;
  line-height:1;
  color:#d9eeee;
}

.course-visual-copy{
  display:grid;
  gap:7px;
  margin-top:auto;
  padding-top:58px;
}

.course-visual-copy span{
  color:#9ed1d1;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.course-visual-copy strong{
  max-width:390px;
  font-family:var(--serif);
  font-size:clamp(1.9rem,3vw,2.65rem);
  font-weight:600;
  line-height:1.12;
}

.course-flow{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin-top:36px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.18);
  color:#c5dada;
  font-size:.78rem;
}

.course-flow i{
  font-style:normal;
  color:#77bfc2;
}

@media(max-width:900px){
  .course-card{
    grid-template-columns:1fr;
  }

  .course-visual{
    min-height:310px;
  }
}

@media(max-width:680px){
  .teaching-hero{
    padding:62px 0 48px;
  }

  .teaching-hero h1{
    font-size:clamp(2.55rem,12vw,3.45rem);
  }

  .teaching-courses{
    padding:56px 0 72px;
  }

  .course-card{
    border-radius:20px;
  }

  .course-copy{
    padding:30px 26px 34px;
  }

  .course-copy h2{
    font-size:clamp(1.9rem,9vw,2.45rem);
  }

  .course-meta{
    gap:6px;
  }

  .course-visual{
    min-height:270px;
    padding:28px;
  }

  .course-monogram{
    width:68px;
    height:68px;
    border-radius:17px;
    font-size:2.55rem;
  }

  .course-visual-copy{
    padding-top:38px;
  }

  .course-flow{
    gap:7px;
  }
}
