/* ==========================================================================
   CNCPIC Homepage Hero — două coloane
   Culori extrase din design (imagine referință)
   ========================================================================== */

/* ── Wrapper extern — fundal full-width ────────────────────────────────── */
.hp-hero-wrapper {
  background: #f0e8d8;          /* crem cald — culoarea din imagine          */
  width: 100%;
  box-sizing: border-box;
}

/* ── Container interior — max 1280px, 20px padding lateral ─────────────── */
.hp-hero-wrapper__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

/* Coloana stânga ~54% */
.hp-hero__left {
  flex: 1 1 54%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Coloana dreapta ~46% */
.hp-hero__right {
  flex: 0 0 44%;
  max-width: 500px;
}

/* ==========================================================================
   Coloana stânga — Hero
   ========================================================================== */

/* ── "— BUN VENIT" ───────────────────────────────────────────── */
.hp-hero__supra {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-hero__supra-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #1a2340;
  flex-shrink: 0;
}

.hp-hero__supra-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a2340;
  line-height: 1;
}

/* ── Heading mare ─────────────────────────────────────────────── */
.hp-hero__heading {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #1a2340;
}

/* ── Text descriptiv italic ───────────────────────────────────── */
.hp-hero__body {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-style: italic;
  color: #4a5568;
  line-height: 1.75;
  max-width: 520px;
}

/* ── Butoane CTA ──────────────────────────────────────────────── */
.hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hp-hero__btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  font-style: normal;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

/* Primar — solid dark navy */
.hp-hero__btn--primary {
  background: #0d1f3c;
  color: #fff;
  border: 2px solid #0d1f3c;
}
.hp-hero__btn--primary:hover,
.hp-hero__btn--primary:focus {
  background: #1a3660;
  border-color: #1a3660;
  color: #fff;
}

/* Secundar — outline */
.hp-hero__btn--secondary {
  background: transparent;
  color: #0d1f3c;
  border: 2px solid #0d1f3c;
}
.hp-hero__btn--secondary:hover,
.hp-hero__btn--secondary:focus {
  background: #0d1f3c;
  color: #fff;
}

/* ── Badge EST. ○ ─────────────────────────────────────────────── */
.hp-hero__est {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.hp-hero__est-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border: 1.5px solid #1a2340;
  border-radius: 50%;
  flex-shrink: 0;
  gap: 1px;
}

.hp-hero__est-small {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a2340;
}

.hp-hero__est-year {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a2340;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hp-hero__est-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hp-hero__est-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a5568;
  line-height: 1.2;
}

.hp-hero__est-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a2340;
  line-height: 1.3;
  font-family: 'Source Serif 4', Georgia, serif;
}

/* ==========================================================================
   Coloana dreapta — Panou Anunțuri Oficiale
   ========================================================================== */

.hp-panel {
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13, 31, 60, 0.08);
}

/* ── Header panou ─────────────────────────────────────────────── */
.hp-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d1f3c;
  padding: 16px 20px;
  gap: 12px;
}

.hp-panel__title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.hp-panel__updated {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.70rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.60);
  white-space: nowrap;
  line-height: 1;
}

/* ── Lista noduri teaser ──────────────────────────────────────── */
.hp-panel__list .teaser-card {
  padding: 18px 20px;
}

.hp-panel__item + .hp-panel__item .teaser-card {
  border-top: 1px solid #e8ecf2;
}

/* ── Footer link ──────────────────────────────────────────────── */
.hp-panel__footer {
  padding: 15px 20px;
  border-top: 1px solid #e8ecf2;
}

.hp-panel__view-all {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #0d1f3c;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hp-panel__view-all:hover,
.hp-panel__view-all:focus {
  color: #1569b0;
}

/* ==========================================================================
   Override teaser în context panou — category, date, title, summary
   ========================================================================== */
.hp-panel .teaser__category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7a9ab8;
  background: none;
  padding: 0;
  border-radius: 0;
  line-height: 1.4;
}

.hp-panel .teaser__date {
  font-size: 0.75rem;
  color: #7a9ab8;
  line-height: 1.4;
}

.hp-panel .teaser__title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px;
  color: #1a2340;
}

.hp-panel .teaser__title a {
  color: #1a2340;
  text-decoration: none;
}
.hp-panel .teaser__title a:hover,
.hp-panel .teaser__title a:focus {
  color: #0d1f3c;
  text-decoration: underline;
}

.hp-panel .teaser__summary {
  font-size: 0.855rem;
  color: #4a5568;
  line-height: 1.6;
}

.hp-panel .teaser__left {
  min-width: 100px;
  max-width: 115px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .hp-hero-wrapper__inner {
    flex-direction: column;
    gap: 36px;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .hp-hero__right {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .hp-hero__heading {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }
}

@media (max-width: 600px) {
  .hp-hero-wrapper__inner {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .hp-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hp-hero__btn {
    justify-content: center;
    text-align: center;
  }
}

