.tutoring-card { --fin-gold: #b9dcd5; --fin-navy: #093b49; --fin-cream: #f2f8f6; }
.tutoring-card .program-fit-link { color: var(--fin-navy); }
.tutoring-card .exam-modes span { background: #f5fbf9; }
.tutoring-card .fin-proof { border-color: #cddfdd; }
.tutoring-card .fin-proof > div { border-color: #39796f; }
.tutoring-card .exam-hero-image { object-position: 52% 41%; }
.tutoring-proof > div { padding-block: .15rem; }
.tutoring-card .tutoring-proof p { max-width: 56rem; margin: 0; font: 650 clamp(1.06rem, 1.6vw, 1.4rem)/1.35 "Manrope", Arial, sans-serif; color: #183d48; }
.tutoring-card .tutoring-proof p + p { margin-top: .35rem; font: 400 1rem/1.45 "DM Sans", Arial, sans-serif; color: #3d5860; }
.tutoring-card .exam-format-note { margin-top: .35rem; color: #284c53; font-size: .875rem; line-height: 1.4; }
.tutoring-card { container-type: inline-size; container-name: tutoring; }
.tutoring-spread { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); gap: var(--exam-gutter); }
.tutoring-spread h3 { margin: 0 0 .8rem; font-size: clamp(1.35rem,1.85vw,1.7rem); line-height: 1.15; }
.tutoring-example { border-inline-start: 1px solid #d4e2de; padding-inline-start: var(--exam-gutter); }
.tutoring-week { container-type: inline-size; }
.tutoring-week table { width: 100%; table-layout: fixed; border-spacing: 0; border: 1px solid #d8e3df; border-radius: .5rem; overflow: hidden; color: #183d48; }
.tutoring-week th, .tutoring-week td { padding: .38rem; text-align: center; border-inline-end: 1px solid #d8e3df; border-bottom: 1px solid #d8e3df; }
.tutoring-week tr > :last-child { border-inline-end: 0; }
.tutoring-week tbody tr:last-child > * { border-bottom: 0; }
.tutoring-week thead th { padding-block: .6rem; background: #f1f6f5; font-size: .94rem; }
.tutoring-week thead th:first-child { width: 15%; }
.tutoring-week thead .meeting-day { width: 23%; background: #005e69; color: white; }
.tutoring-week tbody th { font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tutoring-block { display: flex; align-items: center; min-height: 2.75rem; padding: .4rem .55rem; text-align: left; border-radius: .25rem; border-inline-start: 3px solid; font-weight: 700; line-height: 1.2; }
.tutoring-block.math { background: #e5f2f1; border-color: #167a7e; }
.tutoring-block.science { background: #fff3d9; border-color: #b17b13; }
.tutoring-block.english { background: #fcebe4; border-color: #bd5639; }
.tutoring-week figcaption { margin-top: .6rem; color: #496168; font-size: .94rem; line-height: 1.45; }
@container (max-width: 38rem) {
  .tutoring-week .off-day { display: none; }
  .tutoring-week thead th:first-child { width: 23%; }
  .tutoring-week thead .meeting-day { width: 38.5%; }
  .tutoring-week tr > :nth-child(5) { border-inline-end: 0; }
  .tutoring-week td { padding: .25rem; }
  .tutoring-block { padding-inline: .35rem; }
}
.tutoring-enrollment { max-width: 34rem; margin-top: 1rem; }
.tutoring-card .tutoring-minimum { margin-top: .5rem; font-size: .94rem; }
.tutor-size { border-collapse: collapse; width: 100%; color: #284c53; }
.tutor-size caption { text-align: left; font-weight: 750; color: #183d48; margin: .2rem 0 .3rem; }
.tutor-size th, .tutor-size td { text-align: center; padding: .32rem .22rem; border-bottom: 1px solid #d8e3df; }
.tutor-size thead th { font-size: .88rem; font-weight: 600; color: #496168; }
.tutor-size th:first-child { text-align: left; }
.tutoring-choices { display: flex; flex-wrap: wrap; gap: .35rem; margin-block: .55rem .65rem; }
.tutoring-choices button { min-height: 2.75rem; padding: .45rem .8rem; border: 1px solid #8da9a9; border-radius: .35rem; color: #075761; font: 700 .96rem/1.2 "DM Sans", Arial, sans-serif; background: white; cursor: pointer; }
.tutoring-choices button[aria-pressed="true"] { background: #005e69; border-color: #005e69; color: white; }
.tutoring-choices button:focus-visible { outline: 3px solid #005e69; outline-offset: 2px; }
.tutoring-assignment { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: .8rem .75rem; margin: 0; }
.tutoring-assignment dt { padding-top: .15rem; font-size: .9rem; font-weight: 700; color: #005e69; }
.tutoring-assignment dd { margin: 0; font-size: 1rem; line-height: 1.45; }
.tutoring-card .fin-modules:empty { display: none; }
@container tutoring (max-width: 48rem) {
  .tutoring-spread { grid-template-columns: 1fr; }
  .tutoring-example { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid #d4e2de; padding-top: 1rem; }
}
@container tutoring (max-width: 28rem) {
  .tutoring-assignment { grid-template-columns: 1fr; gap: .2rem; }
  .tutoring-assignment dd + dt { margin-top: .5rem; }
}
@media (max-width: 600px) {
  .tutoring-card .exam-format-note { grid-column: 1 / -1; margin: 0; padding-inline: .85rem; }
}
