/*
 * NOTICE - PLEASE READ BELOW
 * ############################################################################
 *
 * THIS SITE USES A NEW GLOBAL CSS/JAVASCRIPT RESET AND CUSTOMISATION SYSTEM
 * PLEASE SPEAK TO A WUNDERWRITER BEFORE MAKING ANY CHANGES
 *
 * TRIPLE G BROKERS â€“ SchemeServe custom CSS
 * Built on core version 1.0, 13 Nov 2026. Only the font rules and the BRAND
 * block differ from core. Goes with triple-g-js.txt and triple-g-footer.html.
 * Colours and fonts: InShare Group Brand Book v1.0 (Triple G).
 *
 * HOW TO USE
 * 1. Keep a copy of what is in the site's Custom CSS box first.
 * 2. Paste this whole file into the box, replacing what is there, and save.
 * 3. To change the look, edit ONLY the "BRAND" block below. Everything
 *   under "SHARED" is the same on every site and reads the brand values.
 *
 * Every SchemeServe setting used here is one its ss-custom.css reads.
 */

/* Import â€“ must stay at the very top */
@import url("https://schemeservefrontenduk.z33.web.core.windows.net/boilerplate/live/ss-custom.css");

/* Fonts: Triple G uses Cormorant (headings) and Instrument Sans (everything
   else). Both are free (SIL Open Font Licence). Upload the two .woff2 files to
   the SchemeServe media library and paste their addresses in place of the
   [ ] below. Until then the site falls back to Georgia and Arial. */
