/* ============================ RESET / BAZĂ ============================ */
html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
  outline: 0;
}
a {
  color: inherit;
  text-decoration-color: transparent;
  outline: transparent;
}
button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
body {
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}
p {
  margin-bottom: 1.5em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

/* ============================ HEADER (ECRAN ACASĂ) ============================ */
.header {
  position: relative;
  height: 100vh;
  padding-top: 75px;
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 25%;
  z-index: 1;
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(55, 4, 4, 0.26) 0%,
    rgba(0, 0, 0, 0.67) 100%
  );
  z-index: -1;
}

/* ================= Header Top (sticky) + Nav ================= */
.header__top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 25px 0 15px;
  z-index: 3;
  transition: all 0.5s;
}
.header__top--bg {
  padding: 15px 0;
  background: linear-gradient(to right, #6489ec, #0053de);
}
.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* ================= Logo ================= */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding-right: 2px;
  z-index: 3;
}
.logo:hover {
  opacity: 0.7;
}
.logo:focus {
  box-shadow: 0 0 0 3px #424449;
}
.logo:active {
  opacity: 0.5;
}
.logo__image {
  margin-right: 5px;
}
.logo__slogan {
  line-height: 1.3;
  color: #fff;
}
.logo__title {
  font-size: 18px;
  font-weight: 700;
}
.logo__text {
  font-size: 14px;
}

