.news-detail-page {
  padding: 0 0 5.5rem;
}

.news-detail-page .detail-filters {
  padding-top: 1rem;
  padding-bottom: 2.7rem;
  gap: 2rem;
}

.news-detail-page .detail-filters a {
  font-size: 0.875rem;
  opacity: 0.86;
  font-weight: 400;
}

.news-detail-page .detail-filters a.active {
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 1;
}

.news-detail-article {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}

.detail-header {
  display: grid;
  gap: 1.35rem;
  margin-bottom: 1.8rem;
}

.detail-category-text {
  margin: 0;
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1;
  text-transform: uppercase;
}

.detail-header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.5;
  font-weight: 700;
}

.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem 1rem;
  color: #b0b0b0;
  font-size: 0.875rem;
  line-height: 1;
}

.detail-source {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.detail-source-icon {
  width: 2.8125rem;
  height: 2.8125rem;
  flex: 0 0 auto;
}

.detail-source-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.detail-divider {
  width: 1px;
  height: 21px;
  background: #b0b0b0;
}

.detail-read-time {
  margin-left: auto;
  white-space: nowrap;
}

.detail-lead {
  margin: 0 0 2.4rem;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
}

.detail-content {
  display: grid;
  gap: 1rem;
}

.detail-content > * {
  margin: 0;
}

.detail-content p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.detail-content h2,
.detail-content h3,
.detail-content h4,
.detail-content h5,
.detail-content h6 {
  margin: 0.8rem 0 0;
  color: var(--ink);
  line-height: 1.25;
}

.detail-content ul,
.detail-content ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink);
}

.detail-content figure {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 2.1rem;
}

.detail-content img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.detail-content figcaption {
  margin: 0;
  color: var(--ink);
  font-size: 0.625rem;
  line-height: 1.4;
}

.detail-featured-image {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .news-detail-page .detail-filters {
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0;
  }

  .news-detail-page .detail-filters a.active {
    font-size: 1.05rem;
  }

  .detail-header h1 {
    font-size: 2.3rem;
  }

  .detail-lead {
    font-size: 1.08rem;
  }
}

@media (max-width: 768px) {
  .news-detail-page {
    padding-bottom: 4rem;
  }

  .news-detail-page .detail-filters {
    justify-content: flex-start;
    gap: 1rem 1.1rem;
    padding-top: 0.75rem;
    padding-bottom: 1.5rem;
  }

  .news-detail-page .detail-filters a {
    font-size: 0.82rem;
  }

  .news-detail-page .detail-filters a.active {
    font-size: 1rem;
  }

  .detail-header {
    gap: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .detail-header h1 {
    font-size: 1.65rem;
    line-height: 1.35;
  }

  .detail-meta {
    flex-wrap: wrap;
    gap: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }

  .detail-source-icon {
    width: 2rem;
    height: 2rem;
  }

  .detail-divider {
    height: 15px;
  }

  .detail-read-time {
    margin-left: 0;
  }

  .detail-lead {
    margin-bottom: 1.55rem;
    font-size: 1rem;
    line-height: 1.3;
  }

  .detail-content p {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .detail-content figure {
    gap: 0.6rem;
    margin-bottom: 1.55rem;
  }

  .detail-content figcaption {
    font-size: 0.72rem;
    line-height: 1.4;
  }
}
