/* Lawyer Magazine polish layer (2026-10-21). Loaded after main.css; keeps the source palette and type. */
:root {
  --line: #c6dbde;
  --ink-strong: #1f3739;
  --tint: #dce9ea;
  --radius: 10px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgb(44 72 75 / 8%);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
body { -webkit-font-smoothing: antialiased; }
html.menu-open { overflow: hidden; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rail--narrow { width: min(760px, calc(100% - 40px)); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.lm-icon { flex: none; }
.calc [hidden] { display: none !important; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border: 1px solid transparent; border-radius: var(--radius); font: 500 16px/1.2 Outfit, sans-serif; cursor: pointer; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--ink-strong); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: #b4cbce; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 15px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* Header */
.site-header__inner { grid-template-columns: 228px 1fr auto; }
.header-blog-link { display: none; }
.header-action { justify-self: end; white-space: nowrap; }
.menu-toggle { display: none; }
.primary-nav__list { gap: 34px; }
.primary-nav a { transition: color .2s var(--ease); }
.primary-nav .current-menu-item a, .primary-nav .current_page_item a, .primary-nav .current-page-ancestor a { border-bottom: 2px solid var(--ink); }

/* Mobile drawer */
.mobile-menu { position: fixed; inset: 0; z-index: 90; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgb(31 55 57 / 40%); opacity: 0; transition: opacity .26s var(--ease); }
.mobile-menu__panel { position: absolute; inset: 0 0 0 auto; width: min(380px, 100%); display: flex; flex-direction: column; gap: 28px; padding: 22px 20px 28px; background: var(--page); box-shadow: -10px 0 40px rgb(44 72 75 / 12%); transform: translateX(100%); transition: transform .26s var(--ease); overflow-y: auto; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.mobile-menu__top .site-logo img { width: 190px; }
.mobile-menu__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: var(--tint); color: var(--ink); cursor: pointer; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mobile-menu__list a { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font: 400 24px/1.2 Gloock, Georgia, serif; }
.mobile-menu__list .current-menu-item a { color: var(--ink-strong); text-decoration: underline; text-underline-offset: 5px; }
.mobile-menu__cta { margin-top: auto; }

@media (max-width: 899px) {
  .site-header { height: 84px; }
  .site-header.is-open { height: 84px; }
  .site-header__inner { height: 84px; grid-template-columns: 1fr auto; gap: 12px; }
  .site-logo img { width: 196px; }
  .primary-nav, .site-header.is-open .primary-nav { display: none; }
  .header-action { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: var(--radius); background: var(--tint); color: var(--ink); cursor: pointer; transform: none; }
}

/* Home hero: about one viewport, primary CTA */
@media (min-width: 900px) {
  .home-hero { height: 880px; }
  .home-hero h1 { top: 140px; font-size: clamp(52px, 5.4vw, 72px); }
  .home-hero__justice { top: 215px; left: 33%; width: 35%; max-width: 410px; }
  .reader-card { top: 330px; left: 62%; width: 262px; min-height: 0; padding-bottom: 20px; box-shadow: var(--shadow); }
  .home-hero__handshake { top: 690px; left: 23%; }
  .home-hero__gavel { top: 600px; left: 74%; width: 400px; }
  .home-hero__lede { position: absolute; z-index: 3; top: 330px; left: 0; width: 27%; min-width: 250px; }
  .home-hero__intro { position: static; transform: none; width: auto; text-align: left; font-size: 17px; line-height: 1.55; color: var(--ink); margin: 0 0 24px; }
  .home-hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 899px) {
  .home-hero { height: auto; padding: 120px 0 56px; }
  .home-hero__inner { display: flex; flex-direction: column; align-items: center; }
  .home-hero h1, .home-hero__justice, .reader-card, .home-hero__intro { position: static; transform: none; }
  .home-hero h1 { font-size: clamp(44px, 13vw, 64px); line-height: 1.04; }
  .home-hero__justice { width: min(320px, 82%); margin-top: 18px; }
  .reader-card { width: min(320px, 100%); min-height: 0; margin-top: -96px; padding-bottom: 18px; box-shadow: var(--shadow); }
  .reader-card__top { flex-direction: row; align-items: center; gap: 8px; }
  .reader-card p { white-space: normal; margin-top: 14px; }
  .home-hero__handshake, .home-hero__gavel { display: none; }
  .home-hero__lede { margin-top: 32px; text-align: center; }
  .home-hero__intro { width: auto; max-width: 340px; margin: 0 auto 22px; color: var(--ink); font-size: 16px; line-height: 1.55; }
  .home-hero__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; width: min(340px, 100%); margin: 0 auto; }
}

/* Home trending section */
.trending-news { height: auto; padding: 96px 0 120px; }
.trending-news h2 { padding-top: 0; margin-bottom: 56px; }
.trending-news__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: center; }
.trending-news__portrait { position: static; width: 100%; }
.trending-news__kicker { margin: 0 0 18px; color: var(--ink); font: 400 26px/1.25 Gloock, Georgia, serif; }
.post-list { display: grid; gap: 18px; margin-bottom: 22px; }
.post-list .post-card { grid-template-columns: 160px 1fr; grid-template-rows: auto; column-gap: 22px; align-items: start; }
.post-list .post-card__body { padding-top: 2px; }
.post-list .post-card__title { font-size: 20px; }
@media (max-width: 899px) {
  .trending-news { padding: 72px 0 80px; }
  .trending-news h2 { margin-bottom: 36px; }
  .trending-news__grid { grid-template-columns: 1fr; gap: 48px; }
  .trending-news__portrait { width: min(350px, 100%); margin: 0 auto; }
  .trending-news__kicker { text-align: center; font-size: 22px; }
}

/* Page intro, breadcrumb */
.page-intro { padding-top: 188px; margin-bottom: 48px; }
.page-intro h1 { margin: 0 0 16px; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.08; }
.page-intro__lead { max-width: 640px; margin: 0; color: var(--ink); font-size: 18px; line-height: 1.55; opacity: .86; }
.page-intro__meta { margin: 0; font-size: 14px; }
.page-intro--center { text-align: center; }
.page-intro--center .page-intro__lead { margin-inline: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 26px; font-size: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); }
@media (max-width: 899px) { .page-intro { padding-top: 132px; margin-bottom: 36px; } .page-intro__lead { font-size: 17px; } }

/* Search box */
.search-box { display: flex; gap: 8px; max-width: 560px; margin-top: 28px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.page-intro--center .search-box { margin-inline: auto; }
.search-box + p { margin: 22px 0 0; }
.search-box input { flex: 1; min-width: 0; padding: 10px 12px; border: 0; background: transparent; color: var(--ink); font-size: 16px; }
.search-box input:focus { outline: none; }
.search-box:focus-within { border-color: var(--ink); }
.search-box button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--white); font-weight: 500; cursor: pointer; }
.search-box button:hover { background: var(--ink-strong); }
@media (max-width: 480px) { .search-box button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Listings */
.listing { padding-bottom: 120px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 30px; }
.post-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: #9cb7ba; }
.post-card__body { display: flex; flex-direction: column; padding-top: 16px; }
.post-card__topic { align-self: flex-start; margin-bottom: 8px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.post-card__title { margin: 0 0 10px; font-size: 22px; line-height: 1.25; }
.post-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-card__excerpt { margin: 0 0 14px; line-height: 1.55; }
.post-card__meta { display: flex; align-items: center; gap: 6px; margin: auto 0 0; font-size: 14px; }
.pagination { margin-top: 56px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 500; }
.pagination a:hover { background: var(--white); border-color: var(--ink); }
.pagination span.page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pagination .dots { border-color: transparent; }
.empty-state { max-width: 620px; margin: 8px 0 0; padding: 40px; background: var(--white); border-radius: var(--radius-lg); }
.empty-state__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 14px; background: var(--tint); color: var(--ink); }
.empty-state h2 { margin: 0 0 10px; font-size: 28px; }
.empty-state p { margin: 0; line-height: 1.6; }
.topic-chips { margin-top: 72px; }
.topic-chips h2, .topic-chips h3 { margin: 0 0 18px; font-size: 26px; }
.topic-chips ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.topic-chips a { display: inline-flex; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 15px; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.topic-chips a:hover { background: var(--white); border-color: var(--ink); }
.topic-chips--compact { margin-top: 36px; }
.topic-chips--compact h3 { font: 500 15px/1.3 Outfit, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1023px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } .empty-state { padding: 28px 22px; } .post-list .post-card { grid-template-columns: 110px 1fr; } }

/* Closing band (replaces the empty outline boxes) */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; margin-top: 110px; padding: 40px 44px; border: 1px solid var(--line); border-radius: 31px; background: rgb(249 252 252 / 55%); }
.cta-band h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.2; }
.cta-band p { margin: 0; max-width: 560px; line-height: 1.55; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.empty-outline { display: none; }
@media (max-width: 899px) { .cta-band { grid-template-columns: 1fr; margin-top: 72px; padding: 30px 24px; text-align: center; } .cta-band p { margin-inline: auto; } .cta-band__actions { justify-content: center; } }
@media (max-width: 480px) { .cta-band__actions .btn { width: 100%; } }

/* Source pages: remove fixed heights that left empty gaps */
.faq-section { height: auto; padding-bottom: 120px; }
.faq-section .cta-band { margin-top: 120px; }
.resource-page { min-height: 0; padding-bottom: 120px; }
.resource-topics a { display: inline-flex; align-items: center; gap: 10px; }
.resource-topics a::before { content: none; }
.topic-card img { border-radius: 4px; transition: transform .5s var(--ease); }
.topic-card { overflow: hidden; }
.topic-card:hover .topic-card__label { color: var(--ink); }
@media (max-width: 767px) { .faq-section { padding-bottom: 80px; } .faq-section .cta-band { margin-top: 72px; } .resource-page { padding-bottom: 80px; } .resource-topics a { justify-content: center; } }

/* Contact */
.contact-main { height: auto; padding: 0 0 120px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-intro { margin-bottom: 0; }
.contact-facts { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.contact-facts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--ink); }
.contact-facts .lm-icon { margin-top: 2px; color: var(--muted); }
.contact-panel { width: auto; height: auto; margin: 188px 0 0; padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 899px) { .contact-layout { grid-template-columns: 1fr; gap: 32px; } .contact-panel { width: auto; max-width: none; height: auto; margin: 0; padding: 26px 20px; border-radius: 18px; } .contact-main { padding-bottom: 80px; } }

/* Form */
.lm-form { display: grid; gap: 18px; }
.lm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lm-field label, .calc-label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 15px; font-weight: 500; }
.req { color: #9b4a3c; }
.lm-field input, .lm-field select, .lm-field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: 400 16px/1.4 Outfit, sans-serif; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.lm-field textarea { resize: vertical; min-height: 140px; }
.lm-field input:focus, .lm-field select:focus, .lm-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(44 72 75 / 12%); }
.lm-field input::placeholder, .lm-field textarea::placeholder { color: #9aaeb0; }
.lm-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lm-form__note { flex: 1 1 260px; margin: 0; font-size: 14px; line-height: 1.5; }
@media (max-width: 560px) { .lm-form__row { grid-template-columns: 1fr; } .lm-form__foot .btn { width: 100%; } }

/* Footer */
.site-footer { min-height: 0; padding-bottom: 48px; }
.site-footer__inner { padding-top: 80px; }
.site-footer__columns { grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 40px; min-height: 0; margin-bottom: 56px; }
.site-footer__identity { padding-right: 40px; }
.site-footer__identity img { width: 240px; max-width: 100%; }
.site-footer h2 { margin: 4px 0 22px; font-size: 19px; white-space: normal; color: var(--ink); }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer__list a { line-height: 1.4; transition: color .2s var(--ease); }
.site-footer__address { display: flex; gap: 8px; margin: 20px 0 0; line-height: 1.5; font-size: 15px; }
.site-footer__address .lm-icon { margin-top: 3px; }
.site-footer__disclaimer { padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
.site-footer__copyright { font-size: 14px; }
@media (max-width: 1023px) { .site-footer__columns { grid-template-columns: 1fr 1fr; } .site-footer__identity { grid-column: 1 / -1; border-right: 0; padding-right: 0; } }
@media (max-width: 767px) {
  .site-footer { min-height: 0; }
  .site-footer__inner { padding-top: 56px; }
  .site-footer__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; text-align: left; }
  .site-footer__identity { text-align: center; }
  .site-footer__identity img { width: 240px; }
  .site-footer__identity p { margin: 20px auto 0; }
  .site-footer__col:last-child { grid-column: 1 / -1; }
  .site-footer__disclaimer { margin: 0 0 20px; text-align: left; }
  .site-footer__copyright { text-align: left; }
}

/* Tools hub and cards */
.tools-hub { padding-bottom: 120px; }
.tool-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tool-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--white); border: 1px solid transparent; border-radius: var(--radius-lg); color: var(--muted); transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.tool-card:hover { border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--muted); }
.tool-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--tint); color: var(--ink); }
.tool-card__title { margin-top: 6px; color: var(--ink); font: 400 23px/1.2 Gloock, Georgia, serif; }
.tool-card__text { line-height: 1.55; }
.tool-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--ink); font-weight: 500; }
.trending-news__feed .tool-card { padding: 22px; }
.trending-news__feed .tool-card__title { font-size: 21px; }
@media (max-width: 640px) { .tool-cards { grid-template-columns: 1fr; } }

