/* vennado.com local-data pages (broadband by postcode, council tax) and the
   moving tools. Builds on site.css tokens. Tables carry the numbers; prose is short. */
.local-main { padding: 18px 0 72px; max-width: 880px; }
.local-main h1 { font-size: clamp(32px, 4.2vw, 52px); margin: 10px 0 10px; }
.local-main h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 44px 0 12px; }
.local-main h2.first { margin-top: 20px; }
@media (max-width: 600px) { .crumbs { display: none; } .local-main h1.kicker { margin-top: 14px; } }
.local-main p { max-width: 70ch; overflow-wrap: anywhere; }
.dateline { font-size: 15px; font-weight: 700; margin: 0 0 18px; }
.lede-plain { font-size: 19px; }
.small { font-size: 15px; }
.crumbs ol { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; }
.crumbs li + li::before { content: "/"; padding: 0 8px; }
.crumbs a { text-decoration: none; font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }

/* Data tables */
table.data { border-collapse: collapse; width: 100%; margin: 8px 0 12px; font-size: 16px; background: #FFF; border: var(--line); border-radius: 12px; overflow: hidden; }
table.data caption { caption-side: bottom; text-align: left; font-size: 14px; padding: 8px 2px 0; color: var(--ink); }
table.data th, table.data td { padding: 10px 14px; text-align: left; border-top: var(--hair); vertical-align: top; }
table.data thead th { border-top: 0; background: var(--foam); font-size: 14px; letter-spacing: .01em; }
table.data tbody th { font-weight: 600; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data.compact { font-size: 15px; }
table.data.compact th, table.data.compact td { padding: 8px 10px; }
.table-wrap { overflow-x: auto; margin: 8px 0 12px; -webkit-overflow-scrolling: touch; }
.table-wrap table.data { margin: 0; min-width: 100%; }
@media (max-width: 600px) {
  table.data { font-size: 14.5px; }
  table.data th, table.data td { padding: 8px 9px; }
}

/* Lists of links */
.chips { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 12px; border: 1.5px solid var(--pine); border-radius: var(--r-pill); text-decoration: none; font-weight: 700; font-size: 15px; background: #FFF; }
.chips a:hover { background: var(--foam); }
.cols3 { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 32px; font-size: 16px; }
.cols3 li { break-inside: avoid; padding: 3px 0; }
.cols3 .num { float: right; font-variant-numeric: tabular-nums; }
/* Sector page: a thin top (H1 as a kicker, the answer, one dateline), then the deal table */
.local-main h1.kicker { font-family: var(--font-body); font-size: 17px; font-weight: 700; letter-spacing: .01em; margin: 18px 0 6px; }
.answer { font-family: var(--font-display); font-size: clamp(24px, 4.2vw, 44px); line-height: 1.15; max-width: 28ch; margin: 0 0 10px; }
.local-main .dateline { font-size: 15px; font-weight: 600; margin: 0 0 22px; max-width: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Table header bar: heading left, segmented control right */
.deals-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin: 0 0 12px; }
.local-main .deals-head h2 { margin: 0; }
.sort { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sort button { font: inherit; font-weight: 700; font-size: 15px; line-height: 1; color: var(--ink); background: #FFF; border: 0; padding: 11px 16px; cursor: pointer; }
.seg { display: inline-flex; border: var(--line); border-radius: var(--r-pill); overflow: hidden; }
.seg button + button { border-left: var(--line); }
.seg button.on { background: var(--pine); color: #FFF; }
.seg button:not(.on):hover { background: var(--foam); }
.chip { border: var(--line) !important; border-radius: var(--r-pill); }
.chip.on { background: var(--sun-pale) !important; }
.chip:not(.on):hover { background: var(--foam) !important; }

/* The deal table: dense, tabular numerals, the price column loudest */
table.deals { width: 100%; border-collapse: collapse; margin: 0; font-size: 16px; background: #FFF; border: var(--line); border-radius: var(--r-control); overflow: hidden; }
table.deals caption { caption-side: bottom; text-align: left; font-size: 14px; padding: 8px 2px 0; }
table.deals thead th { text-align: left; font-size: 13.5px; font-weight: 700; letter-spacing: .01em; padding: 10px 14px; background: var(--foam); }
table.deals th, table.deals td { vertical-align: middle; }
table.deals tbody th, table.deals tbody td { padding: 12px 14px; border-top: var(--hair); }
table.deals tbody tr:first-child th, table.deals tbody tr:first-child td { border-top: 0; }
table.deals tbody tr:hover > * { background: #EEF8F5; }
table.deals tr.lead > * { background: var(--foam); }
table.deals .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.deals .prov { font-weight: 400; text-align: left; }
table.deals .prov .name { display: block; font-weight: 800; font-size: 17px; line-height: 1.25; }
table.deals .prov .plan { display: block; font-size: 14px; line-height: 1.35; max-width: 32ch; }
table.deals .speed .unit, table.deals .price .unit { font-size: 13px; font-weight: 600; }
table.deals .price .amt { font-family: var(--font-display); font-size: 24px; line-height: 1; letter-spacing: -.01em; }
table.deals .unread { font-size: 15px; white-space: normal; }
table.deals .act { text-align: right; width: 1%; white-space: nowrap; }
table.deals .btn.go { min-height: 42px; padding: 0 18px; font-size: 15px; }
table.deals tr.group th { text-align: left; font-weight: 400; font-size: 15px; padding: 12px 14px; background: var(--foam); border-top: var(--line); line-height: 1.4; }
table.deals tr.group th span { font-weight: 800; }
table.deals tr.group:hover > * { background: var(--foam); }
table.deals tr[hidden] { display: none; }
.hidden-note { margin: 12px 0 0; padding: 12px 14px; border: var(--line); border-radius: var(--r-control); background: var(--sun-pale); font-weight: 600; font-size: 15px; max-width: none !important; }
.local-main .under { margin: 14px 0 0; max-width: 80ch; }
@media (max-width: 760px) {
  table.deals thead, table.deals tbody, table.deals tr, table.deals th, table.deals td, table.deals caption { display: block; }
  table.deals { display: flex; flex-direction: column; }
  table.deals caption { order: 3; padding: 8px 14px 10px; border-top: var(--hair); }
  table.deals thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.deals tr.deal { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "prov price" "meta meta"; gap: 8px 12px; padding: 12px 14px; border-top: var(--hair); }
  table.deals tbody tr:first-child { border-top: 0; }
  table.deals tbody th, table.deals tbody td { padding: 0; border-top: 0; background: none !important; }
  table.deals tr:hover { background: #EEF8F5; }
  table.deals tr.lead { background: var(--foam); }
  table.deals .prov { grid-area: prov; }
  table.deals .price { grid-area: price; align-self: start; }
  table.deals .speed, table.deals .term, table.deals .fee, table.deals .act, table.deals .unread { grid-area: meta; }
  table.deals tr.deal { grid-template-areas: "prov price" "speed term" "fee act"; grid-template-columns: minmax(0, 1fr) auto; }
  table.deals .speed { grid-area: speed; text-align: left; }
  table.deals .term { grid-area: term; }
  table.deals .fee { grid-area: fee; text-align: left; align-self: center; }
  table.deals .act { grid-area: act; }
  table.deals .speed::before, table.deals .term::before, table.deals .fee::before { content: attr(data-l) " "; font-weight: 400; }
  table.deals tr.nop { grid-template-areas: "prov prov" "note note" "act act"; }
  table.deals tr.group { display: block; }
  table.deals tr.group th { display: block; padding: 12px 14px; background: var(--foam); border-top: var(--line); }
  table.deals .unread { grid-area: note; }
  table.deals tr.nop .act { text-align: left; }
  table.deals .speed, table.deals .term, table.deals .fee { font-size: 15px; }
  table.deals .btn.go { min-height: 44px; }
}

/* About these providers */
.about-list { margin: 0 0 14px; }
.about-list div { padding: 10px 0; border-top: var(--hair); }
.about-list div:first-child { border-top: 0; padding-top: 0; }
.about-list dt { font-weight: 800; }
.about-list dd { margin: 2px 0 0; font-size: 16px; max-width: 70ch; }
.about-list .net { font-weight: 600; }

/* Mover's bundle */
.move { border: var(--line); border-radius: var(--r-card); background: #FFF; padding: 0 18px; }
.move-row { padding: 16px 0 14px; border-top: var(--hair); }
.move-row:first-child { border-top: 0; }
.move-row h3 { font-size: 20px; margin: 0 0 6px; }
.move-row p { margin: 0 0 8px; }
.move-row .energy-line { font-size: 17px; }
.move-row table.data { margin: 6px 0 8px; }
.move-row .small { margin: 0; }
.moving-links { list-style: none; margin: 0; padding: 0; }
.moving-links li { padding: 6px 0; }
.moving-links a { font-weight: 800; }
.moving-links span { display: block; font-size: 15px; }

/* Provider cards (energy supplier pages) */
.cards { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; counter-reset: card; }
.card { background: #FFF; border: var(--line); border-radius: var(--r-card); padding: 18px 18px 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; counter-increment: card; }
.card h3 { font-size: 24px; margin: 0; padding-right: 2.2em; position: relative; }
.card h3::after { content: counter(card); position: absolute; right: 0; top: 2px; font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1; padding: 6px 10px; border: 1.5px solid var(--pine); border-radius: var(--r-pill); }
.card .net { font-weight: 700; font-size: 15px; margin: 0; }
.card .why { margin: 0; font-size: 16px; }
.card .price { margin: 2px 0 8px; font-size: 16px; padding: 10px 12px; background: var(--foam); border-radius: 12px; }
.card .btn { justify-self: start; max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding: 12px 22px; }
@media (min-width: 700px) {
  .card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "net net" "why price" "btn price"; align-items: start; column-gap: 24px; }
  .card h3 { grid-area: name; }
  .card .net { grid-area: net; }
  .card .why { grid-area: why; max-width: 46ch; }
  .card .price { grid-area: price; max-width: 26ch; margin: 0; }
  .card .btn { grid-area: btn; margin-top: 6px; }
}
.figures { margin: 36px 0 0; border: var(--line); border-radius: var(--r-card); background: #FFF; padding: 0 18px; }
.figures summary { cursor: pointer; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.figures summary::-webkit-details-marker { display: none; }
.figures summary::after { content: "Show"; font-family: var(--font-body); font-weight: 700; font-size: 15px; padding: 6px 12px; border: 1.5px solid var(--pine); border-radius: var(--r-pill); flex: none; }
.figures[open] summary::after { content: "Hide"; }
.figures[open] summary { border-bottom: var(--hair); margin-bottom: 14px; }
.figures > :last-child { padding-bottom: 14px; }
.figures .lede-plain { font-size: 17px; margin-top: 0; }
.figures.about { margin-top: 22px; }
.figures.about summary { font-size: 20px; padding: 13px 0; }
.notes { padding-left: 22px; }
.notes li { margin-bottom: 8px; max-width: 75ch; }
.disclosure { margin: 12px 0 0; padding: 12px 14px; border: 2px solid var(--pine); border-radius: var(--r-control); background: var(--sun-pale); font-weight: 700; font-size: 16px; }

/* Postcode form (index page and home) */
.pc-form { margin: 8px 0 24px; max-width: 520px; }
.pc-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.pc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pc-row input { flex: 1 1 200px; min-width: 0; font: inherit; font-size: 20px; padding: 10px 14px; border: var(--line); border-radius: var(--r-control); background: #FFF; color: var(--ink); text-transform: uppercase; }
.pc-row input:focus { outline: 3px solid var(--sea); outline-offset: 2px; }
.pc-result { margin: 10px 0 0; font-size: 17px; min-height: 1.4em; }
.pc-geo { margin: 10px 0 0; font-size: 16px; font-weight: 600; }
.pc-geo a { font-weight: 700; }
.local-main h1.near-h1 { font-size: clamp(26px, 3vw, 34px); margin: 18px 0 8px; }
.near-note { font-size: 17px; margin: 0 0 14px; }
.near-form { margin: 0 0 30px; }

/* Tool pages */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 56px; align-items: start; }
@media (max-width: 820px) { .tool { grid-template-columns: minmax(0, 1fr); } }
.tool fieldset { border: var(--line); border-radius: var(--r-card); padding: 18px 20px 8px; margin: 0 0 20px; background: #FFF; }
.tool legend { font-family: var(--font-display); font-size: 22px; padding: 0 8px; }
.tool label { display: block; font-weight: 700; margin: 10px 0 4px; font-size: 16px; }
.tool input[type="number"], .tool input[type="text"], .tool select { width: 100%; font: inherit; padding: 9px 12px; border: 1.5px solid var(--pine); border-radius: 10px; background: #FFF; color: var(--ink); }
.tool .hint { font-size: 14px; margin: 4px 0 8px; }
.tool .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.tool .check { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; font-weight: 500; }
.tool .check input { margin-top: 5px; }
.result { position: sticky; top: 16px; border: var(--line); border-radius: var(--r-card); background: var(--foam); padding: 22px 22px 18px; }
.result h2 { margin: 0 0 10px; font-size: 26px; }
.result table.data { background: #FFF; }
.total { font-family: var(--font-display); font-size: 36px; line-height: 1.1; margin: 6px 0 12px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-top: var(--hair); }
.checklist li:first-child { border-top: 0; }
.checklist .box { flex: none; width: 20px; height: 20px; border: 2px solid var(--pine); border-radius: 5px; margin-top: 3px; }
.checklist h3 { font-size: 20px; margin: 24px 0 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 16px 0 6px; }
@media print {
  header, footer, .tool form, .btn-row, .crumbs, .no-print { display: none !important; }
  body { font-size: 12pt; }
  .result { position: static; border: 0; background: none; padding: 0; }
  .checklist li { break-inside: avoid; }
}

/* Home page: the postcode box is the first screen; the section links sit below the fold */
.lead { background: var(--foam); }
.hero { background: var(--foam); box-shadow: 0 0 0 100vmax var(--foam); clip-path: inset(0 -100vmax); min-height: calc(100svh - 92px); display: flex; flex-direction: column; justify-content: center; padding: 24px 0 40px; }
.hero h1 { max-width: 20ch; margin: 0 0 22px; font-size: clamp(34px, 5vw, 64px); }
.hero .pc-form { max-width: 640px; margin: 0; }
.hero .pc-row input { font-size: clamp(22px, 3vw, 30px); padding: 14px 18px; min-height: 64px; }
.hero .pc-row .btn { min-height: 64px; padding: 0 30px; font-size: 19px; }
.hero .pc-result { font-size: 18px; }
.hero .pc-geo { font-size: 17px; }
@media (max-width: 600px) { .hero { min-height: calc(100svh - 80px); padding: 10px 0 32px; } .hero .pc-row input { min-height: 58px; } .hero .pc-row .btn { min-height: 58px; width: 100%; } }
.sections { padding: 44px 0 64px; }
.sections h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 8px; }
.lead-tools { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.lead-tools li { padding: 14px 0; border-top: var(--hair); }
.lead-tools li:first-child { border-top: 0; }
.lead-tools a { font-weight: 800; font-size: 19px; }
.lead-tools span { display: block; font-size: 16px; max-width: 60ch; }
.shop-head { padding-top: 48px; }
