.news-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.news-hero h2 {
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.news-rss-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.news-rss-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 2rem 0;
}

.news-summary-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #667eea;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.news-card-media {
  flex: 0 0 auto;
}

.news-card-image-link {
  display: block;
}

.news-card-image {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.news-card-body {
  flex: 1;
  min-width: 0;
}

.news-summary-card:not(.news-summary-card--with-image) .news-card-body {
  width: 100%;
}

.news-article-featured {
  margin: 0 0 1.5rem;
  text-align: center;
}

.news-article-featured img {
  display: block;
  width: 100%;
  max-width: min(360px, 88vw);
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.news-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-summary-card h3 {
  color: #667eea;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.news-summary-card h3 a {
  color: inherit;
  text-decoration: none;
}

.news-summary-card h3 a:hover {
  text-decoration: underline;
}

.news-summary-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.news-card-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.65rem;
}

.news-card-link {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
}

.news-card-link:hover {
  background: #764ba2;
}

.news-status-message {
  text-align: center;
  color: #555;
  padding: 2rem 1rem;
}

.news-back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.news-back-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.news-article-title {
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.news-article-body {
  color: #444;
  line-height: 1.75;
}

.news-article-body p {
  margin-bottom: 1.1rem;
}

.news-article-body h2,
.news-article-body h3 {
  color: #667eea;
  margin: 1.5rem 0 0.75rem;
}

.news-article-body ul {
  margin: 0 0 1.1rem 1.25rem;
}

.news-screenshot-placeholder {
  background: #eef1ff;
  border: 2px dashed #667eea;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.25rem 0;
  color: #555;
  font-style: italic;
  text-align: center;
}

.news-article-figure {
  margin: 2rem auto;
  text-align: center;
  max-width: 100%;
}

.news-article-figure img {
  display: block;
  width: 100%;
  max-width: min(360px, 88vw);
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.news-article-figure figcaption {
  max-width: min(360px, 88vw);
  margin: 0.75rem auto 0;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .news-card-layout {
    gap: 1rem;
  }

  .news-card-image {
    width: 88px;
    height: 88px;
  }
}
