/*
Theme Name: Prize Kingdom Royal
Theme URI: https://ukprizekingdom.uk
Description: Astra child theme for UK Prize Kingdom. Slate-blue and brass, slab display headings, softly squared corners, one measured column.
Author: UK Prize Kingdom
Template: astra
Version: 1.1.1
Text Domain: pkprize
*/

/* Design tokens — one hue through the palette, ground tinted off white. */
:root {
  --pk-ground: #f4f3f0;
  --pk-surface: #faf9f6;
  --pk-ink: #1b2430;
  --pk-ink-2: #3c4654;
  --pk-muted: #4e5866;
  --pk-line: #cfcabc;
  --pk-accent: #7a5c14;
  --pk-accent-soft: #a8873a;
  --pk-deep: #1a212b;
  --pk-deep-2: #12181f;
  --pk-on-deep: #eeeae1;
  --pk-radius: 8px;
  --pk-display: "Bitter", Georgia, "Times New Roman", serif;
  --pk-text: "Karla", "Helvetica Neue", Arial, sans-serif;
  --pk-measure: 1180px;
  --pk-gutter: 32px;
}

/* Base */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { overflow-x: clip; }
body,
body.pk-site {
  background: var(--pk-ground);
  color: var(--pk-ink);
  font-family: var(--pk-text);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--pk-display);
  color: var(--pk-ink);
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 16px;
  text-align: start;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p, li, td, th { color: var(--pk-ink); }
p { margin: 0 0 18px; }