/* Calculator */
.tool-page { padding-bottom: 120px; }
.page-intro--tool .page-intro__lead { max-width: 760px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.calc-form { display: grid; gap: 20px; }
.calc-form fieldset { margin: 0; padding: 26px; border: 0; border-radius: var(--radius-lg); background: var(--white); }
.calc-form legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 0; color: var(--ink); font: 400 22px/1.2 Gloock, Georgia, serif; }
.calc-form legend + * { clear: both; }
.calc-step { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); font: 500 14px/1 Outfit, sans-serif; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.calc-field { min-width: 0; margin-bottom: 0; }
.calc-form fieldset > .calc-field + .calc-field, .calc-form fieldset > .calc-grid + .calc-field, .calc-form fieldset > .calc-field + .calc-grid, .calc-form fieldset > .calc-grid + .calc-grid, .calc-form fieldset > .calc-seg + .calc-field, .calc-form fieldset > .calc-seg + .calc-grid { margin-top: 18px; }
.calc-field > label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 15px; font-weight: 500; }
.calc-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.calc-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgb(44 72 75 / 12%); }
.calc-input span { padding: 0 12px; color: var(--muted); font-size: 15px; }
.calc-input--money span { padding-right: 0; }
.calc-input input { flex: 1; min-width: 0; padding: 12px; border: 0; background: transparent; color: var(--ink); font: 500 17px/1.3 Outfit, sans-serif; font-variant-numeric: tabular-nums; }
.calc-input input:focus { outline: none; }
.calc-field select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: 400 16px/1.3 Outfit, sans-serif; }
.calc-field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(44 72 75 / 12%); }
.calc-help { margin: 6px 0 0; font-size: 13px; line-height: 1.45; }
.calc-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--tint); }
.calc-seg label { position: relative; cursor: pointer; }
.calc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.calc-seg span { display: block; padding: 9px 14px; border-radius: 9px; color: var(--ink); font-size: 15px; font-weight: 500; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.calc-seg input:checked + span { background: #fff; box-shadow: 0 2px 8px rgb(44 72 75 / 10%); }
.calc-seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.calc-range { display: flex; align-items: center; gap: 14px; height: 48px; }
.calc-range input { flex: 1; accent-color: var(--ink); }
.calc-range output { min-width: 48px; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.calc-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--ink); line-height: 1.45; cursor: pointer; }
.calc-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.calc-check small { display: block; color: var(--muted); font-size: 13px; }
.calc-result { position: sticky; top: 24px; padding: 28px; border-radius: var(--radius-lg); background: var(--ink); color: #c9dcde; }
.calc-result__label { margin: 0 0 6px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.calc-result__value { margin: 0; color: #fff; font: 400 clamp(28px, 3vw, 36px)/1.15 Gloock, Georgia, serif; font-variant-numeric: tabular-nums; }
.calc-result__value--date { font-size: clamp(30px, 3.2vw, 38px); }
.calc-result__sub { margin: 6px 0 0; color: #fff; font-size: 17px; }
.calc-bar { display: flex; height: 8px; margin: 18px 0 6px; overflow: hidden; border-radius: 99px; background: rgb(255 255 255 / 12%); }
.calc-bar span { flex: 1 1 0; transition: flex-grow .3s var(--ease); }
[data-bar="economic"], .dot--economic { background: #9fd0d3; }
[data-bar="pain"], .dot--pain { background: #e7c9a6; }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; }
.calc-breakdown { margin: 18px 0 0; }
.calc-breakdown > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgb(255 255 255 / 10%); font-size: 15px; }
.calc-breakdown > div[hidden] { display: none; }
.calc-breakdown dt { display: flex; align-items: center; }
.calc-breakdown dd { margin: 0; color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.calc-net { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: rgb(255 255 255 / 8%); }
.calc-net p { margin: 0; font-size: 14px; }
.calc-net .calc-net__value { margin-top: 4px; color: #fff; font: 400 26px/1.2 Gloock, Georgia, serif; font-variant-numeric: tabular-nums; }
.calc-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; }
.calc-note:empty { display: none; }
.calc-log { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; }
.calc-log li { padding-left: 14px; border-left: 2px solid rgb(255 255 255 / 25%); }
.calc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.calc-result .btn--ghost { color: #fff; border-color: rgb(255 255 255 / 35%); }
.calc-result .btn--ghost:hover { background: rgb(255 255 255 / 10%); color: #fff; border-color: #fff; }
.calc-result .btn--primary { background: #fff; color: var(--ink); }
.calc-result .btn--primary:hover { background: var(--page); color: var(--ink); }
.tool-disclaimer { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 22px 0 0; font-size: 14px; line-height: 1.5; }
.tool-disclaimer .lm-icon { margin-top: 2px; }
.tool-how, .tool-faq, .tool-related, .related { margin-top: 96px; }
.tool-how h2, .tool-faq h2, .tool-related h2, .related h2 { margin: 0 0 30px; font-size: clamp(28px, 3vw, 36px); }
.tool-how ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; margin: 0; padding: 0; list-style: none; }
.tool-how li { display: flex; gap: 16px; }
.tool-how__num { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); font-weight: 500; }
.tool-how h3 { margin: 4px 0 8px; font-size: 21px; }
.tool-how p { margin: 0; line-height: 1.6; }
.tool-faq dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; }
.tool-faq__item { padding: 22px 0; border-top: 1px solid var(--line); }
.tool-faq dt { margin-bottom: 10px; color: var(--ink); font-size: 18px; font-weight: 500; line-height: 1.35; }
.tool-faq dd { margin: 0; line-height: 1.65; }
@media (max-width: 1023px) { .calc { grid-template-columns: 1fr; } .calc-result { position: static; } }
@media (max-width: 640px) {
  .calc-form fieldset { padding: 20px 18px; }
  .calc-grid, .tool-how ol, .tool-faq dl { grid-template-columns: 1fr; }
  .calc-result { padding: 22px 20px; }
  .tool-how, .tool-faq, .tool-related, .related { margin-top: 64px; }
  .tool-page, .tools-hub, .listing { padding-bottom: 80px; }
}

/* Articles and text pages */
.article__head { padding-top: 188px; }
.article__head h1 { margin: 0 0 16px; font-size: clamp(34px, 4.2vw, 50px); line-height: 1.1; }
.article__meta { display: flex; align-items: center; gap: 8px; margin: 0 0 36px; font-size: 15px; }
.article__media { margin-bottom: 40px; }
.article__media img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); }
.article__body { color: #3d5659; font-size: 18px; line-height: 1.75; }
.article__body h2 { margin: 2em 0 .6em; font-size: 30px; line-height: 1.2; }
.article__body h3 { margin: 1.6em 0 .5em; font-size: 23px; }
.article__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body li { margin-bottom: .4em; }
.article__body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--ink); color: var(--ink); font: 400 22px/1.5 Gloock, Georgia, serif; }
.article__body .takeaways { margin: 1.8em 0; padding: 22px 26px; border-left: 3px solid var(--ink); border-radius: 0 var(--radius) var(--radius) 0; background: var(--white); font-size: 17px; }
.article__body .takeaways p { margin: 0 0 8px; color: var(--ink); }
.article__body .takeaways ul { margin: 0; }
.article__body table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 16px; line-height: 1.5; display: block; overflow-x: auto; }
.article__body thead th { background: var(--ink); color: var(--white); font-weight: 500; text-align: left; }
.article__body th, .article__body td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 140px; }
.article__body tbody tr:nth-child(even) { background: rgb(249 252 252 / 60%); }
.article__body h3 { color: var(--ink); }
.article__note { display: flex; gap: 10px; margin-top: 40px; padding: 18px 20px; border-radius: var(--radius); background: var(--white); font-size: 15px; line-height: 1.5; }
.article__note .lm-icon { margin-top: 2px; }
.text-page { padding-bottom: 120px; }
.text-page .page-intro { margin-bottom: 32px; }
@media (max-width: 899px) { .article__head { padding-top: 132px; } .article__body { font-size: 17px; } .text-page { padding-bottom: 80px; } }

@media (prefers-reduced-motion: reduce) {
  .btn, .post-card__media img, .tool-card, .calc-bar span, .mobile-menu__panel, .mobile-menu__backdrop, .topic-card img { transition: none; }
  .tool-card:hover { transform: none; }
  .post-card:hover .post-card__media img { transform: none; }
}

/* --- Round 3 (2026-10-21): homepage sections and the divorce calculator --- */
.home-section { padding: 96px 0; }
.home-tools { padding-top: 24px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: 40px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.12; }
.section-head p { margin: 0; line-height: 1.6; max-width: 520px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head--row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.section-head--stack { display: block; }
.section-head--stack h2 { margin-bottom: 14px; }
.tool-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.trending-news__feed .tool-cards { grid-template-columns: 1fr; }

.topic-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.topic-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 52px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgb(249 252 252 / 45%); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.topic-tile:hover { background: var(--white); border-color: var(--ink); }
.topic-tile__name { color: var(--ink); font: 400 21px/1.25 Gloock, Georgia, serif; }
.topic-tile__meta { font-size: 14px; }
.topic-tile__arrow { position: absolute; right: 22px; top: 50%; color: var(--ink); transform: translateY(-50%); transition: transform .2s var(--ease); }
.topic-tile:hover .topic-tile__arrow { transform: translate(3px, -50%); }

.home-latest { padding-top: 24px; }

.home-standards { background: var(--ink); color: #c9dcde; }
.home-standards h2, .home-standards h3 { color: #fff; }
.home-standards .eyebrow { color: #9fc2c5; }
.home-standards__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.home-standards .section-head { margin: 0; }
.home-standards .section-head p { color: #c9dcde; }
.standards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.standard { display: grid; grid-template-columns: 48px 1fr; gap: 4px 18px; padding: 22px; border-radius: var(--radius-lg); background: rgb(255 255 255 / 6%); }
.standard__icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgb(255 255 255 / 10%); color: #fff; }
.standard h3 { margin: 2px 0 4px; font-size: 21px; }
.standard p { margin: 0; line-height: 1.55; }
.home-standards__note { grid-column: 2; margin: 0; font-size: 15px; }
.home-standards__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.home-questions__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.home-questions .section-head { margin: 0; }
.home-questions__list { display: grid; gap: 10px; }
.home-q { border-radius: var(--radius); background: rgb(249 252 252 / 55%); border: 1px solid var(--line); }
.home-q[open] { background: var(--white); }
.home-q summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; color: var(--ink); font-size: 18px; cursor: pointer; list-style: none; }
.home-q summary::-webkit-details-marker { display: none; }
.home-q__icon { transition: transform .2s var(--ease); }
.home-q[open] .home-q__icon { transform: rotate(90deg); }
.home-q p { margin: 0; padding: 0 20px 20px; line-height: 1.6; }
.home-cta { padding-bottom: 110px; }
.home-cta .cta-band { margin-top: 0; }

.calc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-option { position: relative; cursor: pointer; }
.calc-option input { position: absolute; opacity: 0; pointer-events: none; }
.calc-option > span { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.calc-option strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 500; }
.calc-option small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.calc-option input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.calc-option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.calc-form fieldset > .calc-options + .calc-check, .calc-form fieldset > .calc-grid + .calc-check { margin-top: 18px; margin-bottom: 0; }

@media (max-width: 1023px) {
  .topic-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-standards__inner, .home-questions__inner { grid-template-columns: 1fr; gap: 32px; }
  .home-standards__note { grid-column: 1; }
}
@media (max-width: 767px) {
  .home-section { padding: 64px 0; }
  .home-tools, .home-latest { padding-top: 16px; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 28px; }
  .topic-tiles { grid-template-columns: 1fr; }
  .calc-options { grid-template-columns: 1fr; }
  .home-cta { padding-bottom: 72px; }
  .home-latest .post-card:nth-child(n+4) { display: none; }
  .topic-tile { padding: 16px 48px 16px 20px; }
}
@media (prefers-reduced-motion: reduce) { .topic-tile, .topic-tile__arrow, .home-q__icon { transition: none; } }
