/* News styles use the existing Camejo tokens and only target the new feature. */
.updates-section .section-heading .eyebrow,
.update-article-header .eyebrow {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.update-card--featured {
  grid-column: 1 / -1;
}

.modern-site .update-card-link {
  display: block;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}

.update-card--featured .update-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  background: var(--mist);
}

.update-card-media {
  display: block;
}

.update-card .update-card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.update-card-body {
  padding: 28px;
}

.update-card--featured h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}

.update-card-cta {
  display: inline-block;
  margin-top: 24px;
  color: var(--teal-dark);
  font-weight: 900;
}

.update-card-link:hover h3,
.update-card-link:focus h3 {
  color: var(--teal-dark);
}

.update-card-link:hover .update-card-cta,
.update-card-link:focus .update-card-cta {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.update-card:focus-within {
  outline: 3px solid var(--teal-dark);
  outline-offset: 4px;
}

.update-card-link:focus-visible,
.modern-site .update-back-link:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 4px;
}

.update-article-header {
  max-width: 880px;
  margin: 0 auto 36px;
}

.update-article-header h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 900;
}

.update-article-date {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.update-article-hero {
  margin: 0 0 48px;
  overflow: hidden;
  border-radius: 8px;
}

.update-article-hero img,
.update-article-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.update-article-body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 18px;
}

.update-article-body p {
  margin: 0 0 22px;
}

.update-article-body h2 {
  margin: 42px 0 20px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.2;
}

.update-article-photo {
  margin: 36px 0;
  overflow: hidden;
  border-radius: 8px;
}

.update-back-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 16px;
  font-weight: 900;
}

.modern-site .update-back-link:hover,
.modern-site .update-back-link:focus {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 991px) {
  .updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .update-card--featured .update-card-link {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .updates-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-card-body {
    padding: 24px;
  }

  .update-article-body {
    font-size: 17px;
  }

  .update-article-header,
  .update-article-hero {
    margin-bottom: 30px;
  }
}