a {
  color: var(--pk-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--pk-ink); text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 2px solid var(--pk-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Astra scaffold: one centred column for every block. */
#page, #content, .site, .hfeed, #content .ast-container, .ast-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
#primary, .site-main, #main, .ast-separate-container #primary, .content-area {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
.ast-container, .site-content .ast-container, .ast-page-builder-template .ast-container {
  justify-content: center !important;
  align-items: stretch !important;
  background: transparent !important;
}
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-plain-container .ast-article-post,
.ast-plain-container .ast-article-single,
.ast-separate-container #primary,
.ast-plain-container #primary { border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; }

/* Parent furniture off, not merely hidden behind ours. */
.ast-main-header-wrap,
#masthead,
.ast-below-header-wrap,
.ast-above-header-wrap,
.ast-footer-wrap,
#colophon,
footer.site-footer,
.ast-small-footer-wrap,
.entry-header .entry-title,
.ast-single-post .entry-header,
.page .entry-header { display: none !important; }

/* One measure, one left edge, one right edge.
 * The gutter lives on the blocks themselves, not on the wrapper, so every
 * block's own left and right edge is identical and measurable. */
.entry-content,
.ast-page-builder-template .entry-content,
body.pk-site .entry-content {
  max-width: var(--pk-measure) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  display: block;
}
.entry-content > *,
.pk-page > * {
  width: auto;
  max-width: none;
  margin-inline: var(--pk-gutter);
}
.entry-content > .pk-tablewrap,
.entry-content > .pk-board-slot,
.entry-content > .pk-board { margin-inline: var(--pk-gutter); }

/* Article rhythm: adjacent blocks never touch. */
.entry-content > * + * { margin-top: 16px; }
.entry-content > section + section,
.entry-content > section + div,
.entry-content > div + section,
.entry-content > nav + section { margin-top: 30px; }
.entry-content > nav.pk-toc + section,
.entry-content > p + .pk-board-slot { margin-top: 22px; }
section > * + * { margin-top: 14px; }
section { padding-block: 0; }
section > h2:first-child { margin-top: 0; }
section > h2 { margin-top: 30px; margin-bottom: 0; }

/* ---------- Masthead ---------- */
.pk-header {
  background: var(--pk-ground);
  color: var(--pk-ink);
  border-bottom: 1px solid var(--pk-line);
  position: relative;
  z-index: 60;
  overflow: visible;
}
/* Nothing in the masthead may push the page wider than the viewport. */
.pk-header-inner,
.pk-nav,
.pk-nav ul,
.pk-nav > ul > li,
.pk-nav > ul > li > a { min-width: 0; max-width: 100%; }
.pk-header-inner > * { min-width: 0; }
.pk-brand { flex: 1 1 auto; overflow: hidden; }
.pk-brand-name { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.pk-nav > ul { justify-content: flex-start; }
.pk-header-inner {
  max-width: var(--pk-measure);
  margin-inline: auto;
  padding: 12px var(--pk-gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pk-brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pk-brand-link { text-decoration: none; }
.pk-brand-name {
  display: block;
  font-family: var(--pk-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--pk-ink);
  line-height: 1.2;
}
.pk-brand-tagline {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pk-muted);
}
.pk-header a,
.pk-header a:visited { color: var(--pk-ink); }
.pk-header a:hover,
.pk-header a:focus-visible { color: var(--pk-accent); }

.pk-header-tools { display: flex; align-items: center; gap: 12px; }

/* Age badge: outlined circle, 32px, from the register. */
.pk-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  border: 1.5px solid var(--pk-accent);
  color: var(--pk-accent);
  font-family: var(--pk-text);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}
.pk-age-badge-footer {
  border-color: var(--pk-accent-soft);
  color: var(--pk-accent-soft);
}

/* Mobile toggle: a real button with aria-expanded + aria-controls. */
.pk-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
  background: var(--pk-surface);
  color: var(--pk-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}
.pk-nav-toggle:hover { border-color: var(--pk-accent); }
.pk-nav-toggle:focus-visible { outline: 2px solid var(--pk-accent); outline-offset: 2px; }
.pk-nav-toggle-bar,
.pk-nav-toggle-bar::before,
.pk-nav-toggle-bar::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--pk-ink);
  content: "";
  position: relative;
}
.pk-nav-toggle-bar::before { position: absolute; top: -5px; }
.pk-nav-toggle-bar::after { position: absolute; top: 5px; }

/* Navigation: one row, sentence case, panel anchored to its own column. */
.pk-nav {
  max-width: var(--pk-measure);
  margin-inline: auto;
  padding-inline: var(--pk-gutter);
  position: relative;
  overflow: visible;
}
.pk-nav ul,
.pk-nav .pk-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  overflow: visible;
}
.pk-nav li { position: relative; }
.pk-nav > ul > li > a {
  display: block;
  padding: 10px;              /* 10px floor, kept even so nothing overruns the column */
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--pk-ink);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pk-nav > ul > li > a:hover,
.pk-nav > ul > li.current-menu-item > a {
  color: var(--pk-accent);
  border-bottom-color: var(--pk-accent);
}
/* The caret is the promise: only items with a panel show one. */
.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline-start: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.pk-nav .sub-menu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  z-index: 999;
  min-width: 268px;
  max-width: 320px;
  display: none;
  padding: 8px;
  background: var(--pk-surface);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
  box-shadow: 0 12px 28px rgba(26, 33, 43, 0.14);
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.pk-nav li:hover > .sub-menu,
.pk-nav li:focus-within > .sub-menu,
.pk-nav li.pk-sub-open > .sub-menu { display: flex; }
.pk-nav .sub-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--pk-ink);
  border-radius: 4px;
  white-space: normal;
}
.pk-nav .sub-menu a:hover,
.pk-nav .sub-menu a:focus-visible {
  background: var(--pk-ground);
  color: var(--pk-accent);
}

/* ---------- Breadcrumb ---------- */
.pk-breadcrumb {
  padding: 18px 0 0;
  font-size: 0.86rem;
  color: var(--pk-muted);
}
.pk-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}
.pk-breadcrumb li { list-style: none; color: var(--pk-muted); }
.pk-breadcrumb li + li::before {
  content: "/";
  color: var(--pk-line);
  margin-inline-end: 6px;
}
.pk-breadcrumb a { color: var(--pk-muted); text-decoration: underline; }
.pk-breadcrumb a:hover { color: var(--pk-accent); }

