/* ==========================================================================
   Inserv Company - Site Styles
   Bootstrap 5.3.8 | Bootstrap Icons 1.11.3 | Risingline Framework
   Created: 2026-11-30

   A rebuild of the 2013 inservcompany.com design. On a desktop screen it is
   meant to look like the old site; below 992px the same pieces stack.
   The old site was a fixed 960px layout, so every desktop measurement here
   (960 banner, 876 card, 53px text inset) is the old stylesheet's own number.

   This file holds ONLY:
     1. Framework token overrides (the site's theme) and the font
     2. Site-specific styles the framework does not provide
   Never edit rl-framework.css on a client site.
   ========================================================================== */


/* ==========================================================================
   1. Font + Framework Token Overrides
   ========================================================================== */

/* Open Sans, self-hosted. One variable font: weights 300 to 800, widths 75% (the condensed sub-line on
   the home page) to 100%. Files from Google Fonts (Open Sans v44, SIL Open Font License), 2026-11-30. */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('/fonts/open-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('/fonts/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand Colors (from the 2013 stylesheet) */
  --rl-color-primary:      #0067A6;   /* Inserv blue: nav bar, headings */
  --rl-color-primary-dark: #004f80;   /* hover */
  --rl-color-secondary:    #F2CE6E;   /* gold rule under headings */
  --rl-color-dark:         #333333;
  --rl-color-light:        #F4F4F4;   /* page background */

  /* Text */
  --rl-color-text:         #333333;
  --rl-color-text-light:   #666666;

  /* Interactive */
  --rl-color-cta:          #0067A6;
  --rl-color-cta-hover:    #004f80;

  /* Borders */
  --rl-color-border:       #adadad;

  /* Site tokens */
  --inserv-link:           #007CAB;   /* the old #00AFEF link cyan, darkened until it passes 4.5:1 on white */
  --inserv-link-hover:     #0067A6;
  --inserv-shadow:         0 0 7px rgba(0, 0, 0, 0.7);
  --inserv-nav:            75px;      /* height of the blue bar on desktop (the 2013 bar was 25px; Doug 2026-11-30: about 3x) */
  --inserv-wrap:           960px;     /* banner width: the 2013 site's width, used from 992px to 1199px */
  --inserv-card:           876px;     /* content card width */
  --inserv-inset:          40px;      /* text inset inside the content card: left and right match the top (Doug 2026-11-30; the 2013 site used 53px) */
  --inserv-overlap:        123px;     /* how far the card rides up over the banner photo */
  --inserv-banner:         406px;     /* banner height, the same on every page (Doug 2026-11-30; inner pages were 266px in 2013) */

  /* Type: the old site ran 15px body copy with compact headings */
  --rl-font-heading: 'Open Sans', Helvetica, Arial, sans-serif;
  --rl-font-body:    'Open Sans', Helvetica, Arial, sans-serif;
  --rl-body: 17px;   /* phones and tablets; desktop is set just below (both 1px up from round 1, Doug 2026-11-30) */
  --rl-h1:   24px;
  --rl-h2:   20px;
  --rl-h3:   17px;
  --rl-h4:   16px;
  --rl-h5:   16px;
  --rl-h6:   16px;
}

@media (min-width: 992px) {
  :root { --rl-body: 16px; }
}

/* 1200px and wider: the page container grows from the 2013 site's 960px to 1140px, today's usual width
   (Doug 2026-11-30). Banner, card and overlap all grow by the same 1.1875, so the composition of
   the old page is kept, only larger. */
@media (min-width: 1200px) {
  :root {
    --inserv-wrap:        1140px;
    --inserv-card:        1040px;
    --inserv-overlap:     146px;
    --inserv-banner:      482px;
  }
}


/* ==========================================================================
   2. Site-Specific Styles
   ========================================================================== */

/* --- Page ---------------------------------------------------------------- */

body {
  /* 1.5: the W3C's own figure for readable body text (WCAG 1.4.8 and 1.4.12 both use line spacing of
     1.5 times the font size). The 2013 site ran about 1.3. Doug 2026-11-30. */
  line-height: 1.5;
  background-color: var(--rl-color-light);
}