/* ================= Burger (mobil) — doar icon/anim, fără overlay vechi ================= */
.header__burger {
  display: none;
  width: 30px;
  height: 24px;
  z-index: 4;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.header__burger-line {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.header__burger--active .header__burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__burger--active .header__burger-line:nth-child(2) {
  opacity: 0;
}
.header__burger--active .header__burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================= Conținut Header ================= */
.header__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.header__title {
  max-width: 1000px;
  margin-bottom: 35px;
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 600;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}
.header__title-span {
  display: block;
  padding-top: 15px;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}

/* ===== HERO BUTTON ===== */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 20px;
  border: none;
  background: #cb0b13;
  color: #fff;
  font:
    700 16px/1.1 "Roboto",
    Arial,
    sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    filter 0.25s ease,
    transform 0.1s ease;
  position: relative;
  overflow: hidden;
}
.hero-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.hero-btn:active {
  transform: translateY(0);
  filter: brightness(1);
}
.hero-btn:focus-visible {
  outline: 3px solid #ffd1d3;
  outline-offset: 2px;
}
.hero-btn--lg {
  padding: 14px 28px;
  font-size: 18px;
}
.hero-btn--shine::after {
  content: "";
  position: absolute;
  inset: -120% auto -120% -60%;
  width: 60%;
  transform: skewX(-20deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transition: transform 0.6s ease;
}
.hero-btn--shine:hover::after {
  transform: translateX(260%) skewX(-20deg);
}
@media (prefers-reduced-motion: reduce) {
  .hero-btn {
    transition: none;
  }
}

/* ================= Header Blog ================= */
.header__blog {
  height: 100px;
}
.header__top-blog {
  background: linear-gradient(to right, #6489ec, #0053de);
}

.header__blog-search {
  height: 50px;
}

.header__blog-performance {
  height: 50px;
}

.header__blog-error {
  height: 50px;
}
.header__blog-contacts {
  height: 50px;
}

/* ascuns peste 992px */
@media (min-width: 992px) {
  .header__burger {
    display: none !important;
  }
}
/* arătat sub 992px */
@media (max-width: 991px) {
  .header__burger {
    display: flex;
  }
}

/* ================= MEDIA pentru header & burger ================= */
@media (max-width: 1024px) {
  .header__nav {
    align-items: center;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .header {
    background-position: 25% center;
  }
}
@media (max-width: 426px) {
  .header__title {
    font-size: 2rem;
  }
  .header__title-span {
    font-size: 19px;
  }
}
@media (max-width: 376px) {
  .logo__text {
    font-size: 10px;
  }
  .header__title-span {
    font-size: 16px;
  }
}

/* =========================================================================
   MENIU (UNIFICAT) — Desktop hover + Mobil acordion (fără dubluri)
   ========================================================================= */

/* container */
.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* listă desktop */
.header__list {
  display: flex;
  gap: 25px;
  align-items: center;
  text-transform: capitalize !important;
}

/* item */
.header__item {
  position: relative;
  text-transform: capitalize !important;
}
.header__item--has-children > .header__toggle {
  display: none;
} /* devine block pe mobil */

/*===== invizibil link la menu =====*/
.header__item--current > .header__link::before,
.header__link--active::before {
  content: none !important;
  display: none !important;
}

/* link */
.header__link {
  position: relative;
  display: inline-block;
  padding: 14px 0;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

/* ── HOVER: linie „val” (doar pe hover/focus) ───────────────────────── */
.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 8px;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    background-position-x 2s linear;
  background-repeat: repeat-x;
  background-size: 120px 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='8'><path d='M0 4 Q10 0,20 4 T40 4 T60 4 T80 4 T100 4 T120 4' stroke='%23ffffff' fill='none' stroke-width='2'/></svg>");
  background-position-x: 0;
}
.header__link:hover::after,
.header__link:focus::after {
  opacity: 1;
  background-position-x: -120px; /* „curge” */
}

/* ── ACTIVE: bară discretă (alt strat, nu se bate cu valul) ─────────── */
.header__item--current > .header__link::before,
.header__link--active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* dezactivează complet linia activă */
.header__link--active::before {
  display: none !important;
}

.header__list:hover .header__item--current > .header__link::before {
  opacity: 0.25;
}

/* ── Dropdown (desktop) ─────────────────────────────────────────────── */
.header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: none;
  background: rgba(19, 24, 32, 0.86);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px;
  margin-top: 8px;
  z-index: 30;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.header__submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 22px;
  width: 14px;
  height: 14px;
  background: inherit;
  transform: rotate(45deg);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.header__submenu-item {
  list-style: none;
}
.header__submenu-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}
.header__submenu-link:hover,
.header__submenu-link--active {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

@media (hover: hover) {
  .header__item--has-children:hover > .header__submenu,
  .header__item--has-children:focus-within > .header__submenu {
    display: block;
  }
}

/* ===== fix burger pe mobil ===== */

/* ===== Desktop: stabilizăm hover-ul pe submenu ===== */
@media (hover: hover) and (min-width: 993px) {
  /* mutăm distanța de la margin la top, ca să nu mai rupă :hover */
  .header__submenu {
    top: calc(100% + 10px); /* spațiu sub link */
    margin-top: 0; /* <- elimină golul vinovat */
  }

  /* „bridge” invizibil peste tot dropdown-ul – prinde mouse-ul pe toată lățimea */
  .header__submenu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px; /* egal cu offset-ul din calc() de mai sus */
    height: 10px; /* zona „tampon” peste care trece cursorul */
    background: transparent; /* nu se vede, doar ține hover-ul */
  }

  /* opțional: ușor mai sus săgeata, ca să nu se suprapună urât cu bridge-ul */
  .header__submenu::before {
    top: -7px; /* era -8px, nu e obligatoriu, dar arată mai curat */
  }
}

/* ====== MOBILE (<= 992px) — burger full-screen, centrat ====== */
@media (max-width: 992px) {
  /* container nav păstrează poziția */
  .header__nav {
    position: relative;
  }

  /* overlay-ul de meniu */
  .header__list {
    position: fixed; /* full-screen */
    inset: 0;
    /* z-index: 150; */
    display: none; /* devine flex la .header__list--active */
    flex-direction: column;
    align-items: center;
    justify-content: center; /* centrare verticală a elementelor */
    gap: 28px; /* spațiere între itemi */
    margin: 0;
    padding: 0 24px; /* fără padding sus – lăsăm bara vizibilă */
    list-style: none;

    /* fundal ca în header (gradient MDBF) */
    background: linear-gradient(to right, #6489ec, #0053de);
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  }
  .header__list--active {
    display: flex;
  }

  /* itemii */
  .header__item {
    margin: 0;
  }
  .header__link {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 8px 0;
    text-decoration: none;
  }
  /* pe mobil nu vrem underline/valuri la hover */
  .header__link::after {
    display: none !important;
  }

  /* = acordion pt. submeniu pe mobil = */
  .header__item--has-children {
    padding-right: 36px;
    position: relative;
  }
  .header__item--has-children .header__toggle {
    display: block;
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
  }
  .header__item--has-children .header__toggle::after {
    content: "▾";
    color: #fff;
    font-size: 16px;
    line-height: 28px;
  }
  .header__item--has-children.is-open .header__toggle::after {
    content: "▴";
  }

  .header__submenu {
    display: none;
    position: static;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 6px 0;
    margin: 4px 0 0;
    box-shadow: none;
    border: 0;
  }
  .header__item--has-children.is-open > .header__submenu {
    display: block;
  }
  .header__submenu-link {
    display: block;
    padding: 10px 14px;
    color: #fff;
    border-radius: 8px;
  }
}

.header__list a {
  text-transform: capitalize !important;
}

/* ============================ SECTIONS (bază) ============================ */
.section {
  padding: 140px 0;
}
@media (max-width: 992px) {
  .section {
    padding: 100px 0;
  }
}
@media (max-width: 576px) {
  .section {
    padding: 70px 0;
  }
}
.section__title {
  position: relative;
  display: inline-block;
  margin-bottom: 80px;
  font-weight: 700;
  font-size: 35px;
  line-height: 1.3;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  text-transform: capitalize !important;
}
.section__title--color {
  color: #2396ef;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 100%;
  height: 16px;
  background-repeat: repeat-x;
  background-size: 120px 100%;
  background-image: url("data:image/svg+xml;utf8,<svg width='120' height='8' xmlns='http://www.w3.org/2000/svg'><path d='M0 4 Q 10 0, 20 4 T 40 4 T 60 4 T 80 4 T 100 4 T 120 4' stroke='%236489ec' fill='none' stroke-width='2'/></svg>");
}
@media (max-width: 576px) {
  .section__title {
    font-size: 28px;
    margin-bottom: 50px;
  }
  .section__title::after {
    bottom: -12px;
    height: 12px;
    background-size: 100px 100%;
  }
}

.section__cards {
  /* padding: 40px 0; */
  padding: 10px 0 40px;
}

/* prima secțiune după header sticky — puțin mai mult sus */
.section--pagehead {
  padding-top: 96px;
}

/* dacă headerul e mai înalt pe mobil, micșorăm elegant */
@media (max-width: 768px) {
  .section {
    padding: 46px 0 20px;
  }
  .section--pagehead {
    padding-top: 72px;
  }
}

/* când derulezi spre titlu cu ancore, să nu-l acopere headerul sticky */
.section__title {
  scroll-margin-top: 96px;
}

/* ============================ ABOUT ============================ */
.about__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
}
.about__text {
  flex: 1 1 50%;
  min-width: 280px;
}
.about__img {
  flex: 1 1 50%;
  width: 100%;
  max-width: 600px;
  border-radius: 7px;
  overflow: hidden;
}
:root {
  --lb-backdrop: rgba(47, 109, 198, 0.92);
}
.lightbox::backdrop,
.video-lightbox::backdrop {
  background: var(--lb-backdrop);
  backdrop-filter: blur(1px);
}
.about__media {
  position: relative;
}
.about__video-trigger {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.about__video-trigger .about__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.about__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.about__play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-left: 36px solid #fff;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
}
.about__video-trigger:hover .about__play {
  background: rgba(0, 0, 0, 0.62);
}
.about__video-trigger:focus-visible .about__play {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@media (max-width: 768px) {
  .about__play {
    width: 84px;
    height: 84px;
  }
  .about__play::before {
    border-left-width: 28px;
    border-top-width: 18px;
    border-bottom-width: 18px;
  }
}
.video-lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(90vw, calc(85vh * 16 / 9));
  aspect-ratio: 16/9;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.video-lightbox__frame {
  position: relative;
  width: 100%;
  height: 100%;
}
.video-lightbox__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-lightbox__close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.12s ease;
}
.video-lightbox__close:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}
.video-lightbox__close:focus-visible {
  outline: 3px solid #ffd1d3;
  outline-offset: 2px;
}
html.modal-open,
body.modal-open {
  overflow: hidden;
}
@media (max-width: 1024px) {
  .about__inner {
    flex-wrap: wrap;
  }
  .about__img {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
  .about__text {
    flex: 1 1 100%;
  }
}
@media (max-width: 576px) {
  .about__inner {
    gap: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox::backdrop,
  .video-lightbox::backdrop {
    backdrop-filter: none;
  }
}

/* ============================ ACTIVITY ============================ */
.activity {
  /*background: #f8fbff;*/
  background: #eceff3a1;
}
.activity__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.activity__text {
  flex: 1 1 50%;
  min-width: 280px;
}
.activity__img {
  flex: 1 1 50%;
  width: 100%;
  max-width: 600px;
  border-radius: 7px;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .activity__wrapper {
    flex-direction: column-reverse;
    gap: 28px;
  }
  .activity__img {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
  .activity__text {
    flex: 1 1 100%;
  }
}
@media (max-width: 576px) {
  .activity__wrapper {
    gap: 22px;
  }
}

/* ============================ PERFORMANCE ============================ */
.performance {
  background: #fff;
}

.performance__text {
  max-width: 1100px;
  margin: 0 auto 10px;
}
.performance__item {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 10px;
  justify-content: center;
  align-items: stretch;
}
.performance__list {
  flex: 0 1 320px;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  overflow: hidden;
}
.performance__list:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.performance__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.performance__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.performance__card-title {
  margin: 16px 16px 8px;
  text-align: center;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 700;
  color: #333;
}
.performance__card-text {
  margin: 0 16px 16px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
  color: #555;
  min-height: 3.2em;
}
.performance__card-btn {
  align-self: center;
  margin: 6px 0 20px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  background: #428ee6f0;
  color: #fff;
  cursor: pointer;
  transition:
    filter 0.25s ease,
    transform 0.1s ease;
}
.performance__card-btn:hover {
  filter: brightness(0.95);
}
.performance__card-btn:active {
  transform: translateY(1px);
}
.performance__card-btn:focus-visible {
  outline: 2px solid #1b78d5;
  outline-offset: 2px;
}
@media (max-width: 576px) {
  .performance__list {
    flex-basis: 100%;
    max-width: 420px;
  }
}
@media (max-width: 360px) {
  .performance__item {
    gap: 20px;
  }
  .performance__card-title {
    font-size: 1.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .performance__list,
  .performance__card-btn {
    transition: none;
  }
}

/* ===== Medalii sportiv ===== */

.mdbf-medals {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 24px 0 32px;
}

.mdbf-medals__item {
  text-align: center;
}

/* iconul medaliei */
.mdbf-medals__icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

/* aici rămân imaginile tale */
.mdbf-medals__item--gold .mdbf-medals__icon {
  background-image: url("../img/medals/gold-medal.png");
}

.mdbf-medals__item--silver .mdbf-medals__icon {
  background-image: url("../img/medals/silver-medal.png");
}

.mdbf-medals__item--bronze .mdbf-medals__icon {
  background-image: url("../img/medals/bronze-medal.png");
}

/* numărul de medalii */
.mdbf-medals__count {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  transition: transform 0.25s ease;
}

/* eticheta: Aur / Argint / Bronz */
.mdbf-medals__label {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #777;
}

/* ===== Hover: mic bounce + glow ===== */
.mdbf-medals__item:hover .mdbf-medals__icon {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.mdbf-medals__item:hover .mdbf-medals__count {
  transform: translateY(-2px);
}

/*===========================Result=====================*/

.results-title {
  margin-top: 32px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

/* grid pentru cardurile pe ani */
.results-block {
  margin-top: 10px;
  display: grid;
  gap: 20px;
}

/* pe ecrane mari: 2 coloane */
@media (min-width: 900px) {
  .results-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* fiecare card (an) */
.results-year-card {
  background: #f7f9fc;
  border-radius: 12px;
  border: 1px solid rgba(9, 30, 66, 0.08);
  padding: 14px 18px 16px;
}

/* titlul anului */
.results-year {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0b3b6f;
  position: relative;
  padding-left: 12px;
}

.results-year::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2d9cdb, #56ccf2);
}

/* lista competițiilor din anul respectiv */
.results-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* fiecare competiție */
.results-list li {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(9, 30, 66, 0.12);
  line-height: 1.6;
}

.results-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* numele competiției */
.results-list strong:first-child {
  color: #111827;
}

/* hover discret */
.results-list li:hover {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 4px 6px;
}

/*=============================== Sportiv Header =========================*/

/* ===== Header sportiv (poză + nume + club + medalii) ===== */

.sportiv-header {
  display: grid;
  gap: 20px;
  align-items: center;
  margin: 30px 0 24px;
}

/* 2 coloane pe desktop: poză | text+medalii */
@media (min-width: 900px) {
  .sportiv-header {
    grid-template-columns: 220px 1fr;
  }
}

.sportiv-header__photo {
  max-width: 220px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.sportiv-header__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.sportiv-header__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sportiv-header__name {
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}

.sportiv-header__club {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

/* reusează deja .mdbf-medals din ce am făcut */
.sportiv-header__medals {
  margin-top: 8px;
}

/* Medaliile din header-ul sportivului:
   aliniază-le sub text, nu în centru de tot */
.sportiv-header__medals .mdbf-medals {
  justify-content: flex-start; /* în loc de center */
  gap: 24px;
}

/*======================== performance Breadcrumb ======================*/

.crumbs {
  margin: 8px 0 16px;
  font-size: 14px;
  color: #5b6472;
}
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.crumbs a {
  text-decoration: none;
  color: inherit;
}
.crumbs a:hover {
  text-decoration: underline;
}
.crumbs .sep {
  opacity: 0.6;
}
.crumbs .is-current span {
  font-weight: 500;
  color: #1c1f24;
}

/* ============================ VIDEO BG (INTRO) ============================ */
.intro {
  position: relative;
  min-height: clamp(520px, 100vh, 900px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.intro__content {
  position: relative;
  z-index: 0;
}
.invite__text {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.invite__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
}
.invite__description {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 500;
  color: #fff;
}
.header__btn-video {
  display: inline-block;
  padding: 12px 30px;
  background: #cb0b13;
  color: #fff;
  border-radius: 20px;
}
.video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    40deg,
    rgba(35, 107, 237, 0.55) 0%,
    rgba(203, 11, 19, 0.26) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.video__media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  z-index: 0;
}
.on-video {
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: saturate(140%) blur(1px);
}
.on-video--outline {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: none;
}
.on-video--outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}
@media (prefers-reduced-motion: reduce) {
  .video__media {
    display: none;
  }
  .on-video {
    backdrop-filter: none;
  }
}
@media (max-width: 576px) {
  .invite__text {
    gap: 12px;
  }
}
@media (max-width: 300px) {
  .video__media {
    display: none;
  }
}

/* ============================ STATISTICS ============================ */
.statistics {
  background: #fff;
}
.statistics__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
  align-items: stretch;
}
.statistics__item {
  position: relative;
  padding: 120px 16px 32px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.statistics__item::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  background-repeat: no-repeat;
  background-size: contain;
}
.statistics__item--spotrsmens::before {
  background-image: url("../img/icons/athlete.png");
}
.statistics__item--clubs::before {
  background-image: url("../img/icons/dragon-boat.png");
}
.statistics__item--projects::before {
  background-image: url("../img/icons/boat-races.png");
}
.statistics__item--awards::before {
  background-image: url("../img/icons/winner.png");
}
.statistics__text {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.statistics__number {
  display: block;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: rgba(61, 162, 250, 0.89);
  text-shadow: 0 1px rgba(100, 155, 244, 0.47);
}
@media (max-width: 1024px) {
  .statistics__list {
    gap: 20px;
  }
}
@media (max-width: 1024px) {
  .statistics__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 560px) {
  .statistics__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .statistics__item {
    padding: 110px 14px 28px;
  }
  .statistics__number {
    font-size: 38px;
  }
}

/* ================= Masonry Gallery (esential) ================= */
.gallery__section {
  /*background: #f8fbff;*/
  background: #eceff3a1;
}
.masonry {
  padding: 140px 0;
}
.masonry__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.masonry__btn {
  padding-top: 50px;
}
.masonry__filter {
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  outline-offset: 2px;
  transition: border-color 0.15s ease;
}
.masonry__filter.is-active,
.masonry__filter:focus-visible {
  border-color: #111;
}
.masonry__grid {
  column-count: 2;
  column-gap: 16px;
  contain: paint;
}
@media (max-width: 768px) {
  .masonry__grid {
    column-count: 2;
  }
}
.masonry__item {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}
.masonry__item:hover {
  transform: translateY(-3px);
}
.masonry__item[hidden] {
  display: none !important;
}
.masonry__img {
  display: block;
  width: 100%;
  height: auto;
}
.lightbox:not([open]) {
  display: none !important;
}
.lightbox {
  border: none;
  background: transparent;
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  width: auto;
  max-width: none;
  overflow: clip;
}
.lightbox::backdrop {
  background: rgba(27, 127, 204, 0.8);
}
.lightbox[open] .lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(98vw, 1400px);
  max-height: calc(100vh - 80px);
  border-radius: 14px;
}
@supports (height: 100svh) {
  .lightbox[open] .lightbox__img {
    max-height: calc(100svh - 80px);
  }
}
@supports (height: 100dvh) {
  .lightbox[open] .lightbox__img {
    max-height: calc(100dvh - 80px);
  }
}
.lightbox[open] .lightbox__close {
  position: fixed;
  top: clamp(12px, 2vh, 24px);
  right: clamp(12px, 2vw, 24px);
  z-index: 1001;
  background: #000;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.9;
}
.lightbox[open] .lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  background: #000;
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.9;
}
.lightbox[open] .lightbox__nav--prev {
  left: clamp(8px, 2vw, 24px);
}
.lightbox[open] .lightbox__nav--next {
  right: clamp(8px, 2vw, 24px);
}
@media (max-width: 560px) {
  .masonry__grid {
    column-count: 1;
    column-gap: 12px;
  }
  .masonry__item {
    margin-bottom: 12px;
    border-radius: 12px;
  }
}
.masonry__more-actions {
  text-align: center;
  margin-top: 16px;
}
.masonry__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 20px;
  border: 0;
  cursor: pointer;
  background: #4d75e0;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.masonry__more-btn:hover {
  filter: brightness(0.95);
}
.masonry__more-icon {
  display: inline-block;
  line-height: 1;
  transition: transform 0.25s ease;
}
.masonry__more-btn[aria-expanded="true"] .masonry__more-icon {
  transform: rotate(45deg);
}

/* Ascunde widget Gallery pe ecrane <= 380px */
@media (max-width: 380px) {
  aside.blog-sidebar .widget.widget-gallery {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .widget.widget-gallery {
    display: none !important;
  }
}

/* ====================== Evenimente (esential) ====================== */
:root {
  --events-bg: #fff;
  --events-card: #fff;
  --events-blue: #4d75e0;
  --events-text: #1b1b1b;
  --events-muted: #566;
  --events-date-bg: #2d2c2c;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.events {
  background: var(--events-bg);
  padding: 140px 0;
}
.events__list {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .events__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.events__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-direction: column;
  background: var(--events-card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.events__date {
  background: var(--events-date-bg);
  color: #fff;
  text-align: center;
  border-radius: 10px;
  min-width: 72px;
  padding: 10px 8px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.events__day {
  font-size: 1.6rem;
  font-weight: 800;
}
.events__month {
  margin-top: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}
.events__name {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--events-text);
}
.events__description {
  margin: 0 0 12px;
  color: #4b5563;
}
.events__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
  color: var(--events-blue);
}
.events__link:hover {
  text-decoration: underline;
}
.events__actions {
  text-align: center;
  margin-top: 50px;
}
.events__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 20px;
  background: var(--events-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.events__btn:hover {
  filter: brightness(0.95);
}
.events__more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  will-change: max-height;
  margin-top: 0;
}
.events__more.is-open {
  margin-top: 20px;
}
.events__btn-icon {
  display: inline-block;
  width: 1.1em;
  line-height: 1;
  transition: transform 0.3s ease;
}
.events__btn[aria-expanded="true"] .events__btn-icon {
  transform: rotate(45deg);
}
.events__all {
  display: none;
  margin-left: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--events-blue);
}
.events__all:hover {
  text-decoration: underline;
}

/* ================= Testimoniale (esential) ================= */
.testimonials {
  position: relative;
  color: #fff;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  min-height: 72vh;
  display: flex;
  align-items: center;
}
.testimonials__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(0, 0, 0, 0.18),
      rgba(0, 0, 0, 0.85) 70%
    ),
    rgba(0, 0, 0, 0.55);
}
.testimonials .container {
  position: relative;
  width: 100%;
}
.section-title {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 38px);
}
.testimonials__stage {
  position: relative;
  display: grid;
  justify-items: start;
  align-items: start;
  padding: 24px 84px 28px 0;
}
.testimonials__card {
  margin: 0;
  max-width: min(640px, 90%);
  position: relative;
}
.testimonials__quote {
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.45;
  font-size: clamp(16px, 2vw, 24px);
}
.testimonials__author {
  font-size: 13px;
  opacity: 0.85;
}
.testimonials__dots {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  cursor: pointer;
}
.testimonials__dot[aria-current="true"] {
  background: #fff;
}
.testimonials__arrows {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonials__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  line-height: 1;
  cursor: pointer;
}
.testimonials__arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 560px) {
  .testimonials__stage {
    padding-right: 64px;
  }
  .testimonials__arrows {
    right: 8px;
    bottom: 8px;
  }
}

/* ========================= Ultimele noutăți (esential) ======================== */
.home-news {
  padding: 140px 0 80px;
  background: #f7f9fc;
}

.home-news-front {
  padding: 140px 0;
  background: #f7f9fc;
}

.home-news .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.home-news__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.home-news__item {
  flex: 1 1 calc(25% - 24px);
  min-width: 260px;
}
.home-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}
.home-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
.home-card:focus-visible {
  outline: 3px solid #2f6cf6;
  outline-offset: 3px;
}
.home-card__image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.home-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 16px 16px 8px;
  color: #1f2a44;
}
.home-card__excerpt {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 16px 18px;
}
@media (max-width: 1200px) {
  .home-news__item {
    flex: 1 1 calc(33.333% - 24px);
  }
}
@media (max-width: 900px) {
  .home-news__item {
    flex: 1 1 calc(50% - 24px);
  }
}
@media (max-width: 560px) {
  .home-news__item {
    flex: 1 1 100%;
  }
  .home-card__image {
    height: 200px;
  }
}

.latest__news-single {
  padding: 1px 0 140px;
  background: #fff;
}

/* ============================ BLOG/Single/Contact/404/FootER ========================= */

/* ===========================
   Dragon Boat — Blog + Sidebar (BEM) — simplu
   =========================== */

.blog-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.blog__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
  aspect-ratio: auto;
}

.blog__image {
  /* margin-bottom: 30px; */
  border-radius: 5px;
}

/* Blog: imaginea articolului la 100% din coloana ei */
.blog__image a,
.blog__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Blog: forțează imaginea să ocupe toată lățimea coloanei */
.blog__image img {
  width: 100%;
  height: auto;
  max-width: none; /* override peste resetul global */
  display: block;
}

.blog__article-title {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.blog-main {
  flex: 1 1 65%;
  min-width: 300px;
}

.blog-post {
  background: #fff;
  border: 1px solid #eee;
  /* padding: 20px; */
  margin-bottom: 60px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.blog__article-wapper {
  padding: 20px 50px 50px;
}

.blog__article-post p {
  margin-top: 10px;
}

.blog__post-cat {
  font-family: "Montserrat", sans-serif;
  color: #2a2829;
  font-size: 14px;
  font-weight: 600;
  line-height: 1px;
  text-transform: uppercase;
  letter-spacing: 0.63px;
  padding: 14px 0;
  /* border-top: 1px solid #ec8f88; */
  border-bottom: 4px solid #ec8f88;
  display: inline-block;
  margin-bottom: 20px;
}

.blog__post-date {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #888;
  margin-top: -10px;
  margin-bottom: 20px;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
}

.blog-post h3 {
  margin-top: 0;
}

.blog-post a {
  text-decoration: none;
}

.btn--red {
  background-color: #f44336;
  color: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
}

.btn--blue {
  background-color: #6584e4;
  color: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
}

.btn-blog {
  margin-top: 40px;
}

.blog-title {
  padding-left: 50px;
}

.title {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  display: inline-block;
  position: relative;
  margin-bottom: 9px;
}

.subtitle {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  margin-bottom: 70px;
  color: rgba(92, 92, 92, 0.3960784314);
}

/*----Responsive-Blog ---*/

@media (max-width: 426px) {
  .blog__article-wapper {
    padding: 20px 10px 30px;
  }
}

/*---------------------------Sidebar----------------------*/

.blog-sidebar {
  flex: 1 1 30%;
  min-width: 250px;
}

.widget {
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.widget__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.widget__list {
  list-style: none;
  padding-left: 0;
}

.widget__list li {
  position: relative;

  margin-bottom: 15px;
  padding-left: 20px;
}

.widget__list-categories li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 14px;
  background-image: url(../img/blog/widget/right-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.widget__list a {
  color: #7292e8;
  text-decoration: none;
  font-weight: 600;
}

.widget__list a:hover {
  color: #b44438;
}

.widget-gallery__img {
  /* width: 100%; */
  border-radius: 15px;
}

/* Responsive pentru ecrane mici */
@media (max-width: 768px) {
  .blog-layout {
    flex-direction: column;
    align-content: center;
  }

  .blog-sidebar {
    width: 100%;
  }
}

/* ===========================================
FORMULAR DE CĂUTARE (Search Widget) – BEM
=========================================== */

.search-widget {
  position: relative;
  width: 100%;
  max-width: 400px; /* poți ajusta la nevoie */
  margin: 0 auto;
}

.search-widget__input:focus {
  outline: none;
  border-color: #007b5e;
  background-color: #fff;
}

/*=============fix pe searchi======================*/
/* Containerul formularului – necesar pentru poziționarea absolută a butonului */
.search-widget__form {
  position: relative;
  display: block;
}

/* Input: spațiu în dreapta pentru iconiță */
.search-widget__input {
  width: 100%;
  height: 48px;
  padding: 10px 48px 10px 16px; /* 48px la dreapta pentru buton */
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

/* Butonul cu icon – centrat vertical, pe dreapta */
.search-widget__button {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: var(--search-icon) no-repeat center;
  background-size: 20px 20px;
  cursor: pointer;
}
/*================ End fix =====================*/

/* Reset mic pentru butoane în widget (evită stiluri de browser) */
.search-widget__form button:focus {
  outline: none;
}

.search-widget__button:focus {
  outline: none;
}

.search-widget__button:hover {
  opacity: 0.8;
}

mark {
  background: #fff1a6;
  padding: 0 0.15em;
  border-radius: 0.2em;
}
.latest-posts__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.latest-posts__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================
  RESPONSIVE
  =================== */
@media (max-width: 600px) {
  .search-widget {
    max-width: 100%;
  }
}

/*============ Widget Recent Post ===============*/
/* ——— Recent posts (aside) ——— */

/* Widget curat, fără border/cadru */
.widget.recent {
  border: 0;
  box-shadow: none;
  padding: 20px;
}
.widget.recent .widget__title {
  margin-bottom: 12px;
}

/* Listă pe FLEX (nu grid) */
.recent__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
}

/* Item & link */
.recent__item {
  list-style: none;
}

.recent__link {
  display: flex; /* ← FLEX */
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 6px 15px; /* fără fundal la hover */
  border-radius: 12px;
  transition: transform 0.12s ease;
}
.recent__link:hover {
  transform: translateY(-1px);
}

/* Thumb mai mare; rotunjim IMG-ul ca să nu taie badge-ul */
.recent__thumb {
  position: relative;
  width: 80px; /* ↑ mărimea 68px */
  height: 80px;
  flex: 0 0 80px;
}
.recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  border-radius: 10%; /* cerc pe imagine, nu pe container */
}

/* Badge – mutat puțin în afara cercului, nu mai e tăiat */
.recent__badge {
  position: absolute;
  right: -4px;
  top: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font:
    700 12px/22px "Roboto",
    Arial,
    sans-serif;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Text */
.recent__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recent__cat {
  font:
    700 12px/1 "Roboto",
    Arial,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cb0b13;
}

.recent__title {
  font:
    700 16px/1.25 "Roboto",
    Arial,
    sans-serif;
  color: #1f2937bf;
}

.recent__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font:
    600 12px/1 "Roboto",
    Arial,
    sans-serif;
  color: #9aa3ad;
}

/* Icon calendar, fără imagini */
.recent__date::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  background:
    radial-gradient(circle at 2px 2px, currentColor 2px, transparent 3px) left
      top/7px 7px no-repeat,
    linear-gradient(currentColor, currentColor) 0 6px/14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 12px/14px 10px no-repeat;
  border-radius: 2px;
  opacity: 0.9;
}

/* ================= Responsive: Recent posts (aside) ================= */

/* ≤ 768px – micșorăm puțin spațiile și fonturile */
@media (max-width: 768px) {
  .recent__list {
    gap: 14px;
  }
  .recent__link {
    gap: 10px;
  }
  .recent__thumb {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  .recent__title {
    font-size: 15px;
    line-height: 1.25;
  }
}

/* ≤ 600px – variantă compactă */
@media (max-width: 600px) {
  .recent__list {
    gap: 12px;
  }
  .recent__thumb {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }
  .recent__badge {
    right: -3px;
    top: -3px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
  }
  .recent__title {
    font-size: 14.5px;
    line-height: 1.25;
  }
  .recent__cat {
    font-size: 11px;
  }
  .recent__date {
    font-size: 11px;
  }
}

/* ≤ 480px – ultra compact */
@media (max-width: 480px) {
  .recent__thumb {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .recent__badge {
    right: -2px;
    top: -2px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 11px;
  }
  .recent__link {
    padding: 4px 0;
  }
  .recent__title {
    font-size: 14px;
    line-height: 1.25;
  }

  /* opțional: clamp pe 2 linii ca să nu rupă layout-ul */
  .recent__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ≤ 360px – cel mai îngust */
@media (max-width: 360px) {
  .recent__thumb {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .recent__title {
    font-size: 13.5px;
  }
  .recent__date::before {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 320px) {
  .blog-layout {
    align-items: center;
  }
}

/*================= End Widget Recent Post ===========*/

/* ===== Tags (Etichete) ===== */
.widget.tags {
  background: #fff;
  border: 0;
  box-shadow: none;
  padding: 20px;
}
.widget.tags .widget__title {
  margin-bottom: 12px;
}

.tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  padding-top: 10px;
}

/* pastile “hot” (galben-or) ca în screenshot */
.tag--hot {
  background: #ffc90b9c;
  color: #1a1a1a;
}

/*===== Fix tag ===========*/
/* tag-pill doar în listele de etichete ale noastre */
/* count opțional (mic badge rotund) */
.tag__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.15);
  color: #111;
  font:
    500 12px/20px "Roboto",
    Arial,
    sans-serif;
}

/* tag activ (dacă îl marchezi din JS / server) */
.tag.is-active {
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* implicit: gri */
.tags__list .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  font:
    500 14px/1 "Roboto",
    Arial,
    sans-serif;
  color: #222;

  background: #ffc90b9c;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset;
  transition:
    transform 0.12s ease,
    filter 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.tags__list .tag:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* activ: galben (exact cum ai în design) */
.tags__list .tag--active {
  background: #fde68a; /* galben */
  color: #222;
}

/* Responsive */
@media (max-width: 600px) {
  .tag {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }
}

/*==========tag fix2==============*/

/*--------------------------------------coments---------------------------------------------*/
.comment-section {
  margin: 40px 0;
}

.toggle-comments {
  background-color: #4d74df;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  border: none;
  padding: 8px 20px 13px;

  border-radius: 5px;
  cursor: pointer;

  transition: background 0.3s;
}

.toggle-comments:hover {
  background-color: #6f8cda;
}

.toggle-icon {
  position: relative;
  top: 3px;
  left: 3px;

  font-size: 23px;
  font-weight: 500;
}

.comment-form {
  display: none;
  margin-top: 30px;

  padding: 30px;
  border-radius: 8px;
}

.comment-form form {
  text-align: left;
}

.form-row {
  margin-bottom: 20px;
}

.form-row.full textarea,
.form-row input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #e4d7c9;
  border-radius: 4px;
}

.form-row.full textarea {
  min-height: 120px;
}

.checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.checkbox input {
  margin-right: 10px;
}

.submit-comment {
  background-color: #20160c;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* ==========================================================================
   DIV Post-Navigation (Navigatie postari - redenumită după BEM)
   ========================================================================== */

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px 50px 40px;

  border-top: 1px solid #eee;
}

.post-nav__previous,
.post-nav__next {
  max-width: 45%;
}

.post-nav__label {
  display: block;
  font-size: 14px;
  color: #555;
  font-weight: 600;
  margin-bottom: 4px;
}

.post-nav__link {
  font-size: 16px;
  font-weight: 600;
  color: #1b78d5;
  border-bottom: 2px solid #1b78d5;

  transition: color 0.3s ease;
}

.post-nav__link:hover {
  color: #1c5a98;
  border-bottom: 2px solid #1c5a98;
}

/*-------Responsive Post Navigation------*/

@media (max-width: 569px) {
  .post-navigation {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-navigation {
    margin: 50px 20px;
  }

  .post-nav__link {
    font-size: 14px;
  }

  .post-nav__previous,
  .post-nav__next {
    max-width: 90%;
  }

  .post-nav__label {
    font-size: 12px;
  }

  .post-nav__previous {
    margin-bottom: 25px;
  }
}

/* ==========================================================================
   SECȚIUNEA Latest Posts (Ultimile postari - redenumită după BEM)
   ========================================================================== */

.latest-posts {
  background-color: #f6f6f891;
}

.latest-posts__title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin: 100px 0 50px;
  color: #222;
}

.latest-posts__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 100px;
}

.latest-posts__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  max-width: 250px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.latest-posts__item:hover {
  transform: translateY(-5px);
}

.latest-posts__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.latest-posts__headline {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  padding: 25px 15px 15px;
  color: #333;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.latest-posts__excerpt {
  padding: 0 15px 15px;
  font-size: 14px;
  color: #444;
  /* margin-bottom: auto; */
  line-height: 1.5;
}

.latest-posts__links {
  margin: 0 auto;
  padding-bottom: 25px;
}

.latest-posts__link {
  display: inline;
  text-align: center;
  margin: auto 15px 15px;
  margin-bottom: 20px;
  color: #1b78d5;
  font-weight: 500;
}

.latest-posts__link:hover {
  text-decoration: none;
  border-bottom: 2px solid #1b78d5;
}

/*-------Responsive------*/

@media (max-width: 768px) {
  .latest-posts__grid {
    flex-direction: column;
    align-items: center;
  }

  .latest-posts__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
  }

  .latest-posts__item {
    max-width: 70%;
    width: 100%;
  }
}

@media (max-width: 568px) {
  .latest-posts__item {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .latest-posts__item {
    max-width: 90%;
  }
}

@media (max-width: 376px) {
  .latest-posts__img {
    height: 180px;
  }
}

/* ===== Single – tipografie articol ===== */
.post__page {
  max-width: 1170px;
  margin: 0 auto;
}
.post__page .blog__article-wapper {
  padding: 24px 28px 40px;
}

.page__title {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 10px;
}

.post__page h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 28px 0 10px;
}
.post__page h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  margin: 22px 0 8px;
}
.post__page p {
  margin: 0 0 1em;
}
.post__page ul,
.post__page ol {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.post__page figure {
  margin: 22px 0;
}
.post__page figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.post__page figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 6px;
  text-align: center;
}

.post__page blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: #f6f8ff;
  border-left: 4px solid #4d75e0;
  color: #333;
  border-radius: 6px;
}

@media (max-width: 426px) {
  .post__page .blog__article-wapper {
    padding: 20px 14px 30px;
  }
}

/*============================== Page =============================================*/

/* ===== PageView (Pagini ca single, dar fără meta) ===== */
.pageview {
  padding: 90px 0 110px;
}

.pageview__article {
  padding: 0 25px;
}

.pageview__header {
  margin-bottom: 0;
}

.pageview__title {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 50px;
}
.pageview__lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: #4a5568; /* gri discret, ca lead-ul din single */
  margin: 0 0 16px;
}