/* ---------- Opening block ---------- */
.pk-hero,
header.pk-hero {
  text-align: start;
  padding: 10px 0 0;
}
.pk-hero h1 { margin: 0 0 10px; }
.pk-standfirst {
  color: var(--pk-ink-2);
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 74ch;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pk-hero-rule {
  width: 64px;
  height: 3px;
  background: var(--pk-accent);
  border: 0;
  margin: 12px 0 0;
}

/* ---------- Contents bar ---------- */
.pk-toc {
  margin: 22px 0 6px;
  padding: 14px 18px;
  background: var(--pk-surface);
  border: 1px solid var(--pk-line);
  border-inline-start: 4px solid var(--pk-accent);
  border-radius: var(--pk-radius);
}
.pk-toc h2 {
  font-size: 0.95rem;
  font-family: var(--pk-text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pk-muted);
  margin: 0 0 8px;
}
/* Nine entries in three columns: every cell is filled, no orphan row. */
.pk-toc ul,
.pk-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 22px;
}
.pk-toc a {
  display: block;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--pk-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.pk-toc a:hover { color: var(--pk-accent); border-bottom-color: var(--pk-accent); }

/* ---------- Ranking board ---------- */
.pk-board-slot { margin: 0; overflow: visible; }
.pk-board-disclosure {
  margin: 16px 0 8px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--pk-muted);
  max-width: 84ch;
}
.pk-board {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

/* One full-width row per offer: rank, brand, terms, figures, action.
 * Every row is the same 92px band at desktop, inside the 96 to 114 budget. */
.pk-row {
  display: grid;
  grid-template-columns: 34px minmax(340px, 380px) minmax(0, 1fr) minmax(172px, 200px) minmax(168px, 190px);
  grid-template-areas: "rank brand terms figures action";
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 10px 14px;
  background: var(--pk-surface);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
  transition: box-shadow 140ms ease, border-color 140ms ease;
}
.pk-row:hover {
  border-color: var(--pk-accent);
  box-shadow: 0 6px 18px rgba(26, 33, 43, 0.09);
}
.pk-row-lead {
  border-inline-start: 4px solid var(--pk-accent);
  box-shadow: 0 0 0 1px rgba(122, 92, 20, 0.22);
}
.pk-row-lead .pk-row-name { color: var(--pk-accent); }

.pk-row-rank {
  grid-area: rank;
  font-family: var(--pk-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pk-muted);
  font-variant-numeric: tabular-nums;
  text-align: start;
}

.pk-row-brand {
  grid-area: brand;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
}
.pk-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 10px;
  background: var(--pk-deep);
  color: var(--pk-on-deep);
  font-family: var(--pk-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
/* Operator logo: a dark plate of one size for every brand (the marks are light on dark), the logo inside it keeps its own
 * proportions; below 459px the name and the offer line wrap under the plate. */
.pk-tile.pk-tile-logo {
  width: 176px;
  height: 52px;
  flex: 0 0 176px;
  padding: 6px 10px;
}
.pk-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 40px;
}
.pk-row-nameline { display: flex; flex: 1 1 170px; flex-direction: column; gap: 1px; min-width: 0; }
.pk-row-name {
  font-family: var(--pk-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--pk-ink);
  line-height: 1.2;
}
.pk-row-offer {
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--pk-ink-2);
}

.pk-row .pk-row-terms {
  grid-area: terms;
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.4;
  color: var(--pk-muted);
  min-width: 0;
  overflow-wrap: break-word;
}

.pk-row-figures {
  grid-area: figures;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  min-width: 0;
}
.pk-figure { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.pk-figure-label {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pk-muted);
  white-space: nowrap;
}
.pk-figure-value {
  font-family: var(--pk-display);
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--pk-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pk-row-action {
  grid-area: action;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}
.pk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--pk-deep);
  color: #fbfaf7;
  font-family: var(--pk-text);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--pk-deep);
  border-radius: var(--pk-radius);
  transition: transform 140ms ease, background-color 140ms ease;
}
.pk-cta:visited { color: #fbfaf7; }
.pk-cta:hover,
.pk-cta:focus-visible {
  background: var(--pk-deep-2);
  color: #ffffff;
  transform: translateY(-1px);
  text-decoration: none;
}
.pk-cta:focus-visible { outline: 2px solid var(--pk-accent); outline-offset: 2px; }
.pk-row-small {
  font-size: 0.68rem;
  line-height: 1.25;
  color: var(--pk-muted);
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .pk-cta,
  .pk-row { transition: none !important; }
  .pk-cta:hover,
  .pk-cta:focus-visible { transform: none; }
}

.pk-board-note {
  margin: 12px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--pk-muted);
  max-width: 90ch;
}
.pk-board-more-head { margin-top: 34px; }

