/*
Theme Name: AI Search Ready
Theme URI: https://aisearchready.com.au/
Author: AI Search Ready
Description: Particle-background theme for AI Search Ready. Business details, services, FAQs, menus, forms and page text are all editable from the WordPress admin.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ai-search-ready
*/

/* AI Search Ready shared styles. Edit the tokens below to change the brand colours and fonts. */
:root {
  --ink: #07070d;
  --paper: #ece8f4;
  --muted: #a39db8;
  --amber: #ffb35c;
  --violet: #6b5cff;
  --panel: rgba(10, 10, 18, 0.74);
  --line: rgba(236, 232, 244, 0.16);
  --warn: #ff9d8a;
  --font-display: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
  overflow-x: hidden;
}
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(7, 7, 13, 0.75) 100%);
}
a { color: var(--amber); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px;
}

header.top {
  position: fixed; z-index: 5; top: 0; left: 0; right: 0;
  padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
  padding-bottom: 12px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: linear-gradient(to bottom, rgba(7, 7, 13, 0.92), rgba(7, 7, 13, 0));
}
.brand { color: var(--paper); text-decoration: none; }
.brand span { color: var(--amber); }
header.top nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
header.top nav a { color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
header.top nav a:hover { color: var(--paper); }
header.top nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }

.wrap {
  position: relative; z-index: 2;
  max-width: 62rem; margin: 0 auto;
  padding-block: 150px 40px;
  display: grid; gap: 28px;
}
.wrap > * { min-width: 0; }
.tag { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin: 0 0 16px; }
h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.2rem, 7vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 20px; text-wrap: balance;
}
h1 em { font-style: normal; font-weight: 500; }
.lede { font-size: 15px; color: var(--muted); max-width: 52ch; margin: 0; }
.panel {
  background: var(--panel);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: clamp(18px, 4vw, 34px);
}
.panel h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; line-height: 1.35; margin: 0 0 10px; text-wrap: balance; }
.panel p { margin: 0; color: var(--muted); max-width: 66ch; }
.note { font-size: 12px; color: var(--muted); margin: 0; }

.qa { padding-block: 22px; border-top: 1px solid var(--line); }
.qa:first-child { border-top: 0; padding-top: 0; }
.qa:last-child { padding-bottom: 0; }

.split { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 0.8fr 1.2fr; } }
dl.details { margin: 0; display: grid; gap: 18px; }
dl.details dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
dl.details dd { margin: 4px 0 0; color: var(--paper); overflow-wrap: anywhere; }
dl.details dd.todo { color: var(--muted); font-style: italic; }

ol.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; counter-reset: s; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: 12px; }
ol.steps li::before { content: counter(s, decimal-leading-zero); color: var(--amber); font-size: 12px; letter-spacing: 0.1em; padding-top: 3px; }
ol.steps strong { display: block; color: var(--paper); font-weight: 500; }
ol.steps span { color: var(--muted); }
ul.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
ul.ticks li { padding-left: 22px; position: relative; color: var(--muted); }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 1px; background: var(--amber); }

form { display: grid; gap: 18px; }
.row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
label, legend { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  font: inherit; color: var(--paper); background: rgba(236, 232, 244, 0.05);
  border: 1px solid var(--line); padding: 12px 14px; width: 100%; min-width: 0; border-radius: 0;
}
input::placeholder, textarea::placeholder { color: rgba(163, 157, 184, 0.7); }
textarea { min-height: 130px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--paper); }
.checks input { accent-color: var(--amber); width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  font: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--amber); color: var(--ink); border: 0; padding: 15px 24px; cursor: pointer;
  justify-self: start; transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--paper); transform: translateY(-2px); }
.status { min-height: 1.4em; font-size: 13px; margin: 0; color: var(--muted); }
.status.ok { color: var(--amber); }
.status.warn { color: var(--warn); }

footer.site {
  position: relative; z-index: 2; max-width: 62rem; margin: 0 auto;
  padding-block: 20px calc(env(safe-area-inset-bottom, 0px) + 40px);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--amber); }

@media (max-width: 560px) {
  .wrap { padding-top: 130px; }
  header.top nav { gap: 6px 16px; }
}

/* Hamburger menu */
header.top { z-index: 12; }
body.menu-open header.top { background: none; }
.menu-btn {
  font: inherit; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper); background: rgba(7, 7, 13, 0.6); border: 1px solid var(--line);
  padding: 10px 14px; display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.menu-btn:hover { border-color: var(--amber); color: var(--amber); }
