.page-news {
  --journal-sidebar-width: 300px;
  --journal-gap: 96px;
  background: var(--color-light);
}

.page-news .journal-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 56px;
  color: #fff;
  background-color: var(--color-secondary);
  background-image:
    linear-gradient(135deg, rgba(255, 107, 0, 0.3), transparent 62%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 14px);
}

.page-news .journal-hero__content {
  position: relative;
  z-index: 1;
}

.page-news .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 1;
}

.page-news .breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
}

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

.page-news .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

.page-news .journal-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}

.page-news .journal-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--color-primary);
  transform: skewX(-20deg);
}

.page-news .journal-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.page-news .h1-accent {
  display: inline-block;
  padding-left: 6px;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-primary);
}

@supports not (-webkit-text-stroke: 2px var(--color-primary)) {
  .page-news .h1-accent {
    color: var(--color-primary);
    -webkit-text-stroke: 0;
  }
}

.page-news .journal-hero__lead {
  max-width: 660px;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

.page-news .journal-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .journal-hero__stats li {
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.page-news .journal-hero__stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.1;
  color: #fff;
}

.page-news .journal-hero__visual {
  position: relative;
  display: none;
  min-height: 320px;
}

.page-news .hero-index {
  position: absolute;
  top: 12px;
  right: 4%;
  font-family: var(--font-heading);
  font-size: 120px;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  transform: rotate(-8deg);
  opacity: 0.92;
}

.page-news .hero-line {
  position: absolute;
  left: 0;
  bottom: 64px;
  width: 72%;
  height: 6px;
  background: var(--gradient-live);
  transform: skewX(-20deg);
}

.page-news .hero-block--one {
  position: absolute;
  left: 8%;
  bottom: 24px;
  width: 54px;
  height: 54px;
  background: rgba(57, 255, 20, 0.9);
  transform: rotate(45deg);
}

.page-news .hero-block--two {
  position: absolute;
  right: 2%;
  top: 58px;
  width: 32px;
  height: 32px;
  border: 8px solid var(--color-primary);
  transform: rotate(15deg);
}

.page-news .journal-filter {
  padding-top: 44px;
  padding-bottom: 76px;
}

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

.page-news .filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--color-secondary);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-news .filter-bar__title {
  flex-shrink: 0;
  margin: 0 12px 0 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.page-news .filter-bar__label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s var(--ease);
}

.page-news .filter-bar__label:hover {
  background: rgba(255, 255, 255, 0.18);
}

.page-news #filter-all:checked ~ .filter-bar label[for="filter-all"],
.page-news #filter-update:checked ~ .filter-bar label[for="filter-update"],
.page-news #filter-guide:checked ~ .filter-bar label[for="filter-guide"],
.page-news #filter-season:checked ~ .filter-bar label[for="filter-season"],
.page-news #filter-story:checked ~ .filter-bar label[for="filter-story"] {
  background: var(--color-primary);
  color: #fff;
}

.page-news .journal-layout {
  display: grid;
  gap: 40px;
  margin-top: 36px;
}

.page-news .journal-timeline {
  position: relative;
}

.page-news .journal-timeline .section-title {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-secondary);
}

.page-news .timeline-card {
  position: relative;
  margin-bottom: 28px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

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

.page-news .timeline-card:nth-child(even) {
  background: linear-gradient(135deg, #EEF3FA 0%, #FFFFFF 78%);
}

.page-news .timeline-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(57, 255, 20, 0.06));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.page-news .timeline-card:hover::after {
  opacity: 1;
}

.page-news .timeline-card__dot {
  position: absolute;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.18);
  z-index: 2;
}

.page-news .timeline-card__media {
  position: relative;
  z-index: 1;
  border-bottom: 4px solid var(--color-primary);
}

.page-news .timeline-card__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .timeline-card__body {
  position: relative;
  z-index: 1;
  padding: 20px 24px 24px;
}