.pageview__share {
  margin: 8px 0 16px;
}

/*========================== Ascunde Share Links=============================*/
.page .pageview__share {
  display: none !important;
}
/*=========================== Ascunde Share Links============================*/

.pageview__share .btn,
.sharebox .btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.sharebox .btn--share {
  background: #5b74f0;
  color: #fff;
  margin-right: 10px;
}
.sharebox .btn--copy {
  background: #51c2ff;
  color: #fff;
}

.pageview__thumb {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
}
.pageview__img {
  display: block;
  width: 100%;
  height: auto;
}

.pageview__content {
  /* aceeași tipografie ca în single */
  font-size: 16px;
  line-height: 1.6;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #333;
}

.page-pagination {
  margin-top: 24px;
}
.page-pagination__label {
  margin-right: 8px;
  font-weight: 600;
}

.shareicons {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 8px 0 16px;
}

.shareicons li {
  display: inline-flex;
}

/*==================================== Shareicon ============================*/
.shareicon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.shareicon svg {
  display: block;
  fill: currentColor;
}
.shareicon:hover,
.shareicon:focus {
  transform: translateY(-1px);
  background: #fff;
  border-color: #cbd5e1;
}
.shareicon.is-copied {
  outline: 2px solid #22c55e;
}

.shareicon--fb {
  color: #1877f2;
}
.shareicon--tg {
  color: #229ed9;
}
.shareicon--wa {
  color: #25d366;
}
.shareicon--msgr {
  color: #0084ff;
} /* Messenger */
.shareicon--x {
  color: #0f1419;
} /* X (Twitter) */
.shareicon--viber {
  color: #7360f2;
} /* Viber */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*====================================== mdbf-video gitenberg ========================================*/
/* Centrare implicită + spațiere */
.wp-block-embed,
.wp-block-video {
  margin: 16px auto;
  max-width: 100%;
}

