/* Outdoor work weather page (/weer-buitenwerk/, /en/outdoor-work-weather/). Builds on site.css tokens. */
.wx-page [hidden] { display: none !important; }
.wx-page .wrap { padding-inline: clamp(16px, 3vw, 48px); }

.wx-intro { padding-top: 40px; padding-bottom: 28px; }
.wx-intro h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 12px; overflow-wrap: anywhere; }
.wx-intro .lead { max-width: 42em; font-size: clamp(17px, 1.6vw, 20px); }

.wx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 64px; }
.wx-controls { display: grid; gap: 14px; min-width: 0; }
.wx-example { font-size: 14px; color: var(--muted); }
.wx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.wx-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px 24px; display: grid; gap: 14px; }
.wx-card-heading { font-size: 21px; color: var(--navy); }
.wx-card-heading + .wx-field, .wx-hint + .wx-card-heading { margin-top: 4px; }
.wx-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; min-width: 0; }
.wx-field label { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.wx-row { display: flex; gap: 10px; align-items: center; }
.wx-row .wx-input { flex: 1 1 0; min-width: 0; }
.wx-input { display: flex; align-items: center; min-height: 48px; background: var(--white); border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .15s; }
.wx-input:hover { border-color: #B3B8C3; }
.wx-input:focus-within { border-color: var(--navy); outline: 3px solid var(--ring); outline-offset: 1px; }
.wx-input input { flex: 1 1 0; width: 0; min-width: 0; height: 45px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font: 400 16px Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.wx-input input:focus-visible { outline: none; }
.wx-affix { flex: none; padding-right: 14px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.wx-input:has(input[aria-invalid="true"]) { border-color: #b4441f; }
.wx-select { width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--ink); font: 400 16px Inter, system-ui, sans-serif; }
.wx-select:focus-visible { outline: 3px solid var(--ring); outline-offset: 1px; border-color: var(--navy); }
.wx-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wx-limits { display: grid; gap: 16px; }
.wx-hint { font-size: 13px; line-height: 1.45; color: var(--muted); }
.wx-error { font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--error); }
.wx-error:empty, .wx-message:empty { display: none; }
.wx-message { font-size: 14px; line-height: 1.45; color: var(--navy); }
.wx-small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.wx-small a, .wx-attribution a, .wx-knmi a { color: var(--navy); font-weight: 600; }

.wx-keep { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding: 4px 4px 0; }
.wx-remember { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.wx-remember input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.wx-keep .wx-hint { flex-basis: 100%; order: 3; padding-left: 30px; }
.wx-reset { margin-left: auto; cursor: pointer; font-family: inherit; }

.wx-results { min-width: 0; display: grid; gap: 12px; }
.wx-results h2 { font-size: clamp(26px, 3.4vw, 34px); }
.wx-attribution { font-size: 15px; color: var(--ink); }
.wx-note { padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink); }
.wx-status { padding: 14px 16px; border-radius: 14px; background: var(--brand-navy); color: #fff; font-size: 16px; }
.wx-stale { color: var(--error); font-weight: 600; }
.wx-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.wx-legend li { display: flex; align-items: center; gap: 6px; }
.wx-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; }
.wx-day { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 18px; display: grid; gap: 10px; align-content: start; }
.wx-day-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.wx-day-title { font-size: 19px; color: var(--navy); }
.wx-fits { padding: 3px 10px; border-radius: 999px; background: var(--orange); color: var(--brand-navy); font-size: 13px; font-weight: 600; }
.wx-bar { display: flex; gap: 3px; }
.wx-cell { display: block; flex: 1 1 0; min-width: 0; height: 16px; border-radius: 4px; background: #DAD6CE; }
.wx-cell.is-dry { background: var(--navy); }
.wx-cell.is-wet { background: #e08a3c; }
.wx-cell.is-none { background: repeating-linear-gradient(45deg, #DAD6CE, #DAD6CE 3px, #EEEDE9 3px, #EEEDE9 6px); }
.wx-legend .wx-cell { flex: none; width: 16px; }
.wx-facts { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.wx-knmi { font-size: 15px; }

.wx-more { max-width: 820px; display: grid; gap: 56px; padding-bottom: 88px; }
.wx-section h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 14px; }
.wx-section > p { color: var(--muted); }
.wx-section > p + p { margin-top: 12px; }
.wx-faq details:last-child { margin-bottom: 0; }
.wx-cta { padding-top: 28px; border-top: 1px solid var(--line); text-align: center; font-size: 17px; color: var(--muted); }
.wx-cta a { color: var(--navy); font-weight: 600; }
.wx-checked { font-weight: 400; }

@media (max-width: 920px) {
  .wx-cards { grid-template-columns: minmax(0, 1fr); }
  .wx { padding-bottom: 48px; }
}
@media (max-width: 560px) {
  .wx-intro { padding-top: 28px; }
  .wx-card { padding: 18px 16px 20px; border-radius: 18px; }
  .wx-reset { margin-left: 0; }
  .wx-more { gap: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .wx-input { transition: none; }
}
/* the site's full-width phone buttons would squeeze the postcode field to nothing */
.wx-row .btn { width: auto; flex: none; }
.wx-status { --bb-cell-rest: #2A3A5E; }
.wx-status :focus-visible { outline-color: var(--orange); }
