.home-content > .weather-panel { color:var(--ink); }
.weather-heading {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between;
  gap:8px 20px; margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid var(--line);
}
.weather-heading h2 { margin:0; font:550 clamp(2.65rem,4.8vw,7.8rem)/1 var(--serif); letter-spacing:-.055em; }
.weather-heading h2 em { color:#746448; font-weight:500; }
.weather-state, .weather-source { margin:0; font:550 .84rem/1.5 var(--ui-type); color:#535e56; }
.weather-now {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px 48px;
  padding:clamp(24px,3.6vw,56px); color:#fffcf2; background:#1c383b url("engraved-curves.svg") right center / auto 220% no-repeat;
}
.weather-now--night { background-color:#172e35; }
.weather-now__main { display:flex; align-items:center; gap:clamp(16px,2.2vw,32px); }
.weather-symbol {
  display:grid; place-items:center; width:clamp(62px,6.6vw,105px); aspect-ratio:1;
  border:1px solid #cdb574; border-radius:50%; color:#ebcf88;
}
.weather-symbol svg { width:54%; height:54%; }
.weather-now__temperature { margin:0; font:500 clamp(4.2rem,7vw,8rem)/.85 var(--serif); letter-spacing:-.055em; }
.weather-now__condition { margin:8px 0 0; font:550 clamp(1rem,1.3vw,1.35rem)/1.3 var(--ui-type); }
.weather-now__facts, .weather-sun dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(12px,2.7vw,40px); margin:0; }
.weather-now__facts div { display:flex; flex-direction:column; justify-content:space-between; border-left:1px solid #a8b3a45c; padding-left:clamp(10px,1.5vw,22px); }
.weather-now dt, .weather-sun dt { margin:0 0 5px; font:500 .81rem/1.3 var(--ui-type); }
.weather-now dt { color:#d5ded7; }
.weather-now dd, .weather-sun dd { margin:0; font:650 clamp(1rem,1.5vw,1.5rem)/1.2 var(--ui-type); font-variant-numeric:tabular-nums; }
.weather-days {
  display:grid; grid-auto-columns:minmax(0,1fr); grid-auto-flow:column; margin:0; padding:0;
  border:1px solid #cfc5af; list-style:none; background:#faf7ed;
}
.weather-days li { min-width:0; padding:clamp(14px,1.7vw,28px); }
.weather-days li + li { border-left:1px solid #d8cfbd; }
.weather-days time { display:block; color:#354e48; font:650 .92rem/1.35 var(--ui-type); }
.weather-days__condition { display:flex; align-items:center; gap:8px; min-height:2.8em; margin:8px 0; color:#42564e; font:.87rem/1.35 var(--ui-type); }
.weather-days__condition span { flex:none; width:23px; color:#8b692f; }
.weather-days__condition svg { display:block; width:100%; }
.weather-days__range { display:flex; gap:9px; align-items:baseline; font:600 1rem/1.3 var(--ui-type); }
.weather-days__range b { color:#1c3f37; }.weather-days__range > span { color:#64736c; }
.weather-days__rain { display:block; margin-top:4px; color:#5b685e; font:.8rem/1.4 var(--ui-type); }
.weather-sun { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; padding:20px clamp(16px,2.6vw,40px); background:#ece8dc; }
.weather-sun > p { margin:0; font:600 clamp(1.5rem,2vw,2rem)/1.1 var(--serif); }
.weather-sun dl { column-gap:clamp(16px,3vw,54px); }
.weather-sun dt { color:#55655b; }.weather-sun dd { font-size:1rem; }
.weather-source { padding-top:9px; text-align:right; font-size:.76rem; }.weather-source a, .weather-unavailable a { color:inherit; text-underline-offset:3px; }
.weather-unavailable { padding:20px; border:1px solid var(--line); }.weather-unavailable p { margin:0 0 8px; }
@media (max-width:800px) {
  .weather-now__facts { flex:1 1 100%; }
  .weather-days { display:block; }
  .weather-days li {
    display:grid; grid-template-columns:minmax(70px,.7fr) minmax(0,1.6fr) auto; align-items:center;
    gap:2px 12px; padding:12px 16px;
  }
  .weather-days li + li { border-left:0; border-top:1px solid #d8cfbd; }
  .weather-days time, .weather-days__condition { grid-row:span 2; }
  .weather-days__condition { min-height:0; margin:0; }
  .weather-days__range, .weather-days__rain { grid-column:3; justify-self:end; }
  .weather-days__rain { margin:0; }
}
@media (max-width:460px) {
  .weather-heading { margin-bottom:12px; padding-bottom:12px; }
  .weather-heading h2 { font-size:clamp(2.3rem,10.5vw,3rem); }
  .weather-now { padding:22px 16px; row-gap:20px; }.weather-now__facts { gap:7px; }
  .weather-days li { padding:12px 10px; grid-template-columns:60px minmax(0,1fr) auto; column-gap:8px; }
  .weather-days__condition { font-size:.8rem; gap:4px; }.weather-days__condition span { width:18px; }
  .weather-days time { font-size:.82rem; }.weather-days__rain { font-size:.72rem; }
  .weather-sun dl { width:100%; gap:8px; }.weather-sun dd { font-size:.89rem; }
}
