/* Guden Solicitors | Brand foundation | 26 November 2026
   Site Settings > More > Custom CSS.
   Native font and colour defaults are saved separately in Site Settings.
   Preserve existing block layout, image treatments and font sizes. */
:root {
  --gl-red: #991111;
  --gl-red-dark: #6E0C0C;
  --gl-red-tint: #F6E7E7;
  --gl-black: #000000;
  --gl-white: #FFFFFF;
  --gl-grey: #4D4D4D;
  --gl-line: #E5E5E5;
  --gl-surface: #F7F7F7;
  --gl-font: 'CEnturyGothic', 'Century Gothic', Arial, sans-serif;
  --gl-weight-regular: 400;
  --gl-weight-bold: 700;
  --gl-body-size: 18px;
  --gl-body-leading: 1.6;
  --gl-copy-width: 72ch;
  --gl-radius: 20px;
  --gl-space-1: 8px;
  --gl-space-2: 16px;
  --gl-space-3: 24px;
  --gl-space-4: 32px;
  --gl-space-6: 48px;
  --gl-space-8: 64px;
}

html { accent-color: var(--gl-red); }
::selection { background: var(--gl-red); color: var(--gl-white); }

/* Positive scope: existing booking CTAs and new opt-in primary buttons.
   Preserve secondary, consent, payment and popup controls, plus all geometry. */
html body #allrecords .t-rec :is(.t-btn[href^="https://gudenlaw.eu.cliogrow.com/book"], .gl-button--primary) {
  background-color: var(--gl-red) !important;
  border-color: var(--gl-red) !important;
  color: var(--gl-white) !important;
  font-weight: var(--gl-weight-bold);
}
html body #allrecords .t-rec :is(.t-btn[href^="https://gudenlaw.eu.cliogrow.com/book"], .gl-button--primary):is(:hover, :focus-visible) {
  background-color: var(--gl-red-dark) !important;
  border-color: var(--gl-red-dark) !important;
}

/* Underline text links so colour is not their only distinguishing feature.
   Block-specific text colours are preserved, including white on dark areas. */
#allrecords :is(.t-text, .t-descr) a[href]:not(.t-btn):not(.t-btntext) {
  text-decoration-line: underline !important;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

/* The white separation ring keeps focus visible on dark and burgundy areas. */
html :is(a[href], button, input, textarea, select, summary, [tabindex], [role="button"]):focus-visible {
  outline: 3px solid var(--gl-red);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--gl-white);
}
.t-input:focus,
.t-input-group input:focus,
.t-input-group textarea:focus,
.t-input-group select:focus { border-color: var(--gl-red) !important; }

/* Keep footer text links readable when the native hover default is black. */
#allrecords footer a[href]:not(.t-btn):not(.t-submit):is(:hover, :focus-visible) {
  color: var(--gl-white) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
}