.bars { display: grid; gap: 4px; width: 18px; }
.bars i { display: block; height: 1px; background: currentColor; transition: transform 0.25s, opacity 0.25s; }
body.menu-open .bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .bars i:nth-child(2) { opacity: 0; }
body.menu-open .bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 10; overflow-y: auto;
  background: rgba(7, 7, 13, 0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 40px);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0 auto; padding: 0; max-width: 62rem; }
.menu li { border-top: 1px solid var(--line); }
.menu li:last-child { border-bottom: 1px solid var(--line); }
.menu a {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px;
  padding: 16px 0; text-decoration: none; color: var(--paper);
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 4.5vw, 2.3rem); line-height: 1.1;
}
.menu a small { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.04em; color: var(--muted); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--amber); }
body.menu-open { overflow: hidden; }

/* Extra layout bits */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.cards > * { min-width: 0; }
a.btn { display: inline-block; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); }
.btn.ghost:hover { background: transparent; border-color: var(--amber); color: var(--amber); }
.panel a:not(.btn) { color: var(--amber); }

/* Logo link */
.brand { display: inline-flex; align-items: center; min-height: 40px; cursor: pointer; transition: color 0.2s; }
.brand:hover, .brand:focus-visible { color: var(--amber); }
.brand:hover span, .brand:focus-visible span { color: var(--paper); }

/* Desktop: show page names in the header, hide the hamburger */
header.top .inline-nav { display: none; }
@media (min-width: 900px) {
  header.top .inline-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
  header.top .inline-nav a.cta-link { color: var(--amber); border: 1px solid var(--amber); padding: 8px 14px; }
  header.top .inline-nav a.cta-link:hover { background: var(--amber); color: var(--ink); }
  header.top .inline-nav a.cta-link[aria-current="page"] { background: var(--amber); color: var(--ink); }
  body.menu-open { overflow: auto; }
}

/* Header right group and phone link */
header.top .hdr-right { display: flex; align-items: center; gap: 10px 26px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 10px; color: var(--amber); text-decoration: none;
  border: 1px solid var(--line); padding: 10px; background: rgba(7, 7, 13, 0.6);
  font-size: 12px; letter-spacing: 0.1em; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.phone-link:hover { border-color: var(--amber); background: var(--amber); color: var(--ink); }
.phone-link span { display: none; }
@media (min-width: 1180px) {
  .phone-link { padding: 9px 14px; }
  .phone-link span { display: inline; }
}
footer.site a[href^="tel"] { color: var(--paper); }

/* Book a check sits right after the phone icon (desktop) */
header.top .hdr-book { display: none; }
@media (min-width: 900px) {
  header.top .hdr-book {
    display: inline-block; margin-left: -14px; text-decoration: none; white-space: nowrap;
    color: var(--amber); border: 1px solid var(--amber); background: rgba(7, 7, 13, 0.6);
    padding: 9px 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
  }
  header.top .hdr-book:hover, header.top .hdr-book[aria-current="page"] { background: var(--amber); color: var(--ink); }
}

/* Let an odd last card span the full row on wide screens */
@media (min-width: 760px) { .cards > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Services dropdown (desktop) and nested list (mobile menu) */
header.top nav a[aria-current="true"] { color: var(--amber); border-bottom-color: var(--amber); }
.menu a[aria-current="true"] { color: var(--amber); }
header.top .dd { position: relative; padding-bottom: 10px; margin-bottom: -10px; }
header.top .dd-menu {
  display: none; list-style: none; margin: 0; padding: 0;
}
header.top .dd-menu a { display: block; padding: 10px 16px; border-bottom: 0; white-space: nowrap; }
header.top .dd-menu a:hover { background: rgba(236, 232, 244, 0.06); color: var(--amber); }
.menu ul.sub { margin: 0 0 12px; padding: 0 0 0 1.25rem; max-width: none; }
.menu ul.sub li { border: 0; }
.menu ul.sub li:last-child { border: 0; }
.menu ul.sub a { padding: 8px 0; font-size: clamp(1rem, 3.4vw, 1.25rem); color: var(--muted); }
.menu ul.sub a:hover, .menu ul.sub a[aria-current="page"] { color: var(--amber); }

/* Breadcrumbs */
.crumbs { margin-bottom: -14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs [aria-current="page"] { color: var(--paper); }


/* ===== Header: top bar, floating pill, dropdowns, hamburger panel ===== */
.topbar {
  position: absolute; z-index: 14; top: 0; left: 0; right: 0; height: 30px;
  display: flex; align-items: center; justify-content: center; padding: 0 max(14px, env(safe-area-inset-left, 0px));
  background: rgba(107, 92, 255, 0.22); border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--paper);
}
.topbar a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(236, 232, 244, 0.4); }
.topbar a:hover { color: var(--amber); text-decoration-color: var(--amber); }
.topbar .tb-phone { position: absolute; right: max(14px, env(safe-area-inset-right, 0px)); text-decoration: none; display: none; }
@media (min-width: 900px) { .topbar .tb-phone { display: inline; } }
@media (max-width: 520px) { .topbar { font-size: 10px; } }

.pillbar { position: fixed; z-index: 15; top: 44px; left: 0; right: 0; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; transition: top 0.25s ease; }
.pillbar.scrolled { top: 10px; }
.pillbar > * { pointer-events: auto; }
.pillbar-in { position: relative; width: fit-content; max-width: 100%; }
.pill {
  display: flex; align-items: center; gap: 14px; padding: 7px 8px 7px 22px; border-radius: 999px;
  background: rgba(12, 11, 24, 0.72); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.pill .brand { white-space: nowrap; font-size: 12px; letter-spacing: 0.14em; margin-right: 6px; }
.pill .brand-logo img { height: 28px; }
.pill-nav { display: none; }
.pill-nav ul, .mega ul { list-style: none; margin: 0; padding: 0; }
.pill-cta {
  display: none; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--amber); color: var(--ink);
  text-decoration: none; font-weight: 500; white-space: nowrap; transition: background 0.2s, transform 0.2s;
}
.pill-cta:hover { background: var(--paper); transform: translateY(-1px); }
.pill-tel { display: none; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; color: var(--amber); border: 1px solid var(--line); transition: 0.2s; }
.pill-tel:hover { border-color: var(--amber); background: rgba(255, 179, 92, 0.1); }
.pill .menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin-left: auto;
  border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--paper); cursor: pointer; transition: 0.2s;
}
.pill .menu-btn:hover, .pill .menu-btn[aria-expanded="true"] { border-color: var(--amber); color: var(--amber); }
.pill .menu-btn .lbl { display: none; }
.bars { display: grid; gap: 4px; width: 16px; }
.bars i { display: block; height: 1.5px; background: currentColor; transition: transform 0.25s, opacity 0.25s; }
body.menu-open .bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .bars i:nth-child(2) { opacity: 0; }
body.menu-open .bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* Hamburger panel */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 110px); overflow: auto;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  padding: 26px 28px 24px; border-radius: 26px;
  background: rgba(11, 10, 22, 0.96); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  text-transform: none; letter-spacing: 0; font-size: 14px;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.mega[hidden] { display: block; }
