:root {
  /* Ziick palette: e737a2 (pink) / 28b2e3 (cyan) / 684de0 (purple) / 1f1932 (navy) */
  --forest: #4338ac;
  --forest-deep: #1f1932;
  --moss: #c22a83;
  --lime: #28b2e3;
  --lime-soft: #e6f6fc;
  /* Darker form of --lime for text. The accent itself is about 2.5:1 on white, below AA even
     for large text, so it is used for rules and fills rather than for words. */
  --blue-ink: #17698a;
  /* Tint for subheading blocks. --warm-white is identical to --paper on this site, so a
     heading using it had an invisible background and read as a bare left rule. */
  --tint: #f1f0f7;
  --warm-white: #fbfcfa;
  --paper: #fbfcfa;
  --sand: #e8e0d2;
  --charcoal: #17211d;
  --muted: #61706a;
  --line: #e3e1ec;
  --shadow: 0 14px 34px rgba(31, 25, 50, .12);
  --shell: min(1200px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--charcoal);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body > main {
  flex: 1 0 auto;
}

body > .site-footer {
  flex-shrink: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: white;
  background: var(--forest-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #d99a42;
  outline-offset: 4px;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(23, 63, 53, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1420px, calc(100% - 40px));
  min-height: 84px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--forest);
}

.brand-mark {
  width: 45px;
  height: 40px;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.55vw, 27px);
}

.primary-nav a {
  position: relative;
  padding: 31px 0 27px;
  color: #303632;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--charcoal);
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.menu-toggle {
  display: none;
}

.hero-shell {
  padding-block: 56px 76px;
}

.section-kicker-row,
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-kicker-row {
  margin-bottom: 16px;
}

.eyebrow,
.story-label,
.card-label {
  margin: 0;
  color: var(--moss);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prototype-label {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--forest);
  background: #edf1e6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.media-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 5px;
  color: white;
  background: var(--forest-deep);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.media-card:hover img {
  transform: scale(1.025);
}

.hero-story {
  min-height: 592px;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(4, 18, 14, 0.82) 100%);
}

.hero-copy {
  position: absolute;
  right: clamp(24px, 5vw, 70px);
  bottom: clamp(28px, 5vw, 60px);
  left: clamp(24px, 5vw, 62px);
  max-width: 720px;
}

.story-label {
  color: var(--lime);
}

.hero-copy h1,
.secondary-copy h2 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(38px, 4.8vw, 62px);
}

.hero-copy h1 a,
.secondary-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.preview-bar {
  padding: 10px 20px;
  color: white;
  background: #8a5a12;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.article-page {
  padding: 0 0 100px;
  color: #26322e;
}

.article-header {
  max-width: 1180px;
  padding-top: 54px;
}

.article-category-list {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: #c22a83;
}
.article-category-list a {
  color: inherit;
  text-decoration: none;
}
.article-category-list a:hover { text-decoration: underline; }

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}
.article-breadcrumbs a { flex: 0 0 auto; text-decoration: none; }
.article-breadcrumbs > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.article-breadcrumbs > span:not(:last-child) { color: #a8b1ad; }

.article-header h1,
.listing-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(47px, 6.2vw, 83px);
  letter-spacing: -3.2px;
  line-height: .98;
  text-wrap: balance;
}
.article-header h1 { max-width: 960px; color: var(--forest-deep); font-size: clamp(38px, 5vw, 64px); letter-spacing: -2.4px; }

.article-deck {
  max-width: 800px;
  margin: 24px 0 20px;
  color: #4d5a55;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.45;
}

/* One shared header geometry for every browser tool page. */
.tool-view .article-header {
  width: var(--shell);
  max-width: none;
  padding-top: 36px;
}
.tool-view .article-breadcrumbs { margin-bottom: 18px; }
.tool-view .article-header h1 {
  max-width: 920px;
  font-size: clamp(38px, 4.5vw, 58px);
}
.tool-view .article-deck {
  max-width: 780px;
  margin: 16px 0 20px;
  font-size: 21px;
}
/* Widget captions such as "2. Result" are labels, not headings, so the page outline stays H1 ->
   editorial H2s. These are the browser's h2/h3 defaults the captions were drawn with before. */
.tool-label { display: block; margin-block: .83em; font-size: 1.5em; font-weight: 700; }
.tool-label--minor { margin-block: 1em; font-size: 1.17em; }
.tool-view .tool-byline { display: block; margin: 0 0 22px; }
.tool-byline a { color: var(--forest-deep); }

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 15px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .65px;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-byline strong,
.article-byline span {
  display: inline-block;
}
.article-byline strong { color: var(--forest-deep); }
.article-byline .meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #a1aaa6; }

.article-hero {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: #dbe4df;
  box-shadow: 0 16px 42px rgba(24, 50, 40, .10);
}

.article-hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.article-hero::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(180deg, transparent 62%, rgba(7,23,17,.25)); pointer-events: none; }

.article-hero figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 12px;
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 1px 5px rgba(0,0,0,.5);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  justify-content: center;
  gap: 70px;
  max-width: 1120px;
  margin-top: 0;
  padding-top: 52px;
}

.article-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.72;
}

.article-body > :first-child {
  margin-top: 0;
}
.article-body > p:first-of-type::first-letter { float: left; padding: 13px 11px 0 0; color: var(--forest-deep); font-size: 83px; font-weight: 700; line-height: .76; }
.article-body p { margin: 0 0 1.35em; }

.article-body figure { margin: 36px 0; }
.article-body img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.article-body figure img { width: 100%; }
.article-body figure figcaption { margin-top: 10px; color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 13px; line-height: 1.4; }
.article-body > img,
.article-body p > img,
.article-body p > a > img { width: 100%; margin: 36px 0; }

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--forest-deep);
}

