/* C4: turquoise, the logo's second colour, in four fixed places, and one specimen DirectCard. CSS only. Load after home-below-hero.css. */
/* 1. Two-tone icons for the products. The icon is the tile's background, so every state must keep it:
      these selectors are as strong as the hover rule in home-below-hero.css, which resets the background. */
.buyers-home.buyers-home .ds-product-rail a .ds-light-tile-icon{background-color:var(--bh-tile);background-position:center;background-size:34px 34px;background-repeat:no-repeat}
.buyers-home.buyers-home .ds-product-rail a .ds-light-tile-icon>svg{display:none}
.buyers-home.buyers-home .ds-product-rail a .ds-light-fees{background-image:url(assets/home-icon-fees.svg)}
.buyers-home.buyers-home .ds-product-rail a .ds-light-card{background-image:url(assets/home-icon-canteen.svg)}
.buyers-home.buyers-home .ds-product-rail a .ds-light-bus{background-image:url(assets/home-icon-transport.svg)}
.buyers-home.buyers-home .ds-product-rail a .ds-light-sign{background-image:url(assets/home-icon-sign.svg)}
.buyers-home.buyers-home .ds-product-rail a:hover .ds-light-tile-icon{background-color:#e6d8f2}

/* 2. Two-tone icons for the audiences */
.buyers-home.buyers-home .buyers-role-icon{width:44px;height:44px;background:url(assets/home-icon-schools.svg) center/44px no-repeat}
.buyers-home.buyers-home #operators .buyers-role-icon{background-image:url(assets/home-icon-operators.svg)}
.buyers-home.buyers-home .buyers-role-icon>img{display:none}

/* 3. The wave on the numbers band, solid. The band reserves its width, so no text ever crosses it. */
.buyers-home.buyers-home .buyers-numbers{--bh-wave:clamp(38px,11vw,148px);padding-inline-end:max(calc((100% - 1184px)/2),calc(var(--bh-wave) + 20px))}
.buyers-home.buyers-home .buyers-numbers::before{inset-inline-end:auto;inset-inline-start:calc(100% - var(--bh-wave));background-image:url(assets/home-wave-turquoise-en.svg)}
[dir=rtl] .buyers-home.buyers-home .buyers-numbers::before{background-image:url(assets/home-wave-turquoise-ar.svg)}

/* 4. Getting started */
.buyers-home.buyers-home .ds-light-start li{border-block-start:3px solid #3cc2b1}
.buyers-home.buyers-home .ds-light-start li .ds-light-step-number{color:#0c5f56}

/* 5. A specimen DirectCard beside the audiences. Decorative: the text beside it says what it is for. */
.buyers-home>#audiences>header::after{content:"";display:block;box-sizing:border-box;width:min(100%,326px);aspect-ratio:856/540;margin-block:34px 0;background:url(assets/home-directcard-en.webp) center/100% 100% no-repeat;border-radius:13px;box-shadow:0 16px 34px #41265424;transform:rotate(-4deg)}
[dir=rtl] .buyers-home>#audiences>header::after{background-image:url(assets/home-directcard-ar.webp);transform:rotate(4deg)}

/* 6. Partner names appear under the logo on hover and focus, not over it. */
@media(hover:hover){
 .buyers-home.buyers-home .buyers-network-scroll .buyers-logo-peek>.buyers-logo-name{inset-block:calc(50% + 40px) auto;z-index:2}
}

@media(min-width:761px){
 .buyers-home.buyers-home .buyers-numbers dl{grid-template-columns:minmax(0,1.34fr) repeat(3,minmax(0,1fr))}
 .buyers-home.buyers-home .buyers-numbers dd,.buyers-home.buyers-home .buyers-numbers dl>div:first-child dd bdi{font-size:clamp(1.8rem,3.4vw,3.2rem)}
}
@media(min-width:1700px){.buyers-home.buyers-home .buyers-numbers{--bh-wave:232px}}
@media(max-width:999px){.buyers-home>#audiences>header::after{width:min(86%,310px);margin-block:34px 44px;margin-inline:6px auto}}
@media(min-width:681px) and (max-width:999px){.buyers-home>#audiences>header{display:flex;align-items:center;justify-content:space-between;gap:40px}.buyers-home>#audiences>header h2{max-width:13em}.buyers-home>#audiences>header::after{flex:none;width:290px;margin:14px 10px 40px}}
@media(hover:hover) and (min-width:761px) and (max-width:1060px){.buyers-home.buyers-home .buyers-network-panels{gap:66px}}
/* Narrow windows with a mouse: names always shown under the logos, as on touch screens. */
@media(hover:hover) and (max-width:760px){
 .buyers-home.buyers-home .buyers-network-scroll .buyers-logo-peek{grid-template-rows:minmax(48px,auto) 1fr;gap:3px;padding:5px;min-block-size:90px;align-items:start}
 .buyers-home.buyers-home .buyers-network-scroll .buyers-logo-peek>.buyers-logo-name{position:static;visibility:visible;opacity:1;color:#584167;background:none;padding:0;font-size:.68rem}
}
@media(max-width:760px){
 .buyers-home.buyers-home .ds-product-rail a .ds-light-tile-icon{background-size:30px 30px}
 .buyers-home.buyers-home .buyers-numbers{padding-inline-end:calc(var(--bh-wave) + 10px)}
 .buyers-home.buyers-home .buyers-numbers dd,.buyers-home.buyers-home .buyers-numbers dl>div:first-child dd bdi{font-size:clamp(1.4rem,7.2vw,2.6rem)}
 .buyers-home.buyers-home .buyers-numbers dl>div{padding-inline:14px 4px}
 .buyers-home.buyers-home .buyers-numbers dl>div:nth-child(odd){padding-inline-start:0}
}
@media(max-width:780px){.buyers-home.buyers-home .ds-light-start li{border-block-start-width:2px}}
@media print,(forced-colors:active){
 .buyers-home.buyers-home .ds-product-rail a .ds-light-tile-icon>svg,.buyers-home.buyers-home .buyers-role-icon>img{display:block}
 .buyers-home.buyers-home .ds-product-rail a :is(.ds-light-fees,.ds-light-card,.ds-light-bus,.ds-light-sign),.buyers-home.buyers-home .buyers-role-icon{background-image:none}
 .buyers-home>#audiences>header::after{display:none}
}
/* K8: one quiet proof line under the hero button */
.buyers-home .ds-light-proof{margin:1.1rem 0 0;font-size:.95rem;line-height:1.5;color:#52435d}
