.wind-chill-calculator-page {
  --tool-author-footer-max: 1120px;
}

.wind-shell {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin: 24px auto 60px;
  padding: 0;
  color: #101828;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.wind-shell .calc-page-head {
  margin-bottom: 20px;
}

.wind-shell .calc-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #667085;
  font-size: 12px;
}

.wind-shell .calc-breadcrumbs a {
  color: #667085;
  text-decoration: none;
}

.wind-shell .calc-breadcrumbs a:hover,
.wind-shell .calc-breadcrumbs a:focus-visible {
  color: #2364d2;
  text-decoration: underline;
}

.wind-shell .calc-card {
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(20, 24, 30, 0.08);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.7);
}

.wind-hero {
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, #f2fbf7 100%);
}

.wind-kicker {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wind-hero h1 {
  margin: 0 0 12px;
  color: #101828;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.wind-shell .calc-page-intro {
  margin: 0;
  max-width: 820px;
  color: #475467;
  font-size: 15px;
  line-height: 1.6;
}

.wind-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 16px;
  align-items: start;
}

.wind-panel,
.wind-result-card,
.wind-visual-card {
  display: grid;
  gap: 16px;
}

.wind-visual-card {
  grid-column: 1 / -1;
}

.wind-panel-head {
  display: grid;
  gap: 4px;
}

.wind-panel h2,
.wind-result-card h2,
.wind-visual-card h2,
.wind-reference h2 {
  margin: 0;
  color: #101828;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.wind-panel-head p,
.wind-result-card p,
.wind-reference p {
  margin: 0;
}

.wind-panel-head p {
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.wind-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 14px;
  align-items: end;
}

.wind-field {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.wind-field input,
.wind-field select {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  color: #101828;
  font: inherit;
  font-size: 15px;
  padding: 0 12px;
}

.wind-field input:focus,
.wind-field select:focus {
  border-color: #0f766e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.wind-validation {
  margin: 0;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

.wind-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wind-preset-row button {
  min-height: 38px;
  border: 1px solid #b8d9d5;
  border-radius: 999px;
  background: #ffffff;
  color: #115e59;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 14px;
  cursor: pointer;
}

.wind-preset-row button:hover,
.wind-preset-row button:focus-visible {
  border-color: #0f766e;
  background: #effcf8;
  outline: none;
}

.wind-result-label {
  margin: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wind-result-card .wind-answer {
  color: #101828;
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 850;
  line-height: 1;
  overflow-wrap: anywhere;
}

.wind-result-card p {
  color: #475467;
  font-size: 15px;
  line-height: 1.6;
}

.wind-result-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wind-result-stats article {
  display: grid;
  gap: 4px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #f9fafb;
  padding: 12px;
}

.wind-result-stats span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.wind-result-stats strong {
  color: #101828;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.wind-band {
  position: relative;
  display: grid;
  grid-template-columns: 35fr 32fr 28fr 25fr;
  min-height: 42px;
  overflow: visible;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
}

.wind-band span:first-child {
  border-radius: 8px 0 0 8px;
}

.wind-band span:nth-child(4) {
  border-radius: 0 8px 8px 0;
}

.wind-band-safe {
  background: #d9f99d;
}

.wind-band-caution {
  background: #bae6fd;
}

.wind-band-danger {
  background: #a5b4fc;
}

.wind-band-extreme {
  background: #c084fc;
}

.wind-band i {
  position: absolute;
  top: -8px;
  width: 4px;
  height: 58px;
  border-radius: 999px;
  background: #101828;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.82);
}

.wind-band-labels {
  display: flex;
  justify-content: space-between;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.wind-reference {
  margin-top: 16px;
}

.wind-reference h2 {
  margin-bottom: 8px;
}

.wind-reference p {
  color: #344054;
  font-size: 15px;
  line-height: 1.65;
}

.wind-reference p + p {
  margin-top: 12px;
}

.wind-reference a {
  color: #101828;
  font-weight: 600;
  text-decoration: none;
}

.wind-reference a:hover,
.wind-reference a:focus-visible {
  color: #2364d2;
}

.wind-reference .calc-faq {
  display: grid;
  gap: 10px;
}

.wind-reference .calc-faq-item {
  overflow: hidden;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
}

.wind-reference .calc-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  color: #101828;
  font-size: 17px;
  font-weight: 700;
}

.wind-reference .calc-faq-item summary::-webkit-details-marker {
  display: none;
}

.wind-reference .calc-faq-item > p {
  margin: 0;
  padding: 0 14px 14px;
}

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

  .wind-visual-card {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .wind-shell {
    width: calc(100% - 20px);
    margin-top: 20px;
    margin-bottom: 42px;
  }

  .wind-shell .calc-card {
    padding: 16px;
  }

  .wind-field-grid,
  .wind-result-stats {
    grid-template-columns: 1fr;
  }
}