a, .t-btn, .t-submit {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

/* Reusable classes for new sections; existing headings keep their sizing. */
.gl-heading {
  font-family: var(--gl-font);
  font-weight: var(--gl-weight-bold);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.gl-copy {
  font-family: var(--gl-font);
  font-size: var(--gl-body-size);
  font-weight: var(--gl-weight-regular);
  line-height: var(--gl-body-leading);
  max-width: var(--gl-copy-width);
}
.gl-button--secondary {
  background-color: var(--gl-white) !important;
  border: 1px solid var(--gl-red) !important;
  color: var(--gl-red) !important;
}
.gl-button--secondary:is(:hover, :focus-visible) {
  background-color: var(--gl-red-tint) !important;
}
.gl-surface--dark { background-color: var(--gl-black); color: var(--gl-white); }
.gl-surface--dark a:not(.t-btn):not(.t-submit) { color: var(--gl-white); }

@media (prefers-reduced-motion: reduce) {
  a, .t-btn, .t-submit { transition: none !important; }
}
@media (forced-colors: active) {
  html :is(a[href], button, input, textarea, select, summary, [tabindex], [role="button"]):focus-visible {
    outline: 3px solid Highlight !important;
    box-shadow: none !important;
  }
}

/* FAQ accordion (.gdn-faq) used on legal services pages and Insights posts | 27 November 2026 */
.gdn-faq{--gdn-accent:#991111;--gdn-ink:#0E1F2B;--gdn-font:inherit;--gdn-body:#4A5764;--gdn-line:#E3E7EA;--gdn-tint:#ffe5e5;--gdn-max:860px;font-family:var(--gdn-font);color:var(--gdn-body);max-width:var(--gdn-max);margin:0 auto;padding:56px 20px 64px;-webkit-font-smoothing:antialiased}.gdn-faq *,.gdn-faq *::before,.gdn-faq *::after{box-sizing:border-box}.gdn-faq__eyebrow{margin:0 0 12px;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--gdn-accent)}.gdn-faq__title{margin:0 0 14px;font-size:clamp(26px,3.4vw,36px);line-height:1.2;font-weight:600;letter-spacing:-.01em;color:var(--gdn-ink)}.gdn-faq__dot{opacity:.5;margin:0 4px}.gdn-faq__intro{margin:0 0 22px;max-width:62ch;font-size:17px;line-height:1.65}.gdn-faq__routes{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;padding:0;list-style:none}.gdn-faq__routes li{padding:6px 12px;border:1px solid var(--gdn-line);border-left:2px solid var(--gdn-accent);background:#fff;font-size:13px;font-weight:600;letter-spacing:.01em;color:var(--gdn-ink)}.gdn-faq__meta{margin:0 0 34px;padding-left:14px;border-left:1px solid var(--gdn-line);max-width:62ch;font-size:13px;line-height:1.6;color:#7A8794}.gdn-faq__meta time{font-weight:600;color:var(--gdn-body)}.gdn-faq__list{border-top:1px solid var(--gdn-line)}.gdn-faq__item{border-bottom:1px solid var(--gdn-line);transition:background-color .2s ease}.gdn-faq__item[open]{background:var(--gdn-tint)}.gdn-faq__q{display:flex;align-items:flex-start;gap:20px;padding:22px 20px 22px 22px;cursor:pointer;list-style:none;font-size:17px;line-height:1.45;font-weight:600;color:var(--gdn-ink);border-left:2px solid transparent;transition:border-color .2s ease,color .2s ease}.gdn-faq__q::-webkit-details-marker{display:none}.gdn-faq__q:hover{color:var(--gdn-accent)}.gdn-faq__item[open]>.gdn-faq__q{border-left-color:var(--gdn-accent)}.gdn-faq__q:focus-visible{outline:2px solid var(--gdn-accent);outline-offset:-3px}.gdn-faq__mark{flex:0 0 auto;width:14px;height:14px;margin-top:5px;margin-left:auto;position:relative;transition:transform .25s ease}.gdn-faq__mark::before,.gdn-faq__mark::after{content:'';position:absolute;inset:0;margin:auto;background:var(--gdn-accent)}.gdn-faq__mark::before{width:14px;height:1.5px}.gdn-faq__mark::after{width:1.5px;height:14px}.gdn-faq__item[open] .gdn-faq__mark{transform:rotate(135deg)}.gdn-faq__a{padding:0 62px 26px 22px;animation:gdn-reveal .26s ease both}.gdn-faq__a p{margin:0 0 12px;font-size:16px;line-height:1.7}.gdn-faq__a p:last-of-type{margin-bottom:0}.gdn-faq__a ul,.gdn-faq__a ol{margin:0 0 12px;padding-left:18px;font-size:16px;line-height:1.7}.gdn-faq__a li{margin-bottom:6px}.gdn-faq__a a{color:var(--gdn-accent);text-decoration:underline;text-underline-offset:.2em}.gdn-faq__fig{font-weight:600;color:var(--gdn-accent);font-variant-numeric:tabular-nums;white-space:nowrap}.gdn-faq__stamp{margin:16px 0 0;padding-top:10px;border-top:1px solid var(--gdn-line);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#7A8794}@keyframes gdn-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.gdn-faq__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin-top:34px}.gdn-faq__note{margin:0;max-width:52ch;font-size:13px;line-height:1.6;color:#7A8794}.gdn-faq__cta{display:inline-block;padding:13px 26px;background:var(--gdn-accent);color:#fff;font-size:14px;font-weight:600;letter-spacing:.02em;text-decoration:none;white-space:nowrap;transition:opacity .2s ease}.gdn-faq__cta:hover,.gdn-faq__cta:focus{opacity:.86;color:#fff}@media (max-width:640px){.gdn-faq{padding:40px 16px 48px}.gdn-faq__intro{font-size:16px}.gdn-faq__routes li{font-size:12px;padding:5px 10px}.gdn-faq__q{padding:18px 14px 18px 16px;gap:14px;font-size:16px}.gdn-faq__a{padding:0 16px 22px 16px}.gdn-faq__a p,.gdn-faq__a ul,.gdn-faq__a ol{font-size:15px}.gdn-faq__cta{width:100%;text-align:center}}@media (prefers-reduced-motion:reduce){.gdn-faq *{animation:none!important;transition:none!important}}

/* "Related services" line at the end of each legal services page | 27 November 2026
   Matches only a paragraph with two or more /services/ links that sits directly before the Book a Consultation link. */
#allrecords .t467__descr p:has(+ p > a[href*="cliogrow.com/book"]):has(> a[href^="/services/"] ~ a[href^="/services/"]) {
  margin: 48px 0 32px !important;
  padding: 28px 0 28px !important;
  border-top: 1px solid var(--gl-line);
  border-bottom: 1px solid var(--gl-line);
  line-height: 2.2 !important;
  word-spacing: 0.15em;
}
#allrecords .t467__descr p:has(+ p > a[href*="cliogrow.com/book"]):has(> a[href^="/services/"] ~ a[href^="/services/"]) > a {
  display: inline-block;
  margin: 0 6px;
  word-spacing: normal;
}
@media screen and (max-width: 640px) {
  #allrecords .t467__descr p:has(+ p > a[href*="cliogrow.com/book"]):has(> a[href^="/services/"] ~ a[href^="/services/"]) {
    margin: 36px 0 24px !important;
    padding: 22px 0 !important;
    line-height: 2.4 !important;
  }
}

/* Dark mode: outline buttons on cards (e.g. homepage expertise cards) follow the page inversion,
   so the black outline and text become white instead of black on black | 27 November 2026 */
html.gl-dark #allrecords .t-btn.t-card__btn { filter: none !important; }
