
/* EmlakVitrin V5.1 — FINAL public product hierarchy (HTML-only design reference)
   Retains legacy V4/V5 CSS dependencies needed by old components; V5.1 is the sole design authority.
   Does not modify backend or database. No separate homepage office/advisor showcases. */
:root{--v51-final-navy:#10283f;--v51-final-deep:#0a2138;--v51-final-orange:#f97816}
.ev-ui .ev-topline{background:var(--v51-final-deep)}
.ev-ui .ev-desktop-nav a{white-space:nowrap}
.ev-ui .ev-hero{background:var(--v51-final-deep)}
.ev-ui .ev-hero-image{background-image:url('../../img/v51/hero-marketplace.svg');background-position:center;background-size:cover;filter:none}
.ev-ui .ev-hero-shade{background:linear-gradient(90deg,#081c32 0%,rgba(8,27,46,.96) 29%,rgba(9,30,48,.78) 48%,rgba(7,32,53,.12) 100%)}
.ev-ui .ev-hero h1{font-size:clamp(31px,3.55vw,51px);letter-spacing:-.035em;line-height:1.11}
.ev-ui .ev-hero h1 span{color:#ffae67}
.ev-ui .ev-hero-headlines p{max-width:560px;font-size:14px;line-height:1.55}
.ev-ui .ev-categories .ev-section-header{display:flex;margin-bottom:12px}
.ev-ui .ev-category-photo img{width:100%;height:100%;object-fit:cover}
.ev-ui .ev-category{overflow:hidden}
.ev-ui .ev-category small{overflow-wrap:normal;word-break:normal}
.v51-corporate-showcase{background:linear-gradient(180deg,#f8fafc,#f1f5fa);padding-top:48px;padding-bottom:48px}
.v51-corporate-showcase .v51-row h2{font-size:clamp(24px,2.3vw,34px);letter-spacing:-.035em}
.v51-corporate-showcase .v51-row{align-items:end}
.v51-corporate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:23px 0 8px}
.v51-corporate-card{display:flex;flex-direction:column;gap:8px;min-height:225px;background:#fff;padding:24px;border:1px solid #e0e7ee;border-radius:18px;color:#122b46;text-decoration:none;box-shadow:0 10px 30px rgba(13,42,65,.04);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.v51-corporate-card:hover,.v51-corporate-card:focus-visible{transform:translateY(-3px);border-color:#ffb77d;box-shadow:0 15px 32px rgba(13,42,65,.1)}
.v51-corporate-card strong{font-size:20px;line-height:1.2;letter-spacing:-.02em}
.v51-corporate-card small{font-size:12px;line-height:1.6;color:#62768a}
.v51-corp-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:linear-gradient(145deg,#fff1e7,#ffd8bb);color:#bb4c00;font-weight:850;font-size:16px}
.v51-corp-type{font-size:10px;font-weight:800;letter-spacing:.09em;color:#b15418}
.v51-corp-action{margin-top:auto;padding-top:10px;font-size:12px;font-weight:800;color:#e36c16}
.v51-proto-note{font-size:11px;line-height:1.7;color:#6d7e90;margin-top:13px}
.v51-store-navigation{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 18px}
.v51-store-navigation a{border:1px solid #e5e9ef;border-radius:10px;background:#fff;color:#163654;font-weight:700;padding:11px 13px;text-decoration:none}
.v51-store-navigation a:hover{border-color:#ef9b55;color:#b35616}
.v51-company-page .store-cover{background-position:center;background-size:cover}
.v51-company-page .store-summary{gap:12px}
.v51-store-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:13px 0 17px;margin-bottom:12px;border-bottom:1px solid #e7ebf1}
.v51-store-tabs a,.v51-office-actions a{display:inline-block;text-decoration:none;border:1px solid #dfe7f0;border-radius:9px;padding:9px 12px;color:#23415b;background:#fff;font-weight:700;font-size:12px}
.v51-store-tabs a:hover,.v51-office-actions a:hover{color:#cc5705;border-color:#ffc492}
.v51-hierarchy-note{font-size:12px;line-height:1.75;color:#485e74;border:1px solid #dbe7f0;background:#f4f8fb;padding:14px 16px;border-radius:12px;margin-bottom:18px}
.v51-company-page .branch-box[href]{display:block;text-decoration:none;color:inherit;transition:transform .15s ease,border-color .15s ease}
.v51-company-page .branch-box[href]:hover{transform:translateY(-2px);border-color:#f99b55}
.v51-listing-owner{max-width:100%;margin-top:16px}
.v51-listing-owner a{font-weight:800;color:#d76820}
.v51-office-page main{padding-bottom:65px}
.v51-office-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(200px,.7fr);gap:24px;align-items:center;background:linear-gradient(120deg,#102b45,#1b4861);border-radius:20px;color:#fff;padding:33px;margin-bottom:22px}
.v51-office-hero h2{font-size:clamp(24px,3vw,36px);margin:10px 0 12px;line-height:1.16}
.v51-office-hero p{color:#d7e3ec;line-height:1.65}
.v51-office-hero img{display:block;width:100%;height:225px;object-fit:cover;border-radius:13px}
.v51-office-label{font-size:11px;font-weight:800;letter-spacing:.11em;color:#ffc184}
.v51-office-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.v51-office-page section.v51-card{margin:16px 0}
.v51-office-page section.v51-card h2{font-size:22px}
.v51-slim-footer{background:#11283d;color:#e6edf3;padding:23px 0}
.v51-slim-footer .v51-shell{display:flex;justify-content:space-between;gap:10px}
.v51-slim-footer a{color:#ffbb82}
@media(max-width:1024px){.v51-corporate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ev-ui .ev-hero-shade{background:linear-gradient(90deg,#0a2238 0%,rgba(12,33,51,.89) 55%,rgba(13,36,52,.36) 100%)}}
@media(max-width:767px){.v51-corporate-showcase{padding:30px 0}.v51-corporate-grid{grid-template-columns:1fr;gap:11px;margin-top:15px}.v51-corporate-card{min-height:0;padding:18px}.v51-corporate-card strong{font-size:18px}.v51-office-hero{grid-template-columns:1fr;padding:20px}.v51-office-hero img{height:180px}.ev-ui .ev-hero-image{background-position:60% top;background-size:cover}.ev-ui .ev-hero-shade{background:linear-gradient(90deg,rgba(8,26,45,.95),rgba(8,29,49,.85))}.ev-ui .ev-hero h1{font-size:clamp(26px,6vw,31px)}.ev-ui .ev-hero-headlines p{font-size:11px}.v51-store-tabs{gap:5px}.v51-store-tabs a{padding:8px;font-size:11px}}
@media(max-width:400px){.v51-corporate-showcase .v51-row{display:block}.v51-office-hero{padding:16px}.v51-office-actions a{font-size:11px}}
@media(prefers-reduced-motion:reduce){.v51-corporate-card,.v51-company-page .branch-box[href]{transition:none}.v51-corporate-card:hover{transform:none}}
