/* The same text-based poster cards serve the mobile pager and desktop grid. */
body.home-page a.featured-test-card{--featured-accent:#e96164;--featured-tint:#fff0ee;--featured-border:#f1d3d0;--featured-dark:#35292a;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;min-width:0;min-height:146px;width:100%;padding:18px 16px;border:1px solid var(--featured-border);border-top:4px solid var(--featured-accent);border-radius:22px;background:linear-gradient(135deg,var(--featured-tint),#fff 88%);color:#1c2822;text-align:center;text-decoration:none;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;box-shadow:0 6px 18px #173a2520;transition:transform .18s ease,box-shadow .18s ease}
body.home-page a.featured-test-card--200{--featured-accent:#e5b539;--featured-tint:#fff7de;--featured-border:#efdfb2;--featured-dark:#363124}
body.home-page a.featured-test-card--300{--featured-accent:#22a371;--featured-tint:#e8f6ed;--featured-border:#cce7d7;--featured-dark:#203a2b}
.featured-test-card .featured-test-caption{display:block;max-width:100%;font-size:14px;font-weight:800;line-height:1.35;letter-spacing:.01em;text-transform:uppercase;overflow-wrap:anywhere}
.featured-test-card .featured-test-figure{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;column-gap:9px;row-gap:2px;min-width:0;max-width:100%}
.featured-test-card .featured-test-number{font-size:clamp(58px,21vw,86px);font-weight:900;line-height:.95;letter-spacing:-.055em;font-variant-numeric:lining-nums}
.featured-test-card .featured-test-unit{min-width:0;max-width:100%;font-size:clamp(30px,10vw,46px);font-weight:850;line-height:1;letter-spacing:-.035em;overflow-wrap:anywhere}
html[lang=en] .featured-test-card .featured-test-unit,html[lang=ru] .featured-test-card .featured-test-unit{font-size:clamp(19px,5.8vw,27px);letter-spacing:-.02em}
body.home-page a.featured-test-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #173a2529}
body.home-page a.featured-test-card:focus-visible{outline:3px solid #087f5b;outline-offset:3px}
body.home-page .div3 > .grid-container > .featured-test-tile{min-width:0;padding:0!important;margin:0;border:0;background:transparent!important;box-shadow:none;border-radius:22px;overflow:visible}
body.home-page .div3 > .grid-container > .featured-test-tile::after{display:none}
html[data-theme=dark] body.home-page a.featured-test-card{background:linear-gradient(135deg,var(--featured-dark),#192d24 95%);border-color:#4a6053;border-top-color:var(--featured-accent);color:#eef6f0;box-shadow:0 6px 18px #0003}
html[data-theme=dark] body.home-page a.featured-test-card:focus-visible{outline-color:#7ce0ad}
@media(min-width:901px){
 body.home-page .featured-test-tile a.featured-test-card{height:100%;min-height:240px;padding:26px 16px;gap:17px}
 .featured-test-tile .featured-test-caption{font-size:clamp(14px,1.15vw,18px)}
 .featured-test-tile .featured-test-number{font-size:clamp(64px,7vw,100px)}
 .featured-test-tile .featured-test-unit{font-size:clamp(30px,3vw,46px)}
 html[lang=en] .featured-test-tile .featured-test-unit,html[lang=ru] .featured-test-tile .featured-test-unit{font-size:clamp(19px,1.8vw,28px)}
}
@media(prefers-reduced-motion:reduce){body.home-page a.featured-test-card{transition:none}body.home-page a.featured-test-card:hover{transform:none}}
