﻿@import url("reset.css");

@import url("https://fonts.googleapis.com/css?family=Inter:regular,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Great+Vibes&display=swap");
@import url("gh-tier-layout.css?v=20260802-gf-divider-hide");
@import url("gh-pathways.css?v=20260728r61");
@import url("gh-tier-heroes.css?v=20260728r69");
@import url("gh-brand-mark.css?v=20260805-logo-r1");

/* ************COMMON************ */

.logo {
  font-weight: 700;
  font-size: 2.25rem;
  display: inline-block;
}

.logo img {
  height: 3rem;
  width: auto;
  display: block;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #303a4d;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
}

.title {
  font-size: 3.5rem;
  font-weight: 600;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* Keep main content visible in flex column layout (avoid zero-height flex shrink). */
main.page {
  flex: 1 1 auto;
  width: 100%;
}

/* .subtle-disclaimer — styles live inline on gentle-comforts.html & daily-grief-brief.html */

/* ************HEADER************ */

:root {
  /* Shared nav metrics — keep opening content below absolute/overlay headers */
  --gh-header-height: 6.35rem;
  --gh-header-clearance: calc(var(--gh-header-height) + 0.85rem);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 253, 251, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(1.06);
  backdrop-filter: blur(14px) saturate(1.06);
  border-bottom: 1px solid rgba(198, 210, 220, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 10px 28px rgba(72, 98, 120, 0.05);
  z-index: 1000;
  overflow: visible;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2rem;
  height: 2rem;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 251, 0.5) 0%,
    rgba(255, 253, 251, 0.12) 55%,
    transparent 100%
  );
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--gh-header-height);
  padding: 0.4rem 0.938rem 0.5rem;
  flex-wrap: wrap;
  max-width: 82rem;
  position: relative;
  z-index: 1;
}

/*
 * Gateway / editorial bodies without tier-hero-band clearance:
 * keep the site header in normal document flow so titles and photo
 * heroes are never cropped under the absolute overlay nav.
 * Home and other intentional under-nav atmospheres are unchanged.
 */
body.wga-page .header,
body.wgb-page .header,
body.bog-page .header,
body.gn-page .header,
body.gf-page .header,
body.fg-page .header,
body.sg-page .header,
body.atg-page .header,
body.wmin-site .header {
  position: relative;
  inset: auto;
  width: 100%;
  background: #fffdfb;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(198, 210, 220, 0.18);
  box-shadow: none;
}

body.wga-page .header::after,
body.wgb-page .header::after,
body.bog-page .header::after,
body.gn-page .header::after,
body.gf-page .header::after,
body.fg-page .header::after,
body.sg-page .header::after,
body.atg-page .header::after,
body.wmin-site .header::after {
  display: none;
  content: none;
}

.header__logo {
  position: relative;
  z-index: 2;
}

.header__logo img {
  max-height: 3.9rem;
  width: auto;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__link {
  font-weight: 600;
  position: relative;
  color: #3d5668;
  letter-spacing: 0.02em;
}

/* No submenu: For Professionals is a single link; hide any legacy dropdown markup */
.menu__submenu,
.menu__item.has-dropdown .menu__submenu {
  display: none !important;
  visibility: hidden !important;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.actions-header__button {
  font-weight: 600;
  display: inline-block;
  padding: 0.72rem 1.45rem;
  border: 1px solid rgba(35, 79, 115, 0.32);
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.72);
  color: #234f73;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(72, 98, 120, 0.06);
}

.actions-header__button:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(35, 79, 115, 0.45);
}

/*
 * Desktop / tablet landscape (horizontal header nav):
 * Keep logo + menu list + Start Here on ONE row. Targets the real DOM:
 * .header__navigation > .header__menu > nav.menu__body > ul.menu__list + a.actions-header__button
 */