/* Wrapper responsive 16:9 pentru YouTube/Vimeo (oEmbed) */
.wp-block-embed.is-type-video .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* modern; dacă nu e suport, vezi fallback mai jos */
}
.wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Video local (blocul core/video) */
.wp-block-video {
  width: 100%;
}
.wp-block-video video {
  width: 100%;
  height: auto;
  display: block;
}

/* În interiorul containerului tău: width 100% la „wide” */
.container .alignwide {
  width: 100%;
}

/* Opțional, pentru „full width” pe tot viewport-ul (dacă vrei cu adevărat fullscreen în pagină) */
.alignfull {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

/*---------------------------- Single post Bread Hero Post -----------------------*/
/* ===== HERO full width ===== */
.single-hero {
  width: 100%;
  background: #000;
}
.single-hero__img {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 520px); /* înălțime dinamică, responsive */
  object-fit: cover; /* umple fără distorsiuni */
}

.single-hero__mb {
  margin-bottom: 45px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: #f6f6f8;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
  margin: 0;
  list-style: none;
}
.breadcrumb__item {
  color: #6b7280;
  font-size: 0.95rem;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin: 0 6px;
  color: #9aa0a6;
}
.breadcrumb__link {
  color: #1b78d5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumb__link:hover {
  border-bottom-color: #1b78d5;
}
.breadcrumb__item--current .breadcrumb__current {
  color: #374151;
  font-weight: 600;
}

