/*
Theme Name: Due Dossier
Theme URI: https://duedossier.com
Description: Evidence-first editorial theme for Due Dossier.
Version: 1.0.0
Author: Due Dossier
*/

:root {
    --dd-ink: #182126;
    --dd-muted: #5f696d;
    --dd-green: #214f48;
    --dd-green-dark: #173c37;
    --dd-rust: #a95f3b;
    --dd-paper: #f6f3ec;
    --dd-card: #ffffff;
    --dd-line: #dcd8cf;
    --dd-soft: #ebe7dd;
    --dd-width: 760px;
    --dd-wide: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--dd-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--dd-green);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--dd-rust);
}

.dd-site-header {
    border-bottom: 1px solid var(--dd-line);
    background: rgba(255,255,255,.98);
}

.dd-header-inner {
    max-width: var(--dd-wide);
    margin: 0 auto;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.dd-brand {
    text-decoration: none;
    color: var(--dd-ink);
    display: inline-flex;
    flex-direction: column;
}

.dd-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.025em;
}

.dd-brand-rule {
    margin-top: 6px;
    color: var(--dd-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dd-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dd-nav a {
    color: var(--dd-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
}

.dd-nav a:hover {
    color: var(--dd-green);
}

.dd-main {
    min-height: 60vh;
}

.dd-content {
    width: min(calc(100% - 48px), var(--dd-width));
    margin: 0 auto;
    padding: 70px 0 90px;
}

.home .dd-content {
    width: min(calc(100% - 48px), 1040px);
}

.dd-content > h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -.04em;
    margin: 0 0 28px;
}

.dd-content h2,
.dd-content h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--dd-ink);
}

.dd-content h2 {
    margin-top: 60px;
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.dd-content h3 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.25;
}

.dd-content p {
    margin: 0 0 24px;
}

.dd-content ul,
.dd-content ol {
    padding-left: 28px;
}

.dd-content li {
    margin-bottom: 10px;
}

.home .dd-content > p:first-child {
    margin-top: 8px;
    max-width: 900px;
}

.home .dd-content > p:first-child strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 78px);
    line-height: 1.03;
    letter-spacing: -.045em;
    color: var(--dd-ink);
}

.home .dd-content > p:nth-child(2) {
    max-width: 760px;
    color: var(--dd-muted);
    font-size: 22px;
    line-height: 1.55;
}

.wp-block-buttons {
    margin: 34px 0 56px;
}

.wp-block-button__link {
    border-radius: 4px !important;
    background: var(--dd-green) !important;
    color: #fff !important;
    padding: 14px 22px !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
}

.wp-block-button__link:hover {
    background: var(--dd-green-dark) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    border: 1px solid var(--dd-green) !important;
    color: var(--dd-green) !important;
}

.wp-block-columns {
    gap: 22px;
    margin: 34px 0 60px;
}

.wp-block-column {
    border: 1px solid var(--dd-line);
    background: var(--dd-paper);
    padding: 26px;
    border-radius: 5px;
}

.wp-block-column h3 {
    margin-top: 0;
}

.wp-block-separator {
    border: 0;
    border-top: 1px solid var(--dd-line);
    margin: 64px 0;
}

.dd-eyebrow {
    margin-bottom: 14px;
    color: var(--dd-rust);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dd-page-title {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 6vw, 60px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.dd-breadcrumbs {
    margin-bottom: 30px;
    color: var(--dd-muted);
    font-size: 13px;
}

.dd-breadcrumbs a {
    color: var(--dd-muted);
    text-decoration: none;
}

.dd-site-footer {
    background: var(--dd-paper);
    border-top: 1px solid var(--dd-line);
}

.dd-footer-inner {
    max-width: var(--dd-wide);
    margin: 0 auto;
    padding: 50px 28px;
}

.dd-footer-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
}

.dd-footer-copy {
    margin-top: 8px;
    max-width: 680px;
    color: var(--dd-muted);
    font-size: 14px;
}

.dd-footer-links {
    margin-top: 28px;
    display: flex;
    gap: 18px 24px;
    flex-wrap: wrap;
}

.dd-footer-links a {
    color: var(--dd-ink);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.dd-footer-legal {
    border-top: 1px solid var(--dd-line);
    margin-top: 34px;
    padding-top: 22px;
    color: var(--dd-muted);
    font-size: 12px;
}

@media (max-width: 800px) {
    body {
        font-size: 17px;
    }

    .dd-header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 22px;
    }

    .dd-nav ul {
        gap: 12px 18px;
    }

    .dd-content {
        width: min(calc(100% - 36px), var(--dd-width));
        padding-top: 48px;
    }

    .home .dd-content {
        width: min(calc(100% - 36px), 1040px);
    }

    .wp-block-columns {
        display: block;
    }

    .wp-block-column {
        margin-bottom: 16px;
    }
}

/* ==============================================================
   Due Dossier Build 03
   Homepage decision-intelligence presentation
   ============================================================== */

.home .dd-content {
    width: min(calc(100% - 56px), 1180px);
    padding-top: 0;
}

.dd-hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 80px;
    align-items: center;
    padding: 80px 0 76px;
}

