/* V14: larger training photography, transparent catalogue mockups and tighter training rhythm */
.home-page .slide-training .slide-visual{display:grid;place-items:center;min-width:0}
.hero-training-frame{position:relative;width:100%;aspect-ratio:4/3;max-height:400px;overflow:hidden;border:1px solid #ffffff38;border-radius:24px;box-shadow:0 24px 50px #06182f66;z-index:2;background:#173654;isolation:isolate}
.home-page .slide-training .slide-visual .hero-training{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:50% 53%;border-radius:0;filter:none;animation:none!important}
.hero-training-caption{position:absolute;inset:auto 0 0;padding:32px 20px 16px;display:grid;gap:4px;color:white;background:linear-gradient(transparent,#071d34d9);z-index:3;pointer-events:none}
.hero-training-caption span{font-size:10px;font-weight:700;letter-spacing:.15em;color:#cae8ff}.hero-training-caption strong{font-size:clamp(14px,1.7vw,20px)}
.slide-training .chip-top{top:0;left:0;z-index:4;transform:translateY(-30%)}.slide-training .chip-bottom{display:none}
.slide:not([hidden]) .hero-training-frame{animation:custom-arrive .55s ease both}
.slide-visual .custom-hero-showcase{width:100%;height:86%;max-height:410px;gap:10px;grid-template-rows:1.45fr 1fr}
.slide-visual .custom-hero-showcase img{background:transparent;box-shadow:none;border-radius:0;padding:4px;filter:drop-shadow(0 10px 13px #071c3866);object-fit:contain}
.slide-visual .custom-hero-showcase .custom-main{padding:0 12px;max-width:100%;justify-self:center}
.slide-custom .chip-bottom{bottom:0;right:0;transform:translateY(25%)}
/* Match the end of the gallery with the start of program cards. */
.training-page-v14 .training-gallery-section{padding-block:22px 16px}
.training-page-v14 .training-programs{padding-block:24px 22px}
.training-page-v14 .training-community{padding-block:22px 52px}
.training-page-v14 .training-programs .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.training-page-v14 .training-programs .card{padding:22px 20px;min-width:0;scroll-margin-top:108px}
.training-page-v14 .training-programs .card p{font-size:14px}
.training-page-v14 .training-note{margin:0}
/* Give actual cutouts breathing room, without adding artificial white rectangles. */
.catalogue-art.art-seven-segment img,.story-seven-segment .story-image img{object-fit:contain;max-width:93%;max-height:89%}
.shop-image img[src*="-v14.webp"],.landing-media img[src*="-v14.webp"]{object-fit:contain;mix-blend-mode:normal}
@media(max-width:900px){.training-page-v14 .training-programs .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-training-frame{max-height:370px}}
@media(max-width:600px){.home-page .slide-training .slide-visual{aspect-ratio:4/3;max-height:none;min-height:0;padding:0 0 5px;margin:8px 0 0}.hero-training-frame{width:100%;max-height:320px;border-radius:18px}.slide-training .chip-top{display:none}.hero-training-caption{padding:24px 14px 11px}.slide-visual .custom-hero-showcase{height:95%;max-height:250px;gap:5px}.slide-custom .chip-bottom{display:none}.training-page-v14 .training-gallery-section{padding-block:14px 12px}.training-page-v14 .training-programs{padding-block:15px 12px}.training-page-v14 .training-community{padding-block:15px 30px}.training-page-v14 .training-programs .cards{gap:10px}.training-page-v14 .training-programs .card{padding:15px 12px}.training-page-v14 .training-programs .card h3{font-size:17px}.training-page-v14 .training-programs .card p{font-size:12px}}
@media(max-width:350px){.training-page-v14 .training-programs .cards{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.slide:not([hidden]) .hero-training-frame{animation:none}}
/* Keep callouts outside the product silhouette. */
.slide-custom .chip-top{top:0;left:0;transform:translateY(-48%)}
.slide-custom .chip-bottom{display:none}
@media(max-width:600px){.slide-custom .chip-top{display:none}}
