.news-page {
  --news-ink: #2f2924;
  --news-muted: #746b64;
  --news-line: rgba(47, 41, 36, 0.1);
  --news-brand: #b6804f;
  --news-brand-deep: #8b5b31;
  --news-soft: #f5eee7;
  --news-panel: rgba(182, 128, 79, 0.08);
  background: linear-gradient(180deg, #fff 0%, #fbf8f5 100%);
  color: var(--news-ink);
}

.news-wrap {
  width: min(calc(100% - 72px), 1180px);
  margin: 0 auto;
}

.news-hero {
  padding: 90px 0 42px;
}

.news-kicker,
.news-sidebar__eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 14px;
  border: 1px solid #e7d8c9;
  background: var(--news-soft);
  color: var(--news-brand-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-hero__content {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.news-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 4.6vw, 4.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.news-hero p {
  margin: 0;
  color: var(--news-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.news-filter {
  padding-bottom: 18px;
}

.news-filter__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.news-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  width: min(100%, 560px);
  margin-left: auto;
  margin-right: auto;
}

.news-search__input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #ddd2c5;
  background: #fff;
  color: var(--news-ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.news-search__input::placeholder {
  color: #9b9088;
}

.news-search__input:focus {
  border-color: rgba(182, 128, 79, 0.45);
  box-shadow: 0 0 0 3px rgba(182, 128, 79, 0.12);
}

.news-search__button {
  min-width: 96px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--news-brand);
  background: var(--news-brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.news-search__button:hover {
  background: var(--news-brand-deep);
  border-color: var(--news-brand-deep);
}

.news-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--news-line);
  background: #fff;
  color: var(--news-ink);
  text-decoration: none;
  font-weight: 700;
}

.news-chip span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: rgba(182, 128, 79, 0.12);
  color: var(--news-brand-deep);
  font-size: 0.86rem;
}

.news-chip.is-active {
  background: var(--news-ink);
  border-color: var(--news-ink);
  color: #fff;
}

.news-chip.is-active span {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.news-section {
  padding: 12px 0 78px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--news-line);
  color: inherit;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.news-card:hover {
  background: #f9f5f2;
  border-color: rgba(182, 128, 79, 0.2);
}

.news-card:focus-visible {
  outline: 2px solid rgba(182, 128, 79, 0.45);
  outline-offset: 2px;
}

.news-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(182, 128, 79, 0.08);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.news-card__date {
  color: var(--news-brand);
  font-size: 0.92rem;
  font-weight: 700;
}

.news-card__tag,
.news-article__tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  background: var(--news-soft);
  color: var(--news-brand-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.news-card h2,
.news-article h2,
.news-empty h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  line-height: 1.35;
}

.news-card p,
.news-empty p,
.news-sidebar__block p,
.news-article__body p,
.news-article__body div {
  margin: 0;
  color: var(--news-muted);
  font-size: 18px;
  line-height: 1.72;
}

.news-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: fit-content;
  padding: 10px 16px;
  background: var(--news-brand);
  border: 1px solid var(--news-brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.news-button:hover {
  background: var(--news-brand-deep);
  border-color: var(--news-brand-deep);
}

.news-button--ghost {
  background: transparent;
  border-color: var(--news-line);
  color: var(--news-ink);
}

.news-button--ghost:hover {
  background: rgba(182, 128, 79, 0.08);
  border-color: rgba(182, 128, 79, 0.25);
  color: var(--news-ink);
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.news-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--news-line);
  background: #fff;
  color: var(--news-ink);
  text-decoration: none;
  font-weight: 700;
}

.news-pagination__link.is-active {
  background: var(--news-ink);
  border-color: var(--news-ink);
  color: #fff;
}

.news-detail {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.news-article,
.news-sidebar__block,
.news-empty {
  padding: 45px;
  background: #fff;
  box-shadow: 0 0 20px #e0e0e0;
}

.news-article {
  display: grid;
  gap: 20px;
}

.news-article h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  line-height: 1.3;
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--news-muted);
  font-size: 0.94rem;
}

.news-article__body {
  display: block;
}

.news-article__body > * {
  margin: 0 0 12px;
  background: transparent !important;
}

.news-article__body > *:last-child {
  margin-bottom: 0;
}

.news-article__body .news-article__spacer {
  min-height: 0.85em;
}

.news-article__body p,
.news-article__body div {
  background: transparent !important;
}

.news-article__body img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.news-article__body a {
  color: #dbb55d;
}

.news-article__footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.news-search__footer {
  margin-top: 6px;
  justify-content: flex-start;
}

.news-search__footer .news-button {
  background: transparent;
  border-color: rgba(182, 128, 79, 0.35);
  color: var(--news-brand-deep);
}

.news-search__footer .news-button:hover {
  background: rgba(182, 128, 79, 0.08);
  border-color: rgba(182, 128, 79, 0.6);
  color: var(--news-brand-deep);
}

.news-related-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--news-line);
  width: 100%;
}

.news-related-section__title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.35;
}

.news-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.news-related-card {
  height: 100%;
  align-self: start;
  align-content: start;
}

.news-related-card h2 {
  font-size: 18px;
  line-height: 1.45;
}

.news-related-card p {
  font-size: 16px;
  line-height: 1.7;
}

.news-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.news-sidebar__block strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.news-related {
  display: grid;
  gap: 12px;
}

.news-related__item {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--news-line);
  color: var(--news-ink);
  text-decoration: none;
}

.news-related__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.news-related__item span {
  color: var(--news-brand);
  font-size: 0.88rem;
  font-weight: 700;
}

.news-related__item strong {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.news-empty {
  text-align: center;
}

.news-empty .news-button {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .news-detail {
    grid-template-columns: 1fr;
  }

  .news-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .news-list {
    grid-template-columns: 1fr;
  }

  .news-wrap {
    width: min(calc(100% - 36px), 1180px);
  }

  .news-hero {
    padding: 58px 0 20px;
  }

  .news-section {
    padding-bottom: 56px;
  }

  .news-search {
    flex-direction: column;
    align-items: stretch;
  }

  .news-card,
  .news-article,
  .news-sidebar__block,
  .news-empty {
    padding: 22px;
  }

  .news-card {
    gap: 12px;
  }

  .news-related-grid {
    grid-template-columns: 1fr;
  }

  .news-article__body p,
  .news-article__body div {
    font-size: 16px;
  }
}
