/**
 * U-Home Design System — Trang Tin Tức & Chi Tiết Bài Viết Stylesheet
 * Brand Colors: Primary Red #e4181f, Slate Navy #14202e, Solar Amber #ffa724, Eco Green #12a150
 * Zero static inline styles. Fully responsive.
 */

/* ── 1. HERO SECTION & BENTO SPOTLIGHT (TIN TỨC) ── */
.uh-news-hero-section {
  position: relative;
  background: linear-gradient(180deg, #fff7f3 0%, #ffffff 100%);
  border-bottom: 1px solid #eef1f4;
  padding: 32px 0 48px;
  overflow: hidden;
}

.uh-news-hero-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(228, 24, 31, 0.05) 0%, rgba(255, 167, 36, 0.03) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.uh-news-breadcrumb {
  font-size: 13.5px;
  color: #7a8895;
  margin-bottom: 24px;
}
.uh-news-breadcrumb a {
  color: #7a8895;
  text-decoration: none;
  transition: color 0.18s;
}
.uh-news-breadcrumb a:hover {
  color: #e4181f;
}

.uh-news-hero-bento {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  align-items: stretch;
}

/* Bài viết Spotlight chính (Hero Bento Left) */
.uh-bento-featured-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #14202e;
  box-shadow: 0 12px 36px rgba(20, 32, 46, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.uh-bento-featured-card:hover {
  box-shadow: 0 18px 44px rgba(20, 32, 46, 0.18);
}

.uh-bento-featured-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  z-index: 1;
}
.uh-bento-featured-card:hover .uh-bento-featured-bg {
  transform: scale(1.04);
}

.uh-bento-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 46, 0.15) 0%, rgba(20, 32, 46, 0.6) 45%, rgba(20, 32, 46, 0.95) 100%);
  z-index: 2;
}

.uh-bento-featured-content {
  position: relative;
  z-index: 3;
  padding: 32px;
  color: #ffffff;
}

.uh-bento-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.uh-spotlight-badge {
  background: #e4181f;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.uh-spotlight-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: uh-pulse 1.8s infinite;
}

@keyframes uh-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.uh-bento-featured-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.uh-bento-featured-card:hover .uh-bento-featured-title {
  color: #ffd4d5;
}

.uh-bento-featured-excerpt {
  font-size: 14.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uh-bento-featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: #94a3b8;
}
.uh-bento-author-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 600;
}
.uh-author-avatar-xs {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  object-fit: cover;
  background: #334155;
}

/* Bài viết Trending phụ (Hero Bento Right) */
.uh-news-bento-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.uh-bento-side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.uh-bento-side-heading {
  font-size: 16px;
  font-weight: 800;
  color: #14202e;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.uh-bento-side-heading::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffa724;
}

.uh-bento-side-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid #eef1f4;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 16px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(20, 32, 46, 0.04);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.uh-bento-side-card:hover {
  border-color: #ffd4d5;
}
.uh-bento-side-thumb-wrap {
  width: 140px;
  min-width: 140px;
  height: 100%;
  min-height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}
.uh-bento-side-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.uh-bento-side-card:hover .uh-bento-side-thumb {
  transform: scale(1.05);
}

.uh-bento-side-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.uh-bento-side-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #14202e;
  margin: 6px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s;
}
.uh-bento-side-card:hover .uh-bento-side-title {
  color: #e4181f;
}
.uh-bento-side-meta {
  font-size: 12px;
  color: #7a8895;
  display: flex;
  align-items: center;
  gap: 10px;
}


/* ── 2. BỘ LỌC TỐI GIẢN HIỆN ĐẠI (APPLE / VERCEL STYLE) ── */
.uh-news-filter-wrapper {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Header: Heading + Search */
.uh-news-filter-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.uh-news-filter-heading-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uh-news-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #e4181f;
  background: transparent;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.uh-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e4181f;
}

.uh-news-filter-title {
  font-size: 22px;
  font-weight: 800;
  color: #14202e;
  margin: 0;
  letter-spacing: -0.3px;
}