body.inserv-sub { background-color: var(--rl-color-white); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--rl-color-primary);
  margin-top: 0;
  margin-bottom: 0.25em;
}

main a:not(.btn):not(.rl-btn):not(.rl-btn-light):not(.rl-btn-outline):not(.rl-btn-outline-light):not(.rl-title-link):not(.nav-link):not(.navbar-brand):not(.back-to-top),
a {
  color: var(--inserv-link);
}

main a:not(.btn):not(.rl-btn):not(.rl-btn-light):not(.rl-btn-outline):not(.rl-btn-outline-light):not(.rl-title-link):not(.nav-link):not(.navbar-brand):not(.back-to-top):hover,
a:hover {
  color: var(--inserv-link-hover);
}

/* Text runs the full width of its box: the framework balances headings and tidies paragraph endings,
   which stops lines short of the edge (framework rule 10). */
body :is(h1, h2, h3, h4, h5, h6, p, li, blockquote) { text-wrap: wrap; }

/* The 960px column everything hangs on */
.inserv-wrap {
  width: 100%;
  max-width: var(--inserv-wrap);
  margin-left: auto;
  margin-right: auto;
}


/* --- Header: the thin blue bar ------------------------------------------- */

.inserv-header {
  position: relative;            /* the old bar scrolled away with the page */
  z-index: 500;
  background: var(--rl-color-primary);
  box-shadow: var(--inserv-shadow);
  border-bottom: 0;
}

.inserv-header .navbar {
  padding: 0;
  min-height: 25px;
}

.inserv-header .inserv-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* Top-level links: capitals with open letter-spacing (Doug 2026-11-30, from a reference he supplied:
   its spacing and its outlined Contact button, not its colors). The words in the HTML stay in normal
   case; the capitals are styling only. */
