/*
 * E-Iure — ficha individual de miembro (single-members.php). Se carga después de home.css e inner.css.
 */

.eh .member-hero{padding:84px 0 72px}
.eh .member-hero .kicker{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#d7ecc7}
.eh .member-hero h1{font-size:clamp(36px,5.6vw,72px);margin-top:10px;max-width:22ch;margin-left:auto;margin-right:auto}
.eh .member-hero .where{margin-top:14px;font-size:clamp(16px,2vw,20px)}
.eh .flag{width:22px;height:16px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.12);display:inline-block;vertical-align:-2px}

.eh .crumb{font-size:13px;color:var(--muted);padding-top:22px}
.eh .crumb a:hover{color:var(--green-deep)}

.eh .mprofile{padding:34px 0 90px}
.eh .mgrid2{display:grid;grid-template-columns:1fr 340px;gap:56px;align-items:start}
.eh .mbody .sec{font-size:clamp(24px,2.6vw,32px);margin:0 0 16px}
.eh .mbody .sec:not(:first-child){margin-top:42px}
.eh .mbody .entry{font-size:17px;line-height:1.75;color:#33332f}
.eh .mbody .entry p{margin-bottom:16px}
.eh .mbody .muted{color:var(--muted)}
.eh .pending-note{margin:10px 0}
.eh .areas-list{list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.eh .areas-list li{background:#eef7e7;color:var(--green-deep);border:1px solid #cfe6bd;border-radius:60px;padding:8px 16px;font-size:14px;font-weight:600}
.eh .partners{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:22px}
.eh .partners li{text-align:center}
.eh .partners .ph{width:120px;height:120px;border-radius:50%;object-fit:cover;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;background:var(--sand);font-family:var(--serif);font-size:40px;color:var(--green-deep)}
.eh .partners b{display:block;font-size:16px}
.eh .partners b a:hover{color:var(--green-deep)}
.eh .partners small{color:var(--muted);font-size:13px}
.eh .mbody .back{margin-top:44px}

/* Ficha lateral */
.eh .summary{background:var(--sand);border-radius:18px;padding:26px;position:sticky;top:96px}
.admin-bar .eh .summary{top:128px}
.eh .logo-box{background:#fff;border:1px solid var(--line);border-radius:14px;height:150px;display:flex;align-items:center;justify-content:center;padding:22px 26px;margin-bottom:18px}
.eh .logo-box.dark{background:#20262b;border-color:#20262b}
.eh .logo-box img{max-width:100%;max-height:100%;object-fit:contain}
.eh .logo-box .nologo{font-family:var(--serif);font-size:20px;text-align:center}
.eh .summary dl .r{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid rgba(0,0,0,.08);font-size:14.5px}
.eh .summary dt{color:var(--muted)}
.eh .summary dd{font-weight:600;text-align:right}
.eh .summary .btn{margin-top:18px;width:100%;justify-content:center}
.eh .summary .btn + .btn{margin-top:10px}
.eh .summary .btn.ghost{background:#fff}

/* Otros despachos */
.eh .mothers{background:var(--sand);padding:70px 0 84px}
.eh .mothers h2{font-size:clamp(26px,3vw,36px);margin-bottom:6px}
.eh .mothers .all-link{display:inline-block;margin-bottom:24px;font-weight:600;font-size:14px;color:var(--green-deep)}
.eh .mothers .all-link:hover{text-decoration:underline}
.eh .mothers h2 + .ogrid{margin-top:22px}
.eh .ogrid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}
.eh .ogrid a{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;height:100%;transition:.2s}
.eh .ogrid a:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,0,0,.08)}
.eh .ologo{height:70px;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:10px;margin-bottom:6px;background:#fff}
.eh .ologo.dark{background:#20262b}
.eh .ologo img{max-width:100%;max-height:100%;object-fit:contain}
.eh .ogrid b{font-size:14.5px;line-height:1.3}
.eh .ogrid small{color:var(--muted);font-size:13px}

@media(max-width:900px){
	.eh .mgrid2{grid-template-columns:1fr;gap:34px}
	.eh .summary{position:static;order:-1}
}