@media (min-width: 1200px) {
  .header .header__container {
    flex-wrap: nowrap !important;
    max-width: min(100%, 90rem);
    box-sizing: border-box;
  }

  .header__logo {
    flex: 0 0 auto;
  }

  .header__logo img {
    max-height: 3.55rem;
  }

  .header__navigation {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }

  .header__menu.menu,
  .header__menu {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .menu__body {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100%;
    width: 100%;
    flex-wrap: nowrap !important;
    gap: 0.65rem !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .menu__list {
    display: flex !important;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    gap: 0.55rem !important;
    margin: 0;
    padding: 0;
  }

  .menu__item {
    flex: 0 0 auto;
  }

  .menu__link {
    font-size: 0.8125rem;
    letter-spacing: -0.01em;
  }

  .menu__body > .actions-header__button {
    flex: 0 0 auto;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.8125rem !important;
    border-radius: 26px;
    white-space: nowrap;
  }
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 180px;
}

.page__main.main_home {
  padding-bottom: 165px !important;
  margin-bottom: -15px !important;
}

/* Ensure Services page is not affected by home page margin changes */
.page__main.main_services {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* *****************HOME**************** */

/* **************PATHWAYS**************** */

.pathways {
  background-color: #fff;
  padding-top: 2rem;
  padding-bottom: 8.75rem;
}

.pathways__container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pathways__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.item-pathways {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.item-pathways:hover {
  transform: translateY(-5px);
}

.item-pathways:hover .item-pathways__image {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.item-pathways__image {
  margin-bottom: 1.5rem;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
}

.item-pathways__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-pathways__number {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #303a4d;
  white-space: nowrap;
  line-height: 120%;
}

.item-pathways__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 130%;
  color: #303a4d;
  text-align: center;
}

.item-pathways__text {
  max-width: 100%;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #303a4d;
  font-size: 0.938rem;
  text-align: center;
}

/* **************BRIEF DETAIL PAGE**************** */

.brief {
  background-color: #fff;
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.brief__container {
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.brief__navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.brief__back-link {
  color: #303a4d;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.brief__back-link:hover {
  color: #5a6b7d;
}

.brief__month-indicator,
.brief__date-indicator {
  font-weight: 600;
  font-size: 1.125rem;
  color: #303a4d;
  padding: 0.5rem 1rem;
  background-color: #e1e4eb;
  border-radius: 20px;
}

.brief__content {
  min-height: 300px;
}

.brief__card {
  background-color: #fff;
  border: 2px solid #e1e4eb;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.brief__title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #303a4d;
  line-height: 130%;
}

.brief__text {
  font-size: 1.125rem;
  line-height: 180%;
  letter-spacing: 0.02em;
  color: #303a4d;
}

.brief__loading,
.brief__error {
  text-align: center;
  padding: 3rem;
  font-size: 1.125rem;
  color: #303a4d;
}

.brief__error {
  color: #d32f2f;
}

.brief__date-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e1e4eb;
}

.brief__date-note {
  font-size: 0.938rem;
  color: #5a6b7d;
  font-style: italic;
  line-height: 150%;
}

.brief__month-indicator {
  background-color: #e1e4eb;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brief__month-indicator.brief__month-13 {
  background-color: #fff3cd;
  border: 2px solid #ffc107;
}

.brief__month-label {
  font-weight: 600;
  font-size: 1.125rem;
  color: #303a4d;
}

.brief__day-in-month {
  font-size: 0.938rem;
  color: #5a6b7d;
}

.brief__cycle-transition {
  background-color: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.brief__cycle-transition p {
  margin: 0;
  line-height: 150%;
  color: #303a4d;
}

.brief__cycle-info {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.brief__cycle-navigation {
  text-align: center;
}

.brief__cycle-text {
  font-size: 0.938rem;
  color: #5a6b7d;
  line-height: 150%;
  margin: 0;
}

.brief__choice-card {
  background-color: #fff;
  border: 2px solid #303a4d;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.brief__choice-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #303a4d;
}

.brief__choice-text {
  font-size: 1.125rem;
  line-height: 150%;
  color: #303a4d;
  margin-bottom: 2.5rem;
}

.brief__choice-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.brief__choice-button {
  background-color: #fff;
  border: 2px solid #e1e4eb;
  border-radius: 12px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.brief__choice-button:hover {
  border-color: #303a4d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brief__choice-button.brief__choice-month13:hover {
  border-color: #ffc107;
  background-color: #fffbf0;
}

.brief__choice-button.brief__choice-january:hover {
  border-color: #303a4d;
  background-color: #f5f5f5;
}

.brief__choice-button h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #303a4d;
}

.brief__choice-button p {
  font-size: 1rem;
  line-height: 150%;
  color: #303a4d;
  margin-bottom: 0.5rem;
}

.brief__choice-button small {
  font-size: 0.875rem;
  color: #5a6b7d;
  font-style: italic;
}

.brief__choice-note {
  font-size: 0.938rem;
  color: #5a6b7d;
  font-style: italic;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e1e4eb;
}

.main {
  background: url("../img/home/background_placeholder.png") center / cover no-repeat;
  min-height: 100vh;
}

.main_home {
  background-image: url("../images/Logos/GH Logo 3.png") !important;
  background-position: center calc(15% + 140px) !important;
  background-size: 900px auto !important;
  background-repeat: no-repeat !important;
  background-color: #fff !important;
  position: relative;
  min-height: calc(80vh + 140px) !important;
  height: calc(80vh + 140px) !important;
  padding-bottom: 0 !important;
  margin-bottom: -15px !important;
  padding-top: 0px !important;
  margin-top: -30px !important;
}

/* Desktop: Ensure button and subheading are centered and positioned correctly */
@media (min-width: 481px) {
  .main_home .main__button {
    bottom: -75px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) scale(0.7) !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    display: inline-block !important;
    padding: 1.25rem 3rem !important;
    line-height: normal !important;
  }
  
  .main_home .main__subheading {
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  /* Position subheading below logo on desktop */
  .main_home .main__subheading {
    top: 630px !important;
  }
  
  /* Position button below description box on desktop */
  .main_home .main__button {
    bottom: -75px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) scale(0.7) !important;
    width: auto !important;
    max-width: none !important;
    min-width: auto !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    display: inline-block !important;
    padding: 1.25rem 3rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    line-height: 110% !important;
    box-sizing: border-box !important;
  }
}

/* Desktop (>900px): More specific positioning */
@media (min-width: 901px) {
  section.main_home .main__subheading,
  .page__main.main_home .main__subheading {
    top: 630px !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  
  section.main_home .main__button,
  .page__main.main_home .main__button {
    bottom: -75px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) scale(0.7) !important;
    width: auto !important;
    max-width: none !important;
    min-width: auto !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    display: inline-block !important;
    padding: 1.25rem 3rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    line-height: 110% !important;
    box-sizing: border-box !important;
  }
  
  section.main_home,
  .page__main.main_home {
    background-position: center calc(15% + 140px) !important;
    background-size: 900px auto !important;
  }
}

/* Mobile: Keep logo smaller */
@media (max-width: 480px) {
  .main_home {
    background-size: 414px auto !important;
  }
  
  /* Services page mobile - match JavaScript settings - MUST override all desktop styles */
  section.main_services,
  .page__main.main_services,
  section.page__main.main_services,
  .main.main_services {
    min-height: 360px !important;
    padding-top: 130px !important;
    margin-top: -60px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background-position: calc(50% - 40px) 150px !important;
    background-size: 125% !important;
    background-repeat: no-repeat !important;
    position: relative !important;
  }
  
  .main_services .main__container_pages,
  section.main_services .main__container_pages {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-top: 0 !important;
    padding-bottom: 2rem !important;
    min-height: 500px !important;
    width: 100% !important;
    position: relative !important;
  }
  
  .main_services .main__subheading,
  .main_services .main__subheading_services,
  section.main_services .main__subheading {
    position: relative !important;
    top: 15px !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin: -25px auto 1rem auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    z-index: 2 !important;
    order: 1 !important;
  }
  
  .main_services .main__text_pages,
  .main_services .main__text_pages_services,
  section.main_services .main__text_pages {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: translateY(30px) !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px !important;
    text-align: center !important;
    z-index: 1 !important;
    order: 2 !important;
    box-sizing: border-box !important;
  }
  
  /* Services page sections - ensure logos are visible on mobile */
  .services-page__column {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
  }
  
  .services-page__img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    flex: none !important;
    order: 1 !important;
  }
  
  .services-page__content {
    width: 100% !important;
    max-width: 100% !important;
    order: 2 !important;
    text-align: center !important;
  }
  
  .services-page__logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    order: 3 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .services-page__logo img {
    max-width: 80% !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Ensure padding-top is applied with maximum specificity */
section.main_home,
.page__main.main_home,
section.page__main.main_home {
  padding-top: 0px !important;
  margin-top: -30px !important;
  padding-bottom: 0px !important;
  margin-bottom: -15px !important;
}

/* Exclude Services page from home page margin changes */
section.main_services,
.page__main.main_services,
section.page__main.main_services {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Hide the img tag logo - use background-image instead */
.main_home .main__logo img {
  display: none !important;
}

.main_home .main__container {
  position: relative;
  z-index: 1;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  height: calc(80vh + 100px) !important;
  min-height: calc(80vh + 100px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 19.188rem;
}

.main__container_home {
  justify-content: flex-end !important;
  align-items: center !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  height: 100vh !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative;
}

.main_home .main__container_home {
  padding-top: 0 !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding-bottom: 0 !important;
}

/* Override padding-top for hero section to show full logo */
.main_home {
  padding-top: 55px !important;
  margin-top: -30px !important;
  padding-bottom: 0px !important;
  margin-bottom: -15px !important;
}

.main__content-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: 0;
  padding-bottom: 0;
  width: 100%;
  max-width: 100%;
}

.main_home .main__content-bottom {
  position: absolute !important;
  bottom: 50px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: 100% !important;
  margin-bottom: 0 !important;
  padding: 0 2rem 2rem 2rem !important;
  gap: 0.75rem !important;
  text-align: center !important;
}

.main__caption {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.main__title {
  font-size: 5.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.main__text {
  margin-bottom: 1rem;
  max-width: 50rem;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #5E958D;
}

.main__text p {
  margin: 0;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.main__text p:last-child {
  margin-bottom: 0;
}

.main_home .main__text {
  color: #2f7194 !important;
  max-width: 50rem !important;
  margin-bottom: 1rem !important;
}

.main__button {
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #5E958D;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
}

.main_home .main__button {
  margin-bottom: 0;
}

.outro_home {
  background-color: #fff;
}

/* ************ABOUT**************** */

.about {
  background-color: #e0f2f5;
}

.main_about {
  background: url("../images/About Page/about hero 5.png") center / cover no-repeat;
}

.main_contact {
  background: url("../images/Contact Page/Contact Hero Logo 2.png") center / cover no-repeat;
}

.main_pathways {
  position: relative;
  overflow: hidden;
}

.main_pathways__image {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.main_pathways__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main__container_pathways {
  position: relative;
  z-index: 1;
}

.main__container_pathways .main__title {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.main__container_pathways .main__text {
  color: #fff;
  text-shadow: none;
  font-size: 1rem;
  margin-bottom: 0;
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__title {
  margin-bottom: 1.5rem;
}

.about__text {
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 3.5rem;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.outro_about {
  background: url("../images/About Page/shellfish-3062011_1920.jpg") center / cover no-repeat;
  background-position: center calc(50% - 100px);
  position: relative;
  overflow: hidden;
  min-height: auto;
}

.outro_about .outro__container {
  padding-top: 5rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* **************SERVICES**************** */

.main_services {
  background: url("../images/Services Page/Services Hero Logo 2.png") center / cover no-repeat;
  background-position: center calc(50% + 60px);
}

.services {
  background-color: #fff;
}

.services__container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
}

.services__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.item-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
}

.item-services__logo {
  margin-bottom: 1rem;
  text-align: center;
  max-width: 360px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.item-services__logo img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.item-services__image {
  margin-bottom: 2rem;
  max-width: 360px;
  height: 421px;
}

.item-services__image img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: center;
  width: 100%;
}

.item-services__text {
  max-width: 21.5rem;
  line-height: 150%;
  margin-bottom: 2rem;
  flex-grow: 1;
  text-align: center;
  width: 100%;
  letter-spacing: 0.02em;
}

.item-services__button {
  background-color: inherit;
  border: 2px solid #303a4d;
  color: #303a4d;
}

.outro_services {
  background: url("../images/Services Page/starfish-2.jpg") center / cover no-repeat;
}

.outro_pathways {
  background: url("../images/Landing Page/sand-8637315_1920.jpg") center / cover no-repeat;
}

/* ************TESTIMONIAL**************** */

.testimonial {
  background-color: #e0f2f5;
}

.testimonial__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.testiomonial__caption {
  margin-bottom: 4rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.testimonial__title {
  margin-bottom: 4rem;
  font-size: 2rem;
  max-width: 40.75rem;
  line-height: 136%;
  font-weight: 500;
}

.item-testimonial__image {
  max-width: 64px;
  margin: 0 auto;
  margin-bottom: 1.063rem;
  height: 64px;
}

.item-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.item-testimonial__caption {
  font-size: 0.938rem;
}

/* ****************OUTRO**************** */

.outro {
  background-color: #fff;
}

.outro__container {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outro__title {
  margin-bottom: 1.25rem;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.outro__button {
  padding: 1.25rem 3rem;
}

.outro__disclaimer {
  font-size: 0.75rem;
  color: inherit;
  margin-top: 0.5rem;
  text-align: center;
}

/* ****************FOOTER**************** */

.footer {
  line-height: 150%;
}

.footer__container {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  max-width: 74.624rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__policy {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: start;
}

.footer__logo {
  justify-self: center;
}

.footer__logo img {
  max-height: 2.5rem;
  width: auto;
}

.footer__copyright {
  font-weight: 600;
  letter-spacing: 0.02em;
  justify-self: end;
}

.footer__support-links {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  margin-top: 0.35rem;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.footer__support-links a {
  color: #3d6a82;
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 106, 130, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__support-links a:hover {
  color: #234f73;
  border-bottom-color: rgba(35, 79, 115, 0.4);
}

.footer__support-sep {
  color: rgba(90, 120, 140, 0.45);
  user-select: none;
}

/* ----- Site-wide footer (matches index.html / gh-home-footer) ----- */
.footer.gh-home-footer {
  --gh-footer-ink: #234f73;
  --gh-footer-kicker: #5c6f7f;
  position: relative;
  margin-top: 0;
  line-height: 1.5;
  background: linear-gradient(
    180deg,
    rgba(247, 249, 251, 0.1) 0%,
    rgba(242, 246, 249, 0.78) 55%,
    rgba(238, 243, 247, 0.92) 100%
  ) !important;
  border-top: none;
  padding-top: clamp(0.85rem, 1.6vw, 1.15rem) !important;
  padding-bottom: clamp(0.9rem, 1.8vw, 1.35rem) !important;
}

.footer.gh-home-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(198, 210, 220, 0.2) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.footer.gh-home-footer .footer__container,
.footer.gh-home-footer .gh-home-footer__container {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0.25rem clamp(1.15rem, 3.5vw, 2rem) 0 !important;
  text-align: center;
  grid-template-columns: unset;
}

.footer.gh-home-footer .footer__logo,
.footer.gh-home-footer .gh-home-footer__logo {
  display: block;
  justify-self: center;
  line-height: 0;
  margin-bottom: 0.15rem;
}

.footer.gh-home-footer .footer__logo img,
.footer.gh-home-footer .gh-home-footer__logo img {
  display: block;
  max-height: 2rem;
  width: auto;
  margin: 0 auto;
  opacity: 0.9;
  filter: saturate(0.95);
}

.footer.gh-home-footer .gh-home-footer__legal {
  margin: 0;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(0.86rem, 1.5vw, 0.93rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.footer.gh-home-footer .gh-home-footer__legal a {
  color: #6b7a88;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer.gh-home-footer .gh-home-footer__legal a:hover,
.footer.gh-home-footer .gh-home-footer__legal a:focus-visible {
  color: var(--gh-footer-ink);
  border-bottom-color: rgba(35, 79, 115, 0.2);
}

.footer.gh-home-footer .gh-home-footer__legal-sep {
  color: rgba(107, 122, 136, 0.55);
  user-select: none;
}

.footer.gh-home-footer .gh-home-footer__tagline {
  margin: 0.1rem 0 0;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 0.88rem;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--gh-footer-kicker);
}

.footer.gh-home-footer .gh-home-footer__copyright,
.footer.gh-home-footer .footer__copyright {
  margin: 0.15rem 0 0;
  justify-self: center;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(0.78rem, 1.4vw, 0.86rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #6b7a88;
}

/* Footer donate pair — always side by side */
.footer.gh-home-footer .gh-site-support-invite__actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0.5rem 0 0;
  width: auto;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.footer.gh-home-footer .gh-site-support-invite__actions .gh-site-support-btn {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap;
}

.footer.gh-home-footer .footer__policy {
  display: none;
}

@media (max-width: 767px) {
  .footer.gh-home-footer {
    padding-top: 1rem !important;
    padding-bottom: 1.1rem !important;
  }

  .footer.gh-home-footer .footer__container,
  .footer.gh-home-footer .gh-home-footer__container {
    gap: 0.5rem;
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }

  .footer.gh-home-footer .gh-home-footer__legal,
  .footer.gh-home-footer .gh-home-footer__copyright,
  .footer.gh-home-footer .footer__copyright {
    font-size: 0.9rem;
  }

  .footer.gh-home-footer .gh-site-support-invite__actions {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.55rem;
  }

  .footer.gh-home-footer .gh-site-support-invite__actions .gh-site-support-btn {
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto !important;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    font-size: 0.92rem;
  }
}

/*
 * Mobile scenic heroes: gh-tier-layout.css gives .gh-tier-scene::after
 * `inset: 0`. The page-specific responsive rules shorten that pseudo-element
 * into a bottom fade, but without resetting `top` it remains pinned to the top
 * and becomes a horizontal cream ribbon through the hero. Preserve the approved
 * bottom fade by releasing only its top edge. Desktop is intentionally untouched.
 */
@media (max-width: 1024px) {
  html body.footing-body main.page.gh-tier-page .gh-tier-scene::after,
  html body.steady-body main.page.gh-tier-page .gh-tier-scene::after,
  html body.going-forward-body main.page.gh-tier-page .gh-tier-scene::after,
  html body.passing-body main.page.gh-tier-page .gh-tier-scene::after {
    top: auto !important;
    bottom: 0 !important;
  }
}

/* Gentle site-wide support invitations (non-commercial tone) */
.gh-site-support-invite {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  margin: 2.5rem auto 0;
  padding: 2rem 1.75rem 2.15rem;
  text-align: center;
  border-radius: 20px;
  background: rgba(255, 253, 251, 0.82);
  border: 1px solid rgba(198, 210, 220, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 28px rgba(72, 98, 120, 0.07);
}

.gh-site-support-invite--subtle {
  max-width: 38rem;
  margin-top: 0;
  margin-bottom: 0;
  padding: 1.65rem 1.5rem 1.75rem;
  background: rgba(255, 253, 251, 0.72);
  border-color: rgba(198, 210, 220, 0.28);
  box-shadow: 0 4px 18px rgba(72, 98, 120, 0.05);
}

.gh-site-support-invite__title {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.55rem);
  font-weight: 600;
  line-height: 1.32;
  color: #234f73;
  letter-spacing: 0.02em;
}

.gh-site-support-invite__text {
  margin: 0 auto 1.35rem;
  max-width: 36rem;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.78;
  color: #4a5560;
}

.gh-site-support-invite__text--compact {
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

.gh-site-support-invite__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.gh-site-support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.65rem;
  border-radius: 999px;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.gh-site-support-btn--harbor {
  border: 1px solid rgba(35, 79, 115, 0.28);
  background: linear-gradient(180deg, rgba(58, 108, 138, 0.92) 0%, rgba(35, 79, 115, 0.95) 100%);
  color: #fffefb !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 4px 16px rgba(35, 79, 115, 0.18);
}

.gh-site-support-btn--harbor:hover {
  background: linear-gradient(180deg, rgba(48, 98, 128, 0.96) 0%, rgba(30, 68, 100, 0.98) 100%);
  box-shadow: 0 6px 20px rgba(35, 79, 115, 0.24);
  transform: translateY(-1px);
}

.gh-site-support-btn--sent {
  border: 1px solid rgba(47, 113, 148, 0.35);
  background: rgba(255, 253, 251, 0.92);
  color: #2f7194 !important;
  box-shadow: 0 2px 10px rgba(72, 98, 120, 0.06);
}

.gh-site-support-btn--sent:hover {
  background: #fffefb;
  border-color: rgba(47, 113, 148, 0.5);
  box-shadow: 0 4px 14px rgba(47, 113, 148, 0.12);
  transform: translateY(-1px);
}

.gh-site-support-btn:focus-visible {
  outline: 3px solid rgba(35, 79, 115, 0.28);
  outline-offset: 3px;
}

.page__support-invite {
  padding: 2.25rem 0.938rem 0.75rem;
}

.page__support-invite .gh-site-support-invite {
  margin-top: 0;
}

@media (max-width: 600px) {
  .gh-site-support-invite {
    margin-left: auto;
    margin-right: auto;
    padding: 1.65rem 1.2rem 1.75rem;
  }

  /* Keep mid-page invite buttons flexible; footer buttons stay side-by-side via footer rules */
  .gh-site-support-invite:not(.footer .gh-site-support-invite) .gh-site-support-btn {
    width: 100%;
    max-width: 280px;
  }

  .footer.gh-home-footer .gh-site-support-btn {
    width: auto !important;
    max-width: none !important;
  }
}

/* Heaven Sent: support invite card inside full-bleed .hs-section band */
main.page.gh-tier-page.heaven-sent-page .hs-section > .gh-site-support-invite {
  margin-top: 0;
  margin-bottom: 0;
}

/* ****************ABOUT PAGE**************** */
.main__text.main__text_pages {
  max-width: 21.25rem !important;
  width: 21.25rem !important;
  text-align: left;
  color: #2f7194;
  margin-top: 80px;
}

.main__text.main__text_pages p {
  white-space: normal !important;
}

.main__container_pages {
  padding-top: 340px;
  align-items: flex-start;
  text-align: left;
}

.main__container_pathways {
  padding-top: 208px;
  padding-bottom: 55px;
  transform: translateY(110px);
}

.main_pages {
  min-height: 676px !important;
}

.main_pathways.main_pages {
  min-height: 228px !important;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: 160px;
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.services-page__title {
  margin-bottom: 24px;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-page__logo {
  margin-bottom: 1.5rem;
  text-align: center;
}

.services-page__logo img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.services-page__img {
  max-width: 552px;
  height: 614px;
}

.services-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************CONTACT PAGE****************/

.main_contact.main_pages {
  padding-bottom: 0;
}

/* Contact hero — same spread/scale as About (Contact asset only) */
.main_contact.main_pages.page__main {
  min-height: 586px !important;
  padding-bottom: 90px !important;
  background-image: url("../images/Contact Page/Contact Hero Logo 2.png") !important;
  background-repeat: no-repeat !important;
  background-size: 89.1% !important;
  background-position: calc(50% - 140px) calc(50% - 50px) !important;
}

.main_contact .main__text.main__text_pages {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 0;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

/* Map embed only — do not apply grayscale to YouTube or other iframes site-wide */
.page__map iframe {
  width: 100%;
  max-width: 100%;
  height: 482px;
  filter: none;
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #fff;
  padding: 20px 82px;
  background-color: #303a4d;
  border-radius: 64px;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  max-width: 360px;
  height: 363px;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 40px;
}

.director__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 480px;
}

.director__text p:not(:last-child) {
  margin-bottom: 20px;
}

.director__img {
  max-width: 552px;
  height: 614px;
}

.director__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************GALLERY**************** */
.gallery__container {
  padding-bottom: 140px;
  padding-top: 140px;
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  margin-bottom: 96px;
  justify-items: center;
}

.gallery__item {
  max-width: 360px;
  height: 407px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery__paggination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.gallery__paggination button:first-child {
  transform: translate(0px, 5px);
}

.gallery__paggination button:last-child {
  transform: rotate(-180deg) translate(0px, 5px);
}

.gallery_active {
  color: #fff;
  padding: 10px 15px;
  background-color: #303a4d;
  border-radius: 100px;
  display: inline-block;
}

/* ****************RESOURCES**************** */
.resources__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  justify-items: center;
}

.resources__img {
  max-width: 360px;
  height: 330px;
  margin-bottom: 32px;
}

.resources__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.resources__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 243px;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #303a4d;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #303a4d;
  border-radius: 64px;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 992px) {
  .pathways__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .services__row {
    grid-template-columns: 1fr;
    gap: 6rem;
    justify-items: center;
  }

  .item-services {
    text-align: center;
    align-items: center;
  }

  .page__main {
    padding-bottom: 80px;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

  .gallery__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .footer__policy,
  .footer__copyright {
    justify-self: center;
    text-align: center;
    margin: 0.5rem 0;
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  /* Hamburger / full-screen menu: do not use desktop single-line nav rules here */
  .menu__list {
    display: block !important;
    white-space: normal !important;
    flex-wrap: unset !important;
    gap: 0 !important;
  }

  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #000;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .contact__container {
    flex-direction: column;
    padding-top: 80px;
    gap: 50px;
    padding-bottom: 80px;
  }

  .icon-menu span {
    top: calc(50% - 0.0625rem);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu__body {
    background-color: rgba(255, 253, 251, 0.97);
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 9.75rem 0.938rem 1.875rem 0.938rem;
    overflow: auto;
    flex-direction: column;
    row-gap: 5rem;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 6.35rem;
    background-color: rgba(255, 253, 251, 0.97);
    border-bottom: 1px solid rgba(198, 210, 220, 0.22);
    z-index: 2;
  }

  .menu-open .menu__body {
    left: 0;
  }

  .menu-open .menu__body::before {
    left: 0;
  }

  .menu__item {
    text-align: center;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 1.563rem;
  }

  .menu__link {
    font-size: 2rem;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container {
    padding-top: 12.5rem;
  }

  /* Pathway 1–6, 9: hero band already pads for header — avoid stacking with generic .main__container top padding */
  .pathway-gh-hero-band.page__main.main_pathway .main__container_pathway.pathway-gh-inner {
    padding-top: 0 !important;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .main__container_pathways {
    padding-top: 138px;
    padding-bottom: 45px;
  }

  .main_pathways.main_pages {
    min-height: 200px !important;
  }

  .main__title {
    font-size: 3rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    gap: 4rem;
  }

  .pathways {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .pathways__row {
    grid-template-columns: 1fr;
    gap: 3rem;
    justify-items: center;
  }

  .item-pathways {
    text-align: center;
    align-items: center;
    max-width: 360px;
  }

  .brief__card {
    padding: 2rem;
  }

  .brief__title {
    font-size: 1.5rem;
  }

  .brief__text {
    font-size: 1rem;
  }

  .brief__choice-options {
    grid-template-columns: 1fr;
  }

  .brief__choice-card {
    padding: 2rem;
  }

  .brief__choice-title {
    font-size: 1.5rem;
  }


  .services__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .testimonial__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 1rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }
}

@media (max-width: 61.936rem) {
  .footer__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 0.938rem;
  }

  .logo {
    font-size: 2rem;
  }
}

@media (max-width: 530px) {
  .pathways__row {
    grid-template-columns: 1fr;
  }

  .reviews__row {
    grid-template-columns: 1fr;
  }

  .team__row {
    grid-template-columns: 1fr;
  }

  .gallery__row {
    grid-template-columns: 1fr;
  }

  .resources__container {
    grid-template-columns: 1fr;
  }
}

/* ****************PATHWAY PAGES - GRIEF BRIEFS****************/

/* Pathways 1–6, 9: full-width hero band; top padding matches tier pages (Going Forward / gentle-comforts rhythm) under absolute header */
.pathway-gh-hero-band.page__main.main_pathway {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  padding: calc(max(11rem, 12vh + 6rem) - 18px) 0 clamp(1.15rem, 2.5vw, 1.65rem) !important;
  background-color: #FBF6EC !important;
  background-image: none !important;
}
.pathway-gh-hero-band .main__container_pathway.pathway-gh-inner {
  width: 100% !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1rem, 4vw, 2rem) !important;
  padding-right: clamp(1rem, 4vw, 2rem) !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
.pathway-gh-hero-band .pathway-gh-org {
  margin: 0 0 0.35rem !important;
  padding: 0 !important;
  color: #596247 !important;
  font-weight: 600 !important;
  font-size: clamp(1.02rem, 0.35vw + 0.95rem, 1.14rem) !important;
  letter-spacing: 0.03em !important;
  line-height: 1.45 !important;
  max-width: 42rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  z-index: 1 !important;
}
.pathway-gh-hero-band .pathway-gh-byline {
  margin: 0 0 clamp(0.85rem, 2vw, 1.15rem) !important;
  padding: 0 !important;
  color: #5a6d7a !important;
  font-size: clamp(0.86rem, 0.3vw + 0.82rem, 0.95rem) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  max-width: 38rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  z-index: 1 !important;
}

.main_pathway {
  background-color: #f5f5f5;
  padding: 80px 0;
}

.main__container_pathway {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brief-section {
  padding: 60px 0;
  background-color: #fff;
}

.brief__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brief-content-wrapper {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brief-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #596247;
}

.brief-header h2 {
  color: #173D5A;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.brief-day-info {
  color: #666;
  font-size: 16px;
  font-style: italic;
}

.brief-content {
  color: #333;
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
}

.brief-content p {
  margin-bottom: 1rem;
}

/* Choice Modal */
.choice-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.choice-modal__content {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.choice-modal__content h2 {
  color: #2f7194;
  font-size: 24px;
  margin-bottom: 20px;
}

.choice-modal__content p {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.choice-modal__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.choice-button {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 180px;
}

.choice-button--month13 {
  background-color: #424A36;
  color: #fff;
}

.choice-button--month13:hover {
  background-color: #596247;
}

.choice-button--restart {
  background-color: #e1e4eb;
  color: #2f7194;
}

.choice-button--restart:hover {
  background-color: #d0d4dc;
}

.choice-button--close {
  background-color: #f5f5f5;
  color: #666;
}

.choice-button--close:hover {
  background-color: #e8e8e8;
}

.choice-button--secondary {
  background-color: #f5f5f5;
  color: #2f7194;
}

.choice-button--secondary:hover {
  background-color: #e8e8e8;
}

.choice-modal__form {
  margin: 20px 0;
}

.choice-modal__input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e1e4eb;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
  color: #2f7194;
}

.choice-modal__input:focus {
  outline: none;
  border-color: #2f7194;
}

.choice-modal__help {
  font-size: 14px;
  color: #999;
  margin-top: 10px;
  margin-bottom: 0;
}

.assigned-number-display {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border: 2px dashed #2f7194;
}

/* Brief Options */
.brief-options {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e1e4eb;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.brief-option-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background-color: #f5f5f5;
  border: 2px solid #2f7194;
  border-radius: 8px;
  color: #2f7194;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  min-width: 200px;
  justify-content: center;
}

.brief-option-link:hover {
  background-color: #2f7194;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(47, 113, 148, 0.3);
}

.brief-option-icon {
  font-size: 20px;
}

.brief-option-text {
  flex: 1;
  text-align: center;
}

/* Mobile fix for home page button overlap */
@media (max-width: 768px) {
  .main_home .main__logo {
    top: calc(50% - 155px) !important;
  }
  
  .main_home .main__subheading {
    top: calc(50% - 40px) !important;
  }
  
  .main_home .main__subheading h2 {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
  }
  
  .main_home .main__button {
    top: calc(50% + 60px) !important;
    bottom: auto !important;
    margin-bottom: 10px !important;
    transform: translate(-50%, -50%) scale(0.6) !important;
    left: 50% !important;
    text-align: center !important;
  }
  
  .main_home .main__content-bottom {
    bottom: auto !important;
    top: calc(50% + 130px) !important;
    transform: translateX(-50%) translateY(-50%) !important;
  }
}

/* iPhone specific fixes (smaller screens) */
@media (max-width: 480px) {
  /* Home page - ensure button is above description */
  .main_home .main__subheading {
    top: calc(50% + 120px) !important;
  }
  
  .main_home .main__subheading h2 {
    font-size: 1.3rem !important;
    margin-bottom: 15px !important;
  }
  
  /* Home page - fix logo and stacking order */
  .main_home .main__container_home {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 8rem !important;
    padding-bottom: 2rem !important;
  }
  
  .main_home .main__logo {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 80% !important;
    max-width: 300px !important;
    text-align: center !important;
    margin: 1rem auto 1rem auto !important;
    order: 1 !important;
    z-index: 5 !important;
  }
  
  .main_home .main__logo img {
    display: none !important;
  }
  
  .main_home .main__subheading {
    order: 2 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: calc(100vw - 40px) !important;
    margin: 1.5rem auto 1rem auto !important;
    text-align: center !important;
    z-index: 4 !important;
  }
  
  .main_home .main__content-bottom {
    order: 3 !important;
    bottom: auto !important;
    top: auto !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    margin: -2.5rem auto 1rem auto !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    z-index: 3 !important;
  }
  
  .main_home .main__button {
    order: 4 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    scale: 0.9 !important;
    margin: 0.5rem auto !important;
    width: auto !important;
    text-align: center !important;
    z-index: 4 !important;
  }
  
  /* About — hero logo visibility */
  .main_about {
    background-image: url("../images/About Page/about hero 5.png") !important;
    background-size: contain !important;
    background-position: center -10px !important;
    background-repeat: no-repeat !important;
    min-height: 500px !important;
    padding-top: 200px !important;
  }

  /* Contact — hero (match About mobile scale; Contact asset) */
  .main_contact {
    background-image: url("../images/Contact Page/Contact Hero Logo 2.png") !important;
    background-size: 690px auto !important;
    background-position: calc(50% - 60px) 60px !important;
    background-repeat: no-repeat !important;
    min-height: 650px !important;
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
  }
  
  .main_about .main__container_pages,
  .main_contact .main__container_pages {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-top: 0 !important;
    padding-bottom: 2rem !important;
    min-height: 500px !important;
  }
  
  .main_about .main__subheading,
  .main_contact .main__subheading {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    order: 2 !important;
    margin: 0 auto 1rem auto !important;
    width: calc(100vw - 40px) !important;
    text-align: center !important;
    z-index: 1 !important;
  }
  
  .main_about .main__text_pages,
  .main_contact .main__text_pages {
    margin-bottom: 1.5rem !important;
    position: relative !important;
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    order: 3 !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    padding: 0 15px !important;
    z-index: 1 !important;
    text-align: center !important;
  }
  
  /* Pathways page - fix stacking order and background logo visibility */
  .main_pathways {
    background-size: contain !important;
    background-position: 10px top !important;
    background-repeat: no-repeat !important;
    min-height: 500px !important;
    padding-top: 250px !important;
    margin-top: 0 !important;
  }
  
  .main_pathways .main__container_pages {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 2rem !important;
    min-height: 500px !important;
  }
  
  .main_pathways .main__subheading {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    order: 1 !important;
    margin: 0 auto 1rem auto !important;
    width: calc(100vw - 40px) !important;
    text-align: center !important;
    z-index: 2 !important;
  }
  
  .main_pathways .main__text_pages {
    margin-bottom: 1.5rem !important;
    position: relative !important;
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    order: 2 !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    padding: 0 15px !important;
    z-index: 1 !important;
  }
  
  /* Services page - fix description overflow and stacking, background logo visibility */
  .main_services {
    background-size: 125% !important;
    background-position: calc(50% - 40px) 150px !important;
    background-repeat: no-repeat !important;
    min-height: 360px !important;
    padding-top: 130px !important;
    margin-top: -60px !important;
  }
  
  .main_services .main__container_pages {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-top: 0 !important;
    padding-bottom: 2rem !important;
    min-height: 500px !important;
  }
  
  .main_services .main__subheading {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    order: 1 !important;
    margin: 0 auto 1rem auto !important;
    width: calc(100vw - 40px) !important;
    text-align: center !important;
    z-index: 2 !important;
  }
  
  .main_services .main__text_pages {
    max-width: calc(100vw - 40px) !important;
    width: calc(100vw - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px !important;
    position: relative !important;
    order: 2 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    z-index: 1 !important;
  }
  
  /* Ensure hero sections stack properly on iPhone */
  .main_pages .main__container_pages {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 2rem !important;
  }
  
  /* Fix all hero section elements to stack vertically */
  .main_pages .main__logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 auto 1rem auto !important;
    width: auto !important;
    max-width: 80% !important;
    order: 1 !important;
    display: block !important;
  }
  
  .main_pages .main__subheading {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 1rem auto !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    order: 2 !important;
    text-align: center !important;
  }
  
  .main_pages .main__text_pages {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto 1rem auto !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    padding: 0 15px !important;
    order: 3 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }
  
  .main_pages .main__button,
  .main_pages .about__button {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 1rem auto !important;
    order: 4 !important;
  }
}

/* Responsive view fixes (481px - 900px) */
@media (min-width: 481px) and (max-width: 900px) {
  .main_about {
    background-image: url("../images/About Page/about hero 5.png") !important;
    background-size: contain !important;
    background-position: center -10px !important;
    background-repeat: no-repeat !important;
    min-height: 500px !important;
    padding-top: 200px !important;
  }

  .main_contact {
    background-image: url("../images/Contact Page/Contact Hero Logo 2.png") !important;
    background-size: min(820px, 92vw) auto !important;
    background-position: calc(50% - 60px) 50px !important;
    background-repeat: no-repeat !important;
    min-height: 560px !important;
    padding-top: 4.5rem !important;
    padding-bottom: 2rem !important;
  }

  .main_about .main__container_pages,
  .main_contact .main__container_pages {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-top: 0 !important;
    padding-bottom: 3rem !important;
    min-height: 500px !important;
  }

  .main_about .main__subheading,
  .main_contact .main__subheading {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: calc(100vw - 40px) !important;
    margin: 0 auto 1rem auto !important;
    text-align: center !important;
    order: 2 !important;
    z-index: 1 !important;
  }

  .main_about .main__text_pages,
  .main_contact .main__text_pages {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin: 1rem auto !important;
    padding: 0 15px !important;
    text-align: center !important;
    z-index: 1 !important;
    order: 3 !important;
  }
}

/* Global mobile fix for ALL pages - hero section description text overflow */
@media (max-width: 900px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  .main_home {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100vw !important;
    padding-top: 0px !important;
  }
  
  .main__container_home {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100vw !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
  }
  
  /* Fix for main__content-bottom on ALL pages - keep centered but constrain width */
  .main__content-bottom {
    width: min(75vw, calc(100vw - 30px)) !important;
    max-width: min(75vw, calc(100vw - 30px)) !important;
    padding: 0 10px 2rem 10px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
  
  /* Extra specific fix for home page */
  .main_home .main__content-bottom {
    width: min(75vw, calc(100vw - 30px)) !important;
    max-width: min(75vw, calc(100vw - 30px)) !important;
    padding: 0 10px 2rem 10px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
  
  .main__content-bottom .main__text {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }
  
  .main__content-bottom .main__text p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    margin: 0.5rem 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    display: block !important;
  }
  
  /* Fix for main__text_pages (used on about, services, pathways pages) - keep centered */
  .main__text_pages {
    max-width: min(85vw, calc(100vw - 40px)) !important;
    width: min(85vw, calc(100vw - 40px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    position: relative !important;
    text-align: center !important;
    overflow: hidden !important;
  }
  
  /* Ensure text content doesn't overflow */
  .main__text_pages,
  .main__content-bottom .main__text,
  .main__text_pages p {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .main__text_pages p {
    max-width: 100% !important;
    width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  
  /* Fix pathways page logo and subheading centering */
  .main_pathways .main__subheading {
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  
  .main_pathways .main__logo {
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
  }
}

/* Partner Options: stack buttons on small screens */
@media (max-width: 700px) {
  .partner-buttons { flex-direction: column !important; align-items: center !important; }
  .partner-buttons > div { width: 100%; max-width: 360px; }
}

/*
 * Desktop header — three protected zones (no overlap):
 * [ logo | nav links (center column) | Start Here ]
 * Horizontal nav only at ≥1200px; 768–1199 uses tablet drawer (no forced squeeze).
 */
@media screen and (min-width: 1200px) {
  .header .header__container {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
    row-gap: 0;
    width: 100% !important;
    max-width: min(100%, 96rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0.4rem 0.85rem 0.5rem !important;
    box-sizing: border-box !important;
  }

  .header .header__logo {
    grid-column: 1;
    justify-self: start;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }

  .header .header__logo img {
    max-height: 3.45rem;
    width: auto;
    height: auto;
    display: block;
  }

  .header .header__navigation {
    grid-column: 2;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .header .header__menu.menu,
  .header .header__menu {
    flex: 1 1 auto;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible;
  }

  .header .header__actions.actions-header {
    display: none !important;
  }

  .header nav.menu__body.menu__body,
  .header .menu__body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    column-gap: 0.75rem !important;
    row-gap: 0 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    flex-direction: row !important;
  }

  .header .menu__body::before {
    display: none !important;
    content: none !important;
  }

  .header ul.menu__list {
    grid-column: 1;
    justify-self: center;
    align-self: center;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0.25rem !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .header .menu__item {
    flex: 0 0 auto !important;
  }

  .header .menu__link {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    padding: 0.22rem 0.35rem !important;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .header .menu__link:hover,
  .header .menu__link:focus-visible {
    background-color: rgba(35, 79, 115, 0.07) !important;
    color: #234f73 !important;
    outline: none;
  }

  .header .menu__body > .actions-header__button {
    grid-column: 2;
    justify-self: end;
    align-self: center;
    flex: none !important;
    flex-shrink: 0 !important;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    position: relative;
    z-index: 2;
  }

  .header .icon-menu {
    display: none !important;
  }
}

@media screen and (min-width: 1366px) {
  .header .header__container {
    column-gap: 1.1rem;
    padding-left: 0.938rem !important;
    padding-right: 0.938rem !important;
  }

  .header .header__logo img {
    max-height: 3.55rem;
  }

  .header ul.menu__list {
    gap: 0.62rem !important;
    padding: 0 0.35rem !important;
  }

  .header .menu__link {
    font-size: 0.82rem !important;
    padding: 0.26rem 0.42rem !important;
  }

  .header .menu__body > .actions-header__button {
    padding: 0.5rem 0.9rem !important;
    font-size: 0.8rem !important;
  }
}

/*
 * Phone landscape (481px–767px): tighter overlay under header; phones (≤480px) unchanged.
 * Tablet drawer: 768px–1199px block below.
 */
@media (max-width: 767px) and (min-width: 481px) {
  .header .menu__body {
    padding: 5.25rem 1.125rem 1.5rem 1.125rem !important;
    row-gap: 1.125rem !important;
  }

  .header .menu__body::before {
    min-height: 4.75rem !important;
  }

  .header .menu__link {
    font-size: 1.125rem !important;
    line-height: 1.35 !important;
  }

  .header .menu__item:not(:last-child) {
    margin-bottom: 0.65rem !important;
  }
}

/*
 * Tablet / narrow viewport (768px–1199px): hamburger drawer — iPad & laptop widths below desktop nav.
 * Desktop horizontal nav starts at 1200px. Phones (≤767px) use rules in ADAPTIVE block above.
 */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .header .header__container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .header .header__logo img {
    max-height: 3rem !important;
  }

  .header .header__navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    gap: 0.65rem !important;
  }

  .header .header__menu.menu,
  .header .header__menu {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .header .menu__body {
    background-color: rgba(255, 253, 251, 0.97) !important;
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    row-gap: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    z-index: 10010 !important;
    transition: left 0.3s ease !important;
    box-sizing: border-box !important;
  }

  .header .menu__body::before {
    content: "" !important;
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    min-height: 4.75rem !important;
    background-color: rgba(255, 253, 251, 0.97) !important;
    border-bottom: 1px solid rgba(198, 210, 220, 0.22) !important;
    z-index: 2 !important;
    transition: left 0.3s ease !important;
  }

  body.menu-open .header .menu__body,
  body.menu-open .menu__body {
    left: 0 !important;
    right: 0 !important;
    top: 4.75rem !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: calc(100vh - 4.75rem) !important;
    height: calc(100dvh - 4.75rem) !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 0.65rem 1.25rem 1.25rem !important;
    row-gap: 0.5rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body.menu-open .header .menu__body::before,
  body.menu-open .menu__body::before {
    left: 0 !important;
  }

  .header .menu__list,
  body.menu-open .header .menu__list,
  body.menu-open .menu__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    list-style: none !important;
  }

  .header .menu__item,
  body.menu-open .header .menu__item,
  body.menu-open .menu__item {
    text-align: left !important;
    margin: 0 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  .header .menu__item:not(:last-child),
  body.menu-open .menu__item:not(:last-child) {
    margin-bottom: 0 !important;
  }

  .header .menu__link,
  body.menu-open .header .menu__link,
  body.menu-open .menu__link {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
    min-height: 2.5rem !important;
    padding: 0.45rem 0.35rem !important;
    color: #214b5f !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .header .menu__body > .actions-header__button,
  body.menu-open .header .menu__body > .actions-header__button {
    align-self: flex-start !important;
    justify-self: auto !important;
    grid-column: auto !important;
    margin-top: 0.35rem !important;
    flex: 0 0 auto !important;
    padding: 0.55rem 1rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }

  .header .header__actions.actions-header {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10025 !important;
  }

  .header .icon-menu {
    display: block !important;
    position: relative !important;
    flex: 0 0 1.875rem !important;
    width: 1.875rem !important;
    height: 1.125rem !important;
    cursor: pointer !important;
    z-index: 10026 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .header .icon-menu span,
  .header .icon-menu::before,
  .header .icon-menu::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    width: 100% !important;
    height: 0.125rem !important;
    background-color: #000 !important;
    transition: all 0.3s ease 0s !important;
  }

  .header .icon-menu::before {
    top: 0 !important;
  }

  .header .icon-menu::after {
    bottom: 0 !important;
  }

  .header .icon-menu span {
    top: calc(50% - 0.0625rem) !important;
  }

  body.menu-open .header .icon-menu span {
    width: 0 !important;
  }

  body.menu-open .header .icon-menu::before {
    top: calc(50% - 0.0625rem) !important;
    transform: rotate(-45deg) !important;
  }

  body.menu-open .header .icon-menu::after {
    bottom: calc(50% - 0.0625rem) !important;
    transform: rotate(45deg) !important;
  }

  body.menu-open .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
  }

  body.menu-open .wrapper,
  body.menu-open .header__container,
  body.menu-open .header__navigation,
  body.menu-open .header .header__menu,
  body.menu-open .header .menu {
    overflow: visible !important;
    max-height: none !important;
  }
}

/*
 * Phone drawer (≤767px): stacked links + full-screen panel (fixes one-line clipped menu).
 * Desktop horizontal nav (≥1200px) is unchanged.
 */
@media screen and (max-width: 767px) {
  .header .header__navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .header .header__menu.menu,
  .header .header__menu {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .header .menu__body {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100% !important;
    min-height: 100dvh !important;
    padding: 5.75rem 1.125rem 1.75rem 1.125rem !important;
    row-gap: 1.25rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 10010 !important;
    box-sizing: border-box !important;
    transition: left 0.3s ease !important;
    background-color: rgba(255, 253, 251, 0.97) !important;
  }

  .header .menu__body::before {
    content: "" !important;
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    min-height: 4.75rem !important;
    background-color: rgba(255, 253, 251, 0.97) !important;
    border-bottom: 1px solid rgba(198, 210, 220, 0.22) !important;
    z-index: 2 !important;
    transition: left 0.3s ease !important;
  }

  body.menu-open .header .menu__body,
  body.menu-open .menu__body {
    left: 0 !important;
    right: 0 !important;
    top: 5.75rem !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 5.75rem) !important;
    height: calc(100dvh - 5.75rem) !important;
    min-height: calc(100vh - 120px) !important;
    min-height: calc(100dvh - 120px) !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    grid-template-columns: none !important;
    grid-auto-flow: row !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  body.menu-open .header .menu__body::before,
  body.menu-open .menu__body::before {
    left: 0 !important;
  }

  .header .menu__list,
  body.menu-open .header .menu__list,
  body.menu-open .menu__list {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.35rem !important;
    white-space: normal !important;
    list-style: none !important;
  }

  .header .menu__item,
  body.menu-open .header .menu__item,
  body.menu-open .menu__item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
    flex: 0 0 auto !important;
  }

  .header .menu__item:not(:last-child),
  body.menu-open .menu__item:not(:last-child) {
    margin-bottom: 0 !important;
  }

  .header .menu__link,
  body.menu-open .header .menu__link,
  body.menu-open .menu__link {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 2.75rem !important;
    padding: 0.45rem 0 !important;
    font-size: 1.125rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .header .menu__body > .actions-header__button {
    align-self: flex-start !important;
    grid-column: auto !important;
    justify-self: auto !important;
    margin-top: 0.35rem !important;
    min-height: 2.75rem !important;
    padding: 0.65rem 1.15rem !important;
    font-size: 0.95rem !important;
    flex: 0 0 auto !important;
  }

  .header .header__actions.actions-header {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10025 !important;
  }

  .header .icon-menu {
    display: block !important;
    position: relative !important;
    z-index: 10026 !important;
  }
}

/*
 * Tier pages (absolute header): first heading must clear the fixed header.
 * Uses max(11rem, 12vh + 6rem) for two-row nav; -18px tightens the visible title band on grief-brief pages.
 * Footing, Going Forward, Passing & Steady omitted — that padding-top paints a parchment ribbon under the nav
 * (hero clears the header via .gh-tier-hero-band padding instead).
 */
main.page.steady-page,
main.page.footing-page,
main.page.passing-page,
main.page.going-forward-page {
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 3rem !important;
  padding-left: 0 !important;
  box-sizing: border-box;
}

main.page.footing-page .footing-title,
main.page.steady-page .steady-title,
main.page.going-forward-page .going-forward-title,
main.page.passing-page .passing-title {
  scroll-margin-top: 1rem;
  padding-top: 0.15em;
}

/* Pathway 1–9 & Pathway 7 (specialty-briefs): in-page anchors clear the header bar */
main.page.pathway-site-page {
  scroll-padding-top: calc(max(5.5rem, 10vh + 2rem));
}

/* ========== Tighten vertical space site-wide (COMMENTED OUT – was affecting whole site) ========== */
/*
section {
  padding-top: 56px;
  padding-bottom: 56px;
}
@media (max-width: 768px) {
  section {
    padding-top: 42px;
    padding-bottom: 42px;
  }
}

h2 {
  margin-bottom: 14px;
}
.section-subtitle,
.subtitle {
  margin-bottom: 18px;
}

.card,
.tile,
.box {
  padding: 18px;
}
.card p {
  margin: 10px 0;
  line-height: 1.45;
}

.workflow-step,
.step-box {
  margin: 14px auto;
}
.workflow-arrow,
.step-arrow {
  margin: 10px 0;
}

.benefits li,
.why-list li {
  padding: 10px 0;
}
*/
#grief-brief-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fffdf8;
  border-radius: 18px;
}

#grief-brief-container h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.brief-content-wrapper {
  max-width: 900px;
  margin: 2rem auto;
}
#grief-brief-container .daily-brief-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 52px;
  background: #fffdf8;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

#grief-brief-container h2 {
  color: #173D5A;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
}

#grief-brief-container .brief-body {
  font-size: 1.15rem;
  line-height: 1.75;
  font-weight: 400;
}

#grief-brief-container .brief-body strong {
  font-weight: 700;
}

#grief-brief-container .brief-body em {
  font-style: italic;
}
#grief-brief-container {
  background: #FBF6EC;
  padding: 36px;
  border-radius: 18px;
}

#grief-brief-container .daily-brief-card {
  background: #fff;
  border: 1px solid #edf1f4;
  border-radius: 14px;
  padding: 44px 48px;
}

#grief-brief-container h2::before,
#grief-brief-container h2::after {
  content: none;
}
#grief-brief-container {
  background: #FBF6EC;
  padding: 36px;
  border-radius: 18px;
}

#grief-brief-container .daily-brief-card {
  background: #fff;
  border: 1px solid #edf1f4;
  border-radius: 14px;
  padding: 44px 48px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

#grief-brief-container .brief-body strong {
  font-weight: 700;
}
/* Force Pathway 1 brief section to match Pathway 2 width */
body:has(#grief-brief-container) .brief__container {
  max-width: 1280px !important;
  width: 100% !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

body:has(#grief-brief-container) #grief-brief-container,
body:has(#grief-brief-container) #grief-brief-container .daily-brief-card {
  max-width: none !important;
  width: 100% !important;
}
/* Pathway 1 navigation area */

#grief-brief-container .brief-nav-area {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #d7e7ef;
  text-align: center;
}

#grief-brief-container .brief-counter {
  padding: 14px 0 18px;
  border-bottom: 1px solid #d7e7ef;
  color: #6a7480;
  font-style: italic;
  margin-bottom: 22px;
}

#grief-brief-container .brief-nav-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

#grief-brief-container .brief-nav-btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

#grief-brief-container .brief-nav-btn-outline {
  background: #fff;
  color: #424A36; border: 1px solid #8F9A7C;
}

#grief-brief-container .brief-nav-btn-fill {
  background: #424A36; color: #fff;border: 1px solid #424A36;
}

#grief-brief-container .brief-start-over {
  color: #6b5f57;
  text-decoration: underline;
  font-size: 1rem;
}

#grief-brief-container .brief-save-note {
  margin-top: 18px;
  color: #6b7280;
  font-size: 0.95rem;
}
body:has(#grief-brief-container) .brief-section {
  background: #F7F0E4 !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
  padding: 44px 0 60px !important;
}

body:has(#grief-brief-container) #grief-brief-container {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
/* Pathway 1 final lower-section cleanup */

body:has(#grief-brief-container) .brief-section {
  background: #F7F0E4 !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
  padding: 44px 0 60px !important;
}

body:has(#grief-brief-container) #grief-brief-container {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

#grief-brief-container .daily-brief-card {
  border-radius: 8px !important;
}

#grief-brief-container .brief-nav-area {
  margin-top: 34px !important;
  padding-top: 18px !important;
  border-top: 2px solid #c6dfea !important;
  text-align: center !important;
}

#grief-brief-container .brief-counter {
  padding: 14px 0 18px !important;
  border-bottom: 2px solid #c6dfea !important;
  color: #5f6f7d !important;
  font-style: italic !important;
  font-size: 0.95rem !important;
  margin-bottom: 22px !important;
}

#grief-brief-container .brief-nav-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

#grief-brief-container .brief-start-over,
#grief-brief-container .brief-save-note {
  font-size: 0.9rem !important;
  color: #6b7280 !important;
}

#grief-brief-container .brief-save-note {
  margin-top: 16px !important;
  text-align: center !important;
}

body:has(#grief-brief-container) .subtitle-disclaimer {
  font-size: 0.82rem !important;
  color: #5f6f7d !important;
  line-height: 1.45 !important;
  text-align: center !important;
  max-width: 900px !important;
  margin: 26px auto 20px !important;
}

body:has(#grief-brief-container) #switch-pathway-button,
body:has(#grief-brief-container) .choice-button {
  display: inline-block !important;
  background: #424a36 !important;
  color: #fffdf8 !important;
  padding: 13px 34px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border: 1px solid #424a36 !important;
  box-shadow: 0 8px 20px rgba(66, 74, 54, 0.18) !important;
}
/* Pathway 1 — Bold “For today,” label */

body:has(#grief-brief-container) .for-today-label {
    font-weight: 700 !important;
    color: #1f2937 !important;
}

body:has(#grief-brief-container) #grief-brief-container .for-today-label {
    font-weight: 700 !important;
    color: #1f2937 !important;
}

#grief-brief-container .for-today-label {
    font-weight: 700 !important;
    color: #1f2937 !important;
}
body:has(#grief-brief-container) .pathway-brief-text p {
    margin-bottom: 22px !important;
}

body:has(#grief-brief-container) .pathway-brief-text strong {
    display: inline-block;
   margin-top: 2px !important;
}
/* Pathway 1 — smaller navigation button text */

#grief-brief-container .brief-nav-btn {
    font-size: 0.9rem !important;
    padding: 10px 26px !important;
    line-height: 1.2 !important;
}

#grief-brief-container .brief-start-over {
    font-size: 0.9rem !important;
}
/* Pathway 1 — tighten space before Gentle Practice */

#grief-brief-container .pathway-brief-text strong {
    margin-top: 0 !important;
}

#grief-brief-container .pathway-brief-text br + br {
    display: none !important;
}
/* Pathway 1 — spacing before For today */

#grief-brief-container .pathway-brief-text strong:first-of-type {
    display: inline-block !important;
   margin-top: 6px !important;
}
#grief-brief-container .pathway-brief-text strong {
    line-height: 1.2 !important;
}/* Pathway 1 — final paragraph spacing correction */

#grief-brief-container .pathway-brief-text p {
    margin-bottom: 8px !important;
}

#grief-brief-container .pathway-brief-text strong {
    margin-top: 4px !important;
}

#grief-brief-container .pathway-brief-text br {
    line-height: 0.6 !important;
}
/* Pathway 1 — final spacing reset */

body:has(#grief-brief-container) #grief-brief-container .pathway-brief-text p {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
}

body:has(#grief-brief-container) #grief-brief-container .pathway-brief-text p + br {
    display: none !important;
}

body:has(#grief-brief-container) #grief-brief-container .pathway-brief-text strong {
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 1.4 !important;
}

body:has(#grief-brief-container) #grief-brief-container .pathway-brief-text br {
    display: none !important;
}
/* Pathway 1 — restore slight space before For today */

body:has(#grief-brief-container)
#grief-brief-container
.pathway-brief-text strong:first-of-type {
    display: inline-block !important;
   margin-top: 16px !important;
}
/* Emergency isolation — keep Pathway 1 fixes from affecting other pathways */

body:not(.pathway1-page) .brief-section {
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body:not(.pathway1-page) #grief-brief-container {
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body:not(.pathway1-page) .daily-brief-card {
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Emergency reset for Pathways 2-6 and 9 on phone/tablet */

body:not(.pathway1-page) .brief-section,
body:not(.pathway1-page) section.brief-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    overflow-x: hidden !important;
}

body:not(.pathway1-page) .brief-section .brief__container,
body:not(.pathway1-page) .brief-section .brief-container,
body:not(.pathway1-page) .brief__container,
body:not(.pathway1-page) .brief-container {
    width: 100% !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

body:not(.pathway1-page) .daily-brief-card,
body:not(.pathway1-page) .brief-card,
body:not(.pathway1-page) #grief-brief-container {
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

html,
body {
    overflow-x: hidden !important;
}

/* ========================================================================
   Shared harbor atmosphere (visual tokens aligned with Going Forward /
   Grace Harbor & Heaven Sent donate pages — reference only; do not edit
   those HTML files for this layer). Add class: main.page.gh-site-atmosphere
   ======================================================================== */

:root {
  --gh-site-parchment: #faf8f4;
  --gh-site-parchment-2: #f8f4ec;
  --gh-site-title: #234f73;
  --gh-site-muted: #5c6f7f;
  --gh-site-accent: #2f7194;
  --gh-site-body: #4a5560;
  --gh-site-card: rgba(255, 253, 251, 0.9);
  --gh-site-card-border: rgba(198, 210, 220, 0.38);
}

main.page.gh-site-atmosphere {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: var(--gh-site-parchment);
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
}

main.page.gh-site-atmosphere.steady-page,
main.page.gh-site-atmosphere.footing-page {
  background-color: transparent !important;
}

main.page.gh-site-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--gh-site-parchment-2);
  background-image: url("../images/Home Page/pathways-background-soft.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left 22% 58%;
  opacity: 0.38;
}

main.page.gh-site-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 92% 72% at 52% 30%, rgba(255, 252, 245, 0.78) 0%, rgba(252, 248, 240, 0.42) 50%, transparent 88%),
    linear-gradient(
      180deg,
      rgba(255, 251, 242, 0.42) 0%,
      rgba(252, 248, 241, 0.28) 32%,
      rgba(255, 253, 250, 0.45) 58%,
      rgba(255, 254, 252, 0.62) 100%
    );
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

@media (max-width: 900px) {
  main.page.gh-site-atmosphere::before {
    background-position: left 18% 52%;
    opacity: 0.32;
  }
}

main.page.gh-site-atmosphere > * {
  position: relative;
  z-index: 1;
}

main.page.gh-site-atmosphere .pathway-gh-hero-band .pathway-gh-org {
  color: var(--gh-site-title) !important;
}

main.page.gh-site-atmosphere .pathway7-hero-gh,
main.page.gh-site-atmosphere .pathway8-hero-gh {
  color: var(--gh-site-title) !important;
}

main.page.gh-site-atmosphere .pathway-gh-hero-band.page__main.main_pathway {
  background-color: rgba(255, 253, 250, 0.42) !important;
  background-image: none !important;
}

main.page.gh-site-atmosphere .brief-section {
  background-color: transparent !important;
}

main.page.gh-site-atmosphere .brief-content-wrapper,
main.page.gh-site-atmosphere #grief-brief-container .daily-brief-card,
main.page.gh-site-atmosphere .steady-brief-card,
main.page.gh-site-atmosphere .gentle-comfort-dock {
  background: rgba(255, 253, 251, 0.78) !important;
  border: 1px solid rgba(210, 218, 228, 0.26) !important;
  border-radius: 24px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 2px 14px rgba(72, 98, 120, 0.04),
    0 14px 42px rgba(72, 98, 120, 0.05) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  backdrop-filter: blur(16px) saturate(1.05);
}

main.page.gh-site-atmosphere .steady-title,
main.page.gh-site-atmosphere .footing-title {
  color: var(--gh-site-title) !important;
  font-weight: 600 !important;
}

main.page.gh-site-atmosphere .steady-intro,
main.page.gh-site-atmosphere .footing-intro,
main.page.gh-site-atmosphere .steady-brief-card__text,
main.page.gh-site-atmosphere .gentle-comfort-dock__text {
  color: var(--gh-site-body) !important;
}

main.page.gh-site-atmosphere .main_pathway:not(.pathway-gh-hero-band) {
  background-color: rgba(252, 248, 241, 0.35) !important;
}

main.page.gh-site-atmosphere .testimonial {
  background-color: rgba(255, 252, 248, 0.65);
}

main.page.gh-site-atmosphere .about,
main.page.gh-site-atmosphere .services {
  background-color: rgba(255, 253, 250, 0.5);
}

main.page.gh-site-atmosphere .outro_home {
  background-color: rgba(255, 254, 252, 0.85);
}

/* ========================================================================
   Journey hero script titles — terminal cascade (after all site rules)
   gentle-comforts.html:  h1.gh-tier-headline.gh-tier-script-title
   daily-grief-brief.html: h1.gh-tier-headline.gh-tier-script-title
   pathways.html:          h1.going-forward-title (inline)
   ======================================================================== */

h1.gh-tier-script-title {
  font-family: "Great Vibes", "Segoe Script", "Brush Script MT", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.05 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

main.page.footing-page h1.gh-tier-script-title {
  font-size: clamp(3.57rem, 10.93vw, 6.04rem) !important;
  color: #1c4464 !important;
}

main.page.steady-page h1.gh-tier-script-title {
  font-size: clamp(3.57rem, 10.93vw, 6.04rem) !important;
  color: #1c4464 !important;
}

main.page.going-forward-page h1.gh-tier-script-title {
  font-size: clamp(3.57rem, 10.93vw, 6.04rem) !important;
  color: #1c4464 !important;
}

main.page.passing-page h1.gh-tier-script-title {
  font-size: clamp(3.57rem, 10.93vw, 6.04rem) !important;
  color: #1c4464 !important;
}

main.page.preparing-love-page h1.gh-tier-script-title {
  font-size: clamp(2.9rem, 8.2vw, 4.4rem) !important;
  color: #453a58 !important;
}

@media (max-width: 900px) {
  main.page.footing-page h1.gh-tier-script-title,
  main.page.steady-page h1.gh-tier-script-title,
  main.page.going-forward-page h1.gh-tier-script-title,
  main.page.passing-page h1.gh-tier-script-title {
    font-size: clamp(2.7rem, 13.23vw, 3.85rem) !important;
  }

  main.page.preparing-love-page h1.gh-tier-script-title {
    font-size: clamp(2.55rem, 11vw, 3.6rem) !important;
  }
}

/*
 * Mobile drawer — terminal override (max-width 767px).
 * .header backdrop-filter creates a fixed-position containing block ~header height;
 * use vh/dvh (not height:100%) so the open panel fills the screen.
 */
@media screen and (max-width: 767px) {
  body.menu-open .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
  }

  body.menu-open .wrapper,
  body.menu-open .header__container,
  body.menu-open .header__navigation,
  body.menu-open .header .header__menu,
  body.menu-open .header .menu {
    overflow: visible !important;
    max-height: none !important;
  }

  body.menu-open .header nav.menu__body,
  body.menu-open .header .menu__body {
    position: fixed !important;
    top: 5.75rem !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: calc(100vh - 5.75rem) !important;
    height: calc(100dvh - 5.75rem) !important;
    min-height: calc(100vh - 120px) !important;
    min-height: calc(100dvh - 120px) !important;
    max-height: none !important;
    background: #fffefb !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 1rem 1.25rem 2rem !important;
  }

  body.menu-open .header .menu__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex: 1 1 auto !important;
    gap: 0.35rem !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.menu-open .header .menu__item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  body.menu-open .header .menu__link {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0.9rem 1rem !important;
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    color: #214b5f !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  body.menu-open .header .menu__body > .actions-header__button {
    flex: 0 0 auto !important;
    margin-top: 0.75rem !important;
  }
}

/*
 * TAX BOARD PHONE FIX — full-screen menu overlay (terminal; wins on all pages).
 * heaven-sent.html inline menu rules removed so this block is not overridden.
 */
@media screen and (max-width: 900px) {
  body.menu-open .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.menu-open .menu__body {
    position: fixed !important;
    top: 90px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: calc(100vh - 90px) !important;
    height: calc(100dvh - 90px) !important;
    max-height: none !important;
    width: 100vw !important;
    background: #fffefb !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 1.25rem !important;
    display: block !important;
  }

  body.menu-open .menu__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.4rem !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.menu-open .menu__item {
    display: block !important;
    width: 100% !important;
  }

  body.menu-open .menu__link {
    display: block !important;
    width: 100% !important;
    padding: 1rem !important;
    min-height: 52px !important;
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    text-align: left !important;
    color: #214b5f !important;
    border-bottom: 1px solid rgba(33, 75, 95, 0.12) !important;
  }

  body.menu-open .menu__body > .actions-header__button {
    display: inline-block !important;
    margin-top: 1rem !important;
    min-height: 52px !important;
    padding: 0.85rem 1.15rem !important;
  }
}

/* ========================================================================
   r60 TERMINAL — top ribbon kill for Footing / Strength / Going Forward / Passing
   Wins over .header border-bottom + box-shadow in this file (desktop + iPad).
   ======================================================================== */
html body.footing-body .header,
html body.steady-body .header,
html body.going-forward-body .header,
html body.passing-body .header,
html body.footing-body .site-header,
html body.steady-body .site-header,
html body.going-forward-body .site-header,
html body.passing-body .site-header,
html body.footing-body header.header,
html body.steady-body header.header,
html body.going-forward-body header.header,
html body.passing-body header.header {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}

html body.passing-body .header,
html body.passing-body .site-header,
html body.passing-body header.header {
  /* r63 Passing only: solid cream (match Footing/Strength; no transparent overlay) */
  background: #fffdfb !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html body.footing-body .header::after,
html body.steady-body .header::after,
html body.going-forward-body .header::after,
html body.passing-body .header::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

html body.footing-body main.page,
html body.steady-body main.page,
html body.going-forward-body main.page,
html body.passing-body main.page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ========================================================================
   20260729 mobile-stable-r1 — shared phone/tablet header
   The public-page header participates in normal flow below 1200px. This
   removes the recurring hero-under-nav crop without changing desktop nav.
   ======================================================================== */
@media (max-width: 1199px) {
  :root {
    --gh-compact-header-height: 6.375rem;
  }

  body.gh-home-body,
  body.footing-body,
  body.steady-body,
  body.going-forward-body,
  body.passing-body,
  body.hs-landing-site,
  body.wga-page,
  body.wgb-page,
  body.bog-page,
  body.gn-page,
  body.gf-page,
  body.fg-page,
  body.sg-page,
  body.atg-page,
  body.wmin-site {
    overflow-x: clip !important;
  }

  body.gh-home-body .header,
  body.footing-body .header,
  body.steady-body .header,
  body.going-forward-body .header,
  body.passing-body .header,
  body.hs-landing-site .header,
  body.wga-page .header,
  body.wgb-page .header,
  body.bog-page .header,
  body.gn-page .header,
  body.gf-page .header,
  body.fg-page .header,
  body.sg-page .header,
  body.atg-page .header,
  body.wmin-site .header {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-height: var(--gh-compact-header-height);
    z-index: 10000;
    background: #fffdfb !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  body.gh-home-body .header::after,
  body.footing-body .header::after,
  body.steady-body .header::after,
  body.going-forward-body .header::after,
  body.passing-body .header::after,
  body.hs-landing-site .header::after,
  body.wga-page .header::after,
  body.wgb-page .header::after,
  body.bog-page .header::after,
  body.gn-page .header::after,
  body.gf-page .header::after,
  body.fg-page .header::after,
  body.sg-page .header::after,
  body.atg-page .header::after,
  body.wmin-site .header::after {
    display: none !important;
    content: none !important;
  }

  body.gh-home-body .header__container,
  body.footing-body .header__container,
  body.steady-body .header__container,
  body.going-forward-body .header__container,
  body.passing-body .header__container,
  body.hs-landing-site .header__container,
  body.wga-page .header__container,
  body.wgb-page .header__container,
  body.bog-page .header__container,
  body.gn-page .header__container,
  body.gf-page .header__container,
  body.fg-page .header__container,
  body.sg-page .header__container,
  body.atg-page .header__container,
  body.wmin-site .header__container {
    min-height: var(--gh-compact-header-height) !important;
    height: auto !important;
    padding: 0.55rem 1rem !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box !important;
  }

  body.gh-home-body .header__logo,
  body.footing-body .header__logo,
  body.steady-body .header__logo,
  body.going-forward-body .header__logo,
  body.passing-body .header__logo,
  body.hs-landing-site .header__logo,
  body.wga-page .header__logo,
  body.wgb-page .header__logo,
  body.bog-page .header__logo,
  body.gn-page .header__logo,
  body.gf-page .header__logo,
  body.fg-page .header__logo,
  body.sg-page .header__logo,
  body.atg-page .header__logo,
  body.wmin-site .header__logo {
    flex: 0 1 auto !important;
    min-width: 0;
  }

  body.gh-home-body .header__logo img,
  body.footing-body .header__logo img,
  body.steady-body .header__logo img,
  body.going-forward-body .header__logo img,
  body.passing-body .header__logo img,
  body.hs-landing-site .header__logo img,
  body.wga-page .header__logo img,
  body.wgb-page .header__logo img,
  body.bog-page .header__logo img,
  body.gn-page .header__logo img,
  body.gf-page .header__logo img,
  body.fg-page .header__logo img,
  body.sg-page .header__logo img,
  body.atg-page .header__logo img,
  body.wmin-site .header__logo img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(11.5rem, 62vw) !important;
    max-height: 3.45rem !important;
  }

  body.gh-home-body .header__actions,
  body.footing-body .header__actions,
  body.steady-body .header__actions,
  body.going-forward-body .header__actions,
  body.passing-body .header__actions,
  body.hs-landing-site .header__actions,
  body.wga-page .header__actions,
  body.wgb-page .header__actions,
  body.bog-page .header__actions,
  body.gn-page .header__actions,
  body.gf-page .header__actions,
  body.fg-page .header__actions,
  body.sg-page .header__actions,
  body.atg-page .header__actions,
  body.wmin-site .header__actions {
    align-self: center !important;
  }

  body.gh-home-body .icon-menu,
  body.footing-body .icon-menu,
  body.steady-body .icon-menu,
  body.going-forward-body .icon-menu,
  body.passing-body .icon-menu,
  body.hs-landing-site .icon-menu,
  body.wga-page .icon-menu,
  body.wgb-page .icon-menu,
  body.bog-page .icon-menu,
  body.gn-page .icon-menu,
  body.gf-page .icon-menu,
  body.fg-page .icon-menu,
  body.sg-page .icon-menu,
  body.atg-page .icon-menu,
  body.wmin-site .icon-menu {
    align-self: center !important;
    margin: 0 !important;
  }
}