/* Antetul, subsolul, bara de jos de pe telefon și anunțul din colț, ca pe site-ul vechi (WordPress, tema Astra),
   refăcute după valorile măsurate pe misiuneabucovina.org (26.11.2026). Fără Astra și fără scripturile ei. */

:root {
  --mbv-red: var(--brand-red);
  --mbv-ink: #334155;
  --mbv-blue: var(--brand-blue);
  --mbv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --mbv-head: 72px;
  --mb-nav-bg: #fff;
  --mb-nav-text: #5b6170;
  --mb-nav-active: var(--brand-red);
  --mb-nav-active-bg: rgba(151, 15, 15, .09);
  --mb-nav-border: rgba(17, 24, 39, .08);
  --mb-nav-shadow: 0 -4px 16px rgba(16, 24, 40, .07);
  --mb-nav-h: 52px;
}

/* ---------------- antetul ---------------- */
.mbv-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999; height: var(--mbv-head);
  background: linear-gradient(rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .6) 80%, rgba(255, 255, 255, .01) 100%);
  font: 16px/1.65 var(--mbv-font); color: #000;
}
.mbv-head__in { width: min(1200px, calc(100% - 40px)); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.mbv-logo { display: block; flex: 0 0 auto; line-height: 0; }
.mbv-logo img { width: 150px; height: 48px; display: block; }
.mbv-menu { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; margin: 0; padding: 0; list-style: none; }
.mbv-menu > li { position: relative; }
.mbv-menu > li > a, .mbv-menu > li > button {
  display: flex; align-items: center; gap: 6px; height: var(--mbv-head); padding: 0 16px; border: 0; background: none;
  font: inherit; color: var(--mbv-ink); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.mbv-menu > li > a:hover, .mbv-menu > li > button:hover, .mbv-menu > li:focus-within > button { color: var(--mbv-blue); }
.mbv-menu a[aria-current="page"], .mbv-menu > li.is-current > button { color: var(--mbv-blue); }
.mbv-caret { width: 10px; height: 10px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.mbv-sub {
  position: absolute; top: calc(var(--mbv-head) - 8px); left: 0; min-width: 240px; padding: 0; margin: 0; list-style: none;
  background: #fff; box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1); border-top: 2px solid var(--mbv-red);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.mbv-menu > li:hover > .mbv-sub, .mbv-menu > li:focus-within > .mbv-sub, .mbv-menu > li.is-open > .mbv-sub { opacity: 1; visibility: visible; transform: none; }
.mbv-sub a { display: block; padding: .9em 1em; color: var(--mbv-ink); text-decoration: none; border-bottom: 1px solid #eaeaea; line-height: 1.4; }
.mbv-sub li:last-child a { border-bottom: 0; }
.mbv-sub a:hover, .mbv-sub a[aria-current="page"] { color: var(--mbv-blue); }
.mbv-donate {
  flex: 0 0 auto; margin-left: 16px; display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 20px;
  border-radius: var(--brand-radius-lg); background: var(--mbv-red); color: #fff !important; text-decoration: none !important;
  font: 500 14px/1 Verdana, Helvetica, Arial, sans-serif; text-transform: uppercase; transition: background .2s ease;
}
.mbv-donate:hover { background: #7c0b0b; }
.mbv-toggle { display: none; }
.mbv-menu--mob { display: none; }

main.mbv-main { padding-top: var(--mbv-head); overflow-x: clip; }

/* telefon și tabletă: antetul mobil al temei (sigla, „Donează” mic, butonul de meniu cu chenar) */
@media (max-width: 921px) {
  :root { --mbv-head: 58px; }
  .mbv-head__in { width: 100%; padding: 0 20px; gap: 10px; }
  .mbv-logo img { width: 112px; height: 36px; }
  .mbv-menu { display: none; }
  .mbv-head.is-open .mbv-menu--desk { display: none; }
  .mbv-donate { margin-left: auto; height: 26px; padding: 0 9px; font-size: 11px; }
  .mbv-toggle {
    display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; margin-left: 8px;
    border: 1px solid var(--mbv-red); border-radius: 2px; background: transparent; color: var(--mbv-red); cursor: pointer;
  }
  .mbv-toggle svg { width: 20px; height: 20px; fill: currentColor; }
  .mbv-head.is-open .mbv-menu--mob {
    display: block; position: absolute; top: var(--mbv-head); left: 0; right: 0; max-height: calc(100vh - var(--mbv-head) - var(--mb-nav-h));
    overflow: auto; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .12); border-top: 1px solid #eaeaea;
  }
  .mbv-head.is-open .mbv-menu > li > a, .mbv-head.is-open .mbv-menu > li > button {
    width: 100%; height: auto; padding: 14.4px 20px; justify-content: space-between; border-bottom: 1px solid #eaeaea; text-align: left;
  }
  .mbv-head.is-open .mbv-sub { position: static; min-width: 0; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .mbv-head.is-open .mbv-menu > li.is-open > .mbv-sub { display: block; }
  .mbv-head.is-open .mbv-sub a { padding: 14.4px 20px 14.4px 36px; }
  .mbv-menu > li.is-open .mbv-caret { transform: rotate(180deg); }
}

/* ---------------- subsolul ---------------- */
.mbv-foot { font: 16px/1.65 var(--mbv-font); color: #fff; }
.mbv-foot a { color: #fff; text-decoration: none; }
.mbv-foot a:hover { color: red; }
.mbv-foot p { margin: 0 0 5px; }
.mbv-foot__above { background: #850a0a; padding: 20px 0; }
.mbv-social { display: flex; justify-content: center; align-items: center; gap: 16px; }
.mbv-social a { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #000 !important; display: flex; align-items: center; justify-content: center; transition: transform .2s ease, background-color .2s ease; }
.mbv-social a:hover { transform: scale(1.1); background: #f0f0f0; }
.mbv-social svg { width: 20px; height: 20px; fill: currentColor; }
.mbv-foot__main { background: #313131; padding: 15px; border-top: 1px solid #eaeaea; }
.mbv-foot__grid { max-width: 1200px; min-height: 66px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; column-gap: 5px; align-items: center; }
.mbv-foot__col { padding: 30px 0; }
.mbv-foot__logo { width: 216px; height: auto; display: block; }
.mbv-foot__h { color: #fff; font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.mb-casete { margin: 14px 0 4px; text-align: left; }
.mb-casete__titlu { margin: 0 0 8px !important; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.mb-casete__rand { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 7px; max-width: 330px; }
.mb-casete__item { display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 5px 10px; background: #000; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--brand-radius-sm); color: #fff !important; transition: border-color .18s ease; }
.mb-casete__item:hover { border-color: rgba(255, 255, 255, .6); }
.mb-casete__ico { width: 16px; height: 16px; flex: 0 0 16px; fill: #fff; }
.mb-casete__text { text-align: left; line-height: 1.08; }
.mb-casete__mic { display: block; font-size: 6.5px; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .68); font-weight: 600; }
.mb-casete__mare { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: -.01em; margin-top: 1px; }
@media (min-width: 922px) { .mb-casete__rand { display: flex; flex-wrap: wrap; max-width: none; } .mb-casete__item { min-width: 108px; } }
.mbv-actions { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mbv-action { display: flex; align-items: center; justify-content: center; width: 150px; height: 34px; padding: 0 6px; border: 2px solid #fff; border-radius: var(--brand-radius-sm); color: #fff !important; font-size: 12px; font-weight: 600; line-height: 1.15; text-align: center; transition: background .2s, color .2s, transform .1s; }
.mbv-action:hover { background: #fff; color: var(--brand-ink) !important; }
.mbv-action:active { transform: scale(.97); }
.mbv-copy { cursor: pointer; }
.mbv-copy u { text-decoration: underline; }
.mb-anpc-insigne { display: grid; grid-template-columns: repeat(2, 150px); justify-content: start; gap: 8px; margin: 14px 0 4px; }
.mb-anpc-insigna { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: var(--brand-radius-sm); overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, .25); transition: transform .15s ease, box-shadow .15s ease; }
.mb-anpc-insigna:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.mb-anpc-insigna img { display: block; height: 100%; width: 100%; object-fit: contain; }
.mb-anpc-insigna--anpc { gap: 5px; padding: 0 6px; background: #22377f; }
.mb-anpc-insigna--anpc img { height: 22px; width: auto; flex: 0 0 auto; }
.mb-anpc-insigna--anpc span { color: #fff !important; font-size: 9px; line-height: 1.2; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.mbv-foot__below { background: #201b1b; padding: 20px 0; text-align: center; }
.mbv-foot__below p { margin: 0; }
.mbv-foot__small { font-size: 12px; margin-top: 8px; }
.mbv-foot__small a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 921px) {
  .mbv-foot__grid { grid-template-columns: 1fr; }
  .mbv-foot__col { padding: 10px 5px; }
}
@media (max-width: 480px) {
  .mbv-actions { display: grid; grid-template-columns: 150px 150px; }
  .mbv-action { height: 36px; font-size: 11.5px; }
}
@media (max-width: 340px) {
  .mbv-actions { grid-template-columns: 145px 145px; gap: 6px; }
  .mbv-action { width: 145px; font-size: 11px; }
  .mb-anpc-insigne { grid-template-columns: repeat(2, 145px); gap: 6px; }
}

/* ---------------- bara de jos (telefon și tabletă) ---------------- */
.mb-global-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483646; display: none; padding: 0 10px env(safe-area-inset-bottom, 0px);
  background: var(--mb-nav-bg); border-top: 1px solid var(--mb-nav-border); border-radius: var(--brand-radius-lg) var(--brand-radius-lg) 0 0; box-shadow: var(--mb-nav-shadow);
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; view-transition-name: mb-bottom-nav; }
@media (max-width: 1024px) {
  body { padding-bottom: calc(var(--mb-nav-h) + 6px + env(safe-area-inset-bottom, 0px)); }
  .mb-global-bottom-nav { display: block; }
}
.mb-global-bottom-nav__inner { width: min(560px, 100%); height: var(--mb-nav-h); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; }
.mb-global-bottom-nav__item { position: relative; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--mb-nav-text) !important; text-decoration: none !important; -webkit-tap-highlight-color: transparent; transition: color .18s ease; }
.mb-global-bottom-nav__item:hover { color: #16181d !important; }
.mb-global-bottom-nav__item.is-active { color: var(--mb-nav-active) !important; }
.mb-global-bottom-nav__icon { width: 40px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: var(--brand-radius-pill); transition: background .2s ease, transform .15s ease; }
.mb-global-bottom-nav__item.is-active .mb-global-bottom-nav__icon { background: var(--mb-nav-active-bg); }
.mb-global-bottom-nav__item:active .mb-global-bottom-nav__icon { transform: scale(.92); }
.mb-global-bottom-nav__icon svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.mb-global-bottom-nav__label { display: block; max-width: 100%; overflow: hidden; font-size: 9.5px; line-height: 1; font-weight: 600; letter-spacing: .01em; white-space: nowrap; text-overflow: ellipsis; }
.mb-global-bottom-nav__item.is-active .mb-global-bottom-nav__label { font-weight: 700; }
.mb-global-bottom-nav__item--doneaza .mb-global-bottom-nav__icon { width: 36px; height: 36px; margin-top: -8px; border-radius: 50%; background: linear-gradient(160deg, #b3171b, #8a0d10); color: #fff;
  box-shadow: 0 8px 18px rgba(151, 15, 15, .32), 0 0 0 4px rgba(255, 255, 255, .92); }
.mb-global-bottom-nav__item--doneaza .mb-global-bottom-nav__icon svg { width: 19px; height: 19px; fill: #fff; stroke: none; }
.mb-global-bottom-nav__item--doneaza { color: var(--mb-nav-active) !important; }
.mb-global-bottom-nav__item--doneaza .mb-global-bottom-nav__label { font-weight: 700; }
@media (max-width: 360px) { .mb-global-bottom-nav { padding-left: 4px; padding-right: 4px; } .mb-global-bottom-nav__label { font-size: 9.5px; letter-spacing: 0; } .mb-global-bottom-nav__icon { width: 40px; } }
@view-transition { navigation: auto; }
::view-transition-group(mb-bottom-nav) { animation: none; }
::view-transition-old(mb-bottom-nav) { display: none; }
::view-transition-new(mb-bottom-nav) { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

/* ---------------- anunțul din colț (proiectele de sezon) ---------------- */
.mb-anunt { --mb-card: 282px; --mb-pas: 10px; --mb-coada: 30px; --mb-stanga: 12px; position: fixed; z-index: 9990; right: 0; bottom: 0;
  width: calc(var(--mb-stanga) + var(--mb-card) + var(--mb-pas) + var(--mb-coada)); max-width: 100vw;
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.mb-anunt.mb-anunt--vizibil { opacity: 1; transform: translateY(0); }
.mb-anunt__pista { display: flex; gap: var(--mb-pas); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-left: var(--mb-stanga);
  scrollbar-width: none; overscroll-behavior-x: contain; padding: 14px calc(var(--mb-pas) + var(--mb-coada)) 22px var(--mb-stanga); pointer-events: auto; }
.mb-anunt__pista::-webkit-scrollbar { display: none; }
.mb-anunt__card { position: relative; flex: 0 0 var(--mb-card); scroll-snap-align: start; background: #fff; border: 1px solid #e6e8ec; border-radius: var(--brand-radius); overflow: hidden; box-shadow: 0 18px 46px rgba(16, 24, 40, .18); }
.mb-anunt__legatura { display: flex; height: 100%; text-decoration: none !important; color: inherit; }
.mb-anunt__poza { width: 74px; flex: 0 0 74px; background: #f5f6f8 center/cover no-repeat; }
.mb-anunt__poza--contain { background-color: #fff; background-size: 86% auto; }
.mb-anunt__corp { display: block; padding: 11px 32px 12px 13px; min-width: 0; }
.mb-anunt__eticheta { display: inline-block; padding: 2px 8px; border-radius: var(--brand-radius-pill); background: #fdf3f3; color: var(--brand-red); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mb-anunt__titlu { display: block; margin: 7px 0 0; font-size: 14px; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: #16181d; }
.mb-anunt__buton { display: inline-block; margin-top: 7px; font-size: 12.5px; font-weight: 700; color: var(--brand-red); }
.mb-anunt__inchide { position: absolute; top: 6px; right: 6px; z-index: 2; width: 24px; height: 24px; padding: 0; border: 0; cursor: pointer; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: #4b5261; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(16, 24, 40, .16); }
.mb-anunt__inchide:hover { background: #fff; color: #16181d; }
.mb-anunt__inchide svg { width: 12px; height: 12px; }
@media (max-width: 600px) {
  .mb-anunt { left: 0; width: auto; --mb-card: calc(100vw - var(--mb-stanga) - var(--mb-pas) - var(--mb-coada)); --mb-coada: 28px; }
  .mb-anunt__poza { width: 70px; flex: 0 0 70px; }
}
@media (max-width: 1024px) { .mb-anunt { bottom: 74px; } }
@media (prefers-reduced-motion: reduce) { .mb-anunt__pista { scroll-behavior: auto; } .mb-global-bottom-nav__item, .mb-global-bottom-nav__icon { transition: none; } }

/* ---------------- paginile aduse cu designul vechi (blocul „Cod HTML”) ----------------
   Lățimea și textul paginilor temei vechi (Astra); stilurile site-ului nou (titluri cu serife etc.) nu intră aici. */
.mbv-astra { max-width: 1240px; margin: 0 auto; padding: 24px 20px 40px; font: 16px/1.65 var(--mbv-font); color: #334155; }
.mbv-astra :where(h1, h2, h3, h4, h5, h6) { font-family: inherit; line-height: 1.2; }
.mbv-astra :where(img) { display: inline-block; }
.mbv-astra .mbn__form--vechi { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; margin: 0; }
.mbv-astra .mbn__form--vechi input { min-height: 48px; padding: 0 14px; border: 1px solid #d9d9d9; border-radius: var(--brand-radius); background: #fff; font: 15px var(--mbv-font); }
.mbv-astra .mbn__form--vechi button { min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--brand-radius); background: var(--mbv-red); color: #fff; font: 700 15px var(--mbv-font); cursor: pointer; }
.mbv-astra .mbn__msg { grid-column: 1/-1; margin: 4px 0 0; }
@media (max-width: 767px) { .mbv-astra { padding: 14px 14px 30px; } .mbv-astra .mbn__form--vechi { grid-template-columns: 1fr; } }
/* Paginile vechi erau în șablonul „page builder” al temei Astra: pe toată lățimea, 15px margine (coloana WPBakery), 35px sub fiecare bloc HTML. */
.mbv-astra--pb { max-width: none; padding: 0 15px 35px; }
@media (max-width: 767px) { .mbv-astra--pb { padding: 0 15px 35px; } }
/* Formularul de contact nou în designul vechi al paginii Contact: câmpurile adăugate (telefon, subiect din listă) primesc același stil */
.mbk .wpcf7-form > p.mbk-cf__half { grid-column: auto; }
.mbk .wpcf7-form input[type="tel"], .mbk .wpcf7-form select { width: 100%; display: block; padding: 12px 14px; border: 1px solid #d7dae0; border-radius: var(--brand-radius); background: #fff; color: var(--k-ink); font: inherit; font-size: 15px; line-height: 1.5; box-shadow: none; outline: none; }
.mbk .wpcf7-form input[type="tel"]:focus, .mbk .wpcf7-form select:focus { border-color: var(--k-red); box-shadow: 0 0 0 4px rgba(151,15,15,.1); }
.mbk .wpcf7-form input[type="submit"]:disabled { opacity: .6; cursor: wait; }
.mbk .wpcf7-form .mbn__msg { margin: 0; padding: 12px 16px; border-radius: var(--brand-radius); font-size: 14px; }
.mbk .wpcf7-form .mbn__msg.is-ok { border: 1px solid #abefc6; background: #ecfdf3; color: #067647; }
.mbk .wpcf7-form .mbn__msg.is-err { border: 1px solid #fecdca; background: #fef3f2; color: var(--brand-red-bright); }
@media (max-width: 640px) { .mbk .wpcf7-form > p.mbk-cf__half { grid-column: 1 / -1; } }
/* Coloanele și pozele WPBakery din paginile vechi (de ex. rapoartele anuale: poza în coloana din mijloc, 1/3) */
.mbv-vc-col { max-width: var(--w, 100%); margin: 0 auto; }
.mbv-vc-img { text-align: center; margin: 0 0 35px; }
.mbv-vc-img img { max-width: 100%; height: auto; vertical-align: top; }
@media (max-width: 767px) { .mbv-vc-col { max-width: none; } }
/* Pagină de sine stătătoare (fără antet și subsol), ca paginile vechi deschise din coduri QR */
main.mbv-main--bare { padding-top: 0; }
main.mbv-main--bare .mbv-astra--pb { padding: 0; }
/* Caseta „Misiuni Îndeplinite” de sub proiecte (ca în vechi: chenar alb cu umbră, titlu serif) */
.mbv-misiuni { max-width: 1290px; margin: 40px auto 20px; padding: 40px 20px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.08); text-align: center; }
.mbv-misiuni h2 { margin: 0 0 14px; font: 700 clamp(26px, 3vw, 36px)/1.2 Georgia, "Times New Roman", serif; color: var(--brand-ink); }
.mbv-misiuni p { margin: 0 0 20px; color: #a04a1c; font-family: Georgia, serif; }
/* Newsletterul din paginile vechi (formularul Brevo din WordPress) */
.mbn__form--sib { margin: 0 0 35px; }
.mbn__form--sib h3 { margin: 0 0 20px; font: 900 24px/1.3 Andika, var(--mbv-font); color: #000; }
.mbn__form--sib p { margin: 0 0 25.6px; }
.mbn__form--sib input:not([type=submit]):not([type=hidden]) { display: block; width: 100%; box-sizing: border-box; padding: 12px 16px; border: .7px solid #d1d5db; border-radius: 4px; background: #fff; color: #475569; font: 16px var(--mbv-font); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.mbn__form--sib input:focus { outline: none; border-color: var(--brand-red); }
.mbn__form--sib input[type=submit] { display: block; margin: 20px auto 0; padding: 14px 26px; border: 1.4px solid var(--brand-red); border-radius: var(--brand-radius-sm); background: var(--brand-red); color: #fff; font: 600 16px var(--mbv-font); cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.mbn__form--sib input[type=submit]:active { background: #fff; color: var(--brand-red); }
.mbn__form--sib input[type=submit]:disabled { opacity: .6; cursor: wait; }
.mbn__form--sib .mbn__msg { padding: 12px 16px; border-radius: var(--brand-radius-sm); }
.mbn__form--sib .mbn__msg.is-ok { background: #ecfdf3; color: #067647; }
.mbn__form--sib .mbn__msg.is-err { background: #fef3f2; color: var(--brand-red-bright); }
/* Cardurile vechi de caz: bara „cât s-a strâns” și ultima veste (adăugate față de vechi) */
.mbcp-card .mbc-progress { margin: 0 0 12px; }
.mbcp-card p.mbcp-news { margin: -4px 0 12px; color: var(--brand-red); font-size: 13px; font-weight: 700; -webkit-line-clamp: unset; display: block; }
/* Doi bănuți pe zi: formularul nou de plată în chenarul formularului vechi */
.mb-dbpz-form.mb-dbpz-form--nou { max-width: 440px; width: 100%; background: #fff; padding: 18px; text-align: left; }
/* bara cazurilor: clasa reală a barei de progres */
.mbcp-card .mbc-prog { margin: 0 0 12px; }
/* Coșul Tarabei și butonul lui stau peste antetul fix, anunțul din colț și bara de jos */
.mbs-drawer { z-index: 2147483647; }
.mbs-cartbtn { z-index: 9995; }
/* Pagina obiectului din Taraba: miniaturile și chenarele de sub (descrierea, recenziile) */
.mb-color-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.mb-color-thumb { width: 64px; height: 64px; padding: 0; border: 2px solid #e5e7eb; border-radius: var(--brand-radius); background: #fff; overflow: hidden; cursor: pointer; }
.mb-color-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-product-box.mb-product-more { margin-top: 22px; }
.mb-product-more h2 { margin: 0 0 12px; color: var(--brand-red); font: 700 28px Georgia, serif; }
/* pagina obiectului: titlul roșu, butonul verde, ca în vechi */
.mb-product-page h1 { color: var(--brand-red); font: 1000 48px/1.1 Arial, Helvetica, sans-serif; margin: 0 0 20px; }
.mb-product-page .mb-add { background: var(--brand-green-light); border-radius: var(--brand-radius); }
.mb-product-page .mb-add:hover { background: #0f7432; }
@media (max-width: 767px) { .mb-product-page h1 { font-size: 34px; } }
/* Pagina unui caz / proiect (șablonul vechi): ce am adăugat față de vechi */
.mbv-progress { margin: 0 0 18px; }
.mbv-impact { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.mbv-impact > div { flex: 1 1 140px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--brand-radius); padding: 12px 14px; }
.mbv-impact strong { display: block; color: var(--brand-red); font: 900 26px/1.1 Arial, sans-serif; }
.mbv-impact span { font-size: 14px; color: #3a2a19; }
.mbv-updates .mbv-upd { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,.07); }
.mbv-updates .mbv-upd__date { color: var(--brand-red); font-weight: 900; font-size: 14px; }
.mbv-updates img, .mbv-final img { max-width: 100%; border-radius: var(--brand-radius); margin-top: 8px; }
.mbv-final { border-color: #abefc6 !important; background: #f3fdf6 !important; }
.mbv-final h2 { color: #067647 !important; }
.mbv-payform { margin: 16px 0 0; padding: 16px; background: #fff; border: 1px solid rgba(144,0,0,.12); border-radius: var(--brand-radius); }
@media (max-width: 600px) { .mbv-updates .mbv-upd { grid-template-columns: 1fr; gap: 4px; } }
.mbcp-donation-buttons .mbcp-method-iban, .mbpr-donation-buttons .mbpr-method-iban { grid-column: auto; }
.mbv-payform .mbp__title { margin: 0 0 12px !important; color: var(--brand-ink) !important; font: 900 20px/1.2 Arial, sans-serif !important; }
/* Voluntarii noștri, ca în vechi */
.mbv-team-hero { max-width: 1319px; height: 443px; margin: 0 auto; border-radius: var(--brand-radius); background: center/cover no-repeat; display: flex; align-items: flex-start; justify-content: center; padding-top: 30px; }
.mbv-team-hero h1 { margin: 0; color: #fff; font: 400 clamp(40px, 6vw, 72px)/1.3 var(--mbv-font); text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.mbv-team-intro { max-width: 1170px; margin: 0 auto; padding: 26px 15px 10px; text-align: center; font: 16px/1.6 var(--mbv-font); color: #334155; }
.mbv-team-intro p { margin: 0 0 10px; }
.mbv-page-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 16px auto 0; max-width: 760px; }
.mbv-page-btn { flex: 1 1 200px; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 14px; border: .7px solid var(--brand-red); border-radius: var(--brand-radius-pill); background: #fff; color: #8b0d14 !important; font: 800 12px var(--mbv-font); text-decoration: none !important; }
.mbv-page-btn.is-active, .mbv-page-btn:hover { background: var(--brand-red); color: #fff !important; }
.mbv-team-sec { max-width: 1170px; margin: 30px auto 0; padding: 0 15px; }
.mbv-section-title { margin: 0 0 22px; }
.mbv-section-title span { display: inline-block; padding-left: 10px; border-left: 3.5px solid var(--brand-red); font: 800 20px var(--mbv-font); color: #111827; }
.mbv-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.mbv-team-card { position: relative; margin: 0 0 12px; border-radius: var(--brand-radius-sm); overflow: hidden; aspect-ratio: 270 / 450; background: #eee; }
.mbv-team-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.mbv-team-card:hover img { transform: scale(1.04); }
.mbv-team-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font: 900 64px Georgia, serif; color: var(--brand-red); }
.mbv-team-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; }
.mbv-team-card figcaption strong { display: block; font: 700 16px var(--mbv-font); }
.mbv-team-card figcaption small { display: block; font-size: 12px; opacity: .9; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 1024px) { .mbv-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .mbv-team-hero { height: 320px; } }
@media (max-width: 640px) { .mbv-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .mbv-team-hero { height: 220px; border-radius: 0; } }
/* Formularul 230: titlul e h1 (în vechi h2), cu același aspect */
.mb230-intro .mb230-h1 { margin: 0; color: #5d8f6f; font-size: clamp(28px, 4vw, 40px); line-height: 1.18; font-weight: 500; }
@media (max-width: 767px) { .mb230-intro .mb230-h1 { font-size: clamp(25px, 7.2vw, 30px); overflow-wrap: anywhere; } }
#mb230-message .mbp__error { margin: 8px 0; padding: 10px 14px; border-radius: var(--brand-radius-sm); background: #fef3f2; color: var(--brand-red-bright); }
/* Articolele (Noutăți / misiuni), ca pe site-ul vechi */
main.mbv-main--post { background: #f0f5fa; padding-bottom: 40px; }
.mbv-post { max-width: 790px; margin: 40px auto 0; padding: 40px; background: #fff; box-sizing: border-box; }
.mbv-post .mb-wrap { max-width: none; padding-left: 0; padding-right: 0; }
.mbv-post .mbn-head h1 { color: var(--brand-red); font: 600 32px/1.25 Abel, var(--mbv-font); margin: 6px 0 10px; }
.mbv-post .mbn-meta { color: var(--brand-red); font-size: 13px; }
.mbv-post .mb-prose, .mbv-post .mb-prose p { font-size: 15.5px; line-height: 1.65; color: #000; }
.mbv-post .mbn-cover img { border-radius: var(--brand-radius-lg); }
@media (max-width: 767px) { .mbv-post { margin-top: 0; padding: 22px 16px; } .mbv-post .mbn-head h1 { font-size: 26px; } }

/* Taraba: căsuța „Scrie părerea ta” cu fontul paginii, ca în vechi */
.mb-review-box .mb-review-textarea{font-family:inherit;min-height:110px}

/* ---------------- blocul de donație compact de pe pagina unui caz / proiect (încape într-un ecran) ---------------- */
.mbv-giving { padding: 16px !important; margin-top: 18px !important; }
.mbv-giving .mbv-giving__title { padding-right: 100px; margin: 0 0 12px !important; font: 800 19px/1.25 Arial, Helvetica, sans-serif !important; color: var(--brand-ink) !important; text-align: left !important; }
.mbv-giving .mbv-giving__title strong { color: var(--brand-red); }
.mbv-giving .mbv-payform { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.mbv-giving__more { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--brand-cream); }
.mbv-giving__link { flex: 1 1 auto; font: 600 13px/1.2 Arial, Helvetica, sans-serif; color: var(--brand-red); background: #fff; border: 1px solid var(--brand-line); border-radius: var(--brand-radius); padding: 8px 10px; text-align: center; text-decoration: none; cursor: pointer; }
.mbv-giving__link:hover { border-color: var(--brand-red); }
