
/* NMRON 49.10.12 • stabilized coherent Hero with deduplication */
html.nmw-active .live-home .live-hero.nmw-enhanced{
  align-items:stretch!important;
  gap:clamp(18px,2vw,30px)!important;
  min-height:0!important;
}
html.nmw-active .live-home .live-hero.nmw-enhanced::before{
  background:
    linear-gradient(92deg,rgba(7,26,47,.62) 0%,rgba(7,26,47,.42) 28%,rgba(7,26,47,.12) 52%,rgba(7,26,47,.06) 100%),
    url('/nmron-weather-wow-49107/mazury-panorama.webp') center/cover no-repeat!important;
}
html.nmw-active .live-home .nmw-left{
  max-width:780px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  min-height:100%!important;
  padding-right:8px!important;
}
html.nmw-active .live-home .nmw-region{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  width:max-content!important;
  margin:2px 0 14px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.78)!important;
  border:1px solid rgba(255,255,255,.88)!important;
  color:#134370!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}
html.nmw-active .live-home .nmw-left h1{
  margin:0 0 12px!important;
  font-size:clamp(42px,4.6vw,72px)!important;
  line-height:1.03!important;
  letter-spacing:-.055em!important;
  color:#0d2d56!important;
  text-shadow:0 2px 18px rgba(8,31,56,.09)!important;
}
html.nmw-active .live-home .nmw-left h1 span{color:#6bbfff!important}
html.nmw-active .live-home .nmw-left p{
  margin:0 0 18px!important;
  max-width:610px!important;
  font-size:clamp(15px,1.2vw,18px)!important;
  line-height:1.58!important;
  color:#28496b!important;
}
html.nmw-active .live-home .nmw-actions{
  display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin:0 0 18px!important;
}
html.nmw-active .live-home .nmw-action,
html.nmw-active .live-home .nmw-ghost{
  display:inline-flex!important;align-items:center!important;gap:10px!important;
  border-radius:18px!important;padding:15px 22px!important;text-decoration:none!important;font-weight:800!important;
}
html.nmw-active .live-home .nmw-action{background:linear-gradient(135deg,#2577ff,#2d9cff)!important;color:#fff!important;box-shadow:0 16px 40px rgba(33,98,223,.28)!important}
html.nmw-active .live-home .nmw-ghost{background:rgba(255,255,255,.72)!important;color:#12406f!important;border:1px solid rgba(255,255,255,.9)!important}
html.nmw-active .live-home .nmw-hero-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin-top:4px!important;
}
html.nmw-active .live-home .nmw-quick-card{
  position:relative!important;display:flex!important;flex-direction:column!important;gap:14px!important;
  min-height:122px!important;padding:18px 18px 16px!important;border-radius:24px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(246,251,255,.84))!important;
  border:1px solid rgba(255,255,255,.9)!important;text-decoration:none!important;
  box-shadow:0 18px 44px rgba(8,36,67,.12)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
  overflow:hidden!important;
}
html.nmw-active .live-home .nmw-quick-card::after{content:''!important;position:absolute!important;inset:auto 18px 0 18px!important;height:1px!important;background:linear-gradient(90deg,rgba(50,109,191,.18),rgba(50,109,191,0))!important}
html.nmw-active .live-home .nmw-quick-label{font-size:11px!important;letter-spacing:.14em!important;font-weight:900!important;color:#7c8ea7!important}
html.nmw-active .live-home .nmw-quick-head{display:flex!important;align-items:center!important;gap:12px!important;color:#132f57!important}
html.nmw-active .live-home .nmw-quick-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;border-radius:12px!important;background:#eef5ff!important;color:#1e78ff!important;flex-shrink:0!important}
html.nmw-active .live-home .nmw-quick-head strong{font-size:20px!important;line-height:1.2!important;flex:1 1 auto!important}
html.nmw-active .live-home .nmw-quick-arrow{margin-left:auto!important;color:#8aa3c3!important;font-size:18px!important;font-weight:700!important}
html.nmw-active .live-home .nmw-quick-card small{font-size:14px!important;line-height:1.45!important;color:#5a7494!important}
html.nmw-active .live-home .nmw-weather{
  gap:12px!important;padding:clamp(18px,1.6vw,24px)!important;min-height:0!important;border-radius:30px!important;
  background:linear-gradient(140deg,rgba(255,255,255,.95),rgba(239,248,255,.92))!important;
  box-shadow:0 24px 64px rgba(5,36,73,.15)!important;
  backdrop-filter:blur(18px) saturate(1.03)!important;-webkit-backdrop-filter:blur(18px) saturate(1.03)!important;
}
html.nmw-active .live-home .nmw-weather .nmw-head{
  grid-template-columns:minmax(0,1fr) minmax(180px,max-content)!important;gap:12px!important;align-items:start!important;
}
html.nmw-active .live-home .nmw-overline{display:inline-flex!important;align-items:center!important;gap:8px!important;font-size:11px!important;font-weight:900!important;letter-spacing:.13em!important;color:#6e87a6!important}
html.nmw-active .live-home .nmw-head h2{margin:8px 0 0!important;font-size:clamp(22px,1.9vw,30px)!important;line-height:1.05!important;color:#14345d!important}
html.nmw-active .live-home .nmw-time-wrap{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:6px!important;max-width:220px!important}
html.nmw-active .live-home .nmw-live{display:inline-flex!important;align-items:center!important;gap:8px!important;color:#0f7a57!important;font-size:11px!important;font-weight:900!important;letter-spacing:.12em!important}
html.nmw-active .live-home .nmw-live-dot{width:10px!important;height:10px!important;border-radius:50%!important;background:#21c772!important;box-shadow:0 0 0 6px rgba(33,199,114,.14)!important;animation:nmwPulse 1.8s infinite!important}
@keyframes nmwPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
html.nmw-active .live-home .nmw-clock{
  min-width:170px!important;padding:11px 16px!important;border-radius:18px!important;text-align:center!important;
  background:linear-gradient(135deg,#f8fbff,#eef6ff)!important;border:1px solid #d7e8fb!important;
  color:#12335d!important;font-size:40px!important;line-height:1!important;font-weight:900!important;
  font-variant-numeric:tabular-nums!important;font-feature-settings:'tnum' 1!important;letter-spacing:-.04em!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}
html.nmw-active .live-home .nmw-date{font-size:13px!important;color:#5d7694!important;text-align:right!important;min-height:18px!important}
html.nmw-active .live-home .nmw-current{
  min-height:98px!important;padding:14px 18px!important;border-radius:24px!important;
  background:linear-gradient(135deg,#3b6fa5,#77a6dd)!important;color:#fff!important;
}
html.nmw-active .live-home #nmw-temp{font-size:clamp(52px,5vw,72px)!important;text-shadow:0 2px 10px rgba(0,0,0,.15)!important}
html.nmw-active .live-home .nmw-current-descr b{font-size:clamp(24px,2vw,30px)!important}
html.nmw-active .live-home .nmw-current-descr small{font-size:15px!important;color:rgba(255,255,255,.95)!important}
html.nmw-active .live-home .nmw-stat{min-height:68px!important;border-radius:18px!important}
html.nmw-active .live-home .nmw-hour{min-height:118px!important}
html.nmw-active .live-home .nmw-names{min-height:48px!important;border-radius:16px!important;background:rgba(255,255,255,.74)!important}
html.nmw-active .live-home .live-hero.nmw-enhanced>.now-card{display:none!important}
a.nmw-town-card{position:relative!important;isolation:isolate!important;overflow:hidden!important;background:#153b5e!important;transition:transform .2s ease,box-shadow .2s ease!important}
a.nmw-town-card .nmw-town-photo{position:absolute!important;z-index:0!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;opacity:1!important;pointer-events:none!important;filter:saturate(1.05) contrast(1.04)!important;transform:scale(1);transition:transform .5s ease!important}
a.nmw-town-card::after{content:''!important;position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(6,23,42,.02) 0%,rgba(5,25,49,.08) 24%,rgba(3,22,45,.88) 100%)!important}
a.nmw-town-card>:not(.nmw-town-photo){position:relative!important;z-index:2!important;color:white!important;text-shadow:0 1px 4px rgba(0,0,0,.38)!important}
a.nmw-town-card:hover .nmw-town-photo{transform:scale(1.045)}
@media(max-width:1220px){html.nmw-active .live-home .live-hero.nmw-enhanced{grid-template-columns:minmax(0,1fr) minmax(390px,.95fr)!important}}
@media(max-width:980px){html.nmw-active .live-home .nmw-hero-grid{grid-template-columns:1fr 1fr!important}html.nmw-active .live-home .nmw-quick-head strong{font-size:18px!important}}
@media(max-width:860px){html.nmw-active .live-home .live-hero.nmw-enhanced{grid-template-columns:1fr!important}html.nmw-active .live-home .nmw-left{max-width:none!important}html.nmw-active .live-home .nmw-weather{max-width:760px!important}}
@media(max-width:640px){html.nmw-active .live-home .nmw-left h1{font-size:clamp(34px,9vw,48px)!important}html.nmw-active .live-home .nmw-hero-grid{grid-template-columns:1fr!important}html.nmw-active .live-home .nmw-weather .nmw-head{grid-template-columns:1fr!important}html.nmw-active .live-home .nmw-time-wrap{align-items:flex-start!important;max-width:none!important}html.nmw-active .live-home .nmw-clock{min-width:140px!important;font-size:32px!important}html.nmw-active .live-home .nmw-date{text-align:left!important}}
@media(prefers-reduced-motion:reduce){html.nmw-active .live-home .nmw-live-dot{animation:none!important}a.nmw-town-card .nmw-town-photo{transition:none!important}}

/* 49.10.12: all styles below are homepage-scoped, do not modify other subpages. */
html.nmw-active .live-home .nmw-names[hidden],
html.nmw-active .live-home #nmw-feels[hidden]{display:none!important}
/* One quartet of navigation shortcuts; restore original only if dynamic hero is absent. */
html.nmw-active .live-home:has(.nmw-hero-grid) > .live-strip{display:none!important}
/* Keep one events calendar on homepage. Full event page keeps its submission form. */
html:has(.live-home) #nmron-events-4910{display:none!important}
html:has(.live-home) .event-zone:has(#nmron-county-49105) > .event-live-list,
html:has(.live-home) .event-zone:has(#nmron-county-49105) > .live-section-head{display:none!important}
/* If real cards have loaded, hide the pre-rendered placeholder cards. */
html:has(.live-home) .market-home-grid:has(> :not(.nm1921-slot)) > .nm1921-slot,
html:has(.live-home) .promo-live-grid:has(> :not(.nm1921-slot)) > .nm1921-slot{display:none!important}
/* If there are no live records, arrange CTAs as coherent, readable cards. */
html:has(.live-home) .market-home-grid > .nm1921-slot,
html:has(.live-home) .promo-live-grid > .nm1921-slot{grid-column:1 / -1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;min-width:0!important}
html:has(.live-home) .market-home-grid,
html:has(.live-home) .promo-live-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:start!important}
html:has(.live-home) .market-home-grid > :not(.nm1921-slot),
html:has(.live-home) .promo-live-grid > :not(.nm1921-slot){min-width:0!important;min-height:0!important;height:auto!important;max-width:100%!important}
html:has(.live-home) .market-home-grid .nm1921-card,
html:has(.live-home) .promo-live-grid .nm1921-card{width:100%!important;min-width:0!important;height:auto!important;min-height:158px!important;max-width:none!important;overflow-wrap:anywhere!important}
html:has(.live-home) .market-home-grid img{display:block!important;max-width:100%!important;object-fit:cover!important}
html:has(.live-home) .live-events-promos .promo-zone{height:auto!important;min-height:0!important;align-self:start!important}
html:has(.live-home) .live-events-promos .promo-live-grid{min-height:0!important;height:auto!important}
@media(max-width:850px){
 html:has(.live-home) .market-home-grid,html:has(.live-home) .promo-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:590px){
 html:has(.live-home) .market-home-grid,html:has(.live-home) .promo-live-grid,
 html:has(.live-home) .market-home-grid > .nm1921-slot,
 html:has(.live-home) .promo-live-grid > .nm1921-slot{grid-template-columns:1fr!important}
}
