.page-news {
  --news-gap: 20px;
  --news-gap-lg: 28px;
  --news-side-w: 320px;
  --news-shadow: 8px 8px 0 rgba(11, 102, 35, 0.14);
  --news-shadow-lg: 12px 12px 0 rgba(11, 102, 35, 0.2);
}

.page-news .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-news .news-hero {
  position: relative;
  padding: calc(var(--header-h) + 36px) 0 40px;
  overflow: hidden;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(11, 102, 35, 0.32) 0%, rgba(11, 102, 35, 0) 55%),
    repeating-linear-gradient(-45deg, rgba(255, 215, 0, 0.04) 0 2px, transparent 2px 12px);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  background: var(--c-green);
  transform: rotate(45deg);
  clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%);
  opacity: 0.8;
  pointer-events: none;
}

.page-news .news-hero .breadcrumbs {
  position: relative;
  margin-bottom: 22px;
  color: var(--c-gray);
}

.page-news .news-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page-news .news-hero__kicker {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
}

.page-news .news-hero h1 {
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--c-white);
  margin-bottom: 14px;
}

.page-news .news-hero__lead {
  color: var(--c-gray-bright);
  font-size: 16px;
  line-height: 1.7;
  max-width: 58ch;
}

.page-news .news-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
}

.page-news .news-hero__meta-item {
  position: relative;
  color: var(--c-gray-bright);
  font-size: 13px;
  padding-left: 14px;
}

.page-news .news-hero__meta-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 6px;
  height: 14px;
  background: var(--c-gold);
  transform: skewX(-16deg);
}

.page-news .news-hero__score {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--c-green);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  max-width: 220px;
}

.page-news .news-hero__score-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-gold);
}

.page-news .news-hero__score-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  margin-top: 6px;
}

.page-news .news-featured {
  padding: 36px 0 8px;
}

.page-news .featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-gap-lg);
}

.page-news .featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-paper);
  color: var(--c-ink);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.page-news .featured-card__media {
  overflow: hidden;
  background: var(--c-green);
  border-bottom: 4px solid var(--c-gold);
}

.page-news .featured-card__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-news .featured-card__body {
  display: flex;
  flex-direction: column;
  padding: 22px 18px 20px;
  flex: 1;
}

.page-news .featured-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.page-news .featured-card__tags--bottom {
  margin-top: auto;
  padding-top: 14px;
}

.page-news .featured-card__title {
  font-family: var(--font-head);
  font-size: 21px;
  line-height: 1.22;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: var(--c-ink);
}

.page-news .featured-card__excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #55534e;
  margin-bottom: 14px;
}

.page-news .featured-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 2px dashed rgba(11, 102, 35, 0.25);
}

.page-news .featured-card__stats .stat__value {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 700;
  color: var(--c-green);
}

.page-news .featured-card__stats .stat__label {
  font-size: 12px;
  color: var(--c-gray);
}

.page-news .featured-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.page-news .featured-card--dark {
  background: linear-gradient(150deg, #0d2b14 0%, #062e11 100%);
  color: var(--c-white);
}

.page-news .featured-card--dark .featured-card__title {
  color: var(--c-white);
}

.page-news .featured-card--dark .featured-card__excerpt {
  color: rgba(255, 255, 255, 0.82);
}

.page-news .featured-card--dark .featured-card__stats {
  border-top-color: rgba(255, 215, 0, 0.4);
}

.page-news .featured-card--dark .featured-card__stats .stat__value {
  color: var(--c-gold);
}

.page-news .featured-card--dark .featured-card__stats .stat__label {
  color: rgba(255, 255, 255, 0.65);
}

.page-news .latest {
  padding: 44px 0 56px;
}

.page-news .latest__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.page-news .latest__main,
.page-news .news-side {
  min-width: 0;
}

.page-news .latest__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 22px;
}