/* ===== Share bar ===== */
.single-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 10px;
}
@media (min-width: 768px) {
  .single-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }
}

.sharebar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.sharebar__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 5px;
  padding: 10px 16px;
  font-weight: 700;
  background: #4d75e0;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.sharebar__btn:hover {
  filter: brightness(0.95);
}
.sharebar__btn--copy {
  background: #2b2929;
} /* albastru diferit pentru copy */
.sharebar__status {
  min-height: 1em;
  font-size: 0.9rem;
  color: #16a34a;
} /* “Link copiat.” etc. */

/* Lead sub titlu, deasupra imaginii */
.single__lead {
  font-size: 1.125rem; /* ~18px */
  font-weight: 500;
  line-height: 1.75;
  color: #374151;
  margin: 8px 0 16px; /* spațiu mic până la imagine */
}

/* Imaginea articolului */
.single-cover {
  margin: 10px 0 24px;
}
.single-cover__img {
  display: block;
  width: 100%;
  height: auto; /* păstrează proporțiile */
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); /* discret */
}
.single-cover__cap {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 6px;
  text-align: center;
}

/* (opțional) dacă vrei ca imaginea să “respire” mai tare pe mobil */
@media (max-width: 560px) {
  .single__lead {
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 8px 0 16px;
  }
  .single-cover {
    margin: 8px 0 20px;
  }
}

