body.news-layout-active,
body.single-news-layout-active {
  padding-top: 80px;
}

.news-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #dfeff4 0%, #f4fafc 100%);
  border-bottom: 1px solid var(--gray-200);
}

.news-hero {
  padding: 7rem 0 4rem;
}

.article-hero {
  padding: 7rem 0 3.5rem;
}

.news-hero::before,
.news-hero::after,
.article-hero::before,
.article-hero::after,
.news-cta-band::before,
.article-cta-band::before,
.news-widget.cta-widget::after,
.article-widget.cta-widget::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.news-hero::before,
.article-hero::before {
  top: -180px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(98, 191, 202, 0.22) 0%, transparent 72%);
}

.news-hero::after,
.article-hero::after {
  left: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.08) 0%, transparent 74%);
}

.news-hero-grid,
.news-layout,
.news-cta-band-grid,
.article-hero-grid,
.article-layout,
.related-grid,
.article-cta-band-grid {
  display: grid;
  gap: 2rem;
}

.news-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  align-items: end;
}

.article-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
}

.news-hero-copy h1,
.article-hero-copy h1 {
  margin: 1rem 0 1rem;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.news-hero-copy h1 {
  font-size: clamp(3rem, 8vw, 5.75rem);
}

.article-hero-copy h1 {
  font-size: clamp(2.5rem, 7vw, 5.25rem);
}

.news-hero-copy p,
.article-hero-copy p {
  max-width: 760px;
  color: var(--gray-600);
  font-size: 1.08rem;
}

.news-hero-panel,
.article-hero-panel,
.news-widget,
.article-widget,
.news-card,
.article-card,
.author-box,
.article-content-wrap,
.article-media-panel,
.no-results {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.news-hero-panel,
.article-hero-panel {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
}

.news-hero-panel-label,
.news-section-kicker,
.section-kicker,
.news-widget h3,
.article-widget h3,
.article-hero-panel h3,
.author-box h3 {
  text-transform: uppercase;
}

.news-hero-panel-label,
.news-section-kicker,
.section-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.news-section-kicker,
.section-kicker {
  margin-bottom: 0.75rem;
}

.news-hero-panel-label {
  margin-bottom: 1rem;
  font-size: 0.675rem;
  font-weight: 900;
}

.news-trending-list,
.news-feed,
.news-card-list,
.news-sidebar,
.article-sidebar,
.news-widget-list,
.article-widget-list,
.newsletter-form,
.mini-post-list {
  display: grid;
  gap: 1rem;
}

.news-trending-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gray-200);
}

.news-trending-item:first-child,
.mini-post:first-child {
  padding-top: 0;
  border-top: 0;
}

.news-trending-number,
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.news-trending-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
}

.news-trending-item span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  text-transform: uppercase;
}

.news-trending-item strong {
  color: var(--primary);
  line-height: 1.3;
  font-size: 0.96rem;
}

.news-main,
.article-main {
  background: linear-gradient(to bottom, var(--white) 0%, #f7fbfc 100%);
}

.news-main {
  padding: 4rem 0 5rem;
}

.article-main {
  padding: 3rem 0 5rem;
}

.news-intro-row,
.news-card-footer,
.footer-bottom,
.article-card-footer,
.article-cta-band-grid,
.article-inline-meta,
.article-share,
.article-pagination,
.news-search {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-intro-row {
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.news-intro-row h2,
.related-header h2,
.news-cta-band h2,
.article-cta-band h2 {
  line-height: 1.05;
  letter-spacing: -0.03em;
  padding: 0 0 15px 0;
  color: var(--primary);
}

.news-intro-row h2,
.related-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.news-filters,
.news-pagination,
.news-meta,
.article-meta,
.article-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.news-filter,
.page-link,
.share-link,
.article-widget-link,
.news-widget-link,
.news-card,
.article-card,
.tag-link {
  transition: var(--transition);
}

.news-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-filter:hover,
.news-filter.active,
.page-link:hover,
.page-link.active,
.share-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.news-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.75fr);
  align-items: start;
}

.article-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
  align-items: start;
}

.news-featured {
  position: relative;
  min-height: 500px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.news-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.88) 78%);
}

.news-featured-content,
.article-widget.cta-widget > *,
.news-widget.cta-widget > * {
  position: relative;
  z-index: 1;
}

.news-pill,
.news-date,
.article-pill,
.article-date,
.article-stat,
.tag-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-pill,
.article-pill {
  background: rgba(98, 191, 202, 0.18);
  border: 1px solid rgba(98, 191, 202, 0.22);
  color: var(--primary);
}

.news-date,
.article-date,
.article-stat,
.tag-link {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
}

.news-featured h3 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.news-featured h3 a,
.news-featured p,
.news-featured .news-date,
.news-featured .news-pill {
  color: inherit;
}

.news-featured p {
  max-width: 680px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.news-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.25rem;
  overflow: hidden;
}

.news-card:hover,
.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(98, 191, 202, 0.45);
  box-shadow: var(--shadow-xl);
}

.news-card-media,
.article-card-media,
.mini-post-thumb {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.news-card-media {
  min-height: 100%;
}

.news-card-body {
  padding: 1.4rem 1.4rem 1.4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card .news-pill,
.news-card .news-date,
.article-card .article-pill,
.article-card .article-date {
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-600);
}

.news-card .news-pill,
.article-card .article-pill {
  background: #ecfeff;
  color: var(--primary);
  border-color: #d8f6fa;
}

.news-card h3,
.article-card h3 {
  margin-bottom: 0.75rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.news-card h3 {
  font-size: 1.5rem;
}

.article-card h3 {
  font-size: 1.35rem;
}

.news-card h3 a,
.article-card h3 a,
.mini-post strong,
.news-widget h3,
.article-widget h3,
.author-box h3,
.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--primary);
}

