/* Hero typography only: keep the admin-managed text, image, and slider intact. */
.route-common-home .module-master_slider-26 {
  --vip-hero-font-size: clamp(42px, 4.8vw, 68px);
  --vip-hero-text-top: clamp(190px, 23.4vw, 300px);
  --vip-hero-text-inset: 0px;
}
.route-common-home .module-master_slider-26 .module-subitem-1.ms-layer-text {
  box-sizing: border-box;
  top: var(--vip-hero-text-top) !important;
  left: var(--vip-hero-text-inset) !important;
  width: min(620px, calc(100% - 36px)) !important;
  max-width: calc(100% - 36px);
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: var(--vip-hero-font-size) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em;
  white-space: normal !important;
  text-shadow: 0 3px 20px #061a1470, 0 1px 3px #061a1440;
}
.route-common-home .module-master_slider-26 .module-subitem-1.ms-layer-text p {
  margin: 12px 0 0 !important;
  padding: 0;
  color: #c1e4ad !important;
  font-family: inherit;
  font-size: .76em !important;
  font-weight: 700;
  line-height: 1.2 !important;
  letter-spacing: -.035em;
}
.route-common-home .module-master_slider-26 .module-subitem-2.ms-layer-text {
  box-sizing: border-box;
  top: calc(var(--vip-hero-text-top) + var(--vip-hero-font-size) * 3.1 + 36px) !important;
  left: var(--vip-hero-text-inset) !important;
  width: min(450px, calc(100% - 36px)) !important;
  max-width: calc(100% - 36px);
  margin: 0 !important;
  padding: 3px 0 3px 16px !important;
  border-left: 2px solid #c1e4ad;
  color: #f1f5ec;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  letter-spacing: .005em;
  white-space: normal !important;
  text-shadow: 0 2px 10px #061a14b3;
}
.route-common-home .module-master_slider-26 .module-subitem-2.ms-layer-text br { display: none; }
@media (max-width: 991px) {
  .route-common-home .module-master_slider-26 {
    --vip-hero-text-top: clamp(90px, 18vw, 178px);
    --vip-hero-text-inset: 24px;
  }
  .route-common-home .module-master_slider-26 .module-subitem-2.ms-layer-text { font-size: 15px !important; }
}
@media (max-width: 600px) {
  .route-common-home .module-master_slider-26 {
    --vip-hero-font-size: clamp(24px, 7.2vw, 36px);
    --vip-hero-text-top: clamp(20px, 5.6vw, 32px);
    --vip-hero-text-inset: 18px;
  }
  .route-common-home .module-master_slider-26 .module-subitem-1.ms-layer-text p { margin-top: 8px !important; }
  .route-common-home .module-master_slider-26 .module-subitem-2.ms-layer-text {
    top: calc(var(--vip-hero-text-top) + var(--vip-hero-font-size) * 3.1 + 28px) !important;
    width: min(420px, calc(100% - 36px)) !important;
    padding: 2px 0 2px 11px !important;
    font-size: clamp(12px, 3.2vw, 15px) !important;
    line-height: 1.65 !important;
  }
}

/* Follow the quote module even if its row is moved in the Journal layout. */
.route-common-home .grid-row:has(.module-title-163) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #eef1e6;
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(164, 192, 153, .2), transparent 62%),
    linear-gradient(110deg, #f6f3e9 0%, #eef2e7 56%, #dce9dc 100%);
  box-shadow: inset 0 1px 0 rgba(31, 79, 45, .08), inset 0 -1px 0 rgba(31, 79, 45, .08);
}

/* Subtle contour lines add depth without covering the content or intercepting clicks. */
.route-common-home .grid-row:has(.module-title-163)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-radial-gradient(
    ellipse at 105% 140%,
    transparent 0,
    transparent 58px,
    rgba(39, 84, 54, .045) 59px,
    transparent 60px,
    transparent 110px
  );
}

.route-common-home .grid-row:has(.module-title-163) > .grid-cols {
  position: relative;
  z-index: 1;
}

.route-common-home .module-title-163 h3 { color: #173e29; }
.route-common-home .module-title-163 h3 a { color: #377747 !important; }
.route-common-home .module-title-163 .subtitle { color: #526659; }
.route-common-home .grid-row:has(.module-title-163) .info-block-title { color: #526659; }
.route-common-home .grid-row:has(.module-title-163) .module-button .btn {
  color: #fff;
  background: #176438;
  box-shadow: 0 7px 18px rgba(23, 100, 56, .13);
}
.route-common-home .grid-row:has(.module-title-163) .module-button .btn:hover,
.route-common-home .grid-row:has(.module-title-163) .module-button .btn:focus-visible {
  color: #fff;
  background: #104d2a;
}

@media (max-width: 767px) {
  .route-common-home .grid-row:has(.module-title-163) {
    padding: 32px 22px;
  }

  .route-common-home .grid-row:has(.module-title-163) > .grid-cols {
    flex-direction: column;
    gap: 24px;
  }

  .route-common-home .grid-row:has(.module-title-163) > .grid-cols > .grid-col {
    width: 100%;
  }
}

html.vip-quote-open,
html.vip-quote-open body { overflow: hidden; }
.vip-quote-modal[hidden] { display: none !important; }
.vip-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1000100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 28, 20, .72);
  backdrop-filter: blur(5px);
}
.vip-quote-dialog {
  width: min(620px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(3, 23, 13, .35);
}
.vip-quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 13px 20px;
  background: linear-gradient(110deg, #103f2b, #176a42);
  color: #fff;
}
.vip-quote-modal-kicker {
  display: block;
  margin-bottom: 3px;
  color: #bfe2c0;
  font: 600 10px/1.3 Poppins, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vip-quote-modal-header h2 {
  margin: 0;
  color: #fff;
  font: 700 20px/1.2 Quicksand, Poppins, Arial, sans-serif;
}
.vip-quote-modal-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  font: 400 27px/1 Arial, sans-serif;
  transition: background .18s ease, transform .18s ease;
}
.vip-quote-modal-close:hover,
.vip-quote-modal-close:focus-visible { background: rgba(255, 255, 255, .25); transform: rotate(90deg); }
.vip-quote-modal-frame {
  display: block;
  width: 100%;
  height: 650px;
  max-height: calc(100dvh - 102px);
  border: 0;
  background: #fff;
}
@media (max-width: 600px) {
  .vip-quote-modal { padding: 8px; }
  .vip-quote-dialog { width: 100%; max-height: calc(100dvh - 16px); border-radius: 16px; }
  .vip-quote-modal-header { min-height: 62px; padding: 10px 14px; }
  .vip-quote-modal-header h2 { font-size: 17px; }
  .vip-quote-modal-kicker { font-size: 9px; }
  .vip-quote-modal-frame { max-height: calc(100dvh - 78px); }
}
