/* Shared proportions for page sections and their common modules. */
body.orb-commerce.orb-site {
  --ui-title: clamp(25px, 2.25vw, 36px);
  --ui-card-title: clamp(17px, 1.25vw, 22px);
  --ui-gap: clamp(14px, 1.6vw, 26px);
  --ui-section-space: clamp(32px, 4vw, 64px);
  --ui-radius: 12px;
}
body.orb-commerce.orb-site :is(.orb-related, .orb-guide-index, .orb-library-group, .orb-kit-review, .orb-faq, .orb-buying-notes, .orb-reading-body, .orb-supply-stage, .orb-cro-heading, .space-gallery-heading, .orb-supply-copy) h2,
body.orb-commerce.orb-site .orb-index-title h2,
body.orb-commerce.orb-site .orb-faq > h2 {
  font-size: var(--ui-title);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
body.orb-commerce.orb-site :is(.orb-topic-cover, .orb-cro-hero) h1 {
  font-size: clamp(32px, 3.4vw, 58px);
  line-height: 1.17;
  font-weight: 600;
}
body.orb-commerce.orb-site .orb-module-heading,
body.orb-commerce.orb-site .orb-index-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 24px;
}
body.orb-commerce.orb-site .orb-module-heading h2,
body.orb-commerce.orb-site .orb-index-title h2 {
  margin: 0;
}
body.orb-commerce.orb-site .orb-index-title > a {
  padding: 8px 0;
  margin: 0;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
body.orb-commerce.orb-site .orb-index-title > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Each related-space link has a full, consistently cropped picture. */
body.orb-commerce.orb-site .orb-related {
  padding-block: var(--ui-section-space);
}
body.orb-commerce.orb-site .orb-related-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--ui-gap);
}
body.orb-commerce.orb-site .orb-related-links a.orb-space-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  padding: 0;
  border-radius: var(--ui-radius);
  overflow: hidden;
  background: #eef2ea;
  color: #1b3e30;
  text-decoration: none;
  box-shadow: 0 0 0 1px #264a3210;
  transition: box-shadow .18s ease, background .18s ease;
}
body.orb-commerce.orb-site .orb-space-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0;
}
body.orb-commerce.orb-site .orb-space-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
  min-height: 56px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}
body.orb-commerce.orb-site .orb-space-caption i {
  font-style: normal;
  font-size: 19px;
  flex-shrink: 0;
}
body.orb-commerce.orb-site .orb-space-card:hover {
  background: #e1eada;
  box-shadow: 0 4px 18px #264a3212;
}

/* Home guides use one picture, title and destination per card. */
body.orb-commerce.orb-site .orb-guide-index {
  padding-block: var(--ui-section-space);
}
body.orb-commerce.orb-site .orb-guide-index .orb-guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--ui-gap);
}
body.orb-commerce.orb-site .orb-guide-index .orb-guide-entry {
  min-width: 0;
  height: 100%;
  border-radius: var(--ui-radius);
  background: #f0f2eb;
  overflow: hidden;
}
body.orb-commerce.orb-site .orb-guide-index .orb-guide-entry a {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  gap: 0;
  height: 100%;
  padding: 0;
  border-radius: inherit;
  background: transparent;
  color: #203b2e;
  text-decoration: none;
}
body.orb-commerce.orb-site .orb-guide-cover {
  display: block;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e4e9dc;
}
body.orb-commerce.orb-site .orb-guide-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
body.orb-commerce.orb-site .orb-guide-cover.is-product img {
  object-fit: contain;
  padding: 20px;
}
body.orb-commerce.orb-site .orb-guide-copy {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}
body.orb-commerce.orb-site .orb-guide-index .orb-guide-copy {
  padding: 22px;
  flex-grow: 1;
}
body.orb-commerce.orb-site .orb-guide-entry h3 {
  margin: 0;
  min-width: 0;
  font-size: var(--ui-card-title);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
body.orb-commerce.orb-site .orb-guide-entry a:hover h3 {
  color: #396447;
  text-decoration: none;
}
body.orb-commerce.orb-site .orb-guide-entry .orb-dir-arrow {
  display: grid;
  place-items: center;
  width: 26px;
  min-height: 30px;
  flex-shrink: 0;
  font-size: 21px;
}
body.orb-commerce.orb-site .orb-guide-index .orb-guide-entry:hover {
  background: #e7eddf;
}
body.orb-commerce.orb-site .orb-library .orb-guide-copy {
  width: 100%;
}

/* Put the quote action beside its own copy, within the content gutters. */
body.orb-commerce.orb-site .orb-next-action {
  display: block;
  background: transparent;
  padding-block: 12px var(--ui-section-space);
}
body.orb-commerce.orb-site .orb-quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, .32fr);
  align-items: center;
  gap: 30px;
  min-height: 190px;
  padding: clamp(24px, 3vw, 44px);
  border-radius: 16px;
  background: #e9eee0;
}
body.orb-commerce.orb-site .orb-quote-copy p {
  max-width: 38ch;
  margin: 0 0 20px;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.5;
  font-weight: 550;
  letter-spacing: -.015em;
}
body.orb-commerce.orb-site .orb-quote-copy .orb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 120px;
  min-height: 46px;
}
body.orb-commerce.orb-site .orb-quote-panel > img {
  display: block;
  height: 160px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 6px #1d3f2820);
}
@media (max-width: 1199px) {
  body.orb-commerce.orb-site .orb-related-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  body.orb-commerce.orb-site .orb-related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  body.orb-commerce.orb-site .orb-space-caption {
    padding: 12px;
    font-size: 15px;
    min-height: 50px;
  }
  body.orb-commerce.orb-site .orb-guide-index .orb-guide-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  body.orb-commerce.orb-site .orb-guide-index .orb-guide-copy {
    padding: 18px;
  }
  body.orb-commerce.orb-site .orb-guide-index .orb-guide-cover {
    aspect-ratio: 16 / 8;
  }
  body.orb-commerce.orb-site .orb-quote-panel {
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 14px;
    padding: 24px 20px;
  }
  body.orb-commerce.orb-site .orb-quote-panel > img {
    height: 108px;
  }
  body.orb-commerce.orb-site .orb-quote-copy p {
    font-size: 20px;
  }
}
@media (max-width: 370px) {
  body.orb-commerce.orb-site .orb-quote-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  body.orb-commerce.orb-site .orb-quote-panel > img {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.orb-commerce.orb-site .orb-space-card {
    transition: none;
  }
}
