/* /wales — designed page. Layout and spacing only; body type comes from styles.css. */
.dz-wales { --tint: #f5f4ef; --edge: max(24px, calc((100vw - 1240px) / 2 + 24px)); }
.dz-wales p { margin: 0 0 12px; }
.dz-wales h3 { font-family: "Lato", Arial, sans-serif; font-weight: 900; font-size: 1.12rem; line-height: 1.3; margin: 0 0 8px; color: var(--black); }
.dz-wales .wl-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dz-wales .wl-btns .btn { margin: 0; }

/* Hero: the photo from the left window edge, copy on black */
.dz-wales .wl-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: clamp(560px, calc(100vh - 150px), 800px); background: var(--black); }
.dz-wales .wl-hero-photo { position: relative; margin: 0; min-height: 320px; }
.dz-wales .wl-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 70%; }
.dz-wales .wl-hero-photo figcaption { position: absolute; left: 18px; bottom: 14px; color: var(--white); font-weight: 700; font-size: .9rem; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.dz-wales .wl-hero-copy { align-self: center; padding: 72px var(--edge) 72px 64px; }
.dz-wales .wl-hero h1 { color: var(--white); margin: 0 0 22px; }
.dz-wales .wl-hero .lead { color: rgba(255,255,255,.92); }
.dz-wales .wl-hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,.75); }
.dz-wales .wl-call { margin-top: 20px; color: #e4e3dc; }
.dz-wales .wl-call a { color: var(--lime); font-weight: 900; }

/* What changes: three large numbered columns, then the England line */
.dz-wales .wl-changes { padding: 100px 0 90px; }
.dz-wales .wl-changes h2 { margin: 0 0 40px; }
.dz-wales .wl-changes ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--black); }
.dz-wales .wl-changes li { padding: 28px 36px 8px; border-left: 1px solid var(--line); }
.dz-wales .wl-changes li:first-child { padding-left: 0; border-left: 0; }
.dz-wales .wl-changes li:last-child { padding-right: 0; }
.dz-wales .wl-changes .n { display: block; font-family: "Anton", sans-serif; font-size: 5rem; line-height: 1; color: var(--black); margin-bottom: 18px; -webkit-text-stroke: 0; }
.dz-wales .wl-changes li a { font-weight: 900; color: var(--black); border-bottom: 3px solid var(--lime); text-decoration: none; }
.dz-wales .wl-same { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 48px; margin-top: 56px; padding: 30px 34px; background: var(--tint); border-radius: 14px; }
.dz-wales .wl-same h3 { grid-row: span 2; font-size: 1.3rem; }
.dz-wales .wl-same p:last-child { margin: 0; }

