/* Shared editable composition: turquoise photo, graphite title, mist reading surface. */
.dgp-section.dgp-legal-photo { padding:0; min-height:clamp(260px,32vw,460px); margin:0; background:#e5e5e5; }
body:is(.page-id-10195,.page-id-12439) .dgp-section.dgp-legal-photo { min-height:clamp(200px,23vw,320px); }
.dgp-legal-photo > .dgp-section__background { background-position:center bottom; filter:none; transform:none; }
body.page-id-10203 .dgp-legal-photo > .dgp-section__background { background-position:65% 48%; }
.dgp-section.dgp-legal-masthead { margin:0; padding-block:clamp(44px,6vw,88px); background:#27282b; color:#fff; }
.dgp-legal-masthead h1.wp-block-heading {
 max-width:100%; margin:0; color:#fff; font-family:"Surt Text",Arial,sans-serif;
 font-size:clamp(36px,5vw,72px); font-weight:400; line-height:1.12; letter-spacing:-.035em; overflow-wrap:break-word;
}
.dgp-section.dgp-legal-reading { margin:0; padding-block:clamp(48px,7vw,104px); background:#e5e5e5; color:#27282b; }
.dgp-legal-reading > .dgp-section__inner.is-content { width:min(800px,calc(100% - 2 * var(--dgp-gutter,24px))); max-width:800px; }
.dgp-legal-reading :is(h2,h3,h4,p,li,summary) { font-family:"Surt Text",Arial,sans-serif; color:#27282b; }
.dgp-legal-reading :is(p,li) { font-size:18px; font-weight:400; line-height:1.75; overflow-wrap:anywhere; }
.dgp-legal-reading p { margin:0 0 24px; }
.dgp-legal-reading p[style*="padding-left"] { padding-left:0!important; }
.dgp-legal-reading .dgp-text-light { color:#27282b!important; }
.dgp-legal-reading :is(h2,h3,h4) { text-align:left; text-wrap:pretty; font-weight:500; letter-spacing:-.015em; }
.dgp-legal-reading h2 { margin:64px 0 24px; padding-top:32px; border-top:1px solid #b7b6b6; font-size:clamp(25px,2.4vw,32px); line-height:1.28; }
.dgp-legal-reading > .dgp-section__inner > h2:first-child { margin-top:0; padding-top:0; border:0; }
.dgp-legal-reading h3 { margin:36px 0 16px; font-size:24px; line-height:1.35; }
.dgp-legal-reading h4 { margin:28px 0 12px; font-size:20px; line-height:1.4; }
.dgp-legal-reading :is(h2,h3,h4) strong { font-weight:inherit; }
.dgp-legal-reading :is(strong,b) { font-weight:600; }
.dgp-legal-reading :is(h2,h3,h4) :is(strong,b) { font-weight:inherit; }
.dgp-legal-reading :is(ul,ol) { padding-left:1.5em; margin-block:16px 28px; }
.dgp-legal-reading li { padding-left:.25em; margin-bottom:12px; }
.dgp-legal-reading li > :is(ul,ol) { margin-block:12px; }
.dgp-legal-reading a:not(.wp-block-button__link) { color:inherit; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
.dgp-legal-reading a:hover { text-decoration-color:var(--dgp-brand-accent,#b99450); }
.dgp-legal-reading :is(a,summary):focus-visible { outline:2px solid #27282b; outline-offset:5px; }
.dgp-legal-reading .dgp-details { margin-block:0; border-color:#b7b6b6; background:transparent; }
.dgp-legal-reading .dgp-details + .dgp-details { border-top:0; }
.dgp-legal-reading .dgp-details > summary { padding:28px 44px 28px 0; font-family:"Surt Text",Arial,sans-serif; font-size:clamp(21px,2vw,26px); font-weight:500; line-height:1.4; }
.dgp-legal-reading .dgp-details > summary:hover { text-decoration:underline; text-decoration-color:var(--dgp-brand-accent,#b99450); text-underline-offset:6px; }
.dgp-legal-reading .dgp-details[open] { padding-bottom:24px; }
.dgp-legal-reading .dgp-details .dgp-columns { display:block; margin:0; }
.dgp-legal-reading .dgp-details .dgp-column { width:100%; padding:0; }
.dgp-legal-reading .wp-block-buttons { margin-top:48px; }
.dgp-legal-reading .wp-block-button__link { background:#27282b; color:#fff; border-color:#27282b; font-family:"Surt Text",Arial,sans-serif; font-weight:400; }
.dgp-legal-reading .wp-block-button__link:hover { box-shadow:inset 0 -3px var(--dgp-brand-accent,#b99450); }
/* Article-inspired rail. Legal prose retains its existing scale and palette. */
.dgp-section.dgp-legal-reading:has(.dgp-legal-layout) { overflow:visible; }
.dgp-legal-reading > .dgp-section__inner.is-content:has(.dgp-legal-layout) { width:min(1170px,calc(100% - 2 * var(--dgp-gutter,24px))); max-width:1170px; }
.dgp-legal-layout { display:grid; grid-template-columns:230px minmax(0,800px); gap:clamp(40px,5vw,80px); justify-content:center; align-items:start; }
.dgp-legal-prose { min-width:0; }
.dgp-legal-prose > h2:first-child { margin-top:0; padding-top:0; border:0; }
.dgp-legal-reading :is(h2[id],details[id]) { scroll-margin-top:128px; }
.dgp-legal-rail { position:sticky; top:128px; max-height:calc(100dvh - 152px); overflow:auto; scrollbar-width:thin; padding:4px; }
.dgp-legal-contents nav { margin:0 0 28px; max-height:calc(100dvh - 300px); overflow:auto; scrollbar-width:thin; }
.dgp-legal-reading .dgp-legal-contents nav a { display:block; padding:11px 10px; border-left:2px solid transparent; color:#525556; font-size:14px; line-height:1.45; text-decoration:none; overflow-wrap:break-word; }
.dgp-legal-reading .dgp-legal-contents nav a:hover { color:#27282b; text-decoration:underline; text-underline-offset:3px; }
.dgp-legal-reading .dgp-legal-contents nav a[aria-current] { color:#27282b; border-left-color:var(--dgp-brand-accent,#b99450); background:#fff; }
.dgp-legal-tools { display:flex; flex-wrap:wrap; gap:8px; }
.dgp-legal-tools[hidden] { display:none; }
.dgp-legal-tools button { font:400 14px/1.5 "Surt Text",Arial,sans-serif; background:transparent; color:#27282b; border:1px solid #b7b6b6; padding:12px 16px; min-height:46px; cursor:pointer; }
.dgp-legal-tools button:hover { border-color:#27282b; box-shadow:inset 0 -2px var(--dgp-brand-accent,#b99450); }
.dgp-legal-actions button:focus-visible { outline:2px solid #27282b; outline-offset:3px; }
.dgp-legal-reading .dgp-legal-status { margin:16px 0 0; font-size:13px; line-height:1.5; }
.dgp-legal-status:empty { display:none; }
.dgp-legal-actions input { width:100%; min-width:0; font:inherit; margin-top:12px; }
@media(max-width:1000px) {
 .dgp-legal-layout { display:block; }
 .dgp-legal-rail { position:static; max-height:none; margin-bottom:40px; padding:16px 20px; background:#fff; }
 .dgp-legal-contents nav { margin:0; max-height:none; overflow:visible; }
 .dgp-legal-reading .dgp-legal-contents nav a[aria-current] { background:#e5e5e5; }
 .dgp-legal-layout > .dgp-legal-actions { margin-top:40px; padding-top:24px; border-top:1px solid #b7b6b6; }
}
@media(max-width:767px) {
 .dgp-legal-reading :is(p,li) { font-size:17px; }
 .dgp-legal-reading h2 { margin-top:48px; padding-top:24px; }
 .dgp-legal-reading h3 { font-size:22px; }
}
@media print {
 body:has(.dgp-legal-layout) :is(.dgp-site-header,.dgp-site-footer,.dgp-legal-photo,.dgp-legal-rail,.dgp-legal-actions) { display:none!important; }
 .dgp-section.dgp-legal-masthead { background:#fff!important; color:#000!important; padding:0 0 24px!important; }
 .dgp-legal-masthead h1.wp-block-heading { color:#000!important; font-size:28pt; }
 .dgp-section.dgp-legal-reading { background:#fff!important; padding:0!important; }
 .dgp-legal-reading > .dgp-section__inner.is-content:has(.dgp-legal-layout) { width:100%; max-width:none; }
 .dgp-legal-layout { display:block; }
 .dgp-legal-reading :is(p,li) { font-size:11pt; line-height:1.5; }
 .dgp-legal-reading :is(h2,h3,summary) { break-after:avoid; }
}
.dgp-photo-attribution { margin:0!important; padding-block:20px; background:#27282b; color:#b7b6b6; border-top:1px solid #525556; font-family:"Surt Text",Arial,sans-serif; }
.dgp-photo-attribution__inner { width:min(1170px,calc(100% - 2 * var(--dgp-gutter,24px))); margin-inline:auto; }
.dgp-photo-attribution p { margin:0; font-size:12px; line-height:1.7; }
.dgp-photo-attribution a { color:inherit; text-decoration:underline; text-underline-offset:4px; }
.dgp-photo-attribution a:hover { text-decoration-color:var(--dgp-brand-accent,#ffd700); }
.dgp-photo-attribution a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