.inserv-header .navbar-nav .nav-link {
  color: var(--rl-color-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 3px 20px;
}

.inserv-header .navbar-nav .nav-link:hover,
.inserv-header .navbar-nav .nav-link:focus {
  color: #e9e9e9;
}

.inserv-header .dropdown-menu {
  min-width: 210px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #e6e6e6;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.35);
}

.inserv-header .dropdown-item {
  color: var(--rl-color-text);
  font-size: 15px;
  font-weight: 600;
  padding: 7px 14px;
  white-space: normal;
}

.inserv-header .dropdown-item:hover,
.inserv-header .dropdown-item:focus {
  background: #d9d9d9;
  color: #013472;
}

.inserv-header-phone {
  color: var(--rl-color-white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 16px;
}

.inserv-header-phone:hover { color: #e9e9e9; }

.inserv-header .navbar-toggler {
  margin: 6px 12px;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Desktop: a tall bar with the links centered in it. Each link fills the bar's height, so a sub-menu
   opens flush with the bar's bottom edge. */
@media (min-width: 992px) {
  .inserv-header .navbar { min-height: var(--inserv-nav); }

  /* the whole menu sits in the middle of the bar */
  .inserv-header .navbar-nav { margin: 0 auto; align-items: center; }

  .inserv-header .navbar-nav .nav-link {
    font-size: 13px;
    padding: calc((var(--inserv-nav) - 24px) / 2) 13px;
  }

  /* Contact: an outlined button, set a little apart from the plain links */
  .inserv-header .inserv-nav-cta { margin-left: 14px; }

  .inserv-header .navbar-nav .inserv-nav-cta .nav-link {
    padding: 8px 20px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .inserv-header .navbar-nav .inserv-nav-cta .nav-link:hover,
  .inserv-header .navbar-nav .inserv-nav-cta .nav-link:focus {
    background: var(--rl-color-white);
    border-color: var(--rl-color-white);
    color: var(--rl-color-primary);
  }
}

/* the wide container has room for larger letters and wider gaps */
@media (min-width: 1200px) {
  .inserv-header .navbar-nav .nav-link {
    font-size: 15px;
    padding-left: 19px;
    padding-right: 19px;
  }

  .inserv-header .inserv-nav-cta { margin-left: 20px; }
  .inserv-header .navbar-nav .inserv-nav-cta .nav-link { padding: 9px 26px; }
}

/* Phones and tablets: the menu opens as a list, sub-pages shown under their parent */
@media (max-width: 991.98px) {
  .inserv-header .navbar-collapse {
    flex-basis: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 0 10px;
  }

  .inserv-header .navbar-nav .nav-link {
    font-size: 15px;
    line-height: 1.4;
    padding: 10px 16px;
  }

  .inserv-header .dropdown-menu {
    display: block;
    position: static;
    background: transparent;
    box-shadow: none;
  }

  .inserv-header .dropdown-item {
    color: var(--rl-color-white);
    font-size: 16px;
    font-weight: 400;
    padding: 7px 16px 7px 34px;
  }

  .inserv-header .dropdown-item:hover,
  .inserv-header .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.12);
    color: var(--rl-color-white);
  }
}


/* --- Banner: texture band, photo, logo plate ------------------------------ */

/* The band behind the photo: a water-line photograph (Doug's, 2026-11-30) that runs the full window
   width and is exactly as tall as the banner photo, so the two end on the same line at every size.
   Its lower edge fades into the page color so the band has no hard bottom edge. Only the parts to the
   left and right of the photo ever show. */
.inserv-banner-band {
  background-repeat: no-repeat;
  background-position: center, center 30%;
  background-size: 100% 100%, cover;
}

.inserv-banner-band-home {
  background-color: var(--rl-color-light);
  background-image: linear-gradient(to bottom, transparent 62%, var(--rl-color-light) 100%), url('/img/bg-water.jpg');
}

.inserv-banner-band-sub {
  background-color: var(--rl-color-white);
  background-image: linear-gradient(to bottom, transparent 62%, var(--rl-color-white) 100%), url('/img/bg-water.jpg');
}

/* Below 992px the photo spans the whole window and covers the band, so the picture is not loaded */
@media (max-width: 991.98px) {
  .inserv-banner-band-home,
  .inserv-banner-band-sub { background-image: none; }
}

.inserv-banner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--inserv-wrap);
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--rl-color-primary);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  height: var(--inserv-banner);
  /* no shadow around the photo (Doug 2026-11-30) */
}

.inserv-banner-home { background-image: url('/img/banner-home.jpg'); }
.inserv-banner-sub  { background-image: url('/img/banner-inner.jpg'); }

/* Logo plate: the translucent panel on the photo */
.inserv-logo {
  width: 240px;
  height: 94px;
  background: url('/img/bg-logo.png') no-repeat left top / 100% 100%;
}

.inserv-logo { margin-top: 54px; }

.inserv-logo img {
  display: block;
  box-sizing: content-box;
  width: 167px;
  height: auto;
  margin: 0;
  padding: 17px 0 0 25px;
}

@media (min-width: 1200px) {
  .inserv-logo { width: 285px; height: 112px; }
  .inserv-logo img { width: 198px; padding: 20px 0 0 30px; }
  .inserv-logo { margin-top: 64px; }
}

@media (max-width: 991.98px) {
  :root { --inserv-banner: 300px; }
  .inserv-logo { margin-top: 20px; }
}

@media (max-width: 575.98px) {
  :root { --inserv-banner: 240px; }
}


/* --- Content card --------------------------------------------------------- */

/* The card rides up over the bottom of the banner photo. The pull is on <main>, not on the card:
   rl-rhythm.css zeroes the top margin of a container's first child. */
main {
  position: relative;
  z-index: 10;
  margin-top: calc(-1 * var(--inserv-overlap));
  /* The framework stretches <main> to fill a tall window (sticky footer). Here that opened a gap between
     the card and the copyright line, so <main> keeps its own height; spare room falls below the footer,
     which has no band of its own to float (Doug 2026-11-30). */
  flex: 0 0 auto;
}

.inserv-card {
  width: 100%;
  max-width: var(--inserv-card);
  margin: 0 auto;
  background: var(--rl-color-white);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);   /* soft drop shadow, same as the floated photos */
}

