/* /offers/ and /offers/<slug>/ (tools/offers-page.mjs). Hero, intro, buttons and the closing block come from
   dor-experiences.css (.sdo-xp__*); this file adds the card grid and the offer detail layout. */
.sdo-of__hero { min-height: 78svh; }
.sdo-of .sdo-xp__btn { justify-content: center; }

.sdo-of__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); max-width: 1320px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 56px); }
.sdo-of__grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; padding: 0; }
.sdo-of__card { display: flex; flex-direction: column; background: #f7f3ee; }
.sdo-of__media { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #2b2622; }
.sdo-of__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.sdo-of__card:hover .sdo-of__media img { transform: scale(1.04); }
.sdo-of__body { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 2.4vw, 34px); text-align: center; }
.sdo-of__name { margin: 0 0 14px !important; font-family: "EB Garamond", Georgia, serif !important; font-size: clamp(26px, 2.2vw, 32px) !important; font-weight: 400 !important; line-height: 1.15 !important; }
.sdo-of__name a { color: var(--xp-ink) !important; text-decoration: none !important; }
.sdo-of__name a:hover { color: var(--xp-accent) !important; }
.sdo-of__text { flex: 1; margin: 0 0 26px !important; font-family: "EB Garamond", Georgia, serif; font-size: 18px; line-height: 1.55; color: var(--xp-text); }
.sdo-of__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sdo-of__cta .sdo-xp__btn { flex: 1 1 190px; padding: 14px 16px; white-space: nowrap; }

.sdo-of__crumbs { display: flex; flex-wrap: wrap; gap: 10px; max-width: 1180px; margin: 0 auto; padding: 22px clamp(18px, 4vw, 56px) 0; font: 500 11px/1.6 Montserrat, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8a817a; }
.sdo-of__crumbs a { color: #8a817a !important; text-decoration: none !important; }
.sdo-of__crumbs a:hover { color: var(--xp-accent) !important; }
.sdo-of__crumbs [aria-current] { color: var(--xp-ink); }

.sdo-of__detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1180px; margin: 0 auto; padding: clamp(48px, 6vw, 84px) clamp(18px, 4vw, 56px) 0; }
.sdo-of__lead { margin: 0 0 18px !important; font-family: "EB Garamond", Georgia, serif; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--xp-text); }
.sdo-of__h2 { margin: 44px 0 16px !important; font-family: "EB Garamond", Georgia, serif !important; font-size: clamp(22px, 2vw, 26px) !important; font-weight: 400 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--xp-ink) !important; }
.sdo-of__list, .sdo-of__terms, .sdo-of__steps { margin: 0 !important; padding: 0 !important; list-style: none; }
.sdo-of__list li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid #e7e0d8; font-family: "EB Garamond", Georgia, serif; font-size: 19px; line-height: 1.45; color: var(--xp-ink); }
/* bullet = the Solaria mark (shapes from btn-mark.css, which every page loads) */
.sdo-of__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: #5f5a56; -webkit-mask: var(--sol-mark-line) center / contain no-repeat; mask: var(--sol-mark-line) center / contain no-repeat; }
.sdo-of__steps li { position: relative; padding: 8px 0 8px 34px; font-family: "EB Garamond", Georgia, serif; font-size: 18px; line-height: 1.5; color: var(--xp-text); }
.sdo-of__steps li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: #5f5a56; -webkit-mask: var(--sol-mark-line) center / contain no-repeat; mask: var(--sol-mark-line) center / contain no-repeat; }
.sdo-of__steps b, .sdo-of__box-text b { color: var(--xp-ink); letter-spacing: .06em; }
.sdo-of__terms li { position: relative; padding: 4px 0 4px 18px; font: 400 14px/1.6 Montserrat, system-ui, sans-serif; color: #6d655f; }
.sdo-of__terms li::before { content: "–"; position: absolute; left: 0; }

.sdo-of__side { position: sticky; top: 150px; }
.sdo-of__box { display: grid; gap: 16px; padding: 32px 28px; background: #f7f3ee; border-top: 3px solid var(--xp-accent); text-align: center; }
.sdo-of__box-title { margin: 0 !important; font-family: "EB Garamond", Georgia, serif; font-size: 26px; line-height: 1.2; color: var(--xp-ink); }
.sdo-of__box-text { margin: 0 !important; font-family: "EB Garamond", Georgia, serif; font-size: 17px; line-height: 1.5; color: var(--xp-text); }
.sdo-of__code { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 14px 16px; border: 1px dashed #b8aca1; background: #fff; text-align: left; }
.sdo-of__code-label { grid-column: 1; font: 600 10px/1.4 Montserrat, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #8a817a; }
.sdo-of__code-val { grid-column: 1; font: 600 22px/1.2 Montserrat, system-ui, sans-serif; letter-spacing: .14em; color: var(--xp-ink); }
.sdo-of__copy { grid-column: 2; grid-row: 1 / 3; min-height: 44px; padding: 0 16px; border: 1px solid #494949; background: transparent; color: #494949; font: 600 11px/1 Montserrat, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.sdo-of__copy:hover, .sdo-of__copy.is-done { background: var(--xp-accent); border-color: var(--xp-accent); color: #fff; }
.sdo-of__tel { font: 500 13px/1.4 Montserrat, system-ui, sans-serif; color: #6d655f !important; text-decoration: none !important; }
.sdo-of__tel:hover { color: var(--xp-accent) !important; }

.sdo-of__more { max-width: 1180px; margin: clamp(80px, 10vw, 130px) auto 0; padding: 0 clamp(18px, 4vw, 56px) clamp(80px, 10vw, 130px); text-align: center; }
.sdo-of__more .sdo-xp__plan-title { margin-bottom: 36px !important; }
.sdo-of__grid.is-two { margin: 0 auto; }
.sdo-of__all { margin: 40px 0 0 !important; }

@media (max-width: 1024px) {
  .sdo-of__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sdo-of__detail { grid-template-columns: 1fr; }
  .sdo-of__side { position: static; }
}
@media (max-width: 680px) {
  .sdo-of__grid, .sdo-of__grid.is-two { grid-template-columns: 1fr; }
  .sdo-of__text, .sdo-of__list li { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .sdo-of__media img { transition: none; } }
