/*
Theme Name: DUI Resources
Author: DUI Resources
Version: 0.4.0
Requires at least: 6.3
Requires PHP: 7.4
Description: A custom WordPress directory theme for DUI Resources.
*/
:root{--ink:#102447;--blue:#1251c8;--sky:#1692ff;--pale:#eef5ff;--muted:#465974;--line:#d4dfed;--paper:#fff}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:17px/1.6 "Inter",Arial,sans-serif}a{color:var(--blue);text-underline-offset:.2em}a:hover{text-decoration:underline}button,select,input{font:inherit}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #ebad24;outline-offset:3px}.wrap{width:min(1200px,calc(100% - 80px));margin-inline:auto}.skip,.screen-reader-text{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.skip:focus{z-index:10;clip-path:none;width:auto;height:auto;top:0;left:0;background:#fff;padding:12px}.sitehead{background:white;border-top:4px solid var(--blue);border-bottom:1px solid var(--line)}.mast,.foot{display:flex;justify-content:space-between;align-items:center;gap:24px}.mast{min-height:83px}.brand img{display:block;width:210px;height:auto}.mast nav,.mast ul,.legal nav{display:flex;gap:32px;align-items:center;margin:0;padding:0;list-style:none}.mast nav a{font-weight:650;text-decoration:none;font-size:15px;color:var(--ink)}.mast nav a:hover{text-decoration:underline;color:var(--blue)}.mast nav>a:first-child{color:var(--blue)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:"Inter","Helvetica Neue",Arial,sans-serif;line-height:1.05;letter-spacing:-.052em;font-weight:740;text-wrap:balance}h1{font-size:clamp(40px,5.5vw,72px)}h2{font-size:clamp(32px,3.4vw,46px)}a{text-decoration-thickness:.07em}.finder{max-width:490px}.finder label{font-size:14px;font-weight:700;display:block;margin-bottom:7px}.finder-row{display:flex;gap:5px;padding:5px;background:white;border-radius:7px}.finder select{min-width:0;flex:1;color:var(--ink);background:white;border:0;padding:8px}.finder button,.button{border:0;border-radius:4px;background:var(--blue);color:#fff;padding:12px 18px;font-weight:700;cursor:pointer;text-decoration:none;white-space:nowrap}.finder button:hover,.button:hover{background:#103e9e}.finder button span{margin-left:7px}.pathways{position:relative;margin-top:-30px;display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 13px 34px #12274b12;overflow:hidden}.pathways>a{display:grid;grid-template-columns:46px 1fr auto;gap:13px;align-items:start;text-decoration:none;color:var(--ink);padding:25px 20px}.pathways>a+a{border-left:1px solid var(--line)}.pathways>a:hover{background:var(--pale)}.pathways h2{font-size:21px;letter-spacing:-.03em;margin:2px 0 5px}.pathways p{font-size:14px;color:var(--muted);line-height:1.45}.pathways b{color:var(--blue);font-size:17px}.path-icon{display:grid;place-items:center;width:43px;height:43px;background:#e8f2ff;color:var(--blue);border-radius:11px;position:relative}.scales{font:26px/1 Georgia,serif}.book:before,.book:after{content:"";width:9px;height:15px;position:absolute;border:2px solid var(--blue);top:13px}.book:before{left:9px;border-radius:2px 4px 1px 1px}.book:after{left:20px;border-radius:4px 2px 1px 1px}.guide-icon:before{content:"";width:16px;height:20px;border:2px solid var(--blue);border-radius:2px}.guide-icon:after{content:"";position:absolute;width:9px;height:2px;top:17px;background:var(--blue);box-shadow:0 5px var(--blue)}.feature-grid{display:grid;grid-template-columns:1.06fr 1fr;gap:clamp(30px,5vw,80px);align-items:center;margin-block:clamp(45px,5vw,78px)}.feature{min-height:285px;display:flex;align-items:flex-end;position:relative;color:white;text-decoration:none;border-radius:10px;overflow:hidden;background:linear-gradient(0deg,rgba(5,23,49,.95),rgba(5,23,49,.28) 77%),url('assets/meeting.jpg') center 40%/cover}.feature>div{padding:28px 32px}.kicker{display:block;color:var(--blue);text-transform:uppercase;font:bold 12px/1.5 Arial,sans-serif;letter-spacing:.13em;margin-bottom:13px}.feature .kicker{color:#bfddff}.feature h2{font-size:clamp(32px,3.5vw,50px);max-width:18ch}.text-link{display:inline-block;margin-top:12px;font-size:15px;font-weight:700}.questions h2{margin-bottom:14px}.questions a,.places a{display:flex;justify-content:space-between;align-items:center;gap:14px;text-decoration:none;border-bottom:1px solid var(--line);padding:16px 0;font-weight:600}.questions a{color:var(--ink)}.questions span,.places span{color:var(--blue)}.questions a:hover,.places a:hover{text-decoration:underline}.directory-band{background:var(--pale);padding-block:65px}.directory-layout{display:grid;grid-template-columns:.8fr 1.75fr;gap:48px}.directory-layout>div>p:last-child{max-width:30ch;color:var(--muted);margin-top:16px}.places,.entries{margin:15px 0 0;list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(182px,100%),1fr));gap:0 25px}.directory-layout .places{margin:0}.section{padding-block:clamp(45px,6vw,80px);min-height:50vh}.section h1{max-width:19ch;margin-bottom:22px}.section h2{margin:26px 0 12px}.prose{max-width:750px}.prose p,.section>p,.details p{margin:12px 0}.prose h2,.entries h2,.details h2{font-size:29px}.lead{font-size:21px;line-height:1.48;max-width:67ch;color:var(--muted)}.crumb{font-size:14px;margin-bottom:25px;color:var(--muted)}.entries{grid-template-columns:repeat(auto-fit,minmax(min(265px,100%),1fr));gap:16px;margin-top:28px}.entries article,.details{border:1px solid var(--line);border-radius:8px;background:#f6f9ff;padding:20px 24px}.entries h2,.details h2{margin:0 0 9px}.entries h2 a{text-decoration:none}.details{max-width:760px;border-left:4px solid var(--sky);margin:24px 0}.pagination{margin-block:20px}.page-numbers{padding:6px}footer{border-top:1px solid var(--line);background:#f8faff}.foot{padding-block:28px}.foot .brand img{width:170px}.foot p,.legal{font-size:14px;color:var(--muted)}.legal{padding-bottom:28px}.legal nav{gap:18px;flex-wrap:wrap}.legal p{margin-top:12px;max-width:85ch}img{max-width:100%;height:auto}
@media(max-width:850px){.wrap{width:calc(100% - 40px)}.pathways>a{grid-template-columns:1fr auto;padding:19px 14px}.path-icon{grid-column:1/-1}.directory-layout{grid-template-columns:1fr}.feature-grid{gap:24px}.brand img{width:175px}}
@media(max-width:620px){.wrap{width:calc(100% - 32px)}.mast{min-height:0;padding:12px 0;gap:12px;flex-wrap:wrap}.mast nav,.mast ul{gap:15px}.mast nav a{font-size:13px}.finder-row{max-width:100%}.finder button{padding:10px}.pathways{grid-template-columns:1fr;margin-top:-20px}.pathways>a{grid-template-columns:41px 1fr auto;align-items:center;gap:14px;padding:14px 16px}.path-icon{grid-column:auto}.pathways>a+a{border-left:0;border-top:1px solid var(--line)}.pathways h2{font-size:19px;margin:0 0 3px}.feature-grid{grid-template-columns:1fr;gap:35px}.feature{min-height:240px}.feature>div{padding:22px}.directory-layout{gap:18px}.places{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.places a{font-size:15px}.foot{align-items:flex-start;flex-direction:column;gap:13px}.directory-band{padding-block:40px}}

.contact-box{max-width:42rem;scroll-margin-top:2rem}.contact-box h2{margin-bottom:1.25rem}
.contact-form{display:grid;gap:1rem;margin-top:1rem}.contact-form label{display:grid;gap:.35rem;font-weight:650}
.contact-form input,.contact-form textarea{width:100%;padding:.65rem;border:1px solid #8797ad;border-radius:4px;color:var(--ink);background:white;font:inherit}
.contact-form .button{justify-self:start}.contact-form p{font-size:.9rem}.form-trap{position:absolute;left:-10000px}

/* Directory navigation and individual attorney profiles. */
.duir-crumbs ol {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .65rem;
    list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .84rem;
}
.duir-crumbs li { display: inline-flex; align-items: baseline; gap: .65rem; overflow-wrap: anywhere; }
.duir-crumbs li + li::before { content: ""; width: .34em; height: .34em; align-self: center; border: solid #74839a; border-width: 1px 1px 0 0; transform: rotate(45deg); flex: none; }
.duir-crumbs a { color: inherit; }
.duir-crumbs [aria-current] { color: var(--ink); font-weight: 650; }
.section .duir-crumbs { margin-bottom: 1.6rem; }
.attorney-page { background: #fafbf9; }
.attorney-page > .wrap { padding-block: 16px; }
.attorney-banner {
    position: relative; overflow: hidden; isolation: isolate; color: white;
    background: linear-gradient(105deg, #101f3a, #173557 75%, #254866);
}
.attorney-banner::after {
    content: ""; position: absolute; z-index: -1; inset: -50% -12% -50% 55%; transform: rotate(28deg);
    background: repeating-linear-gradient(90deg, transparent 0 39px, #b6cce315 40px 41px, transparent 42px 54px);
    pointer-events: none;
}
.attorney-identity { display: flex; align-items: center; gap: clamp(22px,3vw,48px); padding-block: clamp(38px,5vw,74px); }
.attorney-monogram {
    position: relative; flex: none; display: grid; place-items: center; width: clamp(70px,9vw,120px);
    aspect-ratio: 1; border: 1px solid #c4ad87; border-radius: 50%; color: #ecd7b3; background: #182c44;
    box-shadow: inset 0 0 0 5px #182c44, inset 0 0 0 6px #c4ad8760;
    font: normal clamp(28px,4vw,53px)/1 Georgia, serif; letter-spacing: -.07em; padding-right: .07em;
}
.attorney-name { min-width: 0; }
.attorney-name .kicker { color: #d9c09a; margin: 0 0 9px; }
.attorney-name h1 { font: 500 clamp(2.6rem,5.2vw,5rem)/1.06 Georgia, "Times New Roman", serif; letter-spacing: -.045em; overflow-wrap: anywhere; }
.attorney-location { margin-top: 12px; color: #e0e8ee; font-size: 1.05rem; }
.attorney-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px,.85fr); align-items: start; gap: clamp(28px,6vw,90px); padding-block: clamp(32px,4.8vw,70px); }
.attorney-reading { grid-column: 1; grid-row: 1; min-width: 0; }
.attorney-page h2 { font: 500 clamp(1.7rem,2.6vw,2.25rem)/1.2 Georgia, serif; letter-spacing: -.035em; }
.attorney-about .prose { color: #293d51; font-size: 1.06rem; line-height: 1.75; }
.attorney-about .prose p { margin: .85em 0; }
.attorney-about + .attorney-sources { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 26px; }
.attorney-sources p { color: var(--muted); margin-block: .65em; }
.attorney-evidence { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.attorney-evidence a,.attorney-site { font-weight: 650; font-size: .94rem; }
.attorney-office {
    grid-column: 2; grid-row: 1; padding: clamp(23px,3vw,36px); background: #fff;
    border: 1px solid #d8dcd9; border-top: 4px solid #a68b58; border-radius: 5px;
    box-shadow: 0 9px 25px #1731460a; display: grid; gap: 16px; min-width: 0;
}
.attorney-office address { font-style: normal; color: var(--muted); }
.attorney-call { text-align: center; background: #154db6; color: white; padding: 12px; border-radius: 5px; font-weight: 700; text-decoration: none; }
.attorney-call:hover { background: #113f94; }
.attorney-site { justify-self: center; padding: 3px; }
.attorney-correction { display: inline-block; color: var(--muted); font-size: .86rem; margin-top: 28px; }
.office-note { color: var(--muted); font-size: .9rem; }
@media (max-width: 740px) {
    .attorney-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
    .attorney-office,.attorney-reading { grid-column: auto; grid-row: auto; }
    .attorney-name h1 { font-size: clamp(2rem,8vw,3.4rem); }
    .attorney-identity { gap: 16px; }
    .attorney-monogram { width: clamp(56px,16vw,82px); }
    .attorney-name .kicker { font-size: 10px; }
    .attorney-location { margin-top: 8px; }
}

/* Shared editorial styling drawn from the attorney profiles. */
:root {
    --paper: #fafbf9;
    --rule: #d8dcd9;
    --gold: #a68b58;
    --sand: #ecd7b3;
    --display: Georgia, "Times New Roman", serif;
}
body { background: var(--paper); }
.sitehead { border-top-color: #173557; border-bottom-color: var(--rule); }
.mast .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.page-trail { padding-block: 15px; }
.editorial-crumbs { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.editorial-crumbs a { color: inherit; }
.editorial-crumbs .breadcrumb_last { font-weight: 650; color: var(--ink); }
.page-banner > .wrap { padding-block: clamp(36px,5vw,72px); }
.page-banner h1, .home-copy h1 {
    font: 500 clamp(2.6rem,5.2vw,5rem)/1.06 var(--display);
    letter-spacing: -.045em; overflow-wrap: anywhere; max-width: 26ch;
}
.page-banner .kicker, .feature .kicker { color: #d9c09a; }
.banner-summary, .home-copy > p {
    max-width: 57ch; margin-top: 16px; color: #e0e8ee; font-size: clamp(1.03rem,1.6vw,1.24rem); line-height: 1.55;
}
.section, .home-contact { padding-block: clamp(32px,4.8vw,70px); }
.section h2, .feature-grid h2, .directory-layout h2, .pathways h2, .contact-box h2 {
    font: 500 clamp(1.7rem,2.6vw,2.25rem)/1.2 var(--display); letter-spacing: -.035em; color: var(--ink);
}
.section h3 { font: 500 1.48rem/1.25 var(--display); letter-spacing: -.025em; }
.section > h2:first-child, .prose > :first-child { margin-top: 0; }
.section > .entries:first-child { margin-top: 0; }
.prose { min-width: 0; color: #293d51; line-height: 1.75; overflow-wrap: break-word; }
.reading-column { max-width: 74ch; }
.reading-column :is(h2,h3) { margin-block: 1.25em .45em; }
.reading-column > :first-child { margin-top: 0; }
.reading-column blockquote { border-left: 3px solid var(--gold); margin-inline: 0; padding-inline: 1.25em; }
.reading-column :is(iframe, video, figure) { max-width: 100%; }
.reading-column .wp-block-table { overflow-x: auto; }
.reading-column figure { margin-inline: 0; }
.about-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(290px,1fr); align-items: start; gap: clamp(26px,5vw,80px); }
.home-intro { display: grid; grid-template-columns: 1fr .94fr; gap: clamp(32px,5vw,80px); align-items: center; padding-block: clamp(36px,5vw,76px); }
.home-copy { min-width: 0; }
.home-copy h1 { font-size: clamp(3.4rem,6vw,5.7rem); line-height: .99; }
.home-copy h1 span { color: var(--sand); }
.home-copy > p { max-width: 40ch; margin-block: 16px 24px; }
.home-photo { padding: 6px; border: 1px solid #b69d7980; border-radius: 5px; }
.home-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 2px; }
.finder-row { border-radius: 5px; }
.finder button, .button, .search-submit { background: #154db6; }
.pathways { margin-top: clamp(20px,3vw,38px); border-radius: 5px; border-color: var(--rule); border-top: 4px solid var(--gold); box-shadow: 0 9px 25px #1731460a; }
.pathways h2, .entries h2 { font-size: clamp(1.35rem,1.85vw,1.7rem); }
.pathways > a:hover { background: #f5f4ef; }
.path-icon { background: #f3eee4; color: #725e3e; border-radius: 50%; }
.book::before, .book::after, .guide-icon::before { border-color: #725e3e; }
.guide-icon::after { background: #725e3e; box-shadow: 0 5px #725e3e; }
.feature { border-radius: 5px; }
.feature h2 { color: white; font-size: clamp(2rem,3.6vw,3.1rem); }
.questions a, .places a { border-bottom-color: var(--rule); }
.directory-band { background: #f1f2ed; border-block: 1px solid var(--rule); }
.directory-layout .kicker { color: #705b37; }
.directory-note { margin-top: 32px; max-width: 72ch; color: var(--muted); }
.places { margin-block: 16px 28px; }
.places li, .entries article { min-width: 0; }
.places a { color: var(--ink); overflow-wrap: anywhere; }
.places a span { color: #80683e; }
.entries article, .contact-box {
    background: white; border: 1px solid var(--rule); border-top: 4px solid var(--gold);
    border-radius: 5px; box-shadow: 0 9px 25px #1731460a;
}
.entries article { padding: 22px 24px; overflow-wrap: anywhere; }
.entries article h2 { margin-top: 0; }
.entries article h2 a { color: var(--ink); }
.entries article h2 a:hover { text-decoration: underline; }
.entries article p { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.page-numbers { display: inline-block; }
.page-numbers.current { font-weight: 700; color: var(--ink); }
.contact-box { padding: clamp(20px,3vw,36px); max-width: 46rem; width: 100%; }
.contact-box h2 { margin-top: 0; }
.contact-form label, .contact-form input, .contact-form textarea { min-width: 0; }
.home-contact { min-height: auto; }
.home-contact .contact-box { margin-inline: auto; }
footer { background: #f1f2ed; border-color: var(--rule); }
@media (max-width: 740px) {
    .home-intro, .about-layout { grid-template-columns: minmax(0,1fr); }
    .home-intro { gap: 24px; }
    .home-copy h1 { font-size: clamp(3rem,10vw,4.5rem); }
    .home-photo img { aspect-ratio: 2.8/1; object-position: center 43%; }
    .page-banner h1 { font-size: clamp(2rem,8vw,3.4rem); }
    .mast nav, .mast nav ul { flex-wrap: wrap; }
    .entries article { padding: 18px; }
}
@media (max-width: 380px) {
    .finder-row { flex-wrap: wrap; }
    .finder select, .finder button { flex: 1 1 100%; }
}