.news-card p,
.article-card p,
.article-content-wrap .lead,
.article-hero-panel p,
.article-widget p,
.author-box p,
.news-widget p,
.newsletter-form p {
  color: var(--gray-600);
}

.news-card-author,
.article-card-author,
.mini-post small,
.article-share-label,
.article-breadcrumbs {
  color: var(--gray-500);
}

.page-link,
.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font-weight: 800;
}

.news-sidebar,
.article-sidebar {
  position: sticky;
  top: 108px;
  gap: 1.25rem;
}

.news-widget,
.article-widget,
.author-box,
.no-results {
  padding: 1.35rem;
}

.news-widget h3,
.article-widget h3,
.article-hero-panel h3,
.author-box h3 {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.news-widget-link,
.article-widget-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: var(--gray-50);
  border: 1px solid transparent;
  color: var(--gray-700);
  font-weight: 700;
}

.news-widget-link:hover,
.article-widget-link:hover,
.tag-link:hover {
  border-color: rgba(98, 191, 202, 0.4);
  background: #f1fbfd;
  color: var(--primary);
}

.news-widget-link em,
.article-widget-link em {
  font-style: normal;
  color: var(--gray-500);
  font-size: 0.82rem;
  font-weight: 800;
}

.news-search {
  align-items: stretch;
}

.news-search input,
.newsletter-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  font: inherit;
  color: var(--gray-900);
  transition: var(--transition);
}

.news-search input {
  flex: 1 1 0;
}

.news-search input:focus,
.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(98, 191, 202, 0.14);
}

.mini-post {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-200);
}

.mini-post-thumb {
  height: 74px;
  border-radius: 16px;
}

.mini-post span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.mini-post strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
  line-height: 1.25;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-breadcrumbs a {
  color: var(--gray-500);
}

.article-breadcrumbs a:hover {
  color: var(--accent);
}

.article-media-panel {
  overflow: hidden;
  margin-bottom: 2rem;
}

.article-feature-image {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  display: block;
}

.article-content-wrap {
  padding: 2rem;
}

.article-content-wrap .lead {
  margin-bottom: 1.5rem;
  font-size: 1.12rem;
  line-height: 1.8;
}

.article-body {
  color: var(--gray-800);
  font-size: 1.02rem;
  line-height: 1.9;
}

.article-body > * + * {
  margin-top: 1.2rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.article-body h2 { font-size: 2rem; }
.article-body h3 { font-size: 1.55rem; }
.article-body h4 { font-size: 1.2rem; }

.article-body ul,
.article-body ol {
  padding-left: 1.2rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: #f4fbfc;
  border-radius: 0 18px 18px 0;
  color: var(--primary);
  font-size: 1.08rem;
  font-style: italic;
}

.author-box-grid {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: start;
}

.author-avatar {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  background: #eaf5f7;
}

.related-section {
  padding-top: 4rem;
}

.related-header {
  margin-bottom: 1.75rem;
}

.article-card {
  overflow: hidden;
}

.article-card-media {
  aspect-ratio: 16 / 10;
}

.article-card-body {
  padding: 1.35rem;
}

.article-widget.cta-widget,
.news-widget.cta-widget,
.news-cta-band,
.article-cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--gray-800) 100%);
  color: var(--white);
}

.news-cta-band,
.article-cta-band {
  padding: 4.5rem 0;
  background: var(--primary);
}

.news-cta-band::before,
.article-cta-band::before {
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(98, 191, 202, 0.2), transparent 28%);
}

.news-widget.cta-widget::after,
.article-widget.cta-widget::after {
  top: -60px;
  right: -60px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(98, 191, 202, 0.32) 0%, transparent 70%);
}

.news-widget.cta-widget h3,
.news-widget.cta-widget p,
.article-widget.cta-widget h3,
.article-widget.cta-widget p,
.news-cta-band h2,
.article-cta-band h2 {
  color: var(--white);
}

.news-widget.cta-widget p,
.article-widget.cta-widget p,
.news-cta-band p,
.article-cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
  .news-hero-grid,
  .news-layout,
  .news-cta-band-grid,
  .article-hero-grid,
  .article-layout,
  .related-grid,
  .article-cta-band-grid {
    grid-template-columns: 1fr;
  }

  .news-sidebar,
  .article-sidebar {
    position: static;
  }
}

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

  .news-card-media {
    min-height: 240px;
  }

  .news-card-body {
    padding: 1.25rem;
  }

  .news-featured {
    min-height: 420px;
    padding: 1.5rem;
  }

  .article-hero {
    padding: 5.5rem 0 3rem;
  }

  .article-content-wrap {
    padding: 1.35rem;
  }

  .author-box-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.news-layout-active,
  body.single-news-layout-active {
    padding-top: 72px;
  }

  .news-hero {
    padding: 5.5rem 0 3rem;
  }
}

@media (max-width: 640px) {
  .news-search,
  .article-pagination,
  .footer-bottom,
  .article-cta-band-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-filter {
    font-size: 0.68rem;
    padding: 0.72rem 0.85rem;
  }

  .news-widget,
  .article-widget,
  .news-card,
  .article-card,
  .news-featured,
  .article-hero-panel,
  .author-box,
  .article-content-wrap,
  .article-media-panel,
  .no-results {
    border-radius: 22px;
  }
}