.mega.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.mega-list { display: grid; grid-template-columns: 1fr; gap: 0 32px; }
.mega-list > li { border-bottom: 1px solid var(--line); }
.mega-list > li > a { display: block; padding: 12px 0 10px; font-family: var(--font-display); font-weight: 300; font-size: 1.15rem; color: var(--paper); text-decoration: none; letter-spacing: 0; }
.mega-list > li > a:hover, .mega-list a[aria-current="page"], .mega-list .current-menu-item > a { color: var(--amber); }
.mega-list .sub-menu { padding: 0 0 12px; }
.mega-list .sub-menu a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 13.5px; }
.mega-list .sub-menu a:hover, .mega-list .sub-menu .current-menu-item > a { color: var(--amber); }
.mega-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.mega-cta .btn { margin: 0; }
.mega-mail { display: block; text-align: center; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; }
.mega-mail a { color: var(--muted); }
.mega-mail a:hover { color: var(--amber); }
@media (min-width: 700px) {
  .mega-list { grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; }
  .mega-list > li.menu-item-has-children { grid-column: 1; grid-row: 1 / span 6; border-bottom: 0; }
  .mega-list > li.menu-item-has-children > a { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .mega-list > li:not(.menu-item-has-children) { grid-column: span 1; }
}
@media (max-width: 699px) { .mega { padding: 20px 20px 20px; } }

/* Desktop: names in the pill with dropdowns */
@media (min-width: 900px) {
  .pill { gap: 18px; padding-left: 26px; }
  .pill-nav { display: block; }
  .pill-cta { display: inline-flex; }
  .pill-tel { display: inline-flex; }
  .pill .menu-btn { margin-left: 0; }
  .inline-menu { display: flex; align-items: center; gap: 2px; }
  .inline-menu > li { position: relative; }
  .inline-menu > li > a { display: inline-flex; align-items: center; padding: 10px 12px; border: 0; border-radius: 999px; color: var(--paper); text-decoration: none; transition: color 0.2s, background 0.2s; }
  .inline-menu > li > a:hover, .inline-menu > li:focus-within > a, .inline-menu > li.open > a { background: rgba(236, 232, 244, 0.08); color: var(--paper); }
  .inline-menu > li > a[aria-current="page"], .inline-menu > li.current-menu-item > a, .inline-menu > li.current-menu-ancestor > a, .inline-menu > li > a[aria-current="true"] { color: var(--amber); }
  .inline-menu > li.menu-item-has-children > a::after { content: ""; width: 5px; height: 5px; margin: -3px 0 0 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; }
  .inline-menu > li.menu-item-has-children:hover > a::after, .inline-menu > li.menu-item-has-children.open > a::after { transform: rotate(225deg); margin-top: 3px; }
  .inline-menu .sub-menu {
    position: absolute; top: calc(100% + 6px); left: -8px; min-width: 250px; padding: 8px; border-radius: 18px;
    background: rgba(11, 10, 22, 0.97); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    text-transform: none; letter-spacing: 0; font-size: 13.5px;
  }
  .inline-menu > li.menu-item-has-children::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
  .inline-menu > li:hover > .sub-menu, .inline-menu > li:focus-within > .sub-menu, .inline-menu > li.open > .sub-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  .inline-menu .sub-menu li { display: block; }
  .inline-menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--paper); text-decoration: none; white-space: nowrap; }
  .inline-menu .sub-menu a:hover, .inline-menu .sub-menu a:focus-visible, .inline-menu .sub-menu a[aria-current="page"], .inline-menu .sub-menu .current-menu-item > a { background: rgba(236, 232, 244, 0.08); color: var(--amber); }
}
.wrap { padding-top: 168px; }
@media (min-width: 900px) { .wrap { padding-top: 176px; } }


