/* === Red Barn Media Group - Combined Optimized Styles - Lions Heating & Air Conditioning === */

/* === CSS Custom Properties === */
:root {
  /* Colors */
  --color-blue: #2a3477;
  --color-blue-hover: #3d4a94;
  --color-blue-opacity-85: rgba(42, 52, 119, 0.85);
  --color-white: #ffffff;
  --color-red: #ee2427;
  --color-red-hover: #d41e21;
  --color-yellow: #e4c720;
  --color-gray: #eeeeee;
  --color-gray-666: #666;
  --color-333: #333;
  --color-black: #231f20;

  /* Typography */
  --font-utile: utile-narrow, sans-serif;

  /* Layout */
  --hero-height: 960px;
  --hero-padding: 3rem;
  --transition-standard: 0.25s;
  --border-radius-standard: 0.65rem;
  --border-radius-large: 1rem;
  --border-radius-card: 0.65rem;
  --box-shadow-dropdown: 0 3rem 3rem rgba(0, 0, 0, 0.175);
  --margin-bottom: 0.5rem;
  /* New: mobile hero gradient using brand blues */
  --hero-gradient: linear-gradient(
    135deg,
    var(--color-gray) 0%,
    var(--color-blue-hover) 50%,
    var(--color-gray) 100%
  );
}

/* === Base Styles === */
html,
body {
  width: 100%;
  height: 100%;
}

body {
  color: var(--color-blue);
  font-family: var(--font-utile);
  font-weight: 400;
  background-color: var(--color-white);
}

/* === Typography === */
/* OPTIMIZED: Grouped all Barlow-based headings to set shared properties once. */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--font-utile);
  color: var(--color-blue);
  font-weight: 900;
}
p,
ul li,
ol li,
table {
  font-size: 0.9rem;
  font-weight: 400;
}
.fs-8 {
  font-size: 0.65rem;
}

/* === Menu Styles === */
.menu-container {
  margin-top: 0 !important;
}

.chs-main-menu {
  background: var(--color-white);
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}

.menu-container.shrink-menu .chs-main-menu {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 5rem;
  transition: height var(--transition-standard);
}

.shrink-menu .navbar-nav {
  height: 4rem;
}

/* Navigation Links */
.menu-container .navbar-light .navbar-nav .nav-link {
  color: var(--color-blue);
  font-family: var(--font-utile);
  font-weight: 900;
  font-size: 0.95rem;
}
.menu-container .navbar-light .navbar-nav .nav-link.phone {
  color: var(--color-red);
}

.menu-container .navbar-light .navbar-nav .nav-link:is(:hover, :active, :focus) {
  color: var(--color-red);
}

/* Dropdown Styles */
.nav-item .dropdown-item {
  color: var(--color-orange-yellow);
  font-family: var(--font-utile);
  font-weight: 500;
  font-size: 0.9rem;
}
.nav-item .dropdown-item:is(:focus, :hover) {
  background-color: var(--color-gray);
  color: var(--color-blue);
  border-radius: 0.25rem;
}
.dropdown-item:is(:active) {
  color: var(--color-orange) !important;
  background-color: var(--color-333) !important;
}

.dropdown-toggle::after,
.dropend .dropdown-item::after,
.dropstart .dropdown-toggle::before {
  display: none !important;
}

.navbar-expand-xl .navbar-nav .dropdown-menu {
  border: 0;
  box-shadow: var(--box-shadow-dropdown);
  padding: 0.5rem;
}

.navbar-expand-xl .navbar-nav .dropdown-menu.main-dropdown {
  top: 2rem;
  padding: 1rem 0.5rem 0.5rem;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  transition: top var(--transition-standard);
}

.navbar-expand-xl .navbar-nav .dropdown-menu.sub-dropdown {
  border-radius: var(--border-radius-large);
}

/* Logo Styles */
.menu-container .container-fluid.chs-logo-row {
  transition: all var(--transition-standard);
}

.chs-logo-desktop {
  position: absolute;
  width: 195px;
  height: 65px;
  top: -2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  transition: all var(--transition-standard);
}

.shrink-menu .chs-logo-desktop {
  width: 150px;
  height: 50px;
  top: -1.5rem;
}