/* Ô tìm kiếm Apple/Vercel Style */
.uh-news-search-bar {
  position: relative;
  width: 360px;
  max-width: 100%;
  display: flex;
  align-items: center;
}

.uh-news-search-input {
  width: 100%;
  height: 46px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  padding: 0 44px 0 42px;
  font-size: 13.5px;
  font-family: inherit;
  color: #14202e;
  outline: none;
  box-shadow: 0 2px 10px rgba(20, 32, 46, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.uh-news-search-input:hover {
  border-color: #cbd5e1;
}

.uh-news-search-input:focus {
  border-color: #e4181f;
  background: #ffffff;
}

.uh-news-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.uh-news-search-clear {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  text-decoration: none;
}
.uh-news-search-clear:hover {
  background: #e4181f;
  color: #ffffff;
}

.uh-news-search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.uh-news-search-submit:hover {
  background: #e4181f;
  color: #ffffff;
}

/* Dải Segmented Category Track (Apple / Vercel pill rail) */
.uh-news-segmented-nav {
  background: #f8fafc;
  padding: 5px;
  border-radius: 16px;
  border: 1px solid #eef1f6;
  box-shadow: inset 0 1px 3px rgba(20, 32, 46, 0.02);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.uh-news-segmented-nav::-webkit-scrollbar {
  display: none;
}

.uh-news-segmented-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  width: 100%;
}

.uh-segmented-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #4a5a6b;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
  background: transparent;
  white-space: nowrap;
  flex: 1 0 auto;
}

.uh-segmented-item:hover {
  color: #14202e;
  background: rgba(255, 255, 255, 0.7);
}

.uh-segmented-item.active {
  background: #ffffff;
  color: #e4181f;
  font-weight: 700;
  border-color: rgba(228, 24, 31, 0.15);
  box-shadow: 0 2px 8px rgba(20, 32, 46, 0.06), 0 1px 2px rgba(20, 32, 46, 0.03);
}

.uh-segmented-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(20, 32, 46, 0.06);
  color: #64748b;
  transition: all 0.2s;
}

.uh-segmented-item.active .uh-segmented-count {
  background: #fff1f1;
  color: #e4181f;
}

.uh-segmented-item:hover:not(.active) .uh-segmented-count {
  background: rgba(20, 32, 46, 0.1);
  color: #14202e;
}

/* Fallback legacy class */
.uh-news-filter-panel {
  display: none;
}

/* ── 3. LƯỚI BÀI VIẾT CHÍNH (ARTICLES GRID) ── */
.uh-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.uh-news-card {
  background: #ffffff;
  border: 1px solid #eef1f4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(20, 32, 46, 0.05);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.uh-news-card:hover {
  box-shadow: 0 16px 36px rgba(20, 32, 46, 0.09);
  border-color: #ffd4d5;
}

.uh-news-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  background: #f1f5f9;
  overflow: hidden;
}
.uh-news-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.uh-news-card:hover .uh-news-card-thumb {
  transform: scale(1.05);
}

.uh-news-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.uh-news-card-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.uh-news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #7a8895;
  margin-bottom: 10px;
}

.uh-news-card-title {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.45;
  color: #14202e;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s;
}
.uh-news-card:hover .uh-news-card-title {
  color: #e4181f;
}

.uh-news-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #4a5a6b;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.uh-news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
}
.uh-news-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #14202e;
  font-weight: 600;
}
.uh-news-read-more {
  color: #e4181f;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.18s;
}
.uh-news-card:hover .uh-news-read-more {
  transform: translateX(3px);
}


/* ── 4. NEWSLETTER SUBSCRIPTION CARD ── */
.uh-newsletter-box {
  background: linear-gradient(135deg, #14202e 0%, #1a293b 100%);
  border-radius: 24px;
  padding: 44px 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 32, 46, 0.14);
}
.uh-newsletter-box::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(228, 24, 31, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.uh-newsletter-title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}
.uh-newsletter-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 520px;
}
.uh-newsletter-form {
  display: flex;
  gap: 10px;
  min-width: 380px;
  position: relative;
  z-index: 2;
}
.uh-newsletter-input {
  flex: 1;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  color: #ffffff;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}
.uh-newsletter-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: #e4181f;
  box-shadow: 0 0 0 3px rgba(228, 24, 31, 0.25);
}
.uh-newsletter-input::placeholder {
  color: #94a3b8;
}


