﻿/* Latest News & Insights page styles. */

.inner-hero {
  display: flex;
  min-height: clamp(430px, 46vw, 700px);
  padding: clamp(150px, 15vw, 250px) 5% 70px;
  flex-direction: column;
  justify-content: flex-end;
  background: #29236f;
  color: #f8f8f8;
}


.inner-hero p {
  margin: 0 0 18px;
  color: #d4a530;
  font: 400 16px/1.5 "Roboto Flex", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inner-hero h1 {
  max-width: 1000px;
  margin: 0;
  font: 400 clamp(52px, 7vw, 120px)/0.95 "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.04em;
}

.news-hero h1 {
  max-width: 1100px;
  color: #f8f8f8;
  font: 400 36px/normal "Bricolage Grotesque", sans-serif;
  letter-spacing: -1.52px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.projects-hero,
.news-hero,
.contact-hero {
  position: relative;
  display: block;
  height: min(939px, 48.906vw);
  min-height: 620px;
  padding: 0;
  background: #292568;
}

.projects-hero::after,
.news-hero::after,
.contact-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.5;
  background-image: url("../images/hero-pattern.webp");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: soft-light;
}

.projects-hero .projects-hero__title,
.news-hero h1,
.contact-hero h1 {
  position: absolute;
  z-index: 1;
  left: 5%;
  bottom: 10.8%;
  max-width: none;
  margin: 0;
  color: #f8f8f8;
  font: 36px "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.news-hero h1 {
  width: min(720px, 90%);
  max-width: 720px;
}

.inner-listing,
.insights-listing {
  padding: clamp(70px, 8vw, 140px) 5%;
  background: #fff;
}

.project-listing-card small,
.insight-card small {
  color: #d4a530;
  font: 500 14px/1.4 "Roboto Flex", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-listing-card h2,
.insight-card h2 {
  margin: 12px 0 20px;
  font: 400 36px/1.05 "Bricolage Grotesque", sans-serif;
}

.project-listing-card p,
.insight-card p {
  color: #555;
  font: 400 17px/1.7 "Roboto Flex", sans-serif;
}

.insights-listing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 50px);
}

.insight-card { max-width: 850px; margin: 0 auto; background: #f3f3f3; }

.insight-card > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.insight-card > div { padding: clamp(28px, 4vw, 55px); }

.insight-card h2 { font-size: clamp(28px, 2.4vw, 44px); }

.insight-card a { display: inline-block; margin-top: 20px; color: #29236f; font-weight: 600; }

@media (max-width: 767px) {
  .projects-page .site-header,
    .news-page .site-header,
    .contact-page .site-header {
      position: absolute;
      z-index: 50;
      inset: 0 0 auto;
      background: transparent;
      overflow: visible;
    }

  .inner-hero { min-height: 420px; padding: 140px 20px 55px; }

  .inner-hero h1 { font-size: clamp(46px, 15vw, 72px); }

  .projects-hero,
    .news-hero,
    .contact-hero {
      min-height: 330px;
      padding: 0;
    }

  .projects-hero .projects-hero__title,
    .news-hero h1,
    .contact-hero h1 { font-size: 26px; letter-spacing: -0.035em; }

  .news-page .news-hero h1 {
    left: 2.5%;
    width: 95%;
    max-width: none;
    box-sizing: border-box;
  }

  .inner-listing, .insights-listing { padding: 60px 16px; }

  .project-listing-card, .insights-listing { grid-template-columns: 1fr; }
}

.news-blog-section {
  padding: 60px 0;
  background: #fff;
  color: #000;
}

.news-blog-section > h2 {
  width: 90%;
  max-width: 1724px;
  margin: 0 auto clamp(30px, 2.8vw, 54px);
  font: 400 clamp(38px, 2.71vw, 52px)/normal "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.02em;
  text-align: left;
  text-transform: capitalize;
}

.news-blog-grid {
  display: grid;
  width: 90%;
  max-width: 1724px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(38px, 4.27vw, 82px);
  row-gap: clamp(84px, 7.8vw, 150px);
}

.news-blog-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  height: fit-content;
  align-self: start;
  flex-direction: column;
}

.news-blog-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 520 / 306;
  object-fit: cover;
}

.news-blog-card__body {
  display: flex;
  padding-top: clamp(28px, 2.8vw, 54px);
  flex: none;
  flex-direction: column;
}