.dd-kicker {
    margin-bottom: 18px;
    color: var(--dd-rust);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.dd-hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 5.5vw, 74px);
    line-height: .99;
    letter-spacing: -.045em;
}

.dd-hero-lead {
    max-width: 690px;
    margin: 30px 0 0;
    color: var(--dd-muted);
    font-size: 21px;
    line-height: 1.55;
}

.dd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.dd-primary-action,
.dd-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.dd-primary-action {
    background: var(--dd-green);
    color: #fff;
}

.dd-primary-action:hover {
    background: var(--dd-green-dark);
    color: #fff;
}

.dd-secondary-action {
    border: 1px solid var(--dd-line);
    color: var(--dd-ink);
    background: #fff;
}

.dd-secondary-action:hover {
    border-color: var(--dd-green);
    color: var(--dd-green);
}

.dd-evidence-card {
    position: relative;
    background: var(--dd-paper);
    border: 1px solid var(--dd-line);
    border-radius: 7px;
    padding: 30px 30px 26px;
    box-shadow: 0 16px 50px rgba(24,33,38,.06);
}

.dd-evidence-card:before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-bottom: 24px;
    background: var(--dd-rust);
}

.dd-evidence-label {
    margin-bottom: 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
}

.dd-evidence-row {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid var(--dd-line);
}

.dd-status {
    width: 9px;
    height: 9px;
    margin-top: 7px;
    border-radius: 50%;
}

.dd-established {
    background: #3c7668;
}

.dd-conflicting {
    background: #b46b43;
}

.dd-unknown {
    background: #7b8082;
}

.dd-action {
    background: #263f58;
}

.dd-evidence-row strong {
    display: block;
    color: var(--dd-ink);
    font-size: 15px;
}

.dd-evidence-row small {
    display: block;
    margin-top: 2px;
    color: var(--dd-muted);
    font-size: 13px;
    line-height: 1.45;
}

.dd-evidence-rule {
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--dd-line);
    color: var(--dd-green);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .04em;
}

.dd-principles {
    border-top: 1px solid var(--dd-line);
    padding: 80px 0;
}

.dd-section-intro {
    max-width: 720px;
}

.dd-section-intro h2,
.dd-jurisdiction-band h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.07;
    letter-spacing: -.035em;
}

.dd-section-intro p {
    margin-top: 20px;
    color: var(--dd-muted);
    font-size: 18px;
}

.dd-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 48px;
    background: var(--dd-line);
    border: 1px solid var(--dd-line);
}

.dd-principle {
    background: #fff;
    padding: 32px;
}

.dd-number {
    color: var(--dd-rust);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.dd-principle h3 {
    margin: 16px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.dd-principle p {
    margin: 0;
    color: var(--dd-muted);
    font-size: 15px;
}

.dd-jurisdiction-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin: 0 calc(50% - 50vw);
    padding: 76px max(28px, calc((100vw - 1180px) / 2));
    background: var(--dd-green);
    color: #fff;
}

.dd-jurisdiction-band .dd-kicker {
    color: #d9b29b;
}

.dd-jurisdiction-band h2 {
    color: #fff;
}

.dd-jurisdiction-copy p {
    margin: 0 0 20px;
    color: rgba(255,255,255,.78);
    font-size: 18px;
}

.dd-jurisdiction-copy a {
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.dd-trust-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    padding: 56px 0;
    border-bottom: 1px solid var(--dd-line);
}

.dd-trust-band strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.dd-trust-band span {
    color: var(--dd-muted);
    font-size: 13px;
}

.dd-home-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding: 36px 0 0;
}

.dd-home-links a {
    color: var(--dd-muted);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.dd-home-links a:hover {
    color: var(--dd-green);
}

@media (max-width: 900px) {

    .dd-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 60px 0;
    }

    .dd-evidence-card {
        max-width: 560px;
    }

    .dd-principle-grid {
        grid-template-columns: 1fr;
    }

    .dd-jurisdiction-band {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .dd-trust-band {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {

    .home .dd-content {
        width: min(calc(100% - 36px), 1180px);
    }

    .dd-hero h1 {
        font-size: 48px;
    }

    .dd-hero-lead {
        font-size: 18px;
    }

    .dd-evidence-card {
        padding: 24px;
    }

    .dd-principle {
        padding: 26px;
    }
}

/* ==============================================================
   Due Dossier Build 03A
   Restore original editorial hero treatment
   ============================================================== */

.dd-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding: 86px 0 70px;
}

.dd-hero-copy {
    max-width: 1000px;
}

.dd-hero h1 {
    max-width: 980px;
    font-size: clamp(68px, 7.4vw, 104px);
    line-height: .97;
    letter-spacing: -.05em;
}

.dd-hero-lead {
    max-width: 820px;
    font-size: 22px;
    line-height: 1.6;
}

.dd-evidence-card {
    max-width: 820px;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .dd-hero {
        gap: 38px;
        padding: 62px 0;
    }

    .dd-hero h1 {
        font-size: clamp(56px, 10vw, 76px);
    }
}

@media (max-width: 600px) {
    .dd-hero h1 {
        font-size: 50px;
    }
}

/* ==============================================================
   Due Dossier Presentation 01
   Hero headline — restore original editorial treatment
   ============================================================== */

.dd-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 6.2vw, 76px);
    line-height: 1.01;
    letter-spacing: -.045em;
    font-weight: 700;
    max-width: 900px;
}

