/* Editorial reference composition, restricted to the article review template. */
html:has(body.lawj-editorial-review) { overflow-x: clip; }
body.lawj-editorial-review { inline-size: 100vw; }
body.lawj-editorial-review .header-row { min-block-size: 64px; }
body.lawj-editorial-review .site-header .managed-top-links > :is(a,button),
body.lawj-editorial-review .site-header .top-menu-branch > summary { font-size: 15px; }
.ed-page {
  --ed-sticky-top: 81px;
  --ed-navy: #0B2545;
  --ed-gold: #D4AF37;
  --ed-line: #e3e9f0;
  --ed-muted: #596b83;
  color: var(--ed-navy);
  background: #fff;
  font: 18px/1.8 Heebo, Assistant, sans-serif;
  padding-bottom: 56px;
}
.ed-page * { box-sizing: border-box; }
.ed-container { width: calc(100% - 64px); max-width: 1240px; margin-inline: auto; }
.ed-page p, .ed-page h2, .ed-page h3, .ed-page figure { margin: 0; }
.ed-page a { color: inherit; }
.ed-page svg { width: 20px; height: 20px; flex-shrink: 0; }
.ed-page :is(a, summary):focus-visible { outline: 3px solid var(--ed-gold); outline-offset: 4px; }
.ed-page h2 { font-size: 30px; line-height: 1.4; font-weight: 800; }
.ed-page h3 { font-size: 23px; line-height: 1.5; font-weight: 700; }
.ed-page :is(h2, h3, #article-sources) { scroll-margin-top: 128px; }

/* Split hero: the photo has real layout dimensions, with a soft edge into the copy. */
/* Full bleed, like the home hero, while the reading container retains balanced gutters. */
.ed-hero { width: 100vw; margin-inline: calc((100% - 100vw) / 2); container-type: inline-size; background: #F4F6F9; border-bottom: 1px solid var(--ed-line); }
.ed-hero-media { position: relative; min-width: 0; min-height: 0; overflow: hidden; grid-area: media; }
/* Crop within the hero; an attachment's intrinsic ratio must not enlarge the grid. */
.ed-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: left top; }
.ed-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 58%, #f4f6f966 78%, #F4F6F9 100%); }
.ed-hero-grid { display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); grid-template-areas: 'copy media'; min-height: 376px; }
.ed-hero-copy { grid-area: copy; min-width: 0; padding: 22px max(24px, calc((100cqw - 1280px) / 2)) 22px 12px; }
.ed-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; font-size: 13px; line-height: 1.6; margin-bottom: 15px; }
.ed-breadcrumbs a { text-decoration: none; }
.ed-breadcrumbs a:hover { text-decoration: underline; }
.ed-hero h1 { font-size: 42px; line-height: 1.2; letter-spacing: -.8px; font-weight: 800; margin: 0 0 12px; }
.ed-hero h1 > span { display: block; }
.ed-subtitle { font-size: 18px; line-height: 1.55; color: #405474; }
.ed-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; margin-top: 20px; font-size: 13px; line-height: 1.6; color: #425575; }
.ed-meta > span { display: flex; align-items: center; gap: 7px; }
.ed-meta > span + span { border-inline-start: 1px solid #cbd5e2; padding-inline-start: 17px; }
.ed-meta svg { width: 16px; height: 16px; }
.ed-draft { color: #806720; }

/* The reference uses a left sidebar; mobile uses a native contents disclosure. */
.ed-mobile-navigation { display: none; }
.admin-bar .ed-page { --ed-sticky-top: calc(81px + var(--wp-admin--admin-bar--height, 32px)); }
.ed-sidebar { display: grid; gap: 16px; align-content: start; align-self: start; min-width: 0; position: sticky; top: var(--ed-sticky-top); }
.ed-sidebar > section { border: 1px solid var(--ed-line); border-radius: 6px; padding: 20px; background: white; }
.ed-sidebar h2 { font-size: 19px; line-height: 1.5; margin: 0 0 16px; }
.ed-contents .ed-small-label { display: none; }
.ed-contents h2 { padding-bottom: 13px; border-bottom: 1px solid var(--ed-line); }
.ed-contents ol { list-style: none; padding: 0; margin: 0; }
.ed-contents a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding-block: 4px; font-size: 14px; line-height: 1.5; text-decoration: none; }
.ed-contents a > span { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; border-radius: 50%; background: #fcf0d3; font-size: 13px; font-weight: 700; }
.ed-contents a:hover { text-decoration: underline; }
.ed-sidebar .ed-sidebar-search { background: linear-gradient(120deg,white,#fffaf0); border-color: #f0e4c8; text-align: center; padding: 26px 22px; }
.ed-sidebar-search-heading { display: flex; gap: 15px; align-items: center; }
.ed-sidebar-search-heading svg { width: 46px; height: 46px; color: #b89028; }
.ed-sidebar-search-heading h2 { margin-bottom: 0; font-size: 21px; }
.ed-sidebar-search p { font-size: 16px; line-height: 1.6; margin: 17px 0 22px; }
.ed-sidebar .lj-button { display: flex; min-width: 0; width: 100%; min-height: 48px; padding-inline: 12px; gap: 18px; }
.ed-related-empty { font-size: 15px; color: var(--ed-muted); }
.ed-related-item { display: flex; align-items: center; gap: 12px; padding-block: 14px; border-top: 1px solid var(--ed-line); text-decoration: none; }
.ed-related-item img { width: 104px; height: 74px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.ed-related-item h3 { font-size: 15px; line-height: 1.5; }
.ed-related-item span { color: #94771e; font-size: 13px; }

/* Open reading surface. Text measure stays at 850px even on a 1920px display. */
.ed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; padding-top: 20px; }
.ed-main { min-width: 0; }
.ed-prose { font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; counter-reset: ed-section; }
.ed-prose p { font-size: 18px; line-height: 1.8; max-width: 850px; margin: 0 auto 20px; }
.ed-chapter { display: flow-root; padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--ed-line); }
.ed-chapter > :is(h2, h3) { max-width: 850px; margin-inline: auto; }
.ed-chapter > h2 { counter-increment: ed-section; font-size: 30px; line-height: 1.4; margin-bottom: 18px; }
.ed-chapter > h2::before { content: counter(ed-section)'. '; }
.ed-chapter > h2::after { content: ''; display: block; width: 24px; height: 2px; margin-top: 8px; background: var(--ed-gold); }
.ed-chapter > h3 { font-size: 23px; margin-block: 26px 12px; }
.ed-chapter:first-of-type > h2 { max-width: none; }
.ed-illustrated-section { display: grid; grid-template-columns: minmax(0, 1fr) 51%; align-items: start; gap: 28px; margin-block: 23px; }
.ed-illustrated-copy h3 { margin-bottom: 12px; }
.ed-illustrated-copy p { max-width: none; }
.ed-page .ed-content-image { width: 100%; max-width: 460px; margin: 0; }
.ed-content-image img { display: block; width: 100%; height: auto; aspect-ratio: 2.4/1; object-fit: cover; object-position: 35% 65%; border-radius: 6px; }
.ed-prose a { color: #15587c; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ed-prose :is(ul, ol) { max-width: 850px; margin: 0 auto 24px; padding-inline-start: 24px; }
.ed-prose li { padding-inline-start: 5px; margin-bottom: 10px; }
.ed-prose li::marker { color: #a58932; }
.ed-prose img { max-width: 100%; height: auto; }
.ed-prose figcaption { font-size: 14px; color: var(--ed-muted); }

/* Five-stage overview: RTL on desktop, a readable vertical path on mobile. */
.ed-process { margin-block: 30px 8px; scroll-margin-top: 128px; }
.ed-process > h3 { margin-bottom: 24px; }
.ed-process > h3::after { content: ''; display: block; width: 24px; height: 2px; margin-top: 8px; background: var(--ed-gold); }
.ed-prose .ed-process-steps { display: grid; grid-template-columns: repeat(var(--ed-step-count, 5), minmax(0, 1fr)); gap: 16px; list-style: none; max-width: none; margin: 0; padding: 0; }
.ed-process-steps li { position: relative; text-align: center; margin: 0; padding: 0; min-width: 0; }
.ed-process-steps li:not(:last-child)::after { content: ''; position: absolute; top: 17px; inset-inline-start: calc(50% + 23px); width: calc(100% - 30px); border-top: 2px dotted #a6b5c7; }
.ed-process-number { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 13px; border-radius: 50%; background: linear-gradient(135deg, #c99b36, #e5b84f); color: white; font-size: 17px; font-weight: 800; }
.ed-process-steps strong { display: block; font-size: 16px; line-height: 1.45; }
.ed-prose .ed-process-steps p { font-size: 14px; line-height: 1.65; color: var(--ed-muted); margin: 8px 0 0; }
@media (max-width: 760px) {
  .ed-prose .ed-process-steps { grid-template-columns: 1fr; gap: 22px; }
  .ed-process-steps li { text-align: start; padding-inline-start: 54px; min-height: 48px; }
  .ed-process-number { position: absolute; inset-inline-start: 0; top: 0; margin: 0; }
  .ed-process-steps li:not(:last-child)::after { top: 43px; bottom: -15px; inset-inline-start: 17px; width: 0; border-top: 0; border-inline-start: 2px dotted #a6b5c7; }
  .ed-process-steps strong { font-size: 17px; }
  .ed-prose .ed-process-steps p { font-size: 15px; margin-top: 5px; }
}

/* One information panel and a checklist drawn from authored content. */
.ed-prose :is(.ed-information, .is-style-lawj-information) { position: relative; background: linear-gradient(110deg, #f7faff, #eaf1f8); border: 1px solid #dde7f1; border-inline-start: 5px solid var(--ed-gold); border-radius: 6px; padding: 12px 65px 12px 18px; margin: 18px auto 0; }
.ed-information > svg { position: absolute; right: 19px; top: 20px; width: 30px; height: 36px; color: #b89028; }
.ed-information strong { display: block; font-size: 20px; line-height: 1.5; margin-bottom: 5px; }
.ed-prose .ed-information p { max-width: none; margin: 0; }
.ed-prose .ed-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; list-style: none; padding: 0; margin: 23px auto; max-width: 1040px; border-block: 1px solid var(--ed-line); }
.ed-prose .ed-checklist li { position: relative; padding: 16px 32px 16px 0; margin: 0; font-size: 18px; line-height: 1.8; border-bottom: 1px solid #edf1f5; }
.ed-prose .ed-checklist li::before { content: '✓'; position: absolute; right: 0; color: #ad8820; font-size: 22px; font-weight: 600; }
.ed-prose :is(.article-legal-note, .is-style-lawj-legal-note) { color: #53687e; font-size: 16px; padding: 16px 0; margin-top: 24px; border-block: 1px solid var(--ed-line); }
.ed-prose blockquote { max-width: 850px; border-inline-start: 3px solid var(--ed-gold); background: #f8fafc; padding: 18px 24px; margin: 25px auto; }
.ed-prose blockquote p:last-child { margin-bottom: 0; }
.ed-prose blockquote cite { font-size: 14px; color: var(--ed-muted); }
.ed-prose .article-table-scroll { max-width: 1040px; overflow-x: auto; border: 1px solid var(--ed-line); border-radius: 6px; margin: 25px auto; }
.ed-prose table { min-width: 480px; width: 100%; border-collapse: collapse; font-size: 18px; line-height: 1.8; }
.ed-prose th { background: #eef3f8; text-align: start; font-weight: 700; }
.ed-prose :is(td, th) { padding: 14px 18px; border-bottom: 1px solid var(--ed-line); }
.ed-prose .is-style-lawj-process { padding: 0; list-style: none; counter-reset: process; }
.ed-prose .is-style-lawj-process > li { counter-increment: process; position: relative; padding: 15px 52px 20px 0; border-bottom: 1px solid var(--ed-line); }
.ed-prose .is-style-lawj-process > li::before { content: counter(process); position: absolute; right: 0; top: 15px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ed-gold); }

/* FAQs use the two-column proportion in the reference, with independent native answers. */
.ed-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; margin: 20px auto; max-width: 1040px; }
.ed-prose .article-faq { margin: 0; border: 1px solid var(--ed-line); border-radius: 5px; padding: 0 18px; background: #fff; }
.ed-prose .article-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; cursor: pointer; list-style: none; min-height: 62px; padding: 14px 0; }
.ed-prose summary::-webkit-details-marker { display: none; }
.ed-prose .article-faq summary::after { content: '⌄'; font-size: 23px; flex-shrink: 0; }
.ed-prose .article-faq[open] summary::after { content: '⌃'; }
.ed-prose .article-faq summary h3 { font-size: 18px; line-height: 1.6; font-weight: 600; margin: 0; }
.ed-prose .article-faq-answer { padding: 0 0 18px; color: #465d78; }
.ed-prose .article-faq-answer p { margin-bottom: 15px; }
.ed-prose .article-faq-answer p:last-child { margin-bottom: 0; }

/* Sources remain in HTML and disclose by legal source type. */
.ed-small-label { display: block; font-size: 13px; line-height: 1.6; color: #94771e; margin-bottom: 7px; }
.ed-sources { max-width: 1040px; margin: 35px auto 0; padding-top: 25px; border-top: 1px solid var(--ed-line); }
.ed-sources > p, .ed-guides > p { font-size: 16px; color: var(--ed-muted); margin: 10px 0 20px; }
.ed-source-groups details { border: 1px solid var(--ed-line); border-radius: 5px; padding: 0 20px; margin: 10px 0; background: white; }
.ed-source-groups summary { display: flex; align-items: center; gap: 12px; min-height: 58px; font-size: 17px; cursor: pointer; list-style: none; padding: 14px 0; }
.ed-source-groups summary::-webkit-details-marker { display: none; }
.ed-source-count { margin-inline-start: auto; color: var(--ed-muted); font-size: 13px; font-weight: 400; white-space: nowrap; }
.ed-source-groups summary svg { width: 16px; }
.ed-source-groups details[open] summary svg { transform: rotate(180deg); }
.ed-source-groups ol { margin: 0; padding: 0 25px 18px 0; }
.ed-source-groups li { font-size: 17px; line-height: 1.8; border-top: 1px solid #edf1f5; padding: 12px 4px; }
.ed-source-groups a { color: #15587c; text-underline-offset: 4px; }
.ed-source-groups small { display: block; font-size: 12px; color: var(--ed-muted); overflow-wrap: anywhere; margin-top: 4px; }

/* Wide closing action, followed by quiet editorial links. */
.ed-next-step { display: flex; align-items: center; gap: 32px; padding: 40px 46px; margin-top: 42px; border: 1px solid #eee0b9; border-radius: 6px; background: linear-gradient(110deg, #fff, #faf5e6); }
.ed-next-symbol svg { width: 58px; height: 58px; color: var(--ed-gold); }
.ed-next-step > div:last-child { flex: 1; }
.ed-next-step h2 { font-size: 32px; }
.ed-next-step p { font-size: 18px; margin: 12px 0 23px; color: #425a77; }
.ed-page .lj-button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; min-width: 250px; padding: 12px 25px; border: 0; border-radius: 5px; background: var(--ed-gold); color: var(--ed-navy); font-size: 17px; font-weight: 700; text-decoration: none; }
.ed-page .lj-button:hover { background: #dfbf5c; }
.ed-guides { max-width: 1040px; margin: 36px auto 0; }
.ed-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ed-guide-card { display: flex; flex-direction: column; text-decoration: none; padding: 19px 0; border-top: 1px solid var(--ed-line); }
.ed-guide-card-top { color: #977921; font-size: 13px; margin-bottom: 10px; }
.ed-guide-card-top svg { display: none; }
.ed-guide-card h3 { font-size: 20px; line-height: 1.6; }
.ed-guide-card p { color: var(--ed-muted); font-size: 14px; line-height: 1.7; margin: 10px 0 20px; }
.ed-guide-action { display: flex; align-items: center; gap: 10px; color: #977921; font-size: 15px; margin-top: auto; }
.ed-guide-action svg { width: 16px; }
.ed-guide-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .ed-container { width: calc(100% - 48px); }
  .ed-hero-grid { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
  .ed-hero h1 { font-size: 36px; }
  .ed-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; }
  .ed-sidebar-search-heading { display: block; }
}
@media (max-width: 760px) {
  .ed-mobile-navigation { display: block; padding-top: 18px; }
  .ed-layout { grid-template-columns: 1fr; }
  .ed-sidebar { display: none; }
  .ed-mobile-contents { display: block; margin: 0; padding: 0 18px; border: 1px solid var(--ed-line); border-radius: 5px; background: white; }
  .ed-mobile-contents summary { display: flex; align-items: center; justify-content: space-between; list-style: none; min-height: 54px; padding: 14px 0; cursor: pointer; font-size: 17px; font-weight: 700; }
  .ed-mobile-contents summary::-webkit-details-marker { display: none; }
  .ed-mobile-contents summary svg { width: 16px; }
  .ed-mobile-contents[open] summary svg { transform: rotate(180deg); }
  .ed-mobile-contents ol { list-style: none; margin: 0; padding: 8px 0 15px; border-top: 1px solid var(--ed-line); }
  .ed-mobile-contents a { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; min-height: 44px; font-size: 16px; line-height: 1.7; text-decoration: none; }
  .ed-mobile-contents a > span { flex-shrink: 0; font-size: 13px; color: #9b7d29; }
  .ed-hero-grid { grid-template-columns: 1fr; grid-template-areas: 'media' 'copy'; }
  .ed-hero-media { height: 185px; }
  .ed-hero-copy { padding: 22px 24px; }
  .ed-hero h1 { font-size: 32px; }
  .ed-meta { gap: 12px; }
  .ed-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .ed-page { padding-bottom: 36px; }
  .ed-container { width: calc(100% - 36px); }
  .ed-hero-media { height: 145px; }
  .ed-hero-media img { object-position: left center; }
  .ed-hero-media::after { background: linear-gradient(180deg, transparent 65%, #fcfdff); }
  .ed-hero-grid { min-height: 0; }
  .ed-hero-copy { padding: 16px 18px 21px; }
  .ed-breadcrumbs { gap: 6px; font-size: 11px; margin-bottom: 13px; }
  .ed-hero h1 { font-size: 30px; line-height: 1.3; letter-spacing: -.3px; }
  .ed-subtitle { font-size: 17px; line-height: 1.7; }
  .ed-meta { font-size: 12px; gap: 10px; margin-top: 15px; }
  .ed-meta > span + span { padding-inline-start: 10px; }
  .ed-meta > .ed-draft { border: 0; width: 100%; padding: 0; }
  .ed-layout { padding-top: 22px; }
  .ed-prose p { margin-bottom: 21px; }
  .ed-chapter { padding-top: 23px; margin-top: 27px; }
  .ed-chapter > h2 { font-size: 27px; }
  .ed-chapter > h3 { font-size: 22px; margin-block: 23px 13px; }
  .ed-illustrated-section { display: flex; flex-direction: column; gap: 0; }
  .ed-page .ed-content-image { order: -1; width: 100%; max-width: none; margin: 0 0 20px; }
  .ed-content-image img { aspect-ratio: 1.8/1; }
  .ed-prose :is(.ed-information, .is-style-lawj-information) { padding: 16px 54px 16px 15px; margin-top: 22px; }
  .ed-information > svg { right: 14px; top: 19px; width: 25px; }
  .ed-information strong { font-size: 20px; }
  .ed-prose .ed-checklist { grid-template-columns: 1fr; }
  .ed-prose .ed-checklist li { padding-block: 15px; }
  .ed-prose .article-faq { padding: 0 15px; }
  .ed-prose .article-faq summary h3 { font-size: 18px; }
  .ed-source-groups details { padding: 0 15px; }
  .ed-source-groups summary { flex-wrap: wrap; gap: 8px; font-size: 17px; }
  .ed-source-count { font-size: 11px; }
  .ed-sources h2, .ed-guides h2 { font-size: 27px; }
  .ed-next-step { display: block; padding: 26px 22px; margin-top: 32px; }
  .ed-next-symbol { display: none; }
  .ed-next-step h2 { font-size: 28px; }
  .ed-next-step p { font-size: 17px; line-height: 1.8; }
  .ed-next-step .lj-button { display: flex; min-width: 0; width: 100%; }
  .ed-guide-grid { grid-template-columns: 1fr; gap: 0; }
  .ed-guide-card { padding-block: 20px; }
  .ed-page :is(h2, h3, #article-sources) { scroll-margin-top: 110px; }
}





