/* Digilevi 2026 prototype. Brand: logo blue #3A53BA, Levira green #009639, antenna yellow #F6C800. */
:root {
  --blue: #3a53ba;
  --blue-deep: #24347f;
  --green: #009639;
  --green-deep: #00742c;
  --yellow: #f6c800;
  --ink: #171b26;
  --ink-soft: #4f5669;
  --line: #d9deea;
  --mist: #f1f4fa;
  --paper: #fff;
  --pol-h: #ef8a17;
  --pol-v: #1d9bd8;
  --radius: 10px;
  --wrap: 1120px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; font-weight: 700; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.ico { width: 1.5em; height: 1.5em; flex: none; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }

.btn { display: inline-flex; align-items: center; gap: .5em; font: 600 1rem/1 var(--font); padding: .85em 1.3em; border: 2px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--mist); color: var(--blue-deep); }
.btn .ico { width: 1.2em; height: 1.2em; }

/* ---------- header (logo left, helpdesk + search top right, icon menu below) ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.header-in { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.logo img { display: block; width: clamp(130px, 18vw, 210px); height: auto; }
.header-right { flex: 1; min-width: 0; }
.header-top { display: flex; justify-content: flex-end; align-items: center; gap: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.helpdesk { margin: 0; display: flex; align-items: center; gap: .45em; font-size: .95rem; color: var(--ink-soft); }
.helpdesk .ico { color: var(--blue); width: 1.2em; height: 1.2em; }
.helpdesk a { text-decoration: none; }
.helpdesk .tel { font-weight: 700; color: var(--ink); }
.search { display: flex; }
.search input { font: inherit; font-size: .95rem; width: 11rem; padding: .5em .8em; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; }
.search button { border: 0; background: var(--blue); color: #fff; padding: 0 .7em; border-radius: 0 8px 8px 0; cursor: pointer; display: grid; place-items: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: 4px; }
.main-nav a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 16px 10px; color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; border-bottom: 3px solid transparent; }
.main-nav .ico { width: 28px; height: 28px; color: #9aa2b6; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--blue); }
.main-nav a:hover .ico, .main-nav a[aria-current] .ico { color: var(--blue); }
.menu-toggle { display: none; }

/* ---------- home ---------- */
.banners { position: relative; margin-block: 28px 0; }
.banner-track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); background: var(--mist); }
.banner-track::-webkit-scrollbar { display: none; }
.banner-track li { flex: 0 0 100%; scroll-snap-align: start; }
.banner-track img { display: block; width: 100%; aspect-ratio: 1000/294; object-fit: cover; }
.banner-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 1px 6px rgba(23,27,38,.25); }
.banner-nav.prev { left: 32px; } .banner-nav.next { right: 32px; }
.banner-dots { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.banner-dots button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.banner-dots button::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.banner-dots button[aria-current]::after { background: var(--blue); width: 26px; border-radius: 6px; }

.finder-bar { margin-block: 12px 28px; }
.finder-bar form { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 16px 22px; }
.finder-bar label { display: flex; align-items: center; gap: 12px; flex: 1 1 320px; }
.finder-bar label .ico { width: 34px; height: 34px; color: var(--yellow); }
.finder-bar strong { display: block; font-size: 1.1rem; }
.finder-bar-input { display: flex; flex: 1 1 320px; gap: 8px; }
.finder-bar input { flex: 1; min-width: 0; font: inherit; padding: .7em .9em; border: 0; border-radius: 8px; }
.finder-bar .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); white-space: nowrap; }

