/* ==========================================================================
   sitekit.css - styles for site-kit sections and blocks.

   The engine's app.css already carries the Bootstrap-named utilities and the
   ss-* topic-page components, and kit markup uses those first. This file adds
   only what they do not cover, under an sk- prefix, and reads the engine's
   tokens (--accent, --radius, --shadow-1) with a fallback so a page still
   looks right where they are not defined.

   A tenant restyles by shipping sites/<domain>/themes/public/<theme>/assets/
   site.css, which loads after this file.
   ========================================================================== */

.sk-page{ max-width:1080px; margin:0 auto; padding:4px 0 28px; }
.sk-page .ss-crumbs{ margin:14px 2px 0; }

/* --- Headers -------------------------------------------------------------- */
.sk-eyebrow{
  margin:0 0 4px; font-size:11.5px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent,#1abc9c);
}
.sk-summary{ font-size:17px; color:#1f2937; }
.sk-aka, .sk-byline{ margin:0 0 10px; font-size:13px; color:#5b6472; }
.sk-updated{ margin:14px 2px 22px; font-size:12.5px; color:#7a8290; }
.sk-grid-wide{ grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); }
/* A block sits in someone else's page: give it room from whatever is above. */
.sk-block{ margin-top:14px; }
.sk-more{ margin:8px 2px 0; font-size:13px; }
.sk-more a, .sk-chip-more{ font-weight:600; }
.sk-sub{ display:block; font-size:12.5px; font-weight:400; color:#5b6472; line-height:1.45; }

/* --- Long-form text ------------------------------------------------------- */
.sk-prose{
  background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px);
  box-shadow:var(--shadow-1,0 1px 2px rgba(16,24,40,.05)); padding:20px 24px 8px;
  margin:0 2px 18px; font-size:16px; line-height:1.7; color:#1f2937;
}
.sk-prose > *{ max-width:72ch; }
.sk-prose h2{ margin:26px 0 8px; font-size:21px; font-weight:700; letter-spacing:-.01em; color:#0e1116; scroll-margin-top:90px; }
.sk-prose h3{ margin:20px 0 6px; font-size:17px; font-weight:700; color:#0e1116; }
.sk-prose h2:first-child, .sk-prose h3:first-child{ margin-top:4px; }
.sk-prose p, .sk-prose ul, .sk-prose ol, .sk-prose blockquote, .sk-prose pre{ margin:0 0 14px; }
.sk-prose ul, .sk-prose ol{ padding-left:22px; }
.sk-prose li{ margin-bottom:5px; }
.sk-prose a{ color:#0060a9; text-decoration:underline; text-decoration-color:#b9d2e8; text-underline-offset:3px; }
.sk-prose a:hover{ text-decoration-color:#0060a9; }
.sk-prose a.sk-xref{ text-decoration-style:dotted; }
.sk-prose code{ padding:1px 5px; border-radius:4px; background:#f1f4f8; font-size:.9em; color:#0e1116; }
.sk-prose pre{ padding:12px 14px; border-radius:8px; background:#0e1116; color:#e6edf3; overflow-x:auto; max-width:100%; }
.sk-prose pre code{ padding:0; background:none; color:inherit; }
.sk-prose blockquote{ padding:2px 0 2px 14px; border-left:3px solid var(--accent,#1abc9c); color:#374151; }
.sk-prose table{ width:100%; max-width:100%; border-collapse:collapse; margin:0 0 16px; font-size:14.5px; }
.sk-prose th, .sk-prose td{ padding:8px 10px; border-bottom:1px solid #e7eaf0; text-align:left; vertical-align:top; }
.sk-prose thead th{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#5b6472; }

.sk-toc{ margin:0 2px 16px; padding:12px 18px; background:#f7f9fc; border:1px solid #e7eaf0; border-radius:var(--radius,10px); }
.sk-toc-title{ margin:0 0 4px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#5b6472; }
.sk-toc ol{ margin:0; padding-left:20px; font-size:14px; line-height:1.8; }

/* --- Glossary ------------------------------------------------------------- */
.sk-az{ display:flex; flex-wrap:wrap; gap:4px; }
.sk-az a{
  min-width:30px; padding:3px 0; text-align:center; border:1px solid #dde6f0; border-radius:6px;
  background:#eef3f9; font-size:13px; font-weight:600; color:#0060a9; text-decoration:none;
}
.sk-az a:hover{ background:#e2ebf5; }
.sk-terms{ margin:0; background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px); box-shadow:var(--shadow-1,0 1px 2px rgba(16,24,40,.05)); }
.sk-term-row{ display:grid; grid-template-columns:minmax(180px, 260px) 1fr; gap:4px 18px; padding:11px 16px; border-bottom:1px solid #eef1f5; }
.sk-term-row:last-child{ border-bottom:0; }
.sk-term-row dt{ font-weight:600; font-size:15px; }
.sk-term-row dt a{ color:#0060a9; text-decoration:none; }
.sk-term-row dt a:hover{ text-decoration:underline; }
.sk-term-row dd{ margin:0; font-size:14px; line-height:1.5; color:#374151; }

/* --- Directory and comparisons ------------------------------------------- */
.sk-facts, .sk-tiers{ width:100%; margin:0; background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px); border-collapse:separate; border-spacing:0; font-size:14.5px; }
.sk-facts th, .sk-facts td, .sk-tiers th, .sk-tiers td{ padding:10px 14px; border-bottom:1px solid #eef1f5; text-align:left; vertical-align:top; }
.sk-facts tr:last-child > *, .sk-tiers tr:last-child > *{ border-bottom:0; }
.sk-facts tbody th, .sk-tiers tbody th{ width:170px; font-weight:600; color:#374151; white-space:nowrap; }
.sk-facts thead th, .sk-tiers thead th{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#5b6472; background:#f7f9fc; }
.sk-facts thead th a{ font-size:15px; letter-spacing:0; text-transform:none; color:#0060a9; text-decoration:none; }
.sk-facts-list tbody th{ width:auto; white-space:normal; }
.sk-facts-list tbody th a{ font-size:15px; color:#0060a9; text-decoration:none; }
.sk-facts .sk-tiers{ border:0; font-size:13.5px; }
.sk-facts .sk-tiers th, .sk-facts .sk-tiers td{ padding:4px 8px 4px 0; }
.sk-facts .sk-tiers tbody th{ width:auto; white-space:normal; }
.sk-plain{ margin:0; padding-left:16px; }
.sk-pricing-summary{ margin:0 2px 10px; font-size:15px; color:#1f2937; }
.sk-verified{ margin:8px 2px 0; font-size:12.5px; color:#5b6472; max-width:72ch; }
.sk-cols{ margin:0; padding:14px 18px 14px 34px; columns:2 260px; column-gap:28px; background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px); font-size:14.5px; line-height:1.6; }
.sk-cols li{ break-inside:avoid; margin-bottom:4px; }

/* --- Live block, search, signup, answer card ------------------------------ */
.sk-live-list{ margin:0 0 10px; padding:0; list-style:none; background:#fff; border:1px solid #e7eaf0; border-radius:var(--radius,10px); }
.sk-live-list li{ padding:9px 14px; border-bottom:1px solid #eef1f5; font-size:14.5px; }
.sk-live-list li:last-child{ border-bottom:0; }
.sk-live-list a{ color:#0060a9; text-decoration:none; font-weight:600; }
.sk-live-meta{ display:block; font-size:12px; color:#7a8290; }

.sk-search, .sk-signup{ display:flex; flex-wrap:wrap; gap:8px; margin:0; max-width:560px; }
.sk-search .form-control, .sk-signup .form-control{ flex:1 1 240px; min-width:0; }
.sk-fineprint{ margin:8px 0 0; font-size:12.5px; color:#5b6472; }
.sk-promise{ margin:0 0 14px; background:transparent; border:0; padding:0 0 0 20px; }
.sk-callout{ padding:14px 16px; background:#f7f9fc; border:1px solid #e7eaf0; border-radius:var(--radius,10px); }

.sk-answer{
  margin:10px 2px 14px; padding:14px 18px; background:#fff; border:1px solid #e7eaf0;
  border-left:4px solid var(--accent,#1abc9c); border-radius:var(--radius,10px);
  box-shadow:var(--shadow-1,0 1px 2px rgba(16,24,40,.05));
}
.sk-answer-title{ margin:0 0 4px; font-size:19px; font-weight:700; letter-spacing:-.01em; }
.sk-answer-title a{ color:#0e1116; text-decoration:none; }
.sk-answer-text{ margin:0 0 10px; font-size:15px; line-height:1.55; color:#374151; max-width:72ch; }

/* --- Navigation slot ------------------------------------------------------ */
.sk-nav-list{ display:flex; flex-wrap:wrap; gap:4px 18px; margin:0; padding:0; list-style:none; font-size:14px; }
.sk-nav-list a{ color:inherit; text-decoration:none; font-weight:600; opacity:.92; }
.sk-nav-list a:hover{ opacity:1; text-decoration:underline; }
.sk-footer-col a{ text-decoration:none; }

@media (max-width:767.98px){
  .sk-prose{ padding:16px 16px 4px; font-size:15.5px; }
  .sk-term-row{ grid-template-columns:1fr; }
  .sk-facts tbody th, .sk-tiers tbody th{ width:auto; white-space:normal; }
}

/* The directory's jump list: every category at the top of a long index. */
.sk-cat-jump{ margin-top:12px; max-height:230px; overflow-y:auto; padding:2px; }

/* ==========================================================================
   City sites (modules/city): the weather + traffic row above the feed and
   the "at a glance" block below it. Colours read the engine's --fs-* tokens,
   which exist in dark mode only, so every one has its light fallback.
   ========================================================================== */
.ct-grid{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:14px; margin:0 0 18px; align-items:stretch; }
.ct-card{ min-width:0; padding:14px 16px; background:var(--fs-surface,#fff); color:var(--fs-ink,#1f2937); border:1px solid var(--fs-line,#e3e8ef); border-radius:var(--radius,10px); box-shadow:var(--shadow-1,0 1px 2px rgba(16,24,40,.05)); }
.ct-card-head{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 10px; margin:0 0 10px; }
.ct-card-head h2, .ct-h3{ margin:0; font-size:16px; font-weight:800; letter-spacing:-.01em; color:var(--fs-heading,#111827); }
.ct-stamp{ font-size:12px; color:var(--fs-ink-3,#6b7280); }

/* the weather card fills the height of the traffic card beside it */
.ct-weather{ display:flex; flex-direction:column; gap:12px; }
.ct-weather .ct-card-head{ margin:0; }
.ct-hero{ --a:#4aa3ff; --b:#1d4ed8; display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:12px; color:#fff; background:linear-gradient(135deg,var(--a),var(--b)); }
.ct-wx-clear-day .ct-hero{ --a:#4fb3ff; --b:#2563eb; }
.ct-wx-clear-night .ct-hero{ --a:#1e2a5a; --b:#0b1230; }
.ct-wx-cloud-day .ct-hero{ --a:#8aa4c4; --b:#4b6486; }
.ct-wx-cloud-night .ct-hero{ --a:#37465f; --b:#161e2e; }
.ct-wx-rain-day .ct-hero, .ct-wx-rain-night .ct-hero{ --a:#4a6a8e; --b:#1f3350; }
.ct-wx-storm-day .ct-hero, .ct-wx-storm-night .ct-hero{ --a:#4b4a6e; --b:#1c1b33; }
.ct-wx-snow-day .ct-hero, .ct-wx-snow-night .ct-hero{ --a:#8fb4d6; --b:#4f7396; }
.ct-wx-fog-day .ct-hero, .ct-wx-fog-night .ct-hero{ --a:#9aa5b1; --b:#5b6673; }
.ct-hero-ic{ flex:none; filter:drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.ct-hero-t{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.ct-temp{ font-size:52px; font-weight:800; line-height:1; letter-spacing:-.03em; }
.ct-cond{ font-size:16px; font-weight:700; opacity:.95; }
.ct-hero-r{ margin-left:auto; display:flex; flex-direction:column; gap:3px; font-size:13px; text-align:right; opacity:.95; white-space:nowrap; }
.ct-hero-r b{ font-weight:800; }
.ct-stats{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0; padding:0; list-style:none; }
.ct-stats li{ display:flex; flex-direction:column; gap:2px; padding:8px 10px; border-radius:9px; background:var(--fs-surface-2,#f3f6fa); }
.ct-sl{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--fs-ink-3,#6b7280); }
.ct-sv{ font-size:16px; font-weight:800; color:var(--fs-heading,#111827); }
.ct-sv small{ font-size:12px; font-weight:600; color:var(--fs-ink-2,#4b5563); }
.ct-wx-arrow{ color:inherit; }
.ct-stats .wx-wind{ white-space:nowrap; }
.ct-aq{ display:inline-block; width:10px; height:10px; margin-right:6px; border-radius:50%; background:var(--aq,#9aa5b1); vertical-align:middle; }
.ct-sub{ margin:2px 0 -4px; font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--fs-ink-3,#6b7280); }
.ct-hours{ display:flex; gap:2px; margin:0; padding:0 0 2px; list-style:none; overflow-x:auto; }
.ct-hours li{ flex:1 0 46px; display:flex; flex-direction:column; align-items:center; gap:3px; font-size:12px; }
.ct-hh{ color:var(--fs-ink-3,#6b7280); white-space:nowrap; }
.ct-hb{ position:relative; width:14px; height:38px; display:block; border-radius:4px; background:var(--fs-surface-2,#eef2f7); overflow:hidden; }
.ct-hb i{ position:absolute; left:0; right:0; bottom:0; height:var(--h,50%); background:var(--c,#4aa3ff); border-radius:4px; }
.ct-ht{ font-weight:800; font-size:13px; }
.ct-hp{ font-size:11px; color:#2f7fd1; font-weight:700; min-height:13px; }
.ct-days{ flex:1; display:flex; flex-direction:column; justify-content:space-around; gap:3px; margin:0; padding:0; list-style:none; }
.ct-days li{ display:grid; grid-template-columns:58px 28px 34px 38px minmax(40px,1fr) 38px; align-items:center; gap:6px; font-size:13px; }
.ct-dn{ font-weight:700; }
.ct-dp{ font-size:11.5px; font-weight:700; color:#2f7fd1; text-align:right; }
.ct-lo{ color:var(--fs-ink-3,#6b7280); text-align:right; }
.ct-hi{ font-weight:800; }
.ct-rg{ position:relative; height:6px; border-radius:3px; background:var(--fs-surface-2,#e5eaf1); }
.ct-rg i{ position:absolute; top:0; bottom:0; border-radius:3px; }
.ct-alert{ display:block; margin:0; padding:7px 11px; border-radius:8px; background:#fff3cd; color:#7a4b00; font-size:13.5px; font-weight:700; text-decoration:none; }
.ct-links{ display:flex; flex-wrap:wrap; gap:6px 14px; margin:2px 0 0; font-size:13.5px; font-weight:700; }
.ct-links a, .ct-extra a, .ct-res a, .ct-credit a{ color:var(--fs-link,#1d4ed8); text-decoration:none; }
.ct-links a:hover, .ct-res a:hover{ text-decoration:underline; }

/* the traffic card grows with it */
.ct-traffic{ display:flex; flex-direction:column; }
.ct-map{ position:relative; flex:1 1 auto; min-height:380px; margin:0 0 6px; border-radius:8px; overflow:hidden; background:var(--fs-surface-2,#eef2f7); }
.ct-map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.ct-credit, .ct-note, .ct-none{ margin:4px 0 0; font-size:12.5px; color:var(--fs-ink-3,#6b7280); }

.ct-h{ margin:0 0 10px; font-size:20px; font-weight:800; letter-spacing:-.01em; color:var(--fs-heading,#111827); }
.ct-below{ margin:0 0 20px; }
.ct-sections{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:10px; margin:0 0 14px; padding:0; list-style:none; }
.ct-sections a{ display:flex; flex-direction:column; gap:3px; height:100%; padding:11px 13px; border:1px solid var(--fs-line,#e3e8ef); border-radius:var(--radius,10px); background:var(--fs-surface,#fff); color:inherit; text-decoration:none; }
.ct-sections a:hover{ border-color:var(--fs-link,#1d4ed8); }
.ct-sec-t{ font-weight:800; font-size:15px; color:var(--fs-heading,#111827); }
.ct-sec-d{ font-size:12.5px; line-height:1.4; color:var(--fs-ink-2,#4b5563); }
.ct-sec-n{ margin-top:auto; font-size:12px; font-weight:700; color:var(--fs-ink-3,#6b7280); }

/* numbers to know: tiles; official pages: a grid of links */
.ct-stack{ display:grid; gap:14px; }
.ct-numtiles{ display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:10px; margin:10px 0 0; padding:0; list-style:none; }
.ct-numtiles li{ display:flex; flex-direction:column; gap:3px; padding:11px 13px; border:1px solid var(--fs-line,#e3e8ef); border-radius:10px; background:var(--fs-surface-2,#f6f8fb); }
.ct-num-l{ font-size:12.5px; font-weight:700; color:var(--fs-ink-2,#4b5563); }
.ct-num-v{ font-size:21px; font-weight:800; letter-spacing:-.01em; line-height:1.15; color:var(--fs-heading,#111827); overflow-wrap:anywhere; }
.ct-num-n{ margin-top:auto; font-size:12px; line-height:1.35; color:var(--fs-ink-3,#6b7280); }
.ct-num-911{ border-color:#e5484d; background:rgba(229,72,77,.08); }
.ct-num-911 .ct-num-v{ color:#d12b30; font-size:30px; }
.ct-res{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:4px 22px; margin:10px 0 0; padding:0; list-style:none; font-size:14px; }
.ct-res li{ padding:6px 0; border-top:1px solid var(--fs-line,#e3e8ef); }
.ct-res small{ display:block; font-size:12px; color:var(--fs-ink-3,#6b7280); }
.ct-extra{ margin:12px 0 0; font-size:13px; }

/* guides and posts: as many columns as fit, no blank right edge */
.ct-learn .ss-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:12px; }
.ct-learn .ss-card{ min-width:0; }
.ct-learn .ss-card-desc{ display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* the Weather service's icon colours (its own stylesheet is not loaded on these pages) */
.ct-weather, .ct-hero{ --wxi-sun:#f5a90a; --wxi-moon:#f0c94d; --wxi-cloud:#dbe3ec; --wxi-cloud-line:#a3b1c2; --wxi-cloud2:#bccada; --wxi-rain:#2f7fe8; --wxi-snow:#7fb6f2; --wxi-fog:#98a4b3; }
html[data-fs-theme="dark"] .ct-weather{ --wxi-cloud:#a9b6c6; --wxi-cloud-line:#7f8ea0; --wxi-cloud2:#7b8a9c; --wxi-rain:#5aa2ff; --wxi-snow:#b8d8ff; }
.ct-weather .wx-ic{ display:inline-block; vertical-align:middle; flex-shrink:0; overflow:visible; }
.wxi-sun circle{ fill:var(--wxi-sun); }
.wxi-rays{ stroke:var(--wxi-sun); fill:none; }
.wxi-moon{ fill:var(--wxi-moon); }
.wxi-cloud{ fill:var(--wxi-cloud); stroke:var(--wxi-cloud-line); stroke-width:1.6; }
.wxi-cloud2{ fill:var(--wxi-cloud2); }
.wxi-rain{ stroke:var(--wxi-rain); fill:none; }
.wxi-snow{ fill:var(--wxi-snow); stroke:#4f8fd6; stroke-width:.8; }
.wxi-ice{ stroke:#5fc3f0; fill:none; }
.wxi-bolt{ fill:#ffc21a; stroke:#d99400; stroke-width:1.2; stroke-linejoin:round; }
.wxi-fog{ stroke:var(--wxi-fog); fill:none; }
.wxi-wind{ stroke:#7d8a99; }
.wxi-smoke path{ fill:#b5aca3; stroke:#8f857b; stroke-width:1.4; }
.wxi-dust{ stroke:#c4a265; }
.wxi-hot{ stroke:#e03131; fill:#e03131; }
.ct-weather .wx-wind{ display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.ct-weather .wx-wind-arrow{ flex-shrink:0; }
.ct-weather .wx-gust{ font-size:12px; font-weight:600; }

@media (max-width:1099.98px){
  .ct-grid{ grid-template-columns:minmax(0,1fr); }
  .ct-map{ min-height:320px; }
}
@media (max-width:520px){
  .ct-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ct-hero{ flex-wrap:wrap; }
  .ct-hero-r{ margin-left:0; flex-direction:row; flex-wrap:wrap; gap:4px 12px; text-align:left; }
  .ct-temp{ font-size:44px; }
  .ct-days li{ grid-template-columns:48px 26px 30px 34px minmax(30px,1fr) 34px; gap:4px; font-size:12px; }
}
