.school-courses,.school-detail{--muted:#38443e}
.school-intro{padding:clamp(24px,4vw,52px) 0 0}
.school-hero{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:var(--radius);background:#17352b;color:#fff}
.school-hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(30px,5vw,64px)}
.school-hero-copy .eyebrow{margin:0;color:#cee1d5}
.school-hero h1{font-size:clamp(2.5rem,5vw,4.6rem);line-height:1.02;margin:.24em 0 .38em}
.school-hero-copy p:not(.eyebrow){max-width:38ch;margin:0 0 24px;color:#e4eee7;font-size:1.1rem}
.school-hero img{display:block;width:100%;height:100%;min-height:340px;object-fit:cover;object-position:50% 68%}
.school-hero .school-hero-button{background:#f7f5ef;color:#17352b;border-color:#f7f5ef}
.school-hero .school-hero-button:hover{background:#e0ebe3;border-color:#e0ebe3}
.school-hero .school-hero-button:focus-visible{outline-color:#cee1d5}
.school-courses{scroll-margin-top:88px;padding-top:clamp(38px,5vw,68px)}
.school-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.school-course{display:flex;flex-direction:column;padding:clamp(22px,3vw,30px);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:16px;background:var(--card)}
.school-course h3{font-size:clamp(1.4rem,2.1vw,1.72rem);line-height:1.17}
.school-course p{margin:0 0 16px;color:var(--muted)}
.school-course .school-course-tag{margin-bottom:14px;color:var(--accent-deep);font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.school-course-tag span{padding:0 5px}
.school-course-note{font-size:.94rem;color:var(--muted)}
.school-course-programme{margin:0 0 16px;padding-left:1.15em;color:var(--muted)}
.school-course-programme li+li{margin-top:8px}
.school-course-programme strong{color:var(--ink)}
.school-location-link{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}
.school-location-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.school-teaser{padding-top:0}
.school-teaser-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(22px,4vw,40px);border:1px solid var(--line);border-radius:var(--radius);background:#e5eae5}
.school-teaser-panel h2{font-size:clamp(1.75rem,3vw,2.6rem);margin:6px 0 10px}
.school-teaser-panel p{max-width:58ch;margin:0;color:var(--muted)}
.school-teaser-panel .btn{flex-shrink:0}
@media(max-width:740px){
  .school-hero{grid-template-columns:1fr}
  .school-hero img{min-height:0;height:auto;aspect-ratio:16/9}
  .school-course-grid{grid-template-columns:1fr;gap:14px}
  .school-teaser-panel{align-items:flex-start;flex-direction:column}
}

/* The course index stays short; each course has room for its own details. */
.school-course,.school-instructor-link{scroll-margin-top:100px}
.school-course .school-course-fact{font-size:.92rem;font-weight:750;color:var(--accent-deep)}
.school-text-link,.school-instructor-link,.school-breadcrumb a,.school-detail-jumps a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:4px}
.school-text-link:hover,.school-instructor-link:hover,.school-breadcrumb a:hover,.school-detail-jumps a:hover{color:var(--ink)}
.school-text-link:focus-visible,.school-instructor-link:focus-visible,.school-breadcrumb a:focus-visible,.school-detail-jumps a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.school-course-link{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;min-height:44px;margin-top:auto;font-weight:750}
.school-instructor-link{align-self:flex-start;margin:0 0 12px;font-size:.9rem}

.school-detail{padding:clamp(22px,4vw,48px) 0 clamp(40px,6vw,76px)}
.school-breadcrumb{display:flex;flex-wrap:wrap;gap:5px 10px;align-items:center;margin:0 0 24px;font-size:.9rem;color:var(--muted)}
.school-detail-header{padding:clamp(24px,5vw,50px);border-radius:var(--radius);background:#e5eae5}
.school-detail-header-with-photo{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);padding:0;overflow:hidden}
.school-detail-header-with-photo .school-detail-lead{align-self:center;padding:clamp(24px,5vw,50px)}
.school-detail-lead h1{max-width:17ch;margin:.2em 0 .38em;font-size:clamp(2.3rem,5.8vw,4.4rem);line-height:1.04;overflow-wrap:break-word}
.school-detail-lead p{max-width:54ch;margin:0;color:var(--muted);font-size:1.07rem}
.school-detail-lead .eyebrow{color:var(--accent-deep);font-size:.77rem}
.school-detail-photo{min-width:0;margin:0;overflow:hidden}
.school-detail-photo img{display:block;width:100%;height:100%;min-height:235px;object-fit:cover;object-position:50% 56%}
.school-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,325px);grid-template-areas:"content facts";gap:clamp(24px,5vw,64px);align-items:start;margin:clamp(28px,5vw,52px) 0 24px}
.school-detail-aside{grid-area:facts;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.school-detail-aside h2,.school-detail-jumps h3{margin:0 0 14px;font-size:1.2rem}
.school-detail-aside dl{margin:0 0 20px}
.school-detail-aside dl div+div{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.school-detail-aside dt{color:var(--muted);font-size:.84rem;font-weight:700}
.school-detail-aside dd{margin:3px 0 0;font-weight:650}
.school-detail-aside .school-register{display:flex;justify-content:center;min-height:44px;text-align:center;background:#17352b;border-color:#17352b;color:#fff}
.school-detail-aside .school-register:hover{background:#385149;border-color:#385149}
.school-detail-jumps{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.school-detail-jumps h3{font-size:1rem;margin-bottom:8px}
.school-detail-jumps ul{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;list-style:none;font-size:.92rem}
.school-detail-jumps a{display:inline-block;padding:5px 0}
.school-detail-content{grid-area:content;min-width:0}
.school-detail-section{scroll-margin-top:100px}
.school-detail-section+.school-detail-section{margin-top:27px;padding-top:25px;border-top:1px solid var(--line)}
.school-detail-section h2{margin:0 0 13px;font-size:clamp(1.45rem,3vw,2rem);line-height:1.12}
.school-detail-section h3{margin:22px 0 8px;font-size:1.15rem}
.school-detail-section p{margin:0 0 13px}
.school-detail-section p:last-child{margin-bottom:0}
.school-detail-section .school-course-programme{max-width:67ch}
.school-detail-section .school-location-link{overflow-wrap:anywhere}
.school-back-link{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.school-ski-detail .school-ski-entry{margin-top:12px;font-size:.95rem}
.school-ski-detail .school-detail-photo{position:relative;min-height:285px}
.school-ski-detail .school-detail-photo img{position:absolute;inset:0;object-position:50% 61%}
.school-field-photo{margin:20px 0 0;overflow:hidden;border-radius:16px}
.school-field-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:50% 52%}
.school-ice-detail .school-detail-header{background:#17352b;color:#fff}
.school-ice-detail .school-detail-lead p{color:#e4eee7}
.school-ice-detail .school-detail-lead .eyebrow{color:#cee1d5}
.school-ice-detail .school-detail-photo{position:relative;min-height:clamp(320px,37vw,450px);background:#abc5df}
.school-ice-detail .school-detail-photo img{position:absolute;inset:0;object-position:50% 70%}
.school-ice-gallery{padding-top:clamp(24px,4vw,44px);margin:0 0 24px;border-top:1px solid var(--line)}
.school-ice-gallery h2{margin:0 0 16px;font-size:clamp(1.45rem,3vw,2rem)}
.school-ice-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,20px)}
.school-ice-gallery figure{margin:0;overflow:hidden;border-radius:16px;background:#abc5df}
.school-ice-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.school-ice-gallery .school-ice-approach{object-position:50% 81%}
@media(max-width:740px){
  .school-detail-header-with-photo{grid-template-columns:1fr}
  .school-detail-photo img{height:auto;min-height:0;aspect-ratio:16/9}
  .school-ski-detail .school-detail-photo{min-height:0;aspect-ratio:16/10}
  .school-ski-detail .school-detail-photo img{height:100%}
  .school-ice-detail .school-detail-photo{min-height:0;aspect-ratio:1}
  .school-ice-detail .school-detail-photo img{height:100%}
  .school-ice-gallery-grid{grid-template-columns:1fr}
  .school-detail-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"facts" "content"}
}

.school-courses .section-heading{margin-bottom:24px}
.school-course .school-course-fact{line-height:1.45}
.school-legacy-anchor{scroll-margin-top:118px}
.school-detail .school-detail-section p{max-width:70ch}
@media(min-width:950px) and (min-height:850px){
  .school-detail-aside{position:sticky;top:98px}
}
@media(max-width:740px){
  .school-ice-detail .school-detail-photo{aspect-ratio:4/3}
}

/* Four listings in a balanced grid; avoid a lone card on its own row. */
.school-courses{padding-block:clamp(32px,4vw,52px) clamp(40px,5vw,60px)}
.school-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.school-course-fees{list-style:none;margin:0 0 14px;padding:0;color:var(--accent-deep);font-size:.92rem}
.school-course-fees li+li{margin-top:5px}
.school-detail-header-compact{padding:clamp(22px,3.6vw,46px)}
.school-detail-header-compact .school-detail-lead h1{max-width:unset;font-size:clamp(2.2rem,5.5vw,4.2rem)}
.school-ski-detail .school-detail-photo img{object-position:50% 80%}
.school-field-photo img{aspect-ratio:7/5;object-position:50% 54%}
.school-detail-grid{margin-top:clamp(22px,3.3vw,44px)}
.school-ice-gallery{padding-top:clamp(20px,3vw,32px)}
.school-ice-detail .school-detail-photo img{object-position:50% 82%}
.school-ice-gallery .school-ice-approach{object-position:50% 83%}
.school-section-fee{font-weight:750;color:var(--accent-deep)}

.course-progress{margin-top:8px;font-size:.9rem}
.course-progress summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:7px 0;color:var(--accent-deep);font-weight:720;cursor:pointer;list-style:none}
.course-progress summary::-webkit-details-marker{display:none}
.course-progress summary::after{content:'+';font-size:1.1rem;font-weight:500}
.course-progress[open] summary::after{content:'−'}
.course-progress summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.course-progress-body{padding:12px 14px;margin-bottom:6px;border-radius:10px;background:#edf0ec;color:var(--muted)}
.school-detail .course-progress-body p,.school-course .course-progress-body p{margin:0}
.school-detail .course-progress-body p+p,.school-course .course-progress-body p+p{margin-top:4px}
.course-progress-body p:empty{display:none}
.course-progress-body progress{display:block;width:100%;margin-top:8px;accent-color:var(--accent)}
.course-progress-body progress[hidden]{display:none}
.course-progress-body small{display:block;margin-top:5px}
.school-detail-section .course-progress{margin:-6px 0 12px}
.school-progress-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;align-items:start}
@media(max-width:740px){
 .school-intro{padding-top:20px}
 .school-course-grid{grid-template-columns:1fr}
 .school-detail{padding-top:18px}
 .school-breadcrumb{margin-bottom:14px}
 .school-hero-copy,.school-detail-header-with-photo .school-detail-lead{padding:22px}
 .school-detail-header-compact .school-detail-lead h1{max-width:14ch}
 .school-ski-detail .school-detail-photo{aspect-ratio:4/3}
 .school-ski-detail .school-detail-photo img{object-position:50% 76%}
}
@media(max-width:365px){.school-progress-pair{grid-template-columns:1fr}}

.school-hero-actions,.school-teaser-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.school-teaser-actions .school-text-link{font-weight:750}
.school-hero .school-hero-secondary{border-color:#91ad9f;background:transparent;color:#fff}
.school-hero .school-hero-secondary:hover{background:#385149}
.school-hero .school-hero-secondary:focus-visible{outline-color:#cee1d5}
.school-page .school-intro{padding-top:clamp(32px,5vw,64px)}
.school-page .school-intro .section-heading{margin-bottom:0}
.school-page .school-index-actions{margin-top:22px}
.school-page .school-course-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.school-page .school-course.card{position:relative;grid-column:span 2;padding:0;border:1px solid var(--line);scroll-margin-top:94px}
.school-page .school-course--basi{background:var(--warm)}
.school-page .school-basi-actions{align-items:center;margin-top:auto}
.school-page .school-basi-actions .btn{text-align:center}
.school-page .school-basi-request{margin:16px 0 3px}
.school-page .school-course .card-body h3{margin:0 0 8px}
.school-page .school-course .smallcaps{margin:0 0 9px;color:var(--accent-deep)}
.school-page .school-course-photo{aspect-ratio:16/10;height:auto}
.school-page #spring-ski-touring .school-course-photo{object-position:54% 65%}
.school-page #ice-climbing .school-course-photo{object-position:50% 82%}
.school-page #ski-touring .school-course-photo{object-position:50% 77%}
.school-page .school-course-link{margin-top:0;padding-top:0}
.school-page .school-course-link::after{content:"";position:absolute;inset:0}
.school-page .school-course-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.school-page .course-progress,.school-page .school-progress-pair{position:relative}
.school-page .course-progress{margin-top:0;border-top:1px solid var(--line)}
.school-page .school-progress-pair{grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr))}
@media(min-width:621px) and (max-width:950px){
  .school-page .school-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .school-page .school-course.card{grid-column:auto}
}
@media(max-width:620px){
  .school-page .school-course-grid{grid-template-columns:minmax(0,1fr)}
  .school-page .school-course.card{grid-column:auto}
}
.school-spring-detail .school-detail-photo img{object-position:54% 65%}
.school-spring-detail .school-detail-photo{position:relative;min-height:330px}
.school-spring-detail .school-detail-photo img{position:absolute;inset:0}
.wfr-interest-actions{display:grid;gap:8px}
.wfr-interest-actions .school-register{line-height:1.35}
@media(max-width:740px){
  .school-spring-detail .school-detail-photo{aspect-ratio:16/10;min-height:0}
  .school-spring-detail .school-detail-photo img{height:100%}
}