/* ── 5. BỐ CỤC TRANG CHI TIẾT BÀI VIẾT (`tin-chi-tiet.html`) ── */
.uh-article-header-section {
  background: linear-gradient(180deg, #fff7f3 0%, #ffffff 100%);
  border-bottom: 1px solid #eef1f4;
  padding: 32px 0 40px;
}

.uh-article-h1 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.32;
  color: #14202e;
  margin: 16px 0 20px;
  letter-spacing: -0.015em;
}

.uh-article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eef1f4;
}

.uh-article-author-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}
.uh-article-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #e2e8f0;
}
.uh-article-author-name {
  font-size: 15px;
  font-weight: 800;
  color: #14202e;
}
.uh-article-author-role {
  font-size: 12.5px;
  color: #7a8895;
}

.uh-article-stats-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: #7a8895;
}

.uh-article-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  padding: 40px 0 60px;
  align-items: start;
}

.uh-article-main {
  min-width: 0;
}

/* Hộp Key Takeaways */
.uh-key-takeaways-box {
  background: #fff8f0;
  border: 1px solid #fed7aa;
  border-left: 5px solid #e4181f;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 32px;
}
.uh-key-takeaways-title {
  font-size: 16px;
  font-weight: 800;
  color: #8a3809;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.uh-key-takeaways-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.uh-key-takeaways-item {
  font-size: 14.5px;
  line-height: 1.6;
  color: #14202e;
  position: relative;
  padding-left: 24px;
}
.uh-key-takeaways-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #12a150;
  font-weight: 800;
  font-size: 14px;
}

/* Hộp Mục Lục (Table of Contents) */
.uh-toc-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.uh-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.uh-toc-title {
  font-size: 15px;
  font-weight: 800;
  color: #14202e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.uh-toc-toggle {
  font-size: 12px;
  color: #e4181f;
  font-weight: 700;
}
.uh-toc-list {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.uh-toc-item {
  font-size: 14px;
  line-height: 1.5;
}
.uh-toc-link {
  color: #4a5a6b;
  text-decoration: none;
  transition: all 0.18s;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.uh-toc-link:hover {
  color: #e4181f;
  padding-left: 4px;
}
.uh-toc-num {
  font-weight: 700;
  color: #7a8895;
  font-size: 12.5px;
}

/* Typography Bài viết chi tiết */
.uh-article-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
}
.uh-article-body p {
  margin-bottom: 22px;
}
.uh-lead-p {
  font-size: 18.5px;
  line-height: 1.75;
  font-weight: 500;
  color: #14202e;
  margin-bottom: 28px;
}
.uh-article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: #14202e;
  margin: 38px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #fff1f1;
  scroll-margin-top: 100px;
}
.uh-article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #14202e;
  margin: 28px 0 12px;
  scroll-margin-top: 100px;
}
.uh-article-body ul, .uh-article-body ol {
  margin: 0 0 24px 20px;
  padding-left: 0;
}
.uh-article-body li {
  margin-bottom: 10px;
}

/* Quote Callout */
.uh-quote-box {
  background: #f8fafc;
  border-left: 4px solid #e4181f;
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin: 32px 0;
  font-style: italic;
}
.uh-quote-text {
  font-size: 17px;
  line-height: 1.7;
  color: #14202e;
  font-weight: 600;
  margin-bottom: 10px;
}
.uh-quote-author {
  font-size: 13.5px;
  font-weight: 700;
  color: #7a8895;
  font-style: normal;
}

/* Article Illustrations & Figures */
.uh-article-figure {
  margin: 32px 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #eef1f4;
  box-shadow: 0 6px 24px rgba(20, 32, 46, 0.06);
}
.uh-article-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.uh-article-figcaption {
  padding: 12px 20px;
  font-size: 13.5px;
  color: #64748b;
  font-style: italic;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  line-height: 1.5;
}

