/* Brand and branch information: only loaded on About, Course and Staff. */
.subpage .branch-directory {
  margin-top: 24px;
  border-top: 1px solid #cbb497;
  text-align: left;
}
.subpage .branch-directory .branch-directory-label {
  margin: 14px 0 6px;
  color: #853828;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.5;
}
.subpage .branch-directory ul {list-style: none; padding: 0; margin: 0}
.subpage .branch-directory li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 0;
  border-bottom: 1px solid #dbcbb7;
}
.subpage .branch-address {min-width: 0}
.subpage .branch-address strong {display: block; font: 600 19px/1.5 var(--serif); color: #38291f}
.subpage .branch-address address {font: normal 12px/1.65 var(--sans); color: #645346; overflow-wrap: anywhere; margin-top: 3px}
.subpage .branch-directory a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  border: 1px solid #9b674d;
  padding: 5px 10px;
  color: #713321;
  font-size: 12px;
  font-weight: 600;
}
.subpage .branch-directory a:hover {background: #713321; color: #fff}
.subpage .branch-directory-course {
  max-width: 880px;
  margin: 26px auto 0;
  padding: 14px 22px 8px;
  background: #f2e9dc;
}
.subpage .branch-directory-course .branch-directory-label {margin: 0 0 3px}
.subpage .branch-directory-course ul {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,345px),1fr)); gap: 0 24px}
.subpage .branch-directory-course li {border-bottom: 0}
.subpage .course-overview {margin: 28px auto 0; max-width: 880px; text-align: left}
.subpage .course-overview h2 {font: 600 23px/1.45 var(--serif); color: #38291f; margin: 0 0 9px}
.subpage .course-overview > div {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px}
.subpage .course-overview a {display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 45px; color: #38291f; border-bottom: 1px solid #d7c4ac; padding: 5px 2px; font-size: 13px}
.subpage .course-overview a:hover {background: #f3e9db}
.subpage .course-quick-name {font-weight: 600}
.subpage .course-quick-rate {display: flex; align-items: baseline; flex: none; gap: 7px; color: #645346; font: 11px/1.5 var(--sans)}
.subpage .course-quick-rate strong {font-size: 16px; font-variant-numeric: tabular-nums; color: #853828}
.subpage .course-overview ~ * {min-width: 0}
.subpage .course-entry .price-line {border-top: 1px solid #dbcbb7; padding-top: 10px}
.subpage .course-entry .price-line strong {font-size: clamp(27px,3vw,38px); font-variant-numeric: tabular-nums}
.subpage .staff-list-section {padding-top: 24px}
.subpage .staff-list {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px clamp(12px,4vw,50px)}
.subpage .staff-list .staff-group {min-width: 0; padding: 12px 0 25px}
.subpage .staff-list .group-heading {margin-bottom: 14px; gap: 8px; flex-wrap: wrap}
.subpage .staff-list .group-heading h2 {font-size: clamp(16px,2.25vw,27px); line-height: 1.45}
.subpage .staff-list .staff-profile {display: flex; flex-direction: column; align-items: stretch; gap: 13px; height: auto}
.subpage .staff-list .staff-profile img {max-width: none; aspect-ratio: 4/3; margin: 0}
.subpage .staff-list .staff-profile .staff-intro-title {font: 600 clamp(14px,1.6vw,19px)/1.55 var(--serif)}
.subpage .staff-list .staff-profile .btn {white-space: normal; min-width: 0; max-width: 100%; line-height: 1.5}
@media(max-width: 700px) {
  .subpage .branch-directory-course {padding: 12px 12px 3px}
  .subpage .branch-directory-course li + li {border-top: 1px solid #dbcbb7}
  .subpage .course-overview > div {grid-template-columns: 1fr}
  .subpage .staff-list .group-heading .brand-label {display: none}
  .subpage .staff-list .staff-profile p {font-size: 12px; line-height: 1.85}
  .subpage .staff-list .staff-profile h3 {font-size: 17px}
  .subpage .staff-list .staff-profile .btn {padding: 9px 6px; font-size: 11px}
}
@media(max-width: 370px) {
  .subpage .branch-directory li {flex-wrap: wrap}
}

/* Course page: clearer separation between branches and a roomier price list. */
.subpage .branch-directory-course {margin-top: 34px; padding: 20px 24px 22px}
.subpage .branch-directory-course .branch-directory-label {margin-bottom: 12px}
.subpage .branch-directory-course ul {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px 42px;
}
.subpage .branch-directory-course li {
  position: relative;
  display: grid;
  grid-template-columns: 106px minmax(0,1fr);
  column-gap: 15px;
  row-gap: 5px;
  padding: 3px 0;
  align-items: center;
}
.subpage .branch-directory-course li + li::before {
  content: '';
  position: absolute;
  inset: 4px auto 4px -21px;
  border-left: 1px solid #cfbaa0;
}
.subpage .branch-directory-course .branch-thumbnail {
  grid-row: 1 / span 2;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.subpage .branch-directory-course a {grid-column: 2; justify-self: start; min-height: 36px}
.subpage .course-overview {margin-top: clamp(38px,5vw,62px)}
.subpage .course-overview h2 {margin-bottom: 16px}
.subpage .course-overview > div {column-gap: 42px}
.subpage .course-overview a {min-height: 62px; padding: 11px 8px; gap: 12px; font-size: 14px; line-height: 1.6}
.subpage .course-quick-rate {align-items: center; gap: 11px}
.subpage .course-quick-rate strong {font-size: 17px}
@media (max-width: 720px) {
  .subpage .branch-directory-course {padding: 15px 14px}
  .subpage .branch-directory-course ul,.subpage .course-overview > div {grid-template-columns: minmax(0,1fr); gap: 0}
  .subpage .branch-directory-course li {grid-template-columns: 86px minmax(0,1fr); padding: 8px 0}
  .subpage .branch-directory-course li + li {border-top: 1px solid #cfbaa0; margin-top: 6px; padding-top: 14px}
  .subpage .branch-directory-course li + li::before {display: none}
  .subpage .course-overview a {min-height: 58px; padding-inline: 3px}
  .subpage .course-quick-rate {gap: 8px}
}

/* Staff grouped by their actual branch; shared gender avatars. */
.subpage .staff-directory {display:block}
.subpage .staff-directory .staff-group {padding:28px 0 44px;margin-bottom:24px}
.subpage .staff-directory .group-heading {margin-bottom:24px;justify-content:space-between;align-items:center}
.subpage .staff-members {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.subpage .staff-directory .staff-profile {background:#fbf8f2;gap:0;min-width:0}
.subpage .staff-directory .staff-profile>div {padding:20px 24px 24px}
.subpage .staff-directory .staff-profile img {display:block;height:auto;object-fit:contain;background:#eeedeb}
.subpage .staff-directory .staff-specialty {border:0;padding:0;margin:12px 0 0;color:#645346;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.subpage .staff-directory .staff-specialty>span {display:block;font-size:11px;letter-spacing:.1em;color:#94785d;margin-bottom:4px}
.subpage .staff-directory .staff-profile h3 {margin:6px 0 0}
.subpage .staff-group-action {margin-top:26px;text-align:right}
@media(max-width:700px){
 .subpage .staff-members {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
 .subpage .staff-directory .staff-profile>div {padding:12px}
 .subpage .staff-directory .staff-profile .brand-label {font-size:10px}
 .subpage .staff-directory .staff-profile .staff-specialty {font-size:12px}
 .subpage .staff-directory .group-heading .text-link {font-size:11px}
 .subpage .staff-directory .staff-profile h3 {font-size:20px}
}
