/* Scoped to this integration; existing Belchertown light/dark controls remain active. */
body.runslinux-weather-enabled {background:#172430 !important;}
#runslinux-weather-background {position:fixed;inset:0;z-index:-1;pointer-events:none;background-size:cover;background-repeat:no-repeat;background-position:center center;}
body.runslinux-weather-enabled {isolation:isolate;}
body.runslinux-weather-enabled .site-container {background:transparent !important;}
body.runslinux-weather-enabled .site-header,
body.runslinux-weather-enabled .site-footer {background:rgba(255,255,255,.95);}
body.runslinux-weather-enabled .site-inner {background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.35);border-radius:16px;padding:24px;box-shadow:0 10px 35px rgba(0,0,0,.18);margin-top:24px;margin-bottom:24px;}
body.runslinux-weather-enabled.dark .site-header,
body.runslinux-weather-enabled.dark .site-footer {background:rgba(25,30,35,.96);}
body.runslinux-weather-enabled.dark .site-inner {background:rgba(25,30,35,.94);border-color:rgba(255,255,255,.12);}
body.runslinux-weather-enabled runslinux-public-nav {display:block;position:sticky;top:0;z-index:100000;}
body.runslinux-weather-enabled .site-header {position:relative;top:auto;}
body.runslinux-weather-enabled {scroll-padding-top:var(--runslinux-public-nav-height,68px);}
body.runslinux-weather-enabled [id] {scroll-margin-top:calc(var(--runslinux-public-nav-height,68px) + 16px);}
@media(min-width:1600px) {
  body.runslinux-weather-enabled .site-inner,
  body.runslinux-weather-enabled .site-header > .wrap,
  body.runslinux-weather-enabled .site-footer > .wrap {width:calc(100% - 440px);max-width:1180px;margin-left:max(32px,calc((100vw - 1720px)/2));margin-right:auto;}
}
@media(max-width:767px) {
  #runslinux-weather-background {background-position:78% center;}
  body.runslinux-weather-enabled .site-inner {margin:14px 8px;padding:14px 8px;border-radius:10px;}
}
@media print {
  #runslinux-weather-background, runslinux-public-nav {display:none !important;}
  body.runslinux-weather-enabled .site-inner {background:#fff !important;box-shadow:none;border:0;}
}
/* Compact icon row replaces the old site-logo header. */
body.runslinux-weather-enabled .site-header .title-area {display:none !important;}
body.runslinux-weather-enabled .site-header > .wrap {display:flex;justify-content:flex-end;align-items:center;min-height:54px;padding-top:4px;padding-bottom:4px;}
body.runslinux-weather-enabled .site-header .widget-area {float:none;width:auto;margin:0;padding:0;}
body.runslinux-weather-enabled .site-header #menu-menu {display:flex !important;align-items:center;justify-content:flex-end;gap:4px;margin:0;padding:0;}
body.runslinux-weather-enabled .site-header #menu-menu > li {display:block;float:none;margin:0;padding:0;}
body.runslinux-weather-enabled .runslinux-weather-nav-icon,
body.runslinux-weather-enabled .runslinux-weather-theme-button {display:inline-flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:42px;padding:10px !important;border:0;border-radius:9px;background:transparent;color:inherit;line-height:1;cursor:pointer;}
body.runslinux-weather-enabled .runslinux-weather-nav-icon svg,
body.runslinux-weather-enabled .runslinux-weather-theme-button svg {width:22px;height:22px;display:block;}
body.runslinux-weather-enabled .runslinux-weather-nav-icon:hover,
body.runslinux-weather-enabled .runslinux-weather-theme-button:hover {background:rgba(127,127,127,.16);}
body.runslinux-weather-enabled .runslinux-weather-nav-icon.runslinux-current {color:#268343;background:rgba(63,185,80,.12);}
body.runslinux-weather-enabled.dark .runslinux-weather-nav-icon.runslinux-current {color:#74d890;}
body.runslinux-weather-enabled .runslinux-weather-theme-button[aria-pressed="true"] {color:#b27400;background:rgba(238,182,58,.16);}
body.runslinux-weather-enabled.dark .runslinux-weather-theme-button[aria-pressed="true"] {color:#b6c8ff;background:rgba(131,161,238,.16);}
body.runslinux-weather-enabled .site-header #menu-menu > .runslinux-theme-buttons {display:flex;gap:2px;border-left:1px solid rgba(127,127,127,.3);padding-left:8px;margin-left:6px;}
body.runslinux-weather-enabled .runslinux-weather-nav-icon:focus-visible,
body.runslinux-weather-enabled .runslinux-weather-theme-button:focus-visible {outline:2px solid #3fb950;outline-offset:2px;}
body.runslinux-weather-enabled .site-header .responsive-menu-icon {display:none !important;}
@media(max-width:400px) {
  body.runslinux-weather-enabled .site-header > .wrap {justify-content:center;width:100%;padding-left:4px;padding-right:4px;}
  body.runslinux-weather-enabled .site-header #menu-menu {gap:0;}
  body.runslinux-weather-enabled .runslinux-weather-nav-icon,
  body.runslinux-weather-enabled .runslinux-weather-theme-button {width:40px;min-width:40px;height:44px;padding:9px !important;}
  body.runslinux-weather-enabled .site-header #menu-menu > .runslinux-theme-buttons {padding-left:2px;margin-left:2px;}
}
/* About: text wraps around the existing Jenks and Tempest photographs. */
.runslinux-about {max-width:100%;font-size:16px;line-height:1.75;}
.runslinux-about-section {display:flow-root;margin:0 0 32px;}
.runslinux-about-section h2 {margin:8px 0 20px;font-size:27px;line-height:1.25;}
.runslinux-about-photo {float:right;width:42%;max-width:420px;margin:4px 0 18px 26px;}
.runslinux-about-photo img {display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 6px 20px rgba(0,0,0,.18);}
.runslinux-about-photo.equipment {float:left;width:29%;max-width:260px;margin:4px 26px 16px 0;}
.runslinux-about-photo.equipment img {max-height:360px;object-fit:contain;background:rgba(255,255,255,.9);padding:12px;}
.runslinux-about-photo figcaption {font-size:13px;line-height:1.5;opacity:.78;margin-top:9px;}
.runslinux-about-table {overflow-x:auto;margin:20px 0;}
.runslinux-about table {width:100%;border-collapse:collapse;}
.runslinux-about th,.runslinux-about td {padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(127,127,127,.3);}
.runslinux-about thead {background:rgba(127,127,127,.12);}
.runslinux-annual-charts {clear:both;padding-top:18px;}
.runslinux-annual-controls {display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 14px;}
.runslinux-annual-controls select {padding:8px 12px;border-radius:7px;background:#fff;color:#222;border:1px solid #888;}
body.dark .runslinux-annual-controls select {background:#20272d;color:#eee;}
.runslinux-annual-note {font-size:14px;opacity:.8;}
.runslinux-annual-chart {height:460px;width:100%;margin-bottom:20px;}
@media(max-width:600px){.runslinux-about-photo.city,.runslinux-about-photo.equipment{float:none;width:100%;max-width:100%;margin:12px 0 20px}.runslinux-about-photo.equipment{max-width:260px;margin-left:auto;margin-right:auto}.runslinux-about-section h2{font-size:23px}.runslinux-annual-chart{height:380px}}

/* Forecast cards remain on one row; narrow views scroll inside the forecast. */
body.runslinux-weather-enabled .forecastrow [class~="1hr_forecasts"],
body.runslinux-weather-enabled .forecastrow [class~="3hr_forecasts"],
body.runslinux-weather-enabled .forecastrow [class~="24hr_forecasts"] {
 display:flex !important;flex-wrap:nowrap !important;align-items:stretch;justify-content:flex-start;
 width:100%;max-width:100%;margin-left:0;margin-right:0;overflow-x:auto;overflow-y:hidden;
 -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding-bottom:10px;
}
body.runslinux-weather-enabled .forecastrow [class~="1hr_forecasts"]::before,
body.runslinux-weather-enabled .forecastrow [class~="1hr_forecasts"]::after,
body.runslinux-weather-enabled .forecastrow [class~="3hr_forecasts"]::before,
body.runslinux-weather-enabled .forecastrow [class~="3hr_forecasts"]::after,
body.runslinux-weather-enabled .forecastrow [class~="24hr_forecasts"]::before,
body.runslinux-weather-enabled .forecastrow [class~="24hr_forecasts"]::after {content:none !important;}
body.runslinux-weather-enabled .forecastrow .forecast-day {
 float:none !important;flex:1 0 124px;width:auto !important;min-width:124px;max-width:none;
 margin:0 !important;padding:8px 7px;box-sizing:border-box;
}
body.runslinux-weather-enabled .forecastrow .forecast-day .forecast-conditions img {width:96px !important;max-width:100%;height:auto;}
/* A compact left-aligned weather toolbar, separate from the full-width public header. */
body.runslinux-weather-enabled .site-header {
 width:fit-content !important;max-width:calc(100% - 32px);margin:12px auto 0 32px;
 background:transparent !important;border:0 !important;box-shadow:none !important;
}
body.runslinux-weather-enabled .site-header > .wrap {
 width:auto !important;max-width:100% !important;margin:0 !important;padding:4px 8px !important;
 background:rgba(255,255,255,.95);border:1px solid rgba(127,127,127,.25);border-radius:12px;
 box-shadow:0 6px 20px rgba(0,0,0,.12);
}
body.runslinux-weather-enabled.dark .site-header > .wrap {background:rgba(25,30,35,.96);}
@media(min-width:1600px){body.runslinux-weather-enabled .site-header {margin-left:max(32px,calc((100vw - 1720px)/2));}}
@media(max-width:767px){body.runslinux-weather-enabled .site-header {max-width:calc(100% - 16px);margin:10px auto 0 8px;}}
