/* Hail Maps pages. Loaded after inner.css; the map itself uses the service-area .sa skin. */

/* the map: the NOAA swath sits under the Census sheet, the towns are outlines on top */
.hail .sa{background:#f4f2ea}
.hail .m-swath{opacity:.92}
.hail .m-town{fill:#152920;fill-opacity:0;stroke:#152920;stroke-opacity:.28;stroke-width:1}
.hail .m-town.is-hit{stroke-opacity:.5}
.hail .m-town.is-on{fill:#a6402b;fill-opacity:.14;stroke:#a6402b;stroke-opacity:1;stroke-width:2.6}
.hail.has-pick .m-town:not(.is-on),.hail .sa.has-pick .m-town:not(.is-on){fill-opacity:0;stroke-opacity:.22}
@media (hover:hover) and (pointer:fine){.hail .sa__map .m-town:hover{fill:#a6402b;fill-opacity:.1}}
.m-dot{transform:scale(var(--u,1.6))}
.m-dot circle{fill:#fbfaf6;stroke:#a6402b;stroke-width:2.6}
.m-dot circle+circle{fill:#152920;stroke:none}
.m-report text{font:700 12.5px var(--text);fill:#152920;paint-order:stroke;stroke:#fbfaf6;stroke-width:4px;stroke-linejoin:round}
.m-ea text{font:700 12px var(--text);fill:#152920;paint-order:stroke;stroke:#f7f6f0;stroke-width:4px;stroke-linejoin:round}
.js .sa:not(.is-ready) .m-dot,.js .sa:not(.is-ready) .m-swath{opacity:0}
.hail .sa .m-swath,.hail .sa .m-dot{transition:opacity .9s var(--ease) .2s}

/* the panel */
.hl-legend{margin-top:16px}
.hl-legend ul{display:flex;flex-wrap:wrap;gap:6px 14px;margin:8px 0 0;padding:0;list-style:none;font-weight:700;font-size:.875rem;font-variant-numeric:tabular-nums}
.hl-legend li{display:flex;align-items:center;gap:6px}
.hl-legend li i{width:22px;height:14px;border-radius:3px;box-shadow:inset 0 0 0 1px #15292026}
.hl-legend__dot{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:.8125rem;color:var(--ink-soft)}
.hl-legend__dot i{width:14px;height:14px;border-radius:50%;background:radial-gradient(circle,#152920 0 3px,#fbfaf6 3.5px);box-shadow:0 0 0 2px #a6402b}
.hl-towns{columns:1}
.hl-towns a{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}
.hl-towns a span{font-variant-numeric:tabular-nums;color:var(--brick)}
.hail .sa__lede{font-size:.9375rem;line-height:1.55}

/* the article under the map */
.hl-body{padding:var(--section) var(--gutter)}
.hl-body__wrap{max-width:760px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(40px,5vw,64px)}
.hl-body h2{font-size:clamp(1.9rem,3.2vw,2.8rem);margin-bottom:16px}
.hl-body p{color:var(--ink-soft);font-size:1.0625rem;line-height:1.7;max-width:66ch}
.hl-body p+p,.hl-body p+ul,.hl-body ul+p,.hl-body .hl-table+p{margin-top:14px}
.hl-body a:not(.btn){color:var(--ink);font-weight:700;text-underline-offset:4px;text-decoration-color:var(--brick)}
.hl-body .btn{margin-top:6px}
.hl-table{margin-top:20px;overflow-x:auto;border-top:1.5px solid var(--ink)}
.hl-table table{width:100%;border-collapse:collapse;font-size:.9688rem}
.hl-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.hl-table th,.hl-table td{padding:11px 12px 11px 0;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.hl-table thead th{font:700 .75rem/1.3 var(--text);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft)}
.hl-table tbody th{font-weight:700}
.hl-table td{font-variant-numeric:tabular-nums;color:var(--ink-soft)}
.hl-table td:first-of-type{color:var(--brick);font-weight:700}
.hl-fine{font-size:.8125rem!important;color:var(--ink-soft)}
.hl-reports,.hl-list,.hl-sources{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.hl-reports li,.hl-list li,.hl-sources li{position:relative;padding-left:22px;color:var(--ink-soft);line-height:1.55}
.hl-reports li::before,.hl-list li::before,.hl-sources li::before{content:"";position:absolute;left:2px;top:.62em;width:9px;height:9px;border-radius:50%;background:var(--brick)}
.hl-reports b{color:var(--ink)}

/* /hail-maps/ */
.hl-hero{padding:calc(76px + clamp(28px,4vw,56px)) var(--gutter) clamp(28px,4vw,48px);max-width:calc(var(--max) + 2*var(--gutter));margin:0 auto}
.hl-hero h1{font-size:clamp(2.6rem,5.4vw,5rem);max-width:15ch;margin-top:12px}
.hl-hero__lede{margin-top:18px;max-width:58ch;color:var(--ink-soft);font-size:1.125rem;line-height:1.65}
.hl-hero .breadcrumbs{padding-top:0;margin-bottom:16px}
.hl-storms{padding:0 var(--gutter);max-width:calc(var(--max) + 2*var(--gutter));margin:0 auto}
.hl-storms__h{font:700 .8125rem/1.3 var(--text);letter-spacing:.09em;text-transform:uppercase;color:var(--ink-soft);padding-top:18px;border-top:1.5px solid var(--ink)}
.hl-cards{margin:18px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,520px),1fr));gap:24px}
.hl-card a{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:0;text-decoration:none;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--e1);transition:box-shadow .2s,transform .2s var(--ease)}
.hl-card a:hover{box-shadow:var(--e2);transform:translateY(-2px)}
.hl-card img{width:100%;height:100%;object-fit:cover;object-position:92% 50%;aspect-ratio:1200/630}
.hl-card div{padding:22px 24px}
.hl-card h3{font-size:1.7rem;margin-top:8px}
.hl-card p:not(.sa__kicker){margin-top:10px;color:var(--ink-soft);font-size:.9375rem;line-height:1.55}
.hl-card__go{display:inline-block;margin-top:14px;font-weight:700;color:var(--brick)}
@media (max-width:760px){.hl-card a{grid-template-columns:minmax(0,1fr)}}

/* ---- v2 (2026-11-23): wider sheet, town sections, print + downloads ---- */
.hail .m-town.is-out{stroke-opacity:.2}
.hail .m-town.is-out.is-on{stroke-opacity:1}
.hl-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:16px}
.btn--ghost-ink{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn--ghost-ink:hover{background:#15292012}
.hl-printlink{border:0;background:none;padding:0;font:inherit;cursor:pointer;text-align:left}
.hl-figure{margin-top:22px}
.hl-figure img{width:100%;height:auto;border-radius:var(--radius);box-shadow:var(--e1)}
.hl-figure figcaption{margin-top:8px;font-size:.8125rem;color:var(--ink-soft)}
.hl-towns-list{display:grid;gap:22px;margin-top:22px}
.hl-town{padding:18px 0 0;border-top:1px solid var(--line)}
.hl-town h3{font-family:var(--display);font-weight:400;font-size:1.6rem}
.hl-town p{margin-top:8px}
.hl-town__links{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:.9375rem}
.hl-printhead{display:none}

/* print: the map as it is on screen (zoom to your street first), with a title block, the table and the sources */
@media print{
  @page{size:letter landscape;margin:.45in}
  body{background:#fff!important}
  .site-head,.site-foot,.skip,.closing,.sa__panel,.sa__tools,.sa__hint,.sa__edge,.sa__grain,.sa__credit,.hl-noprint,.hl-body section:not(.hl-print){display:none!important}
  .hl-printhead{display:block;margin-bottom:10px}
  .hl-printhead__k{font:700 9pt/1.2 var(--text);letter-spacing:.1em;text-transform:uppercase;color:#a6402b}
  .hl-printhead h2{font-size:20pt;margin:2px 0 4px}
  .hl-printhead p{font-size:8.5pt;line-height:1.4;color:#333;max-width:none}
  .hl-printhead .hl-legend{display:flex;align-items:center;gap:18px;margin:6px 0}
  .hl-printhead .hl-legend ul{margin:0}
  .hl-printhead .hl-legend .sa__label,.hl-printhead .hl-legend__dot{margin:0}
  .hl-printhead__src{margin-top:4px;color:#555!important}
  .hail .sa{height:5.6in!important;min-height:0!important;max-height:none!important;border:1px solid #999;break-inside:avoid;page-break-after:always}
  .sa__map{position:absolute;inset:0}
  .hl-body{padding:0}
  .hl-body__wrap{max-width:none;gap:14px}
  .hl-body h2{font-size:14pt;margin-bottom:6px}
  .hl-body p,.hl-reports li,.hl-sources li{font-size:9pt}
  .hl-table th,.hl-table td{padding:4px 10px 4px 0;font-size:9pt}
  .hl-body a{color:#000!important;text-decoration:none!important}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