.page-news .latest__head h2,
.page-news .hot-topics h2,
.page-news .tag-cloud h2,
.page-news .news-steps h2,
.page-news .news-cta h2 {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-news .latest__desc {
  color: var(--c-gray);
  font-size: 14px;
  margin-top: 6px;
}

.page-news .latest__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-news .latest__tab {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  background: var(--c-ink);
  color: var(--c-white);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.25s ease, color 0.25s ease;
}

.page-news .latest__tab[aria-selected="true"] {
  background: var(--c-gold);
  color: var(--c-ink);
}

.page-news .latest__panel {
  margin-bottom: 8px;
}

.page-news .article-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px 18px;
  background: var(--c-paper);
  box-shadow: var(--news-shadow);
  margin-bottom: 18px;
  border-left: 6px solid var(--c-green);
}

.page-news .article-item:nth-child(even) {
  border-left-color: var(--c-gold);
}

.page-news .article-item__num {
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1;
  font-weight: 600;
  color: var(--c-green);
  opacity: 0.35;
  min-width: 34px;
}

.page-news .article-item__content {
  min-width: 0;
}

.page-news .article-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
}

.page-news .article-item__date {
  font-size: 12px;
  color: var(--c-gray);
}

.page-news .article-item__title {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--c-ink);
}

.page-news .article-item__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: #55534e;
  margin-bottom: 10px;
}

.page-news .article-item__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.page-news .article-item__tags li {
  color: var(--c-green);
  background: rgba(11, 102, 35, 0.08);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  display: inline-block;
}

.page-news .news-side {
  display: grid;
  gap: 28px;
  align-content: start;
}

.page-news .hot-topics {
  background: linear-gradient(150deg, #0d2b14 0%, #0a0a0a 70%);
  color: var(--c-white);
  padding: 26px 20px 20px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.page-news .hot-topics h2,
.page-news .tag-cloud h2 {
  color: var(--c-white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-news .hot-topics h2::after {
  content: "";
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-gold) 0 14px, transparent 14px 18px);
}

.page-news .hot-topics__media {
  margin-bottom: 14px;
}

.page-news .hot-topics__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.page-news .hot-topics__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-news .hot-topic + .hot-topic {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-news .hot-topic__link {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  text-decoration: none;
  color: inherit;
}

.page-news .hot-topic__num {
  font-family: var(--font-head);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: var(--c-gold);
  min-width: 34px;
}

.page-news .hot-topic__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-news .hot-topic__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--c-white);
  transition: color 0.2s ease;
}

.page-news .hot-topic__desc {
  font-size: 13px;
  color: var(--c-gray-bright);
}

.page-news .hot-topic__link:hover .hot-topic__title {
  color: var(--c-gold);
}

.page-news .tag-cloud {
  background: linear-gradient(135deg, rgba(11, 102, 35, 0.16) 0%, rgba(10, 10, 10, 0) 60%);
  border: 1px solid rgba(11, 102, 35, 0.3);
  padding: 22px 18px;
}

.page-news .tag-cloud__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .tag-cloud__item {
  display: inline-block;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--c-green);
  border: 1px solid rgba(11, 102, 35, 0.35);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-news .tag-cloud__item:hover {
  background: var(--c-green);
  color: var(--c-white);
}

.page-news .news-side__card {
  background: var(--c-green);
  color: var(--c-white);
  padding: 22px 18px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.page-news .news-side__card-title {
  font-family: var(--font-head);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page-news .news-side__card-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.page-news .news-steps {
  background: linear-gradient(135deg, #0B6623 0%, #062e11 100%);
  padding: 52px 0;
  color: var(--c-white);
}

.page-news .news-steps__head {
  margin-bottom: 28px;
}

.page-news .news-steps__head h2 {
  color: var(--c-white);
  font-size: 30px;
}

.page-news .news-steps__head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  background: var(--c-gold);
  margin-top: 10px;
}

.page-news .news-steps__lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
  margin-top: 10px;
  line-height: 1.7;
}

.page-news .news-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--news-gap-lg);
}

