/* Owner-approved November 12 grid. Only the authenticated, enumerated hero cohort. */
body.aws-hero-grid { --aws-hg-width:min(702px,88vw); --aws-hg-height:clamp(45rem,calc(-3.571rem + 59.524vw),50rem); }
body.aws-hero-grid :is(.hero-section,.ab-hero) { box-sizing:border-box; }
body.aws-hero-grid .hero-title-phrase { text-wrap:wrap; }
body.aws-hero-grid .hero-section .content>.button-group{margin-top:24px;}
body.aws-hero-grid .hero-partner>.container{width:88vw;max-width:none;margin:0 6vw;padding:0;}
/* Native thumbnail borders and image treatment preserved. */
@media(min-width:1024px){
 body.aws-hero-grid.aws-lc-catalog .hero-section.hero-has-partner{--partner-top:calc(var(--aws-hg-height) - 709.2px);}
 body.aws-hero-grid :is(.hero-section,.ab-hero){height:var(--aws-hg-height)!important;min-height:var(--aws-hg-height)!important;padding:0!important;display:block;}
 body.aws-hero-grid :is(.hero-media-default-view,.ab-hero-inner){margin:0!important;padding:calc(var(--aws-hg-height) - (var(--h3)*1.6 + var(--h1)*2.3 + 8px + var(--h6)*4.5 + 170px)) 0 0!important;width:100%!important;max-width:none!important;}
 body.aws-hero-grid :is(.hero-media-default-view>.container,.hero-partner>.container,.feature-episodes-section>.container,.feature-music-section>.container,.cle-featured.aws-reference-featured>.container){width:100%;max-width:var(--container);margin:0 auto;padding:0 12px;}
 body.aws-hero-grid .hero-media-default-view .about-content{margin:0;padding:0;align-items:flex-start;}
 body.aws-hero-grid .hero-media-default-view .about-content>.flex-1{min-width:0;flex:1;}
 /* Resource heroes use a plain copy wrapper; prevent content-dependent shrink-to-fit. */
 body.aws-hero-grid.single-resource .hero-media-default-view .about-content>div:not(.video-btn-col){min-width:0;flex:1;}
 body.aws-hero-grid :is(.hero-section .content,.ab-hero-copy){display:flex;flex-direction:column;align-items:stretch;gap:0!important;width:100%!important;max-width:1000px!important;min-height:0!important;margin:0;padding:0;}
 body.aws-hero-grid .ab-hero-inner{max-width:var(--container)!important;margin:0 auto!important;padding-left:12px!important;padding-right:12px!important;}
 body.aws-hero-grid .ab-hero-copy{margin-left:0!important;}
 body.aws-hero-grid :is(.hero-section .small-title,.ab-eyebrow){display:block;box-sizing:border-box;width:100%;height:auto;min-height:0;margin:0!important;padding:0;font-size:var(--h3)!important;line-height:1.6!important;font-weight:400;text-wrap:wrap;}
 body.aws-hero-grid :is(.hero-section .main-title,#ab-title){display:block;box-sizing:border-box;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0;font-family:var(--font-udt-600)!important;font-size:var(--h1)!important;line-height:1.15!important;font-weight:500!important;letter-spacing:normal!important;text-wrap:balance;}
 body.aws-hero-grid .hero-title-phrase{display:inline;}
 body.aws-hero-grid .hero-title-phrase:not(:last-child)::after{content:" ";}
 body.aws-hero-grid.page-id-1224 .hero-title-phrase{display:block;}
 body.aws-hero-grid :is(.hero-section .description,.ab-hero-description){width:100%!important;max-width:39em!important;min-height:0!important;margin:8px 0 0!important;padding:0;font-family:var(--font-udt-400)!important;font-size:var(--h6)!important;line-height:1.5!important;font-weight:500!important;letter-spacing:normal!important;text-wrap:pretty!important;}
 body.aws-hero-grid .hero-section .description p{margin:0;font:inherit;}
 body.aws-hero-grid .hero-section .content>.btn-row{margin-top:24px;}
 body.aws-hero-grid :is(.feature-episodes-section,.feature-music-section,.cle-featured.aws-reference-featured){position:relative;margin-top:-142px!important;padding-top:0!important;}
 body.aws-hero-grid .cle-featured__title{font:500 var(--h5)/1.3 var(--font-udt-500)!important;margin:0 0 24px!important;}
 body.aws-hero-grid .aws-reference-grid--featured{column-gap:16px;}
}
@media(max-width:1023px){
 body.aws-hero-grid .aws-about-wp .ab-hero-inner{min-height:0!important;}
 body.aws-hero-grid .aws-about-wp .ab-hero .ab-hero-copy{display:flex;flex-direction:column;width:88vw!important;max-width:88vw!important;margin:0 6vw!important;}
 body.aws-hero-grid .aws-about-wp .ab-hero-copy>*{flex-shrink:0;}
 body.aws-hero-grid :is(.hero-section,.ab-hero){height:auto!important;min-height:0!important;padding:0!important;overflow:visible;}
 body.aws-hero-grid :is(.hero-media-default-view,.ab-hero-inner){margin:0!important;padding:96px 0 128px!important;width:100%!important;max-width:none!important;}
 body.aws-hero-grid .hero-media-default-view>.container{width:88vw;max-width:none;margin:0 6vw;padding:0;}
 body.aws-hero-grid :is(.hero-section .content,.ab-hero-copy){width:100%!important;max-width:none!important;min-height:0!important;gap:0!important;margin:0;padding:0;}
 body.aws-hero-grid .ab-hero-copy{width:88vw!important;margin:0 6vw!important;}
 body.aws-hero-grid :is(.hero-section .small-title,.ab-eyebrow){font-size:clamp(22px,4vw,32px)!important;line-height:1.5!important;margin:0!important;min-height:0;height:auto;}
 body.aws-hero-grid :is(.hero-section .main-title,#ab-title){width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;font-size:clamp(32px,5.3vw,52px)!important;line-height:1.15!important;font-weight:500!important;text-wrap:wrap!important;overflow-wrap:normal;}
 body.aws-hero-grid .hero-title-phrase{display:inline;}
 body.aws-hero-grid.page-id-1224 .hero-title-phrase{display:block;}
 body.aws-hero-grid :is(.hero-section .description,.ab-hero-description){width:100%!important;max-width:none!important;min-height:0!important;margin:16px 0 0!important;font-size:18px!important;line-height:27px!important;text-wrap:wrap!important;}
 body.aws-hero-grid .hero-section .description p{margin:0;font:inherit;}
 body.aws-hero-grid .hero-section .content>.btn-row{margin-top:24px;}
 body.aws-hero-grid :is(.feature-episodes-section,.feature-music-section,.cle-featured.aws-reference-featured){margin-top:-72px!important;padding-top:0!important;}
 body.aws-hero-grid.aws-lc-catalog .hero-media-default-view{padding-top:180px!important;}
 body.aws-hero-grid.aws-lc-catalog .hero-section.hero-has-partner{--partner-top:32px;}
 body.aws-hero-grid :is(.feature-episodes-section .section-title,.feature-music-section .section-title,.cle-featured__title){font:500 20px/26px var(--font-udt-500)!important;margin:0 0 24px!important;}
 body.aws-hero-grid .hero-background{overflow:hidden;}
}
