@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

:root {
  --nav-bg: #010e14;
  --nav-fg: #ffffff;
  --nav-height: 4.25rem;
  --nav-pad-x: clamp(1rem, 4vw, 3rem);
  --news-green: #39b45b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: #010e14;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

.news-hero {
  width: 100%;
  overflow: hidden;
  background: #010e14;
}

.news-hero__media {
  width: 100%;
  height: clamp(10rem, 18vw, 15rem);
  background: #0b1418;
}

.news-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 72%;
  transform-origin: center center;
  opacity: 0;
}

.news-page.is-ready .news-hero__media img {
  animation: newsHeroImageIn 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.news-insights {
  background: #ffffff;
  padding: clamp(2.4rem, 5.5vw, 4.4rem) 1rem clamp(3.4rem, 8vw, 6.5rem);
}

.news-insights__inner {
  width: min(92rem, 90vw);
  margin: 0 auto;
}

.news-breadcrumbs {
  width: min(95rem, 90vw);
  margin: 0 auto 1.35rem;
  text-align: start;
  min-width: 0;
}

.news-breadcrumbs ol {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  min-width: 0;
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 400;
  color: rgba(17, 17, 17, 0.55);
  padding: 0;
}

.news-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.news-breadcrumbs li:not(:last-child) {
  flex: 0 0 auto;
}

.news-breadcrumbs li:last-child {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.news-breadcrumbs li:not(:last-child)::after {
  content: "";
  width: 0.34rem;
  height: 0.34rem;
  margin: 0 0.55rem;
  border-inline-end: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  flex-shrink: 0;
}

html[dir="rtl"] .news-breadcrumbs li:not(:last-child)::after {
  transform: rotate(-135deg);
}

.news-breadcrumbs a {
  color: inherit;
  white-space: nowrap;
  transition: color 180ms ease;
}

.news-breadcrumbs a:hover,
.news-breadcrumbs a:focus-visible {
  color: var(--news-green);
}

.news-breadcrumbs a:focus-visible {
  outline: 2px solid var(--news-green);
  outline-offset: 3px;
  border-radius: 2px;
}

.news-breadcrumbs [aria-current="page"],
.news-breadcrumbs [aria-current="page"] span {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(17, 17, 17, 0.88);
  font-weight: 500;
}

.news-breadcrumbs--light {
  width: min(72rem, 90vw);
  margin: 0 auto 1.5rem;
}

.news-breadcrumbs--light ol {
  color: rgba(255, 255, 255, 0.58);
}

.news-breadcrumbs--light a:hover,
.news-breadcrumbs--light a:focus-visible {
  color: #ffffff;
}

.news-breadcrumbs--light [aria-current="page"],
.news-breadcrumbs--light [aria-current="page"] span {
  color: rgba(255, 255, 255, 0.92);
}

.news-insights__inner .news-breadcrumbs,
.news-article-hero .news-breadcrumbs {
  width: 100%;
  max-width: min(72rem, 100%);
}

.news-article-hero .news-breadcrumbs {
  opacity: 0;
  transform: translateY(0.7rem);
}

.news-detail-page.is-ready .news-article-hero .news-breadcrumbs {
  animation: newsFadeUp 620ms cubic-bezier(0.22, 1, 0.36, 1) 40ms both;
}

.news-insights__header {
  max-width: 40rem;
  margin: 0 auto 2.6rem;
  text-align: center;
  opacity: 0;
  transform: translateY(1.6rem);
}

.news-page.is-ready .news-insights__header {
  animation: newsFadeUp 780ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}

.news-insights__header h1 {
  margin: 0;
  color: #000000;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.news-insights__header p {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: rgba(0, 0, 0, 0.72);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.55;
  font-weight: 300;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3.2vw, 2.4rem) clamp(1.4rem, 2.8vw, 2.15rem);
}

.news-grid--empty {
  display: block;
}

.news-empty,
.news-detail-loading,
.news-detail-empty {
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1rem;
  text-align: center;
}

.news-detail-loading,
.news-detail-empty {
  min-height: 50vh;
  display: grid;
  place-content: center;
  padding-top: calc(var(--nav-height) + 2rem);
  color: #333333;
}

.news-empty__title,
.news-detail-empty h1 {
  margin: 0;
  color: #111111;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.news-empty__text,
.news-detail-empty p,
.news-detail-loading {
  margin: 0.85rem auto 0;
  color: rgba(17, 17, 17, 0.72);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  font-weight: 300;
}

.news-detail-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1.2rem auto 0;
  min-height: 2.55rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

html[dir="rtl"] .news-detail-empty a {
  text-transform: none;
  letter-spacing: 0;
}

.news-card {
  min-width: 0;
  opacity: 0;
  transform: translateY(1.8rem) scale(0.98);
}

.news-page.is-ready .news-card {
  animation: newsCardIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(320ms + (var(--i, 0) * 110ms));
}

.news-card__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  height: 100%;
  color: inherit;
}

.news-card__media {
  width: 100%;
  aspect-ratio: 16 / 10.4;
  border-radius: 0;
  background: #d4d4d4;
  overflow: hidden;
  transition: transform 420ms ease, box-shadow 420ms ease;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-card__title {
  margin: 0;
  max-width: 40ch;
  color: #000000;
  font-size: clamp(0.98rem, 0.2vw + 0.92rem, 1.08rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.1rem;
  color: var(--news-green);
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 220ms ease, color 220ms ease;
}

.news-card__more svg {
  width: 0.82rem;
  height: 0.82rem;
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.news-card__link:hover .news-card__media,
.news-card__link:focus-visible .news-card__media {
  transform: translateY(-2px);
}

.news-card__link:hover .news-card__more,
.news-card__link:focus-visible .news-card__more {
  gap: 0.42rem;
  color: #4ecf72;
}

.news-card__link:hover .news-card__more svg,
.news-card__link:focus-visible .news-card__more svg {
  transform: translate(1px, -1px);
}

.news-card__link:focus-visible {
  outline: none;
}

.news-card__link:focus-visible .news-card__title {
  outline: 2px solid rgba(57, 180, 91, 0.85);
  outline-offset: 4px;
  border-radius: 2px;
}

@keyframes newsHeroImageIn {
  from {
    opacity: 0.45;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes newsFadeUp {
  from {
    opacity: 0;
    transform: translateY(1.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes newsCardIn {
  from {
    opacity: 0;
    transform: translateY(1.8rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

html[dir="rtl"] .news-card__link {
  align-items: flex-start;
}

html[dir="rtl"] .news-card__title {
  max-width: none;
}

html[dir="rtl"] .news-card__more {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.78rem;
}

@media (max-width: 1023px) {
  .news-hero__media {
    height: clamp(9rem, 28vw, 12.5rem);
  }

  .news-insights {
    padding: 2.1rem 1rem 3.4rem;
  }

  .news-insights__inner {
    width: min(100%, 92vw);
  }

  .news-insights__header {
    margin-bottom: 2rem;
  }

  .news-insights__header h1 {
    font-size: clamp(1.7rem, 4.4vw, 2.35rem);
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.7rem 1.35rem;
  }
}

@media (max-width: 767px) {
  .news-hero__media {
    height: 8.5rem;
  }

  .news-insights {
    padding: 1.7rem 1rem 2.8rem;
  }

  .news-insights__inner {
    width: 100%;
  }

  .news-insights__header {
    max-width: 22rem;
    margin-bottom: 1.6rem;
  }

  .news-insights__header h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .news-insights__header p {
    margin-top: 0.55rem;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.55rem;
  }

  .news-card__title {
    max-width: none;
    font-size: 1.02rem;
  }

  .news-card__media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .news-insights__header p {
    font-size: 16px;
  }

  .news-card__title {
    font-size: 16px;
  }
}

body.news-detail-page {
  background: #f3f3f3;
  color: #1b1b1b;
}

.news-detail-page main {
  padding-top: 0px;
}

.news-article-hero {
  background: #010e14;
  color: #ffffff;
  text-align: center;
  padding: calc(var(--nav-height) + 1rem) 1.25rem clamp(1.5rem, 3.4vw, 2.2rem);
}

.news-article-hero__inner {
  width: min(72rem, 90vw);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(1.2rem);
}

.news-detail-page.is-ready .news-article-hero__inner {
  animation: newsFadeUp 720ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.news-article-hero h1 {
  margin: 0 auto;
  max-width: 58rem;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  line-height: 1.28;
  margin-top: 4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-article-hero__meta {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  line-height: 1.4;
  font-weight: 300;
}

.news-article-hero__share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.news-article-hero__share svg {
  width: 1.15rem;
  height: 1.15rem;
}

.news-article-hero__share:hover,
.news-article-hero__share:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.news-article-hero__share:focus-visible {
  outline: 2px solid rgba(57, 180, 91, 0.85);
  outline-offset: 3px;
}

.news-article-hero__share.is-copied {
  color: var(--news-green);
}

.news-article {
  background: #f3f3f3;
  padding: clamp(2rem, 5vw, 3.4rem) 1rem clamp(2rem, 4vw, 2.8rem);
}

.news-article__inner {
  width: min(76rem, 86vw);
  margin: 0 auto;
}

.news-article__media {
  margin: 0 0 1.85rem;
  overflow: hidden;
  background: #d8d8d8;
  opacity: 0;
  transform: translateY(1.4rem);
}

.news-detail-page.is-ready .news-article__media,
.news-detail-page.is-ready .news-article h2,
.news-detail-page.is-ready .news-article__lead,
.news-detail-page.is-ready .news-article__body {
  animation: newsFadeUp 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(220ms + (var(--i, 0) * 110ms));
}

.news-article__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
  object-position: center;
}

.news-article h2 {
  margin: 0 0 0.95rem;
  color: #111111;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(1.4rem);
}

.news-article__lead,
.news-article__body {
  opacity: 0;
  transform: translateY(1.4rem);
}

.news-article__lead,
.news-article__body p {
  margin: 0 0 1.05rem;
  color: #4a4a4a;
  font-size: clamp(0.9rem, 0.25vw + 0.86rem, 0.98rem);
  line-height: 1.7;
  font-weight: 400;
}

.news-article__body h3 {
  margin: 1.45rem 0 0.55rem;
  color: #111111;
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.12rem);
  line-height: 1.35;
  font-weight: 700;
}

.news-article__body h3:first-child {
  margin-top: 0;
}

.news-article__body strong {
  color: #111111;
  font-weight: 700;
}

.news-article__source {
  margin-top: 1.35rem;
}

.news-article__body p:last-child {
  margin-bottom: 0;
}

.news-more {
  background: #f3f3f3;
  padding: 0.4rem 1rem clamp(3rem, 7vw, 5rem);
}

.news-more__inner {
  width: min(76rem, 86vw);
  margin: 0 auto;
}

.news-more__title {
  margin: 0 0 1.5rem;
  color: #000000;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(1.2rem);
}

.news-detail-page.is-ready .news-more__title {
  animation: newsFadeUp 720ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.news-detail-page.is-ready .news-more .news-card {
  animation: newsCardIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(280ms + (var(--i, 0) * 110ms));
}

html[dir="rtl"] .news-article-hero h1,
html[dir="rtl"] .news-article h2 {
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 1023px) {
  .news-article-hero {
    padding: calc(var(--nav-height) + 0.85rem) 1.1rem 1.35rem;
  }

  .news-article-hero h1 {
    font-size: clamp(1.02rem, 3.4vw, 1.35rem);
    letter-spacing: 0.04em;
    margin-top: 1.25rem;
  }

  .news-article__inner,
  .news-more__inner {
    width: min(100%, 90vw);
  }

  .news-more__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1rem;
  }

  .news-article__media img {
    aspect-ratio: 16 / 9;
  }

  .news-breadcrumbs {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .news-breadcrumbs ol {
    font-size: 0.82rem;
  }
}

@media (max-width: 767px) {
  .news-article-hero {
    padding: 2rem 1rem;
  }

  .news-article-hero h1 {
    font-size: 1.02rem;
    line-height: 1.32;
    letter-spacing: 0.03em;
    margin-top: 2rem;
  }

  .news-article-hero__meta {
    font-size: 0.78rem;
  }

  .news-article {
    padding: 1.5rem 0.95rem 1.6rem;
  }

  .news-article__inner,
  .news-more__inner {
    width: 100%;
  }

  .news-more {
    padding: 0.15rem 0.95rem 2.6rem;
  }

  .news-more__title {
    margin-bottom: 1.15rem;
    font-size: 1.15rem;
  }

  .news-more__grid {
    grid-template-columns: 1fr;
  }

  .news-article h2 {
    font-size: 0.98rem;
    letter-spacing: 0.02em;
  }

  .news-article__lead,
  .news-article__body p {
    font-size: 14px;
    line-height: 1.65;
  }

  .news-breadcrumbs,
  .news-breadcrumbs--light {
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.75rem;
  }

  .news-breadcrumbs ol {
    flex-wrap: nowrap;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .news-breadcrumbs li:not(:last-child)::after {
    width: 0.28rem;
    height: 0.28rem;
    margin: 0 0.38rem;
  }

  .news-breadcrumbs li:last-child {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-hero__media img,
  .news-insights__header,
  .news-card,
  .news-page.is-ready .news-hero__media img,
  .news-page.is-ready .news-insights__header,
  .news-page.is-ready .news-card,
  .news-article-hero__inner,
  .news-article-hero .news-breadcrumbs,
  .news-article__media,
  .news-article h2,
  .news-article__lead,
  .news-article__body,
  .news-detail-page.is-ready .news-article-hero__inner,
  .news-detail-page.is-ready .news-article-hero .news-breadcrumbs,
  .news-detail-page.is-ready .news-article__media,
  .news-detail-page.is-ready .news-article h2,
  .news-detail-page.is-ready .news-article__lead,
  .news-detail-page.is-ready .news-article__body,
  .news-more__title,
  .news-detail-page.is-ready .news-more__title,
  .news-detail-page.is-ready .news-more .news-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .news-card__media,
  .news-card__more,
  .news-card__more svg {
    transition: none;
  }
}