@media (max-width: 900px) {
    .dd-hero h1 {
        font-size: clamp(52px, 9vw, 68px);
    }
}

@media (max-width: 600px) {
    .dd-hero h1 {
        font-size: 46px;
        line-height: 1.03;
    }
}


/* =====================================================================
   DUE DOSSIER — PRESENTATION SWEEP 01
   Canonical broad presentation override
   ===================================================================== */

:root {
    --dd-ink: #182126;
    --dd-muted: #5f696d;
    --dd-green: #214f48;
    --dd-rust: #a95f3b;
    --dd-paper: #f6f3ec;
    --dd-white: #ffffff;
    --dd-line: rgba(24, 33, 38, .14);
    --dd-soft-line: rgba(24, 33, 38, .09);
    --dd-soft-green: rgba(33, 79, 72, .075);
    --dd-soft-rust: rgba(169, 95, 59, .07);

    --dd-reading: 760px;
    --dd-wide: 1120px;
    --dd-radius: 16px;
    --dd-small-radius: 9px;
}


/* ---------------------------------------------------------------------
   GLOBAL BASE
   --------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--dd-paper);
    color: var(--dd-ink);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
    font-size: 17px;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

main {
    display: block;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

img {
    border-radius: var(--dd-small-radius);
}

::selection {
    background: rgba(33, 79, 72, .18);
}


/* ---------------------------------------------------------------------
   LINKS
   --------------------------------------------------------------------- */

main a,
.entry-content a,
.page-content a {
    color: var(--dd-green);
    text-decoration-thickness: 1px;
    text-underline-offset: .16em;
}

main a:hover,
.entry-content a:hover,
.page-content a:hover {
    color: var(--dd-rust);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(169, 95, 59, .55);
    outline-offset: 3px;
}


/* ---------------------------------------------------------------------
   SITE HEADER / NAVIGATION
   --------------------------------------------------------------------- */

.site-header,
.dd-header,
header.site-header {
    border-bottom: 1px solid var(--dd-soft-line);
    background: rgba(246, 243, 236, .97);
}

.site-header .site-branding,
.dd-header .site-branding,
.dd-header-inner,
.site-header-inner {
    max-width: var(--dd-wide);
    margin-inline: auto;
}

.site-title,
.dd-logo,
.dd-brand {
    letter-spacing: -.035em;
}

.site-title a,
.dd-logo a,
.dd-brand a {
    color: var(--dd-ink);
    text-decoration: none;
}

.site-navigation,
.main-navigation,
.dd-nav {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
}

.site-navigation a,
.main-navigation a,
.dd-nav a {
    color: var(--dd-ink);
    text-decoration: none;
}

.site-navigation a:hover,
.main-navigation a:hover,
.dd-nav a:hover {
    color: var(--dd-green);
}


/* ---------------------------------------------------------------------
   HOMEPAGE HERO
   --------------------------------------------------------------------- */

.dd-hero {
    max-width: var(--dd-wide);
    margin-inline: auto;
    padding-top: clamp(64px, 8vw, 112px);
    padding-bottom: clamp(62px, 7vw, 98px);
    grid-template-columns: 1fr;
}

.dd-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(64px, 6.7vw, 90px);
    line-height: .995;
    letter-spacing: -.048em;
    font-weight: 700;
    max-width: 960px;
    margin-top: 0;
    margin-bottom: 28px;
    text-wrap: balance;
    color: var(--dd-ink);
}

.dd-hero p {
    max-width: 720px;
    font-size: clamp(19px, 1.55vw, 22px);
    line-height: 1.56;
    color: var(--dd-muted);
}

.dd-kicker,
.eyebrow,
[class*="kicker"] {
    color: var(--dd-rust);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------------------
   BUTTONS / CTAs
   --------------------------------------------------------------------- */

.dd-btn,
.dd-button,
.wp-element-button,
a.button,
button,
input[type="submit"] {
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    padding: 13px 20px;
    transition:
        transform .15s ease,
        background-color .15s ease,
        border-color .15s ease;
}

.dd-btn:hover,
.dd-button:hover,
.wp-element-button:hover,
a.button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
}


