/* Tabloul ecosistemului (prima pagină). Reguli: o singură culoare pentru date (Codru),
   vinul doar pentru ce ai ales tu, calcarul pentru „tot registrul” din spatele fiecărei bare.
   Cifrele mari în Newsreader, ca logoul; restul în Schibsted. */
:root { --f-display: 'Newsreader', Georgia, serif; --f-display-v: 'opsz' 72; }
.bd { --e: cubic-bezier(.2, .8, .2, 1); --ghost: #ebe9e2; --sage: #86a894; --line: #e3e1da; padding: 8px 0 72px; }
.bd button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.bd .bd-c, .bd .bd-n, .bd .bd-num, .bd .bd-v, .bd .bd-cv, .bd-top b { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- capul ---------- */
.bd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 28px 0 18px; border-top: 2px solid var(--codru-2); }
.bd-head h2 { font-family: var(--f-display); font-variation-settings: var(--f-display-v); font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.bd-sentence { margin: 6px 0 0; color: var(--muted); font-size: 17px; min-height: 1.55em; }
.bd-tools { display: flex; gap: 8px; flex-shrink: 0; }
.bd-reset, .bd-share { height: 36px; padding: 0 14px !important; border: 1px solid var(--border) !important; border-radius: 6px; background: #fff !important; font-size: 14.5px; font-weight: 600; color: var(--codru-2) !important; white-space: nowrap; transition: border-color .2s, background .2s; }
.bd-reset { background: var(--codru) !important; border-color: var(--codru) !important; color: #fff !important; }
.bd-reset:hover { background: var(--codru-2) !important; }
.bd-share:hover { border-color: var(--codru) !important; }
.bd-share:disabled { color: var(--codru) !important; cursor: default; }

/* ---------- filtrele rapide ---------- */
.bd-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.bd-seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--stone-2); border: 1px solid var(--line); border-radius: 8px; }
.bd-seg button { height: 32px; padding: 0 12px !important; border-radius: 5px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .25s var(--e), color .25s, box-shadow .25s; }
.bd-seg button:hover { color: var(--codru-2); }
.bd-seg button[aria-checked="true"] { background: #fff; color: var(--codru-2); font-weight: 650; box-shadow: 0 1px 2px rgba(15, 42, 30, .12), 0 0 0 1px rgba(15, 42, 30, .06); }
.bd-seg-sm button { height: 28px; font-size: 13.5px; padding: 0 10px !important; }
.bd-c { color: var(--faint); font-weight: 500; margin-left: 2px; font-size: .92em; }
.bd-tog { height: 38px; padding: 0 13px !important; border: 1px solid var(--line) !important; border-radius: 8px; background: #fff !important; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .25s var(--e), border-color .25s, color .25s; }
.bd-tog::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border: 1.5px solid var(--border-strong); border-radius: 3px; transition: background .2s, border-color .2s; }
.bd-tog:hover { border-color: var(--codru) !important; }
.bd-tog[aria-pressed="true"] { border-color: var(--wine) !important; background: var(--wine-soft) !important; color: var(--wine); font-weight: 600; }
.bd-tog[aria-pressed="true"]::before { background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/10px no-repeat; border-color: var(--wine); }
.bd-tog[aria-pressed="true"] .bd-c { color: var(--wine); opacity: .75; }
.bd-chips { display: contents; list-style: none; }
.bd-chips li { list-style: none; animation: bd-pop .32s var(--e) both; }
.bd-chips button { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px 0 11px !important; border-radius: 15px; background: var(--wine) !important; color: #fff !important; font-size: 13.5px; font-weight: 600; }
.bd-chips button span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: 15px; line-height: 1; transition: background .2s; }
.bd-chips button:hover span { background: rgba(255, 255, 255, .34); }
@keyframes bd-pop { from { opacity: 0; transform: scale(.85); } }

/* ---------- banda de cifre ---------- */
.bd-kpis { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.bd-kpi { padding: 18px 20px 18px; border-left: 1px solid var(--line); min-width: 0; }
.bd-kpi:first-child { border-left: 0; }
.bd-kpi dt { font-size: 14px; color: var(--muted); font-weight: 500; line-height: 1.3; }
.bd-kpi dd { margin: 0; }
.bd-v { display: block; margin: 8px 0 6px; font-family: var(--f-display); font-variation-settings: var(--f-display-v); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -.02em; color: var(--codru-2); }
.bd-s { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.bd-kpi:first-child .bd-v { color: var(--wine); }

/* ---------- grila de panouri ---------- */
.bd-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bd-panel { grid-column: span 6; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px 22px; min-width: 0; }
.bd-panel[data-span="7"] { grid-column: span 7; } .bd-panel[data-span="5"] { grid-column: span 5; }
.bd-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.bd-panel h3 { font-size: 17px; font-weight: 700; margin: 0; letter-spacing: -.01em; color: var(--codru-2); }
.bd-ins { margin: 4px 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.5; text-wrap: pretty; min-height: 3em; }
.bd-sub { margin: 22px 0 8px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.bd-foot { margin: 12px 0 0; font-size: 13px; color: var(--faint); }
.bd-key { margin: 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.bd-key i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-left: 8px; }
.k-md { background: var(--codru); } .k-dia { background: var(--sage); }
.bd-none { color: var(--faint); font-size: 14px; padding: 6px 0; list-style: none; }

/* ---------- barele orizontale ---------- */
.bd-bars { list-style: none; margin: 0; padding: 0; }
.bd-bar { display: grid !important; grid-template-columns: minmax(0, 42%) 1fr 40px; align-items: center; gap: 12px; width: 100%; height: 31px; padding: 0 6px !important; margin: 0 -6px; width: calc(100% + 12px); border-radius: 4px; transition: background .2s; }
.bd-bar:hover { background: var(--stone-2); }
.bd-lab { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s; }
.bd-lab small { color: var(--faint); font-size: 12.5px; margin-left: 4px; }
.bd-lab b { display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 8px; border-radius: 50%; background: var(--stone-2); font-size: 11.5px; font-weight: 700; color: var(--muted); vertical-align: 1px; }
.bd-track { position: relative; height: 12px; }
.bd-ghost, .bd-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; transform-origin: left center; }
.bd-ghost { background: var(--ghost); transition: transform .8s var(--e) calc(var(--i, 0) * 30ms); }
.bd-fill { background: var(--codru); transition: width .5s var(--e), background .25s, transform .8s var(--e) calc(var(--i, 0) * 30ms + 80ms); }
.bd-n { text-align: right; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.bd-bar.on .bd-fill { background: var(--wine); }
.bd-bar.on .bd-lab { color: var(--wine); font-weight: 650; }
.bd-bar.on .bd-lab b { background: var(--wine); color: #fff; }
.bd-bar.zero .bd-lab, .bd-bar.zero .bd-n { color: var(--faint); }
.bd-bars-sm .bd-bar { height: 27px; } .bd-bars-sm .bd-lab { font-size: 14px; } .bd-bars-sm .bd-track { height: 8px; }
.bd-doms li { transition: opacity .3s; }
.bd-doms.is-clipped li:nth-child(n+11) { display: none; }
.bd-more { margin-top: 10px; font-size: 14px !important; font-weight: 600; color: var(--codru) !important; }
.bd-more:hover { color: var(--wine) !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- anii ---------- */
.bd-cols { display: flex; align-items: stretch; gap: 6px; height: 212px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bd-col { flex: 1; display: flex !important; flex-direction: column; align-items: stretch; min-width: 0; padding: 0 2px !important; border-radius: 4px; transition: background .2s; }
.bd-col:hover, .bd-col.pre { background: var(--stone-2); }
.bd-col.pre { background: var(--wine-soft); }
.bd-cv { height: 20px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bd-cbox { position: relative; flex: 1; }
.bd-cbox .bd-ghost { top: auto; right: 0; border-radius: 2px 2px 0 0; transform-origin: bottom; transition: transform .8s var(--e) calc(var(--i, 0) * 35ms); }
.bd-stack { position: absolute; left: 0; right: 0; bottom: 0; top: 0; display: flex; flex-direction: column; justify-content: flex-end; transform-origin: bottom; transition: transform .8s var(--e) calc(var(--i, 0) * 35ms + 80ms), opacity .3s; }
.bd-stack > span { display: block; transition: height .5s var(--e), background .25s; }
.bd-md { background: var(--codru); } .bd-dia { background: var(--sage); border-radius: 2px 2px 0 0; }
.bd-md:only-child, .bd-dia[style*="height:0"] + .bd-md, .bd-dia[style*="height: 0"] + .bd-md { border-radius: 2px 2px 0 0; }
.bd-cl { height: 22px; padding-top: 6px; text-align: center; font-size: 12px; color: var(--muted); }
.has-years .bd-col:not(.on) .bd-stack { opacity: .3; }
.bd-col.on .bd-md { background: var(--wine); } .bd-col.on .bd-dia { background: #c98591; }
.bd-col.on .bd-cl, .bd-col.on .bd-cv { color: var(--wine); font-weight: 700; }
.is-brushing .bd-col { cursor: ew-resize; }

/* ---------- harta ---------- */
.bd-mapbox { position: relative; aspect-ratio: 1.9; margin: 0 -8px; background: linear-gradient(#fbfbf9, #f6f5f1); border-radius: 6px; overflow: hidden; }
.bd-mapbox svg { display: block; width: 100%; height: 100%; }
.bd-land { fill: #e3e1d8; }
.bd-land .b, .bd-land path.b { stroke: #fbfbf9; stroke-width: .7px; vector-effect: non-scaling-stroke; fill: none; }
.bd-land-w { display: none; }
.is-zooming .bd-land-w, .is-world .bd-land-w { display: inline; }
.is-zooming .bd-land-e, .is-world .bd-land-e { display: none; }
.bd-mdshape { fill: var(--codru); }
.bd-arcs path { fill: none; stroke: var(--wine); stroke-opacity: .5; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: stroke-opacity .3s; }
.bd-arcs path.on { stroke-opacity: 1; }
.mode-mk .bd-arcs path { stroke: var(--codru); stroke-opacity: .42; }
.mode-mk .bd-arcs path.on { stroke: var(--wine); stroke-opacity: 1; }
.bd-pts circle { fill: var(--wine); fill-opacity: .9; stroke: #fff; stroke-width: 1.5px; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .2s, fill-opacity .2s; outline: none; }
.mode-mk .bd-pts circle { fill: var(--codru); }
.bd-pts circle:hover, .bd-pts circle:focus-visible { fill-opacity: 1; stroke: var(--codru-2); stroke-width: 2.5px; }
.bd-pts circle.on, .mode-mk .bd-pts circle.on { fill: var(--wine); stroke: var(--codru-2); stroke-width: 2.5px; }
.bd-mdpin circle { fill: #fff; stroke: var(--codru-2); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.bd-mdlabel { position: absolute; left: 14px; top: 12px; padding: 6px 10px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 6px; font-size: 13.5px; color: var(--muted); }
.bd-mdlabel b { color: var(--codru-2); font-weight: 650; }
.bd-mdlabel::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 2px; background: var(--codru); }
.bd-zoom { position: absolute; right: 12px; bottom: 12px; height: 30px; padding: 0 12px 0 10px !important; background: #fff !important; border: 1px solid var(--line) !important; border-radius: 15px; font-size: 13px !important; font-weight: 600; color: var(--codru-2) !important; display: inline-flex !important; align-items: center; gap: 6px; transition: border-color .2s; }
.bd-zoom::before { content: ''; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230f2a1e' stroke-width='1.4'%3E%3Ccircle cx='6' cy='6' r='5'/%3E%3Cpath d='M1 6h10M6 1c2 2.5 2 7.5 0 10M6 1c-2 2.5-2 7.5 0 10'/%3E%3C/svg%3E") center/contain no-repeat; }
.bd-zoom:hover { border-color: var(--codru) !important; }
.bd-tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 10px)); padding: 6px 10px; background: var(--codru-2); color: #fff; border-radius: 5px; font-size: 13px; white-space: nowrap; pointer-events: none; }
.bd-tip b { font-weight: 650; margin-right: 4px; }
.bd-tip::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.bd-rank, .bd-regions { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bd-regions { margin-top: 6px; }
.bd-regions:not([hidden])::before { content: 'Regiuni:'; font-size: 13px; color: var(--faint); align-self: center; margin-right: 2px; }
.bd-rk { height: 30px; padding: 0 10px !important; border: 1px solid var(--line) !important; border-radius: 15px; font-size: 13.5px; transition: border-color .2s, background .2s, color .2s; white-space: nowrap; }
.bd-rk:hover { border-color: var(--codru) !important; }
.bd-rk.on { background: var(--wine) !important; border-color: var(--wine) !important; color: #fff; font-weight: 600; }
.bd-rk.on .bd-c { color: #fff; opacity: .75; }

/* ---------- cele mai finanțate ---------- */
.bd-top { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.bd-top li { counter-increment: t; }
.bd-top a { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; }
.bd-top li:last-child a { border-bottom: 0; }
.bd-top a::before { content: counter(t); width: 14px; color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.bd-top a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-top a b { font-weight: 650; color: var(--codru-2); }
.bd-top a:hover { text-decoration: none; color: var(--wine); } .bd-top a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- lista ---------- */
.bd-list { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.bd-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.bd-list-head h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--codru-2); }
.bd-list-tools { display: flex; gap: 8px; }
.bd-list-tools input { height: 36px; width: 240px; padding: 0 12px; border: 1px solid var(--border); border-radius: 6px; font: inherit; font-size: 14.5px; background: #fff; }
.bd-tr { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.1fr) 64px 84px; gap: 16px; align-items: center; padding: 11px 22px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; }
a.bd-tr:hover { background: var(--stone-2); text-decoration: none; color: var(--ink-2); }
a.bd-tr:hover .bd-name b { color: var(--wine); }
#bd-rows .bd-tr:last-child { border-bottom: 0; }
.bd-th { padding-top: 9px; padding-bottom: 9px; background: var(--stone-2); }
.bd-th button { font-size: 13.5px !important; color: var(--muted) !important; font-weight: 600; display: inline-flex !important; align-items: center; gap: 4px; }
.bd-th button:hover { color: var(--codru-2) !important; }
.bd-th button.on { color: var(--codru-2) !important; }
.bd-th button.on::after { content: ''; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.bd-th button.on[data-dir="1"]::after { border-top-color: transparent; border-bottom-color: currentColor; margin: 0 0 4px; }
.bd-th span:nth-child(n+5) { text-align: right; } .bd-th span:nth-child(n+5) button { justify-content: flex-end; }
.bd-name { min-width: 0; }
.bd-name b { display: block; font-weight: 650; color: var(--codru-2); transition: color .2s; }
.bd-name small { display: block; color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-num { text-align: right; }
#bd-rows .bd-none { padding: 18px 22px; }
.bd-linkbtn { color: var(--codru) !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }
.bd-list-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--line); }
.bd-list-foot .btn[hidden] + a { margin-left: auto; }

/* ---------- intrarea: datele cresc din zero, o singură dată ---------- */
.bd-wait .bd-panel:not(.bd-seen) .bd-ghost, .bd-wait .bd-panel:not(.bd-seen) .bd-fill { transform: scaleX(0); }
.bd-wait .bd-panel:not(.bd-seen) .bd-cbox .bd-ghost, .bd-wait .bd-panel:not(.bd-seen) .bd-stack { transform: scaleY(0); }
.bd-wait .bd-panel:not(.bd-seen) .bd-pts circle { opacity: 0; }
.bd-pts circle { transition: fill .2s, fill-opacity .2s, opacity .6s .5s; }

/* ---------- ecrane mici ---------- */
@media (max-width: 1100px) {
  .bd-kpis { grid-template-columns: repeat(3, 1fr); }
  .bd-kpi:nth-child(4) { border-left: 0; } .bd-kpi:nth-child(n+4) { border-top: 1px solid var(--line); }
  .bd-v { font-size: 34px; }
}
@media (max-width: 900px) {
  .bd-panel, .bd-panel[data-span] { grid-column: 1 / -1; }
  .bd-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bd-tr { grid-template-columns: minmax(0, 1fr) 84px; }
  .bd-tr > :nth-child(n+2):not(:last-child) { display: none; }
}
@media (max-width: 620px) {
  .bd-head h2 { font-size: 28px; }
  .bd-kpis { grid-template-columns: repeat(2, 1fr); }
  .bd-kpi { padding: 14px 14px 15px; }
  .bd-kpi:nth-child(n) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .bd-kpi:nth-child(odd) { border-left: 0; } .bd-kpi:nth-child(-n+2) { border-top: 0; }
  .bd-v { font-size: 30px; }
  .bd-panel { padding: 16px 14px 18px; }
  .bd-cols { gap: 2px; height: 180px; }
  .bd-col:nth-child(even) .bd-cl { visibility: hidden; }
  .bd-cv { font-size: 10.5px; }
  .bd-bar { grid-template-columns: minmax(0, 46%) 1fr 34px; gap: 8px; }
  .bd-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
  .bd-filters::-webkit-scrollbar { display: none; }
  .bd-list-head, .bd-tr, .bd-list-foot { padding-left: 14px; padding-right: 14px; }
  .bd-list-tools { width: 100%; } .bd-list-tools input { flex: 1; width: auto; }
  .bd-list-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .bd-mapbox { margin: 0 -4px; aspect-ratio: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .bd *, .bd *::before, .bd *::after { transition: none !important; animation: none !important; }
}

/* ---------- capul paginii: titlu și căutare ---------- */
.hm-hero { padding: 44px 0 34px; }
.hm-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.hm-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.hm-live { width: 8px; height: 8px; border-radius: 50%; background: var(--codru); box-shadow: 0 0 0 0 rgba(24, 58, 43, .4); animation: hm-pulse 2.4s ease-out infinite; }
@keyframes hm-pulse { 70% { box-shadow: 0 0 0 8px rgba(24, 58, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 58, 43, 0); } }
.hm-title h1 { margin: 0; font-family: var(--f-display); font-variation-settings: var(--f-display-v); font-weight: 600; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -.025em; color: var(--codru-2); text-wrap: balance; }
.hm-find { padding-bottom: 4px; }
.hm-search { position: relative; display: flex; align-items: center; height: 54px; padding: 0 14px 0 16px; gap: 10px; background: #fff; border: 1.5px solid var(--codru-2); border-radius: 8px; color: var(--muted); transition: box-shadow .25s; }
.hm-search:focus-within { box-shadow: 0 0 0 4px var(--brand-soft); }
.hm-search input { flex: 1; min-width: 0; height: 100%; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent; font: inherit; font-size: 17px; color: var(--text); padding: 0; }
.hm-search kbd { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 4px; font: 600 13px var(--font); color: var(--faint); }
.hm-search:focus-within kbd { display: none; }
.hm-hint { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }
.hm-results { position: absolute; z-index: 20; left: -1.5px; right: -1.5px; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px rgba(15, 42, 30, .16); animation: bd-pop .2s var(--e, ease) both; transform-origin: top; }
.hm-results a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 9px 10px; border-radius: 5px; color: var(--ink-2); }
.hm-results a b { font-weight: 650; color: var(--codru-2); }
.hm-results a small { grid-column: 1; color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-results a em { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-size: 13px; color: var(--faint); }
.hm-results a mark { background: var(--wine-soft); color: inherit; border-radius: 2px; }
.hm-results [aria-selected="true"] a, .hm-results a:hover { background: var(--stone-2); text-decoration: none; }
.hm-results .hm-all a { display: block; color: var(--codru); font-weight: 600; font-size: 14px; border-top: 1px solid var(--line); border-radius: 0 0 5px 5px; margin-top: 4px; }
@media (max-width: 900px) { .hm-hero-in { grid-template-columns: 1fr; gap: 22px; } .hm-hero { padding: 28px 0 24px; } }

/* scara mărită pentru selecții mici */
.bd-bars.is-zoomed .bd-ghost, .bd-cols.is-zoomed .bd-ghost { opacity: 0; }
.bd-ghost { transition-property: transform, opacity; }
.bd-bars, .bd-cols { position: relative; }
.bd-bars.is-zoomed::before, .bd-cols.is-zoomed::before { content: 'scară mărită pentru selecție'; position: absolute; right: 0; top: -20px; font-size: 12px; color: var(--faint); }
.bd-cols.is-zoomed::before { top: -22px; }
.bd-doms.is-clipped li:nth-child(n+11) { display: list-item; }
.bd-doms.is-clipped li:nth-child(n+13) { display: none; }
.bd-regions[hidden] { display: none; }
.hm-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%235a605b' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (max-width: 620px) {
  .bd-panel > header { flex-wrap: wrap; row-gap: 6px; }
  .bd-key { width: 100%; } .bd-key i:first-child { margin-left: 0; }
  .bd-list-tools { flex-wrap: nowrap; } .bd-list-tools input { min-width: 0; } .bd-list-tools .bd-share { padding: 0 10px !important; }
  .bd-bars.is-zoomed::before { top: -18px; }
}