.article-body h2 {
  margin: 88px 0 20px;
  padding-top: 40px;
  border-top: 2px solid var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.02;
  text-wrap: balance;
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article-body h3 {
  margin: 46px 0 16px;
  padding: 14px 16px 15px 20px;
  border-left: 5px solid var(--moss);
  border-radius: 0 10px 10px 0;
  background: var(--tint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.15;
}
.article-body h4 {
  display: inline-flex;
  align-items: center;
  margin: 34px 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #3f5c0f;
  background: #e3ecd2;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}
.article-body a { color: var(--forest); }
/* Reading links use the site green rather than underlining; focus remains
   clearly visible through the global :focus-visible outline. */
.article-body p a,
.article-body li a,
.article-body td a {
  color: #c22a83;
  text-decoration: none;
}
.article-body p a:hover,
.article-body li a:hover,
.article-body td a:hover { color: var(--forest); }
.article-body blockquote { margin: 2em 0; padding-left: 24px; border-left: 4px solid var(--lime); color: var(--forest); font-size: 25px; }

.static-page-body { max-width: 760px; }
.static-page-body > p:first-of-type::first-letter { float: none; padding: 0; font-size: inherit; font-weight: inherit; }
.static-page-body h2 { margin: 48px 0 16px; padding-top: 24px; font-size: 28px; letter-spacing: -0.6px; }
.static-page-body h2:first-child { margin-top: 0; padding-top: 0; }
.static-page-body ul { margin: 0 0 1.35em; padding-left: 22px; }

/* Shared editorial content below browser tools */
.tool-editorial {
  width: min(780px, 100%);
  margin: 72px 0 0;
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.72;
  text-align: left;
  overflow-wrap: anywhere;
}
.tool-editorial section { margin-bottom: 46px; }
.tool-editorial section:last-child { margin-bottom: 0; }
.tool-editorial h2 {
  margin: 0 0 16px;
  padding: 14px 16px 15px 20px;
  border-left: 5px solid var(--moss);
  border-radius: 0 10px 10px 0;
  background: var(--warm-white);
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
  text-wrap: balance;
}
.tool-editorial p { margin: 0 0 1.15em; }
.tool-figure { margin: 0 0 18px; }
.tool-figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.tool-figure figcaption { margin-top: 8px; color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 13px; line-height: 1.5; }
.tool-editorial ol,
.tool-editorial ul { margin: 0; padding-left: 24px; }
.tool-editorial li { margin: 5px 0; }
.tool-editorial table {
  width: 100%;
  margin: 8px 0 0;
  border-collapse: collapse;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.tool-editorial th,
.tool-editorial td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.tool-editorial th {
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tool-faq details { border-top: 1px solid var(--line); }
.tool-faq details:last-child { border-bottom: 1px solid var(--line); }
.tool-faq summary {
  padding: 17px 30px 17px 0;
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
}
.tool-faq details[open] summary { color: var(--forest); }
.tool-faq details p { margin: 0; padding: 0 0 18px; }
.static-page-body li { margin-bottom: 0.5em; }

.article-body h2[id] { scroll-margin-top: 110px; }
.article-body .number {
  display: block;
  margin-bottom: 6px;
  color: #c22a83;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.3px;
  line-height: 1;
  text-transform: uppercase;
}
.article-body .source-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: #c22a83;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}
.article-body .source-link:hover { text-decoration: underline; }
.article-body .quick-facts {
  position: relative;
  margin: 42px 0;
  padding: 30px;
  border: 1px solid #dfe8d9;
  border-radius: 18px;
  background: linear-gradient(135deg, #f1f5ed, #f7f9f5);
  box-shadow: 0 12px 30px rgba(24, 50, 40, .06);
}
.article-body .block-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #31520d;
  background: #dceabf;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.3px;
  line-height: 1.2;
  text-transform: uppercase;
}
.article-body .facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.article-body .fact {
  min-width: 0;
  padding: 14px 15px 15px;
  border: 1px solid rgba(84, 123, 22, .12);
  border-left: 3px solid var(--lime);
  border-radius: 9px;
  background: rgba(255, 255, 255, .78);
}
.article-body .fact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest-deep);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  line-height: 1.3;
  text-transform: uppercase;
}
.article-body .fact span { display: block; color: #3f4d47; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.5; }
.article-body .pull-quote {
  position: relative;
  margin: 56px 0;
  padding: 8px 40px 10px 52px;
  border-left: 4px solid var(--lime);
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.article-body .pull-quote::before,
.article-body .pull-quote::after { color: #c7d4ce; font-family: Georgia, serif; font-size: 52px; line-height: 0; vertical-align: -16px; }
.article-body .pull-quote::before { margin-right: 5px; content: "\201c"; }
.article-body .pull-quote::after { margin-left: 5px; content: "\201d"; }
.article-body .tip-box,
.article-body .caution-box,
.article-body .gear-box {
  margin: 42px 0;
  padding: 25px 28px;
  border-radius: 14px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
.article-body .tip-box { border-left: 5px solid var(--lime); background: #edf3ea; }
.article-body .caution-box { border-left: 5px solid #e8b949; background: #fff7df; }
.article-body .gear-box { border-left: 5px solid #b58a58; background: #f5efe5; }
.article-body .tip-box strong,
.article-body .caution-box strong,
.article-body .gear-box strong { display: block; margin-bottom: 7px; color: var(--forest-deep); font-size: 12px; letter-spacing: .9px; text-transform: uppercase; }
.article-body .selection-table {
  display: block;
  width: 100%;
  margin: 30px 0 46px;
  border-collapse: collapse;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.article-body .selection-table thead,
.article-body .selection-table tbody,
.article-body .selection-table tr { display: table; width: 100%; min-width: 600px; table-layout: fixed; }
.article-body .selection-table th,
.article-body .selection-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body .selection-table th { color: var(--forest-deep); background: #f4f7f2; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; }
.article-body .inline-photo { margin: 48px 0; }
.article-body .inline-photo img { width: 100%; height: auto; border-radius: 16px; object-fit: contain; }
.article-body .inline-photo figcaption { margin-top: 10px; color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 11px; font-weight: 600; line-height: 1.45; }
.article-body .related-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  min-height: 190px;
  overflow: hidden;
  margin: 48px 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: inherit;
  background: #fff;
  box-shadow: 0 6px 18px rgba(24,50,40,.07);
  text-decoration: none;
}
.article-body .related-copy { display: flex; flex-direction: column; justify-content: center; padding: 25px 27px; }
.article-body .related-copy small { color: #c22a83; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 1.1px; line-height: 1.3; text-transform: uppercase; }
.article-body .related-copy h4 {
  display: block;
  margin: 7px 0;
  padding: 0;
  border-radius: 0;
  color: var(--forest-deep);
  background: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.14;
  text-transform: none;
}
.article-body .related-copy p { margin: 0 0 15px; color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 13px; font-weight: 600; line-height: 1.5; }
.article-body .cta { display: inline-flex; align-items: center; align-self: flex-start; padding: 9px 15px; border-radius: 5px; color: var(--forest-deep); background: var(--lime); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 12px; font-weight: 800; line-height: 1; }
.article-body .related-inline img { width: 100%; height: 100%; object-fit: cover; }

.article-aside { position: sticky; top: 120px; align-self: start; }
.sidebar-card {
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.sidebar-card .eyebrow { margin: 0 0 14px; color: var(--forest-deep); }
.jump-list { margin: 0; padding: 0; list-style: none; }
.jump-list li + li { margin-top: 8px; }
.jump-list a { color: #54615c; font-size: 13px; font-weight: 650; line-height: 1.4; text-decoration: none; }
.jump-list a:hover { color: #c22a83; }

.nearby-weather {
  --weather-accent: #7d968c;
  --weather-tint: #f3f7f5;
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(145px, 1fr) minmax(260px, 1.25fr);
  gap: 18px;
  overflow: hidden;
  margin: 38px 0 48px;
  padding: 22px 24px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(110deg, var(--weather-tint), #fff 72%);
  box-shadow: 0 12px 32px rgba(14, 44, 37, .07);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.nearby-weather::before { position: absolute; inset: 0 auto 0 0; width: 5px; content: ""; background: var(--weather-accent); }
.nearby-weather.theme-clear { --weather-accent: #e3ac34; --weather-tint: #fff9e9; }
.nearby-weather.theme-partly { --weather-accent: #c7a64b; --weather-tint: #f8f7ec; }
.nearby-weather.theme-cloudy,
.nearby-weather.theme-fog { --weather-accent: #7f98a2; --weather-tint: #f1f5f6; }
.nearby-weather.theme-rain { --weather-accent: #4d8daa; --weather-tint: #eef7fb; }
.nearby-weather.theme-snow { --weather-accent: #78a8bb; --weather-tint: #f0f8fb; }
.nearby-weather.theme-storm { --weather-accent: #566775; --weather-tint: #eef1f4; }
.nearby-weather-icon { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(23, 63, 53, .1); border-radius: 50%; background: rgba(255,255,255,.78); }
.nearby-weather-icon svg { width: 48px; height: 48px; }
.nearby-weather-copy h3 { margin: 2px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.1; }
.nearby-weather-kicker { color: var(--moss); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.nearby-weather-region { color: var(--muted); font-size: 11px; }
.nearby-weather-summary { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.nearby-weather-summary strong { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; line-height: 1; }
.nearby-weather-summary span { color: var(--muted); font-weight: 750; }
.nearby-weather-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-self: center; }
.nearby-weather-details div { padding-left: 12px; border-left: 1px solid rgba(23,63,53,.13); }
.nearby-weather-details small,
.nearby-weather-details strong { display: block; }
.nearby-weather-details small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nearby-weather-details strong { margin-top: 4px; color: var(--forest-deep); font-size: 14px; }
.nearby-weather-bottom { grid-column: 2 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 13px; border-top: 1px solid rgba(23,63,53,.1); color: var(--muted); font-size: 10px; }
.article-body .nearby-weather-bottom a { color: var(--forest); font-weight: 800; }
.nearby-weather-unavailable { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 18px; color: var(--muted); background: var(--warm-white); box-shadow: none; }
.nearby-weather-unavailable strong { color: var(--forest-deep); }

.author-card {
  position: static;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.author-card img {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.author-card h2 { margin: 5px 0 8px; font-family: Georgia, serif; font-size: 28px; }
.author-card p:last-child { margin-bottom: 0; color: var(--muted); }

.article-sources {
  max-width: 760px;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.article-sources h2 { margin: 0 0 14px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .8px; line-height: 1.3; text-transform: uppercase; }
.article-sources ol { padding-left: 20px; }
.article-sources a { color: #c22a83; }
.article-sources li { margin: 8px 0; }

.listing-page {
  padding: 70px 0 110px;
}

.listing-header {
  max-width: 850px;
  margin-bottom: 55px;
}

.listing-header h1 { margin-bottom: 14px; }
.listing-header > p:last-child { max-width: 680px; color: var(--muted); font-size: 19px; }
.listing-grid { row-gap: 60px; }

.category-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 44px; }
.category-filters a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.category-filters a:hover { border-color: var(--forest); color: var(--forest); }
.public-empty { padding: 32px; background: var(--warm-white); text-align: center; }
.public-empty h2 { margin-top: 0; font-family: Georgia, serif; font-size: 28px; }
.image-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #dce7df, #a8bdac); }
.page-search { display: flex; max-width: 680px; margin-top: 30px; }
.page-search input { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); }
.page-search button { padding: 14px 22px; border: 0; color: white; background: var(--forest); font-weight: 800; }
.search-summary { margin-bottom: 28px; color: var(--muted); }
.search-section-heading { margin: 0 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.search-section-heading + .tool-grid { margin-bottom: 48px; }

@media (max-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .article-aside { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .sidebar-card { margin: 0; }
  .author-card { position: static; }
  .nearby-weather { grid-template-columns: 62px minmax(140px, 1fr) minmax(240px, 1.25fr); }
}

@media (max-width: 600px) {
  .listing-page { padding-top: 42px; }
  .article-header { padding-top: 35px; }
  .article-breadcrumbs { margin-bottom: 22px; }
  .article-header h1 { font-size: 36px; letter-spacing: -1.4px; }
  .article-deck { font-size: 21px; }
  .tool-view .article-header { padding-top: 35px; }
  .tool-view .article-breadcrumbs { margin-bottom: 18px; }
  .tool-view .article-header h1 { font-size: 36px; letter-spacing: -1.4px; }
  .tool-view .article-deck { font-size: 20px; }
  .article-byline { margin-bottom: 26px; }
  .article-hero { border-radius: 12px; }
  .article-layout { padding-top: 36px; }
  .article-body { font-size: 17px; }
  .article-body h2 { margin-top: 58px; padding-top: 28px; font-size: 29px; letter-spacing: -.9px; }
  .article-body h3 { padding: 12px 14px 13px 16px; font-size: 22px; }
  .tool-editorial { margin-top: 46px; font-size: 17px; }
  .tool-editorial h2 { padding: 12px 14px 13px 16px; font-size: 22px; }
  .article-body .quick-facts { padding: 22px; }
  .article-body .facts-grid { grid-template-columns: 1fr; }
  .article-body .pull-quote { padding: 5px 15px 8px 25px; font-size: 25px; }
  .article-body .related-inline { grid-template-columns: 1fr; }
  .article-body .related-inline img { max-height: 230px; order: -1; }
  .article-aside { grid-template-columns: 1fr; }
  .nearby-weather { grid-template-columns: 52px 1fr; padding: 19px; }
  .nearby-weather-icon { width: 50px; height: 50px; }
  .nearby-weather-icon svg { width: 40px; height: 40px; }
  .nearby-weather-details { grid-column: 1 / -1; }
  .nearby-weather-bottom { grid-column: 1 / -1; flex-direction: column; gap: 7px; }
  .nearby-weather-unavailable { display: grid; grid-template-columns: 1fr; }
  .public-empty { padding: 40px 20px; }
}

.hero-excerpt {
  max-width: 650px;
  margin: 0 0 21px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
}

.story-meta,
.card-meta {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.secondary-stories {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.secondary-story {
  min-height: 287px;
}

.secondary-copy {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.secondary-copy h2 {
  font-size: clamp(22px, 2vw, 29px);
}

.editorial-section {
  padding-bottom: 56px;
}

.section-heading {
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.explore-inner h2,
.split-copy h2,
.activity-card h2,
.newsletter h2 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 55px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.text-link {
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  display: inline-block;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.story-card .image-link {
  display: block;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
}

.story-card picture { display: contents; }

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.story-card:hover img {
  transform: scale(1.035);
}

.story-card h2,
.story-card h3 {
  margin: 8px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.2vw, 31px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.story-card h2 a,
.story-card h3 a {
  text-decoration: none;
}

.story-card > p:not(.card-label) {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.5;
}

.card-meta {
  color: var(--muted);
  font-size: 10px;
}

.explore-band {
  padding-block: 78px;
  color: white;
  background: var(--forest);
}

.explore-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.eyebrow-light {
  color: var(--lime);
}

.destination-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
}

.destination-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.25;
  text-decoration: none;
}

.destination-links span {
  color: rgba(255, 255, 255, 0.63);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  margin-block: 105px;
  min-height: 540px;
  background: var(--warm-white);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  display: flex;
  padding: clamp(35px, 5vw, 74px);
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.split-copy p:not(.eyebrow) {
  margin: 22px 0 30px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-dark {
  color: white;
  background: var(--forest);
}

.button-outline {
  color: var(--forest);
  background: transparent;
  border: 1.5px solid var(--forest);
}

.not-found-page {
  padding: 90px 0 140px;
  text-align: center;
}
.not-found-page .eyebrow { justify-content: center; }
.not-found-page h1 { margin: 10px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 6vw, 60px); letter-spacing: -0.03em; }
.not-found-page .location-deck { margin: 0 auto 40px; max-width: 480px; color: var(--muted); }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.activity-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 105px;
}

.activity-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 25px;
  object-fit: cover;
}

.activity-card h2 {
  max-width: 500px;
  margin-bottom: 20px;
  font-size: clamp(30px, 3vw, 43px);
}

.activity-section {
  padding-bottom: 105px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.activity-tile {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  background: var(--forest-deep);
}

.activity-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-tile:hover img {
  transform: scale(1.04);
}

.activity-tile-copy {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.activity-tile-copy h3 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.activity-tile-copy p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.5;
}

.activity-tile-copy .cta {
  color: var(--lime);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-section {
  padding-bottom: 92px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-tile {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  background: white;
}

.guide-tile-number {
  display: block;
  margin-bottom: 14px;
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.guide-tile h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.guide-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.weather-section {
  padding-block: 88px;
  background: #f1f4ef;
}

.weather-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.weather-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid #dce3da;
  border-radius: 4px;
  background: white;
}

.weather-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.weather-card-icon svg {
  width: 100%;
  height: 100%;
}

.weather-card > div {
  min-height: 55px;
}

.weather-place {
  margin: 0;
  font-weight: 850;
}

.weather-card span,
.weather-card small {
  color: var(--muted);
  font-size: 12px;
}

.weather-card strong {
  display: block;
  margin: 20px 0 5px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
}

.weather-card > p {
  margin: 0;
  font-size: 14px;
}

.disclaimer {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  margin-block: 100px;
  padding: clamp(38px, 6vw, 75px);
  align-items: center;
  color: white;
  background: var(--forest-deep);
}

.newsletter h2 {
  max-width: 650px;
}

.newsletter p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.73);
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
  min-width: 145px;
  border: 0;
  color: var(--forest-deep);
  background: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.newsletter-form :disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

/* Utility block — visibly darker than .privacy-section above it, on purpose: the two must never
   read as one slab. */
.site-footer {
  padding-top: 44px;
  color: white;
  background: #171124;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 700;
  text-decoration: none;
}

.footer-grid p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-grid > div:not(:first-child) a {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  padding-block: 22px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.search-dialog {
  width: min(760px, calc(100% - 30px));
  padding: 0;
  border: 0;
  box-shadow: var(--shadow);
}

.search-dialog::backdrop {
  background: rgba(4, 18, 14, 0.74);
  backdrop-filter: blur(3px);
}

.search-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
}

.search-form {
  padding: clamp(35px, 8vw, 75px);
}

.search-form label {
  display: block;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 5vw, 48px);
  line-height: 1.1;
}

.search-form > div {
  display: flex;
}

.search-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
}

.search-form button {
  padding-inline: 24px;
  border: 0;
  color: white;
  background: var(--forest);
  font-weight: 800;
}

.search-form p {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .primary-nav {
    position: fixed;
    z-index: 90;
    top: 84px;
    right: 0;
    left: 0;
    height: calc(100vh - 84px);
    height: calc(100dvh - 84px);
    display: none;
    padding: 25px 30px 60px;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    background: white;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .secondary-stories {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .destination-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .activity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 28px, 1200px);
  }

  .header-inner {
    width: calc(100% - 24px);
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .brand {
    min-width: 0;
    margin-right: auto;
  }

  .brand-mark {
    width: 38px;
    height: 34px;
  }

  .brand-copy strong {
    font-size: 22px;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    flex: 0 0 44px;
  }

  .search-toggle {
    display: inline-grid;
    flex: 0 0 44px;
  }

  .primary-nav {
    top: 72px;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }

  .hero-shell {
    padding-block: 32px 62px;
  }

  .hero-story {
    min-height: 570px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 9vw, 50px);
  }

  .secondary-stories,
  .story-grid,
  .activity-pair,
  .activity-grid,
  .guide-grid,
  .weather-grid,
  .newsletter,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .secondary-story {
    min-height: 330px;
  }

  .story-grid {
    gap: 48px;
  }

  .explore-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .destination-links {
    grid-template-columns: 1fr;
  }

  .split-feature {
    grid-template-columns: 1fr;
    margin-block: 75px;
  }

  .split-image {
    min-height: 390px;
  }

  .activity-pair {
    gap: 60px;
  }

  .weather-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter {
    gap: 35px;
    margin-block: 70px;
  }

  .footer-grid {
    gap: 38px;
  }
}

@media (max-width: 540px) {
  .section-kicker-row,
  .section-heading,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-story {
    min-height: 530px;
  }

  .hero-copy {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .hero-copy h1,
  .secondary-copy h2 {
    text-wrap: wrap;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .hero-excerpt,
  .secondary-copy {
    max-width: calc(100% - 40px);
  }

  .hero-excerpt {
    font-size: 16px;
  }

  .secondary-stories,
  .weather-grid {
    grid-template-columns: 1fr;
  }

  .secondary-story {
    min-height: 360px;
  }

  .split-image {
    min-height: 300px;
  }

  .weather-note {
    max-width: 280px;
  }

  .newsletter-form,
  .search-form > div {
    flex-direction: column;
  }

  .newsletter-form button,
  .search-form button {
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Weather pages (/weather/, /weather/{slug}/) ===== */

.weather-hero { padding: 60px 0 40px; }
.weather-hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: end; }
.weather-hero h1 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 8vw, 78px); line-height: 0.9; letter-spacing: -0.04em; }
.weather-hero > .weather-hero-grid > div:first-child > p:last-child { margin: 18px 0 0; max-width: 520px; color: var(--muted); font-size: 17px; }

.weather-search-panel { position: relative; padding: 30px; color: white; background: var(--forest-deep); box-shadow: var(--shadow); }
.weather-search-panel .eyebrow-light { color: var(--lime); }
.weather-search-panel h2 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.05; }
.weather-search-row { display: grid; grid-template-columns: 1fr auto; min-height: 54px; background: white; }
.weather-search-field { position: relative; min-width: 0; }
.weather-search-row input { width: 100%; min-width: 0; height: 54px; border: 0; padding: 0 16px; font: inherit; color: var(--charcoal); }
.weather-search-row button { border: 0; padding: 0 22px; background: var(--lime); color: var(--forest-deep); font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.search-help { margin: 12px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 13px; }

.weather-search-suggestions {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
  margin-top: 2px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}
.weather-search-suggestion {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.weather-search-suggestion:last-child { border-bottom: 0; }
.weather-search-suggestion:hover,
.weather-search-suggestion:focus { background: var(--warm-white); }
.weather-search-suggestion-name { font-family: Georgia, "Times New Roman", serif; font-size: 15px; color: var(--forest-deep); }
.weather-search-suggestion-meta { font-size: 12px; color: var(--muted); }
.weather-search-suggestion-empty { padding: 12px 16px; color: var(--muted); font-size: 13px; }

.weather-now { padding: 20px 0 60px; }
.weather-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.weather-card { position: relative; display: block; min-height: 250px; padding: 22px; color: inherit; text-decoration: none; background: var(--warm-white); border: 1px solid var(--line); transition: transform 180ms ease, box-shadow 180ms ease; }
.weather-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.weather-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.weather-place { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.05; }
.weather-region { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.weather-card-icon { width: 44px; height: 44px; flex: none; }
.weather-card-icon svg { width: 100%; height: 100%; }
.weather-temp { margin: 22px 0 0; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 46px; line-height: 0.85; letter-spacing: -0.03em; }
.weather-condition { margin: 12px 0 0; font-weight: 700; }
.weather-details { display: grid; gap: 5px; margin-top: 14px; color: var(--muted); font-size: 12px; }

.bases-section { padding: 20px 0 60px; }
.weather-base-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.base-card { display: block; min-width: 0; padding: 20px; color: inherit; text-decoration: none; background: white; border: 1px solid var(--line); transition: transform 180ms ease, box-shadow 180ms ease; }
.base-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.base-card-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.base-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.05; }
.base-card-region { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.base-card .text-link { margin-top: 15px; display: inline-block; }

.weather-notice { padding: 10px 0 60px; }
.notice-box { padding: 22px; background: var(--warm-white); border-left: 4px solid var(--moss); }
.notice-box strong { display: block; margin-bottom: 6px; font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.notice-box p { margin: 0; color: var(--muted); font-size: 13px; }
.notice-box a { color: var(--forest); }

/* Individual location page */
.utility-bar { padding: 22px 0 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 12px; }
.breadcrumbs span::before { content: "›"; margin-right: 6px; color: #a6ada8; }

.location-hero { padding: 30px 0 36px; }
.location-hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.location-hero-grid .weather-search-panel { max-width: 100%; }
.location-hero h1 { margin: 8px 0 0; max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 6vw, 56px); line-height: 0.95; letter-spacing: -0.03em; }
.location-deck { max-width: 640px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.location-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 22px 0 0; max-width: 640px; background: var(--warm-white); border: 1px solid var(--line); }
.meta-row { display: flex; flex-direction: column; gap: 4px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.meta-row:nth-last-child(-n+2) { border-bottom: 0; }
.meta-row:nth-child(odd) { border-right: 1px solid var(--line); }
.meta-row span:first-child { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.meta-row strong { font-size: 15px; font-family: Georgia, "Times New Roman", serif; }

.current-section { padding: 24px 0 60px; }
.current-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; }
.current-card, .outdoor-card { min-width: 0; padding: 26px; border: 1px solid var(--line); }
.current-card { color: white; background: var(--forest-deep); }
.current-top { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.current-card .eyebrow { color: var(--lime); }
.current-icon { width: 60px; height: 60px; flex: none; }
.current-icon svg { width: 100%; height: 100%; }
.current-temp { margin: 14px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(56px, 8vw, 84px); line-height: 0.8; letter-spacing: -0.03em; }
.current-condition { margin: 20px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 24px; }
.current-feels { margin: 6px 0 0; color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.current-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.stat { padding: 13px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.stat-label { display: block; color: rgba(255, 255, 255, 0.65); font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.stat-value { display: block; margin-top: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.outdoor-card { background: var(--warm-white); }
.outdoor-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 32px); line-height: 1; }
.outdoor-summary { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.outdoor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.outdoor-item { padding: 14px; background: white; border: 1px solid var(--line); }
.outdoor-item span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.outdoor-item strong { display: block; margin-top: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.status-pill { display: inline-flex; margin-top: 20px; padding: 7px 11px; background: #eaf1df; color: var(--forest-deep); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }

.hourly-section { padding: 56px 0; background: var(--warm-white); }
.hourly-scroll { position: relative; overflow-x: auto; padding-bottom: 8px; }
.hourly-scroll::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 8px;
  width: 32px;
  background: linear-gradient(to right, rgba(250, 248, 244, 0), var(--warm-white));
  pointer-events: none;
}
.hourly-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(110px, 1fr); gap: 8px; min-width: 900px; padding-right: 24px; }
.hour-card { min-height: 170px; padding: 16px 12px; background: white; border: 1px solid var(--line); text-align: center; }
.hour-time { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.hour-icon { width: 38px; height: 38px; margin: 12px auto 6px; }
.hour-icon svg { width: 100%; height: 100%; }
.hour-temp { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1; }
.hour-rain, .hour-wind { margin: 8px 0 0; color: var(--muted); font-size: 11px; }

.daily-section { padding: 60px 0; }
.daily-list { display: grid; gap: 8px; }
.day-item { border: 1px solid var(--line); background: white; }
.day-item summary { list-style: none; display: grid; grid-template-columns: 150px 1fr 110px 130px 24px; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; }
.day-item summary::-webkit-details-marker { display: none; }
.day-name strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.day-name span, .day-condition, .day-rain, .day-wind { color: var(--muted); font-size: 12px; }
.day-temp { font-family: Georgia, "Times New Roman", serif; font-size: 20px; white-space: nowrap; }
.day-arrow { font-size: 18px; transition: transform 180ms ease; }
.day-item[open] .day-arrow { transform: rotate(180deg); }
.day-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 20px 20px; }
.day-detail-box { padding: 12px; background: var(--warm-white); border: 1px solid var(--line); }
.day-detail-box span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.day-detail-box strong { display: block; margin-top: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; }

.nearby-section { padding: 56px 0; background: var(--warm-white); }
.data-section { padding: 10px 0 60px; }

@media (max-width: 1080px) {
  .weather-hero-grid, .location-hero-grid, .current-grid { grid-template-columns: 1fr; gap: 32px; }
  .weather-grid, .weather-base-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .weather-grid, .weather-base-grid, .current-stats, .outdoor-list { grid-template-columns: 1fr; }
  .hourly-track { min-width: 0; }
  .day-item summary { grid-template-columns: 1fr 90px 22px; }
  .day-condition, .day-rain, .day-wind { display: none; }
  .day-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- JernejLetica: tool-first homepage additions (not present in ReisLustig) --- */

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(280px, 0.95fr);
  gap: 18px;
}

/* Same technique as ReisLustig's .hero-story/.media-card: a real <img> (object-fit: cover),
   painted below an absolutely-positioned shade div, with the text content painted above both.
   No CSS background-image — a real <img> element can't silently fail to paint the way a
   background-image declaration can get shadowed by another rule. */
.feature-main {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 5px;
  color: #fff;
  /* Fallback color/gradient, visible only when the article has no img (see .feature-main-empty). */
  background:
    radial-gradient(circle at 18% 16%, rgba(231, 55, 162, .30), transparent 28%),
    radial-gradient(circle at 80% 35%, rgba(40, 178, 227, .22), transparent 26%),
    linear-gradient(140deg, var(--forest) 0%, var(--forest-deep) 55%, #120e1f 100%);
  display: flex;
  align-items: flex-end;
}

.feature-main picture,
.story-overlay picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-main img,
.story-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.feature-main .feature-shade {
  background: linear-gradient(140deg, rgba(67, 56, 172, .55) 0%, rgba(31, 25, 50, .55) 55%, rgba(18, 14, 31, .80) 100%);
}

.story-overlay .feature-shade {
  background: linear-gradient(180deg, rgba(31, 25, 50, .20) 0%, rgba(21, 15, 36, .82) 100%);
}

.feature-content { position: relative; z-index: 2; max-width: 640px; padding: 38px; }

.tool-tag {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.feature-main h1 {
  margin: 12px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.feature-main p {
  margin: 0 0 22px;
  max-width: 520px;
  color: #eef4f0;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
}

.primary-button {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 4px;
  color: var(--forest-deep);
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: #d7e1dd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.feature-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.story-overlay {
  position: relative;
  min-height: 220px;
  padding: 26px;
  overflow: hidden;
  border-radius: 5px;
  color: #fff;
  /* Fallback background, visible only when the article has no <img> (empty state). */
  background: linear-gradient(150deg, #4a3a8f, var(--forest-deep) 60%, #150f24);
  display: flex;
  align-items: flex-end;
}

.story-overlay .inner { position: relative; z-index: 2; }
.story-overlay .category { color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.story-overlay h2,
.story-overlay h3 { margin: 10px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.1; }
.story-overlay h2 a,
.story-overlay h3 a { color: inherit; text-decoration: none; }
.story-overlay .meta { color: #d7e1dd; font-size: 11px; font-weight: 700; }
.feature-main-empty, .story-overlay-empty { opacity: .92; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tool-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border-radius: 4px;
  color: #fff;
  background: var(--forest);
  text-decoration: none;
  display: flex;
  align-items: flex-end;
}

.tool-card:nth-child(2) { background: #4a3a8f; }
.tool-card:nth-child(3) { background: #2a2140; }
.tool-card:nth-child(4) { background: var(--forest-deep); }
.tool-card-planned { min-height: 160px; opacity: .55; background: var(--forest-deep) !important; }

.tool-card .inner { position: relative; z-index: 2; }
.tool-card .icon { margin-bottom: 26px; font-size: 26px; }
.tool-card .category { color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tool-card h3 { margin: 8px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.08; }
.tool-card p { margin: 0 0 14px; color: #e6eee9; font-family: Georgia, serif; font-size: 14px; line-height: 1.4; }
.tool-link { color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }

/* Feature/USP block — deliberately lighter than the footer below it (utility), so the two never
   read as one slab. Kept compact: ~48px vertical padding + content, targeting ~280-340px total. */
.privacy-section { padding: 48px 0; color: #fff; background: #35285c; }
.privacy-section .eyebrow { color: #ff77c7; }
.privacy-box { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.privacy-box h2 { max-width: 480px; margin: 10px 0 14px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; }
.privacy-box p { max-width: 420px; color: #d9cdf0; font-family: Georgia, serif; font-size: 16px; line-height: 1.5; }
.privacy-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 32px; }
.point { padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 16px; font-weight: 700; line-height: 1.3; }
.point b { margin-right: 6px; color: var(--lime); font-size: 14px; }
.point:nth-child(2n) b { color: #ff77c7; }

.embed-block { margin: 32px 0; }
.embed-youtube, .embed-map { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; }
.embed-youtube iframe, .embed-map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 1000px) {
  .featured-grid, .privacy-box { grid-template-columns: 1fr; }
  .feature-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .feature-side, .tool-grid { grid-template-columns: 1fr; }
  /* Phones: the card has no padding of its own, so the text uses the full card width.
     26px matches .story-overlay, keeping the hero and the second card on one inset. */
  .feature-main { min-height: 420px; }
  .feature-content { padding: 26px; }
}

.embed-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.embed-before-after figure { margin: 0; }
.embed-before-after img { width: 100%; height: auto; border-radius: 4px; }
.embed-before-after figcaption { margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 600px) { .embed-before-after { grid-template-columns: 1fr; } }

/* Shared tool-card grid. Kept in the main stylesheet so homepage rendering
   does not wait for a second render-blocking CSS request. */
.jl-tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;width:100%}
/* The tool palette, one class per name in ToolCatalog::ACCENTS. White text reaches at least 4.5:1 on each
   (tool-pages.php calculates it from these rules). */
.jl-accent-blue{--jl-accent:#1d6fd1}
.jl-accent-teal{--jl-accent:#0f7a6c}
.jl-accent-green{--jl-accent:#2f7d32}
.jl-accent-orange{--jl-accent:#c2410c}
.jl-accent-red{--jl-accent:#c0263d}
.jl-accent-pink{--jl-accent:#be185d}
.jl-accent-purple{--jl-accent:#6d3fc8}
.jl-accent-indigo{--jl-accent:#4338ca}
.jl-accent-cyan{--jl-accent:#0e7490}
.jl-accent-brown{--jl-accent:#a35200}
.jl-accent-slate{--jl-accent:#475569}
.jl-accent-plum{--jl-accent:#86198f}
.jl-accent-lime{--jl-accent:#4d7c0f}
.jl-accent-amber{--jl-accent:#92600a}
.jl-accent-magenta{--jl-accent:#c026a8}
.jl-accent-navy{--jl-accent:#1e3a8a}
.jl-accent-olive{--jl-accent:#5f6b12}
.jl-accent-coral{--jl-accent:#c8452b}
.jl-accent-sky{--jl-accent:#0b79b8}
.jl-accent-rose{--jl-accent:#d02c6a}
.jl-accent-fixture{--jl-accent:#374151}
/* background-image, not the background shorthand: where color-mix fails, the longhand leaves the plain
   background-color standing. The gradient only darkens, so white text never drops below the palette's
   contrast. */
.jl-tool-card{display:flex;align-items:center;gap:12px;padding:16px;color:#fff;text-decoration:none;border-radius:10px;background-color:var(--jl-accent);background-image:linear-gradient(135deg,var(--jl-accent),color-mix(in srgb,var(--jl-accent) 78%,#000));box-shadow:0 6px 16px rgba(25,17,45,.1);transition:transform 180ms ease,box-shadow 180ms ease}
.jl-tool-card:hover{color:#fff;transform:translateY(-3px);box-shadow:0 14px 28px rgba(25,17,45,.18)}
.jl-tool-card:focus-visible{outline:3px solid #171124;outline-offset:3px}
.jl-tool-card__icon{display:grid;flex:none;place-items:center;width:48px;height:48px;border-radius:10px;background:#fff}
.jl-tool-card__icon img{display:block;width:30px;height:30px}
.jl-tool-card__body{flex:1;min-width:0}
.jl-tool-card__title,.jl-tool-card__text{display:-webkit-box;overflow:hidden;color:#fff;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.jl-tool-card__title{margin:0 0 4px;font-family:inherit;font-size:19px;font-weight:800;line-height:1.2;letter-spacing:0}
.jl-tool-card__text{margin:0;font-size:15px;line-height:1.35}
.jl-tool-card__arrow{flex:none;font-size:20px;font-weight:800;line-height:1;transition:transform 180ms ease}
.jl-tool-card:hover .jl-tool-card__arrow{transform:translateX(3px)}
.jl-tool-category{margin-bottom:40px}
.jl-tool-category h2{margin-bottom:16px}
.jl-tool-category h2 a{color:inherit;text-decoration:none}
.jl-tool-uses{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}
.jl-tool-uses__label{flex-basis:100%;color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.jl-tool-uses a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 14px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--charcoal);font-size:14px;font-weight:700;line-height:1.3;text-decoration:none}
.jl-tool-uses a::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:var(--jl-accent)}
.jl-tool-uses a:hover{border-color:var(--jl-accent)}
.jl-tool-uses a:focus-visible{outline:3px solid #171124;outline-offset:2px}
@media(max-width:620px){.jl-tools-grid{grid-template-columns:1fr;gap:12px}.jl-tool-card{padding:14px}.jl-tool-card__icon{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.jl-tool-card,.jl-tool-card__arrow{transition:none}.jl-tool-card:hover{transform:none}.jl-tool-card:hover .jl-tool-card__arrow{transform:none}}

/* Article tables. Long-form posts started carrying real comparison tables, and without a rule of
   their own they inherited nothing: columns collapsed to their narrowest fit and every cell
   wrapped mid-phrase. The wrapper scrolls rather than letting a wide table push the page sideways
   on a phone. */
.article-body table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.article-body table thead th {
  padding: 12px 14px;
  border-bottom: 2px solid var(--lime);
  color: var(--blue-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  vertical-align: bottom;
}

.article-body table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

/* Zebra striping does more work here than borders do: these tables are read across a row, and the
   cells have very different lengths. */
.article-body table tbody tr:nth-child(odd) {
  background: var(--warm-white);
}

.article-body table tbody tr:last-child td {
  border-bottom: none;
}

/* The first column is the row's label — keeping it on one line stops "Sprout Social, 2026" from
   breaking across three lines while the wide columns sit half empty. */
.article-body table td:first-child {
  white-space: nowrap;
  font-weight: 700;
}

.article-body table a {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .article-body table {
    display: block;
    overflow-x: auto;
    font-size: 14px;
  }

  .article-body table td,
  .article-body table thead th {
    padding: 10px;
  }

  .article-body table td:first-child {
    white-space: normal;
  }
}

/* Instagram embeds. embed.js writes max-width:540px and a small min-width straight onto the
   element, so widening them needs !important — there is no other hook. Left alone, a post sits
   in a narrow column against the left edge of a much wider article body. */
.article-body .instagram-media,
.article-body iframe.instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 32px auto !important;
}

.article-body .embed-block:has(.instagram-media) {
  margin: 32px 0;
}

/* The updated date sits in the byline beside the publication date. Coloured so a reader scanning
   an old-looking article notices that it has in fact been revised recently. */
.article-byline .article-updated {
  color: var(--blue-ink);
}

/* Code and prompt templates. These exist to be copied, so they are set in a monospace face on a
   tinted panel, with wrapping preserved — reflowed into serif prose they are unusable. */
.article-body pre {
  margin: 28px 0;
  padding: 20px 22px;
  overflow-x: auto;
  border-left: 5px solid var(--blue-ink);
  border-radius: 0 8px 8px 0;
  background: #1f1932;
}

.article-body pre code {
  display: block;
  color: #e8e6f2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  /* pre-wrap, not pre: code keeps its line breaks and indentation, while a long single-line
     prompt wraps instead of forcing the reader to scroll sideways through one sentence. */
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

.article-body p > code,
.article-body li > code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--tint);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}

/* Touch screens: links get a 44 px tall hit area. Negative margins cancel the extra height so the layout does not move. */
@media (pointer: coarse) {
  .brand { min-height: 44px; margin: -5px 0; }
  .article-breadcrumbs a,
  .article-breadcrumbs > span { display: inline-flex; align-items: center; min-height: 44px; }
  .article-breadcrumbs,
  .tool-view .article-breadcrumbs { margin-top: -14px; margin-bottom: -14px; }
  .article-byline a,
  .tool-editorial li > a { display: inline-block; padding: 14px 0; margin: -14px 0; }
  .footer-brand { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-grid > div:not(:first-child) a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; }
  .footer-grid h2 { margin-bottom: 4px; }
}