/* ---------------------------------------------------------------------
   SECTION RHYTHM
   --------------------------------------------------------------------- */

.dd-section,
section.dd-section,
.dd-band,
.dd-trust-band,
.dd-nj-band {
    padding-top: clamp(58px, 7vw, 92px);
    padding-bottom: clamp(58px, 7vw, 92px);
}

.dd-section + .dd-section,
.dd-band + .dd-section,
.dd-section + .dd-band {
    border-top: 1px solid var(--dd-soft-line);
}


/* ---------------------------------------------------------------------
   PAGE / ARTICLE HEADERS
   --------------------------------------------------------------------- */

.entry-header,
.page-header,
.dd-page-header {
    max-width: 920px;
    margin-inline: auto;
    padding-top: clamp(54px, 7vw, 90px);
    padding-bottom: clamp(28px, 4vw, 48px);
}

.entry-title,
.page-title,
.dd-page-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -.04em;
    color: var(--dd-ink);
    text-wrap: balance;
}


/* ---------------------------------------------------------------------
   LONG-FORM READING EXPERIENCE
   --------------------------------------------------------------------- */

.entry-content,
.page-content,
.dd-content {
    color: var(--dd-ink);
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > hr,
.page-content > p,
.page-content > ul,
.page-content > ol,
.page-content > blockquote,
.page-content > h2,
.page-content > h3,
.page-content > h4,
.dd-content > p,
.dd-content > ul,
.dd-content > ol,
.dd-content > h2,
.dd-content > h3 {
    max-width: var(--dd-reading);
    margin-left: auto;
    margin-right: auto;
}

.entry-content > p,
.page-content > p,
.dd-content > p {
    margin-top: 0;
    margin-bottom: 1.35em;
}

.entry-content h2,
.page-content h2,
.dd-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.13;
    letter-spacing: -.025em;
    margin-top: 2.05em;
    margin-bottom: .65em;
    color: var(--dd-ink);
    text-wrap: balance;
}

.entry-content h3,
.page-content h3,
.dd-content h3 {
    font-size: clamp(22px, 2.1vw, 28px);
    line-height: 1.24;
    letter-spacing: -.018em;
    margin-top: 1.75em;
    margin-bottom: .55em;
}

.entry-content h4,
.page-content h4 {
    font-size: 18px;
    line-height: 1.35;
    margin-top: 1.6em;
    margin-bottom: .5em;
}

.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
    padding-left: 1.45em;
    margin-top: .4em;
    margin-bottom: 1.55em;
}

.entry-content li,
.page-content li {
    margin-bottom: .48em;
}

.entry-content strong,
.page-content strong {
    color: var(--dd-ink);
}


/* ---------------------------------------------------------------------
   BLOCKQUOTES / EVIDENCE NOTES / CALLOUTS
   --------------------------------------------------------------------- */

blockquote {
    border-left: 3px solid var(--dd-rust);
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 6px 0 6px 24px;
    color: var(--dd-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.55;
}

.dd-card,
.dd-evidence-card,
.dd-evidence,
.dd-principle,
.dd-source-box,
.dd-callout,
.dd-related {
    background: rgba(255,255,255,.48);
    border: 1px solid var(--dd-line);
    border-radius: var(--dd-radius);
    box-shadow: none;
}

.dd-card,
.dd-evidence-card,
.dd-evidence,
.dd-principle,
.dd-source-box,
.dd-callout,
.dd-related {
    padding: clamp(20px, 2.6vw, 30px);
}


/* ---------------------------------------------------------------------
   CARD GRIDS / NJ HUB
   --------------------------------------------------------------------- */

.dd-grid,
.dd-card-grid,
.dd-guide-grid,
.dd-principles {
    gap: clamp(16px, 2vw, 24px);
}

.dd-card h2,
.dd-card h3,
.dd-guide-card h2,
.dd-guide-card h3 {
    margin-top: 0;
    line-height: 1.18;
}

.dd-card p:last-child,
.dd-guide-card p:last-child,
.dd-evidence-card p:last-child {
    margin-bottom: 0;
}

.dd-card a,
.dd-guide-card a {
    text-decoration-thickness: 1px;
    text-underline-offset: .16em;
}


/* ---------------------------------------------------------------------
   EVIDENCE-STATE PRESENTATION
   --------------------------------------------------------------------- */

.dd-evidence-card,
.dd-evidence {
    background: var(--dd-soft-green);
}

.dd-evidence-card strong,
.dd-evidence strong {
    color: var(--dd-green);
}

.dd-trust-band,
.dd-nj-band {
    border-top: 1px solid var(--dd-line);
    border-bottom: 1px solid var(--dd-line);
}


/* ---------------------------------------------------------------------
   TABLES
   --------------------------------------------------------------------- */

.entry-content table,
.page-content table,
.dd-content table {
    width: min(100%, 960px);
    margin: 30px auto;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255,255,255,.35);
}

