/* =========================================================
   NOTICIA SINGLE / POST TEMPLATE
   ========================================================= */

.page-content--news-post {
  width: min(var(--content-w), calc(100% - 140px));
  margin: 76px auto 104px;
}

.news-post-hero {
  margin-bottom: 46px;
  text-align: center;
}

.news-post-lead {
  width: min(980px, 100%);
  margin: 0 auto;
  color: #2e95d0;
  font-size: 1.95rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.36;
  text-align: center;
}

.news-post-lead--section {
  margin-bottom: 32px;
}

.news-post-section + .news-post-section {
  margin-top: 30px;
}

.news-post-section__content {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 30px;
  align-items: start;
}

.news-post-section__media {
  margin: 0;
  aspect-ratio: 1 / 0.95;
  overflow: hidden;
  background: #58abd4;
}

.news-post-section__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-post-copy {
  color: #6f6f6f;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.6;
  text-align: justify;
}

.news-post-copy p {
  margin: 0;
}

.news-post-copy p + p {
  margin-top: 18px;
}

.news-post-copy strong {
  font-weight: 700;
  color: #5e5e5e;
}

.news-post-copy a {
  color: #2498d5;
  text-decoration: none;
}

.news-post-gallery {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  margin: 24px 0 20px;
}

.news-post-gallery__arrow {
  color: #0b84b7;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  user-select: none;
}

.news-post-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.news-post-gallery__foogallery {
  min-width: 0;
}

.news-post-gallery--foogallery {
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  gap: 14px;
}

.news-post-gallery--foogallery .foogallery {
  width: 100%;
  margin: 0;
}

.news-post-gallery--foogallery .foogallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.news-post-gallery--foogallery .foogallery .fg-item,
.news-post-gallery--foogallery .foogallery .fg-thumb,
.news-post-gallery--foogallery .foogallery .fg-image {
  overflow: hidden;
  border-radius: 0;
}

.news-post-gallery--foogallery .foogallery .fg-caption,
.news-post-gallery--foogallery .foogallery .fg-caption-title,
.news-post-gallery--foogallery .foogallery .fg-caption-desc {
  display: none !important;
}

.news-post-gallery--foogallery .foogallery a {
  box-shadow: none;
  text-decoration: none;
}

.news-post-gallery__item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9e8f2;
}

.news-post-gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-post-divider {
  margin-top: 26px;
  margin-bottom: 34px;
}

.news-post-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 44px;
  align-items: end;
}

.news-post-newsletter,
.news-post-event-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.news-post-newsletter {
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.news-post-newsletter img,
.news-post-event-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-post-newsletter__overlay,
.news-post-event-card__overlay {
  position: absolute;
  inset: 0;
}

.news-post-newsletter__overlay {
  background: rgba(16, 132, 197, 0.58);
}

.news-post-newsletter__label {
  position: relative;
  z-index: 2;
  padding: 0 22px 20px;
  color: #fff;
  font-size: 4.6rem;
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

.news-post-footer__aside {
  display: grid;
  gap: 18px;
}

.news-post-events__title {
  margin: 0;
  color: #6b6b6b;
  font-size: 3.45rem;
  font-weight: 300;
  line-height: 0.92;
  text-align: center;
}

.news-post-events__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.news-post-event-card {
  min-height: 226px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.news-post-event-card__overlay {
  background: rgba(66, 66, 66, 0.48);
}

.news-post-event-card__date {
  position: relative;
  z-index: 2;
  padding: 0 16px 18px;
  color: #fff;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

.news-post-event-card__date strong {
  font-weight: 300;
}

.news-post-footer__actions {
  display: flex;
  justify-content: flex-end;
}

.news-post-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 38px;
  padding: 8px 18px;
  background: #0b84b7;
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease;
}

.news-post-back:hover {
  background: #09729d;
}
