/* Academy's native diagrams become reading layouts below the desktop canvas.
   No rule in this file applies at 1280px or above. Copy, links and stage order stay native. */
@media(max-width:1279.98px){
 /* A central cut-out takes useful reading width away from the four service texts. */
 .academy-page-inhouse .academy-training-model{max-width:none;margin-top:2rem}
 .academy-page-inhouse .academy-training-model>.academy-training-core{position:static;inset:auto;transform:none;display:block;width:auto;height:auto;max-width:40ch;padding:0;margin:0 0 1.25rem;border:0;border-radius:0;background:transparent;font-size:1.5rem;line-height:1.3;text-align:start}
 .academy-page-inhouse .academy-training-parts{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:1rem}
 .academy-page-inhouse .academy-training-part:nth-child(n){min-width:0;padding:1.5rem;border-radius:1.5rem;mask-image:none;-webkit-mask-image:none;text-align:start}
 .academy-page-inhouse .academy-training-part dt{flex-direction:row;align-items:center;gap:.875rem;margin:0 0 1rem;font-size:1.25rem;line-height:1.35;text-align:start;text-wrap:pretty}
 .academy-page-inhouse .academy-training-part dt>span{min-width:0;overflow-wrap:break-word}
 .academy-page-inhouse .academy-training-part dd{max-width:none;margin:0;font-size:1rem;line-height:1.65;text-align:start;text-wrap:pretty}
 .academy-page-inhouse .academy-training-icon{width:2.75rem;height:2.75rem}

 /* Four qualification columns need the full desktop width; two remain readable on tablets. */
 .learning-path .learning-path__grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.5rem;row-gap:5rem;align-items:start}
 .learning-path .learning-path__intro{margin-bottom:4rem}
 .learning-path .learning-path__stage:nth-child(2) .learning-path__connector{display:none}
 .learning-path .learning-path__stage--academic .learning-path__courses{min-height:0}
 .learning-path .learning-path__course-title{font-size:1.0625rem;line-height:1.5}
 .learning-path .learning-path__action{font-size:.9375rem;line-height:1.4}
}

@media(max-width:767.98px){
 .academy-editorial .academy-story-section{margin-bottom:3rem}
 .academy-editorial .academy-module>summary,.academy-editorial .academy-disclosure>summary{box-sizing:border-box;min-height:var(--control-height,52px);gap:.875rem;padding:.9rem 1rem;font-size:1rem;line-height:1.4}
 .academy-editorial .academy-module-body,.academy-editorial .academy-disclosure-body{padding:.25rem 1rem 1.25rem;font-size:1rem;line-height:1.7}
 .academy-page-inhouse .academy-programme-disclosure>summary{width:100%;justify-content:space-between;gap:1rem;text-align:start}
 .academy-page-inhouse .academy-programme-content{padding-top:1.25rem}
 .academy-editorial .academy-background{padding:1.25rem}
 .academy-editorial .academy-background-toggle{width:100%;padding:.7rem 1rem}
 .academy-editorial .academy-background-toggle h2{justify-content:space-between;gap:1rem;text-align:start}
 .academy-editorial .academy-story-contact{padding:1.5rem;border-radius:1.5rem}
 .academy-editorial .academy-planning-detail>summary{padding:1.25rem 0 0}
 .academy-editorial .academy-planning-detail .academy-disclosure-body{padding:1rem 0 0}
 .academy-page-certification .academy-certification-hero{width:100%;max-width:none;height:auto;margin-bottom:1.75rem}
 .academy-page-certification .academy-certification-copy{min-width:0;overflow-wrap:break-word}
 .academy-page-certification .academy-certification-copy p{font-size:1rem;line-height:1.7}
 .academy-page-certification .academy-certification-cta{margin-top:2.5rem;gap:1.25rem}
}

@media(max-width:580px){
 .academy-page-inhouse .academy-training-parts{grid-template-columns:minmax(0,1fr);gap:.75rem}
 .academy-page-inhouse .academy-training-part:nth-child(n){padding:1.25rem}
 .academy-page-inhouse .academy-training-part dt{gap:.75rem;font-size:1.125rem}
 .academy-page-inhouse .academy-training-icon{width:2.5rem;height:2.5rem}

 /* Reuse the existing text-based qualification cards, with an inline stage header.
    Nothing is turned into a scaled-down picture and every course remains a full link. */
 .learning-path{margin:2.5rem auto}
 .academy-path-section .learning-path{margin-top:2rem}
 .learning-path .learning-path__intro{margin-bottom:1.5rem}
 .learning-path .learning-path__grid{grid-template-columns:minmax(0,1fr);gap:1.5rem}
 .learning-path .learning-path__stage{border-radius:1.25rem}
 .learning-path .learning-path__header{display:grid;grid-template-columns:3.25rem minmax(0,1fr);align-items:center;gap:1rem;min-height:0;padding:1.25rem;border-radius:1.25rem 1.25rem 0 0}
 .learning-path .learning-path__icon{position:static;inset:auto;transform:none;width:3.25rem;height:3.25rem;margin:0;box-shadow:none}
 .learning-path .learning-path__header h3{min-width:0;gap:.5rem;font-size:1.25rem;line-height:1.3}
 .learning-path .learning-path__number{width:1.5rem;height:1.5rem;font-size:.875rem}
 .learning-path .learning-path__courses{min-height:0;gap:.75rem;padding:.75rem}
 .learning-path a.learning-path__course{flex:none;min-height:0;padding:1.25rem 1rem;gap:.6rem}
 .learning-path .learning-path__course--current .learning-path__course-title{padding-inline-end:1.5rem}
 .learning-path .learning-path__code{font-size:.875rem;line-height:1.4}
 .learning-path .learning-path__academic-note{margin:.5rem 0;font-size:1rem;line-height:1.6}
 .learning-path .learning-path__qualification{margin:.5rem 0;font-size:1.0625rem;line-height:1.5}
 .learning-path .learning-path__degree{width:3rem;height:2.625rem;margin:0 auto .5rem}
 .learning-path .learning-path__connector{display:none}

 .academy-story-actions,.academy-contact-actions{align-items:stretch;flex-direction:column;gap:.5rem}
 .academy-story-actions>.academy-primary,.academy-contact-actions>.academy-primary{width:100%}
 .academy-story-actions>.academy-text-link,.academy-contact-actions>.academy-contact-phone{justify-content:flex-start;min-height:44px}
 .academy-page-seminars .academy-filters .directory-search-control,.academy-page-seminars .academy-filters .directory-sort-control{flex:1 1 100%;max-width:100%}
 .academy-page-seminars .academy-filters .article-apply{width:100%}
}
