/* Final round: keep the existing native block system and brand palette. */
:is(.wp-site-blocks.wp-site-blocks.wp-site-blocks.wp-site-blocks.wp-site-blocks.wp-site-blocks.wp-site-blocks.wp-site-blocks,.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper.editor-styles-wrapper){
 .wp-block-button__link,.btn,.cta,.rlink{ text-transform:none;letter-spacing:0 }
 .smr-hero-media{inset:-94px 0 -94px auto;transform:translate3d(0,var(--smr-shift,0px),0)}
 .smr-client-hero.smr-text-right .smr-hero-media{left:0;right:auto}
 .smr-home-benefits{background:#faf9f5}
 .smr-home-benefits .smr-split{align-items:center;gap:56px}
 .smr-home-benefits .smr-copy h2{font-size:clamp(28px,3vw,44px)}
 .smr-home-benefits .smr-image-wrap{border-radius:8px;overflow:hidden}
 .smr-benefit-list{display:flex;flex-direction:column;gap:0;counter-reset:benefits;margin-top:28px}
 .smr-benefit-list>.smr-benefit-card{counter-increment:benefits;display:grid;grid-template-columns:40px 1fr;gap:18px;align-items:center;padding:18px 0;background:none;border:0;border-bottom:1px solid #364c6328;border-radius:0;box-shadow:none}
 .smr-benefit-list>.smr-benefit-card p{font-size:17px;font-weight:600;margin:0;line-height:1.5}
 .smr-benefit-card.smr-has-editable-icon:before{display:none}
 .smr-editable-icon{width:38px;height:38px;margin:0;flex:none}
 .smr-editable-icon img{display:block;width:100%;height:100%;object-fit:contain}
 .smr-performance-benefits>.smr-benefit-card{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:16px;row-gap:10px;align-items:center;padding:24px}
 .smr-performance-benefits>.smr-benefit-card>.smr-editable-icon{grid-column:1;grid-row:1 / span 2;align-self:center;justify-self:center}
 .smr-performance-benefits>.smr-benefit-card>:nth-child(2){grid-column:2;grid-row:1;margin:0;align-self:center}
 .smr-performance-benefits>.smr-benefit-card>:nth-child(n+3){grid-column:2;margin:0}
 .smr-programme-reviews .smr-content{display:block}
 .smr-programme-reviews .smr-content>h2,.smr-programme-reviews .smr-content>p{max-width:760px;width:100%;margin-bottom:20px}
 .smr-programme-reviews .smr-reviews{padding:0;border:0;background:none;box-shadow:none;margin-top:28px}
 .smd-review-grid[data-visible-cards="3"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
 .smd-review-grid[data-visible-cards="3"]>.smd-review{display:flex;flex-direction:column;background:#f1efe7;padding:0 24px 24px;border-radius:8px;overflow:hidden;margin:0;min-width:0}
 .smd-review-grid[data-visible-cards="3"]>.smd-review[hidden]{display:none}
 .smd-review-grid[data-visible-cards="3"] .wp-block-image{display:block;margin:0 -24px 24px;width:calc(100% + 48px);max-width:none;height:220px}
 .smd-review-grid[data-visible-cards="3"] .wp-block-image img{display:block;width:100%;height:220px;object-fit:cover;border-radius:0;max-width:none}
 .smd-review-grid[data-visible-cards="3"] .smd-review p{font-size:17px;line-height:1.65;margin:0 0 16px;max-width:none}
 .smd-review-grid[data-visible-cards="3"] .smd-review .smr-review-author{font-weight:700;margin-top:auto}
 .smd-review-grid[data-visible-cards="3"] .smd-review p:last-child{font-size:13px;border-top:1px solid #364c6322;padding-top:14px;margin:0}
 .smd-review-grid[data-visible-cards="3"] .smr-rating-stars{color:#986b00;letter-spacing:3px;font-size:20px}
 .smd-feature-grid{align-items:start}
 .smr-reveal-card{margin:0;min-height:130px;padding:24px;border-radius:8px;background:#e9e8dc;border:1px solid #364c6322;color:#364c63}
 .smr-reveal-card:nth-child(3n+2){background:#e1e6df}.smr-reveal-card:nth-child(3n){background:#dbe4e8}
 .smr-reveal-card summary{position:relative;display:flex;align-items:center;min-height:80px;padding-right:32px;font-weight:700;font-size:20px;line-height:1.4;list-style:none;cursor:pointer}
 .smr-reveal-card summary::-webkit-details-marker{display:none}
 .smr-reveal-card summary:after{content:'+';position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:26px;font-weight:400}
 .smr-reveal-card[open] summary:after{content:'−'}
 .smr-reveal-card .wp-block-image{width:44px;height:44px;margin:12px 0}
 .smr-reveal-card .wp-block-image img{width:44px;height:44px;object-fit:contain}
 .smr-reveal-card p{font-size:16px;line-height:1.65;margin:14px 0 0}
 .smr-reveal-card summary:focus-visible,.smr-value-detail summary:focus-visible{outline:3px solid #bd8609;outline-offset:5px}
 .smr-value-detail{padding:18px 0}.smr-value-detail summary:before{line-height:1;font-family:Arial,sans-serif;font-size:24px;padding:0;box-sizing:border-box}
 .smr-jess-team .smr-image-wrap{max-width:270px}.smr-jess-team .smr-split{align-items:center;grid-template-columns:270px minmax(0,1fr);gap:48px}.smr-jess-team .smr-copy{max-width:680px}
 .smr-consistent-courses .thumb{aspect-ratio:4/3!important;height:auto!important;display:block;overflow:hidden}
 .smr-consistent-courses .thumb img{width:100%;height:100%;object-fit:cover}
 .smr-mindset-directory .smr-consistent-courses{max-width:none}
 .smr-mindset-directory .smr-consistent-courses .card{gap:28px}
 .smc-contact-native input,.smc-contact-native textarea,.smc-contact-native button{font-family:inherit}
 .smc-contact-native .contact-form input:not([type="hidden"]):not([type="checkbox"]),.smc-contact-native .contact-form textarea{border:1px solid #627588!important;background:#fff!important;border-radius:4px;padding:14px 16px;box-sizing:border-box;width:100%;min-height:48px}
 .smc-contact-native input:focus,.smc-contact-native textarea:focus{outline:2px solid #364c63;outline-offset:2px}
 @media(max-width:1000px){.smd-review-grid[data-visible-cards="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}.smr-home-benefits .smr-split{gap:32px}}
 @media(max-width:640px){
  .smr-client-hero.smr-mobile-overlay .smr-hero-media{inset:-52px 0 auto;height:644px;transform:translate3d(0,var(--smr-shift,0px),0);will-change:transform}
  .smr-client-hero.smr-mobile-overlay .smr-photo{height:100%;transform:none}
  .smr-home-benefits .smr-split{display:flex;flex-direction:column-reverse;gap:28px}
  .smr-home-benefits .smr-image-wrap{width:100%;height:300px;aspect-ratio:auto}
  .smr-benefit-list>.smr-benefit-card{padding:16px 0;gap:14px}.smr-benefit-list>.smr-benefit-card p{font-size:16px}
  .smd-review-grid[data-visible-cards="3"]{grid-template-columns:1fr}
  .smr-reveal-card{min-height:0;padding:20px}.smr-reveal-card summary{font-size:18px;min-height:60px}
  .smr-jess-team .smr-split{display:flex;flex-direction:column;gap:24px}.smr-jess-team .smr-image-wrap{width:210px;align-self:flex-start}
  .smr-mindset-directory .smr-consistent-courses{max-width:none}
  .smr-performance-benefits>.smr-benefit-card{padding:20px;column-gap:12px;grid-template-columns:32px minmax(0,1fr)}
  .smr-performance-benefits .smr-editable-icon{width:32px;height:32px}
 }
}
@media(prefers-reduced-motion:reduce){body .smr-hero-media{transform:none!important;will-change:auto!important}}

/* Match course heroes to the longest programme copy without clipping at smaller widths. */
@media(min-width:1001px){body.single-sm_course .wp-site-blocks .smr-photo-hero.smr-client-hero{min-height:840px!important}}
@media(min-width:641px) and (max-width:1000px){body.single-sm_course .wp-site-blocks .smr-photo-hero.smr-client-hero{min-height:1040px!important}}

@media(max-width:640px){.wp-site-blocks .v{min-width:0;overflow-wrap:anywhere}}

/* Scroll-linked photography throughout editorial sections and course cards. */
body .wp-site-blocks .smr-scroll-photo{overflow:hidden;isolation:isolate}
body .wp-site-blocks .smr-scroll-photo>img{transform:translate3d(0,var(--smr-photo-shift,0px),0) scale(1.24)!important;transform-origin:center;transition:none!important}
@media(prefers-reduced-motion:reduce){body .wp-site-blocks .smr-scroll-photo>img{transform:none!important}}
