/* C1 look on every inner page of Wade's site (blog 2 only).
   Loaded after the page bundle by inc/c1-site.php, only when simplicity_c1_site_active()
   is true (Wade's site, any page except the front page, which has its own wade-c1.min.css).
   Every rule is scoped to body.c1-site, so Amanda's, Sydney's and the team site never see it.
   Same palette as the C1 homepage: ink #1c1c1a, charcoal #262624, gold #c9ae74 (fill and line only,
   never text), forest #254033. Copy, forms and legal text are not touched here. */

.c1-site {
    --c1-ink: #1c1c1a;
    --c1-char: #262624;
    --c1-gold: #c9ae74;
    --c1-forest: #254033;
    --c1-mist: #cfccc3;
    --c1-line: #46453f;
}

/* ---- Header: ink bar, white text, gold button ---------------------------- */
.c1-site .site-header { background: var(--c1-ink); color: #fff; box-shadow: none; border-bottom: 2px solid var(--c1-gold); }
.c1-site .brand-lockup .brand-agent,
.c1-site .brand-phone,
.c1-site .brand-phone:hover { color: #fff; }
.c1-site .brand-lockup .brand-sep { background: rgba(255, 255, 255, 0.35); }
.c1-site .site-nav a,
.c1-site .site-nav button.nav-drop-toggle { color: #fff; }
.c1-site .site-nav a:hover,
.c1-site .site-nav button.nav-drop-toggle:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--c1-gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.c1-site .site-nav a[aria-current="page"]:not(.nav-cta) { color: #fff; }
.c1-site .site-nav .nav-cta,
.c1-site .site-nav .nav-cta:hover { background: var(--c1-gold); color: var(--c1-char) !important; text-decoration: none; border-radius: 4px; }
.c1-site .site-nav .nav-drop { background: var(--c1-char); border-color: var(--c1-line); border-top-color: var(--c1-gold); }
.c1-site .site-nav .nav-drop a { color: #fff; }
.c1-site .site-nav .nav-drop a:hover { background: #3b5e4d; color: #fff; text-decoration: none; }
.c1-site .header-get-app { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.c1-site .nav-toggle { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.c1-site .site-nav.open { background: var(--c1-ink); border-bottom: 2px solid var(--c1-gold); box-shadow: none; }
.c1-site .site-nav.open a,
.c1-site .site-nav.open .nav-drop-toggle { color: #fff; border-bottom-color: var(--c1-line); }
.c1-site .site-nav.open .nav-cta { color: var(--c1-char) !important; }
.c1-site .site-nav > a { min-width: 44px; justify-content: center; }
.c1-site .site-nav > a,
.c1-site .site-nav button.nav-drop-toggle { min-height: 44px; display: inline-flex; align-items: center; }
.c1-site .brand-phone { position: relative; }
.c1-site .brand-phone::after { content: ""; position: absolute; inset: -16px -10px; }
.c1-site :focus-visible { outline-color: var(--c1-gold); }
.c1-site .site-header :focus-visible { outline-color: #fff; }
.c1-site .site-nav .nav-cta:focus-visible { outline-color: #fff; }
/* The phone menu is the open nav: gold button must not be pushed off the left edge. */
.c1-site .site-nav.open .nav-cta { align-self: flex-start; }

/* ---- Heroes and title bands: ink with a gold rule, no green gradient ------ */
.c1-site #main-content > .hero,
.c1-site .page-article .page-hero {
    background-color: var(--c1-ink);
    background-image: none;
}
.c1-site #main-content > .hero::before,
.c1-site #main-content > .hero::after,
.c1-site .page-article .page-hero::before,
.c1-site .page-article .page-hero::after { display: none; }
.c1-site #main-content > .hero { border-bottom: 0; }
.c1-site #main-content > .hero .hero-headline,
.c1-site #main-content > .hero h1,
.c1-site .page-article .page-hero h1 { font-weight: 900; line-height: 0.9; }
.c1-site #main-content > .hero .eyebrow::before,
.c1-site .page-article .page-hero .page-eyebrow::before { width: 56px; height: 2px; background: var(--c1-gold); }
.c1-site #main-content > .hero .btn:not(.btn-secondary) { border-radius: 4px; box-shadow: none; }
.c1-site #main-content > .hero .btn-secondary { border-radius: 4px; }
.c1-site #main-content > .hero .hero-photo { box-shadow: 14px 14px 0 0 var(--c1-gold); }
.c1-site #main-content > .hero + .proof-bar { background: var(--c1-char); border-top: 1px solid var(--c1-line); }
.c1-site .proof-bar { background: var(--c1-char); }

/* ---- Buttons ------------------------------------------------------------- */
.c1-site .btn { border-radius: 4px; min-height: 48px; }
.c1-site #main-content a.lp-band-btn { border-radius: 4px; }

/* ---- Closing band: gold, charcoal text (same as the C1 homepage) ---------- */
.c1-site .lp-close { background: var(--c1-gold); color: var(--c1-char); }
.c1-site .lp-close::before { display: none; }
.c1-site .lp-close h2,
.c1-site .lp-close .lp-close-body,
.c1-site .lp-close .signature-line { color: var(--c1-char); }
.c1-site #main-content .lp-close a:not(.btn),
.c1-site #main-content .lp-close a:not(.btn):hover { color: var(--c1-char); font-weight: 600; }
.c1-site .lp-close .btn:not(.btn-secondary) { background: var(--c1-char); border-color: var(--c1-char); color: #fff !important; box-shadow: none; }
.c1-site .lp-close .btn:not(.btn-secondary):hover { background: var(--c1-ink); border-color: var(--c1-ink); }
.c1-site .lp-close .btn-secondary { --black: var(--c1-char); background: transparent; box-shadow: inset 0 0 0 2px var(--c1-char); color: var(--c1-char) !important; }
.c1-site .lp-close .consent-row .consent-text,
.c1-site .lp-close .consent-row .consent-text a,
.c1-site .lp-close .field-hint { color: var(--c1-char); }

/* ---- Footer: charcoal, no green gradient --------------------------------- */
.c1-site .site-footer { background: var(--c1-char); color: #e8e6df; }
.c1-site .site-footer.bl-topo::before,
.c1-site .site-footer.bl-textured::after { display: none; }
.c1-site .site-footer .wordmark { display: none; }
.c1-site .footer-chips a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- Photo credits (CC BY-SA photos used on inner pages) ----------------- */
.c1-site .c1-photo-credits { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid #45443f; font-size: 13.5px; line-height: 1.6; color: var(--c1-mist); }
.c1-site .c1-photo-credits a { color: #fff; text-decoration: underline; text-decoration-color: var(--c1-gold); text-underline-offset: 3px; }

/* ---- Headings: Archivo like the C1 homepage -------------------------------- */
.c1-site .lp-close h2,
.c1-site .section-head h2,
.c1-site .section > .container > h2,
.c1-site .mcc h2 {
    font-family: var(--bl-font, "Archivo", sans-serif);
    font-weight: 900;
    font-variation-settings: "wdth" 66;
    font-stretch: 66%;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0;
}
/* Long article headings stay sentence case so questions read as questions. */
.c1-site .page-article .entry-content h2,
.c1-site .page-article .entry-content h3 {
    font-family: var(--bl-font, "Archivo", sans-serif);
    font-weight: 800;
    font-variation-settings: "wdth" 80;
    font-stretch: 80%;
    letter-spacing: 0;
    line-height: 1.08;
    color: var(--c1-char);
}
.c1-site .page-article .entry-content h2 { margin-top: 2.2em; font-size: clamp(1.9rem, 3.2vw, 2.5rem); border-top: 2px solid var(--c1-gold); padding-top: 0.55em; }
.c1-site .page-article .entry-content h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

/* ---- About and team heroes (bl-home templates): ink like the other inner heroes ---- */
.c1-site .bl-home .hero.green { background-color: var(--c1-ink); background-image: none; }
.c1-site .bl-home .hero.green::before,
.c1-site .bl-home .hero.green::after { display: none; }
.c1-site .bl-home .btn { border-radius: 4px; }

/* ---- Function: long link text (a raw URL) must wrap, not widen the phone page ---- */
.c1-site #main-content :is(p, li, td, dd, figcaption) a { overflow-wrap: anywhere; }

/* ---- Town and area pages: section headings in Archivo like the C1 homepage ---- */
.c1-site .ar-ch-head h2,
.c1-site .town-listings h2 {
    font-family: var(--bl-font, "Archivo", sans-serif);
    font-weight: 900;
    font-variation-settings: "wdth" 66;
    font-stretch: 66%;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0;
    color: var(--c1-char);
}
.c1-site .ar-ch-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.c1-site .ar-article h3 {
    font-family: var(--bl-font, "Archivo", sans-serif);
    font-weight: 800;
    font-variation-settings: "wdth" 80;
    font-stretch: 80%;
    letter-spacing: 0;
    color: var(--c1-char);
}

/* ---- Function: wide data tables keep whole words and scroll sideways inside their own box ---- */
.c1-site .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.c1-site .table-scroll table { min-width: 640px; }
.c1-site .table-scroll :is(th, td):first-child { white-space: nowrap; }
.c1-site .table-scroll :is(th, td) { overflow-wrap: normal; word-break: normal; hyphens: manual; }

/* ---- Section headings on contact and similar page-template sections ---- */
.c1-site #main-content .section > .container h2:not(.lp-band-h),
.c1-site #main-content .section > .container-narrow h2:not(.lp-band-h) {
    font-family: var(--bl-font, "Archivo", sans-serif);
    font-weight: 900;
    font-variation-settings: "wdth" 66;
    font-stretch: 66%;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0;
}
.c1-site .page-article .entry-content h2 { text-transform: none; }

/* ---- Function: 44px tap targets on the on-page contents links and the review filters ---- */
.c1-site #main-content .lp-toc a { display: inline-flex; align-items: center; min-height: 44px; }
.c1-site #main-content .gr-filter { min-height: 44px; }
.c1-site .consent-row { min-height: 44px; }

/* ---- Search and archive titles match the blog title ---- */
.c1-site #main-content .section > .container > h1.display {
    font-family: var(--bl-font, "Archivo", sans-serif);
    font-weight: 900;
    font-variation-settings: "wdth" 66;
    font-stretch: 66%;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: 0;
}
