.entity-profile-v1{--ep-brand:var(--primary,#087c72);--ep-deep:#084c4a;--ep-gold:#e9ac39;--ep-ink:#173439;--ep-muted:#6c8084;color:var(--ep-ink);font-size:14px;line-height:1.95}
.entity-profile-v1 a{color:inherit}
.entity-profile-v1 .ep-hero{position:relative;height:390px;margin-top:8px;border-radius:17px;overflow:hidden;background:#124c4b;color:#fff}
.entity-profile-v1 .ep-hero-photo{position:absolute;inset:0;background:center 48%/cover no-repeat}
.entity-profile-v1 .ep-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,#063c3cfa 0%,#064947cd 37%,#06494522 84%)}
.entity-profile-v1 .ep-hero-content{position:relative;z-index:1;height:100%;padding:28px 42px;display:flex;flex-direction:column;justify-content:space-between}
.entity-profile-v1 .ep-crumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;list-style:none;margin:0;padding:0;font-size:12px;color:#eaf7f2}
.entity-profile-v1 .ep-crumbs a{color:#fff}
.entity-profile-v1 .ep-hero h1{font-size:clamp(26px,3vw,40px);margin:13px 0 8px;line-height:1.4;color:#fff}
.entity-profile-v1 .ep-hero p{margin:4px 0}
.entity-profile-v1 .ep-hero-other{font-size:13px}
.entity-profile-v1 .ep-flags{display:flex;gap:8px;flex-wrap:wrap}
.entity-profile-v1 .ep-pill{display:inline-flex;align-items:center;border-radius:20px;padding:2px 14px;font-size:12px;font-weight:700}
.entity-profile-v1 .ep-pill-light{border:1px solid #ffffff99}
.entity-profile-v1 .ep-pill-gold{background:var(--ep-gold);color:#fff}
.entity-profile-v1 .ep-demo{font-size:11px;color:#f9d798}
.entity-profile-v1 .ep-hero-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.entity-profile-v1 .ep-btn{border:0;border-radius:10px;padding:9px 18px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;background:transparent;color:inherit;cursor:pointer}
.entity-profile-v1 .ep-btn.light{background:#fff;color:var(--ep-deep)}
.entity-profile-v1 .ep-btn.ghost{background:#ffffff22;color:#fff;border:1px solid #ffffff55}
.entity-profile-v1 .ep-btn.primary{background:var(--ep-brand);color:#fff}
.entity-profile-v1 .ep-btn.subtle{background:#eaf4f2;color:var(--ep-deep)}
.entity-profile-v1 .ep-btn.full{width:100%}
.entity-profile-v1 .ep-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 8px;background:#fff;border:1px solid #e9eeee;border-radius:0 0 15px 15px;box-shadow:0 5px 24px #113a3820}
.entity-profile-v1 .ep-metric{display:grid;grid-template-columns:40px 1fr;column-gap:9px;align-items:center;padding:9px 16px;border-inline-start:1px solid #ecf0f0}
.entity-profile-v1 .ep-metric:first-child{border-inline-start:0}
.entity-profile-v1 .ep-metric>span{grid-row:span 2;font-size:28px;color:var(--ep-brand)}
.entity-profile-v1 .ep-metric small{color:var(--ep-muted)}
.entity-profile-v1 .ep-metric b{font-size:15px}
.entity-profile-v1 .ep-tabs{display:flex;overflow-x:auto;scrollbar-width:thin;gap:3px;white-space:nowrap;background:#fff;border-radius:15px;box-shadow:0 4px 18px #123c3910;padding:10px;margin:15px 0}
.entity-profile-v1 .ep-tabs a{padding:7px 16px;border-radius:9px;font-weight:700;font-size:12px;min-height:44px;display:inline-flex;align-items:center}
.entity-profile-v1 .ep-tabs a.active,.entity-profile-v1 .ep-tabs a:hover{background:var(--ep-brand);color:#fff}
.entity-profile-v1 .ep-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:start}
.entity-profile-v1 .ep-sidebar,.entity-profile-v1 .ep-content{display:grid;gap:14px;min-width:0;align-content:start}
.entity-profile-v1 .ep-panel{background:#fff;border-radius:15px;padding:22px;box-shadow:0 4px 22px #133a380c;border:1px solid #edf1f0;min-width:0;scroll-margin-top:128px}
.entity-profile-v1 .ep-panel h2{font-size:18px;margin:0 0 15px;color:#0b4d50;line-height:1.65}
.entity-profile-v1 .ep-panel h3{font-size:14px;margin:12px 0 3px}
.entity-profile-v1 .ep-panel p{margin:0 0 13px}
.entity-profile-v1 .ep-sidebar .ep-panel h2{font-size:16px}
.entity-profile-v1 .ep-locations,.entity-profile-v1 .ep-links{list-style:none;padding:0;margin:0 0 16px}
.entity-profile-v1 .ep-locations li{padding:5px 18px 5px 0;position:relative}
.entity-profile-v1 .ep-locations li:before{content:"●";position:absolute;right:0;color:var(--ep-brand);font-size:11px}
.entity-profile-v1 .ep-links li{border-bottom:1px solid #ecf1ef}
.entity-profile-v1 .ep-links li:last-child{border:0}
.entity-profile-v1 .ep-links a{display:flex;justify-content:space-between;gap:8px;padding:9px 0;color:var(--ep-brand);font-weight:700}
.entity-profile-v1 .ep-muted{color:var(--ep-muted);font-size:12px}
.entity-profile-v1 .ep-strong{font-weight:800}
.entity-profile-v1 .ep-accordion details{border-bottom:1px solid #e7edeb;padding:3px 0}
.entity-profile-v1 .ep-accordion summary,.entity-profile-v1 .ep-faq summary{cursor:pointer;list-style:none;padding:11px 2px;font-weight:700;display:flex;justify-content:space-between;align-items:center;min-height:44px}
.entity-profile-v1 .ep-accordion summary::-webkit-details-marker,.entity-profile-v1 .ep-faq summary::-webkit-details-marker{display:none}
.entity-profile-v1 .ep-accordion summary:after,.entity-profile-v1 .ep-faq summary:after{content:"⌄";color:var(--ep-brand);font-size:18px}
.entity-profile-v1 .ep-accordion details[open] summary:after,.entity-profile-v1 .ep-faq details[open] summary:after{transform:rotate(180deg)}
.entity-profile-v1 .ep-geo{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.entity-profile-v1 .ep-map{height:290px;border-radius:12px;border:1px solid #e4ecea;background:#d9e8e3;z-index:0}
.entity-profile-v1 .ep-relations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.entity-profile-v1 .ep-relations a{background:#f1f8f5;border:1px solid #e0eeea;padding:13px;border-radius:10px;font-weight:700;color:var(--ep-deep);display:flex;flex-direction:column;min-height:44px}
.entity-profile-v1 .ep-relations span{font-size:11px;color:var(--ep-brand);font-weight:600}
.entity-profile-v1 .ep-culture{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:9px}
.entity-profile-v1 .ep-culture article{background:#f4f8f7;border-radius:11px;padding:15px 6px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.entity-profile-v1 .ep-culture span{font-size:22px;color:var(--ep-brand)}
.entity-profile-v1 .ep-culture small{font-size:11px;color:var(--ep-muted)}
.entity-profile-v1 .ep-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:11px}
.entity-profile-v1 .ep-people article{display:flex;flex-direction:column;text-align:center;gap:4px;min-width:0}
.entity-profile-v1 .ep-portrait{height:120px;border-radius:10px;background:linear-gradient(145deg,#d7e5dc,#b7d3ca);display:grid;place-items:center;overflow:hidden}
.entity-profile-v1 .ep-portrait img{width:100%;height:100%;object-fit:cover}
.entity-profile-v1 .ep-people b{font-size:12px}
.entity-profile-v1 .ep-people small{font-size:11px;color:var(--ep-muted)}
.entity-profile-v1 .ep-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.entity-profile-v1 .ep-gallery button{padding:0;border:0;background:none;overflow:hidden;border-radius:10px;aspect-ratio:1.35;cursor:pointer}
.entity-profile-v1 .ep-gallery img{height:100%;width:100%;object-fit:cover}
.entity-profile-v1 .ep-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.entity-profile-v1 .ep-panel-head h2{margin:0}
.entity-profile-v1 .ep-linkish{border:0;background:none;color:var(--ep-brand);font-weight:700;min-height:44px;cursor:pointer}
.entity-profile-v1 .ep-split{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.entity-profile-v1 .ep-contact{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px}
.entity-profile-v1 a.ep-phone{display:inline-block;direction:ltr;color:var(--ep-brand);font-weight:700;text-decoration:none;border-bottom:1px dashed currentColor}
.entity-profile-v1 .ep-email{direction:ltr;unicode-bidi:isolate}
.entity-profile-v1 .ep-email-at::before{content:"@"}
.entity-profile-v1 .ep-lightbox{border:0;border-radius:16px;background:#fff;padding:12px;max-width:min(94vw,960px)}
.entity-profile-v1 .ep-lightbox::backdrop{background:#071c1bcc}
.entity-profile-v1 .ep-lightbox img{max-width:100%;max-height:78vh;object-fit:contain;display:block}
.entity-profile-v1 .ep-lightbox button{border:0;background:#e9f2f0;border-radius:8px;min-width:44px;min-height:44px}
.entity-profile-v1 .ep-toast{position:fixed;bottom:88px;left:50%;transform:translateX(-50%);background:#123f3c;color:#fff;border-radius:9px;padding:9px 18px;display:none;z-index:90}
@media(max-width:1080px){
.entity-profile-v1 .ep-layout{grid-template-columns:245px minmax(0,1fr)}
.entity-profile-v1 .ep-hero{height:345px}
.entity-profile-v1 .ep-relations{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
.entity-profile-v1 .ep-hero{height:350px}
.entity-profile-v1 .ep-hero:after{background:linear-gradient(0deg,#063e3cfb 0%,#063e3caa 46%,transparent 100%)}
.entity-profile-v1 .ep-hero-content{padding:18px;justify-content:flex-end}
.entity-profile-v1 .ep-hero h1{font-size:25px}
.entity-profile-v1 .ep-hero-other{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.entity-profile-v1 .ep-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 0}
.entity-profile-v1 .ep-metric{display:flex;flex-direction:column;text-align:center;padding:8px 3px;border-inline-start:0}
.entity-profile-v1 .ep-tabs{position:sticky;top:70px;z-index:15;margin:10px 0}
.entity-profile-v1 .ep-layout{grid-template-columns:1fr}
.entity-profile-v1 .ep-geo,.entity-profile-v1 .ep-contact,.entity-profile-v1 .ep-split{grid-template-columns:1fr}
.entity-profile-v1 .ep-map{height:250px}
.entity-profile-v1 .ep-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
.entity-profile-v1 .ep-hero{height:320px}
.entity-profile-v1 .ep-hero-content{padding:14px}
.entity-profile-v1 .ep-hero h1{font-size:21px}
.entity-profile-v1 .ep-panel{padding:15px}
.entity-profile-v1 .ep-relations{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
.entity-profile-v1 .ep-tabs{scroll-behavior:auto}
}