.news-blog-card__body header {
  display: grid;
  min-height: 60px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.news-blog-card h3 {
  max-width: 335px;
  margin: 0;
  font: 400 16px/normal "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.36px;
  text-transform: capitalize;
}

.news-blog-card time {
  color: rgba(0, 0, 0, 0.3);
  font: 300 14px/28px "Roboto Flex", sans-serif;
  white-space: nowrap;
}

.news-blog-card p {
  height: 96px;
  margin: 20px 0 0;
  font: 400 13px/20px "Roboto Flex", sans-serif;
  text-transform: capitalize;
  overflow: hidden;
}

.news-blog-card a {
  margin-top: 10px;
  align-self: flex-end;
  color: #000;
  font: 600 14px/24px "Roboto Flex", sans-serif;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .news-blog-section { padding: 25px 0; }

  .news-blog-section > h2 { width: 95%; }

  .news-blog-grid { width: 95%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 34px; }

  .news-blog-card { min-height: 0; }

  .news-blog-card__body header { min-height: 40px; }

  .news-blog-card h3 { font-size: 16px; }

  .news-blog-card time { font-size: 13px; line-height: 22px; }

  .news-blog-card p { height: 110px; margin-top: 24px; font-size: 14px; line-height: 22px; }

  .news-blog-card a { font-size: 14px; line-height: 22px; }
}

/* Regular paragraph typography — intentionally kept as individual rules. */
.inner-hero p { font-size: 16px; line-height: 26px; }
.insight-card p { font-size: 16px; line-height: 26px; }
.news-blog-card p { font-size: 16px; line-height: 26px; }

@media (min-width: 576px) and (max-width: 1199px) {
  .inner-hero p { font-size: 14px; line-height: 24px; }
  .insight-card p { font-size: 14px; line-height: 24px; }
  .news-blog-card p { font-size: 14px; line-height: 24px; }
}

@media (max-width: 575px) {
  .inner-hero p { font-size: 14px; line-height: 24px; }
  .insight-card p { font-size: 14px; line-height: 24px; }
  .news-blog-card p { font-size: 14px; line-height: 24px; }
}



@media (min-width: 768px) and (max-width: 1199px) {
  .news-page .news-blog-section > h2 {
    width: 95%;
  }

  .news-page .news-blog-grid {
    width: 95%;
  }

  .news-page .news-hero h1 {
    font-size: 36px;
  }
}

@media (min-width: 1920px) {
  .news-hero { height: 48.906vw; min-height: 0; }
  .news-hero h1 { width: 37.5vw; max-width: none; font-size: 3.333vw; }
  .news-blog-section { padding: 9.635vw 0 8.021vw; }
  .news-blog-section > h2 { width: 90%; max-width: none; margin-bottom: 2.813vw; font-size: 2.708vw; }
  .news-blog-grid { width: 90%; max-width: none; column-gap: 4.271vw; row-gap: 7.813vw; }
  .news-blog-card__body { padding-top: 2.813vw; }
  .news-blog-card__body header { min-height: 3.125vw; gap: 0.938vw; }
  .news-blog-card h3 { max-width: 17.448vw; font-size: 0.833vw; }
  .news-blog-card time { font-size: 0.729vw; line-height: 1.458vw; }
  .news-blog-card p { height: 5vw; margin-top: 1.042vw; font-size: 0.677vw; line-height: 1.042vw; }
  .news-blog-card a { margin-top: 0.521vw; font-size: 0.729vw; line-height: 1.25vw; }
}

@media (max-width: 767px) {
  .news-blog-section { padding: 25px 0; }

  .news-blog-section > h2 { width: 95%; margin-bottom: 32px; font-size: 26px; }

  .news-blog-grid { width: 95%; grid-template-columns: 1fr; gap: 40px; }

  .news-blog-card { min-height: 0; }

  .news-blog-card__body { padding-top: 20px; }

  .news-blog-card__body header {
      min-height: 0;
      grid-template-columns: 1fr;
      gap: 6px;
    }

  .news-blog-card h3 { font-size: 16px; line-height: 1.3; }

  .news-blog-card time { font-size: 11px; line-height: 18px; white-space: normal; }

  .news-blog-card p { height: auto; margin-top: 18px; font-size: 12px; line-height: 20px; }

  .news-blog-card a { margin-top: 16px; font-size: 13px; line-height: 20px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .projects-page .site-header,
    .news-page .site-header,
    .contact-page .site-header {
      position: absolute;
      z-index: 50;
      inset: 0 0 auto;
      background: transparent;
      overflow: visible;
  }
}

/* Final regular-paragraph sizing overrides. */
.inner-hero p { font-size: 16px; line-height: 26px; }
.insight-card p { font-size: 16px; line-height: 26px; }
.news-blog-card p { font-size: 16px; line-height: 26px; }

@media (min-width: 576px) and (max-width: 1199px) {
  .inner-hero p { font-size: 14px; line-height: 24px; }
  .insight-card p { font-size: 14px; line-height: 24px; }
  .news-blog-card p { font-size: 14px; line-height: 24px; }
}

@media (max-width: 575px) {
  .inner-hero p { font-size: 14px; line-height: 24px; }
  .insight-card p { font-size: 14px; line-height: 24px; }
  .news-blog-card p { font-size: 14px; line-height: 24px; }
}

/* Cap large-screen type and keep the 4K navbar aligned with other pages. */
@media (min-width: 2560px) {
  body.news-page > .site-header .site-header__inner {
    width: 95%;
    max-width: none;
    margin-inline: auto;
  }
  body.news-page > .site-header .site-header__logo { left: 2.5%; }
  body.news-page > .site-header .site-header__actions { right: 0; }
  .news-hero { max-height: 1252px; }
  .news-hero h1 { width: 90%; max-width: none; font-size: 80px; line-height: normal; }
  .news-blog-section { padding: 60px 0; }
  .news-blog-section > h2 { width: 90%; max-width: none; margin-bottom: 54px; font-size: 72px; }
  .news-blog-grid { width: 90%; max-width: none; column-gap: 56px; row-gap: 80px; }
  .news-blog-card__body { padding-top: clamp(28px, 2.8vw, 54px); }
  .news-blog-card h3 { max-width: 900px; font-size: 36px; line-height: 1.3; }
  .news-blog-card time { font-size: 26px; line-height: 36px; }
  .news-blog-card p { height: auto; margin-top: 28px; font-size: 34px; line-height: 1.6; }
  .news-blog-card p { max-width: 1100px; }
  .news-blog-card a {
    display: inline-flex;
    min-height: 44px;
    margin-top: 18px;
    align-items: center;
    font-size: 26px;
    line-height: 36px;
    overflow: visible;
  }
}