/* LTT: the calculator stays beside the three rate schedules */
.dz-wales .wl-ltt { background: var(--black); color: var(--white); padding: 100px 0; scroll-margin-top: 80px; }
.dz-wales .wl-ltt .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }
.dz-wales .wl-ltt-side { position: sticky; top: 110px; }
.dz-wales .bcheck { background: var(--lime); color: var(--black); border-radius: 18px; padding: 32px 30px 28px; scroll-margin-top: 100px; }
.dz-wales .bcheck h2 { color: var(--black); font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin: 0 0 10px; }
.dz-wales .bcheck .bc-say { color: var(--black); margin-bottom: 20px; }
.dz-wales .rg-field + .rg-field { margin-top: 18px; }
.dz-wales .rg-field label, .dz-wales .wl-kind { display: block; font-weight: 900; color: var(--black); margin: 0 0 10px; }
.dz-wales .rg-input { display: flex; align-items: center; gap: 10px; background: var(--white); border: 2px solid var(--black); border-radius: 10px; padding: 12px 16px; }
.dz-wales .rg-input span { font-weight: 900; font-size: 1.2rem; color: var(--black); }
.dz-wales .rg-input input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.2rem; font-weight: 700; color: var(--black); outline: none; }
.dz-wales .bc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-wales .bc-opt { font: inherit; background: var(--white); color: var(--black); border: 2px solid var(--black); border-radius: 100px; padding: 9px 16px; cursor: pointer; font-weight: 700; }
.dz-wales .bc-opt[aria-pressed="true"] { background: var(--black); color: var(--white); }
.dz-wales .bc-opt:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.dz-wales .rg-out { display: none; margin-top: 20px; border-top: 2px solid var(--black); padding-top: 20px; }
.dz-wales .rg-out.on { display: block; }
.dz-wales .rg-big { font-family: "Anton", sans-serif; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; color: var(--black); margin: 0 0 8px; }
.dz-wales .rg-cap { color: var(--black); }
.dz-wales .rg-rows { list-style: none; margin: 0 0 16px; padding: 0; }
.dz-wales .rg-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(14,14,14,.2); }
.dz-wales .bc-grab { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-wales .bc-grab input[type=email] { flex: 1 1 200px; background: var(--white); border: 2px solid var(--black); border-radius: 8px; padding: 12px 14px; font: inherit; }
.dz-wales .bc-grab button { background: var(--black); color: var(--white); border: 0; border-radius: 8px; padding: 13px 20px; font: inherit; font-weight: 900; cursor: pointer; }
.dz-wales .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dz-wales .bc-small { margin: 12px 0 0; }
.dz-wales .bc-small a { color: var(--black); font-weight: 900; }
.dz-wales .wl-ltt-main h2 { color: var(--white); margin: 0 0 18px; }
.dz-wales .wl-ltt-main > p { color: #e4e3dc; }
.dz-wales .wl-sched { margin-top: 40px; padding: 28px 28px 20px; border: 1px solid #34352d; border-radius: 14px; transition: border-color .15s; }
.dz-wales .wl-sched.on { border: 2px solid var(--lime); }
.dz-wales .wl-sched h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 14px; }
.dz-wales .wl-sched table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.dz-wales .wl-sched th, .dz-wales .wl-sched td { text-align: left; padding: 11px 0; border-bottom: 1px solid #2a2b24; color: #e4e3dc; font-weight: 700; }
.dz-wales .wl-sched thead th { color: #bdbcb4; font-weight: 700; border-bottom: 1px solid #4a4b41; }
.dz-wales .wl-sched tbody th { color: var(--white); font-weight: 900; }
.dz-wales .wl-sched .rate { text-align: right; }
.dz-wales .wl-sched td.rate { font-family: "Anton", sans-serif; font-weight: 400; font-size: 1.4rem; color: var(--white); }
.dz-wales .wl-sched p { color: #e4e3dc; margin: 0; }

/* Rates: rateable value drawn as a scale */
.dz-wales .wl-rates { padding: 100px 0 90px; scroll-margin-top: 80px; }
.dz-wales .wl-rates-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 64px; align-items: end; margin-bottom: 48px; }
.dz-wales .wl-rates-head h2 { margin: 0; }
.dz-wales .wl-rates-head p { margin: 0; }
.dz-wales .wl-scale { padding-left: 230px; position: relative; }
.dz-wales .wl-scale .mults { position: relative; margin-bottom: 14px; }
.dz-wales .wl-scale .lab { position: absolute; left: -230px; top: 50%; transform: translateY(-50%); width: 210px; font-weight: 900; color: var(--black); line-height: 1.25; }
.dz-wales .wl-scale .row { display: flex; height: 70px; border-radius: 8px; overflow: hidden; background: repeating-linear-gradient(135deg, #f6f5f1 0 8px, #fff 8px 16px); border: 1px solid var(--line); }
.dz-wales .wl-scale .m { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; }
.dz-wales .wl-scale .m b { font-family: "Anton", sans-serif; font-weight: 400; font-size: 1.6rem; line-height: 1.05; }
.dz-wales .wl-scale .retail { background: var(--lime); color: var(--black); }
.dz-wales .wl-scale .std { background: #3a3b33; color: var(--white); }
.dz-wales .wl-scale .high { background: var(--black); color: var(--white); }
.dz-wales .wl-scale .relief .full { background: var(--lime); }
.dz-wales .wl-scale .relief .taper { background: linear-gradient(90deg, var(--lime), #f5f4ef); }
.dz-wales .wl-scale .relief .none { display: flex; align-items: center; padding: 0 16px; font-weight: 700; color: var(--black); background: transparent; }
.dz-wales .wl-scale .ticks { position: relative; height: 34px; border-top: 2px solid var(--black); margin-top: 4px; }
.dz-wales .wl-scale .ticks span { position: absolute; top: 8px; transform: translateX(-50%); font-weight: 700; font-size: .85rem; color: var(--grey); white-space: nowrap; }
.dz-wales .wl-scale .ticks span:first-child { transform: none; }
.dz-wales .wl-scale .ticks span:last-child { transform: translateX(-100%); }
.dz-wales .wl-scale .ticks span:nth-child(3) { top: 26px; }
.dz-wales .wl-scale .ticks { height: 52px; }
.dz-wales .wl-rates-note { margin: 28px 0 10px 230px; max-width: 820px; }
.dz-wales .wl-source { margin-left: 230px; color: var(--grey); max-width: 820px; }

/* Sectors on a tint, two to a row */
.dz-wales .wl-sectors { background: var(--tint); padding: 96px 0; }
.dz-wales .wl-sectors h2 { margin: 0 0 36px; }
.dz-wales .wl-sectors ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dz-wales .wl-sectors li { background: var(--white); border-radius: 14px; padding: 26px 28px; border-top: 6px solid var(--lime); }
.dz-wales .wl-sectors li p { margin: 0; }

/* Services: heading column, then four links and Pulse as one strip */
.dz-wales .wl-services { padding: 96px 0; }
.dz-wales .wl-services .inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px 56px; align-items: start; }
.dz-wales .wl-services h2 { margin: 0 0 14px; }
.dz-wales .wl-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 2px solid var(--black); border-radius: 14px; overflow: hidden; }
.dz-wales .wl-svc li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dz-wales .wl-svc li:nth-child(2n) { border-right: 0; }
.dz-wales .wl-svc a { display: flex; flex-direction: column; height: 100%; padding: 26px 28px; text-decoration: none; color: inherit; }
.dz-wales .wl-svc a p { flex: 1; }
.dz-wales .wl-svc a span { font-weight: 900; color: var(--black); }
.dz-wales .wl-svc a:hover h3 { text-decoration: underline; }
.dz-wales .wl-svc .pulse { grid-column: 1 / -1; border: 0; background: var(--black); }
.dz-wales .wl-svc .pulse h3 { color: var(--white); font-size: 1.35rem; }
.dz-wales .wl-svc .pulse p { color: #e4e3dc; }
.dz-wales .wl-svc .pulse span { color: var(--lime); }

/* Towns as chips, news alongside */
.dz-wales .wl-towns { background: var(--tint); padding: 96px 0; }
.dz-wales .wl-towns .inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 64px; align-items: start; }
.dz-wales .wl-towns h2 { margin: 0 0 10px; }
.dz-wales .wl-chips { list-style: none; margin: 28px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dz-wales .wl-chips a { display: block; padding: 12px 22px; border: 2px solid var(--black); border-radius: 100px; background: var(--white); font-weight: 900; font-size: 1.1rem; color: var(--black); text-decoration: none; }
.dz-wales .wl-chips a:hover { background: var(--lime); }
.dz-wales .wl-also { color: var(--grey); }
.dz-wales .wl-news { background: var(--white); border-radius: 14px; padding: 28px; }
.dz-wales .wl-news h2 { font-size: 1.6rem; margin: 0; }
.dz-wales .wl-news .local-news-list { margin-top: 14px; }
.dz-wales .wl-news .local-news-source { text-transform: none; letter-spacing: 0; }
.dz-wales .wl-news .local-news-item { display: block; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.dz-wales .wl-news .local-news-item span { display: block; }
.dz-wales .wl-news .local-news-loading { text-align: left; padding: 8px 0; }

/* Guides: three in a row */
.dz-wales .wl-guides { padding: 96px 0 40px; }
.dz-wales .wl-guides h2 { margin: 0 0 10px; }
.dz-wales .wl-guides ol { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: g; }
.dz-wales .wl-guides li { counter-increment: g; }
.dz-wales .wl-guides a { display: block; height: 100%; padding: 26px 26px 24px; border: 2px solid var(--black); border-radius: 14px; text-decoration: none; color: inherit; }
.dz-wales .wl-guides a::before { content: counter(g); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--black); font-family: "Anton", sans-serif; font-size: 1.15rem; margin-bottom: 16px; }
.dz-wales .wl-guides a:hover { background: var(--tint); }
.dz-wales .wl-guides p { margin: 0; }

/* Questions: two open columns */
.dz-wales .wl-faq { padding: 80px 0 100px; }
.dz-wales .wl-faq h2 { margin: 0 0 36px; }
.dz-wales .wl-faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.dz-wales .qa { padding: 24px 0; border-top: 3px solid var(--black); }
.dz-wales .qa p { margin: 0; }
.dz-wales .qa a { color: var(--black); }

/* Close: lime-edged split, quote on black */
.dz-wales .wl-close { padding: 0; border-top: 6px solid var(--lime); scroll-margin-top: 80px; }
.dz-wales .wl-close .inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.dz-wales .wl-close h2 { margin: 0 0 20px; }
.dz-wales .wl-close-copy a:not(.btn) { color: var(--black); font-weight: 900; }
.dz-wales .wl-close .btn-outline { color: var(--black); border-color: var(--black); }
.dz-wales .wl-close-quote .qstart { background: var(--black); color: var(--white); border-radius: 18px; padding: 34px 32px; }
.dz-wales .wl-close-quote h2 { color: var(--white); font-size: 2rem; margin: 0 0 10px; }
.dz-wales .wl-close-quote .qs-say { color: #d6d5cf; }
.dz-wales .wl-close-quote legend { color: var(--white); }
.dz-wales .wl-close-quote .qs-opts label { background: var(--white); }
.dz-wales .wl-close-quote .btn { margin-top: 18px; width: 100%; background: var(--lime); color: var(--black); border-color: var(--lime); }

@media (max-width: 1000px) {
  .dz-wales .wl-hero { grid-template-columns: 1fr; min-height: 0; }
  .dz-wales .wl-hero-copy { padding: 48px 24px 56px; }
  .dz-wales .wl-ltt .inner, .dz-wales .wl-rates-head, .dz-wales .wl-services .inner, .dz-wales .wl-towns .inner,
  .dz-wales .wl-close .inner, .dz-wales .wl-same { grid-template-columns: 1fr; }
  .dz-wales .wl-ltt-side { position: static; }
  .dz-wales .wl-scale { padding-left: 0; }
  .dz-wales .wl-scale .lab { position: static; transform: none; display: block; width: auto; margin-bottom: 6px; }
  .dz-wales .wl-rates-note, .dz-wales .wl-source { margin-left: 0; }
}
@media (max-width: 760px) {
  .dz-wales .wl-changes, .dz-wales .wl-ltt, .dz-wales .wl-rates, .dz-wales .wl-sectors, .dz-wales .wl-services, .dz-wales .wl-towns { padding: 64px 0; }
  .dz-wales .wl-guides { padding: 64px 0 24px; }
  .dz-wales .wl-faq { padding: 48px 0 64px; }
  .dz-wales .wl-close .inner { padding-top: 64px; padding-bottom: 64px; }
  .dz-wales .wl-changes ol, .dz-wales .wl-sectors ul, .dz-wales .wl-svc, .dz-wales .wl-guides ol, .dz-wales .wl-faq-cols { grid-template-columns: 1fr; }
  .dz-wales .wl-changes li, .dz-wales .wl-changes li:first-child { padding: 24px 0 12px; border-left: 0; border-bottom: 1px solid var(--line); }
  .dz-wales .wl-changes .n { font-size: 3.6rem; }
  .dz-wales .wl-svc li { border-right: 0; }
  .dz-wales .wl-same, .dz-wales .bcheck, .dz-wales .wl-close-quote .qstart { padding: 26px 20px; }
  .dz-wales .wl-sched { padding: 22px 18px 16px; }
  .dz-wales .wl-sched th, .dz-wales .wl-sched td { font-size: .88rem; }
  .dz-wales .wl-sched td.rate { font-size: 1.15rem; }
  .dz-wales .wl-scale .row { height: 56px; }
  .dz-wales .wl-scale .m { padding: 0 8px; font-size: 0; }
  .dz-wales .wl-scale .m b { font-size: 1.2rem; }
  .dz-wales .wl-scale .relief .none { font-size: .8rem; padding: 0 8px; white-space: normal; line-height: 1.25; }
  .dz-wales .wl-scale .ticks span { font-size: .7rem; }
  .dz-wales .wl-scale .ticks span:nth-child(2) { display: none; } .dz-wales .wl-scale .ticks span:nth-child(3) { top: 26px; }
  .dz-wales .wl-scale .ticks span:nth-child(5) { top: 26px; }
  .dz-wales .wl-chips a { padding: 10px 16px; font-size: 1rem; }
}
