/* ========== MODERN NOTICIA STYLES ========== */

.article-wrapper {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  overflow: hidden; margin-bottom: 30px; border: 1px solid var(--gray-200);
}
.article-hero { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 25px; }
.article-hero img { width: 100%; height: auto; display: block; }
.article-lead {
  font-size: 16px; line-height: 1.7; color: var(--gray-800);
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 500;
}
.article-hero .hero-category {
  position: absolute; top: 16px; left: 16px;
  background: var(--primary); color: #fff; padding: 5px 16px;
  border-radius: 4px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; text-decoration: none; z-index: 2;
}
.article-content { padding: 30px 35px; }
.article-content h1 {
  font-size: 28px; font-weight: 800; color: var(--dark);
  line-height: 1.3; margin: 0 0 14px;
}
.article-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-bottom: 18px; margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px; color: var(--gray-600);
}
.article-meta i { margin-right: 5px; }

/* Share buttons */
.share-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 20px 0; padding: 16px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 6px; font-size: 13px;
  font-weight: 600; color: #fff; text-decoration: none;
  transition: var(--transition); border: none; cursor: pointer;
}
.share-btn:hover { opacity: 0.88; color: #fff; transform: translateY(-1px); }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25d366; }

.article-body { font-size: 16px; line-height: 1.8; color: var(--gray-800); }
.article-body p { margin-bottom: 16px; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }

/* Gallery */
.gallery-section { margin-top: 30px; }
.gallery-section h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item { border-radius: 8px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 140px; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.08); }

/* Related */
.related-section { margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--gray-200); }
.related-section h3 {
  font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 3px solid var(--primary); display: inline-block;
}
.related-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--gray-200); margin-bottom: 15px;
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card .rel-img { height: 140px; overflow: hidden; }
.related-card .rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.related-card:hover .rel-img img { transform: scale(1.06); }
.related-card .rel-body { padding: 12px; }
.related-card .rel-title { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--dark); margin: 0; }
.related-card .rel-title a { color: inherit; text-decoration: none; }
.related-card .rel-title a:hover { color: var(--primary); }

.not-found-box { text-align: center; padding: 60px 30px; }
.not-found-box h2 { font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.not-found-box p { color: var(--gray-600); margin-bottom: 20px; }
.not-found-box .btn-home {
  display: inline-block; background: var(--primary); color: #fff; padding: 10px 28px;
  border-radius: 6px; text-decoration: none; font-weight: 600; transition: var(--transition);
}
.not-found-box .btn-home:hover { background: var(--primary-dark); color: #fff; }

@media(max-width: 767px) {
  .article-content { padding: 20px; }
  .article-content h1 { font-size: 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .share-btn { padding: 7px 12px; font-size: 12px; }
}