@font-face {
  font-family: "Cormorant";
  src: url("[media library address of cormorant.woff2]") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("[media library address of instrument-sans.woff2]") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ===========================================================================
   BRAND â€“ the only part that changes between sites.
   Rules that keep text readable (checked for this file):
   - primary, section-bg and footer-bg must be dark: white text sits on them
   - chosen-text must be readable on chosen-bg, button-text on button-bg
   - warnings use warning-border and warning-bg with the normal text colour
   =========================================================================== */
:root {
  --site-primary: #0D2445;  /* dark: page tabs, white text on it */  /* Navy, 15.5:1 */
  --site-primary-hover: #16325C;  /* page tab hover */  /* Navy 800 */
  --site-secondary: #7D6310;  /* second colour */  /* Gold 700, white text 5.7:1 */
  --site-secondary-hover: #5E4A0B;
  --site-text: #2B2F36;  /* main text */  /* Charcoal */
  --site-text-soft: #44526A;  /* quieter text, placeholders */  /* Slate, 7.3:1 on ivory */
  --site-heading: #0D2445;
  --site-link: #7D6310;  /* Gold 700, 5.3:1 on ivory */
  --site-link-hover: #0D2445;
  --site-page-bg: #F8F5EF;  /* page background */  /* Ivory */
  --site-card-bg: #FFFFFF;
  --site-header-bg: #FFFFFF;  /* strip behind the logo */  /* matches the white logo file */
  --site-border: #E3E0DA;  /* card and divider lines */  /* Stone */
  --site-field-border: #949086;  /* box outlines */  /* 3.2:1 on white */
  --site-button-bg: #C9A227;  /* main buttons (Next, Finish) */  /* Gold */
  --site-button-bg-hover: #B8921F;
  --site-button-text: #0D2445;  /* navy on gold 6.4:1 â€“ never white on gold */
  --site-button-text-hover: #0D2445;
  --site-button-border: 1px solid #C9A227;
  --site-button2-bg: #FFFFFF;  /* second buttons (Back) */
  --site-button2-bg-hover: #F8F5EF;
  --site-button2-text: #0D2445;
  --site-button2-border: 1px solid #0D2445;
  --site-chosen-bg: #0D2445;  /* chosen answer and current page step */
  --site-chosen-text: #FFFFFF;
  --site-section-bg: #0D2445;  /* Property Details section title bars */
  --site-section-text: #FFFFFF;
  --site-section-note: #E6D29A;  /* Soft gold, 10.4:1 on navy */
  --site-warning-border: #7D6310;  /* warning messages (floor area, old claims) */
  --site-warning-bg: #F6EDD3;
  --site-footer-bg: #0D2445;  /* footer strip */
  --site-footer-text: #B4C0D4;  /* 8.4:1 on navy */
  --site-footer-link: #FFFFFF;
  --site-footer-link-hover: #E6D29A;
  --site-focus: #0D2445;
  --site-radius: 4px;  /* corner rounding (0 = square) */  /* Triple G corners */
  --site-font-body: "Instrument Sans", Arial, sans-serif;
  --site-font-display: "Cormorant", Georgia, serif;
  --site-heading-case: none;  /* none or uppercase */
  --site-button-case: none;
  --site-logo-height: 60px;  /* logo size on quote pages */
}

/* ===========================================================================
   SHARED â€“ the same on every site. Don't edit below this line; change the
   BRAND block instead.
   =========================================================================== */
:root {
  /* Brand colours (SchemeServe puts white text on primary) */
  --ss-custom-color-primary: var(--site-primary);
  --ss-custom-color-primary--light: var(--site-primary-hover);
  --ss-custom-color-secondary: var(--site-secondary);
  --ss-custom-color-secondary--light: var(--site-secondary-hover);

  /* Fonts */
  --ss-custom-font-family--body: var(--site-font-body);
  --ss-custom-font-family--display: var(--site-font-display);

  /* Shape */
  --ss-custom-border-radius: var(--site-radius);
  --ss-custom-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

  /* Page */
  --ss-custom-body-background-color: var(--site-page-bg);
  --ss-custom-body-text-color: var(--site-text);
  --ss-custom-body-font-weight: 400;
  --ss-custom-header-background-color: var(--site-header-bg);
  --ss-custom-logo-height: var(--site-logo-height);

  /* Headings */
  --ss-custom-h1-text-color: var(--site-heading);
  --ss-custom-h1-font-weight: 600;
  --ss-custom-h1-text-transform: var(--site-heading-case);
  --ss-custom-h2-text-color: var(--site-heading);
  --ss-custom-h2-font-weight: 600;
  --ss-custom-h2-text-transform: var(--site-heading-case);
  --ss-custom-h3-text-color: var(--site-heading);
  --ss-custom-h4-text-color: var(--site-heading);
  --ss-custom-h5-text-color: var(--site-heading);
  --ss-custom-h6-text-color: var(--site-heading);

  /* Links */
  --ss-custom-link-color: var(--site-link);
  --ss-custom-link-color--hover: var(--site-link-hover);
  --ss-custom-link-color--focus: var(--site-link-hover);

  /* Form fields */
  --ss-custom-input-border: 1px solid var(--site-field-border);
  --ss-custom-input-border--hover: 1px solid var(--site-text);
  --ss-custom-input-border--focus: 2px solid var(--site-text);
  --ss-custom-input-font-weight: 400;
  --ss-custom-input-height: 44px;
  --ss-custom-input-text-color--placeholder: var(--site-text-soft);

  /* Buttons */
  --ss-custom-button-height: 44px;
  --ss-custom-button-padding: 0 26px;
  --ss-custom-button-text-transform: var(--site-button-case);
  --ss-custom-button-font-weight: 600;
  --ss-custom-button-primary-background-color: var(--site-button-bg);
  --ss-custom-button-primary-background-color--hover: var(--site-button-bg-hover);
  --ss-custom-button-primary-background-color--focus: var(--site-button-bg-hover);
  --ss-custom-button-primary-border: var(--site-button-border);
  --ss-custom-button-primary-border--hover: var(--site-button-border);
  --ss-custom-button-primary-border--focus: var(--site-button-border);
  --ss-custom-button-primary-text-color: var(--site-button-text);
  --ss-custom-button-primary-text-color--hover: var(--site-button-text-hover);
  --ss-custom-button-primary-text-color--focus: var(--site-button-text-hover);
  --ss-custom-button-secondary-background-color: var(--site-button2-bg);
  --ss-custom-button-secondary-background-color--hover: var(--site-button2-bg-hover);
  --ss-custom-button-secondary-background-color--focus: var(--site-button2-bg-hover);
  --ss-custom-button-secondary-border: var(--site-button2-border);
  --ss-custom-button-secondary-border--hover: var(--site-button2-border);
  --ss-custom-button-secondary-border--focus: var(--site-button2-border);
  --ss-custom-button-secondary-text-color: var(--site-button2-text);
  --ss-custom-button-secondary-text-color--hover: var(--site-button2-text);
  --ss-custom-button-secondary-text-color--focus: var(--site-button2-text);

  /* Radio questions shown as buttons */
  --ss-custom-radio-button-background-color: var(--site-card-bg);
  --ss-custom-radio-button-background-color--hover: var(--site-page-bg);
  --ss-custom-radio-button-background-color--active: var(--site-chosen-bg);
  --ss-custom-radio-button-border: 1px solid var(--site-field-border);
  --ss-custom-radio-button-border--hover: 1px solid var(--site-text);
  --ss-custom-radio-button-border--active: 1px solid var(--site-text);
  --ss-custom-radio-button-text-color: var(--site-text);
  --ss-custom-radio-button-text-color--hover: var(--site-text);
  --ss-custom-radio-button-text-color--active: var(--site-chosen-text);
  --ss-custom-radio-button-text-transform: none;

  /* Ticks and dots */
  --ss-custom-checkbox-enhanced-border: 1px solid var(--site-field-border);
  --ss-custom-checkbox-enhanced-background--active: var(--site-text);
  --ss-custom-checkbox-enhanced-border--active: 1px solid var(--site-text);
  --ss-custom-radio-enhanced-border: 1px solid var(--site-field-border);
  --ss-custom-radio-enhanced-background--active: var(--site-text);
  --ss-custom-radio-enhanced-border--active: 1px solid var(--site-text);

  /* Cards */
  --ss-custom-card-background-color: var(--site-card-bg);
  --ss-custom-card-border-color: var(--site-border);
  --ss-custom-card-padding: 20px;
  --ss-custom-card-text-color: var(--site-text);
  --ss-custom-card-text-color--light: var(--site-text-soft);

  /* Page steps */
  --ss-custom-stub-number-background-color: var(--site-card-bg);
  --ss-custom-stub-number-background-color--active: var(--site-chosen-bg);
  --ss-custom-stub-number-border: 1px solid var(--site-text);
  --ss-custom-stub-number-border--active: 1px solid var(--site-text);
  --ss-custom-stub-number-text-color: var(--site-text);
  --ss-custom-stub-number-text-color--active: var(--site-chosen-text);
  --ss-custom-stub-number-opacity: 1;

  /* Help tooltips */
  --ss-custom-help-tooltip-background-color: var(--site-section-bg);
  --ss-custom-help-tooltip-border: 1px solid var(--site-section-bg);
  --ss-custom-help-tooltip-arrow-color: var(--site-section-bg);
  --ss-custom-help-tooltip-text-color: var(--site-section-text);

  /* Footer */
  --ss-custom-footer-background-color: var(--site-footer-bg);
  --ss-custom-footer-text-color: var(--site-footer-text);
  --ss-custom-footer-link-color: var(--site-footer-link);
  --ss-custom-footer-link-color--hover: var(--site-footer-link-hover);
  --ss-custom-footer-link-color--focus: var(--site-footer-link-hover);
}

/* Footer wording from the Custom Html box */
.site-footer { font-size: 13px; line-height: 1.5; padding: 24px 16px; }
.site-footer p { margin: 0 0 8px; }
.site-footer p:last-child { margin-bottom: 0; }

/* Line under the logo, added by the custom JavaScript */
.site-strapline {
  color: var(--site-text-soft);
  font-family: var(--site-font-body);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Clear keyboard focus everywhere */
.is-frontend a:focus-visible,
.is-frontend button:focus-visible,
.is-frontend input:focus-visible,
.is-frontend select:focus-visible,
.is-frontend textarea:focus-visible,
.is-frontend .radio-button:focus-visible {
  outline: 2px solid var(--site-focus) !important;
  outline-offset: 2px !important;
}