.page-news .step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  padding: 24px 20px 20px;
  border-left: 4px solid var(--c-gold);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background 0.25s ease;
}

.page-news .step-card__num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 12px;
}

.page-news .step-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-news .step-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.page-news .news-steps__media {
  margin-top: 30px;
}

.page-news .news-steps__media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-news .news-cta {
  padding: 52px 0 64px;
}

.page-news .cta-panel {
  background: var(--c-gold);
  color: var(--c-ink);
  padding: 34px 22px 28px;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.page-news .cta-panel__head h2 {
  font-size: 28px;
}

.page-news .cta-panel__lead {
  margin-top: 8px;
  max-width: 52ch;
  font-size: 15px;
}

.page-news .cta-panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 26px;
}

.page-news .cta-card {
  background: rgba(10, 10, 10, 0.06);
  padding: 20px 18px;
  border: 1px solid rgba(10, 10, 10, 0.2);
}

.page-news .cta-card--pro {
  background: var(--c-green);
  color: var(--c-white);
  border-color: var(--c-green);
}

.page-news .cta-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-news .cta-card__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.page-news .cta-panel__foot {
  margin-top: 22px;
  font-size: 14px;
}

.page-news .cta-panel__foot a {
  color: var(--c-green);
  font-weight: 600;
}

.page-news .cta-panel__foot a:hover {
  color: var(--c-ink);
}

.page-news .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-news .tag--news {
  background: var(--c-green);
  color: var(--c-white);
}

.page-news .tag--guide {
  background: var(--c-gold);
  color: var(--c-ink);
}

.page-news .tag--data {
  background: var(--c-orange);
  color: var(--c-white);
}

.page-news .tag--meta {
  background: transparent;
  color: var(--c-gray);
  border: 1px solid var(--c-line);
  text-transform: none;
}

.page-news .tag--link {
  background: transparent;
  color: var(--c-green);
  border: 1px dashed currentColor;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-news .tag--link:hover {
  background: var(--c-green);
  color: var(--c-white);
}

.page-news .featured-card--dark .tag--meta {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.35);
}

@media (hover: hover) {
  .page-news .article-item__excerpt {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.35s ease;
  }

  .page-news .article-item:hover .article-item__excerpt,
  .page-news .article-item:focus-within .article-item__excerpt {
    opacity: 1;
    max-height: 10em;
  }

  .page-news .featured-card,
  .page-news .article-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .page-news .featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--news-shadow-lg);
  }

  .page-news .article-item:hover {
    transform: translateX(4px);
    box-shadow: var(--news-shadow-lg);
  }

  .page-news .step-card:hover {
    background: rgba(255, 255, 255, 0.14);
  }
}

@media (min-width: 720px) {
  .page-news .news-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .cta-panel__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .news-steps__media {
    max-width: 700px;
  }
}

@media (min-width: 960px) {
  .page-news .news-hero {
    padding: calc(var(--header-h) + 48px) 0 52px;
  }

  .page-news .news-hero__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-news .news-hero h1 {
    font-size: 46px;
    max-width: 16em;
  }

  .page-news .news-hero__score {
    margin-bottom: 8px;
    max-width: 240px;
  }
}

@media (min-width: 1024px) {
  .page-news .featured-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: stretch;
  }

  .page-news .featured-card--primary .featured-card__title {
    font-size: 26px;
    line-height: 1.2;
  }

  .page-news .featured-card__body {
    padding: 24px 22px 22px;
  }

  .page-news .latest__grid {
    grid-template-columns: minmax(0, 1fr) var(--news-side-w);
    gap: 48px;
    align-items: start;
  }

  .page-news .latest {
    padding: 52px 0 64px;
  }

  .page-news .news-steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news .news-steps {
    padding: 64px 0;
  }

  .page-news .news-cta {
    padding: 64px 0 76px;
  }

  .page-news .cta-panel {
    padding: 44px 36px 34px;
  }
}