.inserv-card-body {
  padding: 40px var(--inserv-inset);
}

.inserv-card-body::after {      /* contain the floated photos */
  content: "";
  display: block;
  clear: both;
}

.inserv-card-body p { margin: 0 0 1em; }

/* Page title on the inner pages: the look of the home page's "Trust" heading (heavy blue, gold rule
   beneath), a step smaller. 45px, Trust's own size, was too large for the longer titles (Doug
   2026-11-30); the 2013 inner titles were 24px. */
.inserv-pagetitle {
  font-weight: 800;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 15px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--rl-color-secondary);
}

@media (max-width: 991.98px) { .inserv-pagetitle { font-size: 28px; } }
@media (max-width: 575.98px) { .inserv-pagetitle { font-size: 25px; } }

/* Pictures inside a page.
   -photo-*  a photograph: thin white edge and a soft drop shadow (Doug 2026-11-30).
   -fig-*    a product cut-out or diagram on white: no edge, no shadow (the 2013 site's .right / .left). */
.inserv-photo-right,
.inserv-photo-center {
  border: 1px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.inserv-photo-right,
.inserv-photo-center,
.inserv-fig-right,
.inserv-fig-left {
  height: auto;                  /* keeps the picture's shape whenever its width is limited */
}

.inserv-photo-right  { float: right; margin: 5px 0 10px 20px; }
.inserv-fig-right    { float: right; margin: 0 0 10px 20px; }
.inserv-fig-left     { float: left;  margin: 0 20px 10px 0; }
.inserv-photo-center { display: block; max-width: 100%; margin: 4px auto 1.25em; }

/* Lists in page copy: the 2013 site's small grey arrow in place of a bullet */
.inserv-list {
  list-style: none;
  margin: 0 0 1em 20px;
  padding: 0;
}

.inserv-list li {
  position: relative;
  margin: 0 0 5px;
  padding-left: 12px;
  line-height: 1.4;
}

.inserv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  border-style: solid;
  border-width: 3px 0 3px 5px;
  border-color: transparent transparent transparent #666;
}

/* A long list set in two columns (the 2013 site used a two-cell table) */
@media (min-width: 768px) {
  .inserv-list-2col { columns: 2; column-gap: 40px; }
  .inserv-list-2col li { break-inside: avoid; }
}

/* Water Treatment Options: three pairs of opposites joined by a two-way arrow.
   The 2013 page showed these words as a picture; here they are text. */
.inserv-scale {
  list-style: none;
  margin: 4px 0 1.25em;          /* full width of the card, like the text around it */
  padding: 22px 30px;
  background:
    radial-gradient(circle at 9% 28%, rgba(150, 165, 215, 0.22) 0, transparent 17%),
    radial-gradient(circle at 31% 20%, rgba(150, 225, 175, 0.24) 0, transparent 15%),
    radial-gradient(circle at 44% 62%, rgba(250, 190, 150, 0.26) 0, transparent 14%),
    radial-gradient(circle at 57% 18%, rgba(150, 225, 175, 0.2) 0, transparent 13%),
    radial-gradient(circle at 66% 58%, rgba(250, 190, 150, 0.22) 0, transparent 15%),
    radial-gradient(circle at 88% 30%, rgba(250, 230, 140, 0.26) 0, transparent 15%),
    radial-gradient(circle at 32% 88%, rgba(150, 210, 245, 0.28) 0, transparent 16%),
    radial-gradient(circle at 22% 62%, rgba(250, 230, 140, 0.22) 0, transparent 13%),
    radial-gradient(circle at 56% 82%, rgba(150, 210, 245, 0.24) 0, transparent 15%);
}

.inserv-scale li {
  display: grid;
  grid-template-columns: minmax(5.4em, 22%) 1fr minmax(7.6em, 22%);
  align-items: center;
  column-gap: 26px;
  margin: 0 0 14px;
  padding: 7px 18px;
  border-radius: 8px;
  background: rgba(238, 245, 249, 0.72);
  font-weight: 600;
  color: var(--rl-color-primary);
}