/* Bảng dữ liệu trong bài viết */
.uh-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 32, 46, 0.04);
}
.uh-data-table th {
  background: #14202e;
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 700;
  text-align: left;
}
.uh-data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eef1f4;
  color: #4a5a6b;
}
.uh-data-table tr:hover td {
  background: #f8fafc;
}

/* Cụm Tags cuối bài */
.uh-article-tags-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 28px;
  padding-top: 24px;
  border-top: 1px solid #eef1f4;
}
.uh-tags-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #14202e;
}
.uh-article-tag {
  background: transparent;
  border: 1px solid #4a5a6b;
  color: #4a5a6b;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.18s;
}
.uh-article-tag:hover {
  background: #e4181f;
  color: #ffffff;
}

/* Social Share Bar */
.uh-social-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 36px;
}
.uh-share-label {
  font-size: 14px;
  font-weight: 700;
  color: #14202e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.uh-share-btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.uh-share-btn {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #4a5a6b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s;
  font-family: inherit;
}
.uh-share-btn:hover {
  border-color: #e4181f;
  color: #e4181f;
  background: #fff1f1;
}

/* Author Bio Card */
.uh-author-bio-card {
  background: #ffffff;
  border: 1px solid #eef1f4;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  gap: 22px;
  box-shadow: 0 4px 20px rgba(20, 32, 46, 0.05);
  margin-bottom: 48px;
}
.uh-author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  border: 3px solid #fff1f1;
  background: #ffffff;
  padding: 8px;
  flex-shrink: 0;
}
.uh-author-bio-info {
  flex: 1;
}
.uh-author-bio-name {
  font-size: 18px;
  font-weight: 800;
  color: #14202e;
  margin-bottom: 4px;
}
.uh-author-bio-role {
  font-size: 13px;
  color: #e4181f;
  font-weight: 700;
  margin-bottom: 8px;
}
.uh-author-bio-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}


/* ── 6. CỘT STICKY SIDEBAR (30%) ── */
.uh-article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.uh-sidebar-card {
  background: #ffffff;
  border: 1px solid #eef1f4;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(20, 32, 46, 0.04);
}
.uh-sidebar-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #14202e;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff1f1;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar Form Tư Vấn Nhanh */
.uh-sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.uh-sidebar-input {
  width: 100%;
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: #14202e;
  outline: none;
  transition: all 0.18s;
  box-sizing: border-box;
}
.uh-sidebar-input:focus {
  border-color: #e4181f;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(228, 24, 31, 0.1);
}
.uh-sidebar-select {
  width: 100%;
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: #14202e;
  outline: none;
  box-sizing: border-box;
}

/* Sidebar Top Trending Articles */
.uh-trending-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.uh-trending-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.18s;
}
.uh-trending-item:hover {
  transform: translateX(4px);
}
.uh-trending-rank {
  font-size: 20px;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  min-width: 26px;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
}
.uh-trending-item:nth-child(1) .uh-trending-rank {
  color: #e4181f;
}
.uh-trending-item:nth-child(2) .uh-trending-rank {
  color: #ffa724;
}
.uh-trending-item:nth-child(3) .uh-trending-rank {
  color: #14202e;
}

.uh-trending-info {
  flex: 1;
}
.uh-trending-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #14202e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s;
}
.uh-trending-item:hover .uh-trending-title {
  color: #e4181f;
}
.uh-trending-date {
  font-size: 11.5px;
  color: #7a8895;
  margin-top: 4px;
}


/* ── 7. BÀI VIẾT LIÊN QUAN (RELATED ARTICLES) ── */
.uh-related-section {
  background: #f8fafc;
  border-top: 1px solid #eef1f4;
  padding: 56px 0;
}
.uh-related-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.uh-related-heading {
  font-size: 24px;
  font-weight: 800;
  color: #14202e;
}