.info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.info-block { background: var(--mist); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-content: start; }
.whatis { width: 150px; height: 150px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-content: center; justify-items: center; text-align: center; padding: 14px; }
.whatis svg { width: 54px; }
.whatis h2 { font-size: 1.05rem; margin: 6px 0 0; font-weight: 600; letter-spacing: 0; }
.info-text { font-size: 1rem; }
.news-block { padding: 28px 8px 0 12px; }
.news-mini { list-style: none; margin: 0 0 18px; padding: 0; }
.news-mini a { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.news-mini li:first-child a { border-top: 0; padding-top: 0; }
.news-mini img, .noimg { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; background: var(--mist); }
.news-mini h3 { font-size: 1.02rem; margin: 0 0 2px; }
.news-mini a:hover h3 { color: var(--blue); text-decoration: underline; }
.news-mini time, .news-list time, .post-date { font-size: .9rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.news-mini p { margin: 2px 0 0; font-size: .95rem; color: var(--ink-soft); }

.channels { margin-block: 12px 36px; border-block: 1px solid var(--line); }
.channels ul { list-style: none; margin: 0 auto; padding: 18px 20px; max-width: var(--wrap); display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow-x: auto; }
.channels li { flex: none; }
.channels img { display: block; height: 62px; width: auto; max-width: 150px; object-fit: contain; }

.blocks { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blocks li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 6px; background: var(--paper); }
.block-img img { display: block; width: 100%; aspect-ratio: 182/104; object-fit: cover; border-radius: 6px; }
.blocks h3 { margin: 14px 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--line); font-weight: 600; }
.blocks h3 a { color: var(--ink); text-decoration: none; }
.blocks li:hover h3 { border-bottom-color: var(--green); }
.blocks p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- pages ---------- */
.page { padding-block: 36px 56px; }
.prose { max-width: 76ch; }
.prose img { border-radius: 6px; }
.prose img.alignright, .prose .alignright { float: right; margin: 0 0 16px 24px; max-width: 45%; }
.prose img.alignleft, .prose .alignleft { float: left; margin: 0 24px 16px 0; max-width: 45%; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose iframe, .prose video { max-width: 100%; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5em .7em; text-align: left; vertical-align: top; }
.prose::after, .page::after { content: ""; display: block; clear: both; }
.prose.mux, .prose[class*="tpl-"] { max-width: none; }
.prose.mux img { width: 100%; }
.post-hero { display: block; margin-bottom: 20px; }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); }
.prose .btn01 a { display: inline-block; background: var(--blue); color: #fff; padding: .6em 1.1em; border-radius: 8px; text-decoration: none; font-weight: 600; }

/* old-template content restyled (antennas page etc.) */
.antenna-listing, .antenna-info-blocks { list-style: none; padding: 0; margin: 0 0 24px; }
.antenna-listing > li { display: grid; grid-template-columns: 150px 170px 1fr; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.antenna-info-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.antenna-info-blocks li { background: var(--mist); border-radius: var(--radius); padding: 18px 18px 4px; font-size: .97rem; }

/* ---------- forms / filters ---------- */
.field { display: grid; gap: 6px; }
.field label, .finder-search > label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
input[type=search], input[type=text], input[type=email], input[type=tel], input:not([type]), select, textarea {
  font: inherit; color: inherit; padding: .7em .85em; border: 1.5px solid #b9c0d2; border-radius: 8px; background: #fff; width: 100%; min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 18px; margin: 20px 0 10px; padding: 18px; background: var(--mist); border-radius: var(--radius); }
.filters .grow { flex: 1 1 260px; }
.check { display: flex; align-items: center; gap: .5em; min-height: 48px; font-weight: 500; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); }
.count { color: var(--ink-soft); font-size: .95rem; margin: 10px 0; }
.more { text-align: center; margin-top: 24px; }
.form { display: grid; gap: 16px; max-width: 560px; }
.form-status { background: #e7f6ec; border-left: 4px solid var(--green); padding: 12px 16px; border-radius: 6px; }
.form-status.err { background: #fdecec; border-color: #c62828; }

/* ---------- finder ---------- */
.finder { margin: 24px 0 36px; }
.finder-search > label { display: block; margin-bottom: 6px; }
.finder-row { display: flex; flex-wrap: wrap; gap: 10px; }
.combo { position: relative; flex: 1 1 320px; }
#addr-list { position: absolute; z-index: 1200; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(23,27,38,.18); max-height: 320px; overflow: auto; }
#addr-list li { padding: 10px 12px; border-radius: 6px; cursor: pointer; }
#addr-list li[aria-selected=true], #addr-list li:hover { background: var(--mist); }
.hint { color: var(--ink-soft); font-size: .95rem; margin: 8px 0 14px; }
.hint.err { color: #b3261e; font-weight: 500; }
.finder-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 20px; }
.map { height: 560px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--mist); z-index: 1; }
.result { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.result-empty { text-align: center; color: var(--ink-soft); padding-top: 24px; }
.dial { width: 190px; height: 190px; display: block; margin: 0 auto 14px; }
.dial circle { fill: var(--mist); stroke: var(--line); stroke-width: 2; }
.dial path { stroke: #9aa2b6; stroke-width: 2; fill: none; }
.dial text { font: 700 11px var(--font); fill: var(--ink-soft); text-anchor: middle; }
.dial .needle { fill: var(--blue); stroke: none; transition: transform .6s cubic-bezier(.3,1.4,.5,1); transform-origin: 60px 60px; }
.dial .hub { fill: var(--ink); stroke: none; }
.result h2 { font-size: 1.6rem; margin-bottom: .15em; }
.result .kind { color: var(--ink-soft); font-size: .95rem; margin-bottom: 12px; }
.result .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.result .fact { background: var(--mist); border-radius: 8px; padding: 10px 12px; }
.result .fact b { display: block; font-size: 1.35rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.result .fact span { font-size: .85rem; color: var(--ink-soft); }
.pol { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 8px; border: 2px solid; margin-bottom: 12px; }
.pol.h { border-color: var(--pol-h); } .pol.v { border-color: var(--pol-v); }
.pol svg { width: 64px; height: 64px; flex: none; }
.pol.h svg { color: var(--pol-h); } .pol.v svg { color: var(--pol-v); }
.pol p { margin: 0; font-size: .95rem; }
.result .advice { font-size: .95rem; border-top: 1px solid var(--line); padding-top: 12px; margin: 0; }
.result .others { font-size: .9rem; color: var(--ink-soft); margin: 10px 0 0; }
.legend { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--ink-soft); }
.legend li { display: flex; align-items: center; gap: 8px; }
.tw { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.tw.main { background: var(--ink); width: 18px; height: 18px; }
.tw.mux6 { border-color: #b3267e; }
.sw { width: 18px; height: 18px; border-radius: 50%; }
.sw.v { background: #6fae5c; } .sw.h { background: #cfe8b9; }
.tower-ico { border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.tower-ico.main { background: var(--ink); }
.tower-ico.mux6 { border-color: #b3267e; }
.tower-ico.main.mux6 { background: #b3267e; border-color: #fff; }
.tower-ico.near { outline: 4px solid var(--yellow); }
.me-ico { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue), 0 2px 6px rgba(0,0,0,.4); }

/* ---------- data table ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th { text-align: left; font-weight: 600; background: var(--ink); color: #fff; padding: .7em .8em; white-space: nowrap; }
table.data th button { all: unset; cursor: pointer; }
table.data th button::after { content: " ↕"; opacity: .6; }
table.data th button[aria-sort=ascending]::after { content: " ↑"; opacity: 1; }
table.data th button[aria-sort=descending]::after { content: " ↓"; opacity: 1; }
table.data td { padding: .65em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tbody tr:hover { background: var(--mist); }
.yes { color: var(--green-deep); font-weight: 600; } .no { color: #9aa2b6; }

/* ---------- FAQ ---------- */
.faq-search { max-width: 560px; margin-bottom: 6px; }
.chips { list-style: none; padding: 0; margin: 12px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: block; padding: .45em .9em; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .93rem; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.faq-topic { max-width: 820px; margin-bottom: 32px; scroll-margin-top: 16px; }
.faq-topic h2 { padding-bottom: .4em; border-bottom: 3px solid var(--green); display: inline-block; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 8px; top: 50%; translate: 0 -50%; font-size: 1.6rem; font-weight: 400; color: var(--blue); }
.qa[open] summary::after { content: "–"; }
.qa .answer { padding: 0 0 18px; max-width: 70ch; }
mark { background: #fff1a8; color: inherit; padding: 0 .1em; border-radius: 3px; }

/* ---------- support ---------- */
.support { display: grid; grid-template-columns: 1fr 340px; gap: 40px; margin-bottom: 48px; align-items: start; }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px; }
.contact-card a { color: #fff; }
.contact-card .big { font-size: 2.2rem; font-weight: 700; margin-bottom: 0; letter-spacing: -.02em; }
.contact-card .big a { text-decoration: none; }
.contact-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.25); margin: 18px 0; }

/* ---------- news list ---------- */
.news-list { list-style: none; padding: 0; margin: 0; max-width: 860px; }
.news-list a { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.news-list img, .news-list .noimg { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; background: var(--mist); }
.news-list h2 { font-size: 1.2rem; margin: 2px 0 6px; }
.news-list a:hover h2 { color: var(--blue); text-decoration: underline; }
.news-list p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- footer ---------- */
.site-footer { margin-top: 24px; }
.footer-levira { background: var(--green); }
.footer-levira .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 14px; }
.footer-levira a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-levira img { display: block; height: 25px; width: auto; }
.footer-contacts .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 18px; font-size: .95rem; color: var(--ink-soft); }
.footer-contacts p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .info-row { grid-template-columns: 1fr; }
  .news-block { padding: 0; }
  .blocks { grid-template-columns: repeat(2, 1fr); }
  .finder-main { grid-template-columns: 1fr; }
  .map { height: 440px; }
  .support { grid-template-columns: 1fr; }
  .main-nav a { padding-inline: 10px; font-size: .88rem; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .header-in { flex-wrap: wrap; gap: 0 12px; padding-block: 10px; }
  .logo img { width: 124px; }
  .header-right { display: contents; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
  .menu-toggle span:first-child, .menu-toggle span:first-child::before, .menu-toggle span:first-child::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
  .menu-toggle span:first-child::before { position: absolute; top: -7px; } .menu-toggle span:first-child::after { position: absolute; top: 7px; }
  .header-top { order: 3; flex: 1 0 100%; border: 0; padding: 10px 0 0; justify-content: space-between; gap: 10px; }
  .helpdesk span, .helpdesk > a:first-of-type { display: none; }
  .helpdesk .tel { font-size: 1.05rem; }
  .search { flex: 1; max-width: 260px; } .search input { width: 100%; min-height: 44px; }
  .main-nav { order: 4; flex: 1 0 100%; display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding-top: 8px; }
  .main-nav a { flex-direction: row; gap: 14px; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .banner-nav { display: none; }
  .banners { padding-inline: 0; margin-top: 0; } .banner-track { border-radius: 0; }
  .finder-bar form { padding: 16px; }
  .info-block { grid-template-columns: 1fr; padding: 22px; }
  .whatis { width: auto; height: auto; border-radius: 999px; display: flex; gap: 12px; padding: 10px 20px; justify-self: start; }
  .whatis svg { width: 34px; } .whatis h2 { margin: 0; }
  .channels ul { justify-content: flex-start; } .channels img { height: 46px; }
  .blocks { grid-template-columns: 1fr; }
  .blocks li { display: grid; grid-template-columns: 110px 1fr; column-gap: 14px; padding: 12px; }
  .blocks .block-img { grid-row: span 2; } .blocks h3 { margin: 0 0 6px; padding: 0; border: 0; } .blocks p { margin: 0; }
  .prose img.alignright, .prose img.alignleft, .prose .alignright, .prose .alignleft { float: none; margin: 0 0 16px; max-width: 100%; }
  .antenna-listing > li { grid-template-columns: 90px 1fr; } .antenna-listing .antenna-description { grid-column: 1 / -1; }
  .antenna-info-blocks { grid-template-columns: 1fr; }
  .map { height: 360px; }
  .finder-row .btn { flex: 1 1 auto; justify-content: center; }
  .news-list a { grid-template-columns: 72px 1fr; gap: 14px; } .news-list img, .news-list .noimg { width: 72px; height: 72px; }
  /* device table -> cards */
  table.data thead { display: none; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; }
  table.data tr { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
  table.data td { border: 0; padding: 2px 0; }
  table.data td::before { content: attr(data-l) ": "; color: var(--ink-soft); font-size: .88rem; }
  table.data td:nth-child(2), table.data td:nth-child(3) { display: inline; font-weight: 700; font-size: 1.1rem; }
  table.data td:nth-child(2)::before, table.data td:nth-child(3)::before { content: none; }
  table.data td:nth-child(2)::after { content: " "; }
  table.data td:empty, table.data td.dash { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .dial .needle { transition: none; } }
@media print { .site-header, .site-footer, .filters, .chips, .faq-search, .more { display: none; } .qa .answer { display: block; } }

/* ================= alternative home (index-b.html) ================= */
.proto-switch { position: fixed; left: 12px; bottom: 12px; z-index: 50; background: var(--ink); color: #fff; font-size: .85rem; padding: 6px 8px 6px 14px; border-radius: 999px; display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.proto-switch a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.proto-switch a[aria-current] { background: var(--yellow); color: var(--ink); font-weight: 600; }
.home-b .site-header { border-bottom: 0; }
.b-hero { background: var(--blue-deep); color: #fff; overflow: hidden; }
.b-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: 56px; }
.b-hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.7rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: .35em; }
.b-hero-text > p { font-size: 1.25rem; max-width: 40ch; color: #d7dcf3; }
.b-find { margin-top: 32px; max-width: 540px; }
.b-hero h1 .nb { display: block; }
.b-find label { display: block; font-weight: 600; margin-bottom: 8px; }
.b-find div { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 12px; }
.b-find input { border: 0; flex: 1; min-width: 0; font-size: 1.1rem; }
.b-find .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); white-space: nowrap; }
.b-find .btn:hover { background: #ffd92e; border-color: #ffd92e; color: var(--ink); }
.b-hero-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; }
.b-hero-links a { color: #fff; }
.b-map { position: relative; display: block; text-decoration: none; width: 100%; max-width: 640px; justify-self: end; }
.b-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.b-map .land { fill: #e9eefb; }
.b-map .coast { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.b-map .cov { opacity: .62; }
.b-map .gap { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.b-map .main { fill: var(--yellow); stroke: var(--blue-deep); stroke-width: 2.5; }
.b-map .ring { fill: none; stroke: var(--yellow); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 3.2s ease-out infinite; }
.b-map text { font: 600 21px var(--font); fill: #fff; paint-order: stroke; stroke: var(--blue-deep); stroke-width: 5px; stroke-linejoin: round; }
.b-map-note { display: block; font-size: .9rem; color: #d7dcf3; margin-top: 4px; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.b-notice { background: var(--ink); }
.b-notice a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-block: 14px; color: #fff; text-decoration: none; }
.b-notice strong { color: var(--yellow); }
.b-notice time { color: #aab1c7; font-variant-numeric: tabular-nums; }
.b-notice a:hover span { text-decoration: underline; }
.b-sec { padding-block: 56px; }
.b-sec > h2, .b-news-head h2, .b-help h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: 1em; }
.b-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.b-logos li { border: 1px solid var(--line); border-radius: var(--radius); height: 108px; display: grid; place-items: center; padding: 14px; }
.b-logos img { max-height: 62px; max-width: 100%; object-fit: contain; }
.b-logos .txt { font-weight: 700; font-size: 1.1rem; text-align: center; }
.b-note { margin: 16px 0 0; color: var(--ink-soft); font-size: .97rem; }
.b-steps-band { background: var(--mist); }
.b-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.b-steps li { counter-increment: s; border-top: 4px solid var(--blue); padding-top: 18px; }
.b-steps li::before { content: counter(s); display: block; font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--blue); letter-spacing: -.04em; margin-bottom: 10px; }
.b-steps h3 { font-size: 1.3rem; }
.b-steps p { color: var(--ink-soft); }
.b-steps a { font-weight: 600; }
.b-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.b-panel { display: grid; grid-template-rows: auto 1fr; border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff; background: var(--blue); }
.b-panel.dab { background: var(--green-deep); }
.b-panel img { width: 100%; aspect-ratio: 1000/294; object-fit: cover; display: block; }
.b-panel div { padding: 26px 28px 28px; }
.b-panel h2 { font-size: 1.7rem; margin-bottom: .4em; }
.b-panel p { color: rgba(255,255,255,.88); max-width: 46ch; }
.b-panel .more-link { font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.b-panel:hover { color: #fff; } .b-panel:hover .more-link { color: var(--yellow); }
.b-news { padding-top: 0; }
.b-news-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.b-news ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.b-news li a { display: block; border-top: 1px solid var(--ink); padding-top: 14px; text-decoration: none; color: inherit; }
.b-news time { font-size: .9rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.b-news h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.b-news a:hover h3 { color: var(--blue); text-decoration: underline; }
.b-news p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.b-help { background: var(--green); color: #fff; }
.b-help .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 48px; padding-block: 40px; }
.b-help h2 { margin-bottom: .3em; }
.b-help p { margin: 0; max-width: 56ch; }
.b-help a { color: #fff; }
.b-tel a { display: block; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; text-decoration: none; line-height: 1; }
.b-tel span { font-size: 1rem; }
.home-b .site-footer { margin-top: 0; }
.home-b .footer-levira { background: var(--green-deep); }
@media (max-width: 980px) {
  .b-logos { grid-template-columns: repeat(4, 1fr); }
  .b-hero-in { grid-template-columns: 1fr; padding-block: 40px 0; }
  .b-map { justify-self: center; max-width: 520px; margin-bottom: 28px; }
}
@media (max-width: 760px) {
  .b-find div { flex-direction: column; background: none; padding: 0; }
  .b-find .btn { justify-content: center; }
  .b-logos { grid-template-columns: repeat(2, 1fr); } .b-logos li { height: 88px; }
  .b-steps, .b-duo, .b-news ul { grid-template-columns: 1fr; }
  .b-sec { padding-block: 40px; } .b-news { padding-top: 0; }
  .proto-switch { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) { .b-map .ring { animation: none; opacity: 0; } }

/* WordPress images with inline width/height must not stretch */
.prose img[style], .prose img[height] { height: auto !important; max-width: 100%; }

/* ================= digiraadio (dabplus.ee content) ================= */
.dab-hero { background: #39ff14; }
.dab-hero img { display: block; width: 100%; max-width: 1000px; height: auto; margin-inline: auto; }
.dab section { margin-top: 48px; }
.dab h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.dab-intro { max-width: 760px; }
.dab-plus { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dab-plus li { border-left: 4px solid #00a64f; background: var(--mist); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px 6px; }
.dab-plus h3 { margin-bottom: .3em; }
.dab-plus p { color: var(--ink-soft); font-size: .97rem; }
.dab-logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.dab-logos li { height: 88px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; }
.dab-logos li.dark { background: var(--ink); border-color: var(--ink); }
.dab-logos img { max-height: 62px; max-width: 100%; object-fit: contain; }
.dab-cov > p { max-width: 76ch; }
.dab-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.dab-maps figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dab-maps img { display: block; width: 100%; height: auto; }
.dab-maps figcaption { padding: 10px 14px; font-weight: 600; border-top: 1px solid var(--line); }
.note { color: var(--ink-soft); font-size: .93rem; }
.dab-tech { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.dab-tech summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--blue); }
.dab-tech table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 20px; }
.dab-tech th { text-align: left; background: var(--ink); color: #fff; padding: .55em .7em; font-weight: 600; }
.dab-tech td { padding: .5em .7em; border-bottom: 1px solid var(--line); vertical-align: top; }
.dab-tech td:empty { padding: 0; }
.dab-rx { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dab-rx > div { background: var(--mist); border-radius: var(--radius); padding: 22px 24px 8px; }
.dab-faq { max-width: 860px; }
.dab-faq h2 { border-bottom-color: #00a64f; }
.dab-news { padding: 0; }
@media (max-width: 760px) {
  .dab-plus, .dab-maps, .dab-rx { grid-template-columns: 1fr; }
  .dab-logos { grid-template-columns: repeat(3, 1fr); } .dab-logos li { height: 72px; }
  .dab-tech { padding: 0 12px; }
}

/* ================= wide page banner (Digilevi, HübriidTV) ================= */
.p-banner { position: relative; color: #fff; background: var(--blue-deep) var(--bg) var(--pos, center) / cover no-repeat; min-height: clamp(260px, 30vw, 420px); display: flex; align-items: flex-end; }
.p-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36,52,127,.96) 0%, rgba(36,52,127,.75) 30%, rgba(36,52,127,0) 68%); }
.p-banner .wrap { position: relative; width: 100%; padding-block: 40px 36px; }
.p-banner h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.8rem); letter-spacing: -.03em; line-height: 1.02; margin-bottom: .25em; }
.p-banner p { font-size: 1.2rem; max-width: 52ch; margin: 0; color: #e6e9f8; }
.page-b .page { padding-top: 40px; }
.page-b .prose h2 { margin-top: 1.4em; }
.page-b .site-footer { margin-top: 0; }
.b-chan { padding-top: 8px; }
@media (max-width: 760px) { .p-banner { min-height: 300px; } .p-banner p { font-size: 1.05rem; } }
.p-banner.plain { min-height: 0; background: var(--blue-deep); overflow: hidden; }
.p-banner.plain::before { background: radial-gradient(circle at 88% 120%, rgba(246,200,0,.18) 0 90px, transparent 91px), radial-gradient(circle at 88% 120%, transparent 0 160px, rgba(255,255,255,.07) 161px 163px, transparent 164px 240px, rgba(255,255,255,.06) 241px 243px, transparent 244px 330px, rgba(255,255,255,.05) 331px 333px, transparent 334px); }
.p-banner.plain .wrap { padding-block: 48px 44px; }
.p-banner.plain h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
.page-b .faq > .field:first-child, .page-b .finder:first-child { margin-top: 0; }

/* ---------- hero search input: dark text on white field ---------- */
.b-find input { color: var(--ink); }
.b-find input::placeholder { color: #6b7387; }

/* ---------- HbbTV TV shops ---------- */
.page-shops { padding-top: 40px; }
.shop-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 48px; align-items: start; margin-bottom: 36px; }
.shop-intro .prose h2 { margin-top: 0; }
.shop-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: c; }
.shop-check li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; background: var(--mist); border-radius: var(--radius); padding: 14px 18px; }
.shop-check li::before { content: counter(c); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; }
.shop-check b { font-size: 1.05rem; }
.shop-check span { color: var(--ink-soft); }
.shops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shops a { position: relative; display: flex; flex-direction: column; height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.shops a:hover, .shops a:focus-visible { border-color: var(--blue); box-shadow: 0 8px 24px rgba(36,52,127,.12); }
.shop-logo { display: grid; place-items: center; height: 120px; background: #fff; border-bottom: 1.5px solid var(--line); padding: 16px; }
.shop-logo img { max-height: 72px; max-width: 70%; width: auto; height: auto; }
.shop-txt { display: grid; gap: 2px; padding: 16px 52px 18px 18px; }
.shop-txt b { font-size: 1.08rem; color: var(--blue-deep); }
.shop-txt span { color: var(--ink-soft); font-size: .95rem; }
.shop-go { position: absolute; right: 18px; bottom: 20px; width: 22px; height: 22px; color: var(--blue); }
@media (max-width: 980px) {
  .shop-intro { grid-template-columns: 1fr; }
  .shops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .shops { grid-template-columns: 1fr; } .shop-logo { height: 96px; } }
.shop-word { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; color: var(--blue-deep); }


/* =================================================================== WordPress additions (theme only) */
.alignleft { float: left; margin: .3em 1.2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .9rem; color: var(--ink-soft); }
.prose img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.nav-links .page-numbers { padding: .45em .8em; border: 1.5px solid var(--line); border-radius: 8px; text-decoration: none; }
.nav-links .current { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 640px) { .alignleft, .alignright { float: none; margin: 0 0 1em; } }

/* Ninja Forms (Kasutajatugi) in the theme's form style */
.nf-wrap .nf-form-fields-required { font-size: .9rem; color: var(--ink-soft); margin-bottom: 12px; }
.nf-wrap .nf-field-container { margin-bottom: 16px; }
.nf-wrap .nf-field-label label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }
.nf-wrap .ninja-forms-req-symbol { color: #c62828; }
.nf-wrap input:not([type=submit]):not([type=checkbox]):not([type=radio]), .nf-wrap select, .nf-wrap textarea {
  font: inherit; color: var(--ink); padding: .7em .85em; border: 1.5px solid #b9c0d2; border-radius: 8px; background: #fff; width: 100%; min-height: 48px; }
.nf-wrap textarea { min-height: 140px; }
.nf-wrap input:focus, .nf-wrap select:focus, .nf-wrap textarea:focus { border-color: var(--blue); outline: none; }
.nf-wrap input[type=submit], .nf-wrap input[type=button] { font: inherit; font-weight: 600; background: var(--blue); color: #fff; border: 0; border-radius: 8px; padding: .8em 1.4em; min-height: 48px; cursor: pointer; }
.nf-wrap input[type=submit]:hover { background: var(--blue-deep); }
.nf-wrap .nf-error-msg, .nf-wrap .nf-error .nf-error-msg { color: #c62828; font-size: .92rem; margin-top: 4px; }
.nf-wrap .nf-response-msg { background: #e7f6ec; border-left: 4px solid var(--green); padding: 12px 16px; border-radius: 6px; }
