/* labs-site-seo-3 (PARENT 20:47Z vision notes on release 2): /adaisecure/ hero. Wrapper CSS only. A NEW file, so
   browsers holding the cached 1-hour copy of the older layout files get these rules at once. The live block's markup,
   live-stats.css, live-stats.js and the live figures are unchanged. */

/* 1. Live result card. Tile numbers in white like the live figures block below (was blue on the green-tinted card;
   white on the tile is over 11:1, measured in the proof). Green stays for 'Blocked in ...' only, so the slower 95%
   figure does not look like good news. Each tile has a small label above its number; the 'Last updated' line sits
   under the tiles. Card sentences wrap 'pretty' (full lines, no lone last word); 'balance' only in the wide two-column card. The lower live block's markup is unchanged: only its status line gets a balanced wrap. */
#main .hero .live .stat .v{color:var(--text)}
#main .hero .live .stat .kt{color:var(--text2);font-size:14px;font-weight:700;line-height:1.3;margin-bottom:4px}
#main .hero .live p{text-wrap:pretty}
#main .hero .live .upd{margin:16px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:14.5px;line-height:1.45;color:var(--text2);text-wrap:balance}
#main .live-stats .live-badge{text-wrap:balance}

/* 2 + 4. Two-column hero (901px and wider): the card's top lines up with the headline's top (it was centred on the
   hero, about 160px lower, which left the upper right empty), and the hero starts a little higher. */
@media (min-width:901px){
  #main > .top.page-title{padding-top:26px}
  #main > section.hero.wrap{margin-top:32px;align-items:start}
}
/* 2b. Wide screens (1100px and wider): a wider text column (fewer lines, so at 1440x900 the buttons end about 75px
   above the fold; was 21px) and a wider gap; the card runs from the headline's top to the buttons' bottom, its tiles
   stacked under the text (even 24px spacing), its 'Last updated' line at the foot, level with the buttons. */
@media (min-width:1100px){
  #main > section.hero.wrap{grid-template-columns:1.6fr 1fr;column-gap:60px}
  #main .hero .live{align-self:stretch;display:flex;flex-direction:column;padding:28px}
  #main .hero .live p{font-size:16.5px;line-height:1.5;text-wrap:balance}
  #main .hero .live .mini{margin-top:0;grid-template-columns:1fr;gap:24px}
  #main .hero .live .stat{padding:16px 20px}
  #main .hero .live .stat .v{font-size:28px}
  #main .hero .live > p:not(.upd){margin-bottom:24px}
  #main .hero .live .upd{margin-top:auto;font-size:15px}
}
/* 3. One-column hero (900px and narrower): the live figures block follows the card directly and opens with the same
   'Live, updated every 5 minutes. Last updated ...' line, so the card does not repeat it there. */
@media (max-width:900.98px){
  #main .hero .live .upd{display:none}
}
