/* CSIT newsroom — editorial archive and article reader. */

.news-page {
  background: #dce5e2;
}

.news-page main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.newsroom-hero {
  width: 100%;
  height: min(680px, calc(100svh - 104px));
  min-height: 540px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--deep-green);
  color: var(--off-white);
}

.newsroom-ticker {
  width: 100%;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-mask-image: none;
  mask-image: none;
}

.newsroom-ticker .ticker-track {
  min-width: max-content;
  animation-name: newsroom-ticker-scroll;
}

.newsroom-ticker .ticker-text {
  color: var(--accent);
  font-size: clamp(0.66rem, 0.72vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.18em;
}

@keyframes newsroom-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.newsroom-hero-inner {
  width: 100%;
  min-height: 0;
  padding: clamp(54px, 6vw, 96px) max(4.5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(70px, 9vw, 180px);
}

.newsroom-kicker {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.newsroom-hero h1 {
  margin: 0;
  color: var(--off-white);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(5rem, 11vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.78;
}

.newsroom-hero-copy {
  max-width: 630px;
  justify-self: end;
}

.newsroom-hero-copy > p {
  margin: 0;
  color: rgba(245, 247, 247, 0.75);
  font-size: clamp(1.15rem, 1.65vw, 1.7rem);
  line-height: 1.48;
}

.newsroom-hero-facts {
  margin: clamp(38px, 5vw, 62px) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(245, 247, 247, 0.22);
}

.newsroom-hero-facts div {
  padding: 18px 0 0;
}

.newsroom-hero-facts div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(245, 247, 247, 0.22);
}

.newsroom-hero-facts dt {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.newsroom-hero-facts dd {
  margin: 0;
  color: var(--off-white);
  font-size: 1rem;
}

.newsroom-browser {
  width: 100%;
  padding: clamp(92px, 8vw, 142px) max(4.5vw, 64px) clamp(110px, 10vw, 176px);
  background: #dce5e2;
  color: var(--deep-green);
}

.newsroom-browser-heading {
  margin-bottom: clamp(54px, 6vw, 88px);
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.6fr);
  align-items: end;
  gap: clamp(50px, 7vw, 130px);
  border-bottom: 1px solid rgba(31, 58, 61, 0.24);
}

.newsroom-browser-heading h2 {
  margin: 0;
  color: var(--deep-green);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(3rem, 5.8vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.newsroom-browser-heading > p {
  max-width: 520px;
  margin: 0 0 8px;
  color: rgba(31, 58, 61, 0.68);
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  line-height: 1.65;
}

.newsroom-workspace {
  display: grid;
  grid-template-columns: minmax(310px, 0.64fr) minmax(0, 1.36fr);
  align-items: start;
  border-top: 1px solid rgba(31, 58, 61, 0.22);
  border-bottom: 1px solid rgba(31, 58, 61, 0.22);
}

.newsroom-index {
  position: sticky;
  top: 106px;
  background: var(--deep-green);
  color: var(--off-white);
}

.newsroom-index-head {
  min-height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(245, 247, 247, 0.18);
  color: rgba(245, 247, 247, 0.62);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.newsroom-index-head b {
  color: var(--accent);
  font-weight: 600;
}

.newsroom-index-item {
  width: 100%;
  min-height: 184px;
  padding: 28px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid rgba(245, 247, 247, 0.18);
  border-radius: 0;
  background: transparent;
  color: var(--off-white);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.newsroom-index-item:hover,
.newsroom-index-item:focus-visible,
.newsroom-index-item.is-active {
  background: var(--accent);
  color: var(--deep-green);
}

.newsroom-index-number {
  padding-top: 2px;
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.newsroom-index-item:hover .newsroom-index-number,
.newsroom-index-item:focus-visible .newsroom-index-number,
.newsroom-index-item.is-active .newsroom-index-number {
  color: var(--deep-green);
}

.newsroom-index-copy {
  display: block;
}

.newsroom-index-meta {
  display: block;
  margin-bottom: 16px;
  color: rgba(245, 247, 247, 0.58);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.newsroom-index-item:hover .newsroom-index-meta,
.newsroom-index-item:focus-visible .newsroom-index-meta,
.newsroom-index-item.is-active .newsroom-index-meta {
  color: rgba(31, 58, 61, 0.68);
}

.newsroom-index-copy strong {
  display: block;
  font-size: clamp(1rem, 1.2vw, 1.28rem);
  font-weight: 500;
  line-height: 1.28;
}

.newsroom-index-arrow {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.newsroom-index-item:hover .newsroom-index-arrow,
.newsroom-index-item:focus-visible .newsroom-index-arrow,
.newsroom-index-item.is-active .newsroom-index-arrow {
  transform: translateX(4px);
}

.newsroom-reader {
  min-width: 0;
  border-left: 1px solid rgba(31, 58, 61, 0.22);
  background: var(--off-white);
  scroll-margin-top: 112px;
}

.newsroom-article[hidden] {
  display: none;
}

.newsroom-article-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  margin: 0;
  overflow: hidden;
  background: var(--deep-green);
}

.newsroom-article-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.newsroom-article-media--wide {
  aspect-ratio: 16 / 8.4;
}

.newsroom-article-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 12px 18px;
  background: var(--deep-green);
  color: rgba(245, 247, 247, 0.7);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsroom-article-shell {
  padding: clamp(48px, 5.4vw, 86px);
}

.newsroom-article-header {
  padding-bottom: clamp(42px, 5vw, 70px);
  border-bottom: 1px solid rgba(31, 58, 61, 0.18);
}

.newsroom-article-meta {
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #317c62;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.newsroom-article-header h2 {
  max-width: 980px;
  margin: 0;
  color: var(--deep-green);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.55rem, 4.7vw, 5.7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.newsroom-lead {
  max-width: 770px;
  margin: 34px 0 0;
  color: rgba(31, 58, 61, 0.7);
  font-size: clamp(1.08rem, 1.35vw, 1.38rem);
  line-height: 1.58;
}

.newsroom-article-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.newsroom-primary-action {
  min-height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--deep-green);
  border-radius: 999px;
  color: var(--deep-green);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}

.newsroom-primary-action:hover,
.newsroom-primary-action:focus-visible {
  background: var(--deep-green);
  color: var(--off-white);
}

.newsroom-article-actions .news-share {
  height: 40px;
  min-height: 40px;
  padding-right: 16px;
  padding-left: 16px;
}

.newsroom-article-body {
  max-width: 820px;
  padding-top: clamp(46px, 5vw, 72px);
  color: rgba(31, 58, 61, 0.82);
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  line-height: 1.78;
}

.newsroom-article-body p {
  margin: 0 0 26px;
}

.newsroom-article-body ul {
  margin: 10px 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(31, 58, 61, 0.18);
}

.newsroom-article-body li {
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid rgba(31, 58, 61, 0.18);
  position: relative;
}

.newsroom-article-body li::before {
  content: "";
  position: absolute;
  top: 1.25em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.newsroom-tags {
  padding-top: 24px;
  border-top: 1px solid rgba(31, 58, 61, 0.18);
  color: #317c62;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.newsroom-event-facts {
  margin-top: 48px;
  padding: 34px;
  background: var(--deep-green);
  color: var(--off-white);
}

.newsroom-event-facts h3 {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.newsroom-event-facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.newsroom-event-facts dl div {
  padding: 18px 0;
  border-top: 1px solid rgba(245, 247, 247, 0.2);
}

.newsroom-event-facts dl div:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid rgba(245, 247, 247, 0.2);
}

.newsroom-event-facts dt {
  margin-bottom: 6px;
  color: rgba(245, 247, 247, 0.55);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.newsroom-event-facts dd {
  margin: 0;
  color: var(--off-white);
}

@media (max-width: 1100px) {
  .newsroom-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr);
    gap: 58px;
  }

  .newsroom-workspace {
    grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1.44fr);
  }

  .newsroom-index-item {
    min-height: 170px;
    padding: 24px;
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .newsroom-index-arrow {
    display: none;
  }
}

@media (max-width: 900px) {
  .newsroom-hero {
    height: min(620px, calc(100svh - 84px));
    min-height: 520px;
  }

  .newsroom-hero-inner {
    padding-right: 6vw;
    padding-left: 6vw;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 44px;
  }

  .newsroom-hero-copy {
    max-width: 680px;
    justify-self: start;
  }

  .newsroom-hero-copy > p {
    font-size: 1.08rem;
  }

  .newsroom-hero-facts {
    max-width: 460px;
    margin-top: 30px;
  }

  .newsroom-browser {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .newsroom-browser-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .newsroom-browser-heading > p {
    max-width: 620px;
  }

  .newsroom-workspace {
    grid-template-columns: 1fr;
  }

  .newsroom-index {
    position: static;
  }

  .newsroom-index-item {
    min-height: 140px;
    grid-template-columns: 28px minmax(0, 1fr) 24px;
  }

  .newsroom-index-arrow {
    display: block;
  }

  .newsroom-reader {
    border-top: 1px solid rgba(31, 58, 61, 0.22);
    border-left: 0;
    scroll-margin-top: 84px;
  }
}

@media (max-width: 600px) {
  .newsroom-hero {
    min-height: 560px;
  }

  .newsroom-ticker {
    padding: 15px 0;
  }

  .newsroom-hero-inner {
    padding: 44px 7vw;
    gap: 38px;
  }

  .newsroom-hero h1 {
    font-size: clamp(4.5rem, 24vw, 6.6rem);
  }

  .newsroom-hero-facts {
    max-width: none;
  }

  .newsroom-browser {
    padding: 84px 7vw 110px;
  }

  .newsroom-browser-heading h2 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .newsroom-index-head {
    padding-right: 20px;
    padding-left: 20px;
  }

  .newsroom-index-item {
    min-height: 0;
    padding: 24px 20px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
  }

  .newsroom-index-arrow {
    display: none;
  }

  .newsroom-index-copy strong {
    font-size: 0.98rem;
  }

  .newsroom-article-media {
    aspect-ratio: 4 / 3;
  }

  .newsroom-article-media--wide {
    aspect-ratio: 16 / 8.4;
  }

  .newsroom-article-media figcaption {
    padding: 9px 12px;
    font-size: 0.54rem;
  }

  .newsroom-article-shell {
    padding: 38px 24px 48px;
  }

  .newsroom-article-header h2 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1;
  }

  .newsroom-lead {
    margin-top: 26px;
    font-size: 1.02rem;
  }

  .newsroom-article-actions {
    align-items: flex-start;
  }

  .newsroom-event-facts {
    margin-right: -24px;
    margin-left: -24px;
    padding: 28px 24px;
  }

  .newsroom-event-facts dl {
    grid-template-columns: 1fr;
  }

  .newsroom-event-facts dl div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsroom-index-item,
  .newsroom-index-arrow,
  .newsroom-primary-action {
    transition: none;
  }
}