/* NU mai pune cursor pentru .wp-block-image img în afara galeriei */

/* Imagine articol sub titlu */
.single-cover {
  margin: 14px 0 22px;
}
.single-cover__img {
  display: block;
  width: 100%;
  height: auto; /* păstrează proporțiile, fără decupare */
  border-radius: 6px;
}
.single-cover__cap {
  font-size: 0.9rem;
  color: #666;
  margin-top: 6px;
  text-align: center;
}

/* ===== Latest Posts, varianta mai compactă pentru pagina single ===== */
.latest-posts--compact .latest-posts__title {
  margin: 60px 0 30px;
}
.latest-posts--compact .latest-posts__grid {
  margin-bottom: 60px;
}

/* ===== Latest Posts – variantă 4 coloane pe desktop ===== */
.latest-posts--4col .latest-posts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 90px; /* păstrează spacing-ul tău */
}
.latest-posts--4col .latest-posts__item {
  max-width: none;
} /* anulăm limita de 250px */

/* breakpoints */
@media (max-width: 1200px) {
  .latest-posts--4col .latest-posts__grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}
@media (max-width: 900px) {
  .latest-posts--4col .latest-posts__grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}
@media (max-width: 560px) {
  .latest-posts--4col .latest-posts__grid {
    grid-template-columns: 1fr;
  }
}

/*============================================ Eror 404 ========================================================*/

/* =================== 404: hero cu background + overlay =================== */
.error-404 {
  position: relative;
  background-image: var(--err-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: min(720px, calc(100vh - 120px));
  padding: 72px 0;

  display: flex;
  justify-content: center;
  align-items: center;

  box-sizing: border-box;
  text-align: center;
  color: #fff;
}

/* Overlay reglabil: setezi --err-overlay: 0..1 în 404.php */
.error-404::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, calc(var(--err-overlay, 0.55)));
}

.error-404__container {
  position: relative;
  z-index: 1;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Titluri lizibile peste foto */
.error-404__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: clamp(72px, 12vw, 100px);
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.error-404__sub-title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: clamp(20px, 3.6vw, 36px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.error-404__text {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: clamp(16px, 2.2vw, 18px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* =================== Formul de căutare (FLEX) =================== */
.error-404__search {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 640px;
  margin: 0 auto 20px;
}

.error-404__input {
  flex: 1 1 auto;
  min-width: 0; /* împiedică overflow-ul */
  height: 48px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2a44;
  font-size: 1rem;
}
.error-404__input::placeholder {
  color: #5b6b8b;
}
.error-404__input:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.error-404__submit {
  height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  background: #ffd34d;
  background: #f7f6f5; /* alb MDBF */
  color: #1f2a44;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: filter 0.2s ease;
  margin: 0 !important; /* anulăm margini globale */
  flex: 0 0 auto;
}
.error-404__submit:hover {
  filter: brightness(0.95);
}

/* Buton „Înapoi acasă” — păstrat roșu cum ai în design */
.error-404__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  margin-top: 6px;
  border-radius: 20px;
  background-color: #cb0b13;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.error-404__btn:hover {
  background-color: #a50b12;
}
.error-404__btn:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* Utilitar accesibilitate (dacă nu-l ai deja) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* Mobil: input și buton pe rânduri */
@media (max-width: 560px) {
  .error-404__search {
    flex-wrap: wrap;
  }
  .error-404__input {
    flex-basis: 100%;
  }
  .error-404__submit {
    width: 100%;
  }
}

/* =================== Search Page (stil aliniat cu designul existent) =================== */
.search-page__form {
  margin: 12px 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-page__input {
  flex: 1 1 360px;
  max-width: 640px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 1rem;
}
.search-page__input:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
  border-color: transparent;
}
.search-page__btn {
  /* folosește stilul .events__btn existent; doar mică ajustare de înălțime */
  height: 44px;
  line-height: 1;
}

.search-page__count {
  color: #6b7280;
  margin: 50px 0 10px;
  font-size: 25px;
  font-weight: 500;
}

/* evidențiere căutare în excerpt */
#search-results mark {
  background: #fff3a2;
  color: inherit;
  padding: 0 0.1em;
  border-radius: 2px;
}

/* pe ecrane mici: buton pe toată lățimea */
@media (max-width: 420px) {
  .search-page__btn {
    width: 100%;
  }
  .search-page__input {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* fallback text */
.search-page__fallback {
  margin-top: 16px;
  color: #6b7280;
}
.search-page__fallback a {
  color: #1b78d5;
}
.search-page__fallback a:hover {
  text-decoration: underline;
}
/* ========================Search List ===============================================*/
/* ========================= Search: listă orizontală ========================= */
.search-list {
  display: grid;
  gap: 20px;
  margin-bottom: 90px;
}

/* ===== Search: rând orizontal stabil (fără suprapuneri) ===== */
.search-row {
  display: grid;
  grid-template-columns: 240px 1fr; /* lățimea fixă a coloanei cu poză */
  gap: 20px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 12px;
  background: var(--search-row-bg, transparent); /* păstrează culorile tale */
}

.search-row:hover {
  background: var(--search-row-hover, rgba(0, 0, 0, 0.04)); /* discret */
}

/* containerul imaginii */
.search-row__media {
  width: 240px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden; /* ascunde surplusul */
  display: block;
}

/* imaginea se taie frumos în container */
.search-row__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* textul din partea dreaptă */
.search-row__body {
  min-width: 0;
}

.search-row__meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  line-height: 1;
  margin-bottom: 6px;
  opacity: 0.8;
}

.search-row__cat {
  font-weight: 600;
}
.search-row__date {
  white-space: nowrap;
}

.search-row__title {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 6px;
}

.search-row__title a {
  text-decoration: none;
}

.search-row__excerpt p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.search-row__more {
  display: inline-block;
  margin-top: 10px;
}

/* mark din căutare — păstrează culoarea ta actuală */
.search-row mark {
  padding: 0 2px;
  border-radius: 3px;
}

/* ===== Responsiv ===== */
@media (max-width: 640px) {
  .search-row {
    grid-template-columns: 1fr;
  }
  .search-row__media {
    width: 100%;
    height: 180px;
  }
}

/* ======================= CONTACT — HERO (cover + parallax) ======================= */
.contact-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(100px, 12vh, 140px) 0 70px;
  color: #fff;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* parallax prin variabila --parallax-y; imaginea setată din HTML prin --contact-bg */
  background: var(--contact-bg, url("/assets/img/contact/contacts_dragon.jpg"))
    center calc(50% + var(--parallax-y, 0px)) / cover no-repeat;
  z-index: -2;
}
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.55));
  z-index: -1;
}