.entry-content th,
.entry-content td,
.page-content th,
.page-content td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--dd-line);
    text-align: left;
    vertical-align: top;
}

.entry-content th,
.page-content th {
    color: var(--dd-ink);
    font-size: 13px;
    letter-spacing: .025em;
    font-weight: 750;
}


/* ---------------------------------------------------------------------
   HORIZONTAL RULE / CONTENT SEPARATION
   --------------------------------------------------------------------- */

hr {
    border: 0;
    border-top: 1px solid var(--dd-line);
    margin-top: 48px;
    margin-bottom: 48px;
}


/* ---------------------------------------------------------------------
   RELATED GUIDES
   --------------------------------------------------------------------- */

.entry-content h2:last-of-type,
.page-content h2:last-of-type {
    scroll-margin-top: 30px;
}

.dd-related {
    max-width: 900px;
    margin: 46px auto 0;
}

.dd-related ul {
    margin-bottom: 0;
}


/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */

.site-footer,
.dd-footer,
footer.site-footer {
    margin-top: clamp(70px, 8vw, 110px);
    border-top: 1px solid var(--dd-line);
    color: var(--dd-muted);
    font-size: 14px;
}

.site-footer a,
.dd-footer a {
    color: var(--dd-ink);
    text-decoration-color: rgba(24,33,38,.3);
}

.site-footer a:hover,
.dd-footer a:hover {
    color: var(--dd-green);
}


/* ---------------------------------------------------------------------
   FORM ELEMENTS — FUTURE PROOFING CONTACT / PRODUCT BRIDGE
   --------------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
textarea,
select {
    width: 100%;
    max-width: 680px;
    border: 1px solid var(--dd-line);
    border-radius: 9px;
    background: rgba(255,255,255,.55);
    color: var(--dd-ink);
    font: inherit;
    padding: 12px 14px;
}


/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */

@media (max-width: 900px) {

    body {
        font-size: 16.5px;
    }

    .dd-hero {
        padding-top: 64px;
        padding-bottom: 68px;
    }

    .dd-hero h1 {
        font-size: clamp(56px, 9vw, 72px);
        max-width: 820px;
    }

    .entry-title,
    .page-title,
    .dd-page-title {
        font-size: clamp(40px, 7vw, 58px);
    }

    .site-navigation,
    .main-navigation,
    .dd-nav {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}


@media (max-width: 640px) {

    body {
        font-size: 16px;
        line-height: 1.65;
    }

    .dd-hero {
        padding-top: 48px;
        padding-bottom: 54px;
    }

    .dd-hero h1 {
        font-size: clamp(44px, 13vw, 56px);
        line-height: 1.015;
        letter-spacing: -.043em;
        margin-bottom: 22px;
    }

    .dd-hero p {
        font-size: 18px;
    }

    .entry-header,
    .page-header,
    .dd-page-header {
        padding-top: 44px;
        padding-bottom: 24px;
    }

    .entry-title,
    .page-title,
    .dd-page-title {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.06;
    }

    .entry-content h2,
    .page-content h2,
    .dd-content h2 {
        font-size: 30px;
    }

    .entry-content h3,
    .page-content h3,
    .dd-content h3 {
        font-size: 23px;
    }

    blockquote {
        font-size: 19px;
        padding-left: 18px;
    }

    .dd-card,
    .dd-evidence-card,
    .dd-evidence,
    .dd-principle,
    .dd-source-box,
    .dd-callout,
    .dd-related {
        border-radius: 12px;
        padding: 19px;
    }
}


/* ---------------------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =====================================================================
   END DUE DOSSIER — PRESENTATION SWEEP 01
   ===================================================================== */



/* =====================================================================
   DUE DOSSIER — PRESENTATION SWEEP 02
   Exact-selector visual correction
   ===================================================================== */


/* ---------------------------------------------------------------------
   HOME — HERO
   --------------------------------------------------------------------- */

body.home .dd-content .dd-hero {
    max-width: 1120px;
    margin-inline: auto;
    padding-top: clamp(70px, 8vw, 108px);
    padding-bottom: clamp(64px, 7vw, 92px);
}

body.home .dd-hero .dd-hero-copy {
    width: 100%;
    max-width: none;
}

body.home .dd-hero .dd-hero-copy > .dd-kicker {
    margin-bottom: 30px;
    color: #a95f3b;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.home .dd-hero .dd-hero-copy > h1 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(60px, 5.5vw, 80px) !important;
    font-weight: 700 !important;
    line-height: 1.005 !important;
    letter-spacing: -.047em !important;

    max-width: 980px;
    margin: 0 0 30px;

    color: #182126;
    text-wrap: balance;
}

body.home .dd-hero .dd-hero-copy > p {
    max-width: 860px;
    margin-bottom: 28px;

    color: #5f696d;
    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.62;
}


/* ---------------------------------------------------------------------
   HOME — HERO ACTIONS
   --------------------------------------------------------------------- */

body.home .dd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    margin-top: 28px;
    margin-bottom: 42px;
}

