/* ==========================================================================
   News & media center.
   ========================================================================== */

.news-section {
  padding: 70px 0 90px;
  background: #fcfcfc;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 991px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.news-card__media {
  text-decoration: none !important;
  display: block;
  aspect-ratio: 16 / 10;
  background: #f1ece0;
  overflow: hidden;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover .news-card__media img {
  transform: scale(1.05);
}
.news-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 48px;
  color: #c99631;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}
.news-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c99631;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.news-card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 10px;
}
.news-card__title a {
  color: #222;
  text-decoration: none !important;
}
.news-card__title a:hover {
  color: #c99631;
}
.news-card__summary {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 16px;
  flex: 1;
}
.news-card__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c99631 !important;
  font-weight: 700;
  text-decoration: none !important;
}
.news-card__more:hover {
  color: #222 !important;
}
html[dir="ltr"] .news-card__more i,
html[dir="ltr"] .news-article__back i {
  transform: scaleX(-1);
}

.news-pager {
  margin-top: 40px;
}
.news-pager .pager__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.news-pager .pager__item a,
.news-pager .pager__item.is-active a,
.news-pager .pager__item--current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #e3d3a7;
  background: #fff;
  color: #444;
  text-decoration: none;
}
.news-pager .pager__item.is-active a,
.news-pager .pager__item--current {
  background: #c99631;
  border-color: #c99631;
  color: #fff;
}

/* ---------- Section heading (same style as the opportunities page) ---------- */
.news-heading {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 36px;
  text-align: start;
}
.news-heading__dark {
  color: #283639;
}
.news-heading__gold {
  color: #c99631;
}
@media (max-width: 991px) {
  .news-heading {
    justify-content: center;
    font-size: 24px;
  }
}

/* ==========================================================================
   Single news item
   ========================================================================== */

/* Header: (long) news title. */
.page-title h1.news-page-title {
  font-size: 34px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .page-title h1.news-page-title {
    font-size: 24px;
  }
}

.news-section--single {
  padding: 60px 0 90px;
}

.news-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 991px) {
  .news-article__layout {
    grid-template-columns: 1fr;
  }
}

/* Main column. */
.news-article__main {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}
@media (min-width: 768px) {
  .news-article__main {
    padding: 28px 32px 36px;
  }
}

.news-article__hero {
  margin: 0 0 24px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f1ece0;
}
.news-article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-article__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid #efe7d3;
}
.news-article__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c99631;
  font-weight: 600;
  font-size: 15px;
}

.news-share {
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-share__label {
  font-size: 14px;
  color: #777;
  margin-inline-end: 4px;
}
.news-share__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6efdc;
  color: #8a6a14 !important;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none !important;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.news-share__btn:hover,
.news-share__btn:focus-visible {
  background: #c99631;
  color: #fff !important;
  transform: translateY(-2px);
}
.news-share__btn:hover .news-share__img {
  filter: brightness(0) invert(1);
}
.news-share__img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.news-share__copy.is-copied {
  background: #2e7d32;
  color: #fff !important;
}

.news-article__body {
  font-size: 18px;
  line-height: 2.1;
  color: #333;
}
.news-article__body p {
  margin: 0 0 1.1em;
}
.news-article__body p:first-child {
  font-weight: 600;
  color: #222;
}
.news-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.news-article__body h2,
.news-article__body h3 {
  color: #283639;
  margin: 1.4em 0 .6em;
}

.news-article__tags {
  margin-top: 24px;
}
.news-article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #c99631;
  color: #c99631 !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: all .25s ease;
}
.news-article__back:hover {
  background: #c99631;
  color: #fff !important;
}

/* Sidebar: latest news. */
.news-aside {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
  position: sticky;
  top: 110px;
}
@media (max-width: 991px) {
  .news-aside {
    position: static;
  }
}
.news-aside__title {
  font-size: 22px;
  font-weight: 800;
  color: #283639;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1e6c8;
}
.news-aside__title span {
  color: #c99631;
}
.news-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.news-aside__item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none !important;
  border-radius: 12px;
  padding: 6px;
  margin: -6px;
  transition: background .2s ease;
}
.news-aside__item:hover {
  background: #faf6ea;
}
.news-aside__thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1ece0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c99631;
  font-size: 22px;
}
.news-aside__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-aside__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.news-aside__item-title {
  color: #222;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-aside__item:hover .news-aside__item-title {
  color: #c99631;
}
.news-aside__date {
  font-size: 13px;
  color: #999;
}
.news-aside__all {
  display: block;
  text-align: center;
  margin-top: 22px;
}

/* Olivero's content region limits its children to a "medium" reading width;
   the news page uses its own two-column layout instead. */
.news-section--single .region--content,
.news-section--single .layout--pass--content-medium > *,
.news-section--single .layout--content-medium {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
  grid-column: 1 / -1;
}