/* ======================= CONTACT — CARD (glassmorphism) ======================= */
.contact-form {
  width: min(760px, 100% - 30px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 36px);
  color: #111;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  transform: translateY(8px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.contact-hero .contact-form:hover {
  transform: translateY(0);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

/* Titluri */
.contact-form__title {
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  margin: 0 0 6px;
  color: #111;
}
.contact-form__lead {
  margin: 0 0 16px;
  color: #374151;
}

/* ======================= GRID & CÂMPURI ======================= */
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 16px;
}
@media (min-width: 768px) {
  .contact-form__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-form__field--full {
    grid-column: 1 / -1;
  }
}

/* Baza câmpurilor (păstrat) */
.contact-form__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #1f2937;
}

.contact__checkbox a.contact-link__gdpr {
  text-decoration: underline !important;
  color: #0084ff !important;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.contact-form__textarea {
  min-height: 110px;
  max-height: 110px;
  resize: vertical;
}

/* Focus ring (ușor albastru) */
.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* ======================= LABEL PLUTITOR (activat cu .is-floating + placeholder=" ") ======================= */
.contact-form__field {
  position: relative;
}
.is-floating .contact-form__label {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 0 6px;
  background: linear-gradient(#fff, #fff);
  color: #6b7280;
  font-weight: 600;
  font-size: 0.95rem;
  transform-origin: left top;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    top 0.18s ease;
  pointer-events: none;
  margin: 0;
}
.is-floating .contact-form__input {
  padding: 16px 14px 14px;
}
/* — folosim :has() pe containerul .contact-form__field — */
.contact-form__field.is-floating:has(.contact-form__input:focus)
  .contact-form__label,
.contact-form__field.is-floating:has(
    .contact-form__input:not(:placeholder-shown)
  )
  .contact-form__label {
  transform: translateY(-18px) scale(0.88);
  top: 6px;
  color: #2563eb;
}
/* Fallback pe clase (vezi JS-ul) */
.contact-form__field.is-floating.is-focused .contact-form__label,
.contact-form__field.is-floating.has-value .contact-form__label {
  transform: translateY(-18px) scale(0.88);
  top: 6px;
  color: #2563eb;
}

/* ======================= META (checkbox + submit) ======================= */
.contact-form__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.contact-form__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #374151;
}

/* Buton + efect SHINE */
.contact-form__submit {
  padding: 12px 24px;
  border-radius: 20px;
  border: none;
  background: #cb0b13;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    filter 0.25s ease,
    transform 0.1s ease;
  position: relative;
  overflow: hidden; /* necesar pt. shine */
}
.contact-form__submit:hover {
  filter: brightness(0.95);
}
.contact-form__submit:active {
  transform: translateY(1px);
}
.contact-form__submit.btn--shine::after {
  content: "";
  position: absolute;
  inset: -120% auto -120% -60%;
  width: 60%;
  transform: skewX(-20deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transition: transform 0.6s ease;
}
.contact-form__submit.btn--shine:hover::after {
  transform: translateX(320%) skewX(-20deg);
}

/* Status mesaj */
.contact-form__status {
  margin-top: 8px;
  font-weight: 600;
  color: #16a34a;
}

/* ======================= REVEAL LA SCROLL ======================= */
.reveal {
  opacity: 0;
  transform: translateY(12px);
}
.reveal.is-inview {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* ======================= REDUCE MOTION ======================= */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .contact-form {
    transition: none !important;
    transform: none !important;
  }
  .contact-hero::before {
    background-position: center center !important;
  }
}

/* ——— Ripple pe buton (tematic "apă") ——— */
.contact-form__submit {
  position: relative;
  overflow: hidden;
}
.contact-form__submit .ripple {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.45;
  background: radial-gradient(
    circle,
    rgba(99, 164, 255, 0.45) 0%,
    rgba(99, 164, 255, 0.25) 40%,
    rgba(99, 164, 255, 0) 70%
  );
  animation: ripple-wave 0.7s ease-out forwards;
  mix-blend-mode: screen;
}
@keyframes ripple-wave {
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-form__submit .ripple {
    animation: none;
    display: none;
  }
}

/* cursor pentru typewriter (discret, doar cât timp se scrie) */
#contact-typer[aria-busy="true"]::after,
.contact-form__lead[aria-busy="true"]::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -0.15em;
  background: #111;
  opacity: 0.55;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

/* Eroare pe câmpuri / checkbox */
.contact-form__input.is-error,
.contact-form__textarea.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}
.contact-form__check.is-error {
  outline: 2px solid #ef4444;
  outline-offset: 4px;
  border-radius: 8px;
}

/* Mesaje status */
.contact-form__status--error {
  color: #ef4444;
}
.contact-form__status--ok {
  color: #16a34a;
}

/* ——— Ecran „Mulțumim!” ——— */
.contact-form.show-thanks form {
  display: none;
}
/* ascunde titlul & lead-ul când e “Mulțumim!” */
.contact-form.show-thanks .contact-form__title,
.contact-form.show-thanks .contact-form__lead {
  display: none;
}