/* ---------- Tables: 1px rules, no zebra, no empty cell ---------- */
.pk-tablewrap {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0;
}
table,
.pk-data,
.pk-compare,
.pk-board-more {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: transparent;
}
caption {
  caption-side: top;
  text-align: start;
  font-size: 0.85rem;
  color: var(--pk-muted);
  padding: 0 0 10px;
}
table th,
table td {
  padding: 10px 12px;
  text-align: start;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--pk-line);
  background-color: transparent !important;
}
table thead th {
  font-family: var(--pk-text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pk-muted);
  border-bottom: 1px solid var(--pk-ink-2);
}
tbody tr,
tbody tr:nth-child(even),
tbody tr:nth-child(odd),
tbody td { background-color: transparent !important; }
tbody tr:hover td { background-color: rgba(122, 92, 20, 0.05) !important; }

/* ---------- Callouts ---------- */
.pk-honest,
.pk-care {
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--pk-surface);
  border: 1px solid var(--pk-line);
  border-inline-start: 4px solid var(--pk-accent);
  border-radius: 0 var(--pk-radius) var(--pk-radius) 0;
}
.pk-care { border-inline-start-color: var(--pk-ink-2); }
.pk-honest h3,
.pk-care h3 { margin: 0 0 10px; font-size: 1.08rem; }
.pk-honest p:last-child,
.pk-care p:last-child { margin-bottom: 0; }

/* ---------- Figures ---------- */
figure { margin: 26px 0; }
figure svg { max-width: 100%; height: auto; display: block; }
figcaption {
  margin-top: 10px;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--pk-muted);
}

/* ---------- Expanders ---------- */
.pk-faq { margin: 20px 0; }
.pk-faq details {
  border-bottom: 1px solid var(--pk-line);
  padding: 14px 0;
}
.pk-faq summary {
  cursor: pointer;
  font-family: var(--pk-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--pk-ink);
  list-style: none;
  padding-inline-start: 24px;
  position: relative;
}
.pk-faq summary::-webkit-details-marker { display: none; }
.pk-faq summary::before {
  content: "+";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--pk-accent);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
}
.pk-faq details[open] summary::before { content: "\2212"; }
.pk-a { padding: 10px 0 4px; padding-inline-start: 24px; }
.pk-a p:last-child { margin-bottom: 0; }