body.home .dd-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 11px 18px;

    border: 1px solid #214f48;
    border-radius: 999px;

    color: #214f48;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;

    text-decoration: none;
}

body.home .dd-hero-actions a:first-child {
    background: #214f48;
    color: #fff;
}

body.home .dd-hero-actions a:hover {
    transform: translateY(-1px);
}


/* ---------------------------------------------------------------------
   HOME — EVIDENCE MODEL
   --------------------------------------------------------------------- */

body.home .dd-evidence-label {
    max-width: 760px;

    margin-top: 6px;
    padding-top: 26px;
    padding-bottom: 14px;

    border-top: 1px solid rgba(24,33,38,.14);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.02em;

    color: #182126;
}

body.home .dd-evidence-row {
    display: grid;
    grid-template-columns: 12px 125px minmax(0,1fr);
    align-items: baseline;
    column-gap: 12px;

    max-width: 760px;

    padding: 10px 0;

    border-bottom: 1px solid rgba(24,33,38,.08);

    color: #5f696d;
    font-size: 16px;
    line-height: 1.45;
}

body.home .dd-evidence-row strong {
    color: #182126;
    font-weight: 750;
}

body.home .dd-status {
    display: inline-block;

    width: 9px;
    height: 9px;

    border-radius: 50%;
}

body.home .dd-status.dd-established {
    background: #214f48;
}

body.home .dd-status.dd-conflicting {
    background: #a95f3b;
}

body.home .dd-status.dd-unknown {
    background: #8c9497;
}

body.home .dd-evidence-rule {
    max-width: 760px;

    padding-top: 15px;

    color: #5f696d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.45;
    font-style: italic;
}


/* ---------------------------------------------------------------------
   HOME — METHOD SECTION
   --------------------------------------------------------------------- */

body.home .dd-principles {
    max-width: 1120px;
    margin-inline: auto;

    padding-top: clamp(62px, 7vw, 88px);
    padding-bottom: clamp(62px, 7vw, 88px);

    border-top: 1px solid rgba(24,33,38,.12);
}

body.home .dd-section-intro {
    max-width: 880px;
}

body.home .dd-section-intro .dd-kicker {
    margin-bottom: 16px;
}

body.home .dd-section-intro h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 4.2vw, 56px);
    line-height: 1.05;
    letter-spacing: -.035em;

    text-wrap: balance;
}

body.home .dd-section-intro p {
    max-width: 820px;
    margin-top: 20px;

    color: #5f696d;
    font-size: 18px;
}

body.home .dd-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;

    margin-top: 38px;
}

body.home .dd-principle {
    min-height: 240px;

    padding: 26px 24px;

    border: 1px solid rgba(24,33,38,.13);
    border-radius: 14px;

    background: rgba(255,255,255,.42);
}

body.home .dd-principle .dd-number {
    margin-bottom: 34px;

    color: #a95f3b;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .12em;
}

body.home .dd-principle h3 {
    margin: 0 0 14px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.13;
    letter-spacing: -.025em;
}

body.home .dd-principle p {
    margin: 0;

    color: #5f696d;
    font-size: 16px;
    line-height: 1.58;
}


/* ---------------------------------------------------------------------
   HOME — NEW JERSEY SECTION
   --------------------------------------------------------------------- */

body.home .dd-jurisdiction-band {
    max-width: 1120px;
    margin-inline: auto;

    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr);
    gap: clamp(42px, 6vw, 80px);
    align-items: start;

    padding-top: clamp(64px, 7vw, 92px);
    padding-bottom: clamp(64px, 7vw, 92px);

    border-top: 1px solid rgba(24,33,38,.12);
}

body.home .dd-jurisdiction-band h2 {
    margin-top: 16px;
    margin-bottom: 20px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4.2vw, 58px);
    line-height: 1.05;
    letter-spacing: -.035em;

    text-wrap: balance;
}

body.home .dd-jurisdiction-band p {
    color: #5f696d;
    font-size: 18px;
    line-height: 1.6;
}

body.home .dd-jurisdiction-copy {
    padding: 26px;

    border: 1px solid rgba(24,33,38,.13);
    border-radius: 14px;

    background: rgba(33,79,72,.055);
}

body.home .dd-jurisdiction-copy a {
    font-weight: 700;
}


/* ---------------------------------------------------------------------
   HOME — TRUST BAND
   --------------------------------------------------------------------- */

body.home .dd-trust-band {
    max-width: 1120px;
    margin-inline: auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;

    padding: 26px 0;

    border-top: 1px solid rgba(24,33,38,.12);
    border-bottom: 1px solid rgba(24,33,38,.12);
}