.inserv-scale li:last-child { margin-bottom: 0; }
.inserv-scale-a { text-align: right; }

.inserv-scale-arrow {
  position: relative;
  height: 2px;
  background: #1fb0ee;
}

.inserv-scale-arrow::before,
.inserv-scale-arrow::after {
  content: "";
  position: absolute;
  top: -4px;
  border-style: solid;
  border-color: transparent;
}

.inserv-scale-arrow::before { left: -1px;  border-width: 5px 9px 5px 0; border-right-color: #1fb0ee; }
.inserv-scale-arrow::after  { right: -1px; border-width: 5px 0 5px 9px; border-left-color: #1fb0ee; }

/* Going Green: the four methods, each a picture with its name, four across (two across on phones) */
.inserv-green {
  list-style: none;
  margin: 1.5em 0 0.5em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.inserv-green li { margin: 0; text-align: center; }

main .inserv-green a:not(.btn):not(.rl-btn):not(.rl-btn-light):not(.rl-btn-outline):not(.rl-btn-outline-light):not(.rl-title-link):not(.nav-link):not(.navbar-brand):not(.back-to-top) {
  display: block;
  text-decoration: none;
}

main .inserv-green a:not(.btn):not(.rl-btn):not(.rl-btn-light):not(.rl-btn-outline):not(.rl-btn-outline-light):not(.rl-title-link):not(.nav-link):not(.navbar-brand):not(.back-to-top):hover {
  text-decoration: underline;
}

.inserv-green img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 4px;
}

/* Contact: the form beside the phone, fax, address and map */
.inserv-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.inserv-details p { margin: 0 0 0.6em; }
.inserv-details address { margin: 0 0 1em 34px; font-style: normal; }

.inserv-map {
  display: block;
  width: 100%;
  height: 350px;
  border: 1px solid var(--rl-color-border);
}

/* The three standard legal pages. Headings set size and spacing only and take everything else from
   the site's own heading rules. */
.rl-legal-text h2 { margin: 1.6em 0 0.4em; }
.rl-legal-text ul { margin: 0 0 1em; padding-left: 1.4em; }
.rl-legal-text li { margin-bottom: 0.25em; }

/* Link with the water-drop bullet. A stand-alone link, never inside a sentence, so it carries no
   underline (the framework underlines links in running text; this selector matches its weight). */
main a.inserv-drop:not(.btn):not(.rl-btn):not(.rl-btn-light):not(.rl-btn-outline):not(.rl-btn-outline-light):not(.rl-title-link):not(.nav-link):not(.navbar-brand):not(.back-to-top) {
  padding-left: 17px;
  background: url('/img/drop.png') no-repeat left 4px;
  font-weight: 600;
  text-decoration: none;
}

main a.inserv-drop:not(.btn):not(.rl-btn):not(.rl-btn-light):not(.rl-btn-outline):not(.rl-btn-outline-light):not(.rl-title-link):not(.nav-link):not(.navbar-brand):not(.back-to-top):hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  :root { --inserv-inset: 30px; --inserv-overlap: 60px; }
  .inserv-card { width: calc(100% - 30px); }
  /* A floated picture shrinks with the card so the text beside it keeps a readable width */
  .inserv-photo-right,
  .inserv-fig-right,
  .inserv-fig-left { max-width: 42%; }
  .inserv-contact { grid-template-columns: 1fr; gap: 28px; }
}

/* Below tablet width the text beside a picture would be too narrow: the picture sits above the text,
   centered, never enlarged past its own size (it would blur) */
@media (max-width: 767.98px) {
  .inserv-photo-right,
  .inserv-fig-right,
  .inserv-fig-left { float: none; display: block; max-width: 100%; margin: 0 auto 16px; }
  .inserv-fig-tall  { width: auto; max-height: 260px; }   /* the long anode rod */
  .inserv-fig-decor { display: none; }                    /* the large logo mark: decoration, already in the banner */
  .inserv-green { grid-template-columns: repeat(2, 1fr); }
  .inserv-scale { padding: 14px 10px; }
  .inserv-scale li { column-gap: 14px; padding: 7px 12px; }
}

@media (max-width: 575.98px) {
  :root { --inserv-inset: 20px; --inserv-overlap: 40px; }
  .inserv-card { width: calc(100% - 20px); }
}


/* --- Home page ------------------------------------------------------------ */

/* The home card has no white of its own: the title strip is see-through over the photo */
.inserv-home .inserv-card { background: transparent; }

.inserv-title-strip {
  background: rgba(255, 255, 255, 0.9);
  padding: 28px var(--inserv-inset) 22px;
}

.inserv-title-strip h1 {
  margin: 0;
  color: var(--rl-color-text);
  font-weight: 600;
  font-size: 30px;
  line-height: 30px;
}

/* The condensed sub-line (the old site loaded Open Sans Condensed Light for this one line) */
.inserv-subtitle {
  margin: 10px 0 0;
  color: var(--rl-color-text);
  font-weight: 300;
  font-stretch: 75%;
  font-size: 26px;
  line-height: 31px;
}

.inserv-home-body {
  background: var(--rl-color-white);
  padding: 26px 0 30px var(--inserv-inset);
}

/* The framework gives every .row a 30px gutter; these two columns sit flush, as on the old page */
.inserv-home-body .row { --bs-gutter-x: 0; }

.inserv-trust {
  font-weight: 800;
  font-size: 45px;
  line-height: 54px;
  margin: 0 0 10px;
  border-bottom: 2px solid var(--rl-color-secondary);
}

.inserv-home-text p {
  margin: 0 0 0.75em;
}

.inserv-home-text .inserv-more {
  margin: 18px 0 0 12px;
  font-size: 16px;
}

/* "Your System" wheel: the picture, with each label a link placed over it.
   Positions are the old picture's own label positions, as percentages of the 532 x 422 box. */
.inserv-system {
  position: relative;
  container-type: inline-size;
  width: 532px;
  max-width: 100%;
  aspect-ratio: 532 / 422;
  margin-top: 11px;
  overflow: hidden;
}

.inserv-system-wheel {
  position: absolute;
  left: 0;
  top: -4.74%;
  width: 97%;
  max-width: none;
  height: auto;
}

.inserv-system ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.inserv-system li {
  position: absolute;
  margin: 0;
  line-height: 1.1;
}

.inserv-system li a:not(.btn) {
  display: inline-block;
  min-height: 20px;              /* room for the whole 16px drop, which starts 4px down */
  white-space: nowrap;
  font-size: clamp(11px, 3.1cqw, 16.5px);
  text-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 12px #fff;
}


/* Wheel labels sit on the picture's tinted areas, where the site's link blue measured 3.6:1 to 4.3:1
   (audit 2026-11-30; WCAG AA needs 4.5:1). The darker brand blue measures 5.6:1 or better on the
   darkest tint. Same selector weight as the link color rule it overrides. */
main .inserv-system a.inserv-drop:not(.btn):not(.rl-btn):not(.rl-btn-light):not(.rl-btn-outline):not(.rl-btn-outline-light):not(.rl-title-link):not(.nav-link):not(.navbar-brand):not(.back-to-top) {
  color: var(--rl-color-primary-dark);
}

/* The 2026-11-30 picture has a larger wheel than the 2013 one (same canvas, same center), so the labels
   beside it sit a little further out than the old positions. */
.inserv-s1 { left: 41%;   top: 12.3%; }
.inserv-s2 { left: 8.5%;  top: 24.5%; }
.inserv-s3 { left: 67.9%; top: 28.5%; }
.inserv-s4 { left: 3.2%;  top: 47.2%; }
.inserv-s5 { left: 68.8%; top: 57.4%; }
.inserv-s6 { left: 11%;   top: 72.5%; }
.inserv-s7 { left: 50%;   top: 80%; }

@media (min-width: 992px) {
  .inserv-title-strip { min-height: var(--inserv-overlap); padding-bottom: 0; }
  .inserv-subtitle { white-space: nowrap; }
  .inserv-home-body { padding-bottom: 0; min-height: 500px; }
  /* the text takes what the 532px wheel leaves: 304px at the 2013 width, 468px in the wider container */
  .inserv-home-text { flex: 1 1 0; min-width: 0; }
}

@media (min-width: 1200px) {
  .inserv-title-strip { padding-top: 34px; }
  .inserv-title-strip h1 { font-size: 35px; line-height: 35px; }
  .inserv-subtitle { margin-top: 12px; font-size: 30px; line-height: 36px; }
}

@media (max-width: 991.98px) {
  .inserv-title-strip h1 { font-size: 26px; line-height: 1.15; }
  .inserv-subtitle { font-size: 21px; line-height: 1.2; }
  .inserv-home-body { padding-right: var(--inserv-inset); }
  .inserv-trust { font-size: 38px; line-height: 1.2; }
  .inserv-home-text .inserv-more { padding-bottom: 6px; }
  .inserv-system { margin: 30px auto 0; }
}

/* Small phones: the labels would be too small to read or tap over the picture, so they become a list under it */
@media (max-width: 479.98px) {
  .inserv-system { aspect-ratio: auto; overflow: visible; }
  .inserv-system-wheel { position: static; display: block; width: 100%; margin: 0 auto; }
  .inserv-system li { position: static; width: auto; margin: 0 0 10px; line-height: 1.4; }
  .inserv-system li a:not(.btn) { font-size: 16px; text-shadow: none; }
  .inserv-system li br { display: none; }
}


/* --- Email form modal (includes/email-modal.php) -------------------------- */

.rl-email-modal { --bs-modal-width: 580px; }   /* a little wider than Bootstrap's 500px (Doug 2026-11-30) */
.rl-email-modal .modal-content { border: 0; border-radius: 4px; overflow: hidden; }

.rl-email-modal .modal-header {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 14px 20px;
  border-bottom: 2px solid var(--rl-color-secondary);
}

.rl-email-modal-logo { display: block; flex: none; width: 120px; height: auto; }

/* Logo, heading and close button share one row; a long name wraps inside the heading, not under the logo */
.rl-email-modal .modal-title {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.rl-email-modal .btn-close { flex: none; margin: 0 0 0 auto; }
.rl-email-modal .modal-body { padding: 16px 14px 0; }
.rl-email-modal iframe { display: block; width: 100%; border: 0; }

/* The cookie button floats above everything: keep it off the form. While the cookie banner is still
   showing, leave room for it under the modal so Submit can scroll clear. */
body.modal-open .rl-consent-fab { display: none; }
body.modal-open .rl-email-modal { padding-bottom: var(--rl-consent-h, 0px); }

@media (max-width: 479.98px) {
  .rl-email-modal .modal-header { padding: 12px 14px; }
  .rl-email-modal .modal-title { flex: 1 1 100%; order: 4; }
  .rl-email-modal .modal-body { padding: 10px 4px 0; }
}

/* --- Footer ---------------------------------------------------------------- */

.inserv-footer {
  border-top: 0;
  margin-top: 0;
  background: transparent;
  color: var(--rl-color-text-light);
  font-size: 12px;
  padding: 0 0 20px;
}

.inserv-footer a { color: var(--rl-color-text-light); text-decoration: none; }
.inserv-footer a:hover { color: var(--rl-color-primary); }

/* The copyright line runs the width of the card, flush with its left edge. */
.inserv-credits {
  max-width: var(--inserv-card);
  margin: 0 auto;
  padding: 10px 0;
  text-align: center;            /* centered over the AWT mark (Doug 2026-11-30) */
}

.inserv-credits p { margin: 0; }
.inserv-credits a[href^="tel:"] { white-space: nowrap; }   /* the phone number never breaks across two lines */

.inserv-footer-marks {
  text-align: center;
  padding: 10px 0 24px;   /* the AWT mark sits close under the copyright line (Doug 2026-11-30) */
}

.inserv-footer .site-version { white-space: nowrap; }

@media (max-width: 991.98px) {
  .inserv-credits { width: calc(100% - 30px); }
}

@media (max-width: 575.98px) {
  .inserv-credits { width: calc(100% - 20px); font-size: 13px; line-height: 1.7; }
}
