/* Site-wide additions to the imported GeneratePress / GenerateBlocks CSS. */

/* Sticky navigation (replaces GP Premium sticky.min.js). Matches live: navy bar, icon logo,
   56px line height, soft shadow, fade-in. */
#site-navigation.navigation-stick {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100% !important;
  z-index: 500;
  background-color: var(--contrast-2) !important;
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, .2);
  animation: cc-fade-in .3s ease;
}
@keyframes cc-fade-in { from { opacity: 0; } to { opacity: 1; } }
#site-navigation.navigation-stick .inside-navigation.grid-container { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
@media (max-width: 1230px) {
  #site-navigation.navigation-stick .inside-navigation.grid-container { padding-left: 20px; padding-right: 20px; }
}

/* Cookie banner in the site's colours */
#cc-main {
  --cc-font-family: Archivo, sans-serif;
  --cc-btn-primary-bg: var(--accent, #8ac44d);
  --cc-btn-primary-color: var(--contrast-2, #1c3145);
  --cc-btn-primary-border-color: var(--accent, #8ac44d);
  --cc-btn-primary-hover-bg: var(--base-2, #36c5f4);
  --cc-btn-primary-hover-color: var(--contrast, #09162a);
  --cc-btn-primary-hover-border-color: var(--base-2, #36c5f4);
  --cc-btn-secondary-bg: #f4f8fa;
  --cc-btn-secondary-color: var(--contrast-2, #1c3145);
  --cc-toggle-on-bg: var(--base, #2b7bc0);
  --cc-btn-border-radius: 8px;
  --cc-modal-border-radius: 10px;
}

/* Fix (live fault): header GET A QUOTE text sat at the top of the button. Match the phone button. */
#site-navigation .gb-element-hero007 > a.gb-element-fe84a93f { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; }

/* Cookie preferences button (bottom left, as the live cookie icon) */
.cc-reopen { position: fixed; left: 16px; bottom: 16px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--base, #2b7bc0); color: #fff; font-size: 20px; line-height: 44px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); padding: 0; }
.cc-reopen:hover, .cc-reopen:focus { background: var(--contrast-2, #1c3145); }

/* Fix (live fault): on tablet/mobile the transparent header overlapped the hero's first lines.
   Below the menu breakpoint the header becomes a solid navy bar above the hero. */
@media (max-width: 1230px) {
  .header-wrap { position: relative; background-color: var(--contrast-2, #1c3145); }
  .header-wrap .site-header { background: transparent; }
}

/* One hero height on every page (desktop), so the trust strip ("Digital Log Every Visit",
   "100% Satisfaction Guarantee" …) sits above the fold on a 1440×754 screen and larger.
   The hero is the first block of the page content that holds the H1. Content is centred
   vertically; if a hero has more text than fits, it starts at the top instead (safe center).
   Contact and thank-you pages keep their short hero so the form stays high. */
@media (min-width: 1025px) {
  body.page:not(.page-id-649):not(.page-id-17418) .entry-content > :first-child:has(h1) {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 590px !important;
    padding-top: 112px !important;
    padding-bottom: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    justify-content: safe center !important;
    overflow: hidden;
  }
  body.page:not(.page-id-649):not(.page-id-17418) .entry-content > :first-child:has(h1) > * {
    padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important;
    width: 100%; box-sizing: border-box;
  }
  body.page:not(.page-id-649):not(.page-id-17418) .entry-content > :first-child:has(h1) h1 {
    font-size: clamp(34px, 3vw, 42px) !important; line-height: 1.1 !important; margin-bottom: 14px !important; letter-spacing: -.5px;
  }
  body.page:not(.page-id-649):not(.page-id-17418) .entry-content > :first-child:has(h1) h1 ~ p { margin-bottom: 12px !important; }
  body.page:not(.page-id-649):not(.page-id-17418) .entry-content > :first-child:has(h1) h1 ~ p.cc-fs-lead { margin-bottom: 24px !important; }
  body.page .entry-content > :first-child:has(h1) .wp-block-button__link.cc-fs-small { padding: 6px 12px !important; }
  body.page .entry-content > :first-child:has(h1) .wp-block-buttons:has(.cc-fs-small) { gap: 8px !important; margin-top: 20px !important; }
  body.page:not(.page-id-649):not(.page-id-17418) .entry-content > :first-child:has(h1) h1 ~ p + p { margin-top: -4px !important; }
  body.page:not(.page-id-649):not(.page-id-17418) .entry-content > :first-child:has(h1) p:first-child { margin-bottom: 10px !important; }
  body.page:not(.page-id-649):not(.page-id-17418) .entry-content > :first-child:has(h1) .gb-element-hero007 { margin-top: 4px !important; margin-bottom: 0 !important; }
  /* Compact trust strip */
  .gb-element-feat001 > .gb-element-feat002 { padding-top: 16px !important; padding-bottom: 14px !important; }
}

/* ---------------------------------------------------------------------------
   Mega menu (desktop ≥1231px), same pattern as tidyshift.com, in Craddock's colours.
   Panels sit full width under the header (or under the sticky bar when scrolled).
   --------------------------------------------------------------------------- */
.cc-mega { display: none; }
@media (min-width: 1231px) {
  .cc-mega { display: block; }
  /* the old dropdown lists stay for mobile only */
  #site-navigation .main-nav > ul > li.cc-has-mega > .sub-menu { display: none !important; }
  #site-navigation .main-nav > ul > li.cc-has-mega .dropdown-menu-toggle .gp-icon { transition: transform .2s ease; }
  #site-navigation .main-nav > ul > li.cc-has-mega.cc-open .dropdown-menu-toggle .gp-icon { transform: rotate(180deg); }
  #site-navigation .main-nav > ul > li.cc-has-mega.cc-open > a { color: var(--accent); }

  .cc-mega__panel {
    position: fixed;
    left: 0; right: 0;
    top: var(--cc-mega-top, 125px);
    z-index: 600;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 18px 40px -12px rgba(9, 22, 42, .25);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease;
  }
  .cc-mega__panel[hidden] { display: none; }
  .cc-mega__panel.is-open { opacity: 1; transform: none; }

  .cc-mega__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 40px 36px;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 32px;
    align-items: start;
  }
  .cc-mega__groups { display: grid; gap: 8px 24px; }
  .cc-mega__groups--2 { grid-template-columns: repeat(2, 1fr); }
  .cc-mega__groups--3 { grid-template-columns: repeat(3, 1fr); }

  .cc-mega__label {
    margin: 0 0 10px 12px;
    font-family: Archivo, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #5a7a96;
  }
  .cc-mega__list { list-style: none; margin: 0; padding: 0; }
  .cc-mega__list li { margin: 0; }
  .cc-mega__item {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color .15s ease;
  }
  .cc-mega__item:hover, .cc-mega__item:focus-visible { background: var(--base-3, #f4f8fa); }
  .cc-mega__item:focus-visible { outline: 2px solid var(--base, #2b7bc0); outline-offset: 0; }
  .cc-mega__title {
    display: block;
    font-family: Archivo, sans-serif;
    font-size: 15.5px;
    font-weight: 650;
    line-height: 1.45;
    color: var(--contrast-2, #1c3145);
    text-transform: none;
  }
  .cc-mega__item:hover .cc-mega__title, .cc-mega__item.is-current .cc-mega__title { color: var(--base, #2b7bc0); }
  .cc-mega__desc {
    display: block;
    margin-top: 2px;
    font-family: Archivo, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #6b7280;
    text-transform: none;
  }
  /* city lists: two columns, no descriptions */
  .cc-mega__group--compact .cc-mega__list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .cc-mega__group--compact .cc-mega__item { padding: 7px 12px; }

  .cc-mega__card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 24px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(54, 197, 244, .22) 0%, rgba(54, 197, 244, 0) 55%),
      linear-gradient(160deg, var(--contrast-2, #1c3145) 0%, #0d2240 100%);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .cc-mega__card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(9, 22, 42, .5); color: #fff; }
  .cc-mega__card-title { font-family: 'Noto Sans', sans-serif; font-size: 20px; font-weight: 700; line-height: 1.25; color: #fff; }
  .cc-mega__card-text { margin-top: 10px; font-family: Archivo, sans-serif; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
  .cc-mega__card-link { margin-top: auto; padding-top: 24px; font-family: Archivo, sans-serif; font-size: 15px; font-weight: 700; color: var(--base-2, #36c5f4); }
  .cc-mega__card[data-cta] .cc-mega__card-link { color: var(--accent, #8ac44d); }
}

/* ---------------------------------------------------------------------------
   Pages without a dark hero (blog, archives, privacy, terms): solid header bar.
   On the live site the white menu text sat on a white page here.
   --------------------------------------------------------------------------- */
.cc-solid-header .header-wrap { position: relative; background-color: var(--contrast-2, #1c3145); }
.cc-solid-header .header-wrap .site-header { background: transparent; }

/* ---------------------------------------------------------------------------
   Articles mega menu (backlinko.com pattern)
   --------------------------------------------------------------------------- */
@media (min-width: 1231px) {
  .cc-mega__panel--articles .cc-art {
    max-width: 1200px; margin: 0 auto; padding: 0 40px;
    display: grid; grid-template-columns: 290px 1fr;
  }
  .cc-art__side { padding: 24px 24px 24px 0; border-right: 1px solid #e5e7eb; }
  .cc-art__heading { margin: 0 0 12px; font-family: 'Noto Sans', sans-serif; font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--contrast, #09162a); }
  .cc-art__tabs { list-style: none; margin: 0; padding: 0; }
  .cc-art__tabs li { margin: 0 0 4px; }
  .cc-art__tab {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 11px 14px; border: 1px solid transparent; border-radius: 8px; background: transparent;
    font-family: Archivo, sans-serif; font-size: 15.5px; font-weight: 500; line-height: 1.3; text-transform: none;
    color: var(--contrast-3, #344b64); cursor: pointer; text-align: left; transition: background-color .15s ease, color .15s ease;
  }
  .cc-art__tab svg { color: #9aa7b4; flex-shrink: 0; }
  .cc-art__tab:hover { background: var(--base-3, #f4f8fa); color: var(--contrast-2, #1c3145); }
  .cc-art__tab.is-active { background: var(--base-3, #f4f8fa); border-color: #e5e7eb; color: var(--contrast-2, #1c3145); font-weight: 650; }
  .cc-art__tab.is-active svg { color: var(--base, #2b7bc0); }
  .cc-art__tab:focus-visible { outline: 2px solid var(--base, #2b7bc0); outline-offset: 1px; }

  .cc-art__main { position: relative; padding: 22px 0 24px 32px; }
  .cc-art__close {
    position: absolute; top: 18px; right: -8px; width: 36px; height: 36px; display: grid; place-items: center;
    border: 0; border-radius: 8px; background: transparent; color: #6b7280; cursor: pointer; padding: 0;
  }
  .cc-art__close:hover { background: var(--base-3, #f4f8fa); color: var(--contrast-2, #1c3145); }
  .cc-art__pane[hidden] { display: none; }
  .cc-art__grid { list-style: none; margin: 6px 40px 14px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 20px; }
  .cc-art__grid li { margin: 0; }
  .cc-art__item { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; transition: background-color .15s ease; }
  .cc-art__item:hover, .cc-art__item:focus-visible { background: var(--base-3, #f4f8fa); }
  .cc-art__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-family: Archivo, sans-serif; font-size: 15px; font-weight: 650; line-height: 1.4; color: var(--contrast-2, #1c3145); text-transform: none; }
  .cc-art__item:hover .cc-art__title, .cc-art__item.is-current .cc-art__title { color: var(--base, #2b7bc0); }
  .cc-art__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 3px; font-family: Archivo, sans-serif; font-size: 13.5px; line-height: 1.45; color: #6b7280; text-transform: none; }
  .cc-art__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 12px 12px 18px; border: 1px solid #d6e4f5; border-radius: 10px; background: #eef5ff;
  }
  .cc-art__bar p { margin: 0; font-family: Archivo, sans-serif; font-size: 15px; color: var(--contrast-3, #344b64); }
  .cc-art__bar strong { color: var(--contrast-2, #1c3145); }
  .cc-art__all {
    display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 7px;
    background: var(--base, #2b7bc0); color: #fff !important; font-family: Archivo, sans-serif; font-size: 14.5px; font-weight: 700; text-decoration: none;
  }
  .cc-art__all:hover { background: var(--contrast-2, #1c3145); }
}

/* ---------------------------------------------------------------------------
   Single article: sidebar (table of contents + author bio), category line, related articles
   --------------------------------------------------------------------------- */
.single-post #right-sidebar .inside-right-sidebar { height: 100%; }
.cc-post-side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.cc-toc { padding: 4px 0 0; }
.cc-toc__title { margin: 0 0 10px; font-family: Archivo, sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #5a7a96; }
.cc-toc__list { list-style: none; margin: 0; padding: 0; border-left: 2px solid #e5e7eb; }
.cc-toc__list li { margin: 0; }
.cc-toc__list a {
  display: block; margin-left: -2px; padding: 5px 0 5px 14px; border-left: 2px solid transparent;
  font-family: Archivo, sans-serif; font-size: 14px; line-height: 1.4; color: var(--contrast-3, #344b64); text-decoration: none;
}
.cc-toc__list a:hover { color: var(--base, #2b7bc0); }
.cc-toc__list a.is-active { color: var(--contrast-2, #1c3145); font-weight: 650; border-left-color: var(--accent, #8ac44d); }

.cc-author-card { padding: 20px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.cc-author-card__photo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent, #8ac44d); display: block; }
.cc-author-card__label { margin: 12px 0 2px; font-family: Archivo, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #5a7a96; }
.cc-author-card__name { margin: 0; font-family: 'Noto Sans', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; }
.cc-author-card__name a { color: var(--contrast-2, #1c3145); text-decoration: none; }
.cc-author-card__name a:hover { color: var(--base, #2b7bc0); }
.cc-author-card__role { margin: 2px 0 10px; font-family: Archivo, sans-serif; font-size: 13.5px; color: #6b7280; }
.cc-author-card__bio { margin: 0 0 12px; font-family: Archivo, sans-serif; font-size: 14.5px; line-height: 1.55; color: var(--contrast-3, #344b64); }
.cc-author-card__more { font-family: Archivo, sans-serif; font-size: 14.5px; font-weight: 700; color: var(--global-color-10, #059669); text-decoration: none; }
.cc-author-card__more:hover { color: var(--base, #2b7bc0); }

@media (min-width: 769px) {
  .single-post .entry-content #ez-toc-container { display: none; } /* the sidebar has the table of contents */
}
@media (max-width: 768px) {
  .cc-post-side { position: static; }
  .cc-toc { display: none; } /* the in-article table of contents shows instead */
}

.cc-post-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid #e5e7eb; }
.cc-post-cat { margin: 0 0 36px; font-family: Archivo, sans-serif; font-size: 15px; color: #6b7280; }
.cc-post-cat a {
  display: inline-block; margin-left: 6px; padding: 5px 12px; border-radius: 999px; background: var(--base-3, #f4f8fa);
  border: 1px solid #e5e7eb; color: var(--contrast-2, #1c3145); font-weight: 600; text-decoration: none;
}
.cc-post-cat a:hover { border-color: var(--base, #2b7bc0); color: var(--base, #2b7bc0); }
.cc-related__heading { margin: 0 0 20px; font-family: 'Noto Sans', sans-serif; font-size: 26px; font-weight: 700; color: var(--contrast-2, #1c3145); }
.cc-related__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cc-related__grid li { margin: 0; }
.cc-related__card {
  display: flex; flex-direction: column; height: 100%; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden;
  background: #fff; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease;
}
.cc-related__card:hover { box-shadow: 0 10px 24px -12px rgba(9, 22, 42, .3); transform: translateY(-2px); }
.cc-related__img { display: block; aspect-ratio: 16 / 10; background: var(--base-3, #f4f8fa); overflow: hidden; }
.cc-related__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-related__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.cc-related__cat { font-family: Archivo, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--base, #2b7bc0); }
.cc-related__title { font-family: 'Noto Sans', sans-serif; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: var(--contrast-2, #1c3145); }
.cc-related__card:hover .cc-related__title { color: var(--base, #2b7bc0); }
.cc-related__date { margin-top: auto; font-family: Archivo, sans-serif; font-size: 13px; color: #6b7280; }
@media (max-width: 900px) { .cc-related__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cc-related__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Author page (/author/jeremy-craddock/)
   --------------------------------------------------------------------------- */
.cc-author-page #page.grid-container { max-width: none; padding: 0; }
.cc-author-page .site-content, .cc-author-page .inside-article, .cc-author-page .site-main { padding: 0 !important; margin: 0 !important; }
.cc-author-page .entry-content { margin: 0; }
.cc-author-hero {
  padding: 150px 40px 64px; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgba(54, 197, 244, .18) 0%, rgba(54, 197, 244, 0) 55%), linear-gradient(160deg, #1c3145 0%, #0d2240 100%);
}
.cc-author-hero__inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: center; }
.cc-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-family: Archivo, sans-serif; font-size: 14px; color: rgba(255, 255, 255, .65); }
.cc-crumbs li + li::before { content: '/'; margin-right: 6px; color: rgba(255, 255, 255, .4); }
.cc-crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.cc-crumbs a:hover { color: var(--base-2, #36c5f4); }
.cc-author-hero__eyebrow { margin: 0 0 10px; font-family: Archivo, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--base-2, #36c5f4); }
.cc-author-hero__name { margin: 0 0 8px; font-family: 'Noto Sans', sans-serif; font-size: clamp(34px, 4vw, 48px); font-weight: 700; line-height: 1.1; color: #fff; }
.cc-author-hero__role { margin: 0 0 28px; font-family: Archivo, sans-serif; font-size: 18px; color: rgba(255, 255, 255, .82); }
.cc-author-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 8px; font-family: Archivo, sans-serif; font-size: 16px; font-weight: 700; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.cc-btn--linkedin { border: 2px solid #fff; color: #fff; background: transparent; }
.cc-btn--linkedin:hover { background: #fff; color: #0a66c2; }
.cc-btn--quote { background: var(--accent, #8ac44d); color: var(--contrast-2, #1c3145); border: 2px solid var(--accent, #8ac44d); }
.cc-btn--quote:hover { background: var(--base-2, #36c5f4); border-color: var(--base-2, #36c5f4); color: var(--contrast, #09162a); }
.cc-author-hero__photo img { width: 280px; height: 280px; border-radius: 16px; object-fit: cover; object-position: top; border: 4px solid rgba(255, 255, 255, .15); display: block; }

.cc-author-bio { padding: 64px 40px; }
.cc-author-bio__inner { max-width: 760px; margin: 0 auto; }
.cc-author-bio h2, .cc-author-posts h2 { margin: 0 0 18px; font-family: 'Noto Sans', sans-serif; font-size: 30px; font-weight: 700; color: var(--contrast-2, #1c3145); }
.cc-author-bio p { font-family: Archivo, sans-serif; font-size: 17px; line-height: 1.7; color: var(--contrast-3, #344b64); margin: 0 0 18px; }
.cc-author-bio__links a { font-weight: 700; }
.cc-author-posts { padding: 56px 40px 72px; background: var(--base-3, #f4f8fa); }
.cc-author-posts__inner { max-width: 1120px; margin: 0 auto; }
.cc-author-posts__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.cc-author-posts__all { font-family: Archivo, sans-serif; font-size: 15.5px; font-weight: 700; color: var(--global-color-10, #059669); text-decoration: none; }
@media (max-width: 1230px) { .cc-author-hero { padding-top: 56px; } }
@media (max-width: 768px) {
  .cc-author-hero { padding: 40px 20px 48px; }
  .cc-author-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .cc-author-hero__photo { order: -1; }
  .cc-author-hero__photo img { width: 140px; height: 140px; border-radius: 50%; }
  .cc-author-bio, .cc-author-posts { padding-left: 20px; padding-right: 20px; }
}

/* Header buttons: one style on every page (on the live site the phone button looked
   different on articles and other templates). Matches the homepage. */
#site-navigation .gb-element-hero007 { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
#site-navigation .gb-element-hero007 > a {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  padding: 1rem 2rem !important; border-radius: 8px !important; border: 2px solid transparent !important;
  font-family: Archivo, sans-serif; font-size: 16px !important; font-weight: 700 !important; line-height: 1.2 !important;
  text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: background-color .15s ease, color .15s ease;
}
#site-navigation .gb-element-hero007 > a:first-child { background: var(--accent, #8ac44d) !important; color: var(--contrast-2, #1c3145) !important; border-color: var(--accent, #8ac44d) !important; }
#site-navigation .gb-element-hero007 > a:first-child:hover { background: var(--base-2, #36c5f4) !important; border-color: var(--base-2, #36c5f4) !important; color: var(--contrast, #09162a) !important; }
#site-navigation .gb-element-hero007 > a:first-child * { color: inherit !important; font: inherit !important; }
#site-navigation .gb-element-hero007 > a[href^="tel:"] { background: var(--contrast-2, #1c3145) !important; color: #fff !important; border-color: #fff !important; text-transform: none; }
#site-navigation .gb-element-hero007 > a[href^="tel:"]:hover { background: #fff !important; color: var(--contrast-2, #1c3145) !important; }
#site-navigation .gb-element-hero007 > a[href^="tel:"] * { color: inherit !important; font: inherit !important; background: none !important; padding: 0 !important; }
#site-navigation.navigation-stick .gb-element-hero007 > a { padding: .7rem 1.4rem !important; }

/* Legal pages (privacy policy) */
.cc-legal { max-width: 760px; margin: -20px auto 0; padding: 0 0 24px; font-family: Archivo, sans-serif; color: var(--contrast-3, #344b64); }
.cc-legal h1 { font-family: 'Noto Sans', sans-serif; font-size: 40px; margin: 0 0 6px; color: var(--contrast, #09162a); }
.cc-legal__date { margin: 0 0 28px; font-size: 14.5px; color: #6b7280; }
.entry-content .cc-legal h2 { font-family: 'Noto Sans', sans-serif; font-size: 24px; margin: 40px 0 12px !important; color: var(--contrast-2, #1c3145); }
.entry-content .cc-legal p, .entry-content .cc-legal li { font-size: 16.5px !important; line-height: 1.7 !important; }
.entry-content .cc-legal p { margin: 0 0 16px; }
.cc-legal ul { margin: 0 0 18px 1.2em; }
.cc-legal li { margin-bottom: 6px; }

/* Article: author bio at the end of the article (before the category line) */
.cc-post-footer .cc-author-card {
  display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start;
  margin: 0 0 28px; padding: 24px; border-radius: 12px; background: var(--base-3, #f4f8fa); border: 1px solid #e5e7eb;
}
.cc-post-footer .cc-author-card__photo img { width: 88px; height: 88px; }
.cc-post-footer .cc-author-card__label { margin-top: 0; }
.cc-post-footer .cc-author-card__bio { font-size: 15.5px; }
@media (max-width: 560px) { .cc-post-footer .cc-author-card { grid-template-columns: 1fr; } }

/* Article: breadcrumb right under the header picture */
.cc-post-crumbs { margin: -24px 0 28px; }
.cc-post-crumbs .wp-block-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-family: Archivo, sans-serif; font-size: 14.5px; line-height: 1.5; color: #6b7280; }
.cc-post-crumbs .wp-block-breadcrumbs li { margin: 0; }
.cc-post-crumbs .wp-block-breadcrumbs li + li::before { content: '/'; margin: 0 8px; color: #9aa7b4; }
.cc-post-crumbs .wp-block-breadcrumbs a { color: var(--global-color-10, #059669); text-decoration: none; }
.cc-post-crumbs .wp-block-breadcrumbs a:hover { color: var(--base, #2b7bc0); }
.cc-post-crumbs .wp-block-breadcrumbs [aria-current] { color: var(--contrast-3, #344b64); }
@media (max-width: 768px) {
  .cc-post-crumbs { margin-top: -8px; }
  .single-post #right-sidebar { display: none; } /* the sidebar only holds the table of contents, shown in the article on phones */
}
.cc-post-crumbs .wp-block-breadcrumbs li::after { content: none !important; display: none !important; }

/* Article titles show in sentence case, as written (no forced capitals) */
.single-post .gb-text-f953e8a7, .single-post h1 { text-transform: none; }

/* ---------------------------------------------------------------------------
   Type scale for pages: lead 19px, body 16px, small (labels) 14px.
   Classes are added at build time (transform.mjs typeScale).
   --------------------------------------------------------------------------- */
:root { --fs-lead: 18px; --fs-body: 16px; --fs-small: 14px; }
.entry-content .cc-fs-lead { font-size: var(--fs-lead) !important; line-height: 1.55 !important; }
.entry-content .cc-fs-body { font-size: var(--fs-body) !important; line-height: 1.5 !important; }
.entry-content p.cc-fs-body { line-height: 1.65 !important; }
.entry-content li.cc-fs-body, .entry-content li .cc-fs-body { line-height: 1.55 !important; }
.entry-content .cc-fs-small { font-size: var(--fs-small) !important; line-height: 1.5 !important; }
.entry-content h2 + p.cc-fs-lead { margin-top: 12px !important; }
@media (max-width: 768px) { :root { --fs-lead: 17px; } }

/* Reserve the HubSpot form's height so the page doesn't jump when it loads (measured 3 Dec 2026). */

/* ---------------------------------------------------------------------------
   Quote form (own form, replaces the HubSpot embed): pop-up + inline on the contact page
   --------------------------------------------------------------------------- */
html.cc-qm-open { overflow: hidden; }
.cc-qm[hidden] { display: none; }
.cc-qm { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cc-qm__backdrop { position: absolute; inset: 0; background: rgba(9, 22, 42, .72); }
.cc-qm__panel {
  position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 48px); overflow: auto;
  background: #fff; border-radius: 16px; padding: 32px 36px 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.cc-qm__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 28px; line-height: 1; color: var(--contrast-3, #344b64); cursor: pointer; }
.cc-qm__close:hover { background: var(--base-3, #f4f8fa); }
.cc-qm__eyebrow { margin: 0 0 6px; font-family: Archivo, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--global-color-10, #059669); }
.cc-qm__title { margin: 0 0 4px; font-family: 'Noto Sans', sans-serif; font-size: 28px; line-height: 1.2; color: var(--contrast, #09162a); }
.cc-qm__intro { margin: 0 0 20px; font-family: Archivo, sans-serif; font-size: 16px; color: #5a6b7d; }
@media (max-width: 600px) {
  .cc-qm { padding: 0; align-items: stretch; }
  .cc-qm__panel { max-height: none; height: 100%; border-radius: 0; padding: 24px 18px; }
  .cc-qm__title { font-size: 24px; }
}

.cc-qf { font-family: Archivo, sans-serif; color: var(--contrast-2, #1c3145); }
.cc-qf__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cc-qf__steplabel { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: #5a6b7d; }
.cc-qf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cc-qf__field { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0; }
.cc-qf__field--group, .cc-qf__field--wide, .cc-qf__field[data-field="email"], .cc-qf__field[data-field="company"], .cc-qf__field[data-field="address"] { grid-column: 1 / -1; }
.cc-qf__label { margin: 0 0 6px; padding: 0; font-size: 15px; font-weight: 600; color: var(--contrast-2, #1c3145); }
.cc-qf__req { color: #c0392b; }
.cc-qf__opt { font-weight: 400; color: #6b7280; font-size: 14px; }
.cc-qf input[type=text], .cc-qf input[type=email], .cc-qf input[type=tel], .cc-qf select, .cc-qf textarea {
  width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #c9d2dc; border-radius: 8px; background: #fff;
  font: 16px/1.4 Archivo, sans-serif; color: var(--contrast, #09162a);
}
.cc-qf textarea { resize: vertical; }
.cc-qf input:focus, .cc-qf select:focus, .cc-qf textarea:focus { outline: 2px solid var(--base, #2b7bc0); outline-offset: 1px; border-color: var(--base, #2b7bc0); }
.cc-qf__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-qf__chip { position: relative; display: inline-flex; cursor: pointer; }
.cc-qf__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-qf__chip span { padding: 8px 12px; border: 1px solid #c9d2dc; border-radius: 999px; font-size: 14px; line-height: 1.3; background: #fff; transition: background .15s, border-color .15s; }
.cc-qf__chip input:checked + span { background: var(--contrast-2, #1c3145); border-color: var(--contrast-2, #1c3145); color: #fff; }
.cc-qf__chip input:focus-visible + span { outline: 2px solid var(--base, #2b7bc0); outline-offset: 2px; }
.cc-qf__chip:hover span { border-color: var(--contrast-3, #344b64); }
.cc-qf__err { margin: 6px 0 0; font-size: 14px; color: #b42318; }
.is-invalid input[type=text], .is-invalid input[type=email], .is-invalid input[type=tel], .is-invalid select, .is-invalid textarea { border-color: #b42318; }
.cc-qf__consent { margin: 20px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--base-3, #f4f8fa); }
.cc-qf__check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.cc-qf__check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--contrast-2, #1c3145); }
.cc-qf__check a { color: var(--base, #2b7bc0); }
.cc-qf__ts { margin-top: 14px; }
.cc-qf__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.cc-qf__btn { padding: 14px 26px; border: 0; border-radius: 10px; background: var(--accent, #8ac44d); color: var(--contrast-2, #1c3145); font: 600 17px/1 Archivo, sans-serif; cursor: pointer; }
.cc-qf__btn:hover { filter: brightness(.95); }
.cc-qf__btn[disabled] { opacity: .6; cursor: wait; }
.cc-qf__back { padding: 12px 4px; border: 0; background: none; color: var(--contrast-3, #344b64); font: 600 15px/1 Archivo, sans-serif; text-decoration: underline; cursor: pointer; }
.cc-qf__status { margin: 12px 0 0; font-size: 15px; color: #5a6b7d; min-height: 1em; }
.cc-qf__status.is-error { color: #b42318; }
@media (max-width: 600px) { .cc-qf__grid { grid-template-columns: 1fr; } }
.cc-qf-inline { max-width: 680px; }
