/* Teaching & Service v9 — intentionally scoped to the page, leaving all others unchanged. */
.ts-page-v9 { color: #244637; }
.ts-head-v9 { max-width: 930px; padding-bottom: 30px; }
.ts-head-v9 p { max-width: 740px; }
.ts-jump-v9 { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; border-block: 1px solid #dce4d9; padding: 14px 0; margin-bottom: 48px; }
.ts-jump-label-v9 { color: #7a8c7b; font-size: 10px; letter-spacing: .16em; font-weight: 700; margin-right: 12px; }
.ts-jump-v9 a { border: 1px solid #dbe4d9; background: #f0f3eb; border-radius: 30px; font-size: 12px; font-weight: 700; padding: 8px 14px; text-decoration: none; }
.ts-jump-v9 a:hover { background: #e3ebdf; color: #985472; }
.ts-page-v9 a:focus-visible, .ts-page-v9 summary:focus-visible { outline: 2px solid #b35177; outline-offset: 3px; }
.ts-section-v9 { scroll-margin-top: 95px; padding-bottom: 35px; }
.ts-section-heading-v9 { display: flex; align-items: baseline; gap: 22px; margin-bottom: 22px; }
.ts-section-no-v9 { font-size: 13px; font-weight: 700; letter-spacing: .07em; color: #b66c89; }
.ts-section-heading-v9 h2 { margin: 0 0 6px; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -.05em; }
.ts-section-heading-v9 h2 em { font-weight: 400; }
.ts-section-heading-v9 p { font-size: 15px; color: #718476; margin: 0; line-height: 1.6; }
.ts-experience-v9 { border-top: 2px solid #c8d7c4; }
.ts-entry-v9 { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 25px; border-bottom: 1px solid #dfe6d9; padding: 23.4px 2px; }
.ts-period-v9 { font-size: 13px; color: #607d69; font-weight: 700; line-height: 1.6; padding-top: 2px; }
.ts-entry-body-v9 h3 { font-size: 21px; letter-spacing: -.035em; line-height: 1.3; margin: 0 0 5px; }
.ts-org-v9 { font-size: 15px; font-weight: 600; color: #477056; line-height: 1.5; margin: 0; }
.ts-detail-v9 { font-size: 15px; line-height: 1.65; color: #596f60; margin: 8px 0 0; max-width: 690px; }
.ts-courses-v9 { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-top: 13px; }
.ts-courses-v9 > span:first-child { font-size: 10px; color: #99837f; letter-spacing: .13em; font-weight: 700; margin-right: 4px; }
.ts-course-v9 { display: inline-block; padding: 6px 10px; background: #f6e9e8; color: #74505d; border: 1px solid #eddddd; border-radius: 7px; font-size: 12px; font-weight: 600; line-height: 1.35; }
.ts-related-v9 { font-size: 13px; color: #657c6d; margin: 18px 0 6px; }
.ts-related-v9 a, .ts-bottom-note-v9 a { color: #a24d74; font-weight: 700; text-underline-offset: 4px; text-decoration: underline; }
.ts-service-v9 { padding-top: 44px; padding-bottom: 76px; }
.ts-service-v9 > .ts-section-heading-v9 { margin-bottom: 30px; }
.ts-service-group-v9 { scroll-margin-top: 96px; margin: 0 0 32px; }
.ts-service-group-v9 h3 { font-size: clamp(23px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -.04em; margin: 0 0 4px; padding-top: 17px; border-top: 2px solid #c8d7c4; }
.ts-group-desc-v9 { margin: 0 0 17px; color: #708073; font-size: 14px; line-height: 1.6; }
.ts-service-entries-v9 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ts-service-entry-v9 { background: #f1f3ea; border: 1px solid #e0e7da; border-radius: 11px; padding: 18px 19px; min-width: 0; }
.ts-service-entry-v9:nth-child(4n + 2), .ts-service-entry-v9:nth-child(4n + 3) { background: #f8eef0; border-color: #eddee4; }
.ts-service-date-v9 { display: block; font-size: 11px; font-weight: 700; color: #8e6076; margin-bottom: 10px; }
.ts-service-entry-v9 h4 { font-size: 16px; letter-spacing: -.025em; line-height: 1.35; margin: 0 0 7px; }
.ts-service-org-v9 { font-size: 13px; font-weight: 600; color: #4d725a; line-height: 1.48; margin: 0 0 6px; }
.ts-service-detail-v9 { font-size: 13px; color: #5e7065; line-height: 1.65; margin: 0; }
.ts-expand-v9 { border-top: 2px solid #c8d7c4; border-bottom: 1px solid #dce4d9; padding: 17px 0; margin-bottom: 18px; }
.ts-expand-v9 summary { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.ts-expand-v9 summary::-webkit-details-marker { display: none; }
.ts-group-name-v9 { flex: 1; font-size: clamp(20px,2.3vw,26px); font-weight: 700; line-height: 1.4; letter-spacing: -.035em; }
.ts-group-count-v9 { white-space: nowrap; color: #808f80; font-size: 12px; }
.ts-expand-icon-v9 { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #cedace; color: #315d48; border-radius: 50%; font-size: 21px; font-weight: 400; }
.ts-expand-v9[open] .ts-expand-icon-v9 { font-size: 0; }
.ts-expand-v9[open] .ts-expand-icon-v9::after { content: '−'; font-size: 21px; }
.ts-expand-v9[open] .ts-group-desc-v9 { margin: 11px 0 17px; }
.ts-expand-v9[open] .ts-service-entries-v9 { margin-bottom: 8px; }
.ts-bottom-note-v9 { background: #e9eee6; border-left: 3px solid #c79caf; border-radius: 0 10px 10px 0; padding: 19px 22px; margin-top: 32px; }
.ts-bottom-note-v9 p { font-size: 14px; line-height: 1.65; margin: 0; }
@media (max-width: 780px) {
  .ts-experience-v9 .ts-entry-v9 { grid-template-columns: 145px minmax(0,1fr); gap: 16px; }
  .ts-service-entries-v9 { grid-template-columns: 1fr; }
  .ts-service-entry-v9 { padding: 16px; }
}
@media (max-width: 620px) {
  .ts-head-v9 { padding-top: 46px; padding-bottom: 22px; }
  .ts-head-v9 h1 { font-size: clamp(47px,9.3vw,67px); }
  .ts-head-v9 p { font-size: 17px; }
  .ts-jump-v9 { margin-bottom: 31px; }
  .ts-jump-label-v9 { width: 100%; }
  .ts-section-heading-v9 { gap: 12px; }
  .ts-section-heading-v9 h2 { font-size: 31px; }
  .ts-entry-v9, .ts-experience-v9 .ts-entry-v9 { display: block; padding: 19px 0; }
  .ts-period-v9 { margin-bottom: 6px; }
  .ts-entry-body-v9 h3 { font-size: 19px; }
  .ts-service-v9 { padding-top: 23px; padding-bottom: 50px; }
  .ts-expand-v9 summary { flex-wrap: wrap; }
  .ts-group-name-v9 { flex-basis: 100%; }
  .ts-group-count-v9 { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .ts-jump-v9 a { scroll-behavior: auto; } }

/* V2 — compact teaching rows and expanded detail inside three merged volunteer cards. */
.ts-activity-list-v9 { margin: 11px 0 0; padding: 11px 0 0; list-style: none; border-top: 1px solid rgba(49,93,72,.16); }
.ts-activity-list-v9 li { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px solid rgba(49,93,72,.11); }
.ts-activity-list-v9 li:last-child { border-bottom: 0; padding-bottom: 0; }
.ts-activity-date-v9 { color: #965877; font-size: 11px; font-weight: 750; }
.ts-activity-role-v9 { font-size: 12px; font-weight: 700; color: #2d4e3c; }
.ts-activity-org-v9 { font-size: 12px; font-weight: 600; color: #52785c; line-height: 1.45; }
.ts-activity-detail-v9 { font-size: 12px; color: #657467; line-height: 1.48; }

.ts-group-heading-block-v9 { display: flex; flex-direction: column; flex: 1; gap: 3px; min-width: 0; }
.ts-group-heading-block-v9 .ts-group-name-v9 { flex: none; }
.ts-group-teaser-v9 { color: #708073; font-size: 13px; font-weight: 400; line-height: 1.55; letter-spacing: 0; }

/* V3 – align section indices, tighten the teaching table, and pair the two feature cards. */
.ts-page-v9 .ts-section-heading-v9 { display: block; }
.ts-page-v9 .ts-section-heading-v9 h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 11px; }
.ts-page-v9 .ts-section-heading-v9 h2 .ts-section-no-v9 { display: inline; font-size: .36em; letter-spacing: .06em; white-space: nowrap; line-height: 1; }
/* Reduce the border rule's unused tail without constraining small screens. */
.ts-page-v9 .ts-experience-v9 { width: 100%; max-width: 950px; }
/* The date-to-position gap is about 22% narrower than the original V2 offset. */
.ts-page-v9 .ts-entry-v9 { grid-template-columns: 155px minmax(0, 1fr); gap: 14px; }
.ts-page-v9 .ts-date-part-v3 { display: block; white-space: nowrap; }
/* Two requested descriptions slightly larger than the other teaching summaries. */
.ts-page-v9 .ts-experience-v9 .ts-entry-v9:nth-child(-n+2) .ts-detail-v9 { font-size: 17px; line-height: 1.52; max-width: none; }
/* Put both large cards on the first row, then place the eight smaller cards in pairs. */
.ts-page-v9 #events .ts-service-entries-v9 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.ts-page-v9 #events .ts-service-entry-v9 { height: 100%; }
.ts-page-v9 #events .ts-event-feature-v3 { padding: 17px 19px; }
.ts-page-v9 #events .ts-event-feature-v3 .ts-service-date-v9 { margin-bottom: 7px; }
.ts-page-v9 #events .ts-event-feature-v3 h4 { margin-bottom: 5px; }
.ts-page-v9 #events .ts-event-feature-v3 .ts-service-org-v9 { margin-bottom: 5px; }
.ts-page-v9 #events .ts-event-feature-v3 .ts-service-detail-v9 { line-height: 1.5; }
.ts-page-v9 #events .ts-activity-list-v9 { margin: 10px 0 0; padding: 6px 0 0; }
.ts-page-v9 #events .ts-activity-list-v9 li { gap: 2px; padding: 8px 0; }
.ts-page-v9 #events .ts-activity-meta-v3 { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; line-height: 1.4; }
.ts-page-v9 #events .ts-activity-date-v9 { font-size: 11px; }
.ts-page-v9 #events .ts-activity-role-v9 { font-size: 12px; }
.ts-page-v9 #events .ts-activity-org-v9 { display: block; font-size: 12px; }
.ts-page-v9 #events .ts-activity-detail-v9 { display: block; }
@media (max-width: 780px) {
  .ts-page-v9 .ts-entry-v9 { grid-template-columns: 132px minmax(0,1fr); gap: 11px; }
}
@media (max-width: 620px) {
  .ts-page-v9 .ts-experience-v9 { max-width: 100%; }
  .ts-page-v9 .ts-entry-v9, .ts-page-v9 .ts-experience-v9 .ts-entry-v9 { display: block; }
  .ts-page-v9 #events .ts-service-entries-v9 { grid-template-columns: 1fr; }
  .ts-page-v9 .ts-section-heading-v9 h2 { gap: 0 8px; }
  .ts-page-v9 .ts-experience-v9 .ts-entry-v9:nth-child(-n+2) .ts-detail-v9 { font-size: 16px; }
}

/* V4 preview adjustments requested October 23, 2026. */
/* The number has no period; pink dot follows the last italicized word. */
.ts-page-v9 .ts-section-heading-v9 h2 .ts-heading-final-dot-v4 {
  color: #c07893;
  font-family: inherit;
  font-style: inherit;
}
/* All four teaching body descriptions match the existing smaller 15px size. */
.ts-page-v9 .ts-experience-v9 .ts-entry-v9:nth-child(-n+2) .ts-detail-v9 {
  font-size: 15px;
  line-height: 1.65;
}
@media (max-width: 620px) {
  .ts-page-v9 .ts-experience-v9 .ts-entry-v9:nth-child(-n+2) .ts-detail-v9 {
    font-size: 15px;
    line-height: 1.65;
  }
}
/* Match the margin under Events intro to the Academic Coordination intro. */
.ts-page-v9 #events[open] > summary {
  margin-bottom: 17px;
}
