/* ==========================================================================
   News detail — mobile first (Figma pagina dettaglio news)
   ========================================================================== */

.news-detail {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding-block: var(--gap-52);
}

.news-detail__article {
  display: flex;
  flex-direction: column;
  gap: var(--gap-52);
}

.news-detail__breadcrumb-wrap .breadcrumb__list {
  font-size: var(--fs-22-min);
  font-size: var(--fs-22);
  line-height: var(--lh-22);
}

.news-detail__intro {
  display: flex;
  flex-direction: column;
  gap: var(--gap-52);
}

.news-detail__header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: var(--content-max-width-editorial);
}

.news-detail__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--fs-48-min);
  font-size: var(--fs-48);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-nolves-blue);
}

.news-detail__date {
  font-family: var(--font-heading);
  font-size: var(--fs-32-min);
  font-size: var(--fs-32);
  font-weight: 700;
  line-height: var(--fs-32);
  color: var(--color-nolves-blue);
}

.news-detail__hero {
  margin: 0;
  width: 100%;
}

.news-detail__hero-image {
  display: block;
  width: 100%;
  height: calc(var(--figma-px) * 450);
  object-fit: cover;
  border-radius: calc(var(--figma-px) * 7);
  background-color: var(--color-athens-gray);
}

.news-detail__content-wrap {
  width: 100%;
}

.news-detail__content {
  font-family: var(--font-body);
  font-size: var(--fs-32-min);
  font-size: var(--fs-32);
  font-weight: 400;
  line-height: var(--lh-32-body);
  color: var(--color-oxford-blue);
}

.news-detail__content > :first-child {
  margin-top: 0;
}

.news-detail__content > :last-child {
  margin-bottom: 0;
}

.news-detail__content p {
  margin: 0 0 1em;
}

.news-detail__content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--figma-px) * 7);
}

.news-detail__content a {
  color: inherit;
  text-decoration: underline;
}

.news-detail-back .container {
  display: flex;
  justify-content: center;
}

.news-detail-back__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-nolves-blue);
  text-decoration: none;
}

.news-detail-back__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--figma-px) * 71.24);
  height: calc(var(--figma-px) * 71.24);
  border: calc(var(--figma-px) * 2.4) solid var(--color-nolves-blue);
  border-radius: calc(var(--figma-px) * 21.37);
}

.news-detail-back__icon-svg {
  width: calc(var(--figma-px) * 35.61);
  height: calc(var(--figma-px) * 35.61);
}

.news-detail-back__label {
  font-family: var(--font-body);
  font-size: var(--fs-32-min);
  font-size: var(--fs-32);
  font-weight: 600;
  line-height: calc(var(--figma-px) * 48);
  text-align: center;
}

.news-detail-back__label--desktop {
  display: none;
}

.news-detail .news-section.news-detail__related {
  margin-inline: calc(var(--container-padding-x) * -1);
  padding-inline: var(--container-padding-x);
}

.news-detail__related-cta-label--desktop {
  display: none;
}

.news-detail__quick-find {
  padding-block: 0;
}

.news-detail__newsletter {
  margin-inline: calc(var(--container-padding-x) * -1);
  width: calc(100% + (var(--container-padding-x) * 2));
}

.news-detail__newsletter .locations-newsletter__inner {
  gap: 0;
}

.news-detail__newsletter .newsletter-block__image {
  display: none;
}

@media (min-width: 768px) {
  .news-detail {
    padding-block: 40px 55px;
    gap: 40px;
  }

  .news-detail__article {
    gap: 40px;
  }

  .news-detail__breadcrumb-wrap .breadcrumb__list {
    font-size: 11px;
    line-height: 14.3px;
  }

  .news-detail__intro {
    gap: 40px;
  }

  .news-detail__header {
    order: 2;
    gap: 15px;
  }

  .news-detail__hero {
    order: 1;
  }

  .news-detail__title {
    font-size: 24px;
    line-height: 1.1;
  }

  .news-detail__date {
    font-size: 16px;
    line-height: 16px;
  }

  .news-detail__hero-image {
    height: 630px;
    max-height: 50vw;
    border-radius: 7px;
  }

  .news-detail__content {
    font-size: var(--fs-body-desktop);
    line-height: var(--lh-body-desktop);
  }

  .news-detail-back__icon {
    width: 36px;
    height: 36px;
    border-width: 1.21px;
    border-radius: 10.8px;
  }

  .news-detail-back__icon-svg {
    width: 18px;
    height: 18px;
  }

  .news-detail-back__label {
    font-size: var(--fs-cta-desktop);
    line-height: var(--lh-cta-desktop);
  }

  .news-detail-back__label--mobile {
    display: none;
  }

  .news-detail-back__label--desktop {
    display: inline;
  }

  .news-detail .news-section.news-detail__related {
    margin-inline: 0;
    padding-inline: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .news-detail__related-cta-label--mobile {
    display: none;
  }

  .news-detail__related-cta-label--desktop {
    display: inline;
  }

  .news-detail__newsletter {
    margin-inline: 0;
    width: 100%;
  }

  .news-detail__newsletter .newsletter-block__image {
    display: block;
  }
}