.page-news .timeline-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.page-news .category-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.page-news .category-tag--update {
  background: var(--color-primary);
}

.page-news .category-tag--guide {
  background: var(--color-support);
}

.page-news .category-tag--season {
  background: var(--color-dark);
}

.page-news .category-tag--story {
  background: var(--color-primary-deep);
}

.page-news .timeline-card__date {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
}

.page-news .timeline-card__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--color-secondary);
}

.page-news .timeline-card__excerpt {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #33414E;
}

.page-news .card-detail {
  padding-top: 12px;
  border-top: 1px dashed rgba(10, 30, 61, 0.18);
}

.page-news .card-detail summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-deep);
}

.page-news .card-detail p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #53606E;
}

.page-news .journal-aside {
  display: grid;
  align-content: start;
  gap: 20px;
}

.page-news .aside-card {
  padding: 22px;
  background: #fff;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-card);
}

.page-news .aside-card--tags {
  border-left-color: var(--color-accent);
}

.page-news .aside-card--help {
  border-left-color: var(--color-warning);
}

.page-news .aside-card--services {
  border-left-color: var(--color-support);
}

.page-news .aside-card--profile {
  border-left-color: var(--color-secondary);
}

.page-news .aside-card__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.1;
  color: var(--color-secondary);
}

.page-news .aside-card__intro {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
}

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

.page-news .tag-cloud__tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(10, 30, 61, 0.06);
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s var(--ease);
}

.page-news .tag-cloud__tag:hover {
  background: rgba(255, 107, 0, 0.14);
  color: var(--color-primary-deep);
}

.page-news #filter-update:checked ~ .journal-layout .tag-cloud label[for="filter-update"],
.page-news #filter-guide:checked ~ .journal-layout .tag-cloud label[for="filter-guide"] {
  background: var(--color-accent);
  color: var(--color-dark);
}

.page-news .aside-card .btn {
  width: 100%;
  margin-top: 14px;
  text-align: center;
}

.page-news .aside-card .text-primary {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  text-decoration: none;
}

.page-news #filter-update:checked ~ .journal-layout .timeline-card:not([data-cat="update"]),
.page-news #filter-guide:checked ~ .journal-layout .timeline-card:not([data-cat="guide"]),
.page-news #filter-season:checked ~ .journal-layout .timeline-card:not([data-cat="season"]),
.page-news #filter-story:checked ~ .journal-layout .timeline-card:not([data-cat="story"]) {
  display: none;
}

@media (min-width: 1024px) {
  .page-news .journal-hero {
    padding: 72px 0 64px;
  }

  .page-news .journal-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 0.8fr;
    gap: 56px;
    align-items: center;
  }

  .page-news .journal-hero__visual {
    display: block;
  }

  .page-news .journal-layout {
    grid-template-columns: minmax(0, 1fr) var(--journal-sidebar-width);
    gap: 48px;
    align-items: start;
    margin-top: 40px;
  }

  .page-news .journal-aside {
    position: sticky;
    top: calc(var(--header-offset) + 16px);
  }

  .page-news .journal-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 50%;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent) 70%, transparent);
    transform: translateX(-50%);
  }

  .page-news .timeline-card {
    width: calc(50% - (var(--journal-gap) / 2));
    margin-bottom: 36px;
  }

  .page-news .timeline-card:nth-child(odd) {
    margin-right: auto;
  }

  .page-news .timeline-card:nth-child(even) {
    margin-left: auto;
  }

  .page-news .timeline-card:nth-child(odd) .timeline-card__dot {
    left: auto;
    right: -54px;
  }

  .page-news .timeline-card:nth-child(even) .timeline-card__dot {
    right: auto;
    left: -54px;
  }
}

@media (max-width: 1023px) {
  .page-news .journal-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 12px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent) 70%, transparent);
  }

  .page-news .timeline-card {
    margin-left: 40px;
  }

  .page-news .timeline-card__dot {
    left: -34px;
  }
}
