.mlld{--mlld-ink:#1b2430;--mlld-muted:#5b6674;--mlld-line:#dfe3e8;--mlld-bg:#f6f7f9;--mlld-accent:#0b3b66;--mlld-accent-d:#082c4c;max-width:1200px;margin:0 auto;padding:32px 20px 56px;color:var(--mlld-ink);line-height:1.6}
.mlld *{box-sizing:border-box}
.mlld h1{font-size:2rem;line-height:1.2;margin:0 0 .4em}
.mlld h2{font-size:1.25rem;margin:1.6em 0 .5em}
.mlld a{color:var(--mlld-accent)}
.mlld-btn{display:inline-block;background:var(--mlld-accent);color:#fff!important;border:0;border-radius:6px;padding:11px 22px;font-size:1rem;font-weight:600;cursor:pointer;text-decoration:none;line-height:1.2}
.mlld-btn:hover{background:var(--mlld-accent-d)}
.mlld-btn--ghost{background:transparent;color:var(--mlld-accent)!important;border:1px solid var(--mlld-accent);padding:8px 16px;font-size:.9rem}
.mlld-btn--ghost:hover{background:var(--mlld-accent);color:#fff!important}

/* Search */
.mlld-search{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;background:var(--mlld-bg);border:1px solid var(--mlld-line);border-radius:10px;padding:18px}
.mlld-search__field{flex:1 1 200px;min-width:0}
.mlld-search label{display:block;font-size:.85rem;font-weight:600;margin-bottom:4px}
.mlld-search input,.mlld-search select{width:100%;padding:10px 12px;border:1px solid #c5ccd4;border-radius:6px;font-size:1rem;background:#fff;min-height:44px}
.mlld-search__actions{display:flex;gap:14px;align-items:center}
.mlld-reset{font-size:.9rem}
.mlld-count{margin:18px 0 12px;color:var(--mlld-muted)}

/* Grid and cards */
.mlld-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px}
.mlld-card{border:1px solid var(--mlld-line);border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.mlld-card__photo{display:block;aspect-ratio:4/4.4;background:var(--mlld-bg);overflow:hidden}
.mlld-card__photo img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.mlld-card__initials{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:3rem;font-weight:700;color:var(--mlld-accent);background:#e8eef5;min-height:140px}
.mlld-card__body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:2px;flex:1}
.mlld-card__name{margin:0;font-size:1.15rem;line-height:1.3}
.mlld-card__name a{text-decoration:none;color:var(--mlld-ink)}
.mlld-card__name a:hover{color:var(--mlld-accent)}
.mlld-card__body p{margin:0;font-size:.92rem}
.mlld-card__role{font-weight:600}
.mlld-card__firm,.mlld-card__loc{color:var(--mlld-muted)}
.mlld-card .mlld-btn{margin-top:auto;align-self:flex-start}
.mlld-chips{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px;padding:0}
.mlld-chips li{margin:0}
.mlld-chips a{display:inline-block;background:#e8eef5;color:var(--mlld-accent);border-radius:20px;padding:3px 11px;font-size:.8rem;text-decoration:none}
.mlld-chips a:hover{background:var(--mlld-accent);color:#fff}
.mlld-empty{padding:30px;background:var(--mlld-bg);border-radius:10px;text-align:center}
.mlld-pagination{margin:28px 0;display:flex;gap:6px;flex-wrap:wrap}
.mlld-pagination .page-numbers{padding:7px 13px;border:1px solid var(--mlld-line);border-radius:6px;text-decoration:none}
.mlld-pagination .current{background:var(--mlld-accent);color:#fff;border-color:var(--mlld-accent)}
.mlld-register-cta{margin-top:28px}
.mlld-disclaimer{margin-top:28px;padding:14px 18px;background:var(--mlld-bg);border:1px solid var(--mlld-line);border-radius:8px;font-size:.88rem;color:var(--mlld-muted)}

/* Profile */
.mlld-crumbs{font-size:.88rem;color:var(--mlld-muted);margin-bottom:20px}
.mlld-crumbs a{text-decoration:none}
.mlld-profile__layout{display:grid;grid-template-columns:300px 1fr;gap:40px;align-items:start}
.mlld-profile__photo{border-radius:12px;overflow:hidden;background:var(--mlld-bg);border:1px solid var(--mlld-line)}
.mlld-profile__photo img{display:block;width:100%;height:auto}
.mlld-box{margin-top:20px;border:1px solid var(--mlld-line);border-radius:12px;padding:6px 18px 14px}
.mlld-box h2{margin:12px 0 6px;font-size:1.05rem}
.mlld-list{list-style:none;margin:0;padding:0}
.mlld-list li{padding:8px 0;border-top:1px solid var(--mlld-line);font-size:.93rem;word-break:break-word}
.mlld-list li:first-child{border-top:0}
.mlld-list span{display:block;font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:var(--mlld-muted)}
.mlld-profile__head{padding-bottom:14px;border-bottom:1px solid var(--mlld-line)}
.mlld-profile__role{font-size:1.15rem;font-weight:600;margin:0}
.mlld-profile__firm,.mlld-profile__loc{margin:0;color:var(--mlld-muted)}
.mlld-prose p{margin:0 0 1em}
.mlld-dl{display:grid;grid-template-columns:200px 1fr;gap:8px 20px;margin:0}
.mlld-dl dt{font-weight:600}
.mlld-dl dd{margin:0}
.mlld-update{margin-top:28px;font-size:.92rem}

/* Registration form */
.mlld-form{max-width:820px}
.mlld-form fieldset{border:1px solid var(--mlld-line);border-radius:10px;padding:8px 20px 18px;margin:0 0 22px}
.mlld-form legend{font-weight:700;font-size:1.05rem;padding:0 8px}
.mlld-row{margin-top:14px}
.mlld-row label{display:block;font-weight:600;font-size:.92rem;margin-bottom:4px}
.mlld-row input[type=text],.mlld-row input[type=email],.mlld-row input[type=tel],.mlld-row input[type=url],.mlld-row input[type=number],.mlld-row select,.mlld-row textarea{width:100%;padding:10px 12px;border:1px solid #c5ccd4;border-radius:6px;font-size:1rem;background:#fff;min-height:44px}
.mlld-row small{display:block;color:var(--mlld-muted);margin-top:3px}
.mlld-row--check label{font-weight:400;display:flex;gap:10px;align-items:flex-start}
.mlld-row--check input{margin-top:5px}
.mlld-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:6px 18px;margin-top:10px}
.mlld-checks label{font-weight:400;display:flex;gap:8px;align-items:flex-start}
.mlld-req{color:#b42318}
.mlld-small{font-size:.88rem;color:var(--mlld-muted)}
.mlld-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.mlld-notice{border-radius:8px;padding:16px 20px;margin-bottom:22px}
.mlld-notice--ok{background:#e7f6ec;border:1px solid #9ad3ad}
.mlld-notice--err{background:#fdecea;border:1px solid #f1a9a0}
.mlld-notice ul{margin:6px 0 0 18px}
.mlld-notice h2{margin-top:0}

@media (max-width:820px){
	.mlld-profile__layout{grid-template-columns:1fr;gap:24px}
	.mlld-profile__side{max-width:340px}
	.mlld-dl{grid-template-columns:1fr;gap:2px}
	.mlld-dl dd{margin-bottom:10px}
	.mlld h1{font-size:1.6rem}
}

/* Compact search band (home page) */
.mlld-band{padding:28px 20px}
.mlld-search--band{max-width:1000px;margin:0 auto;background:#fff;border:1px solid var(--mlld-line);box-shadow:0 6px 24px rgba(11,59,102,.08)}
.mlld-search--band .mlld-search__field{flex:1 1 240px}

/* Keep our buttons visible against theme button styles */
.mlld button.mlld-btn,.mlld a.mlld-btn{background-color:var(--mlld-accent)!important;color:#fff!important;border-color:var(--mlld-accent)!important}
.mlld button.mlld-btn:hover,.mlld a.mlld-btn:hover{background-color:var(--mlld-accent-d)!important}
.mlld a.mlld-btn--ghost{background-color:transparent!important;color:var(--mlld-accent)!important}
.mlld a.mlld-btn--ghost:hover{background-color:var(--mlld-accent)!important;color:#fff!important}

.mlld-badge{align-self:flex-start;background:#fff4d6;color:#7a5200;border:1px solid #f0d58a;border-radius:20px;padding:1px 10px;font-size:.75rem;font-weight:600;margin-bottom:6px}

/* Page title sits under the sticky header: give it room */
body.page-id-5404 .hero-section,body.page-id-5405 .hero-section,body.single-lawyer .hero-section,body.tax-practice_area .hero-section{padding-top:70px}

body.single-lawyer .mlld-main,body.tax-practice_area .mlld-main{padding-top:80px}
body.tax-practice_area .mlld-main{padding-top:30px}
