:root {
  --articles-bg: #f7f7f8;
  --articles-card: #ffffff;
  --articles-ink: #0f172a;
  --articles-muted: #475569;
  --articles-accent: #2563eb;
  --articles-border: rgba(15, 23, 42, 0.08);
  --articles-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.articles-landing {
  padding: 70px 0 90px;
  background: var(--articles-bg);
}

.newsroom-bar {
  width: min(1120px, 92%);
  margin: 0 auto 50px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--articles-border);
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.08));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: center;
}

.newsroom-bar h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--articles-ink);
  margin: 12px 0 10px;
  line-height: 1.05;
}

.newsroom-bar p {
  color: var(--articles-muted);
  font-size: 1.05rem;
}

.newsroom-meta {
  justify-self: end;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--articles-border);
  text-align: right;
  min-width: 180px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.newsroom-meta span {
  color: #64748b;
  font-size: 0.85rem;
  display: block;
}

.newsroom-meta strong {
  font-size: 1rem;
  color: var(--articles-ink);
}

.section-header {
  width: min(1120px, 92%);
  margin: 0 auto 24px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  color: var(--articles-ink);
}

.section-header p {
  color: #64748b;
}

.top-stories,
.article-category,
.author-articles,
.channels {
  margin-bottom: 60px;
}

.top-grid {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: start;
}

.featured-card {
  background: var(--articles-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--articles-border);
  box-shadow: var(--articles-shadow);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.featured-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.featured-content {
  padding: 26px;
  display: grid;
  gap: 12px;
}

.featured-content h3 {
  font-size: 1.7rem;
  color: var(--articles-ink);
}

.featured-content p {
  color: var(--articles-muted);
}

.featured-content a {
  color: var(--articles-accent);
  text-decoration: none;
  font-weight: 600;
}

.latest-panel {
  background: var(--articles-card);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--articles-border);
  box-shadow: var(--articles-shadow);
  display: grid;
  gap: 16px;
}

.latest-panel h3 {
  font-size: 1.1rem;
  color: var(--articles-ink);
}

.latest-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding-bottom: 12px;
}

.latest-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.latest-item img {
  width: 86px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.latest-item a {
  color: var(--articles-ink);
  text-decoration: none;
  font-weight: 600;
  display: block;
}

.latest-item span {
  font-size: 0.8rem;
  color: #94a3b8;
}

.channels-grid {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.channel-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #0f172a;
  color: #e2e8f0;
  display: grid;
  gap: 12px;
}

.channel-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.channel-card-content {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.channel-tag {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93c5fd;
}

.channel-card h3 {
  font-size: 1rem;
  color: #ffffff;
}

.channel-card a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
}

.article-grid {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--articles-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--articles-border);
  box-shadow: var(--articles-shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-card-content {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.article-meta {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.article-meta a {
  color: var(--articles-accent);
  text-decoration: none;
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.15rem;
  color: var(--articles-ink);
}

.article-card p {
  color: var(--articles-muted);
  font-size: 0.95rem;
}

.article-card .read-link {
  color: var(--articles-accent);
  font-weight: 600;
  text-decoration: none;
}

.author-hero {
  width: min(980px, 92%);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  align-items: center;
}

.author-hero img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.15);
}

.author-role {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--articles-accent);
  margin-bottom: 10px;
}

.author-bio {
  color: var(--articles-muted);
  font-size: 1rem;
  margin: 12px 0 18px;
}

.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-page {
  padding: 60px 0 90px;
  background: var(--articles-bg);
}

.article-hero {
  width: min(1120px, 92%);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.article-hero-text {
  background: var(--articles-card);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--articles-border);
  box-shadow: var(--articles-shadow);
}

.article-kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--articles-accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.article-hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  color: var(--articles-ink);
  margin-bottom: 12px;
  line-height: 1.1;
}

.article-intro {
  color: var(--articles-muted);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.article-meta img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--articles-border);
}

.article-date {
  display: block;
  color: #94a3b8;
  font-size: 0.85rem;
}

.article-hero-media img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--articles-border);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: #64748b;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--articles-border);
  background: #ffffff;
  color: var(--articles-ink);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.article-content {
  width: min(860px, 92%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  color: #1f2937;
  line-height: 1.7;
}

.article-section {
  background: var(--articles-card);
  border: 1px solid var(--articles-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.article-section h2 {
  font-size: 1.5rem;
  color: var(--articles-ink);
  margin-bottom: 10px;
}

.article-section h3 {
  font-size: 1.1rem;
  color: #1f2937;
  margin: 18px 0 8px;
}

.article-section p {
  margin-bottom: 14px;
  color: var(--articles-muted);
}

.article-cta {
  margin-top: 16px;
  font-weight: 600;
  color: var(--articles-accent);
}

.article-comments,
.article-related {
  width: min(860px, 92%);
  margin: 40px auto 0;
  background: var(--articles-card);
  border: 1px solid var(--articles-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.comment-note {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 0.9rem;
}

.comment-form input,
.comment-form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--articles-border);
  font-family: inherit;
}

.comment-list {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.comment-card {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--articles-border);
  background: #f8fafc;
}

.comment-card h4 {
  font-size: 0.95rem;
  color: var(--articles-ink);
  margin-bottom: 6px;
}

.comment-card p {
  color: var(--articles-muted);
  font-size: 0.95rem;
}

.article-related .article-grid {
  width: 100%;
  margin: 20px 0 0;
}

@media (max-width: 1024px) {
  .top-grid {
    grid-template-columns: 1fr;
  }

  .newsroom-meta {
    justify-self: start;
  }
}

@media (max-width: 960px) {
  .article-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .latest-item {
    grid-template-columns: 70px 1fr;
  }

  .article-card img {
    height: 160px;
  }
}
