:root {
  --nio-v2-purple: #5b21b6;
  --nio-v2-purple-2: #7c3aed;
  --nio-v2-ink: #101828;
  --nio-v2-muted: #667085;
  --nio-v2-border: #e6e8ef;
  --nio-v2-page: #f7f7fa;
  --nio-v2-card: #fff;
  --nio-v2-radius: 10px;
  --nio-v2-shadow: 0 10px 28px -22px rgba(16, 24, 40, .35);
}

/* The legacy SEO panel is emitted after the protected hero/ticker shortcode. */
.nio-town-v2-enabled .nio-seo-town-intro {
  display: none !important;
}

.nio-town-v2-embed,
.nio-town-v2-embed > .e-con-inner,
.nio-town-v2-embed .elementor-widget-shortcode,
.nio-town-v2-embed .elementor-widget-shortcode > .elementor-widget-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.nio-town-v2 {
  width: 100%;
  max-width: none !important;
  background: var(--nio-v2-page);
  color: var(--nio-v2-ink);
}

.nio-town-v2 [id] {
  scroll-margin-top: 132px;
}

.nio-town-v2 > .e-con-inner,
.nio-town-v2.elementor-element {
  width: min(100%, 1320px);
  max-width: 1320px !important;
  margin-inline: auto;
}

.nio-town-v2 .elementor-widget {
  min-width: 0;
}

.nio-v2-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  background: var(--nio-v2-card);
  border: 1px solid var(--nio-v2-border);
  border-radius: var(--nio-v2-radius);
  box-shadow: var(--nio-v2-shadow);
}

.nio-v2-card h2,
.nio-v2-card h3,
.nio-v2-card p,
.nio-v2-card ul {
  margin-top: 0;
}

.nio-v2-card h2 {
  margin-bottom: 0;
  color: var(--nio-v2-ink);
  font: 700 clamp(20px, 1.7vw, 27px)/1.2 inherit;
}

.nio-v2-card h3 {
  color: var(--nio-v2-ink);
  font-size: 15px;
  line-height: 1.35;
}

.nio-v2-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--nio-v2-purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nio-v2-lead {
  max-width: 630px;
  margin: 14px 0 22px;
  color: #344054;
  font-size: 15px;
  line-height: 1.65;
}

.nio-v2-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: auto 0 0;
  color: var(--nio-v2-muted);
  font-size: 13px;
  line-height: 1.5;
}

.nio-v2-note > span {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #98a2b3;
  border-radius: 50%;
  color: #475467;
  font: 700 12px/1 serif;
}

.nio-v2-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  gap: 36px;
  padding: 26px;
  border-left: 3px solid var(--nio-v2-purple);
}

.nio-v2-guide__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nio-v2-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nio-v2-quick-links a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 76px;
  padding: 14px 38px 14px 15px;
  border: 1px solid #ececf2;
  border-radius: 8px;
  background: #fff;
  color: var(--nio-v2-ink);
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}

.nio-v2-quick-links a:hover {
  border-color: #c4b5fd;
  transform: translateY(-1px);
}

.nio-v2-quick-links strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.nio-v2-quick-links span {
  color: var(--nio-v2-muted);
  font-size: 11px;
  line-height: 1.35;
}

.nio-v2-quick-links b {
  position: absolute;
  right: 15px;
  top: 50%;
  color: var(--nio-v2-purple);
  transform: translateY(-50%);
}

.nio-v2-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.nio-v2-summary__card {
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--nio-v2-border);
  border-radius: var(--nio-v2-radius);
  box-shadow: var(--nio-v2-shadow);
  color: var(--nio-v2-ink);
  text-decoration: none;
}

.nio-v2-summary__card > strong {
  margin-bottom: 5px;
  color: var(--nio-v2-ink);
  font-size: 26px;
  line-height: 1;
}

.nio-v2-summary__card > span {
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
}

.nio-v2-summary__card small {
  color: var(--nio-v2-muted);
  font-size: 11px;
}

.nio-v2-summary__card b {
  margin-top: auto;
  padding-top: 13px;
  color: var(--nio-v2-purple);
  font-size: 11px;
}

.nio-v2-grid {
  display: grid !important;
  width: 100%;
  max-width: none !important;
  gap: 14px;
  align-items: stretch;
}

.nio-v2-grid > .elementor-element {
  width: auto !important;
  min-width: 0;
  height: 100%;
}

.nio-v2-grid > .elementor-element > .elementor-widget-container {
  height: 100%;
}

