/* Client's 18 October mockup. The existing Download PDF label remains 18px = 13.5pt.
 * The reference's 27/24/37/45/20 ratios map to 18/16/24.667/30/13.333 CSS pixels.
 * Geometry is calibrated at 1265px usable width; Premium is optically tuned to 25px/400. */
:root{--home-type-base:18px;--home-type-small:16px;--home-type-large:24.6667px;--home-type-heading:30px;--home-type-nav:13.3333px}
body .site-header .header-account__link,
body .site-header .header-account--header .header-account__link,
body .site-header .header-account--mobile .header-account__link,
body .site-header .header-language>summary{font-size:var(--home-type-base)!important}
body .site-header .header-account__link:not(.header-account__link--logout){background:#6d4bb2;color:#fff!important}
body .site-header .header-account__link:not(.header-account__link--logout):is(:hover,:focus-visible){background:#5b3c9e;color:#fff!important}
body .site-header .site-header__utility .header-audience{font-size:var(--home-type-base)!important;white-space:nowrap}
body .site-header .utility-row__primary{font-size:var(--home-type-small)!important;text-transform:uppercase}
body .site-header .premium-banner__copy,
body .site-header .premium-banner__cta{font-size:25px!important;font-weight:400!important;line-height:1.2!important;letter-spacing:.26px}
body .site-header .premium-banner__copy{display:flex;align-items:center;min-height:64px;padding:12px 26px 10px}
body .site-header .premium-banner__cta{min-height:64px;text-transform:uppercase;white-space:nowrap;padding:10px 26px 8px 12px;gap:10px}
body .site-header .premium-banner__icon img{width:48px;height:auto;max-height:46px;aspect-ratio:1305/1121;object-fit:contain}
body .site-header .site-quick-nav__list a{font-size:var(--home-type-nav)!important;text-transform:uppercase;white-space:nowrap}
body .site-header .header-carousel__copy{padding-top:10px;padding-left:64px;padding-right:36%;gap:10px}
body .site-header .header-carousel__eyebrow{font-size:var(--home-type-small)!important;text-transform:uppercase;padding:5px 9px;line-height:1.2;max-width:calc(100% + 22px);white-space:nowrap}
body .site-header .header-carousel__copy strong{font-size:var(--home-type-large)!important;font-weight:700!important;max-width:100%;min-height:2.4em;line-height:1.2;text-wrap:balance}
body .site-header .header-carousel__summary{font-size:var(--home-type-base)!important;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .site-header .header-carousel__cta{font-size:var(--home-type-base)!important;width:228px;max-width:calc(100% + 90px);min-height:42px;padding:10px 12px;line-height:1.2!important;white-space:nowrap;background:#ffca33}
body .site-header .header-carousel__control{opacity:1;width:32px;height:32px;top:50%;transform:translateY(-50%)}
body .site-header .header-carousel__control--prev{left:10px}
body .site-header .header-carousel__control--next{right:10px}
body.home .home-layout{gap:24px;margin-top:26px;margin-bottom:24px}
body.home .home-catalog{padding:0}
body.home .home-sidebar-column{margin-top:0;align-self:start}
body.home .home-catalog>.shell{padding:11px 28px 28px}
body.home .home-store-products{min-width:0;width:100%;padding:11px 15px 18px;border-radius:var(--surface-radius);background:#fff}
body.home #home-catalog-title,
body.home .home-store-products .home-store-products__header h2{font-size:var(--home-type-heading)!important;line-height:1.25!important;margin:0;white-space:nowrap}
body.home #home-catalog-title{margin-bottom:21.5px}
body.home .home-store-products__header{text-align:center;margin:0}
body.home .home-store-products__header>span{margin:3px 0 0;font-size:12px!important;line-height:1.5}
body.home .catalog-tools{align-items:start;margin-bottom:23px;gap:14px}
body.home .catalog-tools .search-form,
body.home .catalog-filters:not([open]){height:48px;min-height:48px}
body.home .catalog-tools .search-form input{min-height:46px;height:46px;font-size:16px}
body.home .catalog-filters{padding:0 14px;min-width:0;border-color:#edeaf1}
body.home .catalog-filters>summary{display:flex;align-items:center;gap:8px;min-height:46px;line-height:1.2;font-size:17px;font-weight:700;list-style:none}
body.home .catalog-filters>summary::-webkit-details-marker{display:none}
body.home .catalog-filters>summary::before{content:'';display:block;flex:0 0 auto;width:0;height:0;border-block:5px solid transparent;border-left:10px solid currentColor}
body.home .catalog-filters[open]>summary::before{transform:rotate(90deg)}
body.home .catalog-filters[open]{padding-bottom:14px}
body.home .material-grid{gap:30px 22px}
body.home .material-grid>.material-card{padding-top:12px}
body.home .material-grid>.material-card .material-card__frame{padding:14px}
body.home .material-card .material-card__heading{padding-bottom:13px}
body.home .material-card .material-card__heading :is(h2,h3){font-size:var(--home-type-base)!important;line-height:1.25!important;min-height:1.25em}
/* No font-size rule for .material-download__title: preserve the measured label. */
body.home .material-card__actions .material-download__access{font-size:var(--home-type-base)!important;line-height:1.15}
body.home .material-card__actions>a.material-download{min-height:52px;padding:4px 9px;gap:8px}
body.home .material-card__body--compact{padding-top:14px}
body.home .material-card__premium{width:62px;height:62px;top:-24px;right:-16px}
body.home .home-store-products .store-product-card h3{font-size:var(--home-type-base)!important;line-height:1.25!important;text-align:center;min-height:2.5em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
body.home .store-product-card__body{padding:4px 10px 10px}
body.home .store-product-card__footer{align-items:center;gap:8px}
body.home .store-product-card__footer strong{font-size:var(--home-type-base)!important;line-height:1.25}
body.home .store-product-card__footer>a{display:inline-flex;align-items:center;gap:4px;font-size:var(--home-type-small)!important;line-height:1.25}
body.home .store-product-card__footer>a span{display:block;line-height:1}
body .site-footer__grid,body .site-footer__bottom{background:#fff}
/* The banner itself stays exactly 300x250; the label is readable and distinct. */
body .home-ad-card .home-ad-card__label{font-size:14px!important;line-height:1.2;padding:7px 12px;margin:0 0 6px;border:1px solid #d5c4ea;border-radius:999px;background:#f1eafa;color:#45346f!important;letter-spacing:.08em}
@media(min-width:681px){body.home .catalog-filters:not([open]){width:226px}}
@media(min-width:1081px){
 body.home .home-layout{grid-template-columns:minmax(0,1fr) 270px}
 body.home .home-store-products__header{margin-inline:-7px}
 body.home .home-store-products.is-height-filled .home-store-products__list{justify-content:flex-start;gap:16px;flex:0 0 auto}
}
@media(min-width:861px){
 body .site-header{--header-action-width:clamp(224px,17.7866vw,280px)}
 body .site-header .utility-row{min-height:53px}
 body .site-header .site-header__main{grid-template-columns:minmax(0,25.1%) minmax(0,1fr) var(--header-action-width)}
 body .site-quick-nav{margin-top:17px}
 body.home .home-layout{margin-top:27px}
}
@media(min-width:1181px){
 body .site-header .utility-row__right{margin-right:-10px}
 body .site-header .header-audience{gap:6px}
 body .site-header .header-audience+.header-audience{margin-left:8px;padding-left:18px}
}
@media(max-width:1180px) and (min-width:861px){
 body .site-header .utility-row__primary{font-size:14px!important}
 body .site-header .site-header__utility .header-audience{font-size:16px!important}
 body .site-header .header-carousel__copy{padding-left:38px;padding-right:30%}
 body .site-header .header-carousel__copy strong{font-size:22px!important}
 body .site-header .header-carousel__eyebrow{font-size:14px!important}
 body .site-header .header-carousel__summary,body .site-header .header-carousel__cta{font-size:16px!important}
}
@media(max-width:1100px) and (min-width:861px){
 body .site-header .header-carousel__copy strong{font-size:18px!important}
 body .site-header .header-carousel__summary,body .site-header .header-carousel__cta{font-size:14px!important}
 body .site-header .header-carousel__eyebrow{font-size:12px!important}
}
@media(max-width:1080px){
 body.home .home-sidebar-column{margin-top:24px}
 body.home .home-store-products__header{text-align:left}
 body .site-header .premium-banner__copy,body .site-header .premium-banner__cta{font-size:22px!important}
}
@media(max-width:860px){
 body .site-header .header-carousel__copy{padding-left:38px}
 body .site-header .site-header__utility .header-audience{font-size:15px!important}
 body .site-header .utility-row__primary{font-size:14px!important}
 body .site-header .premium-banner__copy{padding-inline:12px}
}
@media(max-width:680px){
 body.home{--home-type-base:17px;--home-type-small:15px;--home-type-heading:26px}
 body.home .home-layout{margin-top:18px}
 body.home .home-catalog>.shell{padding:20px 14px}
 body.home #home-catalog-title,body.home .home-store-products .home-store-products__header h2{white-space:normal;font-size:var(--home-type-heading)!important}
 body.home .home-store-products{padding:20px 14px}
 body.home .catalog-tools{gap:10px;margin-bottom:20px}
 body.home .material-grid{gap:18px}
 body.home .material-grid>.material-card{padding-top:0}
 body.home .material-card .material-card__heading{padding:0}
 body.home .material-card .material-card__heading :is(h2,h3){min-height:0}
 body.home .material-card__body--compact{padding:0}
 body.home .material-card__actions>a.material-download{padding:6px 7px;min-height:50px;gap:5px}
 body.home .material-card__premium{width:46px;height:46px;top:-15px;right:-10px}
 body.home .store-product-card__body{padding:8px}
 body.home .store-product-card__footer{gap:4px;flex-wrap:wrap}
 body .site-header .header-carousel__viewport{height:260px}
 body .site-header .header-carousel__material{grid-template-columns:minmax(0,74%) minmax(0,26%)}
 body .site-header .header-carousel__copy{padding-left:36px;padding-right:calc(45% + 8px);gap:8px}
 body .site-header .header-carousel__copy strong{font-size:16px!important}
 body .site-header .header-carousel__eyebrow{font-size:12px!important;white-space:normal;max-width:100%}
 body .site-header .header-carousel__summary{font-size:13px!important}
 body .site-header .header-carousel__cta{font-size:14px!important;width:180px;max-width:calc(100% + 70px);padding-inline:10px}
 body .site-header .header-carousel__control{width:24px;height:24px}
 body .site-header .header-carousel__control--prev{left:4px}
 body .site-header .header-carousel__control--next{right:4px}
 body .site-header .premium-banner__icon img{width:32px;height:auto;max-height:32px}
 body .site-header .premium-banner__copy,body .site-header .premium-banner__cta{font-size:20px!important}
 body .site-header .site-header__utility .header-audience{font-size:12px!important}
 body .site-header .utility-row__primary{font-size:12px!important}
}
@media(max-width:360px){
 body .site-header .header-carousel__copy{padding-left:32px}
 body .site-header .header-carousel__copy strong{font-size:13px!important}
 body .site-header .header-carousel__summary{font-size:12px!important;max-width:calc(100% + 8px)}
 body .site-header .header-carousel__cta{font-size:13px!important}
 body.home .home-catalog>.shell{padding-inline:10px}
}