.contact-thanks {
  display: none;
  text-align: center;
  padding: 18px 6px;
  color: #0f172a;
  /* aceleași dimensiuni ca formularul */
  width: min(760px, 100% - 30px);
  margin: 0 auto;
}
/* descendent + SIBLING (pentru structura ta actuală) */
.contact-form.show-thanks .contact-thanks,
.contact-form.show-thanks + .contact-thanks,
.contact-form.show-thanks ~ .contact-thanks {
  display: block;
  animation: thanks-fade 0.4s ease;
}
@keyframes thanks-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.contact-thanks__block {
  padding: 25px;

  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-thanks__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-thanks__btn {
  min-width: 180px;
}

/* Buton contur */
.btn.btn--outline {
  background: transparent;
  color: #0f172a;
  border: 2px solid rgba(15, 23, 42, 0.2);
  box-shadow: none;
}
.btn.btn--outline:hover {
  border-color: rgba(15, 23, 42, 0.35);
}

/* preferințe reduce motion (pentru thanks) */
@media (prefers-reduced-motion: reduce) {
  .contact-form.show-thanks + .contact-thanks,
  .contact-form.show-thanks ~ .contact-thanks,
  .contact-form.show-thanks .contact-thanks {
    animation: none;
  }
}

/* Reveal doar în Contact (extra-scope) */
.contact-hero .reveal {
  opacity: 0;
  transform: translateY(12px);
}
.contact-hero .reveal.is-inview {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* Ascunde ÎNTREG cardul când suntem în starea de mulțumire */
.contact-form.show-thanks {
  display: none;
}

/* Afișează doar textul de mulțumire (fără cutie), ca sibling/descendent */
.contact-form.show-thanks .contact-thanks,
.contact-form.show-thanks + .contact-thanks,
.contact-form.show-thanks ~ .contact-thanks {
  display: block;
  animation: thanks-fade 0.4s ease;
}

/* Stil „text peste cover” – alb + mic shadow pentru lizibilitate */
.contact-thanks {
  display: none; /* implicit ascuns */
  text-align: center;
  padding: 0; /* fără padding de card */
}

/* Doar titlu + descriere (fără icon, fără butoane) */
.contact-thanks__icon {
  display: none;
}
.contact-thanks__actions {
  display: none;
}

.contact-thanks__title {
  margin: 0 0 8px;

  font-size: clamp(1.6rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #111;
}
.contact-thanks__text {
  margin: 0 0 6px;
  color: #374151;
  opacity: 0.92;
  font-size: 18px;
  font-weight: 400;
}

/* (păstrăm animația existentă) */
@keyframes thanks-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/*=========================== End Blog =======================================================*/

/* === FOOTER MAP – full-width + full-height === */
/*=========================================== Footer ===========================================*/

.footer {
  background: #111;
  color: #ddd;
  padding: 50px 20px 20px;
  font-size: 14px;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer__logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer__text {
  margin-top: 10px;
  line-height: 1.6;
}

.footer__title {
  font-size: 16px;
  margin-bottom: 12px;
  color: #fff;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__item {
  margin-bottom: 8px;
}

.footer__link {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__link:hover {
  color: #f44336;
}

.footer__info {
  margin-bottom: 6px;
}

.footer__social {
  display: flex;
  gap: 15px;
}

.footer__social-link {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__social-link:hover {
  color: #f44336;
}

/* Newsletter */
.footer__form {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}
.footer__input {
  flex: 1;
  padding: 10px;
  border-radius: 4px;
  border: none;
  outline: none;
}
.footer__btn {
  background: #cb0b13;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.footer__btn:hover {
  background: #d32f2f;
}

.footer__message {
  font-size: 14px;
  margin-bottom: 8px;
}

/*mesage subscrie*/
.footer__message--success {
  color: #4caf50;
}

.footer__message--error {
  color: #ff5252;
}

.footer__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
}

.footer__gdpr-msg {
  display: block;
  font-size: 13px;
  margin-top: 5px;
  min-height: 18px;
  color: #ff5252;
}

.footer__author {
  font-weight: 500;
  color: #4da3ff;
  text-decoration: none;
}

.footer__author:hover {
  text-decoration: underline;
}

/* ============================== Map (Leaflet container) — unificat ============================== */

@media (min-width: 900px) {
  .footer__col--map {
    grid-column: 1 / -1;
  }
}

.footer__map {
  width: 100%;
  height: clamp(360px, 45vh, 560px); /* ajustează după nevoie */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 0;
}

/* Forțează Leaflet să ocupe întregul container */
#footer-map,
.footer__map .leaflet-container {
  width: 100% !important;
  height: 100% !important;
}

/* mici stiluri dark pentru controalele Leaflet */
.leaflet-control-zoom a {
  background: #1e1e1e;
  color: #ddd;
  border-color: #333;
}
.leaflet-control-zoom a:hover {
  background: #2a2a2a;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #1e1e1e;
  color: #ddd;
}
.leaflet-control-attribution {
  background: rgba(17, 17, 17, 0.6);
  color: #aaa;
}

/* ============================== Bottom ============================== */

.footer__bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 13px;
  color: #888;
}

/* ============================== Responsive tweaks ============================== */

@media (max-width: 600px) {
  .footer__form {
    flex-direction: column;
  }
  .footer__btn {
    width: 100%;
  }
}

/* === FOOTER MAP – FIX DESKTOP HEIGHT === */

/* 1) containerul hărții are o înălțime reală */
#footer-map,
.footer__map {
  display: block;
  width: 100%;

  height: clamp(360px, 48vh, 560px) !important;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* 2) Leaflet întinde conținutul pe tot containerul */
#footer-map .leaflet-container,
.footer__map .leaflet-container {
  width: 100% !important;
  height: 100% !important;
}

/* 3) pe ecrane mari, coloana cu hartă ocupă toată lățimea grid-ului */
@media (min-width: 900px) {
  .footer__col--map {
    grid-column: 1 / -1;
  }
}

/* (opțional) dacă există vreo regulă globală care “ciupește” înălțimea Leaflet */
.leaflet-container {
  min-height: 0; /* previne limitări moștenite */
}

/* =========================
   GTranslate: culoare albă în HEADER pe toate paginile
   ========================= */

/* Forțăm alb oriunde apare switcher-ul în meniu */
a.gt_switcher-popup.glink.nturl.notranslate,
a.gt_switcher-popup.glink.nturl.notranslate span {
  color: #fff !important;
}

a.gt_switcher-popup.glink.nturl.notranslate span[style*="color"] {
  color: #fff !important;
}

.gt_white_content a:hover {
  background: rgba(0, 0, 0, 0.06);
  
}
  
  /* =========================
   Our Team cu cod html pus in Gutenberg
   ========================= */
   
   /* Cod pentru team */



.mdbf-team{
  --gap: 20px;
  --card-pad: 18px;
  --img: 96px;

  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.mdbf-team__card{
  width: calc(33.333% - var(--gap));
  display: flex;
  align-items: center;
  gap: 14px;

  background: #fff;
  border-radius: 16px;
  padding: var(--card-pad);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.mdbf-team__photo{
  width: var(--img);
  flex: 0 0 var(--img);
}

.mdbf-team__img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  /* border-radius: 14px; */
  border-radius: 50px;
  display: block;
}

.mdbf-team__name{ margin: 0 0 6px; font-size: 18px; line-height: 1.2; }
.mdbf-team__role{ margin: 0; font-size: 14px; opacity: .85; }

/* 2 coloane */
@media (max-width: 1024px){
  .mdbf-team__card{ width: calc(50% - var(--gap)); }
}

/* 1 coloană */
@media (max-width: 768px){
  .mdbf-team__card{ width: 100%; }
}

/* 425px: micșorăm imaginile */
@media (max-width: 425px){
  .mdbf-team{ --gap: 14px; --card-pad: 14px; --img: 80px; }
  .mdbf-team__name{ font-size: 16px; }
  .mdbf-team__role{ font-size: 13px; }
}

@media (max-width: 425px){
  .mdbf-team__card{
    align-items: flex-start;
  }
}


@media (hover:hover){
  .mdbf-team__card{
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .mdbf-team__card:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0,0,0,.12);
  }
}

/* link catre articol complet*/

.about-more{
  margin-top: 12px;
}

.about-more a {
    font-weight: 500;
    color: #1b78d5;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 14px;
}

.about-more a:hover{
  text-decoration-thickness: 2px;
}



/* Headings Gutenberg pe pagini (MDBF) */
.pageview__content :is(h2.wp-block-heading, h2) {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  margin: 1.75rem 0 0.65rem;
}

.pageview__content :is(h3.wp-block-heading, h3) {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 600;
  margin: 1.35rem 0 0.5rem;
}

/*li ca in Gutenberg pe pagina MDBF*/

/* Gutenberg lists – în conținut (override reset.css) */
.pageview__content ul.wp-block-list {
  padding-left: 1.5rem;
  margin: 0.75rem 0 1.1rem;
}

.pageview__content ul.wp-block-list > li {
  list-style: disc !important; /* bate reset.css (list-style: none pe li) */
  list-style-position: outside;
  margin: 0.45rem 0;
  padding-left: 0.2rem;
  line-height: 1.55;
}

.pageview__content ul.wp-block-list > li::marker {
  font-size: 0.95em;
}


