/* === HERO SECTION WITH BACKGROUND + TRENDING TAG === */
.article-hero-section {
  position: relative;
  height: 340px;
  background-image: url('/images/camera-2792230_1280.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: fadeInHero 1.5s ease-in-out;
}

@keyframes fadeInHero {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.trending-label {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff0000;
  color: white;
  padding: 6px 12px;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 4px;
  z-index: 2;
}

.article-hero-overlay {
  background-color: rgba(0, 0, 0, 0.55);
  color: white;
  padding: 40px 20px;
  text-align: center;
  width: 100%;
}

.article-hero-overlay h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.article-hero-overlay .meta {
  font-size: 1rem;
  color: #ccc;
}

/* === ARTICLE BODY === */
.article-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  color: #222;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  animation: fadeInBody 1s ease-in-out;
}

@keyframes fadeInBody {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-article p {
  margin-bottom: 16px;
}

/* === SHARE BUTTONS === */
.share-buttons {
  margin-top: 24px;
}

.share-buttons button {
  background-color: red;
  color: white;
  padding: 8px 16px;
  margin-right: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.share-buttons button:hover {
  background-color: #b30000;
}

/* === SUGGESTED ARTICLES === */
.suggested-articles {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #eee;
}

.suggested-articles h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.suggested-articles ul {
  list-style: none;
  padding: 0;
}

.suggested-articles li {
  margin-bottom: 8px;
}

.suggested-articles a {
  text-decoration: none;
  color: #cc0000;
}

.suggested-articles a:hover {
  text-decoration: underline;
}

/* === NAVIGATION BUTTONS === */
.article-nav-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.article-nav-buttons a {
  background-color: #222;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.article-nav-buttons a:hover {
  background-color: #000;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .article-hero-section {
    height: 240px;
  }

  .article-hero-overlay h1 {
    font-size: 1.8rem;
  }

  .article-hero-overlay .meta {
    font-size: 0.9rem;
  }

  .trending-label {
    font-size: 0.8rem;
    padding: 4px 10px;
  }
}

@media (max-width: 480px) {
  .article-hero-section {
    height: 200px;
  }

  .article-hero-overlay h1 {
    font-size: 1.4rem;
  }

  .article-hero-overlay .meta {
    font-size: 0.8rem;
  }
}