body.home .dd-trust-band span {
    display: block;

    padding: 16px 18px;

    border-left: 2px solid #214f48;

    color: #5f696d;
    font-size: 15px;
    line-height: 1.45;
}

body.home .dd-home-links {
    max-width: 1120px;
    margin-inline: auto;

    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;

    padding-top: 25px;
    padding-bottom: 18px;
}

body.home .dd-home-links a {
    font-size: 15px;
    font-weight: 650;
}


/* ---------------------------------------------------------------------
   INTERNAL PAGES — PAGE TITLE
   --------------------------------------------------------------------- */

body:not(.home) .dd-content > .dd-eyebrow {
    margin-bottom: 24px;
}

body:not(.home) .dd-content > .dd-page-title {
    max-width: 1010px;

    margin-top: 0;
    margin-bottom: 42px;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(48px, 4.7vw, 64px) !important;
    line-height: 1.035 !important;
    letter-spacing: -.04em !important;
    font-weight: 700 !important;

    text-wrap: balance;
}


/* ---------------------------------------------------------------------
   NJ ARTICLES — QUICK ANSWER
   Overrides Gutenberg .has-large-font-size intentionally
   --------------------------------------------------------------------- */

body.page-child .dd-content > p.has-large-font-size.wp-block-paragraph {
    max-width: 900px;

    margin-top: 0 !important;
    margin-bottom: 58px !important;

    padding: 24px 28px !important;

    border: 1px solid rgba(33,79,72,.20);
    border-left: 4px solid #214f48;
    border-radius: 12px;

    background: rgba(33,79,72,.055);

    color: #283236;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size: 21px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

body.page-child .dd-content > p.has-large-font-size.wp-block-paragraph strong {
    color: #182126;
    font-weight: 800;
}


/* ---------------------------------------------------------------------
   INTERNAL ARTICLE HEADING REFINEMENT
   --------------------------------------------------------------------- */

body.page-child .dd-content > h2.wp-block-heading {
    margin-top: 1.9em;
    margin-bottom: .65em;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3vw, 44px);
    line-height: 1.09;
    letter-spacing: -.03em;

    text-wrap: balance;
}

body.page-child .dd-content > h3.wp-block-heading {
    margin-top: 1.75em;
    margin-bottom: .65em;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.2vw, 31px);
    line-height: 1.16;
    letter-spacing: -.021em;

    text-wrap: balance;
}


/* ---------------------------------------------------------------------
   ARTICLE TABLE
   --------------------------------------------------------------------- */

body.page-child .dd-content table {
    border: 1px solid rgba(24,33,38,.22);
    border-radius: 8px;
    overflow: hidden;

    background: rgba(255,255,255,.35);
}

body.page-child .dd-content table th {
    background: rgba(33,79,72,.055);
}

body.page-child .dd-content table th,
body.page-child .dd-content table td {
    border-right: 1px solid rgba(24,33,38,.20);
}

body.page-child .dd-content table th:last-child,
body.page-child .dd-content table td:last-child {
    border-right: 0;
}


/* ---------------------------------------------------------------------
   SOURCE / RELATED LINK LISTS
   --------------------------------------------------------------------- */

body.page-child .dd-content ul {
    line-height: 1.58;
}

body.page-child .dd-content li > a {
    text-underline-offset: .17em;
}


/* ---------------------------------------------------------------------
   RESPONSIVE — TABLET
   --------------------------------------------------------------------- */

@media (max-width: 900px) {

    body.home .dd-hero .dd-hero-copy > h1 {
        font-size: clamp(54px, 8vw, 70px) !important;
    }

    body.home .dd-principle-grid {
        grid-template-columns: 1fr;
    }

    body.home .dd-principle {
        min-height: 0;
    }

    body.home .dd-principle .dd-number {
        margin-bottom: 18px;
    }

    body.home .dd-jurisdiction-band {
        grid-template-columns: 1fr;
    }

    body.home .dd-trust-band {
        grid-template-columns: 1fr;
    }

    body:not(.home) .dd-content > .dd-page-title {
        font-size: clamp(44px, 7vw, 56px) !important;
    }
}


/* ---------------------------------------------------------------------
   RESPONSIVE — MOBILE
   --------------------------------------------------------------------- */

