/* Keep the removed decorative rings hidden if older Journal block HTML is saved again. */
.route-common-home .rf27-section .rf27-decoration {
  display: none !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); }
}
