/* Study BFA — semester selection, understated academic design.
   Uses the established Study BFA theme variables. */
html body.academy-home .study-semester-home {
  padding-top:60px;
  padding-bottom:80px;
}
html body.academy-home .study-semester-heading {
  margin:0 0 34px;
  text-align:center;
}
html body.academy-home .study-semester-heading h2 {
  margin:0!important;
  font:400 clamp(34px,4vw,48px)/1.2 Georgia,"Times New Roman",serif!important;
  letter-spacing:-.032em;
  color:var(--ink)!important;
}
html body.academy-home .study-semester-picker {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;
  gap:14px!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
}
html body.academy-home .study-semester-choice {
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  min-width:0!important;
  min-height:190px!important;
  padding:22px!important;
  gap:12px!important;
  text-align:center!important;
  background:var(--surface)!important;
  border:1px solid var(--line)!important;
  border-radius:9px!important;
  box-shadow:none!important;
  color:var(--ink)!important;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease;
}
html body.academy-home .study-semester-number {
  font:400 clamp(45px,4vw,62px)/1 Georgia,"Times New Roman",serif!important;
  letter-spacing:-.055em;
  color:var(--ink)!important;
}
html body.academy-home .study-semester-year {
  margin:0!important;
  font:500 13px/1.4 Inter,system-ui,sans-serif!important;
  letter-spacing:.01em;
  color:var(--muted)!important;
}
html body.academy-home .study-semester-choice:hover {
  background:var(--surface-soft)!important;
  border-color:var(--blue)!important;
}
html body.academy-home .study-semester-choice[aria-selected="true"] {
  background:var(--soft-blue)!important;
  border-color:var(--blue)!important;
}
html body.academy-home .study-semester-choice[aria-selected="true"]:after {
  content:"";
  position:absolute;
  bottom:-1px;
  left:calc(50% - 32px);
  width:64px;
  height:3px;
  background:var(--blue);
}
html body.academy-home .study-semester-choice[aria-selected="true"] .study-semester-number {
  color:var(--blue)!important;
}
html body.academy-home .study-semester-choice:focus-visible {
  outline:3px solid var(--blue)!important;
  outline-offset:4px!important;
}
html body.academy-home .study-semester-results {
  width:100%;
  margin:34px 0 0!important;
}
.study-semester-content[hidden] { display:none!important; }
.study-semester-content { animation:semester-content-in .18s ease-out; }
@keyframes semester-content-in {
  from{opacity:.5;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}
.study-semester-subject-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:14px;
  padding-bottom:18px;
  margin-bottom:21px;
  border-bottom:1px solid var(--line);
}
html body.academy-home .study-semester-subject-heading h3 {
  font:400 clamp(25px,3vw,31px)/1.2 Georgia,"Times New Roman",serif!important;
  color:var(--ink)!important;
  margin:0!important;
}
.study-semester-count {
  white-space:nowrap;
  color:var(--muted);
  font:500 12px Inter,system-ui,sans-serif;
}
html body.academy-home .courses.study-semester-course-grid {
  width:100%;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
html body.academy-home .study-semester-course-grid .course {
  min-height:175px;
  border-radius:9px;
  padding:23px 26px;
}
html body.academy-home .study-semester-course-grid .course .num {
  margin-bottom:14px;
}
html body.academy-home .study-semester-course-grid .course strong {
  font-size:23px!important;
}
.study-semester-empty {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:9px;
  padding:30px;
}
html body.academy-home .study-semester-empty p {
  margin:0!important;
  font:400 14px/1.65 Inter,system-ui,sans-serif!important;
  color:var(--muted)!important;
}
@media(max-width:740px){
  html body.academy-home .study-semester-home{padding-top:42px;padding-bottom:55px}
  html body.academy-home .study-semester-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body.academy-home .study-semester-choice{min-height:159px!important;padding:16px!important}
  html body.academy-home .study-semester-number{font-size:49px!important}
  html body.academy-home .courses.study-semester-course-grid{grid-template-columns:1fr!important}
}
@media(max-width:460px){
  html body.academy-home .study-semester-home{padding-top:36px;padding-bottom:40px}
  html body.academy-home .study-semester-heading{margin-bottom:24px}
  html body.academy-home .study-semester-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  html body.academy-home .study-semester-choice{min-height:130px!important;padding:12px 4px!important;gap:9px!important;border-radius:7px!important}
  html body.academy-home .study-semester-number{font-size:43px!important}
  html body.academy-home .study-semester-year{font-size:11px!important}
  .study-semester-subject-heading{align-items:start;flex-direction:column}
  .study-semester-results{margin-top:24px}
  .study-semester-empty{padding:22px}
}
@media(prefers-reduced-motion:reduce){
  .study-semester-content{animation:none}
  html body.academy-home .study-semester-choice{transition:none}
}