/* ── 8. TOAST NOTIFICATION ── */
.uh-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #14202e;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.uh-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.uh-toast-icon {
  background: #12a150;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}


/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1024px) {
  .uh-news-hero-bento {
    grid-template-columns: 1fr;
  }
  .uh-bento-featured-card {
    min-height: 380px;
  }
  .uh-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .uh-article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .uh-article-sidebar {
    position: static;
  }
  .uh-newsletter-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
  }
  .uh-newsletter-form {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .uh-news-grid {
    grid-template-columns: 1fr;
  }
  .uh-news-filter-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .uh-news-search-bar {
    width: 100%;
  }
  .uh-news-segmented-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 5px;
    border-radius: 14px;
  }
  .uh-news-segmented-nav::-webkit-scrollbar {
    display: none;
  }
  .uh-news-segmented-track {
    flex-wrap: nowrap;
    width: max-content;
  }
  .uh-segmented-item {
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 13px;
  }
  .uh-bento-side-card {
    flex-direction: column;
  }
  .uh-bento-side-thumb-wrap {
    width: 100%;
    height: 160px;
  }
  .uh-newsletter-form {
    flex-direction: column;
  }
  .uh-author-bio-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .uh-social-share-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ── 8. CATEGORY & TAG BANNER (NGỮ CẢNH TIN TỨC) ── */
.uh-news-cat-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fff7f3 100%);
  border: 1px solid #fee2e2;
  border-radius: 20px;
  padding: 30px 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.uh-news-cat-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #e4181f 0%, #ffa724 100%);
}
.uh-news-cat-title {
  font-size: 26px;
  font-weight: 800;
  color: #14202e;
  margin: 10px 0 8px;
  line-height: 1.3;
}
.uh-news-cat-desc {
  font-size: 14.5px;
  color: #4a5a6b;
  margin-bottom: 16px;
  line-height: 1.6;
  max-width: 820px;
}
.uh-news-cat-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── 9. MAGAZINE LAYOUT (2 CỘT: 68% CONTENT + 32% STICKY SIDEBAR) ── */
.uh-news-magazine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}
.uh-news-main-col {
  min-width: 0;
}
.uh-news-magazine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.uh-news-sidebar-col {
  min-width: 0;
}
.uh-news-sidebar-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SIDEBAR WIDGETS */
.uh-news-sidebar-widget {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eef1f6;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(20, 32, 46, 0.04);
}
.uh-news-lead-widget {
  border-top: 4px solid #e4181f;
  background: linear-gradient(180deg, #ffffff 0%, #fffcfc 100%);
}
.uh-news-hotline-widget {
  background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
  border: 1px solid #fee2e2;
  position: relative;
  overflow: hidden;
}
.uh-news-hotline-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #e4181f 0%, #ffa724 100%);
}
.uh-news-widget-title {
  font-size: 16px;
  font-weight: 700;
  color: #14202e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.uh-news-widget-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}
.uh-news-cloud-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.uh-news-cloud-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid #4a5a6b;
  font-size: 12.5px;
  font-weight: 600;
  color: #4a5a6b;
  text-decoration: none;
  transition: all 0.2s ease;
}
.uh-news-cloud-tag:hover {
  background: transparent;
  border: 1px solid #e4181f;
  border-color: #e4181f;
  color: #e4181f;
  transform: translateY(-1px);
}
.uh-news-cloud-tag-count {
  font-size: 11px;
  color: #94a3b8;
  background: transparent;
  border: 1px solid #94a3b8;
  padding: 1px 6px;
  border-radius: 6px;
}
.uh-news-cloud-tag:hover .uh-news-cloud-tag-count {
  color: #e4181f;
  background: transparent;
  border: 1px solid #e4181f;
}

@media (max-width: 992px) {
  .uh-news-magazine-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .uh-news-sidebar-sticky {
    position: static;
  }
}
@media (max-width: 640px) {
  .uh-news-magazine-grid {
    grid-template-columns: 1fr;
  }
  .uh-news-cat-banner {
    padding: 20px;
  }
  .uh-news-cat-title {
    font-size: 20px;
  }
}
