/* AK_INNER_V2 (2 Dec 2026) — inner pages restyled to match the new home page. Design only: no content changes.
   Scope: every page that uses the theme's .av-site wrapper or the overseas .ob-page wrapper. */
:root{
  --i-ink:#0d2a3a;--i-text:#45606f;--i-muted:#6d8390;--i-line:#dce8ec;
  --i-teal:#087fa3;--i-teal-d:#00546e;--i-hl:#0f86b4;
  --i-c1:#0878ba;--i-c2:#dc7b24;--i-c3:#7350bc;--i-c4:#078b80;--i-c5:#cb4c78;--i-c6:#536bc2;
  --i-c1s:#e3f2fb;--i-c2s:#fdf0e2;--i-c3s:#efe9fa;--i-c4s:#e0f4f1;--i-c5s:#fbe7ee;--i-c6s:#e8ecfa;
  --i-shadow:0 24px 50px -28px rgba(13,42,58,.35);
  --i-head:Sora,Arial,sans-serif;--i-sans:Manrope,"DM Sans",Arial,sans-serif;
}

/* ---------- base typography ---------- */
html body .av-site,html body .ob-page{font-family:var(--i-sans);color:var(--i-text);background:#fff}
html body .av-site :is(h1,h2,h3,h4),html body .ob-page :is(h1,h2,h3,h4){font-family:var(--i-head);color:var(--i-ink);letter-spacing:-.02em}
html body .av-site h1,html body .ob-page h1{font-weight:700}
html body .av-site :is(h1,h2) em,html body .ob-page :is(h1,h2) em{font-style:normal;color:var(--i-hl);background:none;-webkit-text-fill-color:currentColor}
html body .av-site p,html body .ob-page p{color:inherit}

/* labels: teal caps with an orange dot, like the home page */
html body .av-site .eyebrow,html body .ob-page .ob-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--i-teal);font:800 12px/1.2 var(--i-sans);letter-spacing:.12em;text-transform:uppercase;background:none;border:0;padding:0}
html body .av-site .eyebrow::before,html body .ob-page .ob-kicker::before{content:"";width:8px;height:8px;border-radius:50%;background:#f28c28;flex:none}
html body .av-site .eyebrow .heading-dot{display:none}

/* ---------- breadcrumb + page top (hero) ---------- */
html body .av-site>.breadcrumb,html body .ob-page .ob-breadcrumb{font-size:13px;color:var(--i-muted)}
html body .av-site>.breadcrumb a,html body .ob-page .ob-breadcrumb a{color:var(--i-teal)}
html body .av-site .page-hero,html body .av-site .av-page-hero,html body .ob-page .ob-page-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#f3faff 38%,#e4f5ff 100%)!important;border:0;box-shadow:none}
html body .av-site .page-hero::before,html body .ob-page .ob-page-hero::before{content:"";position:absolute;width:640px;height:640px;right:-180px;top:-200px;border-radius:50%;background:radial-gradient(circle,rgba(110,224,220,.34),transparent 62%);pointer-events:none;z-index:0}
html body .av-site .page-hero>*:not(.inner-hero-emblem),html body .ob-page .ob-page-hero>*:not(.inner-hero-emblem){position:relative;z-index:1}
html body .av-site .page-hero>.inner-hero-emblem,html body .ob-page .ob-page-hero>.inner-hero-emblem{z-index:1}
html body .av-site .page-hero h1{color:var(--i-ink)}
html body .av-site .inner-hero-emblem{background:linear-gradient(135deg,#21a9e0,#0878ba)!important;color:#fff!important;border:0!important;border-radius:20px!important;box-shadow:0 14px 30px -12px rgba(8,120,186,.55)!important}
html body .av-site .inner-hero-emblem svg{color:#fff!important;stroke:#fff}
html body .av-site .service-hero-photo img,html body .av-site .about-hero-grid img{border-radius:22px}

/* ---------- buttons ---------- */
html body .av-site .button,html body .av-site .form-submit,html body .ob-page .ob-button,html body .av-site .ak-pn-card .button{background:linear-gradient(90deg,#0b6fa6,#0f8aa8)!important;color:#fff!important;border:0!important;border-radius:12px!important;box-shadow:0 12px 24px -12px rgba(8,127,163,.7);font-weight:700}
html body .av-site .button:hover,html body .av-site .form-submit:hover,html body .ob-page .ob-button:hover{background:linear-gradient(90deg,#00546e,#087fa3)!important}
html body .av-site .button-outline,html body .ob-page .ob-secondary{background:#fff!important;color:var(--i-ink)!important;border:2px solid var(--i-line)!important;box-shadow:none}
html body .av-site .button-outline:hover,html body .ob-page .ob-secondary:hover{border-color:var(--i-teal)!important;color:var(--i-teal)!important}
html body .av-site .text-link,html body .av-site .af-text-link{color:var(--i-teal);font-weight:700}

/* ---------- section rhythm + colours (same bands as the home page) ---------- */
html body .av-site .section,html body .ob-page .ob-page-section{padding-top:60px;padding-bottom:60px}
html body .av-site .soft-section,html body .av-site .directory-section{background:#edf5fc!important}
html body .av-site .process-section{background:#faf6ed!important}
html body .av-site .inner-specialists{background:#e4f1fc!important}
html body .av-site .av-callback{background:#edf6fc!important}
html body .ob-page .ob-tinted{background:#edf5fc!important}
html body .ob-page .ob-mint{background:#eaf5ef!important}

/* "expertise" question sections = dark slate band, like the home FAQ */
html body .av-site section.av-standalone-guide{background:#284e65!important}
html body .av-site section.av-standalone-guide .av-guide-heading :is(h2,h3){color:#fff}
html body .av-site section.av-standalone-guide .av-guide-heading :is(p,span:not(.eyebrow)){color:#c9dbe6}
html body .av-site section.av-standalone-guide .eyebrow{color:#9fdcf0}
html body .av-site section.av-standalone-guide .av-guide-tools button{background:#fff;color:var(--i-ink);border-color:transparent}

/* section heading icons: gradient tiles */
html body .av-site .inner-section-symbol,html body .av-site .section-symbol,html body .av-site .av-section-no{background:linear-gradient(135deg,#12bfa6,#078b80)!important;color:#fff!important;border:0!important;border-radius:12px!important;box-shadow:0 6px 14px -6px rgba(7,139,128,.6)}
html body .av-site .inner-section-symbol svg,html body .av-site .section-symbol svg{color:#fff;stroke:#fff}

/* ---------- cards: white, coloured top edge, soft shadow on hover ---------- */
html body .av-site :is(.service-card,.value-panel,.office-card,.portal-card,.article-card,.contact-method,.content-block,.quote-card,.ak-pn-card,.brochure-card,.audience-callout,.practice-note,.coverage-panel),
html body .ob-page :is(.ob-deliverable,.ob-content-panel){background:#fff!important;border:1px solid var(--i-line)!important;border-top:4px solid var(--k,var(--i-c1))!important;border-radius:18px!important;box-shadow:none;transition:box-shadow .2s,transform .2s}
html body .av-site :is(.service-card,.value-panel,.office-card,.portal-card,.article-card,.contact-method,.ak-pn-card):hover,
html body .ob-page .ob-deliverable:hover{box-shadow:var(--i-shadow);transform:translateY(-3px)}
html body .av-site .family-blue{--k:var(--i-c1);--ks:var(--i-c1s)}
html body .av-site .family-teal{--k:var(--i-c4);--ks:var(--i-c4s)}
html body .av-site .family-green{--k:#1fa37a;--ks:#e1f6ee}
html body .av-site .family-amber{--k:var(--i-c2);--ks:var(--i-c2s)}
html body .av-site .family-violet{--k:var(--i-c3);--ks:var(--i-c3s)}
/* cards that have no family class: cycle colours so each grid is colourful */
html body .av-site :is(.office-grid,.portal-grid,.article-grid,.outcome-grid,.related-grid,.ak-pn-choice)>:nth-child(6n+1),html body .ob-page .ob-deliverable-grid>:nth-child(6n+1){--k:var(--i-c1);--ks:var(--i-c1s)}
html body .av-site :is(.office-grid,.portal-grid,.article-grid,.outcome-grid,.related-grid,.ak-pn-choice)>:nth-child(6n+2),html body .ob-page .ob-deliverable-grid>:nth-child(6n+2){--k:var(--i-c2);--ks:var(--i-c2s)}
html body .av-site :is(.office-grid,.portal-grid,.article-grid,.outcome-grid,.related-grid,.ak-pn-choice)>:nth-child(6n+3),html body .ob-page .ob-deliverable-grid>:nth-child(6n+3){--k:var(--i-c3);--ks:var(--i-c3s)}
html body .av-site :is(.office-grid,.portal-grid,.article-grid,.outcome-grid,.related-grid,.ak-pn-choice)>:nth-child(6n+4),html body .ob-page .ob-deliverable-grid>:nth-child(6n+4){--k:var(--i-c4);--ks:var(--i-c4s)}
html body .av-site :is(.office-grid,.portal-grid,.article-grid,.outcome-grid,.related-grid,.ak-pn-choice)>:nth-child(6n+5),html body .ob-page .ob-deliverable-grid>:nth-child(6n+5){--k:var(--i-c5);--ks:var(--i-c5s)}
html body .av-site :is(.office-grid,.portal-grid,.article-grid,.outcome-grid,.related-grid,.ak-pn-choice)>:nth-child(6n+6),html body .ob-page .ob-deliverable-grid>:nth-child(6n+6){--k:var(--i-c6);--ks:var(--i-c6s)}
html body .av-site .contact-method:nth-child(1){--k:var(--i-c1)}html body .av-site .contact-method:nth-child(2){--k:#1fa855}html body .av-site .contact-method:nth-child(3){--k:var(--i-c2)}html body .av-site .contact-method:nth-child(4){--k:var(--i-c3)}
/* icons inside cards pick up the card colour */
html body .av-site :is(.service-card,.value-panel,.office-card,.portal-card,.contact-method,.ak-pn-card) :is(.service-icon,.office-icon,.card-arrow,.deliverable-icon),
html body .av-site .service-card-top>span:first-child{background:var(--ks,var(--i-c1s))!important;color:var(--k,var(--i-c1))!important;border:0!important;border-radius:12px}
html body .av-site .card-category{color:var(--k,var(--i-teal))!important;font-weight:800}
html body .av-site .service-card-link,html body .av-site .article-card .text-link{color:var(--k,var(--i-teal))!important}
html body .av-site .article-card .article-image{border-radius:14px 14px 0 0;overflow:hidden}
html body .av-site .article-card{overflow:hidden}

/* filter chips / anchor nav */
html body .av-site .filter-chips button,html body .av-site .service-anchor-nav a{border-radius:999px!important;border:1px solid var(--i-line)!important;background:#fff!important;color:var(--i-ink)!important}
html body .av-site .family-choice{background:#fff!important;border:1px solid var(--i-line)!important;border-top:4px solid var(--k,var(--i-c1))!important;border-radius:16px!important;color:var(--i-ink)!important}
html body .av-site .family-choice .family-choice-icon{background:var(--ks,var(--i-c1s))!important;color:var(--k,var(--i-c1))!important;border-radius:12px}
html body .av-site .family-navigator>:nth-child(1){--k:var(--i-c1);--ks:var(--i-c1s)}html body .av-site .family-navigator>:nth-child(2){--k:var(--i-c2);--ks:var(--i-c2s)}html body .av-site .family-navigator>:nth-child(3){--k:var(--i-c3);--ks:var(--i-c3s)}html body .av-site .family-navigator>:nth-child(4){--k:var(--i-c4);--ks:var(--i-c4s)}html body .av-site .family-navigator>:nth-child(5){--k:var(--i-c5);--ks:var(--i-c5s)}
html body .av-site .filter-chips button[aria-pressed=true],html body .av-site .filter-chips button.is-active,html body .av-site .family-choice[aria-pressed=true]{background:var(--ks,var(--i-c1s))!important}
html body .av-site .service-anchor-nav{background:#fff;border-bottom:1px solid var(--i-line)}

/* ---------- question lists (accordions) ---------- */
html body .av-site details.av-guide-topic{background:#fff!important;border:1px solid var(--i-line)!important;border-left:4px solid var(--k,var(--i-c1))!important;border-radius:14px!important;margin-bottom:10px;box-shadow:none}
html body .av-site details.av-guide-topic:nth-of-type(5n+1){--k:var(--i-c1)}
html body .av-site details.av-guide-topic:nth-of-type(5n+2){--k:var(--i-c2)}
html body .av-site details.av-guide-topic:nth-of-type(5n+3){--k:var(--i-c3)}
html body .av-site details.av-guide-topic:nth-of-type(5n+4){--k:var(--i-c4)}
html body .av-site details.av-guide-topic:nth-of-type(5n+5){--k:var(--i-c5)}
html body .av-site details.av-guide-topic[open]{box-shadow:0 10px 24px -18px rgba(8,127,163,.6)}
html body .av-site details.av-guide-topic .av-topic-index{color:var(--k,var(--i-teal));font-weight:800}
html body .av-site details.av-guide-topic .av-topic-toggle{background:var(--i-c1s);color:var(--i-teal);border-radius:50%}
html body .av-site details.av-guide-topic[open] .av-topic-toggle{background:var(--k,var(--i-teal));color:#fff}
html body .av-site .faq-list details{border-left:4px solid var(--i-teal);border-radius:12px}

/* steps */
html body .av-site .step-number{background:linear-gradient(135deg,#21a9e0,#0878ba)!important;color:#fff!important;border:0!important;border-radius:50%!important;box-shadow:0 8px 18px -8px rgba(8,120,186,.6)}
html body .av-site .process-section article:nth-child(2) .step-number,html body .av-site .process-section li:nth-child(2) .step-number{background:linear-gradient(135deg,#f5b04f,#dc7b24)!important}
html body .av-site .process-section article:nth-child(3) .step-number,html body .av-site .process-section li:nth-child(3) .step-number{background:linear-gradient(135deg,#a17be1,#7350bc)!important}
html body .av-site .deliverable-index{color:var(--i-c2);font-weight:800}
html body .av-site .check-list li::marker,html body .av-site .documents-list li::marker{color:var(--i-c4)}

/* ---------- enquiry form panel (same as home) ---------- */
html body .av-site .enquiry-panel{background:#fff!important;border:1px solid var(--i-line)!important;border-top:4px solid var(--i-teal)!important;border-radius:22px!important;box-shadow:var(--i-shadow)!important}
html body .av-site .av-callback-phone{border-radius:14px}
html body .av-site .av-callback-benefits>*{border-radius:14px}

/* ---------- articles (blog posts) ---------- */
html body .av-site .rich-content :is(h2,h3){color:var(--i-ink)}
html body .av-site .rich-content a{color:var(--i-teal)}
html body .av-site .rich-content table{border-collapse:separate;border-spacing:0;border:1px solid var(--i-line);border-radius:14px;overflow:hidden}
html body .av-site .rich-content th{background:#edf5fc;color:var(--i-ink)}
html body .av-site .av-reading-progress{background:linear-gradient(90deg,#0b6fa6,#109a9f)}
html body .av-site .article-end{border-radius:18px}

/* ---------- tighter spacing on phones ---------- */
@media (max-width:720px){
  html body .av-site .section,html body .ob-page .ob-page-section{padding-top:44px;padding-bottom:44px}
  html body .av-site .page-hero::before,html body .ob-page .ob-page-hero::before{width:380px;height:380px;right:-160px;top:-160px}
}
@media (prefers-reduced-motion:reduce){html body .av-site *,html body .ob-page *{transition:none!important}}
