/* Live Weather + Sidebar Query Repair */
.sp-weather-card{
  background:linear-gradient(145deg,#f8fdff 0%,#e7f7ff 42%,#d9f0ff 100%)!important;
  color:#0f172a!important;
  border:1px solid rgba(14,165,233,.20)!important;
  box-shadow:0 18px 42px rgba(15,23,42,.08)!important;
}
.sp-weather-card:after{content:"";position:absolute;inset:auto -44px -70px auto;width:180px;height:180px;border-radius:50%;background:rgba(14,165,233,.12);pointer-events:none}
.sp-weather-card .sp-widget-title,
.sp-weather-card h3,
.sp-weather-card p,
.sp-weather-card span,
.sp-weather-card b,
.sp-weather-card small,
.sp-weather-card em{position:relative;z-index:2}
.sp-weather-card .sp-weather-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;position:relative;z-index:2}
.sp-weather-card .sp-weather-temp{
  display:inline-block!important;
  min-width:54px!important;
  color:#082f49!important;
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(3,105,161,.18)!important;
  border-radius:18px!important;
  padding:4px 10px!important;
  font-size:46px!important;
  font-weight:950!important;
  line-height:1!important;
  text-shadow:none!important;
  box-shadow:0 12px 28px rgba(8,47,73,.10)!important;
  text-align:center!important;
}
.sp-weather-card .sp-weather-top strong{color:#082f49!important;text-shadow:none!important;white-space:nowrap!important;display:flex!important;align-items:flex-start!important;gap:2px!important}
.sp-weather-card .sp-weather-top sup{color:#0369a1!important;font-weight:900!important;text-shadow:none!important;margin-top:8px!important}
.sp-weather-card .sp-weather-city-label{color:#082f49!important;font-size:28px!important;line-height:1.15!important;margin-top:8px!important;text-shadow:none!important}
.sp-weather-card .sp-weather-condition{color:#334155!important;font-weight:700!important;text-shadow:none!important}
.sp-weather-card .sp-weather-controls{position:relative;z-index:3;display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;margin:12px 0 16px!important}
.sp-weather-card .sp-weather-controls select,
.sp-weather-card .sp-weather-controls button{height:38px!important;border-radius:14px!important;font-weight:800!important;box-shadow:none!important}
.sp-weather-card .sp-weather-meta{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;position:relative;z-index:2}
.sp-weather-card .sp-weather-meta span{background:rgba(255,255,255,.78)!important;color:#0f172a!important;border:1px solid rgba(14,165,233,.16)!important;border-radius:14px!important;padding:8px 10px!important;display:flex!important;justify-content:space-between!important;align-items:center!important}
.sp-weather-card .sp-weather-meta b{color:#075985!important;font-weight:950!important}
.sp-weather-card .sp-weather-days{position:relative;z-index:2;display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:8px!important;border-top:1px solid rgba(14,165,233,.16)!important;margin-top:12px!important;padding-top:12px!important}
.sp-weather-card .sp-weather-days div{background:rgba(255,255,255,.80)!important;color:#0f172a!important;border:1px solid rgba(14,165,233,.12)!important;border-radius:16px!important;box-shadow:0 10px 22px rgba(15,23,42,.06)!important;padding:9px 6px!important;text-align:center!important}
.sp-weather-card .sp-weather-days em{color:#075985!important;font-weight:950!important;font-style:normal!important}
.sp-weather-card .sp-weather-days small{color:#475569!important;font-size:11px!important;line-height:1.35!important}
html[data-sp-theme="dark"] .sp-weather-card{background:linear-gradient(145deg,#0b1220 0%,#12304f 48%,#082f49 100%)!important;color:#e0f2fe!important;border-color:rgba(125,211,252,.16)!important}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-temp{background:rgba(15,23,42,.82)!important;color:#f8fafc!important;border-color:rgba(125,211,252,.22)!important;box-shadow:0 12px 28px rgba(0,0,0,.24)!important}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-top strong,html[data-sp-theme="dark"] .sp-weather-card .sp-weather-city-label{color:#f8fafc!important}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-top sup,html[data-sp-theme="dark"] .sp-weather-card .sp-weather-meta b,html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days em{color:#7dd3fc!important}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-condition{color:#dbeafe!important}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-meta span,html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days div{background:rgba(15,23,42,.72)!important;color:#e5e7eb!important;border-color:rgba(125,211,252,.14)!important}
.sp-weather-card.sp-weather-ready .sp-weather-temp{animation:spWeatherTempIn .36s ease both}@keyframes spWeatherTempIn{from{transform:translateY(6px);opacity:.35}to{transform:translateY(0);opacity:1}}
.sp-weather-card .sp-weather-icon i,.sp-weather-card .sp-day-icon i{display:inline-block;width:34px;height:34px;border-radius:50%;background:#fbbf24;box-shadow:0 0 0 8px rgba(251,191,36,.18);vertical-align:middle;animation:spWeatherSunSpin 8s linear infinite}
.sp-weather-card .sp-weather-cloud i,.sp-weather-card .sp-day-icon.sp-weather-cloud i{background:#cbd5e1;border-radius:22px;box-shadow:16px 2px 0 -3px #e2e8f0,-12px 7px 0 -6px #94a3b8;animation:spWeatherFloat 3.5s ease-in-out infinite}
.sp-weather-card .sp-weather-rain i,.sp-weather-card .sp-day-icon.sp-weather-rain i{background:#94a3b8;border-radius:22px;box-shadow:16px 2px 0 -3px #cbd5e1,-12px 7px 0 -6px #64748b;animation:spWeatherFloat 3.2s ease-in-out infinite}
.sp-weather-card .sp-weather-rain i:after,.sp-weather-card .sp-day-icon.sp-weather-rain i:after{content:"";position:absolute;width:4px;height:10px;background:#0ea5e9;border-radius:4px;transform:translate(4px,32px);box-shadow:10px 0 0 #0ea5e9,20px 0 0 #0ea5e9;animation:spRain .8s linear infinite}
.sp-weather-card .sp-weather-storm i,.sp-weather-card .sp-day-icon.sp-weather-storm i{background:#64748b;border-radius:22px;box-shadow:16px 2px 0 -3px #94a3b8,-12px 7px 0 -6px #475569;animation:spWeatherPulse 1.8s ease-in-out infinite}
@keyframes spWeatherSunSpin{to{transform:rotate(360deg)}}@keyframes spWeatherFloat{50%{transform:translateY(-5px)}}@keyframes spWeatherPulse{50%{transform:scale(1.08)}}@keyframes spRain{to{transform:translate(4px,38px);opacity:.25}}
.sp-weather-popular .sp-aw-item{display:grid!important;grid-template-columns:28px 72px 1fr!important;gap:10px!important;align-items:center!important;padding:10px 0!important;border-bottom:1px solid var(--sp-border,#e5e7eb)!important}.sp-weather-popular .sp-aw-item:last-child{border-bottom:0!important}.sp-weather-popular .sp-aw-rank{width:26px;height:26px;display:grid;place-items:center;border-radius:10px;background:var(--sp-primary,#0675d8);color:#fff;font-weight:900}.sp-weather-popular .sp-aw-thumb{width:72px;height:54px;border-radius:12px;overflow:hidden;background:#eef2f7}.sp-weather-popular .sp-aw-thumb img{width:100%;height:100%;object-fit:cover}.sp-social-grid .sp-social{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:14px!important}.sp-social-ico svg{width:18px!important;height:18px!important;display:block!important;fill:currentColor!important}

/* contrast + professional SVG social polish */
.sp-weather-card .sp-weather-top strong{direction:ltr!important;unicode-bidi:isolate!important}

.sp-weather-card .sp-weather-temp,
.sp-weather-card .sp-weather-top sup{
  -webkit-text-stroke:0 transparent!important;
  filter:none!important;
}
.sp-social-ico,
.sp-share-icon{
  font-size:0!important;
  line-height:0!important;
}
.sp-social-ico svg,
.sp-share-icon svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  fill:currentColor!important;
}
.sp-share-btn .sp-share-icon{
  width:22px!important;
  height:22px!important;
  display:inline-grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.18)!important;
  margin-inline-end:6px!important;
}


/* NewsiumDigital Final Compact Forecast — requested final polish */
.sp-weather-card .sp-weather-controls{
  display:block!important;
  margin:10px 0 12px!important;
}
.sp-weather-card .sp-weather-controls select{
  width:100%!important;
  height:38px!important;
  border-radius:14px!important;
  padding:0 12px!important;
  direction:rtl!important;
  text-align:right!important;
}
.sp-weather-card .sp-weather-controls button,
.sp-weather-card .sp-weather-location,
.sp-weather-card .sp-weather-meta{
  display:none!important;
}
.sp-weather-card .sp-weather-days{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  border-top:1px solid rgba(14,165,233,.16)!important;
  margin-top:10px!important;
  padding-top:10px!important;
}
.sp-weather-card .sp-weather-days .sp-weather-day-tab,
.sp-weather-card .sp-weather-days div{
  width:100%!important;
  min-height:42px!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(54px,.85fr) 34px minmax(62px,.8fr) minmax(86px,1.3fr)!important;
  align-items:center!important;
  gap:6px!important;
  padding:7px 9px!important;
  border:1px solid rgba(14,165,233,.14)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.80)!important;
  color:#0f172a!important;
  box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
  text-align:right!important;
  font-family:inherit!important;
  cursor:default!important;
}
.sp-weather-card .sp-weather-days .sp-day-label,
.sp-weather-card .sp-weather-days span:first-child{
  font-size:13px!important;
  font-weight:900!important;
  color:#0f172a!important;
  white-space:nowrap!important;
}
.sp-weather-card .sp-weather-days .sp-day-icon,
.sp-weather-card .sp-weather-days b{
  width:30px!important;
  height:30px!important;
  display:inline-grid!important;
  place-items:center!important;
  margin:0!important;
  justify-self:center!important;
}
.sp-weather-card .sp-weather-days .sp-day-icon i,
.sp-weather-card .sp-weather-days b i{
  width:22px!important;
  height:22px!important;
}
.sp-weather-card .sp-weather-days .sp-day-temps{
  direction:ltr!important;
  unicode-bidi:isolate!important;
  display:flex!important;
  justify-content:center!important;
  align-items:baseline!important;
  gap:5px!important;
  white-space:nowrap!important;
  font-family:Arial,sans-serif!important;
}
.sp-weather-card .sp-weather-days .sp-day-temps strong{
  font-size:15px!important;
  font-weight:950!important;
  color:#075985!important;
}
.sp-weather-card .sp-weather-days .sp-day-temps em,
.sp-weather-card .sp-weather-days em{
  font-size:12px!important;
  font-style:normal!important;
  font-weight:800!important;
  color:#64748b!important;
}
.sp-weather-card .sp-weather-days small{
  font-size:11px!important;
  color:#475569!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-align:left!important;
}
.sp-weather-card .sp-weather-temp:empty::before{content:""!important;}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days .sp-weather-day-tab,
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days div{
  background:rgba(15,23,42,.72)!important;
  color:#e5e7eb!important;
  border-color:rgba(125,211,252,.14)!important;
}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days .sp-day-label,
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days span:first-child{color:#e5e7eb!important;}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days .sp-day-temps strong{color:#7dd3fc!important;}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days .sp-day-temps em,
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days em{color:#cbd5e1!important;}
html[data-sp-theme="dark"] .sp-weather-card .sp-weather-days small{color:#cbd5e1!important;}
@media(max-width:520px){
  .sp-weather-card .sp-weather-days .sp-weather-day-tab,
  .sp-weather-card .sp-weather-days div{
    grid-template-columns:minmax(48px,.75fr) 28px minmax(58px,.75fr) minmax(72px,1fr)!important;
    gap:5px!important;
    padding:6px 7px!important;
  }
  .sp-weather-card .sp-weather-days small{font-size:10px!important;}
}

/* Newsium Digital global weather: consent, accessible controls and stable forecast space. */
.nd-weather-global .sp-weather-controls[hidden],.nd-weather-global .sp-weather-controls button[hidden]{display:none!important}
.nd-weather-global .sp-weather-controls:not([hidden]){display:flex!important;flex-wrap:wrap;align-items:center;gap:6px!important}
.nd-weather-global .sp-weather-controls button:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;min-height:44px!important;height:auto!important;padding:7px 12px!important;white-space:normal;line-height:1.5;color:#075985!important;background:#fff!important;border:1px solid #8ec7e7!important;cursor:pointer}
.nd-weather-global .sp-weather-controls button:disabled{opacity:.65;cursor:wait}
.nd-weather-global .sp-weather-controls button:focus-visible{outline:2px solid #0675d8;outline-offset:2px}
.nd-weather-global .nd-weather-privacy,.nd-weather-global .nd-weather-status,.nd-weather-global .nd-weather-credit{font-size:12px;line-height:1.5;flex-basis:100%;margin:2px 0;color:inherit;text-align:start}
.nd-weather-global .nd-weather-status:empty{display:none}
.nd-weather-global .nd-weather-credit a{color:inherit;text-decoration:underline}
.nd-weather-global .sp-weather-days{min-height:345px}
.nd-weather-global .sp-weather-days .sp-weather-day-tab{text-align:start!important;grid-template-columns:minmax(40px,.8fr) 28px minmax(54px,.8fr) minmax(54px,1.15fr)!important}
.nd-weather-global .sp-weather-days small{text-align:end!important}
html[data-sp-theme="dark"] .nd-weather-global .sp-weather-controls button:not([hidden]){background:#172c43!important;color:#e0f2fe!important;border-color:#5485a4!important}
@media(prefers-reduced-motion:reduce){.nd-weather-global *, .nd-weather-global *::before,.nd-weather-global *::after{animation:none!important;transition:none!important}}

.nd-weather-global.sp-weather-failed .sp-weather-days{min-height:0;display:none!important}

.nd-weather-global .sp-weather-days{min-height:368px}
.nd-weather-global .sp-weather-days .sp-weather-day-tab{min-height:46px!important}
.nd-weather-global .sp-weather-days .sp-day-label,.nd-weather-global .sp-weather-days small{white-space:normal!important;overflow-wrap:anywhere;line-height:1.35!important}
.nd-weather-global .sp-weather-days small{overflow:visible!important;text-overflow:clip!important}
