/* V2: mobile-first reading and touch targets; original visual identity retained. */
#portfolio,#learning,#reviews,#courses,#instructor{scroll-margin-top:92px}
.learning-v2{background:#f7f3ed}
.learning-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.learning-grid figure{margin:0;min-width:0}
.learning-grid img{display:block;width:100%;height:300px;object-fit:cover;border-radius:8px}
.learning-grid figcaption,.learning-caption{font-size:14px;line-height:1.75;color:#536171;margin-top:12px}
.mentor-copy .mentor-lede{font-size:17px;line-height:1.8}
.portfolio-pair figcaption{font-size:12px}
@media(max-width:1100px) and (min-width:761px){
 .portfolio-cases{gap:12px}.portfolio-case{padding:10px}.portfolio-pair{gap:6px}
 .portfolio-pair img{height:165px}
}
@media(max-width:760px){
 .mentor-copy h1{font-size:clamp(28px,7.7vw,36px);line-height:1.35;letter-spacing:-1.4px}
 .mentor-copy .mentor-lede{font-size:15px;line-height:1.8}
 .mentor-copy .mentor-caption{font-size:14px;line-height:1.7}
 .mentor-actions{display:block}.mentor-actions .mentor-primary{display:flex;width:100%;min-height:48px;justify-content:center}
 .mentor-visual{max-width:300px}.mentor-photo{aspect-ratio:500/560}
 .learning-v2{padding:32px 0!important}.learning-grid{gap:12px}
 .learning-grid img{height:190px}.learning-grid figcaption{font-size:13px;margin-top:8px}
 .learning-caption{font-size:13px;line-height:1.7}
 .portfolio-case{grid-template-columns:42px minmax(0,1fr);gap:8px}
 .portfolio-pair img{height:145px}.portfolio-pair figcaption{font-size:11px;line-height:1.6}
 body.v24 #courses .course-card .course-more{min-height:44px!important;font-size:13px!important}
 .lead-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.lead-form select{font-size:16px!important;min-height:48px}
 .lead-form button[type=submit]{min-height:48px}

 .consult-copy h2{font-size:clamp(25px,7vw,32px);line-height:1.45;word-break:keep-all}
 .consult-copy>p{font-size:15px;line-height:1.85}
}
@media(max-width:360px){.portfolio-pair img{height:125px}.learning-grid img{height:155px}.portfolio-case h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Compact credentials: preserve every record, reduce spacing before font size. */
body.v24 #instructor{padding:40px 0!important}
#instructor .mentor-section-heading{margin-bottom:22px}
#instructor .mentor-section-heading .mentor-eyebrow{margin-bottom:8px}
#instructor .mentor-section-heading h2{font-size:30px;line-height:1.3;margin-bottom:10px}
#instructor .mentor-section-heading>p:last-child{font-size:14px;line-height:1.6}
#instructor .mentor-bio-grid{gap:32px}
#instructor .mentor-bio-grid>div{min-width:0}
#instructor .mentor-record{margin-bottom:18px}
#instructor .mentor-record h3{font-size:16px;line-height:1.5;gap:8px;padding-bottom:8px;margin-bottom:8px}
#instructor .mentor-record ul li{font-size:14px;line-height:1.6;padding:3px 0}
#instructor .mentor-record li p{font-size:12px;line-height:1.55;margin-top:2px}
#instructor .mentor-record ol li{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:6px 0;font-size:14px;line-height:1.6}
#instructor .mentor-record time{padding-top:1px}
#instructor .mentor-bio-end{margin-top:0;padding:16px 20px}
#instructor .mentor-bio-grid>div:first-child>.mentor-record:nth-child(2) ul{display:flex;flex-wrap:wrap;gap:3px 14px}
#instructor .mentor-bio-grid>div:first-child>.mentor-record:nth-child(2) li{padding:2px 0}
/* The checkbox stays square; its associated label provides a comfortable hit area. */
body.v24 .lead-form .v65-consent input[type="checkbox"]{width:20px;height:20px;min-height:20px;min-width:20px;flex:0 0 20px;margin:0;align-self:center}
body.v24 .lead-form .v65-consent{align-items:center;gap:10px}
body.v24 .lead-form .v65-consent label{display:flex;align-items:center;min-height:44px;line-height:1.6;cursor:pointer}
@media(max-width:760px){
 body.v24 #instructor{padding:28px 0!important}
 #instructor .mentor-section-heading{margin-bottom:18px}
 #instructor .mentor-section-heading h2{font-size:26px}
 #instructor .mentor-bio-grid{gap:0}
 #instructor .mentor-record{margin-bottom:16px}
 #instructor .mentor-record h3{font-size:16px}
 #instructor .mentor-record ol li{gap:8px;padding:5px 0;font-size:14px}
 #instructor .mentor-bio-end{padding:12px 14px}
}

/* Portfolio ends with its caption after removal of the repeated CTA. */
#portfolio .portfolio-footnote{margin-bottom:0}

/* Keep complete award records available without a long initial list. */
#instructor .awards-disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 0;border-bottom:1px solid #dfd8ce;font-size:16px;font-weight:700;line-height:1.5;color:#13263d;cursor:pointer;list-style:none}
#instructor .awards-disclosure summary::-webkit-details-marker{display:none}
#instructor .awards-disclosure summary:focus-visible{outline:2px solid #163f67;outline-offset:4px}
#instructor .awards-toggle{font-size:22px;flex-shrink:0}
#instructor .awards-disclosure[open] .awards-toggle{transform:rotate(45deg)}
#instructor .awards-disclosure ol{margin-top:8px}
@media(max-width:760px){
 .learning-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 .learning-grid img{height:auto;max-height:320px;object-fit:contain;background:#f7f3ed}
}

/* Compact classroom section after removing the explanatory footer. */
body.v24 #learning{padding-top:28px!important;padding-bottom:24px!important}
#learning .section-heading{margin-bottom:18px}
@media(max-width:760px){body.v24 #learning{padding-top:24px!important;padding-bottom:20px!important}.learning-grid{gap:16px}}

/* Keep button padding symmetric; safe-area belongs to the outer bar only. */
@media(max-width:760px){
 body.v24 .mobile-bar{box-sizing:border-box;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e7e1d9;box-shadow:0 -3px 12px rgba(20,32,51,.06)}
 body.v24 .mobile-bar a{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;width:100%;min-height:48px;padding:12px 16px;border-radius:8px;font-size:14px;font-weight:700;line-height:1.5;text-align:center;letter-spacing:0;text-shadow:none}
 body.v24 .mobile-bar a span{flex-shrink:0;line-height:1}
}

/* Avoid the global summary icon duplicating the awards toggle. */
#instructor .awards-disclosure > summary::after{content:none;display:none}

/* Full-width white photo panels behind the centered classroom images. */
#learning .learning-grid img{background:#fff;border-radius:0}

/* Fill the blue lower-left hero area with a compact instructor summary. */
.hero-expertise{position:absolute;left:0;bottom:28px;z-index:3;max-width:48%;color:#fff}
.hero-expertise-title{margin:0;font-size:22px;line-height:1.5;font-weight:600;letter-spacing:-.5px}
.hero-expertise-title strong{font-size:26px;font-weight:800}
.hero-expertise-note{margin:8px 0 0;font-size:14px;line-height:1.65;color:#dae5ee}
@media(max-width:760px){
 .mentor-stage::after{display:none}
 .mentor-hero-grid{row-gap:0}
 .mentor-visual::after{content:"";position:absolute;z-index:1;pointer-events:none;left:50%;bottom:0;width:100vw;height:145px;transform:translateX(-50%);background:linear-gradient(to bottom,rgba(22,63,103,0),rgba(22,63,103,.82) 65%,#163f67 100%)}
 .hero-expertise{position:relative;left:auto;bottom:auto;grid-column:1/-1;max-width:none;width:100%;padding:18px 0 22px;border-top:1px solid rgba(255,255,255,.22);background:#163f67;box-shadow:0 0 0 100vmax #163f67;clip-path:inset(0 -100vmax)}
 .hero-expertise-title{font-size:17px;line-height:1.55}
 .hero-expertise-title br{display:none}
 .hero-expertise-title strong{font-size:19px;display:block}
 .hero-expertise-note{font-size:13px;margin-top:5px}
}