@media (max-width: 640px) {

    body.home .dd-content .dd-hero {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    body.home .dd-hero .dd-hero-copy > .dd-kicker {
        margin-bottom: 20px;
    }

    body.home .dd-hero .dd-hero-copy > h1 {
        font-size: clamp(44px, 12vw, 54px) !important;
        line-height: 1.015 !important;
        margin-bottom: 22px;
    }

    body.home .dd-hero-actions {
        align-items: stretch;
    }

    body.home .dd-hero-actions a {
        width: 100%;
    }

    body.home .dd-evidence-row {
        grid-template-columns: 10px 100px minmax(0,1fr);
        column-gap: 9px;

        font-size: 14px;
    }

    body.home .dd-evidence-label {
        font-size: 22px;
    }

    body.home .dd-principle {
        padding: 22px 20px;
    }

    body.home .dd-jurisdiction-copy {
        padding: 21px;
    }

    body:not(.home) .dd-content > .dd-page-title {
        font-size: clamp(37px, 10vw, 47px) !important;
        line-height: 1.05 !important;
        margin-bottom: 30px;
    }

    body.page-child .dd-content > p.has-large-font-size.wp-block-paragraph {
        padding: 19px 20px !important;

        font-size: 18px !important;
        line-height: 1.55 !important;

        margin-bottom: 42px !important;
    }

    body.page-child .dd-content > h2.wp-block-heading {
        font-size: 31px;
    }

    body.page-child .dd-content > h3.wp-block-heading {
        font-size: 24px;
    }
}


/* =====================================================================
   END DUE DOSSIER — PRESENTATION SWEEP 02
   ===================================================================== */


/* ==============================================================
   DUE DOSSIER — PRESENTATION MICRO 03
   Article title proportion only
   ============================================================== */

body:not(.home) .dd-content > .dd-page-title {
    max-width: 940px;
    font-size: clamp(46px, 4.15vw, 58px) !important;
    line-height: 1.045 !important;
    letter-spacing: -.038em !important;
    margin-bottom: 36px;
}

@media (max-width: 900px) {
    body:not(.home) .dd-content > .dd-page-title {
        font-size: clamp(42px, 6.5vw, 52px) !important;
    }
}

@media (max-width: 640px) {
    body:not(.home) .dd-content > .dd-page-title {
        font-size: clamp(35px, 9vw, 44px) !important;
        line-height: 1.06 !important;
    }
}


/* ==============================================================
   DUE DOSSIER — LOGO INSTALL 01
   Concept 02 layered DD monogram
   ============================================================== */

.dd-site-header .dd-brand.dd-brand-image {
    display: block;
    flex: 0 0 auto;

    width: 285px;
    max-width: none;
    aspect-ratio: 3.9 / 1;

    overflow: hidden;

    margin: 0;
    padding: 0;

    text-decoration: none;
}

.dd-site-header .dd-brand-logo-image {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: 50% 50%;

    border: 0;
    border-radius: 0;
}

@media (max-width: 760px) {

    .dd-site-header .dd-brand.dd-brand-image {
        width: 235px;
    }

}

@media (max-width: 520px) {

    .dd-site-header .dd-brand.dd-brand-image {
        width: 205px;
    }

}

/* ==============================================================
   END DUE DOSSIER — LOGO INSTALL 01
   ============================================================== */


/* ==============================================================
   DUE DOSSIER — TRUST / LEGAL LAUNCH SWEEP 01
   ============================================================== */

.dd-footer-nav,
.dd-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 24px;
}

.dd-footer-nav a,
.dd-footer-legal a {
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.dd-footer-legal {
    padding-top: 18px;
    border-top: 1px solid rgba(24,33,38,.10);
}

.dd-footer-boundary {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(24,33,38,.12);
    color: #6d7578;
    font-size: 13px;
    line-height: 1.55;
}

body.page-id-3 .dd-content,
body.page-id-22 .dd-content,
body.page-id-23 .dd-content,
body.page-id-24 .dd-content {
    padding-bottom: 70px;
}

/* ==============================================================
   END DUE DOSSIER — TRUST / LEGAL LAUNCH SWEEP 01
   ============================================================== */

/* =====================================================================
   DUE DOSSIER HERO PRIMARY CTA COLOR FIX 07
   Keep primary hero CTA text visible over green background.
   ===================================================================== */

.dd-hero-actions .dd-primary-action,
.dd-hero-actions .dd-primary-action:visited {
    color: #fff;
}

.dd-hero-actions .dd-primary-action:hover,
.dd-hero-actions .dd-primary-action:focus-visible {
    color: #fff;
}

/* =====================================================================
   DUE DOSSIER PROPERTY CHECK CTA BUTTON FIX 08
   Give the Page 63 checker-entry link clear primary-action prominence.
   ===================================================================== */

.dd-content .dd-property-check-link,
.entry-content .dd-property-check-link,
.page-content .dd-property-check-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 4px;
    background: var(--dd-green);
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
}

.dd-content .dd-property-check-link:visited,
.entry-content .dd-property-check-link:visited,
.page-content .dd-property-check-link:visited {
    color: #fff;
}

.dd-content .dd-property-check-link:hover,
.entry-content .dd-property-check-link:hover,
.page-content .dd-property-check-link:hover,
.dd-content .dd-property-check-link:focus-visible,
.entry-content .dd-property-check-link:focus-visible,
.page-content .dd-property-check-link:focus-visible {
    background: var(--dd-green-dark);
    color: #fff;
    text-decoration: none;
}