/* Menu Layout */
.chs-menu-top {
  background: var(--color-blue);
  background-size: cover;
  position: relative;
  clip-path: polygon(1% 50%, 0% 100%, 100% 100%, 99% 50%, 100% 0, 0 0);
  z-index: 0;
}
.chs-menu-top-row,
.chs-menu-padding {
  padding: 0 1.5rem;
  transition: padding var(--transition-standard);
}

.chs-menu-top-row .chs-menu-top-col {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: padding var(--transition-standard);
}

.shrink-menu .chs-menu-top-row .chs-menu-top-col {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.chs-menu-top-row .chs-menu-top-col p {
  font-family: var(--font-utile);
  font-weight: 900;
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* === Home Hero Styles === */
.chs-hero-intro {
  background: url(../img/chs-hero-2000.webp) center center/cover;
  width: 100%;
  height: var(--hero-height);
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
}

/* Sub-hero background variants (inherit sizing/position from base) */
.chs-hero-intro.sub.generator {
  background-image: url(../img/chs-hero-generator-2000.webp);
}
.chs-hero-intro.sub.switches {
  background-image: url(../img/chs-hero-switches-2000.webp);
}
.chs-hero-intro.sub.panel {
  background-image: url(../img/chs-hero-panel-2000.webp);
}
/* NEW: sub-hero variants */
.chs-hero-intro.sub.remodel {
  background-image: url(../img/chs-hero-remodel-2000.webp);
}
.chs-hero-intro.sub.ev {
  background-image: url(../img/chs-hero-ev-2000.webp);
}

.chs-hero-intro .container-fluid {
  padding-left: 5rem;
  padding-right: 5rem;
}
.chs-hero-intro h6 {
  color: var(--color-white);
}
.chs-hero-intro h1 {
  font-size: 3rem;
  line-height: 1;
  color: var(--color-white);
}
.chs-hero-intro p {
  color: var(--color-white);
}
.chs-hero-intro .card {
  border-radius: 0 !important;
  border-top-right-radius: var(--border-radius-card) !important;
}
.chs-hero-intro .content.card {
  background: var(--color-blue-opacity-85);
  border-radius: 0 !important;
  border-top-left-radius: var(--border-radius-card) !important;
}
.utility-page-hero-padding .card {
  background: var(--color-blue-opacity-85);
  border-top-right-radius: var(--border-radius-card) !important;
  border-top-left-radius: var(--border-radius-card) !important;
}
/* === Banner Styles === */
.chs-red-divider {
  background: var(--color-red);
  background-size: cover;
  height: 25px;
  position: relative;
  z-index: 0;
  clip-path: polygon(1% 50%, 0% 100%, 100% 100%, 99% 50%, 100% 0, 0 0);
}
.chs-img-banner-01 {
  background: url(../img/chs-banner-img-row-01.webp) center center;
  background-size: cover;
  width: 100%;
  height: 230px;
  position: relative;
  z-index: 0;
}
.chs-img-banner-02 {
  background: url(../img/chs-banner-img-row-02.webp) center center;
  background-size: cover;
  width: 100%;
  height: 230px;
  position: relative;
  z-index: 0;
}
.chs-rollover-circuits {
  position: absolute;
  width: 800px;
  height: 506px;
  top: 3rem;
  right: 15rem;
  background: url(../img/chs-banner-circuits.svg);
  z-index: 0;
}
.chs-bg-circuits {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 379px;
  background: url(../img/chs-banner-circuits-alt.svg) no-repeat center/contain;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.chs-triangle {
  position: absolute;
  width: 450px;
  height: 143px;
  bottom: 0rem;
  right: 0rem;
  background: url(../img/chs-shape-triangle.svg);
  z-index: 0;
}
.chs-rollover-character {
  position: absolute;
  width: 250px;
  height: 238px;
  bottom: 0rem;
  right: 2rem;
  background: url(../img/chs-character.svg);
  z-index: 1;
}

.chs-semi-circle {
  position: absolute;
  width: 325px;
  height: 163px;
  bottom: 0rem;
  right: 5rem;
  background: url(../img/chs-shape-semi-circle.svg);
  z-index: -1;
}
.chs-character {
  position: absolute;
  width: 230px;
  height: 219px;
  bottom: 0rem;
  right: 7.5rem;
  background: url(../img/chs-character.svg);
  z-index: 2;
}
.chs-character-alt {
  position: absolute;
  width: 230px;
  height: 219px;
  bottom: 0rem;
  right: 7.5rem;
  background: url(../img/chs-character.svg);
  z-index: 2;
}
/* === Rollover Styles === */

/* === Button Styles === */
.btn {
  padding: 0.55rem 1.25rem;
  font-family: var(--font-utile);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: var(--margin-bottom);
}

.btn.btn-link {
  padding: 0.25rem 0.125rem;
}

.btn.btn-menu {
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
}
.btn.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
.btn.btn-xl {
  padding: 1.25rem 1.75rem;
  font-size: 1.5rem;
}
.btn.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}

.btn-blue,
.btn-252383 {
  color: var(--color-white);
  background: var(--color-blue);
  border-color: var(--color-blue);
}
.btn-blue:is(:hover, :active, :focus),
.btn-252383:is(:hover, :active, :focus) {
  color: var(--color-white);
  background: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
}
.btn-white {
  color: var(--color-blue);
  background: var(--color-white);
  border-color: var(--color-white);
}
.btn-white:is(:hover, :active, :focus) {
  color: var(--color-blue);
  background: var(--color-gray);
  border-color: var(--color-gray);
}

.btn-red {
  color: var(--color-white);
  background: var(--color-red);
  border-color: var(--color-red);
}
.btn-red:is(:hover, :active, :focus) {
  color: var(--color-white);
  background: var(--color-red-hover);
  border-color: var(--color-red-hover);
}
.btn-outline-red {
  color: var(--color-white);
  background: transparent;
  border-color: var(--color-red);
}
.btn-outline-red:is(:hover, :active, :focus) {
  color: var(--color-white);
  background: var(--color-red);
  border-color: var(--color-red);
}

.btn-black {
  color: var(--color-orange-yellow);
  background: var(--color-black);
  border-color: var(--color-black);
}
.btn-black:is(:hover, :active, :focus) {
  color: var(--color-yellow);
  background: var(--color-333);
  border-color: var(--color-black);
}

.btn-anti-flex {
  align-self: flex-start;
}

/* === Color Utility Classes === */
/* NOTE: !important is generally acceptable for utility classes to ensure they override component styles. */
.text-blue {
  color: var(--color-blue) !important;
}
.bg-blue {
  background-color: var(--color-blue) !important;
}
.border-blue {
  border-color: var(--color-blue) !important;
}

.text-red {
  color: var(--color-red) !important;
}
.bg-red {
  background-color: var(--color-red) !important;
}
.border-red {
  border-color: var(--color-red) !important;
}

.text-orange-yellow {
  color: var(--color-orange-yellow) !important;
}
.bg-orange-yellow {
  background-color: var(--color-orange-yellow) !important;
}
.border-orange-yellow {
  border-color: var(--color-orange-yellow) !important;
}
bg-gray .bg-chs-wave {
  background: url(../img/chs-wave-background.svg) center center;
  background-size: cover;
  width: 100%;
  height: fit-content;
  overflow-x: clip;
}

.text-dark-orange {
  color: var(--dark-orange) !important;
}
.bg-dark-orange {
  background-color: var(--dark-orange) !important;
}
.border-dark-orange {
  border-color: var(--dark-orange) !important;
}

.text-333 {
  color: var(--color-333) !important;
}
.bg-333 {
  background-color: var(--color-333) !important;
}
.border-333 {
  border-color: var(--color-333) !important;
}

.text-yellow {
  color: var(--color-yellow) !important;
}
.bg-yellow {
  background-color: var(--color-yellow) !important;
}
.border-yellow {
  border-color: var(--color-yellow) !important;
}

.text-black {
  color: var(--color-black) !important;
}
.bg-black {
  background-color: var(--color-black) !important;
}
.border-black {
  border-color: var(--color-black) !important;
}

.text-light-gray {
  color: var(--color-light-gray) !important;
}
.bg-gray {
  background-color: var(--color-gray) !important;
}
.border-gray {
  border-color: var(--color-gray) !important;
}

.text-666 {
  color: var(--color-gray-666) !important;
}
.bg-666 {
  background-color: var(--color-gray-666) !important;
}

/* === Component Styles === */
.img-fluid {
  margin-bottom: 1rem;
}

ul.list-group,
ol.list-group,
.table-responsive,
table.table-bordered {
  border-radius: var(--border-radius-card) !important;
  margin-bottom: 1.5rem;
}
.card {
  border: 1px solid var(--dark-orange);
  border-radius: var(--border-radius-card) !important;
  margin-bottom: 1.5rem;
}
.card .card-body {
  padding: 1.5rem;
}
.card.h-100 {
  margin-bottom: 0rem;
}
.card.h-100 ul.list-group:last-of-type {
  margin-bottom: 0rem;
}
ul.list-group li.list-group-item,
ol.list-group li.list-group-item,
table.table.table-bordered thead tr th,
table.table.table-bordered tbody tr td {
  background: transparent !important;
  border-color: var(--dark-orange);
}

.accordion {
  background: transparent;
  border: none;
  color: var(--color-black);
}
.accordion-item,
.accordion-header,
.accordion-button {
  background: transparent;
  border: none;
  color: var(--color-black);
}
.accordion-item {
  border-bottom: 0.25px solid var(--color-orange);
}
.accordion-button {
  font-size: 0.9rem;
}
.accordion-body {
  font-size: 0.8rem;
}

.accordion-item:last-of-type,
.accordion-item:last-of-type .accordion-button,
.accordion-item:last-of-type .accordion-collapse {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.accordion-button:not(.collapsed) {
  color: var(--color-orange);
  box-shadow: none;
  background: transparent;
}
.accordion-button::after {
  display: none !important;
}

/* Accordion: bottom-only borders and rotating chevrons */
.accordion-item {
  /* ensure only bottom border shows */
  border: none;
  border-bottom: 1px solid var(--color-333);
  border-radius: 0 !important;
}
/* keep corners flat */
.accordion-item:last-of-type,
.accordion-item:last-of-type .accordion-button,
.accordion-item:last-of-type .accordion-collapse {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
/* remove any button shadow/border and animate chevron */
.accordion-button {
  box-shadow: none !important;
  border: 0;
}
/* rotate the Font Awesome chevron when expanded */
.accordion-button .fa-angle-down {
  transition: transform var(--transition-standard) ease;
  transform: rotate(0deg);
}
.accordion-button:not(.collapsed) .fa-angle-down {
  transform: rotate(180deg);
}

/* Accordion modifier: borderless (opt-out of global bottom border) */
.accordion.accordion--borderless .accordion-item {
  border-bottom: 0 !important;
}

.btn-rollover {
  color: #8195f4;
  background: transparent;
  font-size: 1.35rem;
  font-weight: 900;
  border: none;
  text-align: start;
  padding-top: 0.175rem;
  padding-bottom: 0.175rem;
}
.btn-rollover:hover,
.btn-rollover.active {
  color: var(--color-yellow) !important;
  background: transparent !important;
}

/* === Utility Classes === */
strong,
em,
u {
  font-weight: inherit !important;
  font-style: inherit !important;
  text-decoration: inherit !important;
}
a {
  text-decoration: none;
}
.dashed {
  border-style: dashed !important;
}
.form-control::placeholder {
  color: var(--color-blue);
  font-weight: 500;
  opacity: 1;
}
.chs-service-area-link {
  color: var(--color-black);
  text-decoration: none;
  font-size: 0.85rem;
}
.utility-page-hero-padding {
  height: fit-content;
  padding-top: 10rem;
  padding-bottom: 0;
}

ul.chs-ul-li-angle-right {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
ul.chs-ul-li-angle-right li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}

ul.chs-ul-li-angle-right li::before {
  content: '';
  position: absolute;
  top: 0.1em;
  left: 0;

  /* Sizing */
  width: 1.2em;
  height: 1.2em;

  /* The icon's color */
  background-color: var(--color-red);

  /* --- The Icon's Shape (with vendor prefixes) --- */

  /* Standard properties for the newest browsers */
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath d='M246.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L178.7 256 41.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;

  /* -webkit- prefix for Safari, Chrome, Edge, and other WebKit-based browsers */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath d='M246.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L178.7 256 41.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
}
.mt-mobile {
  margin-top: 5rem;
}
/* === Sub Page Stlyes === */

/* === Footer Styles === */
footer h5 {
  color: var(--color-blue);
  margin-bottom: 1rem;
}
footer p {
  margin-bottom: 0.25rem;
  color: var(--color-black);
}
footer p a {
  color: var(--color-black);
  font-family: var(--font-utile);
  font-weight: 400;
}
footer p a:is(:hover, :active, :focus) {
  color: var(--color-red);
}

/* === Media Queries === */
/* OPTIMIZED: Each media query now only contains the styles that need to change at that breakpoint. */
@media (max-width: 1600px) {
  .chs-hero-intro {
    background-image: url(../img/chs-hero-1400.webp);
  }
  .chs-hero-intro.sub.generator {
    background-image: url(../img/chs-hero-generator-1400.webp);
  }
  .chs-hero-intro.sub.switches {
    background-image: url(../img/chs-hero-switches-1400.webp);
  }
  .chs-hero-intro.sub.panel {
    background-image: url(../img/chs-hero-panel-1400.webp);
  }
  /* NEW */
  .chs-hero-intro.sub.remodel {
    background-image: url(../img/chs-hero-remodel-1400.webp);
  }
  .chs-hero-intro.sub.ev {
    background-image: url(../img/chs-hero-ev-1400.webp);
  }
}

@media (max-width: 1400px) {
  .navbar-light .navbar-nav .nav-link {
    font-size: 0.85rem;
  }
  .chs-logo-desktop {
    position: absolute;
    width: 125px;
    height: 50px;
    top: -1.5rem;
  }

  .shrink-menu .chs-logo-desktop {
    width: 100px;
    height: 40px;
    top: -1.25rem;
  }

  img.chs-rollover-img-sizing {
    width: 505px;
    height: 139px;
  }

  /* === Banner Styles === */

  .chs-img-banner-01,
  .chs-img-banner-02 {
    height: 161px;
  }
}

@media (max-width: 1200px) {
  .chs-menu-top-row .chs-menu-top-col {
    padding-block: 0.5rem;
  }
  .shrink-menu .chs-menu-top-row .chs-menu-top-col {
    padding-block: 0.35rem;
  }
  .menu-container .navbar-light .navbar-nav .nav-link {
    font-size: 1.25rem;
  }
  .navbar-nav,
  .shrink-menu .navbar-nav {
    height: fit-content;
  }
  .navbar-nav {
    width: auto;
  }
  .offcanvas {
    background: var(--color-gray);
  }
  .navbar {
    height: 80px;
    transition: height var(--transition-standard);
  }
  .shrink-menu .navbar {
    height: 65px;
  }

  .chs-logo {
    position: absolute;
    background: url(../img/chs-logo-300-100.webp);
    background-size: cover;
    width: 195px;
    height: 65px;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 2.85rem;
    transition: all var(--transition-standard);
    z-index: 10;
  }
  .shrink-menu .chs-logo {
    width: 150px;
    height: 50px;
    top: 2.5rem;
  }

  .nav-fill .nav-item,
  .nav-fill > .nav-link {
    flex: 1 1 auto;
    text-align: left;
  }
  .rotate-at-mobile {
    transform: rotate(90deg);
  }
  .navbar-light .navbar-nav .nav-link {
    font-size: 1.25rem;
  }
  .chs-hero-intro .container-fluid {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .chs-hero-intro {
    background-image: url(../img/chs-hero-1200.webp);
  }
  .chs-hero-intro.sub.generator {
    background-image: url(../img/chs-hero-generator-1200.webp);
  }
  .chs-hero-intro.sub.switches {
    background-image: url(../img/chs-hero-switches-1200.webp);
  }
  .chs-hero-intro.sub.panel {
    background-image: url(../img/chs-hero-panel-1200.webp);
  }
  /* NEW */
  .chs-hero-intro.sub.remodel {
    background-image: url(../img/chs-hero-remodel-1200.webp);
  }
  .chs-hero-intro.sub.ev {
    background-image: url(../img/chs-hero-ev-1200.webp);
  }

  .chs-hero-intro h1 {
    font-size: 3.5rem;
  }
  .chs-hero-intro h2 {
    font-size: 1.25rem;
  }
  .mt-mobile {
    margin-top: 10rem;
  }

  /* === Banner Styles === */
  .chs-img-banner-01,
  .chs-img-banner-02 {
    height: 138px;
  }
}

@media (max-width: 991px) {
  .chs-menu-top-row,
  .chs-menu-padding {
    padding: 0 3.5rem;
  }
  .navbar-light .navbar-nav .nav-link {
    font-size: 1.35rem;
  }
  .chs-hero-intro .container-fluid {
    padding-left: 0rem;
    padding-right: 0rem;
  }
  .chs-hero-intro {
    background-image: url(../img/chs-hero-991.webp);
    height: fit-content;
    padding-top: 8rem;
    padding-bottom: 3rem;
  }
  .chs-hero-intro.sub.generator {
    background-image: url(../img/chs-hero-generator-991.webp);
  }
  .chs-hero-intro.sub.switches {
    background-image: url(../img/chs-hero-switches-991.webp);
  }
  .chs-hero-intro.sub.panel {
    background-image: url(../img/chs-hero-panel-991.webp);
  }
  /* NEW */
  .chs-hero-intro.sub.remodel {
    background-image: url(../img/chs-hero-remodel-991.webp);
  }
  .chs-hero-intro.sub.ev {
    background-image: url(../img/chs-hero-ev-991.webp);
  }
  .chs-hero-intro .container {
    padding-block: var(--hero-padding);
  }
  .chs-hero-intro h1 {
    font-size: 3rem;
  }
  .chs-hero-intro h2 {
    font-size: 1rem;
  }
  .chs-hero-intro-form-field {
    font-size: 0.85rem;
  }
  .chs-hero-intro .card {
    border-radius: 0 !important;
    border-bottom-right-radius: var(--border-radius-card) !important;
    border-bottom-left-radius: var(--border-radius-card) !important;
  }
  .chs-hero-intro .content.card {
    background: var(--color-blue-opacity-85);
    border-radius: 0 !important;
    border-top-left-radius: var(--border-radius-card) !important;
    border-top-right-radius: var(--border-radius-card) !important;
  }

  .utility-page-hero-padding .card {
    border-radius: var(--border-radius-card) !important;
  }

  /* Add breathing room above the bottom-anchored character and triangle */
  .pb-mobile {
    padding-bottom: 12rem;
  }

  /* === Banner Styles === */
  .chs-img-banner-01,
  .chs-img-banner-02 {
    height: 114px;
  }
}

/* Keep gradient for ALL heroes (base + sub) on small screens */
@media (max-width: 767px) {
  .chs-logo {
    width: 150px;
    height: 50px;
    top: 5.25rem;
  }
  .shrink-menu .chs-logo {
    width: 135px;
    height: 45px;
    top: 4.5rem;
  }

  /* CHANGED: apply gradient to .chs-hero-intro (includes .sub) */
  .chs-hero-intro {
    background: var(--hero-gradient) !important;
    height: fit-content;
  }

  .chs-hero-icon {
    display: none;
  }
  .chs-hero-intro .container {
    padding-block: var(--hero-padding);
  }
  .chs-hero-intro h1 {
    font-size: 2.5rem;
  }

  .chs-semi-circle,
  .chs-character {
    display: none;
  }
  .chs-img-banner-01,
  .chs-img-banner-02 {
    display: none;
  }
}

@media (max-width: 576px) {
  .chs-menu-top-row,
  .chs-menu-padding {
    padding: 0 1rem;
  }
  .chs-hero-intro h1 {
    font-size: 2.25rem;
  }
  .chs-hero-intro h2 {
    font-size: 0.85rem;
  }
  .chs-menu-top-row .chs-menu-top-col p {
    font-family: var(--font-utile);
    font-weight: 900;
    font-size: 0.75rem;
    margin-bottom: 0;
  }
  .chs-logo {
    top: 3.25rem;
  }
  .shrink-menu .chs-logo {
    top: 2.5rem;
  }
}

@media (max-width: 450px) {
  .chs-hero-intro h1 {
    font-size: 2rem;
  }
}

/* Linked Service Area Card Hover */
.chs-card-link .card {
  transition: background-color var(--transition-standard), border-color var(--transition-standard),
    box-shadow var(--transition-standard), transform var(--transition-standard);
}
.chs-card-link .card .h6,
.chs-card-link .card h1,
.chs-card-link .card h2,
.chs-card-link .card h3,
.chs-card-link .card h4,
.chs-card-link .card h5,
.chs-card-link .card h6 {
  transition: color var(--transition-standard);
}
.chs-card-link:is(:hover, :focus) .card {
  background-color: var(--color-blue);
  border-color: var(--color-blue-hover);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.chs-card-link:is(:hover, :focus) .card .h6,
.chs-card-link:is(:hover, :focus) .card h1,
.chs-card-link:is(:hover, :focus) .card h2,
.chs-card-link:is(:hover, :focus) .card h3,
.chs-card-link:is(:hover, :focus) .card h4,
.chs-card-link:is(:hover, :focus) .card h5,
.chs-card-link:is(:hover, :focus) .card h6 {
  color: var(--color-white);
}
/* Keyboard focus ring on the link wrapper */
.chs-card-link:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}