/* ---- WordPress additions ---- */
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 14px; }
.admin-bar header.top { top: 32px; }
@media (max-width: 782px) { .admin-bar header.top { top: 46px; } }

.page-head > .lede { margin-top: 0; }
.entry { display: grid; gap: 28px; min-width: 0; }
.entry > * { min-width: 0; margin: 0; }
.entry > p.tag { margin: 0 0 -14px; }
.entry-extra > *:first-child { margin-top: 0; }
.cards > .wp-block-group__inner-container,
.split > .wp-block-group__inner-container,
.panel > .wp-block-group__inner-container { display: contents; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.panel p + p { margin-top: 12px; }
.panel .btnrow { margin-top: 22px; }
.panel .cards, .panel .faq-list { margin: 0; }
.panel > .btn, .panel > a.btn { justify-self: start; }
.panel h2.wp-block-heading, .panel h2 { margin-top: 0; }
.panel > h2 + * { margin-top: 12px; }
.faq-list .qa:first-child { padding-top: 0; }

/* Editable forms */
.fields { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } }
.fields > .field { min-width: 0; }
.fields > .field.full { grid-column: 1 / -1; }

/* Keep the header clear of the WordPress admin bar when logged in */
.admin-bar .topbar { top: 32px; }
.admin-bar .pillbar { top: 76px; }
.admin-bar .pillbar.scrolled { top: 42px; }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } .admin-bar .pillbar { top: 90px; } .admin-bar .pillbar.scrolled { top: 56px; } }

/* Logo */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo .custom-logo-link { display: inline-flex; }
.brand-logo img { height: 34px; width: auto; max-width: 220px; display: block; }

/* Article (blog / Insights) body spacing */
.entry section.panel > * { margin: 0 0 16px; }
.entry section.panel > h2 { margin-top: 34px; }
.entry section.panel > h3 { margin-top: 26px; }
.entry section.panel > *:first-child { margin-top: 0; }
.entry section.panel > *:last-child { margin-bottom: 0; }
.entry section.panel ul { padding-left: 1.2em; display: grid; gap: 8px; }
.entry section.panel a { color: var(--amber); }
.post-meta { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Footer columns */
footer.site .footer-cols { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding-bottom: 12px; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); }
footer.site .footer-cols > * { min-width: 0; }
footer.site .footer-cols h3, footer.site .footer-cols .widget-title { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin: 0 0 12px; }
footer.site .footer-cols p { margin: 0; color: var(--muted); }
footer.site .footer-cols a { color: var(--paper); text-decoration: none; }
footer.site .footer-cols a:hover { color: var(--amber); }
footer.site .footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site .footer-cols .wp-block-group > * + * { margin-top: 10px; }
footer.site .footer-cols dl.details { gap: 12px; }
footer.site .footer-cols dl.details dd { color: var(--paper); }
.social { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; margin-left: 18px; }
.social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Footer */
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
footer.site .legal { flex-basis: 100%; }
footer.site a[href^="tel"] { color: var(--paper); }