.nio-v2-grid--editorial {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nio-v2-grid--editorial .nio-v2-card__header,
.nio-v2-grid--information .nio-v2-card__header {
  min-height: 98px;
}

.nio-v2-grid--editorial:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nio-v2-grid--information {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nio-v2-grid--business {
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
}

/* The existing PWA prompt may move into this widget after load. Flatten the
   wrapper so it remains a full-width row without stretching either card. */
.nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta,
.nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta > .elementor-widget-container {
  display: contents !important;
}

.nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta .nio-v2-advertise-cta {
  grid-column: 2;
  grid-row: 1;
  height: 100%;
}

.nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta .nio-pwa-town-install {
  grid-column: 1 / -1;
  grid-row: 2;
}

.nio-v2-card__header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 54px;
  margin-bottom: 16px;
}

.nio-v2-text-link {
  display: inline-block;
  color: var(--nio-v2-purple);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nio-v2-news-list,
.nio-v2-event-list {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.nio-v2-news-list article,
.nio-v2-event-list article {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eef0f4;
}

.nio-v2-news-list article {
  align-items: start;
}

.nio-v2-news-list__content {
  min-width: 0;
}

.nio-v2-news-list article:first-child,
.nio-v2-event-list article:first-child {
  padding-top: 0;
  border-top: 0;
}

.nio-v2-news-list__image {
  display: block;
  width: 78px;
  height: 62px;
  overflow: hidden;
  border-radius: 7px;
  background: #ede9fe;
}

.nio-v2-news-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nio-v2-news-list__image span,
.nio-v2-business-list__image span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--nio-v2-purple);
  font-size: 12px;
  font-weight: 800;
}

.nio-v2-news-list h3,
.nio-v2-event-list h3 {
  display: -webkit-box;
  margin-bottom: 4px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nio-v2-news-list a,
.nio-v2-event-list a {
  color: inherit;
  text-decoration: none;
}

.nio-v2-news-list time,
.nio-v2-news-list p,
.nio-v2-event-list p,
.nio-v2-event-list small {
  display: block;
  margin-bottom: 0;
  color: var(--nio-v2-muted);
  font-size: 10px;
  line-height: 1.4;
}

.nio-v2-news-list time {
  color: #475467;
  font-weight: 700;
  letter-spacing: .01em;
}

.nio-v2-news-list p {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nio-v2-event-list article {
  grid-template-columns: 48px minmax(0, 1fr);
}

.nio-v2-event-list time {
  display: flex;
  flex-direction: column;
  height: 52px;
  overflow: hidden;
  border: 1px solid #ddd6fe;
  border-radius: 7px;
  text-align: center;
}

.nio-v2-event-list time span {
  padding: 4px 2px;
  background: var(--nio-v2-purple);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.nio-v2-event-list time strong {
  padding-top: 5px;
  font-size: 18px;
}

.nio-v2-football__club {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 15px;
}

.nio-v2-football__club > div {
  min-width: 0;
}

.nio-v2-football__club img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.nio-v2-football__club h3,
.nio-v2-football__club p {
  margin-bottom: 3px;
}

.nio-v2-football__club p,
.nio-v2-football__match p,
.nio-v2-football__result p,
.nio-v2-football small {
  color: var(--nio-v2-muted);
  font-size: 11px;
}

.nio-v2-football__match,
.nio-v2-football__result {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  padding: 13px;
  background: #fafaff;
  border: 1px solid #ede9fe;
  border-radius: 8px;
}

.nio-v2-football__match.is-empty,
.nio-v2-football__result.is-empty {
  min-height: 0;
  margin-bottom: 9px;
  padding: 10px 12px;
}

.nio-v2-football__match.is-empty > span,
.nio-v2-football__result.is-empty > span {
  margin-bottom: 2px;
}

.nio-v2-football__match.is-empty p,
.nio-v2-football__result.is-empty p {
  margin-bottom: 0;
  line-height: 1.35;
}

.nio-v2-football__match > span,
.nio-v2-football__result > span {
  margin-bottom: 5px;
  color: var(--nio-v2-purple);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nio-v2-football__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: auto;
}

.nio-v2-football__links a {
  padding: 8px 4px;
  border: 1px solid var(--nio-v2-purple);
  border-radius: 6px;
  color: var(--nio-v2-purple);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.nio-v2-live-module {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.nio-v2-live-module > * {
  height: 100%;
  margin: 0 !important;
  box-shadow: none !important;
}

.nio-v2-weather .nio-weather-widget {
  height: auto !important;
  min-height: 0 !important;
  align-content: start;
  grid-template-rows: auto auto auto !important;
  gap: 18px !important;
}

.nio-v2-weather .nio-weather-widget__header,
.nio-v2-weather .nio-weather-widget__body,
.nio-v2-weather .nio-weather-widget__meta,
.nio-v2-weather .nio-weather-widget__meta > span {
  height: auto !important;
  min-height: 0 !important;
}

.nio-v2-weather .nio-weather-widget__header,
.nio-v2-weather .nio-weather-widget__body {
  align-items: center;
}

.nio-v2-live-module h2,
.nio-v2-live-module h3 {
  font-size: 15px !important;
}

.nio-v2-live-module .nio-weather-widget,
.nio-v2-live-module .nio-traffic-widget,
.nio-v2-live-module .nio-traffic-cameras,
.nio-v2-live-module .nio-fuel-summary {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.nio-v2-business-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.nio-v2-business-list article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ececf2;
  border-radius: 8px;
  background: #fff;
}

.nio-v2-business-list__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #ede9fe;
}

.nio-v2-business-list__image.is-fallback {
  background:
    radial-gradient(circle at 80% 18%, rgba(124, 58, 237, .18), transparent 32%),
    linear-gradient(145deg, #f4f0ff 0%, #e8e1ff 100%);
}

.nio-v2-business-list__image.is-fallback span {
  gap: 5px;
  align-content: center;
}

.nio-v2-business-list__image.is-fallback b {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(91, 33, 182, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 20px -14px rgba(91, 33, 182, .8);
  font-size: 15px;
  letter-spacing: .05em;
}

.nio-v2-business-list__image.is-fallback small {
  margin: 0;
  color: #6941c6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.nio-v2-business-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nio-v2-business-list article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 11px;
}

.nio-v2-business-list h3 {
  display: -webkit-box;
  margin-bottom: 5px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nio-v2-business-list a {
  color: inherit;
  text-decoration: none;
}

.nio-v2-business-list p,
.nio-v2-business-list small {
  margin-bottom: 5px;
  color: var(--nio-v2-muted);
  font-size: 10px;
  line-height: 1.35;
}

.nio-v2-business-list .nio-v2-text-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--nio-v2-purple);
}

.nio-v2-sponsored {
  align-self: flex-start;
  padding: 2px 5px;
  border-radius: 4px;
  background: #ede9fe;
  color: var(--nio-v2-purple) !important;
  font-weight: 700;
}

.nio-v2-advertise-cta {
  background: linear-gradient(145deg, #fff 0%, #f5f1ff 100%);
  border-color: #c4b5fd;
}

.nio-v2-advertise-cta p,
.nio-v2-advertise-cta li {
  color: #475467;
  font-size: 12px;
  line-height: 1.55;
}

.nio-v2-advertise-cta ul {
  padding-left: 19px;
}

.nio-v2-button {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 7px;
  background: var(--nio-v2-purple);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.nio-v2-advertising {
  padding: 16px;
}

.nio-v2-ad-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nio-v2-ad-slot {
  position: relative;
  min-width: 0;
  min-height: 105px;
  overflow: hidden;
  border-radius: 7px;
  background: #101828;
}

.nio-v2-ad-slot .nio-banner,
.nio-v2-ad-slot .nio-banner img {
  width: 100%;
  height: 100%;
  min-height: 105px;
  object-fit: cover;
}

.nio-v2-ad-label {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(91, 33, 182, .92);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.nio-v2-house-ad {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 105px;
  padding: 18px;
  background: linear-gradient(125deg, #101828, #312e81);
  color: #fff;
  text-decoration: none;
}

.nio-v2-house-ad--2 {
  background: linear-gradient(125deg, #312e81, #6d28d9);
}

.nio-v2-house-ad--3 {
  background: linear-gradient(125deg, #111827, #4338ca 62%, #6d28d9);
}

.nio-v2-house-ad span {
  margin-bottom: 7px;
  color: #c4b5fd;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nio-v2-house-ad strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.nio-v2-house-ad small {
  color: #ddd6fe;
  font-size: 10px;
}

.nio-v2-empty {
  flex: 1;
  padding: 18px;
  border-radius: 8px;
  background: #fafaff;
  color: var(--nio-v2-muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .nio-v2-guide {
    grid-template-columns: 1fr;
  }

  .nio-v2-summary,
  .nio-v2-grid--information {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nio-v2-grid--editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nio-v2-grid--editorial > :last-child {
    grid-column: 1 / -1;
  }

  .nio-v2-business-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nio-town-v2 [id] {
    scroll-margin-top: 84px;
  }

  .nio-town-v2.elementor-element {
    padding: 22px 14px 36px !important;
  }

  .nio-v2-card,
  .nio-v2-guide {
    padding: 18px;
  }

  .nio-v2-guide {
    gap: 24px;
  }

  .nio-v2-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nio-v2-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .nio-v2-summary__card {
    min-height: 118px;
    padding: 14px;
  }

  .nio-v2-grid--editorial,
  .nio-v2-grid--information,
  .nio-v2-grid--business,
  .nio-v2-ad-slots {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-grid--editorial > :last-child {
    grid-column: auto;
  }

  .nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta .nio-v2-advertise-cta,
  .nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta .nio-pwa-town-install {
    grid-column: 1;
    grid-row: auto;
  }

  .nio-v2-business-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-business-list article {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .nio-v2-business-list__image {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 390px) {
  .nio-v2-quick-links {
    grid-template-columns: 1fr;
  }

  .nio-v2-news-list article {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .nio-v2-news-list__image {
    width: 70px;
    height: 58px;
  }
}

/* Editorial refinement: image-led hierarchy and V2-scoped live modules. */
:root {
  --nio-v2-purple: #5b21b6;
  --nio-v2-deep-blue: #0b3a6e;
  --nio-v2-ink: #151827;
  --nio-v2-muted: #5e6472;
  --nio-v2-border: #e4e7ee;
  --nio-v2-page: #f5f6fa;
  --nio-v2-lavender: #f7f3ff;
  --nio-v2-blue-grey: #f2f7fb;
  --nio-v2-warm: #faf8f6;
  --nio-v2-radius: 12px;
  --nio-v2-shadow: 0 12px 32px -25px rgba(21, 24, 39, .42);
}

.nio-town-v2.elementor-element {
  width: min(100%, 1280px);
  max-width: 1280px !important;
  gap: 30px !important;
  padding: 38px 24px 58px !important;
}

.nio-v2-card {
  padding: 26px;
  border-radius: var(--nio-v2-radius);
}

.nio-v2-card h2 {
  font-size: clamp(23px, 1.9vw, 30px);
  line-height: 1.18;
}

.nio-v2-card h3 {
  font-size: 17px;
  line-height: 1.3;
}

.nio-v2-card p,
.nio-v2-card li {
  font-size: 16px;
  line-height: 1.6;
}

.nio-v2-eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .075em;
}

.nio-v2-card__header {
  min-height: 66px;
  margin-bottom: 20px;
}

.nio-v2-grid--editorial .nio-v2-card__header,
.nio-v2-grid--information .nio-v2-card__header {
  min-height: 88px;
}

.nio-v2-text-link {
  font-size: 13px;
  line-height: 1.35;
}

.nio-v2-guide {
  gap: 42px;
  padding: 34px;
  background: var(--nio-v2-lavender);
  border-color: #ddd2f4;
  border-left-width: 4px;
}

.nio-v2-guide .nio-v2-lead {
  max-width: 680px;
  margin: 16px 0 24px;
  font-size: 17px;
  line-height: 1.65;
}

.nio-v2-guide .nio-v2-note {
  font-size: 14px;
}

.nio-v2-quick-links {
  gap: 14px;
}

.nio-v2-quick-links a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border-color: #e3dcf1;
  border-radius: 10px;
  box-shadow: 0 8px 22px -22px rgba(21, 24, 39, .45);
}

.nio-v2-quick-links a:focus-visible,
.nio-v2-summary__card:focus-visible,
.nio-v2-football__links a:focus-visible,
.nio-v2-button:focus-visible {
  outline: 3px solid rgba(91, 33, 182, .28);
  outline-offset: 3px;
}

.nio-v2-quick-links i,
.nio-v2-summary__card > i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #eee7fb;
  color: var(--nio-v2-purple);
  font-style: normal;
}

.nio-v2-icon {
  width: 26px;
  height: 26px;
}

.nio-v2-quick-links__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.nio-v2-quick-links strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.nio-v2-quick-links small {
  color: var(--nio-v2-muted);
  font-size: 13px;
  line-height: 1.35;
}

.nio-v2-summary {
  gap: 18px;
  padding: 24px;
  border: 1px solid #e6def5;
  border-radius: 14px;
  background: var(--nio-v2-lavender);
}

.nio-v2-summary__card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  min-height: 174px;
  padding: 20px;
  border-radius: 11px;
}

.nio-v2-summary__card > i {
  width: 50px;
  height: 50px;
}

.nio-v2-summary__card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.nio-v2-summary__card > div > strong {
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1;
}

.nio-v2-summary__card > div > span {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}

.nio-v2-summary__card small {
  font-size: 13px;
  line-height: 1.35;
}

.nio-v2-summary__card b {
  grid-column: 1 / -1;
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
}

.nio-v2-summary__card--fuel > i {
  background: #e8f5ec;
  color: #15803d;
}

.nio-v2-summary__card--traffic > i {
  background: #fff3df;
  color: #d97706;
}

.nio-v2-grid {
  gap: 22px;
}

.nio-v2-grid--editorial,
.nio-v2-grid--information,
.nio-v2-grid--business {
  padding: 28px !important;
  border: 1px solid var(--nio-v2-border);
  border-radius: 16px;
}

.nio-v2-grid--editorial {
  background: #fff;
}

.nio-v2-grid--information {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--nio-v2-blue-grey);
  border-color: #dce8f1;
}

.nio-v2-grid--business {
  grid-template-columns: minmax(0, 3.5fr) minmax(260px, 1fr);
  background: var(--nio-v2-warm);
  border-color: #ebe5e1;
}

.nio-v2-advertising {
  padding: 28px;
  background: var(--nio-v2-warm);
  border-color: #ebe5e1;
}

.nio-v2-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nio-v2-news-list article {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0 0;
  border-top: 1px solid #e9ebf0;
}

.nio-v2-news-list article.is-lead {
  display: block;
  grid-column: 1 / -1;
  padding: 0 0 20px;
  border-top: 0;
  border-bottom: 1px solid #e9ebf0;
}

.nio-v2-news-list__image {
  width: 116px;
  height: 78px;
  border-radius: 9px;
}

.nio-v2-news-list .is-lead .nio-v2-news-list__image {
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
}

.nio-v2-news-list .is-lead h3 {
  margin-bottom: 7px;
  font-size: clamp(22px, 1.7vw, 24px);
  line-height: 1.22;
  -webkit-line-clamp: 3;
}

.nio-v2-news-list .is-supporting h3 {
  font-size: 17px;
}

.nio-v2-news-list time,
.nio-v2-news-list p {
  font-size: 13px;
  line-height: 1.45;
}

.nio-v2-news-list .is-lead p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

.nio-v2-event-list article {
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 15px;
  padding: 17px 0;
}

.nio-v2-event-list time {
  width: 56px;
  height: 64px;
  border: 0;
  border-radius: 9px;
  background: #f0e9fc;
}

.nio-v2-event-list time span {
  padding: 7px 3px 4px;
  background: transparent;
  color: var(--nio-v2-purple);
  font-size: 11px;
}

.nio-v2-event-list time strong {
  padding-top: 2px;
  color: var(--nio-v2-ink);
  font-size: 25px;
}

.nio-v2-event-list h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.nio-v2-event-list p,
.nio-v2-event-list small {
  font-size: 13px;
  line-height: 1.45;
}

.nio-v2-football__club {
  gap: 20px;
  margin-bottom: 22px;
}

.nio-v2-football__club img {
  width: 100px;
  height: 100px;
}

.nio-v2-football__club p,
.nio-v2-football__match p,
.nio-v2-football__result p,
.nio-v2-football small {
  font-size: 13px;
}

.nio-v2-football__match,
.nio-v2-football__result {
  padding: 17px;
  border-radius: 10px;
}

.nio-v2-football__match > strong,
.nio-v2-football__result > strong {
  font-size: 21px;
  line-height: 1.3;
}

.nio-v2-football__result > strong {
  font-size: 27px;
}

.nio-v2-football__unavailable {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding: 17px;
  border: 1px solid #e4dcf2;
  border-radius: 10px;
  background: #faf8ff;
  color: var(--nio-v2-purple);
}

.nio-v2-football__unavailable .nio-v2-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.nio-v2-football__unavailable p {
  margin: 0;
  color: var(--nio-v2-muted);
  font-size: 14px;
  line-height: 1.5;
}

.nio-v2-football__links {
  gap: 10px;
}

.nio-v2-football__links a {
  display: grid;
  min-height: 44px;
  padding: 10px 6px;
  place-items: center;
  font-size: 13px;
}

.nio-v2-live-module .nio-weather-widget,
.nio-v2-live-module .nio-traffic-widget,
.nio-v2-live-module .nio-traffic-cameras-widget,
.nio-v2-live-module .nio-fuel-summary-widget {
  font-size: 14px;
}

.nio-v2-weather .nio-weather-widget__body {
  justify-content: flex-start;
}

.nio-v2-weather .nio-weather-widget__icon {
  width: 72px;
  height: 72px;
  transform: scale(1.18);
  transform-origin: center;
}

.nio-v2-weather .nio-weather-widget__temp {
  font-size: 42px !important;
}

.nio-v2-weather .nio-weather-widget__condition,
.nio-v2-weather .nio-weather-widget__meta,
.nio-v2-weather .nio-weather-widget__meta strong {
  font-size: 14px !important;
}

.nio-v2-traffic .nio-traffic-widget__header,
.nio-v2-fuel .nio-fuel-summary-widget__head {
  min-height: 34px;
  justify-content: flex-end;
}

.nio-v2-traffic .nio-traffic-widget__badge {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #fff3df;
  color: #d97706;
  font-size: 18px;
  font-weight: 800;
}

.nio-v2-traffic .nio-traffic-widget__item {
  gap: 12px;
  padding: 15px 0;
}

.nio-v2-traffic .nio-traffic-widget__marker {
  width: 13px;
  height: 13px;
}

.nio-v2-traffic .nio-traffic-widget__item strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nio-v2-traffic .nio-traffic-widget__item > div > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.nio-v2-traffic .nio-traffic-widget__item span,
.nio-v2-traffic .nio-traffic-widget__item small,
.nio-v2-traffic .nio-traffic-widget__footer {
  font-size: 13px;
  line-height: 1.45;
}

.nio-v2-traffic .nio-traffic-widget__cta,
.nio-v2-fuel .nio-fuel-summary-widget__cta {
  display: grid;
  min-height: 44px;
  padding: 10px 14px;
  place-items: center;
  border-radius: 8px;
}

.nio-v2-cameras .nio-traffic-cameras-widget__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nio-v2-cameras .nio-traffic-camera-card {
  display: block;
  overflow: hidden;
  border: 1px solid #dfe6ed;
  border-radius: 10px;
  background: #fff;
}

.nio-v2-cameras .nio-traffic-camera-card__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.nio-v2-cameras .nio-traffic-camera-card__thumb::after {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(91, 33, 182, .92);
  color: #fff;
  content: "LIVE";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
}

.nio-v2-cameras .nio-traffic-camera-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nio-v2-cameras .nio-traffic-camera-card__body {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  padding: 13px;
}

.nio-v2-cameras .nio-traffic-camera-card__body strong {
  font-size: 15px;
  line-height: 1.35;
}

.nio-v2-cameras .nio-traffic-camera-card__body > span {
  font-size: 13px;
}

.nio-v2-cameras .nio-traffic-camera-card__button {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.nio-v2-fuel .nio-fuel-summary-widget__fuel {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13px;
}

.nio-v2-fuel .nio-fuel-summary-widget__lowest strong {
  color: #15803d !important;
  font-size: 36px !important;
}

.nio-v2-fuel .nio-fuel-summary-widget__lowest span,
.nio-v2-fuel .nio-fuel-summary-widget__sync span,
.nio-v2-fuel .nio-fuel-summary-widget__grid span {
  font-size: 13px !important;
}

.nio-v2-fuel .nio-fuel-summary-widget__sync strong,
.nio-v2-fuel .nio-fuel-summary-widget__grid strong {
  font-size: 15px !important;
}

.nio-v2-business-list {
  gap: 16px;
}

.nio-v2-business-list article {
  border-radius: 10px;
}

.nio-v2-business-list__image {
  aspect-ratio: 4 / 3;
  background: #f1f2f5;
}

.nio-v2-business-list__image.is-photo img {
  object-fit: cover;
}

.nio-v2-business-list__image.is-logo img {
  padding: 20px;
  object-fit: contain;
  background: #f7f7f8;
}

.nio-v2-business-list__image.is-category,
.nio-v2-business-list__image.is-initials {
  background: linear-gradient(145deg, #f6f2ff, #ede7f8);
}

.nio-v2-business-list__category-fallback,
.nio-v2-business-list__initials {
  display: grid;
  gap: 10px;
  align-content: center;
  justify-items: center;
}

.nio-v2-business-list__category-fallback .nio-v2-icon {
  width: 42px;
  height: 42px;
}

.nio-v2-business-list__category-fallback small,
.nio-v2-business-list__initials small {
  color: #6941c6;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nio-v2-business-list__initials b {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid #d7c8ed;
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  font-size: 18px;
}

.nio-v2-business-list article > div {
  padding: 16px;
}

.nio-v2-business-list h3 {
  font-size: 17px;
  line-height: 1.35;
}

.nio-v2-business-list p,
.nio-v2-business-list small {
  font-size: 13px;
  line-height: 1.45;
}

.nio-v2-business-list .nio-v2-text-link {
  min-height: 40px;
  padding-top: 12px;
  font-size: 14px;
}

.nio-v2-advertise-cta p,
.nio-v2-advertise-cta li {
  font-size: 15px;
  line-height: 1.6;
}

.nio-v2-button {
  display: grid;
  min-height: 46px;
  padding: 12px 18px;
  place-items: center;
  font-size: 15px;
}

.nio-v2-ad-slots {
  gap: 18px;
}

.nio-v2-ad-slot,
.nio-v2-house-ad,
.nio-v2-ad-slot .nio-banner,
.nio-v2-ad-slot .nio-banner img {
  min-height: 0;
  aspect-ratio: 4 / 1;
}

.nio-v2-ad-slot .nio-banner img {
  object-fit: cover;
}

.nio-v2-house-ad {
  justify-content: flex-start;
  padding: 20px;
}

.nio-v2-house-ad span {
  font-size: 10px;
}

.nio-v2-house-ad strong {
  font-size: 17px;
  line-height: 1.3;
}

.nio-v2-house-ad em {
  margin-bottom: 10px;
  color: #e7e2f5;
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}

.nio-v2-house-ad small {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .nio-town-v2.elementor-element {
    gap: 26px !important;
    padding: 32px 24px 48px !important;
  }

  .nio-v2-card {
    padding: 22px;
  }

  .nio-v2-card h2 {
    font-size: clamp(22px, 3vw, 28px);
  }

  .nio-v2-grid--editorial,
  .nio-v2-grid--information,
  .nio-v2-grid--business {
    padding: 22px !important;
  }

  .nio-v2-grid--business {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta .nio-v2-advertise-cta,
  .nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta .nio-pwa-town-install {
    grid-column: 1;
    grid-row: auto;
  }

  .nio-v2-cameras .nio-traffic-cameras-widget__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .nio-town-v2.elementor-element {
    gap: 24px !important;
    padding: 26px 16px 42px !important;
  }

  .nio-v2-card,
  .nio-v2-guide {
    padding: 20px;
  }

  .nio-v2-card h2 {
    font-size: clamp(24px, 7vw, 28px);
  }

  .nio-v2-card__header,
  .nio-v2-grid--editorial .nio-v2-card__header,
  .nio-v2-grid--information .nio-v2-card__header {
    min-height: 0;
  }

  .nio-v2-guide {
    gap: 26px;
    padding: 24px;
  }

  .nio-v2-guide .nio-v2-lead {
    font-size: 16px;
  }

  .nio-v2-quick-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-quick-links a {
    min-height: 82px;
  }

  .nio-v2-summary {
    gap: 12px;
    padding: 16px;
  }

  .nio-v2-summary__card {
    display: flex;
    min-height: 172px;
    padding: 16px;
  }

  .nio-v2-summary__card > div > strong {
    font-size: 27px;
  }

  .nio-v2-summary__card b {
    margin-top: auto;
    font-size: 13px;
  }

  .nio-v2-grid--editorial,
  .nio-v2-grid--information,
  .nio-v2-grid--business {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 16px !important;
  }

  .nio-v2-ad-slots {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta .nio-v2-advertise-cta,
  .nio-v2-grid--business > .elementor-widget-nio-town-v2-advertise-cta .nio-pwa-town-install {
    grid-column: 1;
    grid-row: auto;
  }

  .nio-v2-news-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-news-list article,
  .nio-v2-news-list article.is-lead {
    display: block;
    grid-column: auto;
  }

  .nio-v2-news-list article.is-supporting {
    padding-top: 18px;
  }

  .nio-v2-news-list__image,
  .nio-v2-news-list .is-lead .nio-v2-news-list__image {
    width: 100%;
    height: auto;
    margin-bottom: 14px;
    aspect-ratio: 16 / 9;
  }

  .nio-v2-news-list .is-supporting h3 {
    font-size: 19px;
  }

  .nio-v2-news-list time,
  .nio-v2-news-list p {
    font-size: 14px;
  }

  .nio-v2-event-list h3 {
    font-size: 17px;
  }

  .nio-v2-event-list p,
  .nio-v2-event-list small {
    font-size: 14px;
  }

  .nio-v2-football__club img {
    width: 80px;
    height: 80px;
  }

  .nio-v2-football__links a {
    font-size: 12px;
  }

  .nio-v2-cameras .nio-traffic-cameras-widget__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-business-list article {
    display: flex;
  }

  .nio-v2-business-list__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .nio-v2-business-list h3 {
    font-size: 18px;
  }

  .nio-v2-advertising {
    padding: 20px;
  }

  .nio-v2-ad-slot,
  .nio-v2-house-ad,
  .nio-v2-ad-slot .nio-banner,
  .nio-v2-ad-slot .nio-banner img {
    aspect-ratio: 9 / 5;
  }
}

@media (max-width: 420px) {
  .nio-v2-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-summary__card {
    min-height: 158px;
  }
}

/* Adaptive card heights: preserve card structure while allowing sparse rows to shrink. */
.nio-v2-grid {
  align-items: start;
}

.nio-v2-grid > .elementor-element,
.nio-v2-grid > .elementor-element > .elementor-widget-container,
.nio-v2-grid .nio-v2-card {
  height: auto;
}

.nio-v2-grid > .elementor-element {
  align-self: start;
}

.nio-v2-news-list,
.nio-v2-event-list,
.nio-v2-live-module {
  flex: 0 1 auto;
}

.nio-v2-live-module > * {
  height: auto;
}

.nio-v2-football__links,
.nio-v2-advertise-cta .nio-v2-button {
  margin-top: 18px;
}

.nio-v2-forecast {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e6e8ef;
}

.nio-v2-forecast__day {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 10px 5px;
  border-radius: 10px;
  background: #f7f7fb;
  text-align: center;
}

.nio-v2-forecast__day time {
  color: #4b5263;
  font-size: 12px;
  font-weight: 700;
}

.nio-v2-forecast__day .nio-weather-widget__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  transform: none;
}

.nio-v2-forecast__day strong {
  color: #101524;
  font-size: 16px;
  line-height: 1;
}

.nio-v2-forecast__day small {
  color: #6d7483;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 1024px) {
  .nio-v2-forecast {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* v0.1.16: two-column editorial row and natural information stacks. */
.nio-v2-grid--editorial {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.nio-v2-grid--editorial:has(> :nth-child(2):last-child) {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.nio-v2-grid--editorial > :last-child {
  grid-column: auto;
}

.nio-v2-grid--information {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.nio-v2-stack {
  display: flex !important;
  flex-direction: column;
  gap: 22px;
  width: 100% !important;
  min-width: 0;
  height: auto !important;
  align-self: start;
}

.nio-v2-stack > .elementor-element,
.nio-v2-stack > .elementor-element > .elementor-widget-container {
  width: 100% !important;
  height: auto !important;
}

.elementor-widget-nio-town-v2-football:not(:has(.nio-v2-football)) {
  display: none !important;
}

.nio-v2-football-carousel:focus-visible {
  outline: 3px solid rgba(91, 33, 182, 0.28);
  outline-offset: 4px;
}

.nio-v2-football-carousel__slide[hidden] {
  display: none !important;
}

.nio-v2-football-carousel__controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.nio-v2-football-carousel__controls button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--nio-v2-purple);
  border-radius: 50%;
  background: #fff;
  color: var(--nio-v2-purple);
  place-items: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.nio-v2-football-carousel__controls button:hover:not(:disabled),
.nio-v2-football-carousel__controls button:focus-visible {
  background: var(--nio-v2-purple);
  color: #fff;
}

.nio-v2-football-carousel__controls button:focus-visible {
  outline: 3px solid rgba(91, 33, 182, 0.24);
  outline-offset: 2px;
}

.nio-v2-football-carousel__controls button:disabled {
  border-color: #cfd3dc;
  color: #9aa1af;
  cursor: not-allowed;
}

.nio-v2-football-carousel__status {
  color: var(--nio-v2-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 767px) {
  .nio-v2-grid--editorial,
  .nio-v2-grid--information {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-grid--editorial:has(> :nth-child(2):last-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .nio-v2-grid--editorial > :last-child {
    grid-column: auto;
  }

  .nio-v2-grid--information > .nio-v2-stack {
    display: contents !important;
  }

  .nio-v2-grid--information .elementor-widget-nio-town-v2-weather {
    order: 1;
  }

  .nio-v2-grid--information .elementor-widget-nio-town-v2-traffic {
    order: 2;
  }

  .nio-v2-grid--information .elementor-widget-nio-town-v2-cameras {
    order: 3;
  }

  .nio-v2-grid--information .elementor-widget-nio-town-v2-fuel {
    order: 4;
  }

  .nio-v2-grid--information .elementor-widget-nio-town-v2-football {
    order: 5;
  }
}
