.page-news {
  --news-line: rgba(245, 240, 230, 0.12);
  --news-gold-soft: rgba(230, 179, 30, 0.16);
  padding-bottom: 3.5rem;
}

.page-news .news-container {
  width: min(var(--container-w), 100%);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-news .news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: rgba(245, 240, 230, 0.48);
  padding-top: 0.75rem;
}

.page-news .news-breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.page-news .news-breadcrumb a:hover {
  text-decoration: underline;
}

.page-news .news-breadcrumb [aria-current="page"] {
  color: var(--paper);
}

.page-news .news-hero {
  position: relative;
  margin-top: 1rem;
  padding: 2rem 0 1.75rem;
  border-bottom: 1px solid rgba(230, 179, 30, 0.3);
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(270deg, var(--gold), transparent);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 3px;
  background: var(--gold);
}

.page-news .news-hero h1 {
  font-family: var(--font-title);
  font-size: var(--fs-h1);
  color: var(--ivory);
  line-height: var(--lh-head);
  margin: 0.5rem 0 0.75rem;
}

.page-news .news-hero__desc {
  max-width: 68ch;
  margin: 0;
  color: rgba(245, 240, 230, 0.66);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.page-news .news-layout {
  display: grid;
  gap: 2.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 992px) {
  .page-news .news-layout {
    grid-template-columns: clamp(280px, 28vw, 360px) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
}

.page-news .news-sidebar {
  display: grid;
  gap: 1.5rem;
  order: 2;
}

@media (min-width: 992px) {
  .page-news .news-sidebar {
    order: 1;
    position: sticky;
    top: 1.5rem;
  }
}

.page-news .news-main {
  order: 1;
  min-width: 0;
}

@media (min-width: 992px) {
  .page-news .news-main {
    order: 2;
  }
}

.page-news .news-sidebar__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: var(--fs-h3);
  color: var(--ivory);
  line-height: 1.3;
}

.page-news .news-sidebar__title::before {
  content: "";
  display: block;
  width: 4px;
  height: 1.4em;
  background: var(--gold);
}

.page-news .news-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-news .news-index__list li {
  border-bottom: 1px solid var(--news-line);
}

.page-news .news-index__list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.25rem;
  color: rgba(245, 240, 230, 0.72);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.page-news .news-index__list a:hover,
.page-news .news-index__list a:focus-visible {
  color: var(--gold);
  padding-left: 0.6rem;
}

.page-news .news-index__no {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--gold-dark);
}

.page-news .news-topics {
  background: rgba(21, 74, 65, 0.65);
  padding: 1.25rem;
  border: 1px solid var(--news-line);
}

.page-news .news-topics__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: topic;
}

.page-news .news-topics__list li {
  counter-increment: topic;
  padding: 0.75rem 0 0.75rem 0.5rem;
  border-bottom: 1px dashed rgba(245, 240, 230, 0.1);
}

.page-news .news-topics__list li:last-child {
  border-bottom: 0;
}

.page-news .news-topics__list li::before {
  content: counter(topic);
  margin-right: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gold);
}

.page-news .news-topics__list a {
  color: var(--paper);
  font-size: var(--fs-sm);
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.page-news .news-topics__list a:hover,
.page-news .news-topics__list a:focus-visible {
  color: var(--gold);
}

.page-news .news-subscribe {
  position: relative;
  padding: 1.5rem;
  background: var(--paper);
  color: var(--charcoal);
  border-left: 4px solid var(--gold);
}

.page-news .news-subscribe::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 43, 43, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 43, 43, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.page-news .news-subscribe .news-sidebar__title {
  position: relative;
  color: var(--charcoal);
}

.page-news .news-subscribe .news-sidebar__title::before {
  background: var(--gold);
}

.page-news .news-subscribe__desc {
  position: relative;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: rgba(43, 43, 43, 0.72);
}

.page-news .news-subscribe__action {
  position: relative;
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  background: var(--bg-deep);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.6;
  word-break: break-all;
}

.page-news .news-subscribe__contact {
  position: relative;
  margin: 0.75rem 0 0;
  font-size: var(--fs-xs);
}

.page-news .news-subscribe__contact a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 44, 0.4);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-news .news-subscribe__contact a:hover,
.page-news .news-subscribe__contact a:focus-visible {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.page-news .news-main__header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.page-news .news-main__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  color: var(--ivory);
  line-height: var(--lh-head);
}

