/* =========================

   Comunicate de presă – slider

   ========================= */

.news-home-press-release {
  padding: 80px 0 95px;
}

.news-home-press-release > .title {
  text-align: center;

  font-weight: 800;

  font-size: clamp(2.6rem, 4vw, 3.8rem);

  color: var(--color-primary);

  margin: 0 0 3.4rem;

  letter-spacing: -0.01em;

  width: 100%;

  float: left;
}

.news-home-press-release .news-home-press-release-slider {
  max-width: 1380px;

  margin: 0 auto;

  padding: 0 1.5rem;

  position: relative;
}

/* viewport */

.news-home-press-release .press-shell {
  width: 100%;

  max-width: 1280px;

  margin: 0 auto;

  overflow: hidden;

  position: relative;

  padding-bottom: 60px;
}

/* track */

.news-home-press-release .press-track {
  --gap: 1.5rem;

  display: flex;

  gap: var(--gap);

  transition: transform 0.35s ease;

  will-change: transform;
}

/* card – ACUM doar 2 coloane: dată + conținut */

.news-home-press-release .press-track > section {
  background: #fff;

  border-radius: 18px;

  box-shadow: 0 16px 48px rgba(0, 119, 255, 0.08);

  display: grid;

  grid-template-columns: 70px 1fr;

  gap: 1.4rem;

  min-height: 150px;

  padding: 24px 26px 24px 22px;

  border: 1px solid rgba(0, 119, 255, 0.01);

  flex: 0 0 410px; /* suprascris din JS */
}

/* box dată */

.news-home-press-release .press-track .time {
  width: 70px;

  min-height: 72px;

  border-radius: 16px;

  background: rgb(83 142 255 / 5%);

  border: 1px solid rgb(83 142 255 / 25%);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  gap: 0;
}

.news-home-press-release .press-track .time .day {
  font-weight: 800;

  font-size: 2.2rem;

  line-height: 1;

  color: var(--color-primary);
}

.news-home-press-release .press-track .time .month {
  text-transform: lowercase;

  font-weight: 600;

  font-size: 1.2rem;

  color: var(--color-text);
}

/* icon calendar sub lună */

.news-home-press-release .press-track .time .icon {
  font-family: "Material Symbols Outlined";

  font-size: 20px;

  line-height: 1;

  color: var(--color-secondary);

  margin-top: 0.25rem;
}

/* titlu */

.news-home-press-release .press-track .title {
  margin: 0;
}

.news-home-press-release .press-track .title a {
  display: block;

  text-decoration: none;

  color: var(--color-text);

  font-weight: 700;

  font-size: 1.25rem;

  line-height: 1.25;

  overflow: hidden;

  transition: all ease-in 0.3s;
}

.news-home-press-release .press-track .title a:hover {
  color: var(--color-primary);

  transition: all ease-in 0.3s;
}

/* line-clamp curat pentru VS Code */

@supports (-webkit-line-clamp: 4) {
  .news-home-press-release .press-track .title a {
    display: -webkit-box;
  }
}

/* nav – la fel ca la anunțuri */

.news-home-press-release .navigation {
  display: flex;

  flex-direction: column;

  gap: 0.75rem;

  align-items: center;

  justify-content: center;

  margin-top: -10px;
}

.news-home-press-release-slider .title .icon {
  font-size: 20px;
}

.news-home-press-release .navigation .nav-buttons {
  display: flex;

  gap: 0.75rem;
}

.news-home-press-release .navigation a {
  width: 52px;

  height: 52px;

  border-radius: 50%;

  background: #fff;

  border: 1px solid rgba(0, 119, 255, 0.08);

  display: grid;

  place-items: center;

  color: var(--color-primary);

  box-shadow: 0 14px 24px rgb(83 142 255 / 20%);

  text-decoration: none;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-home-press-release .navigation a:hover {
  transform: translateY(-2px);

  box-shadow: 0 18px 34px rgba(0, 119, 255, 0.28);
}

.news-home-press-release .navigation a.is-disabled {
  opacity: 0.4;

  pointer-events: none;

  box-shadow: none;
}

.news-home-press-release .navigation .nav-progress {
  margin: 0;

  font-weight: 600;

  color: var(--color-primary);

  text-align: center;
}

/* cta */

.news-home-press-release .news-cta-row {
  text-align: center;

  margin-top: 2.8rem;
}

.news-home-press-release .buton-custom {
  display: inline-flex;

  align-items: center;

  gap: 0.45rem;

  background: var(--color-secondary);

  color: #fff;

  text-decoration: none;

  padding: 15px 28px;

  border-radius: 14px;

  font-weight: 500;

  transition: all 0.25s ease;

  font-size: 1.1em;
}

.news-home-press-release .buton-custom:hover {
  background: var(--color-primary);
}

/* responsive */

@media (max-width: 1024px) {
  .news-home-press-release .press-track > section {
    grid-template-columns: 90px 1fr;

    min-height: 90px;
  }
}

@media (max-width: 620px) {
  .news-home-press-release .press-track > section {
    grid-template-columns: 80px 1fr;
  }

  .news-home-press-release .buton-custom {
    font-size: 1.4rem;
  }

  .news-home-press-release .press-track .time {
    width: 45px;

    min-height: 70px;
  }

  .news-home-press-release .press-track > section {
    grid-template-columns: 50px 1fr;

    padding: 20px;
  }

  .news-home-press-release .press-shell {
    padding-bottom: 40px;
  }
}

@media (max-width: 460px) {
  .news-home-press-release {
    padding: 60px 0 60px;
  }
}