/* ---------- Calculator ---------- */
.pk-calc {
  margin: 26px 0;
  padding: 22px;
  background: var(--pk-surface);
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
}
.pk-calc label { display: block; margin: 12px 0 4px; font-size: 0.9rem; font-weight: 700; color: var(--pk-ink); }
.pk-calc input[type="number"] {
  width: 100%;
  max-width: 240px;
  padding: 10px 12px;
  border: 1px solid var(--pk-line);
  border-radius: var(--pk-radius);
  background: #ffffff;
  color: var(--pk-ink);
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.pk-calc input:focus { outline: 2px solid var(--pk-accent); outline-offset: 1px; }
.pk-calc output,
.pk-calc-result {
  display: block;
  margin-top: 14px;
  font-family: var(--pk-display);
  font-size: 1.4rem;
  color: var(--pk-ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- Footer: deep hue, three columns, five register facts ---------- */
.pk-footer {
  clear: both;
  width: 100%;
  margin-top: 56px;
  background: var(--pk-deep);
  color: var(--pk-on-deep);
  border-top: 3px solid var(--pk-accent-soft);
}
.pk-footer-inner {
  max-width: calc(var(--pk-measure) - (var(--pk-gutter) * 2));
  margin-inline: auto;
  padding: 40px 0 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 52px;
}
.pk-footer-brand { min-width: 0; }
.pk-footer-logo {
  display: block;
  font-family: var(--pk-display);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--pk-on-deep);
  margin-bottom: 12px;
}
.pk-footer-tagline {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #d7d3c9;
  margin: 0;
  max-width: 40ch;
}
.pk-footer-help,
.pk-footer-pages { min-width: 0; }
.pk-footer-help ul,
.pk-footer-pages ul { list-style: none; margin: 0; padding: 0; }
.pk-footer-help li,
.pk-footer-pages li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #d7d3c9;
  margin-bottom: 9px;
}
.pk-footer-head {
  font-family: var(--pk-text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pk-accent-soft);
  margin: 0 0 12px;
}
.pk-footer-help a,
.pk-footer-pages a,
.pk-footer-legal a {
  color: var(--pk-on-deep);
  text-decoration: underline;
  text-decoration-color: rgba(238, 234, 225, 0.45);
  text-underline-offset: 2px;
}
.pk-footer-help a:hover,
.pk-footer-pages a:hover,
.pk-footer-legal a:hover { color: var(--pk-accent-soft); }
.pk-footer-help strong { color: var(--pk-on-deep); }
.pk-footer-regulator {
  margin: 14px 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #ccc8be;
}
.pk-footer-legal {
  max-width: calc(var(--pk-measure) - (var(--pk-gutter) * 2));
  margin-inline: auto;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(238, 234, 225, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 0.84rem;
  color: #d7d3c9;
}
.pk-footer-legal p { margin: 0; color: #d7d3c9; }
.pk-footer-disclosure { flex: 1 1 340px; }
.pk-colophon { flex: 1 1 100%; font-size: 0.8rem; color: #c9c5bb; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .pk-nav-toggle { display: inline-flex; }
  .pk-nav { padding-bottom: 10px; }
  .pk-nav ul,
  .pk-nav .pk-nav-list {
    display: none;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
  }
  .pk-nav ul.pk-nav-open { display: flex; }
  .pk-nav > ul > li > a {
    padding: 11px 2px;
    border-bottom: 1px solid var(--pk-line);
    white-space: normal;
  }
  .menu-item-has-children > a::after { display: none; }
  .pk-nav .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    max-width: 100%;
    box-shadow: none;
    border: 0;
    border-inline-start: 2px solid var(--pk-line);
    border-radius: 0;
    padding: 4px 0 8px 12px;
    background: transparent;
  }
  .pk-nav li.pk-sub-open > .sub-menu { display: flex; }

  .pk-row {
    grid-template-columns: 30px minmax(0, 1fr) minmax(180px, 220px);
    grid-template-areas:
      "rank brand figures"
      "rank terms terms"
      "rank action action";
    gap: 8px 12px;
    padding: 12px 14px;
  }
  .pk-row-figures { justify-content: flex-start; }
  .pk-row-action { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
  .pk-row-small { text-align: start; }
}

@media (max-width: 900px) {
  .pk-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .pk-footer-tagline { max-width: none; }
  .pk-toc ul,
  .pk-toc ol { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --pk-gutter: 24px; }
  .pk-row {
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-areas:
      "rank brand"
      "rank figures"
      "rank terms"
      "rank action";
    gap: 8px 10px;
  }
  .pk-row-figures { gap: 20px; }
  .pk-row-action { flex-direction: column; align-items: stretch; }
  .pk-cta { width: 100%; }
  .pk-row-small { text-align: center; }
  .pk-tablewrap table { min-width: 620px; }
  .pk-standfirst { font-size: 1.04rem; }
}

@media (max-width: 599px) {
  :root { --pk-gutter: 16px; }
  .pk-header-inner { padding-top: 10px; gap: 10px; }
  .pk-brand-name { font-size: 1.1rem; }
  .pk-brand-tagline { font-size: 0.66rem; letter-spacing: 0.08em; }
  .pk-age-badge { width: 28px; height: 28px; flex-basis: 28px; font-size: 0.72rem; }
  .pk-nav-toggle { padding: 7px 10px; font-size: 0.85rem; }
  .pk-figure-value { font-size: 1.2rem; }
  .pk-tile { width: 48px; height: 48px; flex-basis: 48px; font-size: 0.92rem; }
  .pk-row { padding: 12px 12px; }
  .pk-board-disclosure { font-size: 0.83rem; }
}
