/* Match the existing Agent Email Blast palette and typography. */
.eb-hero { background: #eee9df; border-bottom: 1px solid var(--line); }
.eb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.8rem, 6vw, 6.5rem);
  padding-block: clamp(3rem, 7vw, 6.5rem);
}
.eb-hero-copy h1 { text-wrap: balance; }
.eb-hero-copy h1 span { display: block; color: var(--deep); }
.eb-lead { max-width: 51ch; margin: 1.2rem 0 1.65rem; color: var(--sub); font-size: clamp(1rem, 2vw, 1.16rem); }
.eb-hero-copy #start-flyer { position: relative; margin-inline: 0; }
.eb-hero-copy .form-note { color: var(--sub); }
.eb-hero-copy #start-flyer:has(.listing-search-frame:not([hidden])) {
  padding: .75rem;
  border-radius: .95rem;
  background: #493628;
  color: #fff9f2;
}
.eb-hero-copy #start-flyer:has(.listing-search-frame:not([hidden])) .form-note { color: inherit; }
.eb-hero-copy .listing-search-frame:not([hidden]) { filter: drop-shadow(0 7px 15px #36261618); }
.eb-hero-copy .search { box-shadow: 0 5px 17px #36261612; }
.eb-hero-copy .search:focus-within { box-shadow: 0 0 0 3px #9b785a40; }
.eb-hero-links { column-gap: 1.3rem; }
.eb-hero-photo { overflow: hidden; border-radius: 1.15rem; background: #d9c9b6; }
.eb-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.35; object-fit: cover; object-position: 61% center; }
.eb-agent-to-agent .eb-hero-photo img { aspect-ratio: 3 / 2; }
.eb-keep-together { white-space: nowrap; }
.eb-real-estate-eflyer { background: #f0ece3; }
.eb-open-house-email-blast { background: #ece6d9; }
.eb-broker-open-email-blast { background: #e9e6dc; }
.eb-hero-copy h1 { font-size: clamp(3rem, 5.7vw, 5.35rem); }
.eb-compact-coverage { align-items: center; }
.eb-price-summary { padding: clamp(1rem, 3vw, 1.6rem); }
.eb-price-summary > strong { display: block; font: 400 clamp(1.85rem, 4vw, 2.75rem)/1.05 var(--display); }
.eb-price-summary .actions a:not(.button) { color: var(--deep); }
.eb-after-send { background: #eae4d9; }
.eb-after-send .split { align-items: center; }
.eb-after-send p { max-width: 49ch; }

.eb-article-heading { position: static; background: transparent; border: 0; }
.eb-breadcrumb { display: inline-block; margin-bottom: .75rem; font-size: .88rem; font-weight: 700; }
.eb-article .lead { max-width: 64ch; }
.eb-guide-nav, .eb-guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; }
.eb-guide-nav { margin-top: 1.15rem; }
.eb-guide-nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: .92rem; font-weight: 600; }
.eb-guide-figure img { aspect-ratio: 2 / 1; }
.eb-checklist { padding-left: 1.4rem; }
.eb-checklist li { padding: .2rem 0 .2rem .25rem; }
.eb-subjects {
  margin: 1.15rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.eb-subjects div { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: .65rem; background: white; }
.eb-subjects dt { font-size: .92rem; font-weight: 700; }
.eb-subjects dd { color: var(--muted); font-size: .9rem; margin: .3rem 0 0; }
.eb-terms { margin: 1.2rem 0 0; }
.eb-terms div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .7rem 1.25rem; border-top: 1px solid var(--line); padding: .75rem 0; }
.eb-terms dt { font-weight: 700; }
.eb-terms dd { margin: 0; color: var(--muted); }

@media (max-width: 880px) {
  .eb-hero-grid { grid-template-columns: 1fr; }
  .eb-hero-copy h1 { max-width: none; }
  .eb-hero-photo img { aspect-ratio: 2 / 1; object-position: 50% 57%; }
}
@media (max-width: 560px) {
  .eb-hero-grid { gap: 1.35rem; padding-block: 2.25rem; }
  .eb-hero-copy h1 { font-size: clamp(2.9rem, 11vw, 4.25rem); }
  .eb-hero-photo img { aspect-ratio: 1.7; }
  .eb-subjects { grid-template-columns: 1fr; }
  .eb-terms div { grid-template-columns: 1fr; row-gap: .15rem; }
}