.page-news .news-main__desc {
  margin: 0;
  font-size: var(--fs-sm);
  color: rgba(245, 240, 230, 0.5);
}

.page-news .news-featured {
  display: grid;
  overflow: hidden;
  background: var(--bg-forest);
  border: 1px solid rgba(230, 179, 30, 0.22);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-news .news-featured__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-news .news-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.page-news .news-featured:hover .news-featured__media img {
  transform: scale(1.02);
}

.page-news .news-featured__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  position: relative;
}

.page-news .news-featured__taxonomy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-news .news-featured__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: var(--lh-head);
  color: var(--ivory);
}

.page-news .news-featured__excerpt {
  margin: 0;
  color: rgba(245, 240, 230, 0.78);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

@media (min-width: 900px) {
  .page-news .news-featured {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .page-news .news-featured__media {
    aspect-ratio: auto;
    min-height: 380px;
    height: 100%;
  }

  .page-news .news-featured__body {
    padding: 2rem;
  }
}

.page-news .news-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: rgba(245, 240, 230, 0.56);
}

.page-news .news-list {
  display: grid;
  gap: 0.25rem;
}

.page-news .news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--news-line);
}

@media (min-width: 640px) {
  .page-news .news-item {
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: center;
  }

  .page-news .news-item--thumb-right .news-item__thumb {
    order: 2;
  }

  .page-news .news-item--thumb-right .news-item__body {
    order: 1;
  }
}

.page-news .news-item__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-forest);
  border-radius: 4px;
}

.page-news .news-item--thumb-right .news-item__thumb {
  box-shadow: -8px 8px 0 rgba(21, 74, 65, 0.5);
}

.page-news .news-item--thumb-left .news-item__thumb {
  box-shadow: 8px 8px 0 var(--news-gold-soft);
}

.page-news .news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.page-news .news-item:hover .news-item__thumb img {
  transform: scale(1.04);
}

.page-news .news-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.page-news .news-item__taxonomy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-news .news-item__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: var(--lh-head);
  color: var(--ivory);
}

.page-news .news-item__excerpt {
  margin: 0;
  color: rgba(245, 240, 230, 0.64);
  font-size: var(--fs-sm);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news .news-item__time,
.page-news .news-item__views {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: rgba(245, 240, 230, 0.46);
}

.page-news .news-item__views {
  color: rgba(230, 179, 30, 0.85);
}

.page-news .news-release {
  position: relative;
  margin-top: 0.25rem;
  padding: 1.75rem;
  display: grid;
  gap: 0.75rem;
  background: var(--paper);
  color: var(--charcoal);
  border-left: 4px solid var(--gold);
  overflow: hidden;
}

.page-news .news-release::after {
  content: "V4";
  position: absolute;
  right: 1.25rem;
  bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(43, 43, 43, 0.08);
  pointer-events: none;
}

.page-news .news-release__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-news .news-release__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: var(--lh-head);
  color: var(--charcoal);
}

.page-news .news-release .news-item__excerpt {
  color: rgba(43, 43, 43, 0.72);
  -webkit-line-clamp: unset;
}

.page-news .news-release .news-item__time,
.page-news .news-release .news-item__views {
  color: rgba(43, 43, 43, 0.55);
}

.page-news .news-pagination {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--news-line);
}

.page-news .news-pagination__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-news .news-pagination__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page-news .news-pagination__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.56);
}

.page-news .news-pagination__total {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold);
}

.page-news .news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.2em 0.7em;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.page-news .news-tag--gold {
  background: var(--gold);
  color: var(--bg-deep);
}

.page-news .news-tag--yellow {
  background: var(--yellow);
  color: var(--bg-deep);
}

.page-news .news-tag--red {
  background: var(--red);
  color: #fff;
}

.page-news .news-tag--blue {
  background: var(--blue);
  color: #fff;
}

.page-news .news-tag--charcoal {
  background: var(--charcoal);
  color: var(--paper);
}

.page-news .news-tag--outline {
  border: 1px solid rgba(245, 240, 230, 0.4);
  color: var(--paper);
}
