/* Corecturi peste tema bimx.md (victor-child), încărcate pe toate paginile după stilurile temei.
   Numerele UI-xx trimit la problemele din audits/ui-ux-audit.html. Transformările făcute direct în CSS-ul
   temei (culoarea textului albastru, mărimea corpului de text) sunt în tools/sitegen/fixes.py. */

/* ---------- UI-30: tokenuri comune bimx.md + BIMx Academy (Academy le folosește prin var(--bx-*)) ---------- */
:root {
  --bx-navy: #1A2266;
  --bx-blue: #1EB1F1;          /* fundaluri, iconițe, accente pe fundal închis */
  --bx-blue-ink: #1DB0F0;      /* albastrul de brand pentru text și accente */
  --bx-blue-light: #7DD3FC;    /* text albastru pe fundal închis */
  --bx-muted: #6A7181;
  --bx-border: #E5E7EB;
  --bx-green-ink: #047857;
  --bx-red-ink: #B91C1C;
  --bx-radius-sm: 8px;         /* butoane, câmpuri, etichete */
  --bx-radius-md: 12px;        /* carduri */
  --bx-radius-lg: 16px;        /* containere mari */
  --bx-radius-pill: 999px;
  --bx-fs-xs: 12px; --bx-fs-sm: 14px; --bx-fs-base: 16px; --bx-fs-lg: 18px;
  --bx-fs-xl: 20px; --bx-fs-2xl: 24px; --bx-fs-3xl: 32px; --bx-fs-4xl: 40px;
}

/* Antetul sticky stă deasupra conținutului paginii (inclusiv bara de secțiuni din Academy, z-index 5),
   ca submeniul deschis să nu fie acoperit la derulare. */
header.site-header { z-index: 100; }

