/* ==========================================================================
 * Oportunități – Header & Breadcrumb (subset din news-archive.css)
 * Versiune: 1.0.0
 * Scop: Reproduce exact styling-ul de la arhiva "Noutăți" pentru pagina /oportunitati/
 * ========================================================================== */

/* Variabile: le limităm la containerul paginii pentru a nu polua global */
.et-opportunities-page.et-news-archive {
  --news-gap:30px;
  --news-title-desc-gap:14px;
  --news-filters-bottom-gap:30px;
  --news-header-min-height:127px;
  --news-header-min-height-mobile:96px;
}

/* Spacing secțiune (identic cu news-archive.css) */
.et-opportunities-page.et-generic-cat-archive.et-news-archive.et-news-section {
  margin-top:0;
  padding-top:clamp(24px,3.5vw,48px);
  padding-bottom:clamp(60px,7vw,120px);
}
@media (max-width:640px){
  .et-opportunities-page.et-generic-cat-archive.et-news-archive.et-news-section {
    padding-top:clamp(92px,24vw,128px);
    padding-bottom:clamp(70px,16vw,120px);
  }
}

/* Breadcrumbs */
.et-opportunities-page.et-news-archive .et-breadcrumbs {
  margin:0 0 var(--news-gap);
  position:relative;
  padding-bottom:10px;
}
.et-opportunities-page.et-news-archive .et-breadcrumbs a {
  font-size:16px;
  color:#75787B;
  text-decoration:none;
  font-weight:400;
  transition:color .18s;
}
.et-opportunities-page.et-news-archive .et-breadcrumbs a:hover {
  color:#3459AF;
  text-decoration:none;
}
.et-opportunities-page.et-news-archive .et-breadcrumbs .current,
.et-opportunities-page.et-news-archive .et-breadcrumbs span:last-child {
  font-size:16px;
  color:#3C3C3C;
  font-weight:400;
  text-decoration:none;
}
.et-opportunities-page.et-news-archive .et-breadcrumbs::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:140px;
  height:1px;
  background:linear-gradient(90deg,#D8DDE3 0%,#E6E9EE 55%,rgba(230,233,238,0) 100%);
  border-radius:1px;
  pointer-events:none;
}

/* Header wrapper */
.et-opportunities-page.et-news-archive .et-cat-archive-head {
  margin:0 0 var(--news-gap);
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:var(--news-header-min-height);
}

/* Caz cu descriere (ajustăm doar marginea – identic logic existent) */
.et-opportunities-page.et-news-archive .et-cat-archive-head.has-desc {
  margin-bottom:calc(var(--news-gap) - var(--news-title-desc-gap));
}

/* Titlu */
.et-opportunities-page.et-news-archive .et-cat-archive-title,
.et-opportunities-page.et-news-archive .et-news-archive-title {
  margin:0;
  font-size:38px;
  line-height:1.05;
  font-weight:600;
  color:#222;
}
@media (max-width:640px){
  .et-opportunities-page.et-news-archive .et-cat-archive-title,
  .et-opportunities-page.et-news-archive .et-news-archive-title {
    font-size:32px;
  }
}

/* Descriere */
.et-opportunities-page.et-news-archive .et-cat-archive-description,
.et-opportunities-page.et-news-archive .et-news-archive-description {
  margin:var(--news-title-desc-gap) 0 0;
  font-size:15px;
  line-height:1.5;
  color:#555;
  max-width:760px;
}

/* Mobile min-height header */
@media (max-width:640px){
  .et-opportunities-page.et-news-archive .et-cat-archive-head {
    min-height:var(--news-header-min-height-mobile);
  }
}

/* (OPȚIONAL) Dacă vrei spațiu suplimentar sub header înainte de conținut viitor */
.et-opportunities-page .et-opportunities-content-placeholder {
  margin-top:10px;
}