/* Estate Settlement content templates — canonical 2026-08-27 system. */

.estate-packet-page { padding: 0; }
.estate-packet-hero { padding: 28px 0 0; background: #fff; border-bottom: 1px solid #14161a; }
.estate-template-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 1.05fr); gap: 56px; align-items: center; }
.estate-template-hero-copy { padding: 30px 0 62px; }
.estate-template-hero-copy > * { max-width: 740px; }
.estate-template-hero-copy .estate-kicker { margin-bottom: 16px; }
.estate-template-hero-copy h1 { max-width: 13ch; margin: 0; font-family: Newsreader, Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 5.2vw, 5.15rem); font-weight: 400; line-height: 1; letter-spacing: -.038em; }
.estate-template-hero-copy > p:last-child { max-width: 36em; margin: 24px 0 0; color: #3a3e45; font-family: Newsreader, Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.46; }
.estate-template-hero-image { position: relative; align-self: stretch; min-height: 460px; margin: 0; overflow: hidden; background: #edf1fa; }
.estate-template-hero-image img { display: block; width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.estate-template-hero-image figcaption { position: absolute; right: 0; bottom: 0; padding: 9px 13px; color: #fff; background: #14161a; font-size: .72rem; letter-spacing: .04em; }

.estate-packet-article { display: block; max-width: none; padding: 0; }
.estate-article-intro { max-width: 920px; padding-top: 72px; padding-bottom: 54px; }
.estate-article-intro > p { max-width: 760px; margin: 0 0 1.05em; color: #3a3e45; font-family: Newsreader, Georgia, "Times New Roman", serif; font-size: clamp(1.18rem, 2vw, 1.42rem); line-height: 1.56; }
.estate-article-intro > p:first-child { color: #14161a; font-size: clamp(1.4rem, 2.3vw, 1.75rem); }
.estate-content-section { padding: 74px 0 82px; border-top: 1px solid #d9dee4; }
.estate-content-section-inner { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 760px); column-gap: clamp(48px, 7vw, 110px); align-items: start; }
.estate-content-section-inner > h2 { grid-column: 1; grid-row: 1 / span 12; position: sticky; top: 108px; margin-top: 0; }
.estate-content-section-inner > :not(h2) { grid-column: 2; }
.estate-packet-article h2 { margin: 2.25em 0 .65em; color: #14161a; font-family: Newsreader, Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 3.3vw, 3.2rem); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; }
.estate-packet-article h3 { margin: 2em 0 .55em; color: #14161a; font-family: Newsreader, Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 400; line-height: 1.16; letter-spacing: -.022em; }
.estate-packet-article p,
.estate-packet-article li { font-size: 1.02rem; line-height: 1.72; }
.estate-packet-article p { margin: 0 0 1.25em; }
.estate-packet-article li + li { margin-top: .55em; }
.estate-packet-article a { color: #1b44a8; text-underline-offset: 3px; }
.estate-packet-article a:hover { color: #0f2a6b; }
.estate-packet-article blockquote { margin: 2.2em 0; padding: 32px 36px; color: #fff; background: #0f2a6b; border: 0; }
.estate-packet-article blockquote p { color: inherit; font-family: Newsreader, Georgia, serif; font-size: 1.3rem; line-height: 1.48; }
.estate-packet-article blockquote p:last-child { margin-bottom: 0; }
.estate-packet-article table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.estate-packet-article th,
.estate-packet-article td { padding: 14px; text-align: left; vertical-align: top; border: 1px solid #d9dee4; }
.estate-packet-article th { color: #fff; background: #14161a; font-weight: 500; }
.estate-packet-article tbody tr:nth-child(even) td { background: #f4f6f8; }
.estate-packet-article .table-scroll,
.packet-table-scroll { overflow-x: auto; }

.estate-content-section--tint { background: #f4f6f8; }
.estate-content-section--ink { color: #fff; background: #14161a; border-color: #14161a; }
.estate-content-section--ink h2,
.estate-content-section--ink h3,
.estate-content-section--ink p,
.estate-content-section--ink li { color: #fff; }
.estate-content-section--ink a { color: #b9caff; }
.estate-content-section--ink blockquote { background: #0f2a6b; border: 1px solid #748fda; }
.estate-content-section--ink th { background: #fff; color: #14161a; }
.estate-content-section--ink td { color: #14161a; background: #fff; }
.estate-content-section--ink tbody tr:nth-child(even) td { background: #edf1fa; }
.estate-content-section--steps ul,
.estate-content-section--steps ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin: 28px 0; padding: 2px; list-style-position: inside; background: #14161a; }
.estate-content-section--steps li { min-height: 112px; margin: 0; padding: 22px; background: #fff; }
.estate-content-section--steps li + li { margin-top: 0; }
.estate-content-section--evidence .table-scroll,
.estate-content-section--evidence .packet-table-scroll,
.estate-content-section--evidence table { grid-column: 1 / -1; }
.estate-content-section--evidence table { margin-top: 32px; }
.estate-content-section--evidence .table-scroll table,
.estate-content-section--evidence .packet-table-scroll table { margin-top: 0; }
.estate-content-section--evidence > .estate-content-section-inner { grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); }

.packet-quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 2px; margin: 42px 0; padding: 2px; background: #14161a; border: 0; }
.packet-quick-facts > * { margin: 0; padding: 20px; background: #fff; }
.packet-quick-facts h2 { grid-column: 1 / -1; margin: 0; color: #fff; background: #14161a; font-size: 1.75rem; }
.packet-quick-facts table { grid-column: 1 / -1; padding: 0; background: #fff; }
.packet-figure { margin: 42px 0; }
.packet-figure img { display: block; width: 100%; height: auto; border: 0; }
.packet-figure figcaption { padding-top: 12px; color: #5e6470; font-size: .82rem; }

/* Each supplied page family gets a distinct structural rhythm. */
.estate-template--document .packet-quick-facts,
.estate-template--cost .packet-quick-facts { margin-top: 0; }
.estate-template--document .estate-template-hero-image { background: #edf1fa; }
.estate-template--role .estate-template-hero-image { background: #f4f6f8; }
.estate-template--cost .estate-template-hero-image { background: #0f2a6b; }
.estate-template--service .estate-template-hero-copy { padding-block: 54px 76px; }

@media (max-width: 1050px) {
  .estate-template-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: 38px; }
  .estate-content-section-inner { grid-template-columns: minmax(210px, 280px) minmax(0, 1fr); column-gap: 44px; }
}

@media (max-width: 760px) {
  .estate-packet-hero { padding-top: 0; }
  .estate-template-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .estate-template-hero-copy { padding: 38px 0 44px; }
  .estate-template-hero-copy h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .estate-template-hero-image,
  .estate-template-hero-image img { min-height: 310px; }
  .estate-article-intro { padding-top: 48px; padding-bottom: 36px; }
  .estate-content-section { padding: 52px 0 58px; }
  .estate-content-section-inner,
  .estate-content-section--evidence > .estate-content-section-inner { display: block; }
  .estate-content-section-inner > h2 { position: static; margin-bottom: 28px; }
  .estate-content-section--steps ul,
  .estate-content-section--steps ol { grid-template-columns: minmax(0, 1fr); }
  .estate-content-section--steps li { min-height: 0; }
  .estate-packet-article p,
  .estate-packet-article li { font-size: 1rem; }
  .estate-packet-article h2 { font-size: 2.15rem; }
  .estate-packet-article blockquote { padding: 26px 22px; }
}

/* V4 page-family layer: clear opening decision, guided reading, and a bounded close. */
.estate-template-hero-image { align-self: center; min-height: 0; overflow: visible; background: transparent; }
.estate-template-hero-image img { width: 100%; height: auto; min-height: 0; object-fit: contain; }
.estate-template--state .estate-template-hero-image,
.estate-template--county .estate-template-hero-image,
.estate-template--state .estate-template-hero-image img,
.estate-template--county .estate-template-hero-image img { height: auto; min-height: 0; max-height: none; object-fit: contain; }
.estate-template-hero-image figcaption { position: static; padding: 10px 0 0; color: #5e6470; background: transparent; font-size: .72rem; }
.estate-template-hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 30px; }
.estate-template-hero-actions .estate-button { color: #fff; }
.estate-template-hero-actions > a:last-child { color: #1b44a8; border-bottom: 1px solid #aebde1; font-size: .86rem; text-decoration: none; }

.estate-journey-strip { border-bottom: 1px solid #d9dee4; background: #f4f6f8; }
.estate-journey-strip > .estate-shell { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.estate-journey-strip > .estate-shell > div { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: baseline; min-height: 92px; padding: 28px; border-left: 1px solid #d9dee4; }
.estate-journey-strip > .estate-shell > div:last-child { border-right: 1px solid #d9dee4; }
.estate-journey-strip span { color: #1b44a8; font-family: "IBM Plex Mono", monospace; font-size: .72rem; }
.estate-journey-strip strong { color: #14161a; font-family: Newsreader, Georgia, serif; font-size: 1.12rem; font-weight: 400; line-height: 1.25; }

.estate-intent-close { padding: 72px 0 76px; color: #fff; background: #0f2a6b; }
.estate-intent-close > .estate-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) auto; gap: 60px; align-items: end; }
.estate-intent-close .estate-kicker { color: #a9bce7; }
.estate-intent-close h2 { max-width: 17ch; margin: 10px 0 16px; color: #fff; font-family: Newsreader, Georgia, serif; font-size: clamp(2.35rem, 4vw, 4rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.estate-intent-close p { max-width: 62ch; margin: 0; color: #d2dbef; }
.estate-intent-close .estate-button { color: #0f2a6b; background: #fff; border-color: #fff; white-space: nowrap; }

.estate-service-scope { padding: 82px 0 90px; background: #edf1fa; }
.estate-service-scope-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; align-items: end; }
.estate-service-scope-head .estate-kicker { grid-column: 1 / -1; margin: 0; }
.estate-service-scope-head h2 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 400; line-height: 1.03; }
.estate-service-scope-head > p { margin: 0; color: #3a3e45; }
.estate-service-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 44px; background: #14161a; }
.estate-service-scope-grid article { padding: 30px; background: #fff; }
.estate-service-scope-grid article:nth-child(2) { background: #f4f6f8; }
.estate-service-scope-grid span { color: #1b44a8; font-family: "IBM Plex Mono", monospace; font-size: .74rem; }
.estate-service-scope-grid h3 { margin: 28px 0 14px; font-family: Newsreader, Georgia, serif; font-size: 1.75rem; font-weight: 400; }
.estate-service-scope-grid strong { display: block; margin-top: 28px; padding-top: 17px; border-top: 1px solid #d9dee4; color: #3a3e45; font-size: .78rem; line-height: 1.45; }

@media (max-width: 760px) {
  .estate-template-hero-image,
  .estate-template-hero-image img { min-height: 0; }
  .estate-journey-strip > .estate-shell,
  .estate-service-scope-grid,
  .estate-service-scope-head,
  .estate-intent-close > .estate-shell { grid-template-columns: 1fr; }
  .estate-journey-strip > .estate-shell > div { min-height: 0; border-right: 1px solid #d9dee4; border-bottom: 1px solid #d9dee4; }
  .estate-intent-close { padding: 56px 0 60px; }
  .estate-intent-close > .estate-shell { align-items: start; gap: 34px; }
}
