/* ===== NEWS DETAIL ===== */

/* News Detail Section */
.news-detail {
  padding: 40px 0;
}


/* News List */
.news-list {
  display: grid;
  gap: 24px;
  margin-bottom: 20px;
  padding: 10px 0;
}




/* ===== NEWS DETAIL ===== */
.news-detail {
  padding: 40px 0;
}

.detail-article {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .detail-article {
    padding: 15px;
  }
}

.detail-article__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e5e7eb;
}

.detail-article__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #6b7280;
  flex-wrap: wrap;
}

.detail-article__category {
  padding: 6px 14px;
  background: white;
  box-shadow: 0 0 2px 0 var(--bv-secondary);
  color: var(--bv-secondary);
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-article__date,
.detail-article__views {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-article__date i,
.detail-article__views i {
  font-size: 18px;
}

.detail-article__title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .detail-article__title {
    font-size: 28px;
  }
}

.detail-article__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-article__author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.detail-article__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-article__author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-article__author-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.detail-article__author-role {
  font-size: 13px;
  color: #6b7280;
}

.detail-article__featured-image {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
}

.detail-article__featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-article__body {
  margin-bottom: 32px;
}

.detail-article__lead {
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(230, 160, 4, 0.05);
  border-left: 4px solid var(--color-1);
  border-radius: 8px;
}

.detail-article__tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
  margin-top: 20px;
}

.detail-article__tags-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.detail-article__tags-label i {
  color: var(--color-1);
}

.detail-article__tag {
  padding: 6px 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #374151;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.detail-article__tag:hover {
  background: rgba(230, 160, 4, 0.1);
  border-color: var(--color-1);
  color: var(--color-1);
}

.detail-article__share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-article__share-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.detail-article__share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.detail-article__share-btn i {
  font-size: 18px;
}

.detail-article__share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-article__share-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.detail-article__share-btn--zalo:hover {
  background: #0068ff;
  border-color: #0068ff;
  color: #fff;
}

.detail-article__share-btn--copy:hover {
  background: var(--bg-linear);
  border-color: var(--color-1);
  color: #fff;
}



/* News Sidebar */
.sidebar-box {
  position: sticky;
  top: 100px;
}

.news-sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.news-sidebar__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.news-sidebar__title i {
  color: var(--color-1);
  font-size: 24px;
}

.news-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-sidebar__item {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.news-sidebar__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-sidebar__image-link {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.news-sidebar__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-sidebar__image-link:hover .news-sidebar__image {
  transform: scale(1.05);
}

.news-sidebar__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-sidebar__item-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.4;
}

.news-sidebar__item-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-sidebar__item-title a:hover {
  color: var(--bv-primary);
}

.news-sidebar__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  flex-wrap: wrap;
}

.news-sidebar__date {
  color: #6b7280;
}

.news-sidebar__separator {
  opacity: 0.5;
}

.news-sidebar__views {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ef4444;
  font-weight: 600;
}

.news-sidebar__views i {
  font-size: 14px;
  color: #ef4444;
}

.news-sidebar__newsletter {
  background: var(--bg-linear);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: #fff;
}

.news-sidebar__newsletter-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-sidebar__newsletter-icon i {
  font-size: 30px;
}

.news-sidebar__newsletter-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.news-sidebar__newsletter-text {
  font-size: 14px;
  margin: 0 0 20px 0;
  opacity: 0.9;
}

.news-sidebar__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-sidebar__newsletter-input {
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
}

.news-sidebar__newsletter-btn {
  padding: 12px 24px;
  background: #fff;
  color: var(--color-1);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.news-sidebar__newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-sidebar__newsletter-btn i {
  font-size: 18px;
}