/* După derulare (tema adaugă clasa .scrolled), antetul alb se separă de conținutul alb printr-o linie și o umbră. */
header.site-header { transition: box-shadow .2s ease; }
header.site-header.scrolled { box-shadow: 0 1px 0 #E5E7EB, 0 10px 24px -14px rgba(26, 34, 102, .28); }

@media screen and (min-width: 992px) {
  /* Fundalul submeniului: pe toată lățimea ferestrei (tema folosea 99vw și lăsa margini libere),
     separat de pagină printr-o linie sus și o umbră jos, ca să nu se contopească cu conținutul alb. */
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu:before {
    width: 100vw;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 18px 36px -12px rgba(26, 34, 102, .22);
  }
}

/* 100vw include lățimea barei de derulare pe sistemele cu bară clasică: fără derulare orizontală.
   `clip` (nu `hidden`) păstrează funcționarea antetului sticky. */
html, body { overflow-x: clip; }

/* ---------- UI-20: skip-link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100001;
  background: var(--bx-navy); color: #fff !important; padding: 10px 16px; border-radius: var(--bx-radius-sm);
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- UI-03: focus vizibil de la tastatură (tema are outline: none) ---------- */
/* „html” ridică specificitatea peste regula temei a:focus { outline: none !important } */
html :focus-visible { outline: 2px solid var(--bx-blue-ink) !important; outline-offset: 2px !important; border-radius: 2px; }
footer.site-footer :focus-visible, .second_main_section :focus-visible, .main_section :focus-visible,
.archive_main_section :focus-visible, .top_header :focus-visible, .bx-academy .second_main_section :focus-visible {
  outline-color: #fff !important;
}

/* ---------- UI-02: indicatorul de pre-lansare ---------- */
header.site-header .top_header .left_side .market_detail.bx-prelaunch span.icon { background: #9AA0B4; }
header.site-header .top_header .left_side .market_detail { color: #B8BCE6; }
.bx-prelaunch-more { margin-left: .35em; }
@media (max-width: 991px) { .bx-prelaunch-more { display: none; } }

/* ---------- UI-05: titlurile de grup din meniu nu sunt linkuri ---------- */
header.site-header .header_content .center nav ul.menu-wrapper a.bx-group-label { cursor: default; }

/* ---------- UI-04 / UI-21: butoanele antetului, zone de atingere ≥ 44 px ---------- */
header.site-header .header_content .right_side .search { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 991px) {
  header.site-header .header_content .right_side .burger { cursor: pointer; }
  header.site-header .header_content .right_side .burger::after { content: ""; position: absolute; inset: -12px -8px; }  /* zonă de atingere 45×44 px */
  header.site-header .top_header .lang-navigation ul li a { display: inline-block; padding: 12px 8px; }
  footer.site-footer .footer_content .column ul li a { display: inline-block; padding: 10px 0; }
  footer.site-footer .footer_bottom .lang-navigation ul li a { display: inline-block; padding: 12px 6px; }
  footer.site-footer .footer_partners .logos a { display: inline-block; padding: 8px 4px; }
}

/* ---------- UI-18: radius unificat pentru butoanele bimx.md ---------- */
.btn1, .btn2, .btn3, .for_who_is .block a { border-radius: var(--bx-radius-sm); }

/* ---------- UI-29: hero compact pe paginile interioare ---------- */
main.site-main .second_main_section { padding: 48px 0 56px; }
main.site-main .second_main_section h1 { font-size: 40px; line-height: 48px; }
@media (max-width: 768px) {
  main.site-main .second_main_section { padding: 32px 0 40px; }
  main.site-main .second_main_section h1 { font-size: 28px; line-height: 36px; }
}

/* ---------- UI-11 / UI-12: breadcrumbs ---------- */
ul.breadcrumbs li span.without_click { color: rgba(255, 255, 255, .72); }
ul.breadcrumbs { flex-wrap: wrap; row-gap: 4px; }

/* ---------- UI-02 / UI-22 / UI-06: tickerul ---------- */
.bimx-ticker-wrap.bx-ticker { position: relative; }
.bx-ticker-label, .bx-ticker-toggle {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); background: #fff;
  font-size: 12px; line-height: 16px; font-weight: 600; font-family: inherit;
}
.bx-ticker-label { left: 0; color: #5B6178; padding: 6px 14px 6px 20px; box-shadow: 14px 0 14px #fff; text-transform: uppercase; letter-spacing: .04em; }
.bx-ticker-toggle {
  right: 12px; padding: 6px 12px; border: 1px solid var(--bx-border); border-radius: var(--bx-radius-sm);
  color: var(--bx-navy); cursor: pointer; box-shadow: -14px 0 14px #fff; min-height: 32px;
}
.bx-ticker-toggle:hover { border-color: var(--bx-blue-ink); }
.bx-ticker.paused .bimx-ticker, .bx-ticker.paused:hover .bimx-ticker { animation-play-state: paused; }
.bimx-ticker-wrap .bimx-ticker .t-pct.neg { color: var(--bx-red-ink); }
@media (max-width: 600px) { .bx-ticker-label { padding-left: 12px; } .bx-ticker-toggle { right: 8px; } }
@media (prefers-reduced-motion: reduce) {
  .bimx-ticker { animation: none !important; }
  .bx-ticker-toggle { display: none; }
  html { scroll-behavior: auto !important; }
}

/* ---------- Prima pagină ---------- */
/* UI-34: eticheta categoriei, lizibilă peste imagine (orice categorie) */
.home_posts .posts .main_post .imag_wrap .data .post-category,
.home_posts .posts .main_post .imag_wrap .data .post-category.cat-anunt,
.home_posts .posts .main_post .imag_wrap .data .post-category.cat-stiri {
  color: #fff; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--bx-radius-pill); padding: 4px 12px; font-size: 13px; font-weight: 600;
}
.home_posts .posts .main_post .imag_wrap .data .post-category:before { display: none; }
/* UI-35: cardul mare cu același radius ca vecinii */
.home_posts .posts .main_post { border-radius: var(--bx-radius-lg); overflow: hidden; }
.home_posts .posts .main_post .imag_wrap { border-radius: var(--bx-radius-lg) var(--bx-radius-lg) 0 0; }
.home_posts .posts .main_post .post_content { border-radius: 0 0 var(--bx-radius-lg) var(--bx-radius-lg); }
/* lista de anunțuri din dreapta: același radius ca cardul din stânga */
.home_posts .posts .secondary_posts_list { border-radius: var(--bx-radius-lg); overflow: hidden; }
/* UI-36: iconițe SVG și titluri navy */

.for_who_is .block .title { color: var(--bx-navy); }
/* cardurile au aceeași înălțime; nota și butonul stau la baza fiecărui card */
.for_who_is .wrap { align-items: stretch; }
.for_who_is .block { display: flex; flex-direction: column; }
.for_who_is .block .note { margin-top: auto; }
.for_who_is .block > a { align-self: flex-start; }
/* UI-37: nota din card, lizibilă */
.for_who_is .block .note { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--bx-blue-ink); }

/* ---------- Subsol ---------- */
/* UI-08: „Rămâi informat” → urmărire pe rețelele sociale */
/* CSS-ul personalizat din WordPress ascundea blocul (.newsletter { display: none !important }) */
footer.site-footer .newsletter { display: block !important; }
footer.site-footer .newsletter .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
footer.site-footer .newsletter .right_side.bx-follow { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; max-width: 500px; }
.bx-follow-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--bx-radius-sm);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .3); color: #fff !important;
  font-weight: 600; font-size: 14px; text-decoration: none; transition: background .2s, border-color .2s;
}
.bx-follow-btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
@media (max-width: 768px) { footer.site-footer .newsletter .right_side.bx-follow { justify-content: flex-start; } }
/* UI-25: rețele sociale sub contacte */
footer.site-footer .bx-social { display: flex; gap: 10px; margin-top: 16px; }
footer.site-footer .bx-social a {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--bx-radius-sm);
  border: 1px solid rgba(255, 255, 255, .2); color: #fff;
}
footer.site-footer .bx-social a:hover { background: rgba(255, 255, 255, .1); }
/* UI-06: textul de jos al subsolului, lizibil */
footer.site-footer .footer_bottom p { color: rgba(255, 255, 255, .72); max-width: 900px; line-height: 18px; }
footer.site-footer .footer_bottom .lang-navigation ul li a { color: #B8BCE6; }

/* ---------- Pagini noi (UI-01, UI-33) și documente (UI-26) ---------- */
.bx-page { padding: 56px 0 88px; max-width: 880px; }
.bx-page h2 { color: var(--bx-navy); }
.bx-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.bx-timeline:before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: #D7ECF7; }
.bx-step { position: relative; padding: 0 0 36px 44px; }
.bx-step:last-child { padding-bottom: 0; }
.bx-step-dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--bx-blue-ink); }
.bx-step time { display: block; font-size: 14px; font-weight: 600; color: var(--bx-blue-ink); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.bx-step h2 { font-size: 22px; line-height: 30px; font-weight: 700; margin-bottom: 6px; }
.bx-step p, .bx-page-note, .bx-prep p { font-size: 16px; line-height: 26px; color: #4A5065; }
.bx-page-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bx-border); }
.bx-page-note a, .bx-prep a { color: var(--bx-blue-ink); text-decoration: underline; }
.bx-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bx-doc {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px; border: 1px solid var(--bx-border);
  border-radius: var(--bx-radius-md); color: var(--bx-blue-ink);
}
.bx-doc > div { flex: 1 1 auto; }
.bx-doc h2 { font-size: 18px; line-height: 26px; font-weight: 600; margin: 0; }
.bx-doc-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: var(--bx-radius-sm);
  border: 1px solid var(--bx-border); color: var(--bx-navy); font-weight: 600; font-size: 14px; text-decoration: none;
}
.bx-doc-btn:hover { border-color: var(--bx-blue-ink); color: var(--bx-blue-ink); }
@media (max-width: 600px) { .bx-doc { flex-wrap: wrap; } }
.bx-prep { padding: 28px; border: 1px solid var(--bx-border); border-radius: var(--bx-radius-md); background: #F8FAFC; }
.bx-prep p + p { margin-top: 8px; }
.bx-file { display: inline-block; margin-left: 6px; font-size: 13px; font-weight: 500; color: #5B6178; white-space: nowrap; }
.bx-doc .bx-file { margin: 2px 0 0; }
.bx-doc-soon { color: #5B6178; line-height: 1.6; }
.categorii_documente li:has(.bx-doc-soon) > svg { opacity: .35; }
.bx-doc-soon .bx-file, .bx-soon {
  display: inline-block; font-size: 12px; font-weight: 600; color: #5B6178; background: #EEF0F4; border-radius: var(--bx-radius-pill); padding: 2px 10px;
}

/* ---------- Cardurile din Noutăți & Comunicate / Știri: stare de hover și focus ---------- */
.featured-post-section article, .rest-of-posts-section .posts-grid article {
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.featured-post-section article:hover, .rest-of-posts-section .posts-grid article:hover,
.featured-post-section article:focus-within, .rest-of-posts-section .posts-grid article:focus-within {
  border-color: #1DB0F0; box-shadow: 0 12px 28px -12px rgba(26, 34, 102, .28); transform: translateY(-3px);
}
.featured-post-section article .post-thumbnail img, .rest-of-posts-section .posts-grid article .post-thumbnail-small img {
  transition: transform .5s ease;
}
.featured-post-section article:hover .post-thumbnail img, .rest-of-posts-section .posts-grid article:hover .post-thumbnail-small img {
  transform: translate(-50%, -50%) scale(1.04);
}
.featured-post-section article .entry-title a, .rest-of-posts-section .posts-grid article .post-title a { transition: color .3s; }
.featured-post-section article:hover .entry-title a, .rest-of-posts-section .posts-grid article:hover .post-title a { color: #1DB0F0; }
.rest-of-posts-section .posts-grid article .article_meta a svg, .featured-post-section article .article_meta a svg { transition: transform .3s; }
.rest-of-posts-section .posts-grid article:hover .article_meta a svg, .featured-post-section article:hover .article_meta a svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .featured-post-section article, .rest-of-posts-section .posts-grid article { transition: none; transform: none !important; }
  .featured-post-section article .post-thumbnail img, .rest-of-posts-section .posts-grid article .post-thumbnail-small img { transition: none; transform: translate(-50%, -50%) !important; }
}

/* =====================================================================================================
   REDESIGN 2026 – sistem de design comun pentru toate paginile bimx.md
   Principii: claritate și încredere instituțională; navy ca fundal de identitate, albastrul BIMx (#1DB0F0) ca accent;
   un singur container, o scară de spațiere de 8 px, carduri plate cu bordură fină, cifre tabulare în date.
   ===================================================================================================== */
:root {
  --bx-ink: #141A3D;           /* text principal */
  --bx-body: #3D4460;          /* text de corp */
  --bx-soft: #F5F7FB;          /* fundal secțiuni alternante */
  --bx-line: #E3E6EE;          /* borduri */
  --bx-navy-2: #111846;        /* hero */
  --bx-shadow: 0 1px 2px rgba(20, 26, 61, .04), 0 8px 24px -16px rgba(20, 26, 61, .18);
  --bx-space-1: 8px; --bx-space-2: 16px; --bx-space-3: 24px; --bx-space-4: 32px; --bx-space-6: 48px; --bx-space-8: 64px; --bx-space-10: 80px;
}

/* ---------- Container și ritm ---------- */
.container { max-width: 1280px !important; padding-left: 32px !important; padding-right: 32px !important; box-sizing: border-box; }
@media (max-width: 1024px) { .container { padding-left: 24px !important; padding-right: 24px !important; } }
@media (max-width: 768px) { .container { padding-left: 16px !important; padding-right: 16px !important; } }
body { color: var(--bx-body); font-feature-settings: "kern" 1; -webkit-font-smoothing: antialiased; }
main.site-main { font-size: 16px; line-height: 1.6; }
main.site-main h2 { letter-spacing: -.01em; }
main.site-main hr { border: 0; border-top: 1px solid var(--bx-line); margin: 0; }
main.site-main table, main.site-main .number, main.site-main time, .bimx-ticker { font-variant-numeric: tabular-nums; }

/* ---------- Butoane ---------- */
.bx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: var(--bx-radius-sm); font-weight: 600; font-size: 15px; line-height: 20px; text-decoration: none;
  border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s;
}
.bx-btn-primary { background: #1DB0F0; color: #fff !important; }
.bx-btn-primary:hover { background: #139BD6; }
.bx-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .4); }
.bx-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.bx-text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--bx-navy) !important; text-decoration: none; }
.bx-text-link:hover { color: #1DB0F0 !important; }
.bx-eyebrow { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #1DB0F0; margin: 0 0 12px; }

/* ---------- Secțiuni ---------- */
.bx-section { padding: var(--bx-space-10) 0; }
.bx-section-tight { padding-top: var(--bx-space-8); }
.bx-section-soft { background: var(--bx-soft); border-top: 1px solid var(--bx-line); border-bottom: 1px solid var(--bx-line); }
.bx-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: var(--bx-space-4); }
.bx-section-head h2 { font-size: 30px; line-height: 38px; font-weight: 700; color: var(--bx-navy); margin: 0; }
.bx-section-head p { font-size: 17px; line-height: 26px; color: #5B6178; margin: 0; max-width: 560px; }
@media (max-width: 768px) {
  .bx-section { padding: var(--bx-space-6) 0; }
  .bx-section-head h2 { font-size: 24px; line-height: 32px; }
}

/* ---------- Pagini interioare: hero, secțiuni, blocuri de stare ---------- */
main.site-main .second_main_section { background: linear-gradient(180deg, var(--bx-navy) 0%, var(--bx-navy-2) 100%); }
main.site-main .second_main_section .page_description { max-width: 720px; }
main.site-main .second_main_section .page_description p { font-size: 18px; line-height: 29px; color: rgba(255, 255, 255, .84); }
.second_main_section .label { border-radius: var(--bx-radius-pill); }
.date_section.bx-status-block { background: #F7FBFE; border-color: #CBE9F8; }
.date_section.bx-status-block h2 { color: var(--bx-navy); }
.new_call_to_action { margin: 64px 0 !important; }
@media (max-width: 768px) { .new_call_to_action { margin: 40px 0 !important; } }

/* ---------- Tabele (date de piață, acționariat, roadmap) ---------- */
main.site-main table { border-collapse: separate; border-spacing: 0; width: 100%; }
main.site-main table th { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #5B6178; background: var(--bx-soft); }
main.site-main table td { color: var(--bx-ink); }
main.site-main table tbody tr:hover td { background: #FAFBFD; }

/* ---------- Meniul mobil: pe toată lățimea ecranului (tema îl limita la 375 px) ---------- */
@media screen and (max-width: 991px) {
  header.site-header .header_content .center,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { max-width: 100% !important; width: 100% !important; }
}

/* ---------- Hero-ul listelor de articole și al articolelor: același ca pe restul paginilor ---------- */
.archive_main_section { background: linear-gradient(180deg, var(--bx-navy) 0%, var(--bx-navy-2) 100%) !important; padding: 48px 0 56px !important; }
.archive_main_section:before { display: none !important; }
.archive_main_section h1, .single_anunturi_bimx .archive_main_section h1 { font-size: 40px !important; line-height: 48px !important; letter-spacing: -.01em; }
.archive_main_section p { font-size: 18px; line-height: 29px; color: rgba(255, 255, 255, .84); max-width: 720px; }
@media (max-width: 768px) {
  .archive_main_section { padding: 32px 0 40px !important; }
  .archive_main_section h1, .single_anunturi_bimx .archive_main_section h1 { font-size: 28px !important; line-height: 36px !important; }
}
/* textul articolelor: lungime de rând lizibilă */
.single_anunturi_bimx .ev_content p, .single_anunturi_bimx .ev_content li { font-size: 17px; line-height: 1.7; max-width: 72ch; }

/* ---------- Ferestrele modale (biografiile din Consiliu, formularul de contact) stau deasupra antetului sticky ---------- */
.team .team_section .modal_overlay, footer.site-footer .contact_modal_overlay { z-index: 1000 !important; }
.team .team_section .modal_overlay { cursor: pointer; }
.team .team_section .modal_overlay .modal_content_member { cursor: auto; }

/* ---------- Butonul „Intră în cont” din antet ---------- */
header.site-header .header_content .right_side .btn1.bx-login {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 22px; border-radius: var(--bx-radius-sm);
  background: var(--bx-navy); color: #fff !important; font-weight: 600; font-size: 15px; line-height: 20px; white-space: nowrap;
}
header.site-header .header_content .right_side .btn1.bx-login:hover { background: #1DB0F0; }
header.site-header .header_content .right_side .btn1.bx-login[aria-current="page"] { box-shadow: 0 0 0 3px rgba(29, 176, 240, .35); }

/* ---------- Pagina „Intră în cont” ---------- */
.bx-login-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 56px 0 88px; align-items: start; }
.bx-login-card { border: 1px solid var(--bx-line); border-radius: var(--bx-radius-lg); padding: 32px; box-shadow: var(--bx-shadow); background: #fff; }
.bx-login-notice { display: flex; gap: 12px; padding: 14px 16px; margin-bottom: 28px; border-radius: var(--bx-radius-sm); background: #FFF8E6; border: 1px solid #F5DEA3; color: #7A4A00; }
.bx-login-notice svg { flex: 0 0 auto; margin-top: 2px; }
.bx-login-notice strong { display: block; color: #5C3700; font-size: 15px; margin-bottom: 2px; }
.bx-login-notice p { margin: 0; font-size: 14px; line-height: 21px; }
.bx-login-card h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--bx-navy); margin: 0 0 20px; }
.bx-login-card h2 svg { color: #1DB0F0; }
.bx-login-form label { display: block; font-size: 14px; font-weight: 600; color: var(--bx-ink); margin: 0 0 6px; }
.bx-login-form input[type="text"], .bx-login-form input[type="password"] {
  width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; margin: 0 0 18px; font: inherit; font-size: 16px; color: var(--bx-ink);
  border: 1px solid #C9CEDB; border-radius: var(--bx-radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.bx-login-form input:focus { border-color: #1DB0F0; box-shadow: 0 0 0 3px rgba(29, 176, 240, .2); outline: none; }
.bx-pass-wrap { position: relative; }
.bx-pass-wrap input { padding-right: 150px !important; }
.bx-pass-toggle {
  position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--bx-soft);
  color: var(--bx-navy); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.bx-login-form .bx-check { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--bx-body); margin: 0 0 22px; cursor: pointer; }
.bx-login-form .bx-check input { width: 18px; height: 18px; margin: 0; accent-color: #1DB0F0; }
.bx-login-submit { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.bx-login-form .replica-note { margin: 12px 0 0 !important; padding: 10px 12px; border-radius: var(--bx-radius-sm); background: #FEF3F2; }
.bx-login-help { margin: 20px 0 0; font-size: 14px; line-height: 21px; color: var(--bx-body); }
.bx-login-help a, .bx-login-noacc a { color: #1DB0F0; text-decoration: underline; }
.bx-login-side h2 { font-size: 22px; line-height: 30px; font-weight: 700; color: var(--bx-navy); margin: 8px 0 16px; }
.bx-who { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--bx-line); }
.bx-who li { border-bottom: 1px solid var(--bx-line); }
.bx-who a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; text-decoration: none; }
.bx-who strong { color: var(--bx-navy); font-size: 16px; }
.bx-who span { grid-column: 1; color: #5B6178; font-size: 14px; line-height: 21px; }
.bx-who svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #1DB0F0; transition: transform .2s; }
.bx-who a:hover strong { color: #1DB0F0; }
.bx-who a:hover svg { transform: translateX(3px); }
.bx-login-arena { font-size: 14px; line-height: 22px; color: var(--bx-body); padding: 14px 16px; background: var(--bx-soft); border-radius: var(--bx-radius-sm); margin: 0 0 20px; }
.bx-login-noacc strong { color: var(--bx-navy); }
.bx-login-noacc p { margin: 4px 0 0; font-size: 14px; line-height: 21px; }
@media (max-width: 991px) { .bx-login-page { grid-template-columns: 1fr; padding: 32px 0 56px; } .bx-login-card { padding: 22px 18px; } }
/* pe mobil „Intră în cont” e în meniul mobil (elementul hide_desktop), nu lângă burger */
@media (max-width: 991px) { header.site-header .header_content .right_side .btn1.bx-login { display: none; } }
.bx-who strong { font-weight: 600; }
.bx-login-notice strong, .bx-login-noacc strong, .bx-login-help strong { font-weight: 600; }

/* =====================================================================================================
   PRIMA PAGINĂ – „ușa de intrare” (sitegen/home.py)
   Hero navy cu diagrama infrastructurii de piață → date importante (axă) → trasee → anunțuri → încredere.
   ===================================================================================================== */
/* ---------- Hero ---------- */
.bx-fd-hero { background: var(--bx-navy); color: #fff; position: relative; overflow: hidden; }
.bx-fd-hero:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .08); }
.bx-fd-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; min-height: 520px; padding-top: 48px; padding-bottom: 48px; }
.bx-fd-hero h1 { font-size: 46px; line-height: 54px; font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 0 0 20px; max-width: 560px; }
.bx-fd-lead-text { font-size: 19px; line-height: 30px; color: rgba(255, 255, 255, .8); margin: 0 0 36px; max-width: 520px; }
.bx-fd-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 6px;
  background: #1DB0F0; color: #fff !important; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s;
}
.bx-fd-cta:hover { background: #139BD6; }
.bx-fd-status {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 44px 0 0; padding-top: 20px; max-width: 520px;
  border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; line-height: 21px; color: rgba(255, 255, 255, .72);
}
.bx-fd-status strong { color: #fff; font-weight: 600; }
.bx-fd-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #F5B83D; align-self: center; box-shadow: 0 0 0 3px rgba(245, 184, 61, .2); }
.bx-fd-visual { margin: 0; }
.bx-fd-diagram { display: block; width: 100%; height: auto; }
.bx-fd-diagram text { font-family: "Prompt", sans-serif; }
.bx-fd-t1 { font-size: 15px; font-weight: 600; fill: #fff; }
.bx-fd-t2 { font-size: 12px; fill: rgba(255, 255, 255, .62); }
.bx-fd-t3 { font-size: 13px; font-weight: 500; fill: #1A2266; }
.bx-fd-logo { font-size: 40px; font-weight: 700; fill: #1A2266; letter-spacing: -.02em; }
.bx-fd-tag { font-size: 11px; font-weight: 700; fill: #fff; letter-spacing: .03em; }
.bx-fd-visual figcaption { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .6); text-align: center; }
.bx-fd-visual figcaption a { color: #7DD3FC; text-decoration: none; }
.bx-fd-visual figcaption a:hover { text-decoration: underline; }

/* ---------- Titluri de secțiune comune ---------- */
.bx-fd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.bx-fd-head h2, .bx-fd-paths h2 { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -.01em; color: var(--bx-navy); margin: 0; }
.bx-fd-head p { margin: 8px 0 0; font-size: 16px; line-height: 25px; color: #5B6178; }
.bx-fd-eyebrow { font-size: 14px !important; font-weight: 600; color: #1DB0F0 !important; margin: 0 0 6px !important; }
.bx-fd-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--bx-navy) !important; text-decoration: none; border-bottom: 2px solid #1DB0F0; padding-bottom: 4px; }
.bx-fd-link:hover { color: #1DB0F0 !important; }

/* ---------- Date importante: axă ---------- */
.bx-fd-dates { padding: 64px 0 96px; background: #fff; }
.bx-fd-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.bx-fd-track:before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--bx-line); }
.bx-fd-date { position: relative; padding: 44px 28px 0 0; }
.bx-fd-node { position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #C9CEDB; box-sizing: border-box; }
.bx-fd-date.is-done .bx-fd-node { background: var(--bx-navy); border-color: var(--bx-navy); }
.bx-fd-date.is-done:after { content: ""; position: absolute; left: 24px; right: 0; top: 11px; height: 2px; background: var(--bx-navy); }
.bx-fd-date.is-next .bx-fd-node { border: 6px solid #1DB0F0; box-shadow: 0 0 0 6px rgba(29, 176, 240, .15); }
.bx-fd-next { position: absolute; top: 0; left: 36px; font-size: 12px; line-height: 24px; font-weight: 700; color: #1DB0F0; }
.bx-fd-day { margin: 0 0 10px; display: flex; align-items: baseline; gap: 10px; }
.bx-fd-day strong { font-size: 44px; line-height: 44px; font-weight: 700; color: var(--bx-navy); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.bx-fd-day span { font-size: 15px; font-weight: 500; color: #5B6178; }
.bx-fd-what { margin: 0 0 12px; font-size: 17px; line-height: 25px; font-weight: 600; color: var(--bx-ink); max-width: 260px; }
.bx-fd-date.is-done .bx-fd-day strong, .bx-fd-date.is-done .bx-fd-what { color: #6A7181; }
.bx-fd-state { display: inline-block; font-size: 12px; line-height: 18px; font-weight: 600; padding: 1px 8px; border-radius: 4px; }
.bx-fd-state-done { background: #E7F5EE; color: #1F7A4D; }
.bx-fd-state-confirmed { background: #E6F5FC; color: #1DB0F0; }
.bx-fd-state-tentative { background: #FFF6E5; color: #8A5A0B; }

/* ---------- Trasee ---------- */
.bx-fd-paths { padding: 88px 0; background: #F4F6FA; }
.bx-fd-paths h2 { margin-bottom: 40px; }
.bx-fd-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--bx-line); border: 1px solid var(--bx-line); }
.bx-fd-path { background: #fff; padding: 36px 32px 32px; display: flex; flex-direction: column; }
.bx-fd-path-icon { color: #1DB0F0; margin-bottom: 24px; }
.bx-fd-path h3 { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--bx-navy); margin: 0 0 12px; }
.bx-fd-path p { font-size: 16px; line-height: 26px; color: var(--bx-body); margin: 0 0 28px; }
.bx-fd-path a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--bx-navy) !important; text-decoration: none; }
.bx-fd-path a svg { color: #1DB0F0; transition: transform .2s; }
.bx-fd-path:hover { box-shadow: inset 0 3px 0 #1DB0F0; }
.bx-fd-path a:hover svg { transform: translateX(4px); }

/* ---------- Anunțuri ---------- */
.bx-fd-news { padding: 88px 0; background: #fff; }
.bx-fd-news-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; }
.bx-fd-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 10px; font-size: 13px; line-height: 18px; }
.bx-fd-meta span { font-weight: 600; color: #1DB0F0; }
.bx-fd-meta time { color: #5B6178; }
.bx-fd-lead { border-left: 3px solid #1DB0F0; padding: 4px 0 4px 32px; }
.bx-fd-lead h3 { font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 16px; }
.bx-fd-lead h3 a { color: var(--bx-navy) !important; text-decoration: none; }
.bx-fd-lead h3 a:hover { color: #1DB0F0 !important; }
.bx-fd-lead-sum { font-size: 17px; line-height: 27px; color: var(--bx-body); margin: 0 0 24px; }
.bx-fd-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--bx-navy) !important; text-decoration: none; }
.bx-fd-more svg { color: #1DB0F0; }
.bx-fd-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bx-line); }
.bx-fd-list li { border-bottom: 1px solid var(--bx-line); }
.bx-fd-list a { display: block; padding: 20px 0; text-decoration: none; }
.bx-fd-item-title { display: block; font-size: 17px; line-height: 25px; font-weight: 600; color: var(--bx-navy); }
.bx-fd-list a:hover .bx-fd-item-title { color: #1DB0F0; text-decoration: underline; }

/* ---------- Încredere instituțională ---------- */
.bx-fd-trust { padding: 72px 0; background: #F4F6FA; border-top: 1px solid var(--bx-line); }
.bx-fd-trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: center; }
.bx-fd-trust h2 { font-size: 26px; line-height: 34px; font-weight: 700; color: var(--bx-navy); margin: 0 0 12px; }
.bx-fd-trust p { font-size: 16px; line-height: 25px; color: var(--bx-body); margin: 0; }
.bx-fd-trust-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bx-fd-trust-links a { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 20px; background: #fff; border: 1px solid var(--bx-line); border-radius: 6px; text-decoration: none; transition: border-color .2s; }
.bx-fd-trust-links a:hover { border-color: #1DB0F0; }
.bx-fd-trust-icon { color: #1DB0F0; margin-bottom: 8px; }
.bx-fd-trust-links strong { font-size: 16px; font-weight: 600; color: var(--bx-navy); }
.bx-fd-trust-links span { font-size: 14px; line-height: 20px; color: #5B6178; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bx-fd-hero-grid { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .bx-fd-visual { max-width: 560px; }
  .bx-fd-trust-grid { grid-template-columns: 1fr; gap: 28px; }
  .bx-fd-trust-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bx-fd-track { grid-template-columns: 1fr; gap: 0; }
  .bx-fd-track:before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .bx-fd-date { padding: 0 0 36px 48px; }
  .bx-fd-date.is-done:after { left: 11px; right: auto; top: 24px; bottom: 0; width: 2px; height: auto; }
  .bx-fd-next { position: static; display: block; margin-bottom: 4px; }
  .bx-fd-path-grid { grid-template-columns: 1fr; }
  .bx-fd-news-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .bx-fd-hero-grid { padding-top: 40px; padding-bottom: 32px; }
  .bx-fd-hero h1 { font-size: 34px; line-height: 42px; }
  .bx-fd-lead-text { font-size: 17px; line-height: 27px; margin-bottom: 28px; }
  .bx-fd-status { margin-top: 32px; }
  .bx-fd-dates, .bx-fd-paths, .bx-fd-news { padding: 56px 0; }
  .bx-fd-head h2, .bx-fd-paths h2 { font-size: 26px; line-height: 34px; }
  .bx-fd-day strong { font-size: 34px; line-height: 36px; }
  .bx-fd-path { padding: 28px 22px; }
  .bx-fd-lead { padding-left: 20px; }
  .bx-fd-lead h3 { font-size: 24px; line-height: 32px; }
  .bx-fd-trust-links { grid-template-columns: 1fr; }
}

/* ---------- Meniul Piață: grupul „Tranzacționare”; pe desktop legăturile din grupuri sunt vizibile direct ---------- */
@media (min-width: 992px) {
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu { display: block !important; }
}
@media (min-width: 992px) {
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { max-width: min(1216px, calc(100vw - 64px)) !important; }
}

/* =====================================================================================================
   DESIGN 2026 – antet compact, căutare ca dialog, hero cu „Pomul vieții”, subsol nou, plăci de iconițe unitare
   ===================================================================================================== */

/* ---------- Antet compact ---------- */
header.site-header { background: #fff; }
header.site-header .header_content { padding: 12px 0; border-bottom: 1px solid var(--bx-line); }
header.site-header .header_content .wrap { gap: 20px; }
header.site-header .header_content .left_side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
header.site-header .header_content .left_side img.custom-logo { height: 36px; width: auto; }
.bx-prelaunch-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #FFF6E5;
  color: #8A5A0B; font-size: 12px; font-weight: 600; line-height: 16px; white-space: nowrap; cursor: help;
}
.bx-prelaunch-badge span { width: 6px; height: 6px; border-radius: 50%; background: #E3A008; }
@media (min-width: 992px) {
  header.site-header .header_content .center nav ul.menu-wrapper > li { margin: 0 2px; }
  header.site-header .header_content .center nav ul.menu-wrapper > li > a {
    text-transform: none; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--bx-navy);
    padding: 8px 12px; border-radius: 8px; background: transparent !important; transition: background .15s, color .15s;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li:hover > a,
  header.site-header .header_content .center nav ul.menu-wrapper > li:has(> ul.sub-menu.active) > a { background: #F1F4F9 !important; color: var(--bx-navy) !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.current-menu-ancestor > a,
  header.site-header .header_content .center nav ul.menu-wrapper > li.current-menu-item > a { color: #1DB0F0 !important; background: rgba(29, 176, 240, .1) !important; }
  /* panoul meniului: toate opțiunile vizibile, pe coloane */
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu {
    top: calc(100% + 0px) !important; padding: 28px 0 24px; max-width: min(1216px, calc(100vw - 64px)) !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu:before { border-top: 1px solid var(--bx-line); box-shadow: 0 24px 40px -24px rgba(20, 26, 61, .25); }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li { width: calc(25% - 24px); margin: 0 32px 18px 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li:nth-of-type(4n + 1) { margin-right: 32px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu { display: block !important; padding: 2px 0 0; }
}
header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > a,
header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > ul > li a {
  text-transform: none; letter-spacing: 0; border-radius: 6px !important;
}
@media (min-width: 992px) {
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > a {
    display: block; font-size: 15px; font-weight: 600; line-height: 22px; color: var(--bx-navy); padding: 6px 10px; margin-left: -10px;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > a:after { display: none; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a {
    font-size: 12px; font-weight: 600; color: #5B6178; letter-spacing: .02em; padding: 0 0 6px; margin: 0 0 4px; border-bottom: 1px solid var(--bx-line);
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > ul > li a {
    display: block; font-size: 15px; font-weight: 500; line-height: 22px; color: var(--bx-navy); padding: 6px 10px; margin-left: -10px;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu a:hover,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li:not(.not_click) > a:hover { background: #F1F4F9 !important; color: #1DB0F0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu li.current-menu-item > a { color: #1DB0F0 !important; background: rgba(29, 176, 240, .1) !important; }
}
/* dreapta: căutare, limbă, cont */
header.site-header .header_content .right_side { gap: 8px; flex: 0 0 auto; }
header.site-header .header_content .right_side .search { margin: 0 !important; width: 40px; height: 40px; min-width: 40px; min-height: 40px; border-radius: 8px; }
header.site-header .header_content .right_side .search:hover { background: #F1F4F9; }
header.site-header .header_content .right_side .search svg { width: 20px; height: 20px; }
.bx-lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 8px; background: #F1F4F9; margin: 0 4px; }
.bx-lang a { font-size: 13px; font-weight: 600; color: #5B6178 !important; padding: 5px 9px; border-radius: 6px; line-height: 16px; text-decoration: none; }
.bx-lang a:hover { color: var(--bx-navy) !important; }
.bx-lang a[aria-current] { background: #fff; color: var(--bx-navy) !important; box-shadow: 0 1px 2px rgba(20, 26, 61, .12); }
header.site-header .header_content .right_side .btn1.bx-login { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 8px; }
@media (max-width: 991px) {
  .bx-lang { display: none; }
  .bx-prelaunch-badge { font-size: 11px; padding: 2px 8px; }
  header.site-header .header_content .center { top: 65px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { top: 65px !important; }
}
@media (max-width: 380px) { .bx-prelaunch-badge { display: none; } }

/* ---------- Căutarea: dialog centrat peste fundal estompat ---------- */
.modal_search_form {
  position: fixed !important; inset: 0 !important; top: 0 !important; height: auto !important; min-height: 100vh; z-index: 2000;
  display: flex !important; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px !important;
  background: rgba(15, 20, 56, .55) !important; backdrop-filter: blur(3px); box-shadow: none !important;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility .18s;
}
.modal_search_form.active { opacity: 1; visibility: visible; pointer-events: auto; }
.modal_search_form.bx-has-results { padding-bottom: 16px !important; overflow: auto; }
.modal_search_form > .container {
  position: relative; width: 100%; max-width: 720px !important; padding: 16px !important; background: #fff; border-radius: 14px;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, .35); transform: translateY(-8px); transition: transform .18s ease;
}
.modal_search_form.active > .container { transform: none; }
.modal_search_form .close {
  position: absolute !important; top: 16px !important; right: 16px !important; left: auto !important; bottom: auto !important; transform: none !important;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--bx-navy); cursor: pointer; z-index: 2;
}
.modal_search_form .close:hover { background: #F1F4F9; }
.modal_search_form .search-form-custom .search-input-wrapper .search-field {
  height: 48px; padding: 0 64px 0 48px !important; font-size: 17px !important; border: 1px solid var(--bx-line) !important; border-radius: 10px !important;
  background: #F7F8FB !important;
}
.modal_search_form .search-form-custom .search-submit { left: 8px; right: auto !important; }
.modal_search_form .bx-search-results { max-height: 60vh; overflow: auto; }
.bx-search-hint { margin: 10px 4px 0; font-size: 12px; color: #6A7181; }
body.bx-search-open { overflow: hidden; }

/* ---------- Prima pagină: hero (BIMx, eveniment, semnul „x”, calendar) – ~620 px pe desktop ---------- */
.bx-home-hero { background: radial-gradient(90% 120% at 78% 45%, #22307E 0%, var(--bx-navy) 55%, #151B52 100%); color: #fff; overflow: hidden; }
.bx-home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 12px; }
.bx-home-eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #7DD3FC; }
.bx-home-hero h1 { font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -.02em; color: #fff; margin: 0 0 16px; max-width: 560px; }
.bx-home-lead { font-size: 17px; line-height: 27px; color: rgba(255, 255, 255, .8); margin: 0 0 24px; max-width: 540px; }
.bx-home-actions { margin-bottom: 24px; }
.bx-home-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 8px; background: #1DB0F0; color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s; }
.bx-home-cta:hover { background: #139BD6; }
.bx-home-event {
  display: grid; gap: 4px; max-width: 520px; padding: 14px 16px; border-radius: 10px; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .15s, border-color .15s;
}
.bx-home-event:hover { background: rgba(255, 255, 255, .1); border-color: rgba(125, 211, 252, .6); }
.bx-home-event-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #7DD3FC; }
.bx-home-event-meta span { font-weight: 500; color: rgba(255, 255, 255, .7); }
.bx-home-event-title { font-size: 15px; line-height: 22px; font-weight: 600; color: #fff; }
.bx-home-event-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #7DD3FC; }
.bx-home-art { position: relative; }
.bx-xmark { display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; }
.bx-xmark .grid { fill: rgba(255, 255, 255, .12); }
.bx-xmark .flow { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.bx-xmark .flow-in { stroke: rgba(255, 255, 255, .42); }
.bx-xmark .flow-out { stroke: rgba(29, 176, 240, .75); }
.bx-xmark .end { stroke-width: 2; }
.bx-xmark .end-in { fill: var(--bx-navy); stroke: rgba(255, 255, 255, .7); }
.bx-xmark .end-out { fill: #1DB0F0; stroke: #fff; }
.bx-xmark .x-arm { fill: #fff; }
.bx-xmark .x-chev { fill: #1DB0F0; }
@media (prefers-reduced-motion: no-preference) {
  .bx-xmark .flow { stroke-dasharray: 6 10; animation: bx-flow 2.4s linear infinite; }
  @keyframes bx-flow { to { stroke-dashoffset: -32; } }
}
/* calendarul scurt */
.bx-home-timeline { display: flex; align-items: center; gap: 24px; padding: 16px 0 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.bx-home-timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; flex: 1 1 auto; }
.bx-home-timeline li { display: grid; grid-template-columns: 14px 1fr; gap: 2px 10px; align-items: baseline; }
.bx-tl-dot { grid-row: 1 / span 2; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); margin-top: 4px; }
.bx-home-timeline li.is-done .bx-tl-dot { background: #1DB0F0; border-color: #1DB0F0; }
.bx-home-timeline li.is-upcoming .bx-tl-dot { border-color: #1DB0F0; }
.bx-home-timeline time { font-size: 13px; font-weight: 700; color: #fff; }
.bx-home-timeline li > span:last-child { font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .72); }
.bx-home-timeline > a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #7DD3FC !important; text-decoration: none; }
.bx-home-timeline > a:hover { color: #fff !important; }
@media (max-width: 1100px) {
  .bx-home-hero-grid { grid-template-columns: 1fr; gap: 8px; padding-top: 32px; }
  .bx-home-art { max-width: 460px; margin: 8px auto 0; width: 100%; }
  .bx-home-timeline { flex-direction: column; align-items: flex-start; }
  .bx-home-timeline ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bx-home-hero h1 { font-size: 30px; line-height: 38px; }
  .bx-home-lead { font-size: 16px; line-height: 25px; }
  .bx-home-cta { width: 100%; justify-content: center; }
  .bx-home-timeline ol { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Subsol ---------- */
footer.site-footer.bx-footer { background: #111847; color: rgba(255, 255, 255, .72); padding: 64px 0 0; }
.bx-f-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr); gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.bx-f-logo img { height: 40px; width: auto; display: block; margin-bottom: 18px; }
.bx-f-brand p { font-size: 14px; line-height: 22px; margin: 0 0 20px; color: rgba(255, 255, 255, .7); }
.bx-f-contact { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.bx-f-contact li { display: flex; gap: 10px; font-size: 14px; line-height: 21px; color: rgba(255, 255, 255, .8); }
.bx-f-contact svg { flex: 0 0 auto; color: #7DD3FC; margin-top: 1px; }
.bx-f-contact a { color: rgba(255, 255, 255, .85) !important; text-decoration: none; }
.bx-f-contact a:hover { color: #fff !important; text-decoration: underline; }
.bx-f-social { display: flex; align-items: center; gap: 8px; scroll-margin-top: 120px; }
.bx-f-social span { font-size: 13px; font-weight: 600; color: #fff; margin-right: 6px; }
.bx-f-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff !important; transition: background .15s; }
.bx-f-social a:hover { background: #1DB0F0; }
.bx-f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.bx-f-col h2 { font-size: 14px; line-height: 20px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.bx-f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bx-f-col a { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .7) !important; text-decoration: none; transition: color .15s; }
.bx-f-col a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.bx-f-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.bx-f-partners h2 { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); margin: 0; }
.bx-f-partners > div { display: flex; flex-wrap: wrap; gap: 12px; }
.bx-f-partner { display: inline-flex; align-items: center; justify-content: center; width: 112px; height: 56px; padding: 8px; border-radius: 10px; background: #fff; transition: transform .15s, box-shadow .15s; }
.bx-f-partner:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.bx-f-partner img { max-width: 100%; max-height: 40px; object-fit: contain; }
.bx-f-disclaimer { display: flex; gap: 12px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.bx-f-disclaimer svg { flex: 0 0 auto; color: #F5B83D; margin-top: 2px; }
.bx-f-disclaimer p { margin: 0; font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, .7); max-width: 1000px; }
.bx-f-disclaimer strong { color: #fff; font-weight: 600; }
.bx-f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 0 28px; }
.bx-f-bottom p { margin: 0; font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, .6); max-width: 820px; }
.bx-f-bottom-links { display: flex; align-items: center; gap: 20px; }
.bx-f-bottom-links > a { font-size: 13px; color: rgba(255, 255, 255, .75) !important; text-decoration: none; }
.bx-f-bottom-links > a:hover { color: #fff !important; text-decoration: underline; }
.bx-f-lang { display: inline-flex; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.bx-f-lang a { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px; color: rgba(255, 255, 255, .7) !important; text-decoration: none; }
.bx-f-lang a[aria-current] { background: #fff; color: var(--bx-navy) !important; }
@media (max-width: 1100px) { .bx-f-top { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 768px) {
  footer.site-footer.bx-footer { padding-top: 48px; }
  .bx-f-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .bx-f-col a { display: inline-block; padding: 4px 0; }
  .bx-f-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Stări de hover coerente ---------- */
main.site-main .block, main.site-main .item, main.site-main .stage, main.site-main .member, main.site-main .categorie_documente li,
main.site-main .regulamente .cadru_reglementare > div, main.site-main .date_section { transition: border-color .2s, box-shadow .2s, transform .2s; }
main.site-main a.block:hover, main.site-main .block:has(a):hover, main.site-main .member:hover, main.site-main .categorie_documente li:hover {
  border-color: #1DB0F0 !important; box-shadow: 0 12px 28px -18px rgba(20, 26, 61, .35);
}
main.site-main p a:not([class]):hover, main.site-main li a:not([class]):hover { text-decoration: underline; text-underline-offset: 3px; }
.btn1, .btn2, .btn3 { transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn3:hover { border-color: #1DB0F0 !important; }
.modal_search_form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.modal_search_form .search-form-custom { padding-right: 56px; }
.modal_search_form .close { top: 16px !important; right: 12px !important; }
footer.site-footer.bx-footer { background: #1A2266; }   /* același navy ca fundalul din logo_2.png */
.home_posts .posts .secondary_posts_list .list-item { padding-left: 24px; }
.home_posts .posts .secondary_posts_list .list-item .item_icon:empty { display: none; }
.home_posts .posts .secondary_posts_list .list-item:hover { background: #F7FAFD; }

/* ---------- Meniul mobil ---------- */
@media (max-width: 991px) {
  header.site-header .header_content .center { padding: 8px 16px 32px !important; background: #fff; overflow-y: auto; }
  header.site-header .header_content .center nav ul.menu-wrapper > li { margin: 0 !important; border-bottom: 1px solid var(--bx-line); }
  header.site-header .header_content .center nav ul.menu-wrapper > li > a {
    display: flex !important; align-items: center; justify-content: space-between; text-transform: none !important; font-size: 18px !important;
    font-weight: 600 !important; padding: 16px 4px !important; color: var(--bx-navy) !important; background: transparent !important; border-radius: 0 !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.menu-item-has-children:not(.pll-parent-menu-item) > a:after {
    content: ""; width: 8px; height: 8px; border-right: 2px solid #9AA3B8; border-bottom: 2px solid #9AA3B8; transform: rotate(-45deg); margin-right: 6px;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop { border-bottom: 0; padding-top: 20px; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop > a {
    justify-content: center; background: var(--bx-navy) !important; color: #fff !important; border-radius: 10px !important; font-size: 16px !important;
    min-height: 48px; padding: 12px 16px !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item { border-bottom: 0; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > a { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu {
    position: static !important; display: flex !important; gap: 8px; padding: 16px 0 0 !important; opacity: 1 !important; visibility: visible !important;
    pointer-events: auto !important; background: transparent !important; max-width: none !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu:before { display: none; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu > li { width: auto !important; margin: 0 !important; border: 0 !important; padding: 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu > li > a {
    display: inline-flex; min-width: 56px; justify-content: center; padding: 10px 14px !important; border: 1px solid var(--bx-line); border-radius: 8px !important;
    font-size: 15px !important; color: #5B6178 !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu > li.current-lang > a { background: var(--bx-navy) !important; color: #fff !important; border-color: var(--bx-navy); }
  /* submeniurile mobile */
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { padding: 16px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > a { text-transform: none !important; font-size: 17px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > ul > li a { text-transform: none !important; font-size: 16px !important; }
}
@media (max-width: 991px) {
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop > a { width: 100%; box-sizing: border-box; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu { margin: 0 !important; left: 0 !important; }
}

@media (min-width: 992px) {
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > ul > li a { padding-top: 5px; padding-bottom: 5px; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li { margin-bottom: 12px !important; }
}
/* titlurile de grup din panou: etichete fără stare de hover; lista lor e statică (nu un al doilea panou) */
@media (min-width: 992px) {
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a:hover {
    background: transparent !important; color: #5B6178 !important; cursor: default; margin-left: 0; padding-left: 0;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu {
    position: static !important; transform: none !important; width: auto !important; max-width: none !important; padding: 2px 0 0 !important;
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; background: transparent !important;
    box-shadow: none !important; height: auto !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu:before { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li { width: 100% !important; margin: 0 !important; }
}

/* =====================================================================================================
   MENIUL PRINCIPAL – o singură logică vizuală
   Nivel 1: text navy; hover = text #1DB0F0; secțiunea curentă sau panoul deschis = bară de 2 px #1DB0F0 dedesubt.
   Panou: coloane cu titlu mic estompat și listă verticală de linkuri, toate cu același stil; săgeata apare la hover.
   ===================================================================================================== */
@media (min-width: 992px) {
  header.site-header .header_content .center nav ul.menu-wrapper > li > a,
  header.site-header .header_content .center nav ul.menu-wrapper > li:hover > a,
  header.site-header .header_content .center nav ul.menu-wrapper > li.current-menu-ancestor > a,
  header.site-header .header_content .center nav ul.menu-wrapper > li.current-menu-item > a,
  header.site-header .header_content .center nav ul.menu-wrapper > li:has(> ul.sub-menu.active) > a {
    background: transparent !important; color: var(--bx-navy) !important; border-radius: 0 !important; box-shadow: none;
    padding: 8px 2px !important; margin: 0 12px; transition: color .15s, box-shadow .15s;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li { margin: 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li:hover > a { color: #1DB0F0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.current-menu-ancestor > a,
  header.site-header .header_content .center nav ul.menu-wrapper > li.current-menu-item > a,
  header.site-header .header_content .center nav ul.menu-wrapper > li:has(> ul.sub-menu.active) > a { box-shadow: inset 0 -2px 0 #1DB0F0 !important; }
  /* când e deschis alt panou, bara stă doar sub panoul deschis */
  header.site-header .header_content .center nav ul.menu-wrapper:has(> li > ul.sub-menu.active) > li:not(:has(> ul.sub-menu.active)) > a { box-shadow: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li > a:focus:not(:focus-visible) { outline: none !important; }

  /* panoul: grilă de coloane egale, aliniate la container */
  header.site-header .header_content .center nav ul.menu-wrapper > li.menu-item-has-children > ul.sub-menu {
    display: grid !important; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); column-gap: 40px; row-gap: 32px;
    align-items: start; padding: 32px 0 36px !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.menu-item-has-children > ul.sub-menu > li {
    width: auto !important; margin: 0 !important; padding: 0 !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.menu-item-has-children > ul.sub-menu > li.back_to_main_menu { display: none !important; }
  /* titlul coloanei */
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a:hover {
    display: block !important; font-size: 12px !important; line-height: 16px !important; font-weight: 500 !important; letter-spacing: .01em;
    color: #8A90A6 !important; background: none !important; border: 0 !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 0 10px !important; width: auto !important; cursor: default;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a:after { display: none !important; }
  /* lista de linkuri */
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu {
    display: block !important; position: static !important; transform: none !important; width: auto !important; max-width: none !important;
    padding: 0 !important; margin: 0 !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    background: transparent !important; box-shadow: none !important; height: auto !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu:before { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li { display: block !important; width: auto !important; margin: 0 !important; padding: 5px 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li:before { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a {
    display: inline-block !important; position: relative !important; padding: 0 !important; margin: 0 !important; line-height: 22px !important; max-width: 100%;
    font-size: 15px !important; font-weight: 500 !important; color: var(--bx-navy) !important; background: none !important; text-transform: none !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a:after {
    content: "" !important; display: block !important; position: absolute !important; right: -20px; top: 5px; left: auto !important;
    width: 13px !important; height: 13px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none'%3E%3Cpath d='M3.5 8.4h9.8M8.4 3.5l4.9 4.9-4.9 4.9' stroke='%231DB0F0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
    opacity: 0; transform: translateX(-4px) !important; transition: opacity .15s ease, transform .15s ease;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a:hover,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a:focus-visible,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li.current-menu-item > a { color: #1DB0F0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a:hover:after,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a:focus-visible:after {
    opacity: 1; transform: translateX(0) !important;
  }
}

/* mobil: aceeași structură – titluri mici și linkuri vizibile direct, fără grupuri de deschis */
@media (max-width: 991px) {
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click { border: 0 !important; margin: 0 0 20px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a {
    display: block !important; font-size: 12px !important; font-weight: 500 !important; color: #8A90A6 !important; padding: 0 !important;
    margin: 0 0 4px !important; border: 0 !important; cursor: default; text-transform: none !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a:after { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu {
    display: block !important; position: static !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    padding: 0 !important; background: transparent !important; max-width: none !important; height: auto !important; transform: none !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu:before { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li { margin: 0 !important; width: 100% !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a {
    display: block !important; padding: 10px 0 !important; font-size: 16px !important; font-weight: 500 !important; color: var(--bx-navy) !important;
    text-transform: none !important; border-bottom: 1px solid var(--bx-line);
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a:after { display: none !important; }
}

@media (max-width: 991px) {
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li { padding: 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a {
    padding: 13px 0 !important; line-height: 22px !important; border-radius: 0 !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click { margin-bottom: 28px !important; }
}

/* =====================================================================================================
   ICONIȚE – un singur sistem (sitegen/siteicons.py): grilă 24, contur 1,75, culoarea #1DB0F0
   Card: placă 48 px, colțuri 12 px, fundal albastru 10 %, simbol 24 px. Listă: bifă 20 px fără placă. Etichetă: 16 px.
   ===================================================================================================== */
main.site-main .icon.bx-ic {
  width: 48px !important; height: 48px !important; min-width: 48px; flex: 0 0 48px; box-sizing: border-box; padding: 0 !important;
  display: flex !important; align-items: center; justify-content: center; border-radius: 12px !important; border: 0 !important;
  background: rgba(29, 176, 240, .1) !important; color: #1DB0F0 !important; box-shadow: none !important;
}
main.site-main .icon.bx-ic svg.bx-i { width: 24px !important; height: 24px !important; }
main.site-main .icon.bx-ic-check, main.site-main .icon.bx-ic-label {
  width: auto !important; height: auto !important; min-width: 0; padding: 0 !important; margin: 0 !important; border: 0 !important;
  background: none !important; box-shadow: none !important; display: inline-flex !important; color: #1DB0F0 !important; flex: 0 0 auto;
}
.bx-ic-h6 { display: inline-flex; color: #1DB0F0; margin-right: 8px; vertical-align: -2px; }
main.site-main h6 .bx-ic-h6 svg { width: 16px; height: 16px; }
main.site-main svg.bx-i { stroke: currentColor !important; fill: none !important; }
main.site-main svg.bx-i * { stroke: currentColor !important; fill: none !important; }
main.site-main .icon.bx-ic-row { display: flex !important; align-items: center; gap: 14px; width: auto !important; height: auto !important; background: none !important; padding: 0 !important; border: 0 !important; }
.bx-ic-plate { width: 48px; height: 48px; flex: 0 0 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(29, 176, 240, .1); color: #1DB0F0; }
.bx-ic-plate.bx-ic-sm { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; }
.bx-ic-plate.bx-ic-sm svg { width: 20px; height: 20px; }
.bx-ic-plate.is-muted { background: #F1F3F8; color: #8A90A6; }
main.site-main .categorii_documente li { display: flex; align-items: center; gap: 14px; }
main.site-main .bx-ic-plate svg, main.site-main .bx-ic svg { margin: 0 !important; position: static !important; display: block; }
main.site-main .bx-ic-plate { align-items: center !important; justify-content: center !important; }
main.site-main .item > .bx-ic-plate:first-child { margin-bottom: 20px; }

/* ---------- Prima pagină: etapa următoare evidențiată, rândul de încredere ---------- */
.bx-home-timeline li.is-next {
  margin: -10px 0; padding: 10px 12px; border-radius: 10px; background: rgba(29, 176, 240, .14); border: 1px solid rgba(29, 176, 240, .45);
}
.bx-home-timeline li.is-next .bx-tl-dot { background: #1DB0F0; border-color: #1DB0F0; box-shadow: 0 0 0 4px rgba(29, 176, 240, .25); }
.bx-home-timeline li.is-next > span:not(.bx-tl-dot) { color: #fff; }
.bx-tl-cta { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: #7DD3FC !important; text-decoration: none; }
.bx-tl-cta svg { transition: transform .15s; }
.bx-tl-cta:hover { color: #fff !important; }
.bx-tl-cta:hover svg { transform: translateX(3px); }
.bx-trust { background: #fff; border-bottom: 1px solid var(--bx-line); }
.bx-trust-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bx-trust-row li + li { border-left: 1px solid var(--bx-line); }
.bx-trust-row a { display: flex; flex-direction: column; gap: 2px; height: 100%; box-sizing: border-box; padding: 18px 24px; text-decoration: none; transition: background .15s; }
.bx-trust-row li:first-child a { padding-left: 0; }
.bx-trust-row span { font-size: 12px; font-weight: 500; color: #8A90A6; }
.bx-trust-row strong { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--bx-navy); }
.bx-trust-row a:hover strong { color: #1DB0F0; }
@media (max-width: 900px) {
  .bx-trust-row { grid-template-columns: 1fr 1fr; }
  .bx-trust-row li:nth-child(3) { border-left: 0; }
  .bx-trust-row li:nth-child(n+3) { border-top: 1px solid var(--bx-line); }
  .bx-trust-row a, .bx-trust-row li:first-child a { padding: 14px 12px 14px 0; }
  .bx-trust-row li:nth-child(even) a { padding-left: 14px; }
  .bx-home-timeline li.is-next { margin: 0; }
}
.bx-home-timeline ol { align-items: start; }
.bx-home-timeline li { align-content: start; }
.bx-home-timeline li > time + span { font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .72); }
.bx-home-timeline li.is-next > time + span { color: #fff; }
.bx-tl-cta { justify-self: start; }
.bx-tl-cta { display: inline !important; line-height: 20px; }
.bx-tl-cta svg { display: inline-block; vertical-align: -3px; margin-left: 4px; }
.bx-nowrap { white-space: nowrap; }
/* rândul „Reglementat și susținut de” */
.bx-trust-inner { display: flex; align-items: stretch; gap: 32px; }
.bx-trust-title { flex: 0 0 150px; align-self: center; margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: #8A90A6; }
.bx-trust-inner .bx-trust-row { flex: 1 1 auto; }
.bx-trust-row li:first-child { border-left: 1px solid var(--bx-line); }
.bx-trust-row li:first-child a { padding-left: 24px; }
.bx-trust-row a { gap: 3px; }
.bx-trust-row strong { order: 1; }
.bx-trust-row a > span { order: 2; font-size: 13px; color: #6A7181; }
.bx-trust-row .bx-trust-link { display: inline-flex; align-items: center; gap: 4px; color: #1DB0F0 !important; font-weight: 600; }
.bx-trust-row .bx-trust-link svg { transition: transform .15s; }
.bx-trust-row a:hover .bx-trust-link svg { transform: translateX(3px); }
@media (max-width: 900px) {
  .bx-trust-inner { flex-direction: column; gap: 0; }
  .bx-trust-title { flex: none; padding: 16px 0 4px; }
  .bx-trust-row li:first-child { border-left: 0; }
  .bx-trust-row li:first-child a { padding-left: 0; }
}
.bx-trust-title { text-align: left !important; }
.bx-trust-row .bx-trust-link { display: inline !important; }
.bx-trust-row .bx-trust-link svg { display: inline-block; vertical-align: -3px; margin-left: 4px; }
@media (max-width: 900px) { .bx-trust-title { align-self: flex-start; } }
/* rândul de încredere: numele nu sunt linkuri; doar „Structura acționariatului” */
.bx-trust-row li { display: flex; flex-direction: column; gap: 3px; padding: 18px 24px; box-sizing: border-box; }
.bx-trust-row li > span { font-size: 13px; color: #6A7181; }
.bx-trust-row li > a.bx-trust-link { font-size: 13px; text-decoration: none; }
.bx-trust-row li > a.bx-trust-link:hover { color: var(--bx-navy) !important; }
.bx-trust-row li > a.bx-trust-link:hover svg { transform: translateX(3px); }
@media (max-width: 900px) {
  .bx-trust-row li { padding: 14px 12px 14px 0; }
  .bx-trust-row li:nth-child(even) { padding-left: 14px; }
}
.bx-trust-row li > strong { order: 0; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--bx-navy); }
.bx-trust-row li > span, .bx-trust-row li > a.bx-trust-link { order: 1; }
.bx-trust-row li > a.bx-trust-link { display: inline !important; padding: 0 !important; height: auto !important; gap: 0; color: #1DB0F0 !important; font-weight: 600; }
.bx-trust-row li:first-child { padding-left: 24px; }
@media (max-width: 900px) { .bx-trust-row li:first-child { padding-left: 0; } }

/* ---------- Calendarul din hero: axă orizontală compactă ---------- */
.bx-home-timeline { padding: 14px 0 18px !important; gap: 32px !important; align-items: flex-start !important; }
.bx-home-timeline ol { position: relative; gap: 24px !important; }
.bx-home-timeline ol:before { content: ""; position: absolute; left: 5px; right: 0; top: 5px; height: 1px; background: rgba(255, 255, 255, .22); }
.bx-home-timeline li, .bx-home-timeline li.is-next {
  position: relative; display: block !important; margin: 0 !important; padding: 20px 0 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important;
}
.bx-home-timeline .bx-tl-dot, .bx-home-timeline li.is-next .bx-tl-dot {
  position: absolute; top: 0; left: 0; margin: 0 !important; width: 11px; height: 11px; box-sizing: border-box; background: var(--bx-navy);
}
.bx-home-timeline li.is-done .bx-tl-dot { background: #1DB0F0; border-color: #1DB0F0; }
.bx-home-timeline li.is-next .bx-tl-dot { background: #1DB0F0; border-color: #fff; box-shadow: 0 0 0 4px rgba(29, 176, 240, .35); }
.bx-home-timeline time { display: block; font-size: 13px; line-height: 18px; }
.bx-home-timeline li > time + span { display: block; font-size: 12px !important; line-height: 17px !important; margin-top: 1px; }
.bx-home-timeline li.is-next time { color: #7DD3FC; }
.bx-home-timeline li.is-next > time + span { color: #fff !important; }
.bx-home-timeline .bx-tl-cta { display: inline-block !important; margin-top: 4px; font-size: 12px; line-height: 17px; }
.bx-home-timeline > a { margin-top: 16px; font-size: 13px !important; white-space: nowrap; }
@media (max-width: 1100px) {
  .bx-home-timeline ol:before { display: none; }
  .bx-home-timeline > a { margin-top: 0; }
}
@media (max-width: 600px) {
  .bx-home-timeline li, .bx-home-timeline li.is-next { padding: 0 0 0 22px !important; }
  .bx-home-timeline .bx-tl-dot, .bx-home-timeline li.is-next .bx-tl-dot { top: 3px; }
  .bx-home-timeline ol { gap: 14px !important; }
}

/* ---------- Prima pagină: știri și anunțuri, compact, la final ---------- */
.bx-home-news { padding: 56px 0 72px; border-top: 1px solid var(--bx-line); }
.bx-home-news .home_posts { margin: 0 !important; padding: 0 !important; }
.bx-home-news .home_posts .head_section { margin-bottom: 24px !important; align-items: flex-end; }
.bx-home-news .home_posts .head_section h2 { font-size: 28px !important; line-height: 36px !important; }
.bx-home-news .home_posts .posts { gap: 24px; align-items: stretch; }
/* articolul principal: fără imaginea mare, doar etichetă, titlu, rezumat de 3 rânduri, dată și link */
.bx-home-news .home_posts .posts .main_post { display: flex; flex-direction: column; border-radius: 12px !important; }
.bx-home-news .home_posts .posts .main_post .imag_wrap { height: auto !important; border-radius: 0 !important; overflow: visible; }
.bx-home-news .home_posts .posts .main_post .imag_wrap .post-thumbnail, .bx-home-news .home_posts .posts .main_post .imag_wrap:before { display: none !important; }
.bx-home-news .home_posts .posts .main_post .imag_wrap .data { position: static !important; padding: 20px 22px 0; }
.bx-home-news .home_posts .posts .main_post .imag_wrap .data .post-category {
  color: #1DB0F0 !important; background: rgba(29, 176, 240, .1) !important; border: 0 !important; font-size: 12px !important; padding: 3px 10px !important; margin-bottom: 10px;
}
.bx-home-news .home_posts .posts .main_post .imag_wrap .data h2 { color: var(--bx-navy) !important; font-size: 20px !important; line-height: 28px !important; }
.bx-home-news .home_posts .posts .main_post .post_content { padding: 10px 22px 20px !important; display: flex; flex-direction: column; flex: 1 1 auto; }
.bx-home-news .home_posts .posts .main_post .post_content .post-excerpt { margin-bottom: 14px; }
.bx-home-news .home_posts .posts .main_post .post_content .post-excerpt p {
  font-size: 15px !important; line-height: 23px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bx-home-news .home_posts .posts .main_post .post_content .wrap { margin-top: auto; }
/* lista: rânduri mai strânse, aceeași aliniere */
.bx-home-news .home_posts .posts .secondary_posts_list { border-radius: 12px !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item { padding: 14px 44px 14px 22px !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .item_icon { display: none !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .item_content { margin: 0 !important; padding: 0 !important; width: 100% !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item h3 { font-size: 15px !important; line-height: 22px !important; margin-top: 2px; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .post-category { font-size: 11px !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item:last-child { border-bottom: 0 !important; }
@media (max-width: 768px) { .bx-home-news { padding: 40px 0 48px; } }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item:nth-child(n+5) { display: none !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item:nth-child(4) { border-bottom: 0 !important; }
.bx-home-news .home_posts .posts .main_post .post_content .post-excerpt p { -webkit-line-clamp: 4; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .post-category { text-transform: none !important; letter-spacing: 0 !important; color: #1DB0F0 !important; font-weight: 600 !important; font-size: 12px !important; }

/* ---------- Prima pagină: „Cum doriți să participați?” ---------- */
.bx-participate { background: var(--bx-navy); padding: 36px 0 44px; }
.bx-participate h2 { margin: 0 0 18px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9FB3E6; }
.bx-part-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bx-part { display: flex; flex-direction: column; background: #fff; border-radius: 14px; padding: 24px 26px 22px; transition: transform .18s, box-shadow .18s; }
.bx-part:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .5); }
.bx-part-who { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #5B6178; }
.bx-part h3 { margin: 0 0 8px; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.01em; color: var(--bx-navy); }
.bx-part-desc { margin: 0 0 18px; font-size: 15px; line-height: 23px; color: #4A5065; }
.bx-part-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--bx-navy) !important; text-decoration: none; }
.bx-part-cta svg { transition: transform .15s; }
.bx-part-cta:hover svg { transform: translateX(4px); }
.bx-part.is-featured { background: #1DB0F0; }
.bx-part.is-featured .bx-part-who { color: var(--bx-navy); }
.bx-part.is-featured .bx-part-desc { color: var(--bx-navy); }
.bx-part-badge { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; background: var(--bx-navy); color: #F5B83D; font-size: 11px; letter-spacing: 0; text-transform: none; }
@media (max-width: 991px) { .bx-part-grid { grid-template-columns: 1fr; gap: 14px; } .bx-participate { padding: 32px 0 36px; } }
/* „Cum doriți să participați?”: fundal alb; doar cardurile au culoare */
.bx-participate { background: #fff !important; padding: 48px 0 56px !important; }
.bx-participate h2 { color: #8A90A6 !important; }
.bx-part { border: 1px solid var(--bx-line); }
.bx-part:hover { border-color: #1DB0F0; box-shadow: 0 16px 32px -20px rgba(20, 26, 61, .35); }
.bx-part.is-featured { border-color: #1DB0F0; }
.bx-part.is-featured { background: #5AB4EE !important; border-color: #5AB4EE !important; }

/* ---------- Rândul de încredere: aliniere și contrast ---------- */
.bx-trust-title, .bx-participate h2 { color: #4A5170 !important; }           /* ≥ 7:1 pe alb */
.bx-trust-row { grid-template-rows: auto auto; }
.bx-trust-row li { display: grid !important; grid-row: span 2; grid-template-rows: subgrid; row-gap: 3px; align-content: start; }
/* ---------- Cardurile „Cum doriți să participați?”: rândul de sus are aceeași înălțime ---------- */
.bx-part-who { height: 24px; margin-bottom: 10px !important; }
/* cardurile sub hero, rândul de încredere după ele */
.bx-participate { padding: 40px 0 44px !important; }
.bx-trust { border-top: 1px solid var(--bx-line); }
/* cardurile în hero: fundal navy moștenit */
.bx-home-hero .bx-participate { background: transparent !important; padding: 8px 0 48px !important; }
.bx-home-hero .bx-participate h2 { color: #9FB3E6 !important; }
.bx-home-hero .bx-part { border-color: transparent; }
.bx-home-hero .bx-part:hover { border-color: transparent; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55); }

/* ---------- Banda de stare deasupra meniului ---------- */
header.site-header { top: -36px !important; }                 /* banda se derulează, meniul rămâne fix */
.bx-status-strip { background: #111847; color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 18px; }
.bx-status-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.bx-status-left { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; }
.bx-status-left strong { color: #fff; font-weight: 600; }
.bx-status-left span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-status-strip .bx-status-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #F5B83D; box-shadow: 0 0 0 3px rgba(245, 184, 61, .22); }
.bx-status-right { color: rgba(255, 255, 255, .85) !important; text-decoration: none; white-space: nowrap; }
.bx-status-right:hover { color: #fff !important; text-decoration: underline; }
@media (max-width: 768px) {
  .bx-status-right { display: none; }
  .bx-status-strip { font-size: 12px; }
}

/* ---------- Rândul de încredere compact: eticheta pe primul rând, elementele pe al doilea ---------- */
.bx-trust-inner { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; padding-top: 16px; padding-bottom: 16px; }
.bx-trust-title { flex: none !important; align-self: flex-start !important; font-size: 12px !important; }
.bx-trust-row { grid-template-rows: auto !important; }
.bx-trust-row li, .bx-trust-row li:first-child { display: flex !important; flex-direction: column; gap: 1px !important; padding: 2px 20px !important; grid-row: auto !important; }
.bx-trust-row li:first-child { border-left: 0 !important; padding-left: 0 !important; }
.bx-trust-row li > strong { font-size: 14px !important; line-height: 20px !important; white-space: nowrap; }
.bx-trust-row li > span, .bx-trust-row li > a.bx-trust-link { font-size: 12px !important; line-height: 18px !important; }
@media (max-width: 900px) {
  .bx-trust-row li > strong { white-space: normal; }
  .bx-trust-row li, .bx-trust-row li:first-child { padding: 8px 12px 8px 0 !important; }
  .bx-trust-row li:nth-child(even) { padding-left: 14px !important; }
}
.bx-status-left strong { white-space: nowrap; }
/* eticheta „Reglementat și susținut de” separat, în stânga; elementele compacte (nume + rol) în dreapta */
.bx-trust-inner { flex-direction: row !important; align-items: center !important; gap: 24px !important; padding-top: 14px; padding-bottom: 14px; }
.bx-trust-title { flex: 0 0 130px !important; align-self: center !important; }
.bx-trust-row li:first-child { border-left: 1px solid var(--bx-line) !important; padding-left: 20px !important; }
@media (max-width: 900px) {
  .bx-trust-inner { flex-direction: column !important; align-items: stretch !important; gap: 4px !important; }
  .bx-trust-title { flex: none !important; align-self: flex-start !important; }
  .bx-trust-row li:first-child { border-left: 0 !important; padding-left: 0 !important; }
}

/* ---------- Calendarul din hero: etapa următoare încadrată în chihlimbar ---------- */
.bx-home-timeline li.is-next {
  margin: -14px 0 0 -14px !important; padding: 12px 14px 12px 40px !important; border-radius: 12px !important;
  border: 1px solid #E9B44C !important; background: linear-gradient(rgba(245, 184, 61, .12), rgba(245, 184, 61, .12)), #1B2263 !important;
}
.bx-home-timeline li.is-next .bx-tl-dot {
  top: 15px !important; left: 14px !important; width: 16px !important; height: 16px !important;
  background: transparent !important; border: 2px solid #F5B83D !important; box-shadow: none !important;
}
.bx-home-timeline li.is-next .bx-tl-dot:after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #F5B83D; }
.bx-home-timeline li.is-next time, .bx-home-timeline li.is-next .bx-tl-next { color: #F5B83D !important; }
.bx-home-timeline li.is-next > time + span { color: #fff !important; font-weight: 600; }
.bx-home-timeline li.is-next .bx-tl-cta { color: #F5B83D !important; }
.bx-home-timeline li.is-next .bx-tl-cta:hover { color: #FFD27A !important; }
@media (max-width: 600px) { .bx-home-timeline li.is-next { margin: 0 !important; } }
@media (min-width: 1101px) { .bx-home-timeline { border-top: 0 !important; } }

/* ---------- Ritm vertical mai aerisit pe prima pagină ---------- */
@media (min-width: 1101px) {
  .bx-home-hero-grid { padding-top: 64px !important; padding-bottom: 32px !important; }
  .bx-home-hero h1 { margin-bottom: 20px !important; }
  .bx-home-lead { margin-bottom: 32px !important; }
  .bx-home-timeline { padding: 28px 0 36px !important; }
  .bx-home-hero .bx-participate { padding: 16px 0 72px !important; }
  .bx-home-hero .bx-participate h2 { margin-bottom: 22px !important; }
  .bx-trust-inner { padding-top: 22px !important; padding-bottom: 22px !important; }
  .bx-home-news { padding: 80px 0 96px !important; }
  .bx-home-news .home_posts .head_section { margin-bottom: 32px !important; }
}
@media (max-width: 1100px) {
  .bx-home-hero .bx-participate { padding: 8px 0 56px !important; }
  .bx-home-news { padding: 56px 0 64px !important; }
}
/* titlul hero mai mare (titlul e acum scurt) */
.bx-home-hero h1 { font-size: 52px !important; line-height: 60px !important; }
@media (max-width: 600px) { .bx-home-hero h1 { font-size: 36px !important; line-height: 44px !important; } }
/* linia calendarului continuă până la marginea containerului (și deasupra linkului „Vizualizați calendarul”) */
@media (min-width: 1101px) {
  .bx-home-timeline { position: relative; }
  .bx-home-timeline ol:before { display: none; }
  .bx-home-timeline:before { content: ""; position: absolute; left: 5px; right: 0; top: 33px; height: 1px; background: rgba(255, 255, 255, .22); }
  .bx-home-timeline li.is-next { z-index: 1; }
}

/* ---------- Butoanele secundare „Vedeți toate” (antetul secțiunilor): același stil ca restul, fără gri la hover ---------- */
.head_section .right_side a.btn3 {
  display: inline-flex !important; align-items: center; gap: 8px; padding: 10px 16px !important; min-height: 40px; box-sizing: border-box;
  background: #fff !important; color: var(--bx-navy) !important; border: 1px solid var(--bx-line) !important; border-radius: 8px !important;
  font-size: 14px; font-weight: 600; transition: border-color .15s, color .15s;
}
.head_section .right_side a.btn3 svg { margin: 0 !important; order: 2; transition: transform .15s; }
.head_section .right_side a.btn3 svg path { stroke: currentColor !important; }
.head_section .right_side a.btn3:hover { background: #fff !important; color: #1DB0F0 !important; border-color: #1DB0F0 !important; }
.head_section .right_side a.btn3:hover svg { transform: translateX(3px); }
.head_section .right_side a.btn3:focus:not(:focus-visible) { outline: none !important; }

/* ---------- Linkurile-acțiune din carduri: hover albastru BIMx (#1DB0F0), săgeata alunecă ---------- */
.bx-part-cta, .home_posts .read-more, .home_posts .list-item h3, .featured-post-section .article_meta a, .rest-of-posts-section .article_meta a {
  transition: color .15s;
}
.bx-part:hover .bx-part-cta, .bx-part-cta:hover, .bx-part-cta:focus-visible { color: #1DB0F0 !important; }
.bx-part.is-featured:hover .bx-part-cta, .bx-part.is-featured .bx-part-cta:hover { color: #fff !important; }  /* pe cardul albastru */
.bx-part:hover .bx-part-cta svg { transform: translateX(4px); }
.home_posts .main_post:hover .read-more, .home_posts .read-more:hover { color: #1DB0F0 !important; }
.home_posts .read-more svg { transition: transform .15s; }
.home_posts .read-more svg path { stroke: currentColor !important; }
.home_posts .main_post:hover .read-more svg { transform: translateX(4px); }
.home_posts .list-item:hover h3 { color: #1DB0F0 !important; }
.featured-post-section .article_meta a:hover, .rest-of-posts-section .article_meta a:hover { color: #1DB0F0 !important; }
/* „Citiți mai mult”: același format ca „Structura acționariatului” */
.home_posts .read-more { font-size: 12px !important; line-height: 18px !important; font-weight: 600 !important; color: #1DB0F0 !important; gap: 4px; }
.home_posts .read-more svg { width: 14px; height: 14px; margin-left: 4px !important; }
.home_posts .main_post:hover .read-more, .home_posts .read-more:hover { color: var(--bx-navy) !important; }

/* ---------- Subsol: 5 coloane, rândul de resurse, acordeon pe mobil ---------- */
.bx-f-top { grid-template-columns: minmax(0, 1fr) minmax(0, 3.4fr) !important; gap: 48px !important; }
.bx-f-cols { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 28px !important; }
.bx-f-col > summary { list-style: none; cursor: default; pointer-events: none; }
.bx-f-col > summary::-webkit-details-marker { display: none; }
.bx-f-col > summary h2 { margin: 0 0 16px; }
.bx-f-resources { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.bx-f-resources span { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); margin-right: 6px; }
.bx-f-resources a { font-size: 14px; color: #fff !important; text-decoration: none; }
.bx-f-resources a:hover { color: #1DB0F0 !important; }
@media (max-width: 1200px) { .bx-f-top { grid-template-columns: 1fr !important; } }
@media (max-width: 768px) {
  .bx-f-cols { grid-template-columns: 1fr !important; gap: 0 !important; }
  .bx-f-col { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .bx-f-col > summary { pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
  .bx-f-col > summary h2 { margin: 0; font-size: 15px; }
  .bx-f-col > summary:after { content: ""; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .15s; }
  .bx-f-col[open] > summary:after { transform: rotate(-135deg); margin-top: 4px; }
  .bx-f-col ul { padding-bottom: 16px !important; }
}
/* meniul mobil: sub antet, oricât s-ar fi derulat banda de stare */
@media (max-width: 991px) {
  header.site-header .header_content .center,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { top: var(--bx-menu-top, 101px) !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu { padding-left: 0 !important; }
}
/* logo-ul vectorial din subsol */
.bx-f-logo { display: inline-flex; text-decoration: none; margin-bottom: 18px; }
.bx-wordmark { display: inline-flex; align-items: flex-end; gap: 1px; line-height: 1; }
.bx-wordmark > span { font-family: "Prompt", sans-serif; font-weight: 700; font-size: 44px; line-height: 36px; letter-spacing: -.02em; color: #fff; }
.bx-wordmark svg { display: block; margin-bottom: 1px; }
/* listele din coloanele meniului moștenesc vizibilitatea panoului (închis = invizibil și neinteractiv) */
header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu {
  visibility: inherit !important; pointer-events: inherit !important; opacity: 1 !important;
}
/* fundalurile pe toată lățimea (hero, antetele de pagină) și pe ecrane foarte late; conținutul rămâne în .container */
.container_fluid { max-width: none !important; }
/* logo-ul din subsol: „x” pe aceeași linie de bază cu „BIM” (baza SVG-ului = linia de bază a textului) */
.bx-wordmark { display: inline-block !important; white-space: nowrap; line-height: 1 !important; }
.bx-wordmark > span { display: inline !important; line-height: 1 !important; }
.bx-wordmark svg { display: inline-block !important; vertical-align: baseline !important; margin: 0 0 0 1px !important; }
/* „x”-ul la proporția din logo-ul din antet: înălțime ≈ 64 % din majuscule, spațiu ≈ 18 % */
.bx-wordmark svg { width: 23px !important; height: 20px !important; margin-left: 5px !important; }
.bx-wordmark svg { margin-left: 1px !important; }

/* ---------- Hero: fundalul din BIMx Academy (gradient diagonal + inel semitransparent) ---------- */
.bx-home-hero { position: relative; isolation: isolate; background: linear-gradient(120deg, #1A2266 0%, #232D80 60%, #2A3AA0 100%) !important; }
.bx-home-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -220px; top: -260px; width: 900px; height: 900px; border-radius: 50%;
  border: 150px solid rgba(30, 177, 241, .12); box-sizing: border-box;
}
.bx-home-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -180px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  border: 90px solid rgba(30, 177, 241, .06); box-sizing: border-box;
}
@media (max-width: 768px) {
  .bx-home-hero::before { right: -260px; top: -200px; width: 560px; height: 560px; border-width: 90px; }
  .bx-home-hero::after { display: none; }
}
/* inelul mare: centrat pe „X” (încadrează semnul), jumătate din intensitatea anterioară */
.bx-home-hero::before { display: none !important; }
.bx-home-hero::after { border-color: rgba(30, 177, 241, .03) !important; }
.bx-home-art { isolation: isolate; }
.bx-home-art::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 50%;
  width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%;
  border: 90px solid rgba(30, 177, 241, .06); box-sizing: border-box;
}
@media (max-width: 1100px) { .bx-home-art::before { width: 340px; height: 340px; border-width: 60px; } }
/* inelul: un arc foarte mare, cu centrul în afara hero-ului (dreapta sus), tăiat de marginile de sus și din dreapta */
.bx-home-art::before { display: none !important; }
.bx-home-hero::before {
  display: block !important; right: -900px !important; top: -900px !important; left: auto !important;
  width: 1600px !important; height: 1600px !important; border: 180px solid rgba(30, 177, 241, .06) !important;
}
@media (max-width: 768px) {
  .bx-home-hero::before { right: -520px !important; top: -520px !important; width: 900px !important; height: 900px !important; border-width: 110px !important; }
}
@media (min-width: 769px) {
  /* arcul e poziționat față de marginea dreaptă a containerului (1280 px), nu a ferestrei: aceeași compoziție pe orice lățime */
  .bx-home-hero::before { right: max(-900px, calc(50% - 1540px)) !important; }
}

/* ---------- Calendarul lansării din hero: bare de stare (finalizat / urmează / planificat) ---------- */
.bx-lt { padding: 28px 0 8px; }
.bx-lt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.bx-lt-head h2 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.bx-lt-head a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff !important; text-decoration: none; white-space: nowrap; }
.bx-lt-head a:hover { color: #1DB0F0 !important; }
.bx-lt-head a svg { transition: transform .15s; }
.bx-lt-head a:hover svg { transform: translateX(3px); }
.bx-lt ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bx-lt-step { display: flex; flex-direction: column; }
.bx-lt-bar { display: block; height: 4px; border-radius: 4px; margin-bottom: 14px; background: rgba(255, 255, 255, .16); }
.bx-lt-step.is-done .bx-lt-bar { background: #1DB0F0; }
.bx-lt-step.is-next .bx-lt-bar { background: #F5B83D; }
.bx-lt-status { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.bx-lt-step.is-done .bx-lt-status { color: #7DD3FC; }
.bx-lt-step.is-next .bx-lt-status { color: #F5B83D; }
.bx-lt-days:not(:empty):before { content: " · "; white-space: pre; }
.bx-lt-step time { display: block; margin-bottom: 4px; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.bx-lt-title { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; color: #fff; }
.bx-lt-step.is-planned .bx-lt-title { color: rgba(255, 255, 255, .85); }
.bx-lt .bx-tl-cta { display: inline !important; margin-top: 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: #F5B83D !important; text-decoration: none; }
.bx-lt .bx-tl-cta:hover { color: #FFD27A !important; }
.bx-lt .bx-tl-cta svg { display: inline-block; vertical-align: -3px; margin-left: 4px; transition: transform .15s; }
.bx-lt .bx-tl-cta:hover svg { transform: translateX(3px); }
@media (max-width: 900px) {
  .bx-lt ol { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .bx-lt-head { flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) { .bx-lt ol { grid-template-columns: 1fr; } }
.bx-lt-days:not(:empty):before { content: "· " !important; }
@media (max-width: 1100px) { .bx-lt { padding-bottom: 32px; } }
/* „Calendarul lansării”: același stil ca „Cum doriți să participați?” */
.bx-lt-head h2 { font-size: 13px !important; line-height: 18px !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase; color: #9FB3E6 !important; }
.bx-lt-head { align-items: center !important; margin-bottom: 18px !important; }
.bx-lt-head h2 { letter-spacing: -.01em !important; }

/* ---------- Organigrama (sitegen/org.py) ---------- */
.bx-page:has(.bx-org) { max-width: none; }
.bx-org { margin: 0 0 40px; --line: #9AA3B8; --gap: 36px; }
.bx-org figcaption { text-align: center; margin-bottom: 36px; }
.bx-org figcaption strong { display: block; font-size: 24px; line-height: 32px; font-weight: 700; color: var(--bx-navy); }
.bx-org figcaption span { display: block; margin-top: 4px; font-size: 14px; color: #5B6178; font-style: italic; }
.bx-org-box {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 64px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--bx-line); background: #F5F7FB;
  font-size: 15px; line-height: 20px; font-weight: 600; color: var(--bx-navy);
}
.bx-org-box small { display: block; font-size: 13px; font-weight: 500; color: inherit; opacity: .8; }
.bx-org-box.is-gov { background: var(--bx-navy); border-color: var(--bx-navy); color: #fff; font-size: 16px; }
.bx-org-box.is-audit { background: #FFF6E5; border-color: #F3D9A4; }
.bx-org-box.is-exec { background: rgba(29, 176, 240, .1); border-color: rgba(29, 176, 240, .45); font-size: 16px; }
.bx-org-box.is-dept { font-size: 14px; font-weight: 500; min-height: 72px; background: #fff; }
/* nivelurile de guvernanță: trei coloane, legate orizontal */
.bx-org-tier { position: relative; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 56px; align-items: center; }
.bx-org-tier:before { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; border-top: 1.5px solid var(--line); }
.bx-org-t1 { margin-bottom: var(--gap); }
.bx-org-t2 { margin-bottom: var(--gap); }
/* linia verticală centrală: AGA → Consiliu → conducere */
.bx-org-t1 .is-gov:after, .bx-org-t2 .is-gov:after { content: ""; position: absolute; left: 50%; top: 100%; height: var(--gap); border-left: 1.5px solid var(--line); }
/* auditul intern: raportare operațională (punctat) către CEO */
.bx-org-t2 .is-audit:after { content: ""; position: absolute; left: 50%; top: 100%; height: calc(var(--gap) + 1px); border-left: 1.5px dashed var(--line); }
/* conducerea executivă și departamentele */
.bx-org-exec { position: relative; display: grid; grid-template-columns: 2fr 3fr; gap: 40px; padding-top: 24px; }
.bx-org-exec:before { content: ""; position: absolute; top: 0; left: 20%; right: 30%; border-top: 1.5px solid var(--line); }
.bx-org-branch { position: relative; }
.bx-org-branch > .is-exec { margin: 0 auto 28px; max-width: 360px; }
.bx-org-branch > .is-exec:before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 24px; border-left: 1.5px solid var(--line); }
.bx-org-deps { list-style: none; margin: 0; padding: 20px 0 0; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; }
.bx-org-deps:before { content: ""; position: absolute; top: 0; left: calc(50% / var(--n, 2)); right: calc(50% / var(--n, 2)); border-top: 1.5px solid var(--line); }
.bx-org-branch:first-child .bx-org-deps { --n: 2; }
.bx-org-branch:last-child .bx-org-deps { --n: 3; }
.bx-org-deps li { position: relative; }
.bx-org-deps li:before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 20px; border-left: 1.5px solid var(--line); }
.bx-org-branch > .is-exec:after { content: ""; position: absolute; left: 50%; top: 100%; height: 28px; border-left: 1.5px solid var(--line); }
.bx-org-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 28px 0 8px; font-size: 13px; color: #5B6178; }
.bx-org-legend span { display: inline-block; width: 28px; margin-left: 8px; border-top: 1.5px solid var(--line); }
.bx-org-legend span.is-dashed { border-top-style: dashed; }
.bx-org-note { margin: 0; font-size: 14px; line-height: 22px; color: var(--bx-body); max-width: 900px; }
.bx-org-doc { margin-top: 8px; }
@media (max-width: 900px) {
  .bx-org-tier, .bx-org-exec { grid-template-columns: 1fr; gap: 12px; }
  .bx-org-tier:before, .bx-org-exec:before, .bx-org-deps:before, .bx-org-deps li:before,
  .bx-org-t1 .is-gov:after, .bx-org-t2 .is-gov:after, .bx-org-t2 .is-audit:after,
  .bx-org-branch > .is-exec:before, .bx-org-branch > .is-exec:after { display: none; }
  .bx-org-tier .is-gov { order: -1; }
  .bx-org-exec { padding-top: 0; }
  .bx-org-branch > .is-exec { max-width: none; margin-bottom: 10px; }
  .bx-org-deps { grid-auto-flow: row; padding: 0 0 0 16px; border-left: 2px solid var(--bx-line); gap: 8px; margin-bottom: 16px; }
  .bx-org-box.is-dept { min-height: 0; }
}
/* bara conducerii: exact între centrele casetelor CEO și Deputy CEO; linia punctată ajunge până la caseta CEO */
@media (min-width: 901px) {
  .bx-org-exec:before { left: calc((100% - 40px) * .2) !important; right: calc((100% - 40px) * .3) !important; }
  .bx-org-t2 .is-audit:after { height: calc(var(--gap) + 24px) !important; }
}
/* Contacte: iconițele sociale identice cu cele din subsol */
.bx-social-btn { width: 40px !important; height: 40px !important; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 10px !important;
  background: rgba(255, 255, 255, .08) !important; color: #fff !important; transition: background .15s; }
.bx-social-btn:hover { background: #1DB0F0 !important; }
.bx-social-btn svg { width: 18px; height: 18px; }

/* ---------- Pagina calendarului: etape finalizate / următoare / planificate ---------- */
.bx-timeline:before { display: none !important; }
.bx-step { padding: 0 0 32px 44px !important; }
.bx-step:not(:last-child):after { content: ""; position: absolute; left: 7px; top: 22px; bottom: -2px; width: 2px; background: #DDE2EC; }
.bx-step.seg-done:after { background: #1DB0F0; }
.bx-step-dot { width: 16px !important; height: 16px !important; top: 4px !important; box-sizing: border-box; border: 2px solid #C9CEDB !important; background: #fff !important; }
.bx-step.is-done .bx-step-dot { background: #1DB0F0 !important; border-color: #1DB0F0 !important; }
.bx-step.is-done .bx-step-dot:after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bx-step.is-next .bx-step-dot { border: 4px solid #F5B83D !important; box-shadow: 0 0 0 4px rgba(245, 184, 61, .2); }
.bx-step-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 4px !important; }
.bx-step-meta time { margin: 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px; font-weight: 600; color: var(--bx-ink) !important; }
.bx-step-state { font-size: 12px; line-height: 18px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #EEF0F4; color: #5B6178; }
.bx-step.is-done .bx-step-state { background: rgba(29, 176, 240, .12); color: #0B7FB5; }
.bx-step.is-next .bx-step-state { background: #FFF1D6; color: #8A5A0B; }
.bx-step.is-done h2 { color: #4A5170 !important; }
.bx-step h2 { font-size: 19px !important; line-height: 27px !important; margin-bottom: 4px !important; }
/* aceleași stiluri de text pe toate etapele (starea se vede doar din punct, linie și etichetă) */
.bx-step h2, .bx-step.is-done h2 { color: var(--bx-navy) !important; }
.bx-step p:not(.bx-step-meta) { color: #4A5065 !important; }

/* ---------- Prima pagină: contactul pentru admitere, deasupra subsolului ---------- */
.bx-home-contact { background: #F4F6FA; border-top: 1px solid var(--bx-line); }
.bx-home-contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 22px; padding-bottom: 22px; }
.bx-home-contact p { margin: 0; font-size: 16px; color: var(--bx-navy); }
.bx-home-contact strong { font-weight: 600; }
.bx-home-contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.bx-home-contact-links span { color: #9AA3B8; }
.bx-home-contact-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--bx-navy) !important; text-decoration: none; }
.bx-home-contact-links a svg { color: #1DB0F0; }
.bx-home-contact-links a:hover { color: #1DB0F0 !important; }
@media (max-width: 600px) { .bx-home-contact-links span { display: none; } .bx-home-contact-links { flex-direction: column; align-items: flex-start; } }
/* „Știri și anunțuri”: același stil ca titlurile celorlalte secțiuni de pe prima pagină */
.bx-home-news .home_posts .head_section h2 {
  font-size: 13px !important; line-height: 18px !important; font-weight: 700 !important; letter-spacing: -.01em !important;
  text-transform: uppercase; color: #4A5170 !important; margin: 0 !important;
}
.bx-home-news .home_posts .head_section .left_side p { display: none; }   /* subtitlul repeta titlul */
.bx-home-news .home_posts .head_section { align-items: center !important; margin-bottom: 18px !important; }

/* „Deschis” (de la 28.09) rămâne galben, ca „Se deschide 28.09” */

/* ---------- Mobil: vizualul „X” mult mai mic, ca vizitatorul să ajungă repede la calendar și carduri ---------- */
@media (max-width: 600px) {
  .bx-home-art { max-width: 200px !important; margin: 4px auto -8px !important; }
  .bx-home-hero-grid { gap: 0 !important; }
}
@media (max-width: 900px) { .bx-lt-head { align-items: flex-start !important; text-align: left; } }

/* ---------- Cardurile „Cum doriți să participați?”: tot cardul e clicabil (linkul CTA se întinde peste card) ---------- */
.bx-part { position: relative; cursor: pointer; }
.bx-part-cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.bx-part:focus-within { outline: 2px solid #1DB0F0; outline-offset: 2px; }
.bx-part-cta:focus-visible { outline: none !important; }

/* ---------- Punctul „Pre-lansare”: puls discret ---------- */
@media (prefers-reduced-motion: no-preference) {
  .bx-status-strip .bx-status-dot { animation: bx-dot-pulse 2s ease-out infinite; }
  @keyframes bx-dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 184, 61, .55); }
    70% { box-shadow: 0 0 0 7px rgba(245, 184, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 184, 61, 0); }
  }
}
.bx-home-hero::after { border-color: rgba(30, 177, 241, .06) !important; }
/* mobil: ilustrația devine fundal discret în spatele titlului (nu mai ocupă spațiu în flux) */
@media (max-width: 600px) {
  .bx-home-hero-grid { position: relative; }
  .bx-home-art {
    position: absolute !important; top: 8px; right: -40px; width: 260px !important; max-width: none !important;
    margin: 0 !important; opacity: .14; pointer-events: none; z-index: 0;
  }
  .bx-home-hero-copy { position: relative; z-index: 1; }
}
@media (max-width: 600px) { .bx-home-hero-grid { padding-bottom: 8px !important; } .bx-lt { padding-top: 16px !important; } }
/* „X”-ul mare, fără fluxuri: înălțime limitată ca hero-ul să nu crească */
.bx-xmark { max-height: 400px; width: auto !important; max-width: 100% !important; }
.bx-home-art { display: flex; justify-content: center; }
.bx-xmark { overflow: visible; }

/* ---------- Hero: imaginea „X” 3D, cu marginile topite în fundal (fără linii drepte) ---------- */
.bx-home-art-img { position: relative; }
.bx-home-art-img picture, .bx-home-art-img img { display: block; width: 100%; height: auto; }
.bx-home-art-img img {
  max-width: 620px; margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%);
}
@media (max-width: 1100px) { .bx-home-art-img img { max-width: 480px; } }
/* imaginea are fundal transparent: fără mască */
.bx-home-art-img img { -webkit-mask-image: none !important; mask-image: none !important; }
/* hero: fundal #141A55 */
.bx-home-hero { background: #141A55 !important; }
/* imaginea hero (aproape pătrată): înălțime limitată, ca hero-ul să nu crească */
.bx-home-art-img img { width: auto !important; max-width: 100% !important; max-height: 420px; margin: 0 auto; }
@media (max-width: 1100px) { .bx-home-art-img img { max-height: 320px; } }
.bx-home-hero::before, .bx-home-hero::after { display: none !important; }
/* imaginea are fundal propriu: margini estompate, fără dreptunghi vizibil */
.bx-home-art-img img {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%) !important;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%) !important;
}

/* ---------- Avertizarea despre datele de piață: tipografia, butonul și închiderea site-ului ---------- */
#ds-popup-1 .ds-popup-wrapper { border-radius: 16px !important; box-shadow: 0 24px 64px -16px rgba(0, 0, 0, .45) !important; padding: 0 !important; height: auto !important; max-width: 560px !important; }
#ds-popup-1 .ds-popup-content { padding: 36px 36px 32px !important; font-family: "Prompt", sans-serif !important; }
#ds-popup-1 .ds-popup-icon { margin: 0 0 20px; }
#ds-popup-1 .ds-popup-icon .bx-ic-plate { width: 48px; height: 48px; }
#ds-popup-1 h2 { margin: 0 0 12px !important; font-size: 24px !important; line-height: 32px !important; font-weight: 700 !important; letter-spacing: -.01em; color: var(--bx-navy) !important; }
#ds-popup-1 p { margin: 0 0 12px !important; font-size: 16px !important; line-height: 25px !important; color: #4A5065 !important; }
#ds-popup-1 p:last-child { margin: 24px 0 0 !important; }
#ds-popup-1 .bx-popup-ok {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 22px; border: 0 !important;
  border-radius: 8px !important; background: #1DB0F0 !important; color: #fff !important; font-family: inherit; font-size: 16px !important; font-weight: 600 !important;
  cursor: pointer; transition: background .15s; box-shadow: none !important;
}
#ds-popup-1 .bx-popup-ok:hover { background: #139BD6 !important; }
#ds-popup-1 .bx-popup-ok:focus-visible { outline: 2px solid #1A2266 !important; outline-offset: 2px !important; }
#ds-popup-1 .ds-close-popup:not(.bx-popup-ok), #ds-popup-1 [class*="-topRight"] {
  width: 40px !important; height: 40px !important; top: 14px !important; right: 14px !important; display: flex !important; align-items: center; justify-content: center;
  border-radius: 10px !important; background: transparent !important; color: var(--bx-navy) !important; font-size: 28px !important; line-height: 1 !important; font-weight: 300 !important;
}
#ds-popup-1 .ds-close-popup:not(.bx-popup-ok):hover, #ds-popup-1 [class*="-topRight"]:hover { background: #F1F4F9 !important; }
@media (max-width: 600px) { #ds-popup-1 .ds-popup-content { padding: 28px 22px 24px !important; } #ds-popup-1 h2 { font-size: 21px !important; line-height: 28px !important; } }
#ds-popup-1 .ds-popup-close {
  position: absolute !important; top: 14px !important; right: 14px !important; width: 40px !important; height: 40px !important; padding: 0 !important;
  display: flex !important; align-items: center; justify-content: center; border: 0 !important; border-radius: 10px !important; background: transparent !important;
  font-size: 0 !important; cursor: pointer; z-index: 2;
}
#ds-popup-1 .ds-popup-close::before, #ds-popup-1 .ds-popup-close::after {
  content: "" !important; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; border-radius: 2px; background: var(--bx-navy) !important;
  transform: translate(-50%, -50%) rotate(45deg); display: block !important; font-size: 0 !important;
}
#ds-popup-1 .ds-popup-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
#ds-popup-1 .ds-popup-close:hover { background: #F1F4F9 !important; }
#ds-popup-1 .ds-popup-wrapper { height: auto !important; min-height: 0 !important; }
/* fereastra: centrată, cât conținutul (plugin-ul o întinde pe toată înălțimea ecranului) */
#ds-popup-1 .ds-popup-wrapper {
  position: fixed !important; top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important;
  transform: translate(-50%, -50%) !important; width: calc(100% - 32px) !important; max-width: 560px !important; height: auto !important;
  max-height: calc(100vh - 32px); overflow: auto;
}
.bx-home-art-img img { -webkit-mask-image: none !important; mask-image: none !important; }
/* imaginea hero cu 20 % mai mare, fără să crească hero-ul (scalare vizuală, nu de layout) */
@media (min-width: 1101px) { .bx-home-art-img img { transform: scale(1.2); transform-origin: 50% 50%; } }
/* partea de jos a imaginii (reflexia) se stinge treptat, fără linie de final */
.bx-home-art-img img {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 97%) !important;
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 97%) !important;
}
/* lumină discretă în spatele „X”-ului, ca semnul să lumineze spațiul din jur */
.bx-home-art-img { isolation: isolate; }
.bx-home-art-img::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 46%;
  width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(90, 180, 238, .12), transparent 60%);
}

/* ---------- Hero „X”: reflexie de lumină o singură dată + înclinare discretă după mouse ---------- */
.bx-home-art-img { perspective: 1200px; }
.bx-home-art-img .bx-tilt { position: relative; display: block; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.bx-home-art-img .bx-sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%);
  background-size: 250% 100%; background-position: 130% 0; mix-blend-mode: overlay;
  -webkit-mask: var(--bx-mask) center / contain no-repeat; mask: var(--bx-mask) center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .bx-home-art-img .bx-sheen.run { animation: bx-sheen 1.8s cubic-bezier(.4, .1, .2, 1) .5s 1 both; }
  @keyframes bx-sheen { 0% { opacity: 0; background-position: 130% 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }
}
@media (prefers-reduced-motion: reduce) { .bx-home-art-img .bx-tilt { transform: none !important; transition: none; } }
.bx-home-art-img { perspective: 700px !important; }
.bx-home-art-img .bx-tilt { transition: transform .35s ease-out !important; }
.bx-home-art-img .bx-sheen.no-mask { -webkit-mask: radial-gradient(ellipse 45% 40% at 50% 45%, #000 60%, transparent 100%); mask: radial-gradient(ellipse 45% 40% at 50% 45%, #000 60%, transparent 100%); mix-blend-mode: soft-light; }
/* „Știri și anunțuri”: titlu de secțiune propriu-zis (H2), nu etichetă */
.bx-home-news .home_posts .head_section h2 {
  font-size: 30px !important; line-height: 38px !important; font-weight: 700 !important; letter-spacing: -.01em !important;
  text-transform: none !important; color: var(--bx-navy) !important;
}
@media (max-width: 768px) { .bx-home-news .home_posts .head_section h2 { font-size: 24px !important; line-height: 32px !important; } }
/* desktop: un arc larg în partea stângă-jos a hero-ului (cerc foarte mare, cu centrul în afara hero-ului) */
@media (min-width: 1101px) {
  .bx-home-hero::after {
    display: block !important; content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: calc(50% - 1620px); top: 360px; bottom: auto; width: 1600px; height: 1600px; border-radius: 50%;
    border: 130px solid rgba(30, 177, 241, .06) !important; box-sizing: border-box;
  }
}
/* articolul principal din „Știri și anunțuri”: categorie + dată sus, „Citiți mai mult” jos-stânga, colțuri ca la cardurile din hero */
.bx-home-news .home_posts .posts .main_post, .bx-home-news .home_posts .posts .secondary_posts_list { border-radius: 14px !important; }
.bx-post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 12px; }
.bx-home-news .home_posts .posts .main_post .imag_wrap .data .bx-post-meta .post-category { margin: 0 !important; font-size: 13px !important; padding: 4px 12px !important; }
.bx-post-meta time { font-size: 14px; line-height: 20px; color: #5B6178; }
.bx-home-news .home_posts .posts .main_post .post_content .wrap { display: flex; justify-content: flex-start; }
.bx-home-news .home_posts .main_post .read-more { font-size: 15px !important; line-height: 22px !important; font-weight: 700 !important; }
.bx-home-news .home_posts .main_post .read-more svg { width: 16px; height: 16px; }
/* articolul principal: tot cardul e clicabil, cu stare de hover ca la cardurile „Cum doriți să participați?” */
.bx-home-news .home_posts .posts .main_post { position: relative; transition: transform .18s, box-shadow .18s, border-color .18s; }
.bx-home-news .home_posts .posts .main_post .read-more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.bx-home-news .home_posts .posts .main_post:hover { transform: translateY(-2px); border-color: #1DB0F0 !important; box-shadow: 0 16px 32px -20px rgba(20, 26, 61, .35); }
.bx-home-news .home_posts .posts .main_post .imag_wrap .data h2 { transition: color .15s; }
.bx-home-news .home_posts .posts .main_post:hover .imag_wrap .data h2 { color: #1DB0F0 !important; }
.bx-home-news .home_posts .posts .main_post:hover .read-more { color: var(--bx-navy) !important; }
.bx-home-news .home_posts .posts .main_post:focus-within { border-color: #1DB0F0 !important; }
@media (prefers-reduced-motion: reduce) { .bx-home-news .home_posts .posts .main_post:hover { transform: none; } }
/* rezumatul articolului principal se afișează integral */
.bx-home-news .home_posts .posts .main_post .post_content .post-excerpt p { display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
/* chenarul blocurilor de știri: exact 1px, și la hover (fără umbră care să îngroașe marginea de jos) */
.bx-home-news .home_posts .posts .main_post, .bx-home-news .home_posts .posts .secondary_posts_list { border: 1px solid #E3E6EE !important; box-sizing: border-box; }
.bx-home-news .home_posts .posts .main_post:hover, .bx-home-news .home_posts .posts .main_post:focus-within { border: 1px solid #1DB0F0 !important; box-shadow: none !important; }
/* lista de știri din dreapta: fără chenar, doar linii de separare, săgeată pe fiecare rând */
.bx-home-news .home_posts .posts .secondary_posts_list { border: 0 !important; border-radius: 0 !important; background: none !important; overflow: visible; border-top: 1px solid #E3E6EE !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item {
  position: relative; display: flex !important; align-items: center; gap: 24px;
  padding: 20px 8px !important; border: 0 !important; border-bottom: 1px solid #E3E6EE !important; background: none !important;
}
.bx-home-news .home_posts .posts .secondary_posts_list .list-item:nth-child(4) { border-bottom: 1px solid #E3E6EE !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item:hover { background: #F7FAFD !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .item_content { flex: 1 1 auto; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .post-category { font-size: 14px !important; color: #1C6FB0 !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .post-date { font-size: 14px !important; color: #5B6178 !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item h3 { margin-top: 4px !important; font-size: 17px !important; line-height: 24px !important; font-weight: 600 !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .arrow {
  position: static !important; display: flex !important; flex: 0 0 auto; align-items: center; justify-content: center;
  width: 24px; height: 24px; margin: 0 !important; opacity: 1 !important; transform: none; transition: transform .15s; color: var(--bx-navy);
}
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .arrow svg { width: 20px; height: 20px; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .arrow svg path { stroke: currentColor !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item:hover .arrow { transform: translateX(4px); color: #1DB0F0; }
/* „Vedeți toate”: link text, fără chenar */
.bx-home-news .head_section .right_side a.btn3, .bx-home-news .head_section .right_side a.btn3:hover {
  border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important;
  font-size: 17px !important; font-weight: 700 !important; gap: 6px;
}
.bx-home-news .head_section .right_side a.btn3 { color: var(--bx-navy) !important; }
.bx-home-news .head_section .right_side a.btn3:hover { color: #1DB0F0 !important; }
.bx-home-news .head_section .right_side a.btn3 svg { width: 18px; height: 18px; }
/* lista de știri din dreapta: titluri 15px, categorie și dată 13px */
.bx-home-news .home_posts .posts .secondary_posts_list .list-item h3 { font-size: 15px !important; line-height: 22px !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .post-category,
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .post-date { font-size: 13px !important; }
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .arrow svg { width: 18px; height: 18px; }
/* „Citiți mai mult”: albastru, cyan la hover (pe link sau pe card) */
.bx-home-news .home_posts .posts .main_post .read-more { color: #1C6FB0 !important; transition: color .15s; }
.bx-home-news .home_posts .posts .main_post:hover .read-more, .bx-home-news .home_posts .posts .main_post .read-more:hover,
.bx-home-news .home_posts .posts .main_post .read-more:focus-visible { color: #1DB0F0 !important; }
/* „Citiți mai mult” = același format ca „Verificați etapele” (.bx-part-cta): 15px, bold, navy, cyan la hover */
.bx-home-news .home_posts .posts .main_post .read-more {
  display: inline-flex !important; align-items: center; gap: 6px !important;
  font-size: 15px !important; line-height: 24px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important;
  color: var(--bx-navy) !important;
}
.bx-home-news .home_posts .posts .main_post .read-more svg { width: 16px !important; height: 16px !important; margin: 0 !important; }
.bx-home-news .home_posts .posts .main_post:hover .read-more, .bx-home-news .home_posts .posts .main_post .read-more:hover,
.bx-home-news .home_posts .posts .main_post .read-more:focus-visible { color: #1DB0F0 !important; }
/* lista de știri din dreapta: categoria („Licență”, „Acționari”) în cyan */
.bx-home-news .home_posts .posts .secondary_posts_list .list-item .post-category { color: #1DB0F0 !important; }
/* „Vedeți toate” = același format ca „Vizualizați calendarul complet” (.bx-lt-head a): 14px, semibold */
.bx-home-news .head_section .right_side a.btn3, .bx-home-news .head_section .right_side a.btn3:hover { font-size: 14px !important; font-weight: 600 !important; gap: 6px !important; }
.bx-home-news .head_section .right_side a.btn3 svg { width: 16px !important; height: 16px !important; }

/* ---------- „Cum doriți să participați?”: secțiune proprie sub rândul de încredere; calendarul rămâne în hero ---------- */
.bx-participate { background: #F6F7FB !important; padding: 56px 0 64px !important; border-bottom: 1px solid #E3E6EE; }
.bx-participate h2 {
  margin: 0 0 24px !important; font-size: 30px !important; line-height: 38px !important; font-weight: 700 !important;
  letter-spacing: -.01em !important; text-transform: none !important; color: var(--bx-navy) !important;
}
.bx-participate .bx-part { border: 1px solid #E3E6EE; box-shadow: none; }
.bx-participate .bx-part:hover { border-color: #1DB0F0; box-shadow: 0 16px 32px -20px rgba(20, 26, 61, .35); }
.bx-participate .bx-part.is-featured { border-color: #5AB4EE !important; }
.bx-home-hero .bx-lt { padding-bottom: 56px !important; }
@media (max-width: 768px) {
  .bx-participate { padding: 40px 0 44px !important; }
  .bx-participate h2 { font-size: 24px !important; line-height: 32px !important; margin-bottom: 18px !important; }
  .bx-home-hero .bx-lt { padding-bottom: 40px !important; }
}
/* articolul principal: titlul rămâne navy la hover (doar chenarul și „Citiți mai mult” devin cyan) */
.bx-home-news .home_posts .posts .main_post:hover .imag_wrap .data h2 { color: var(--bx-navy) !important; }
/* hover identic între cardul de știri și cardurile „Cum puteți să participați?”: ridicare 2px, chenar cyan 1px, aceeași umbră, CTA cyan */
.bx-home-news .home_posts .posts .main_post { background: #fff; transition: transform .18s, box-shadow .18s, border-color .18s; }
.bx-participate .bx-part { transition: transform .18s, box-shadow .18s, border-color .18s; }
.bx-home-news .home_posts .posts .main_post:hover { box-shadow: 0 16px 32px -20px rgba(20, 26, 61, .35) !important; }

/* ---------- Calendarul din hero, pe mobil: progres, „Etapa X din N”, marcaje rotunde, etapa următoare în card, listă pliată ---------- */
.bx-lt-prog, .bx-lt-of, .bx-lt-more { display: none; }
@media (max-width: 600px) {
  .bx-home-hero .bx-lt { display: flex; flex-direction: column; }
  .bx-home-hero .bx-lt-head { display: contents; }
  .bx-home-hero .bx-lt-head h2 { order: 0; margin: 0 0 12px !important; }
  .bx-home-hero .bx-lt-prog { order: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
  .bx-lt-prog span { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
  .bx-lt-prog .is-done { background: #5AB4EE; }
  .bx-lt-prog .is-next { background: #F5B83D; }
  .bx-home-hero .bx-lt-of { order: 2; display: block; margin: 0 0 18px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .72); }
  .bx-home-hero .bx-lt ol { order: 3; display: flex !important; flex-direction: column; gap: 14px !important; }
  .bx-home-hero .bx-lt:not(.is-all) .bx-lt-step.is-planned, .bx-home-hero .bx-lt:not(.is-all) .bx-lt-step.is-old { display: none; }
  .bx-home-hero .bx-lt-step { position: relative; display: flex; flex-flow: row wrap; align-items: baseline; padding-left: 36px; }
  .bx-home-hero .bx-lt-step::before {
    content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .28);
  }
  .bx-home-hero .bx-lt-step.is-done::before {
    border: 0; background: #5AB4EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A2266' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
  }
  .bx-home-hero .bx-lt-step.is-next { padding: 16px 16px 14px 52px; border: 1px solid #F5B83D; border-radius: 14px; background: rgba(255, 255, 255, .05); }
  .bx-home-hero .bx-lt-step.is-next::before { left: 16px; top: 16px; border: 2px solid #F5B83D; background: radial-gradient(circle, #F5B83D 0 4px, transparent 4.5px); }
  .bx-home-hero .bx-lt-bar, .bx-home-hero .bx-lt-status svg { display: none !important; }
  .bx-home-hero .bx-lt-status { margin: 0 !important; font-size: 14px !important; line-height: 22px !important; }
  .bx-home-hero .bx-lt-step time { margin: 0 !important; font-size: 14px !important; line-height: 22px !important; font-weight: 600; }
  .bx-home-hero .bx-lt-step time::before { content: "\00a0· "; }
  .bx-home-hero .bx-lt-step.is-done time { color: #7DD3FC !important; }
  .bx-home-hero .bx-lt-step.is-next time { color: #F5B83D !important; }
  .bx-home-hero .bx-lt-title { flex: 0 0 100%; margin-top: 2px !important; font-size: 17px !important; line-height: 24px !important; }
  .bx-home-hero .bx-lt .bx-tl-cta { flex: 0 0 100%; margin-top: 10px !important; font-size: 14px !important; }
  .bx-home-hero .bx-lt-more {
    order: 4; display: block; width: 100%; height: 48px; margin-top: 18px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px;
    background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer;
  }
  .bx-home-hero .bx-lt-more:hover { border-color: #fff; }
  .bx-home-hero .bx-lt-head a { order: 5; margin-top: 20px; font-size: 15px !important; font-weight: 700 !important; }
}
/* logo-ul din antet (SVG, cadru 2048 × 587) păstrează proporțiile pe orice lățime – tema îi forța 100px lățime pe mobil */
header.site-header .header_content .left_side img.custom-logo { width: auto !important; height: 36px !important; max-width: none !important; aspect-ratio: 2048 / 587; object-fit: contain; }
@media (max-width: 600px) { header.site-header .header_content .left_side img.custom-logo { height: 32px !important; } }
/* căutarea: indicația de tastatură (Esc, /) doar pe dispozitivele cu mouse; pe ecranele tactile nu există Esc */
@media (hover: none), (pointer: coarse) { .bx-search-hint { display: none !important; } }

/* ---------- Selectorul de limbă: buton compact (glob + cod) și listă derulantă RO / EN / RU (replica.js) ---------- */
.bx-lang { position: relative; display: inline-flex !important; padding: 0 !important; background: none !important; margin: 0 2px !important; }
.bx-lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-radius: 8px;
  background: transparent; color: var(--bx-navy); font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
  transition: background .15s;
}
.bx-lang-btn:hover, .bx-lang-btn[aria-expanded="true"] { background: #F1F4F9; }
.bx-lang-btn:focus-visible { outline: 2px solid #1DB0F0; outline-offset: 2px; }
.bx-lang-btn svg { flex: 0 0 auto; }
.bx-lang-chev { transition: transform .15s; }
.bx-lang-btn[aria-expanded="true"] .bx-lang-chev { transform: rotate(180deg); }
.bx-lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 1200; min-width: 196px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid #E3E6EE; border-radius: 12px; box-shadow: 0 16px 36px -12px rgba(20, 26, 61, .28);
}
.bx-lang-menu[hidden] { display: none; }
.bx-lang-menu li { margin: 0; }
.bx-lang-menu a {
  display: flex !important; align-items: center; gap: 10px; padding: 9px 10px !important; border-radius: 8px;
  font-size: 14px !important; line-height: 20px; font-weight: 500 !important; color: var(--bx-navy) !important; text-decoration: none;
  background: none !important; box-shadow: none !important;
}
.bx-lang-menu a:hover, .bx-lang-menu a:focus-visible { background: #F1F4F9 !important; }
.bx-lang-menu a[aria-current] { font-weight: 600 !important; }
.bx-lang-code { width: 26px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #6A7181; }
.bx-lang-name { flex: 1 1 auto; }
.bx-lang-check { color: #1DB0F0; }
@media (max-width: 991px) {
  .bx-lang { display: inline-flex !important; }
  .bx-lang-btn { padding: 0 6px; gap: 4px; }
  .bx-lang-btn > svg:first-child { display: none; }
}

/* rusă și ucraineană: Prompt nu are chirilică – pe paginile RU și UK textul folosește Montserrat (tot geometric, cu chirilică completă) */
html[lang^="ru"] body, html[lang^="ru"] body *:not(code):not(pre):not(svg):not(svg *),
html[lang^="uk"] body, html[lang^="uk"] body *:not(code):not(pre):not(svg):not(svg *) { font-family: "Montserrat", "Prompt", system-ui, sans-serif !important; }
@media (max-width: 991px) { header.site-header .header_content .right_side .bx-lang { order: -1; } }
/* rusă și ucraineană: denumirile din rândul de încredere sunt mai lungi – pot trece pe al doilea rând */
html[lang^="ru"] .bx-trust-row li > strong, html[lang^="uk"] .bx-trust-row li > strong { white-space: normal !important; }
/* rusă și ucraineană: Montserrat 500 e vizibil mai subțire decât Prompt 500 – meniul de navigare (inclusiv panourile și submeniurile) la 600, ca să arate la fel ca în RO/EN */
html[lang^="ru"] header.site-header nav ul.menu-wrapper > li > a,
html[lang^="uk"] header.site-header nav ul.menu-wrapper > li > a,
html[lang^="ru"] header.site-header nav ul.menu-wrapper .sub-menu a,
html[lang^="uk"] header.site-header nav ul.menu-wrapper .sub-menu a { font-weight: 600 !important; }
/* … și în interiorul panourilor: titlurile coloanelor și linkurile (aceeași specificitate ca regulile temei + limba) */
html[lang^="ru"] header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > a,
html[lang^="ru"] header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a,
html[lang^="ru"] header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a:hover,
html[lang^="ru"] header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a,
html[lang^="uk"] header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > a,
html[lang^="uk"] header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a,
html[lang^="uk"] header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a:hover,
html[lang^="uk"] header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a { font-weight: 600 !important; }
/* panourile meniului: săgeata urmează ultimul cuvânt al linkului (și când textul trece pe două rânduri), nu marginea coloanei */
@media (min-width: 992px) {
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a { display: inline !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a:after {
    display: inline-block !important; position: relative !important; right: auto !important; top: 1px !important;
    margin-left: 6px !important; vertical-align: baseline;
  }
}
/* rusă și ucraineană: textul din subsol la 500 în loc de 400 (Montserrat e mai subțire decât Prompt); titlurile rămân 600–700 */
html[lang^="ru"] footer.site-footer.bx-footer .bx-f-brand p,
html[lang^="ru"] footer.site-footer.bx-footer .bx-f-contact li > span,
html[lang^="ru"] footer.site-footer.bx-footer .bx-f-contact li > a,
html[lang^="ru"] footer.site-footer.bx-footer .bx-f-col a,
html[lang^="ru"] footer.site-footer.bx-footer .bx-f-resources a,
html[lang^="ru"] footer.site-footer.bx-footer .bx-f-disclaimer p,
html[lang^="ru"] footer.site-footer.bx-footer .bx-f-bottom p,
html[lang^="uk"] footer.site-footer.bx-footer .bx-f-brand p,
html[lang^="uk"] footer.site-footer.bx-footer .bx-f-contact li > span,
html[lang^="uk"] footer.site-footer.bx-footer .bx-f-contact li > a,
html[lang^="uk"] footer.site-footer.bx-footer .bx-f-col a,
html[lang^="uk"] footer.site-footer.bx-footer .bx-f-resources a,
html[lang^="uk"] footer.site-footer.bx-footer .bx-f-disclaimer p,
html[lang^="uk"] footer.site-footer.bx-footer .bx-f-bottom p { font-weight: 500 !important; }
/* rândul de încredere (desktop): eticheta aliniată sus, pe același rând cu numele */
@media (min-width: 901px) {
  .bx-trust-inner { align-items: flex-start !important; }
  .bx-trust-title { align-self: flex-start !important; }
  .bx-trust-row { align-items: start; }
}
/* ucraineană (desktop): coloana НКФР mai îngustă, „Агентство публічної власності” mai lată – numele încape pe un rând */
@media (min-width: 901px) {
  html[lang^="uk"] .bx-trust-row { grid-template-columns: 205fr 285fr 305fr 267fr !important; }
}
/* rusă (desktop): eticheta mai îngustă, spații interioare mai mici și coloane pe măsura numelor – fiecare nume pe un rând */
@media (min-width: 901px) {
  html[lang^="ru"] .bx-trust-title { flex-basis: 110px !important; }
  html[lang^="ru"] .bx-trust-row li, html[lang^="ru"] .bx-trust-row li:first-child { padding-left: 14px !important; padding-right: 14px !important; }
  html[lang^="ru"] .bx-trust-row { grid-template-columns: 178fr 286fr 338fr 276fr !important; }
}
/* ultimul cuvânt + săgeata din „Structura acționariatului →” păstrează stilul linkului (nu al etichetelor gri) */
.bx-trust-row .bx-trust-link .bx-nowrap { color: inherit !important; font: inherit !important; }
/* mobil: etapele din afara cardului „Urmează” – cercul și textul pe aceeași verticală ca în card (chenar 1px + 16px / 52px) */
@media (max-width: 600px) {
  .bx-home-hero .bx-lt-step:not(.is-next) { padding-left: 53px; padding-right: 17px; }
  .bx-home-hero .bx-lt-step:not(.is-next)::before { left: 17px; }
}

/* ---------- Banda de sus: pe ecranele înguste, mesajul curge continuu spre stânga (bandă de știri); „Pre-lansare” rămâne fix ---------- */
.bx-status-left .bx-strip { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; }
.bx-status-left .bx-strip-move { display: inline-flex; }
.bx-status-left .bx-strip-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bx-status-left .bx-strip-item strong { white-space: nowrap; }
.bx-status-left .bx-strip-item .bx-strip-text { overflow: visible !important; text-overflow: clip !important; white-space: nowrap; }
.bx-strip.is-marquee .bx-strip-item { padding-right: 48px; }
.bx-strip.is-marquee { -webkit-mask: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 16px), transparent);
                       mask: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 16px), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .bx-strip.is-marquee .bx-strip-move { animation: bx-marquee var(--bx-strip-time, 12s) linear infinite; will-change: transform; }
  .bx-strip.is-marquee:hover .bx-strip-move { animation-play-state: paused; }
  @keyframes bx-marquee { from { transform: translateX(0); } to { transform: translateX(var(--bx-strip-dist, -50%)); } }
}
@media (prefers-reduced-motion: reduce) {                  /* fără animații: textul trece pe al doilea rând */
  .bx-strip.is-marquee { -webkit-mask: none; mask: none; white-space: normal; }
  .bx-strip.is-marquee .bx-strip-item, .bx-strip.is-marquee .bx-strip-text { white-space: normal !important; display: inline; }
  .bx-strip.is-marquee .bx-strip-clone { display: none; }
}
.bx-status-left .bx-strip { text-overflow: clip !important; }
.bx-status-left .bx-strip-move, .bx-status-left .bx-strip-item, .bx-status-left .bx-strip-item > * { overflow: visible !important; text-overflow: clip !important; }
.bx-status-left .bx-strip { margin-left: 4px; }
/* programul de lucru lângă telefon, în bara de contact de deasupra subsolului: informație secundară, discretă */
.bx-home-hours { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding-left: 16px; border-left: 1px solid #DDE1EE;
  font-size: 13px; line-height: 18px; font-weight: 400; color: #5B6178; }
.bx-home-hours svg { flex: 0 0 auto; width: 16px; height: 16px; color: #8A90A6; }
.bx-home-hours strong { font-weight: 600; color: #4A5075; }
@media (max-width: 991px) {
  .bx-home-hours { margin-left: 0; padding-left: 0; border-left: 0; flex-basis: 100%; }
}
@media (max-width: 600px) {
  .bx-home-hours { align-items: flex-start; }
  .bx-home-hours svg { margin-top: 1px; }
  .bx-home-hours-sep { display: none; }
  .bx-home-hours > span > strong::after { content: ""; }
}
/* programul: vizibil și pe mobil (regula de mai sus ascundea toate span-urile, inclusiv separatorul „·”) și cu contrast suficient */
.bx-home-contact-links .bx-home-hours, .bx-home-contact-links .bx-home-hours span { color: #5B6178; }
.bx-home-contact-links .bx-home-hours strong { color: #4A5075; }
@media (max-width: 600px) {
  .bx-home-contact-links .bx-home-hours { display: inline-flex !important; margin-top: 4px; }
  .bx-home-contact-links .bx-home-hours > span { display: inline !important; }
  .bx-home-contact-links .bx-home-hours .bx-home-hours-sep { display: none !important; }
  .bx-home-contact-links .bx-home-hours strong { display: block; }
}
@media (max-width: 600px) { .bx-home-contact-links .bx-home-hours > span > .bx-hours-line { display: block !important; } }
/* programul pe rândul lui, sub email și telefon (nu alături) */
.bx-home-contact-links .bx-home-hours { flex-basis: 100%; margin-left: 0; padding-left: 0; border-left: 0; }
@media (min-width: 601px) {
  .bx-home-contact-links { display: grid !important; grid-template-columns: auto auto 1fr; column-gap: 16px; row-gap: 8px; justify-content: end; align-items: center; }
  .bx-home-contact-links .bx-home-hours { grid-column: 1 / -1; }
}
/* meniul mobil: butonul „Înapoi” din submeniuri nu se mai lipește de antet */
@media (max-width: 991px) {
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.back_to_main_menu { margin-top: 16px !important; }
}

/* ---------- Meniul mobil: CTA „Aplicați pentru admitere” și blocul de contact cu programul (jos, pe primul ecran) ---------- */
header.site-header .header_content .center nav ul.menu-wrapper li.bx-menu-contact { display: none; }
@media (max-width: 991px) {
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop.bx-menu-apply { padding-top: 24px; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop.bx-menu-apply + li.hide_desktop { padding-top: 10px; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop.bx-menu-apply > a { background: #1DB0F0 !important; color: #fff !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop.bx-menu-apply > a:hover { background: #139BD6 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact {
    display: block !important; margin-top: 24px !important; padding: 16px !important; border: 0 !important; border-radius: 12px; background: #F4F6FA;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact .bx-menu-contact-h { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #5B6178; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact > a {
    display: flex !important; align-items: center; gap: 12px; width: auto !important; min-height: 44px; padding: 0 !important; margin: 0 !important;
    background: none !important; border: 0 !important; border-radius: 0 !important; font-size: 16px !important; font-weight: 600 !important;
    color: var(--bx-navy) !important; text-transform: none !important; justify-content: flex-start !important;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact > a:after { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact svg { flex: 0 0 auto; color: #1C6FB0; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact .bx-menu-hours {
    display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 0; font-size: 14px; line-height: 20px; color: #4A5075;
  }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact .bx-menu-hours svg { margin-top: 1px; color: #5B6178; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact .bx-menu-hours strong { font-weight: 600; color: var(--bx-navy); }
}
/* meniul mobil: ambele ecrane (lista principală și submeniurile) se derulează și se opresc la marginea de jos a ecranului */
@media (max-width: 991px) {
  header.site-header .header_content .center { height: auto !important; bottom: 0 !important; overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu {
    overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 32px !important;
  }
}

/* ---------- Hero: două butoane – principal „Aplicați pentru admitere →” (albastru plin), secundar „Prezentare generală” (contur alb) ---------- */
.bx-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bx-home-cta.bx-home-cta-2 {
  background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .55); box-sizing: border-box;
}
.bx-home-cta.bx-home-cta-2:hover, .bx-home-cta.bx-home-cta-2:focus-visible { background: rgba(255, 255, 255, .1) !important; border-color: #fff; }
/* mobil: rămâne doar „Prezentare generală”, ca până acum (admiterea e în calendar și în meniu) */
@media (max-width: 600px) {
  .bx-home-actions .bx-home-apply { display: none !important; }
  .bx-home-cta.bx-home-cta-2 { width: 100%; justify-content: center; background: #1DB0F0 !important; border-color: #1DB0F0; }
}
/* meniul mobil (și pe tabletă): butoanele nu moștenesc marginea linkurilor din meniul desktop */
@media (max-width: 1199px) {
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop > a,
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact > a { margin-left: 0 !important; margin-right: 0 !important; }
}

/* ---------- Hero pe tabletă (901–1100 px): tot două coloane – textul în stânga, X-ul de ~340 px în dreapta ---------- */
@media (min-width: 901px) and (max-width: 1100px) {
  .bx-home-hero-grid { grid-template-columns: minmax(0, 1fr) 340px !important; gap: 32px !important; align-items: center !important;
                       padding-top: 56px !important; padding-bottom: 32px !important; }
  .bx-home-art { width: 340px !important; max-width: 340px !important; margin: 0 !important; }
  .bx-home-art-img img { max-width: 340px !important; max-height: 360px !important; }
}
/* rândul de încredere pe tabletă (901–1199 px): eticheta deasupra, cele 4 blocuri pe toată lățimea, numele pot trece pe două rânduri */
@media (min-width: 901px) and (max-width: 1199px) {
  .bx-trust-inner { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; padding-top: 18px !important; padding-bottom: 18px !important; }
  .bx-trust-title { flex: none !important; }
  html[lang] .bx-trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .bx-trust-row li > strong { white-space: normal !important; }
  .bx-trust-row li:first-child { border-left: 0 !important; padding-left: 0 !important; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  html[lang] .bx-trust-row li:first-child { padding-left: 0 !important; }
  html[lang] .bx-trust-title { flex-basis: auto !important; }
}

/* ---------- Hero pe tabletă mică (601–900 px, ex. iPad mini vertical) ---------- */
@media (min-width: 601px) and (max-width: 900px) {
  /* X-ul mic (200 px), în dreapta titlului – nu mai ocupă un bloc separat sub text */
  .bx-home-hero-grid { grid-template-columns: minmax(0, 1fr) 200px !important; gap: 24px !important; align-items: start !important;
                       padding-top: 40px !important; padding-bottom: 24px !important; }
  .bx-home-art { width: 200px !important; max-width: 200px !important; margin: 24px 0 0 !important; }
  .bx-home-art-img img { max-width: 200px !important; max-height: 210px !important; }
  /* „Vizualizați calendarul complet →” în dreapta titlului calendarului, ca pe desktop */
  .bx-home-hero .bx-lt-head { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
}
/* logo-ul din subsol: varianta deschisă (bimx-logo-light.svg), la aceeași înălțime ca logo-ul din antet */
footer.site-footer.bx-footer .bx-f-logo img { display: block; height: 36px !important; width: auto !important; margin: 0 !important; }
/* banda de cotații: butonul „Pauză / Porniți” decide singur starea (stilul original oprea banda la hover,
   deci „Porniți” nu avea efect cât timp mouse-ul era pe buton); pe ecranele înguste butonul lipsește */
@media (prefers-reduced-motion: no-preference) {
  .bx-ticker:not(.paused) .bimx-ticker, .bx-ticker:not(.paused):hover .bimx-ticker { animation-play-state: running !important; }
  .bx-ticker.paused .bimx-ticker { animation-play-state: paused !important; }
}
@media (max-width: 767px) {
  .bx-ticker .bx-ticker-toggle { display: none !important; }
  .bx-ticker.paused .bimx-ticker { animation-play-state: running !important; }
}
/* nota „Actualizare:” adăugată sub un text din articolele datate (auditul de conținut C-05) */
.bx-update-note { margin: 16px 0 24px !important; padding: 12px 16px; border-left: 3px solid #1DB0F0; border-radius: 0 8px 8px 0;
  background: #F1F8FD; font-size: 15px !important; line-height: 1.55 !important; color: var(--bx-navy) !important; }
.bx-update-note strong { font-weight: 600; }
.bx-update-note a { color: inherit !important; text-decoration: underline; text-decoration-color: rgba(26, 34, 102, .35); text-underline-offset: 3px; }
.bx-update-note a:hover { color: #1C6FB0 !important; }
/* Consiliul și Organul Executiv: textul introductiv al secțiunilor pe toată lățimea conținutului */
.team .head_section .left_side { flex: 1 1 auto; max-width: none; }
.team .head_section .left_side p { max-width: none !important; }
/* Parteneri instituționali: logo-ul partenerului pe plăcuță albă cu contur */
.bx-partner-logo { width: auto !important; height: auto !important; background: none !important; }
.bx-partner-logo { display: flex !important; align-items: center; justify-content: center; box-sizing: border-box; height: 96px !important;
  padding: 16px 20px; margin-bottom: 20px; background: #fff !important; border: 1px solid #E3E6EE; border-radius: 12px; }
.bx-partner-logo img { display: block; max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
/* Parteneri instituționali: grilă de 3 coloane (2 pe tabletă, 1 pe mobil) */
.partners_items { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px !important; }
.partners_items > .item { width: auto !important; max-width: none !important; margin: 0 !important; }
@media (max-width: 991px) { .partners_items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .partners_items { grid-template-columns: 1fr; } }
/* subsol: logo-urile partenerilor – plăcuțe compacte, pe rânduri (desktop 104×44, mobil în grilă de 3 coloane) */
.bx-f-partners { align-items: flex-start !important; }
.bx-f-partners > div { gap: 8px !important; flex: 1 1 0; min-width: 0; }
.bx-f-partner { width: 104px !important; height: 44px !important; padding: 6px 8px !important; border-radius: 8px !important; box-sizing: border-box; }
.bx-f-partner img { max-height: 30px !important; max-width: 100% !important; width: auto; height: auto; }
span.bx-f-partner:hover { transform: none; box-shadow: none; }
@media (max-width: 600px) {
  .bx-f-partners { flex-direction: column; gap: 12px !important; padding: 22px 0 !important; }
  .bx-f-partners > div { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px !important; width: 100%; }
  .bx-f-partner { width: auto !important; height: 40px !important; padding: 6px !important; }
  .bx-f-partner img { max-height: 26px !important; }
}
@media (min-width: 601px) and (max-width: 1199px) {
  .bx-f-partners { flex-direction: column; gap: 12px !important; }
  .bx-f-partners > div { display: grid !important; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px !important; width: 100%; }
  .bx-f-partner { width: auto !important; height: 42px !important; padding: 5px !important; }
  .bx-f-partner img { max-height: 28px !important; }
}
@media (min-width: 601px) and (max-width: 820px) { .bx-f-partners > div { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* subsol, desktop: eticheta pe două rânduri, logo-urile partenerilor în 2 rânduri a câte 5, pe toată lățimea rămasă */
@media (min-width: 1200px) {
  .bx-f-partners { flex-wrap: nowrap !important; gap: 24px !important; }
  .bx-f-partners h2 { flex: 0 0 110px; line-height: 1.4; }
  .bx-f-partners > div { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px !important; flex: 1 1 auto; }
  .bx-f-partner { width: auto !important; height: 48px !important; }
  .bx-f-partner img { max-height: 32px !important; }
}
/* logo-urile partenerilor din subsol nu sunt clicabile: fără efect de hover */
.bx-f-partner, .bx-f-partner:hover { transform: none !important; box-shadow: none !important; cursor: default; }
/* subsol: avertizarea privind riscurile, lipită de notificarea despre datele de piață (un singur bloc legal) */
footer.site-footer.bx-footer .bx-f-disclaimer:has(+ .bx-f-risk) { border-bottom: 0; padding-bottom: 8px; }
footer.site-footer.bx-footer .bx-f-risk { padding-top: 8px; }
/* etapele numerotate (.stages): pătratul cu numărul nu se strânge când textul de alături e lung (Atestarea agenților de bursă) */
.stages .stage > .number { flex: 0 0 40px !important; width: 40px !important; min-width: 40px; }


/* ---------- generat la build (sitegen/tabletnav.py): meniul mobil și pe tabletă ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
  header.site-header .top_header .right_side { display: none; }
  header.site-header .header_content .center { position: fixed;
    top: 116px;
    left: 0;
    max-width: 375px;
    width: 100%;
    background: #ffffff;
    z-index: 99;
    bottom: 0;
    height: 100%;
    padding: 60px 20px;
    display: none; }
  header.site-header .header_content .center nav ul.menu-wrapper { flex-wrap: wrap; }
  header.site-header .header_content .center nav ul.menu-wrapper li { width: 100%;
    margin: 0 0 24px 0; }
  header.site-header .header_content .center nav ul.menu-wrapper li.hide_desktop { display: block; }
  header.site-header .header_content .center nav ul.menu-wrapper li a { font-size: 18px; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu:before { display: none; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { position: fixed;
    top: 116px;
    max-width: 375px;
    z-index: -1;
    transform: none;
    left: 0;
    padding: 48px 16px;
    display: block;
    bottom: 0; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li { width: 100%;
    margin-bottom: 12px;
    margin-right: 0; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.back_to_main_menu { display: block;
    margin-bottom: 30px; }
  header.site-header .header_content .center nav ul.menu-wrapper .pll-parent-menu-item { display: block; }
  header.site-header .header_content .right_side .search { margin-right: 26px; }
  header.site-header .header_content .right_side .burger { display: block; }
  header.site-header .header_content .right_side a { display: none; }
  .bx-prelaunch-more { display: none; }
  header.site-header .header_content .right_side .burger { cursor: pointer; }
  header.site-header .header_content .right_side .burger::after { content: ""; position: absolute; inset: -12px -8px; }
  header.site-header .top_header .lang-navigation ul li a { display: inline-block; padding: 12px 8px; }
  header.site-header .header_content .center,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { max-width: 100% !important; width: 100% !important; }
  header.site-header .header_content .right_side .btn1.bx-login { display: none; }
  .bx-lang { display: none; }
  .bx-prelaunch-badge { font-size: 11px; padding: 2px 8px; }
  header.site-header .header_content .center { top: 65px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { top: 65px !important; }
  header.site-header .header_content .center { padding: 8px 16px 32px !important; background: #fff; overflow-y: auto; }
  header.site-header .header_content .center nav ul.menu-wrapper > li { margin: 0 !important; border-bottom: 1px solid var(--bx-line); }
  header.site-header .header_content .center nav ul.menu-wrapper > li > a { display: flex !important; align-items: center; justify-content: space-between; text-transform: none !important; font-size: 18px !important;
    font-weight: 600 !important; padding: 16px 4px !important; color: var(--bx-navy) !important; background: transparent !important; border-radius: 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.menu-item-has-children:not(.pll-parent-menu-item) > a:after { content: ""; width: 8px; height: 8px; border-right: 2px solid #9AA3B8; border-bottom: 2px solid #9AA3B8; transform: rotate(-45deg); margin-right: 6px; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop { border-bottom: 0; padding-top: 20px; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop > a { justify-content: center; background: var(--bx-navy) !important; color: #fff !important; border-radius: 10px !important; font-size: 16px !important;
    min-height: 48px; padding: 12px 16px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item { border-bottom: 0; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > a { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu { position: static !important; display: flex !important; gap: 8px; padding: 16px 0 0 !important; opacity: 1 !important; visibility: visible !important;
    pointer-events: auto !important; background: transparent !important; max-width: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu:before { display: none; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu > li { width: auto !important; margin: 0 !important; border: 0 !important; padding: 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu > li > a { display: inline-flex; min-width: 56px; justify-content: center; padding: 10px 14px !important; border: 1px solid var(--bx-line); border-radius: 8px !important;
    font-size: 15px !important; color: #5B6178 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu > li.current-lang > a { background: var(--bx-navy) !important; color: #fff !important; border-color: var(--bx-navy); }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { padding: 16px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > a { text-transform: none !important; font-size: 17px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li > ul > li a { text-transform: none !important; font-size: 16px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop > a { width: 100%; box-sizing: border-box; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu { margin: 0 !important; left: 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click { border: 0 !important; margin: 0 0 20px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a { display: block !important; font-size: 12px !important; font-weight: 500 !important; color: #8A90A6 !important; padding: 0 !important;
    margin: 0 0 4px !important; border: 0 !important; cursor: default; text-transform: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > a:after { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu { display: block !important; position: static !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    padding: 0 !important; background: transparent !important; max-width: none !important; height: auto !important; transform: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu:before { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li { margin: 0 !important; width: 100% !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a { display: block !important; padding: 10px 0 !important; font-size: 16px !important; font-weight: 500 !important; color: var(--bx-navy) !important;
    text-transform: none !important; border-bottom: 1px solid var(--bx-line); }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a:after { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li { padding: 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click > ul.sub-menu > li > a { padding: 13px 0 !important; line-height: 22px !important; border-radius: 0 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.not_click { margin-bottom: 28px !important; }
  header.site-header .header_content .center,
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { top: var(--bx-menu-top, 101px) !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.pll-parent-menu-item > ul.sub-menu { padding-left: 0 !important; }
  .bx-lang { display: inline-flex !important; }
  .bx-lang-btn { padding: 0 6px; gap: 4px; }
  .bx-lang-btn > svg:first-child { display: none; }
  header.site-header .header_content .right_side .bx-lang { order: -1; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu > li.back_to_main_menu { margin-top: 16px !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop.bx-menu-apply { padding-top: 24px; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop.bx-menu-apply + li.hide_desktop { padding-top: 10px; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop.bx-menu-apply > a { background: #1DB0F0 !important; color: #fff !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.hide_desktop.bx-menu-apply > a:hover { background: #139BD6 !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact { display: block !important; margin-top: 24px !important; padding: 16px !important; border: 0 !important; border-radius: 12px; background: #F4F6FA; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact .bx-menu-contact-h { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #5B6178; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact > a { display: flex !important; align-items: center; gap: 12px; width: auto !important; min-height: 44px; padding: 0 !important; margin: 0 !important;
    background: none !important; border: 0 !important; border-radius: 0 !important; font-size: 16px !important; font-weight: 600 !important;
    color: var(--bx-navy) !important; text-transform: none !important; justify-content: flex-start !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact > a:after { display: none !important; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact svg { flex: 0 0 auto; color: #1C6FB0; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact .bx-menu-hours { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 0; font-size: 14px; line-height: 20px; color: #4A5075; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact .bx-menu-hours svg { margin-top: 1px; color: #5B6178; }
  header.site-header .header_content .center nav ul.menu-wrapper > li.bx-menu-contact .bx-menu-hours strong { font-weight: 600; color: var(--bx-navy); }
  header.site-header .header_content .center { height: auto !important; bottom: 0 !important; overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  header.site-header .header_content .center nav ul.menu-wrapper li.menu-item-has-children > ul.sub-menu { overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 32px !important; }
}
