.news-archive {
  padding-block: 72px 96px;
}

.news-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.news-intro p {
  margin: 0;
  color: #66635f;
}

.release-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 44px;
  padding: 0;
  border: 0;
}

.release-filters legend {
  width: 100%;
  margin-bottom: 12px;
  font-weight: 800;
}

.release-filters input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.release-filters label {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.release-filters label:hover,
.release-filters input:focus-visible + label {
  border-color: var(--orange);
}

.release-filters input:checked + label {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.news-year {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.news-year > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  color: var(--ink);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.news-year > summary::-webkit-details-marker {
  display: none;
}

.news-year > summary span {
  color: #77736d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-year > summary::after {
  content: "+";
  display: grid;
  flex: 0 0 36px;
  inline-size: 36px;
  block-size: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--orange);
  font-size: 1.35rem;
  line-height: 1;
}

.news-year[open] > summary::after {
  content: "\2212";
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 28px;
}

.release-card {
  min-width: 0;
}

.release-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.release-card-link:hover,
.release-card-link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 16px 32px rgba(62, 62, 64, 0.09);
}

.release-card.featured .release-card-link {
  border-color: var(--orange);
  background: linear-gradient(145deg, #fff7f2, var(--white) 68%);
}

.release-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 16px;
  color: #716d67;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-topic {
  color: var(--orange);
}

.release-card h3 {
  margin: 0 0 13px;
  font-size: 1.18rem;
  line-height: 1.24;
}

.release-card p {
  margin: 0 0 22px;
  color: #66635f;
  font-size: 0.92rem;
}

.release-card-cta {
  margin-top: auto;
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 900;
}

.news-archive:has(#filter-lotc:checked) .release-card:not([data-topic="lotc"]),
.news-archive:has(#filter-technical:checked) .release-card:not([data-topic="technical"]),
.news-archive:has(#filter-professional:checked) .release-card:not([data-topic="professional"]),
.news-archive:has(#filter-tourism:checked) .release-card:not([data-topic="tourism"]),
.news-archive:has(#filter-events:checked) .release-card:not([data-topic="events"]) {
  display: none;
}

.news-archive:has(#filter-lotc:checked) .news-year:not(:has(.release-card[data-topic="lotc"])),
.news-archive:has(#filter-technical:checked) .news-year:not(:has(.release-card[data-topic="technical"])),
.news-archive:has(#filter-professional:checked) .news-year:not(:has(.release-card[data-topic="professional"])),
.news-archive:has(#filter-tourism:checked) .news-year:not(:has(.release-card[data-topic="tourism"])),
.news-archive:has(#filter-events:checked) .news-year:not(:has(.release-card[data-topic="events"])) {
  display: none;
}

.release-hero .container {
  max-width: 980px;
}

.release-hero h1 {
  max-width: 940px;
  font-size: clamp(2.15rem, 5vw, 4.45rem);
}

.release-hero p {
  max-width: 800px;
}

.release-section {
  padding-block: 68px 96px;
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 64px;
  align-items: start;
  max-width: 1040px;
}

.release-content {
  min-width: 0;
  font-size: 1.04rem;
}

.release-content > :first-child {
  margin-top: 0;
}

.release-content h2,
.release-content h3 {
  margin: 2.15em 0 0.55em;
  line-height: 1.2;
}

.release-content h2 {
  font-size: 1.5rem;
}

.release-content h3 {
  font-size: 1.18rem;
}

.release-content p,
.release-content ul,
.release-content ol,
.release-content blockquote {
  margin-block: 0 1.25em;
}

.release-content li + li {
  margin-top: 0.45em;
}

.release-content a {
  color: var(--orange);
  font-weight: 700;
}

.release-content blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: var(--sand);
  font-size: 1.08rem;
}

.release-sidebar {
  position: sticky;
  top: 106px;
}

.release-facts {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.release-facts dl {
  margin: 0 0 22px;
}

.release-facts dt {
  margin-top: 14px;
  color: #77736d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-facts dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.release-facts .button {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.release-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--orange);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .release-sidebar {
    position: static;
    order: -1;
  }

  .release-facts {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 22px;
    align-items: end;
  }

  .release-facts dl {
    margin: 0;
  }
}

@media (max-width: 680px) {
  .news-archive,
  .release-section {
    padding-block: 48px 72px;
  }

  .news-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }

  .release-grid {
    grid-template-columns: 1fr;
  }

  .release-card-link {
    padding: 22px;
  }

  .news-year > summary {
    gap: 12px;
  }

  .news-year > summary span {
    display: none;
  }

  .release-facts {
    display: block;
  }

  .release-content {
    font-size: 1rem;
  }
}
