/* ==========================================================================
   TẠP CHÍ Y DƯỢC HỌC - HIỆP HỘI Y DƯỢC QUỐC TẾ (MASTER PORTAL STYLESHEET - EXPANDED SIZE)
   ========================================================================== */

:root {
  --primary-red: #cd262d;
  --primary-red-hover: #b01f25;
  --navy-blue: #446084;
  --navy-dark: #334862;
  --text-dark: #1a1a1a;
  --text-gray: #4b5563;
  --text-muted: #6b7280;
  --dark-bg: #222225;
  --dark-bg-card: #2c2c30;
  --border-light: #e5e7eb;
  --border-dashed: #d1d5db;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1320px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

.relative-z {
  position: relative;
  z-index: 2;
}

.hide-on-mobile {
  display: flex !important;
}

.show-on-mobile {
  display: none !important;
}

/* ==========================================================================
   OFF-CANVAS MOBILE DRAWER (HIDDEN BY DEFAULT)
   ========================================================================== */

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 99999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: var(--primary-red);
  color: #ffffff;
}

.drawer-logo {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

.drawer-search {
  padding: 14px 18px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.drawer-search form {
  position: relative;
  width: 100%;
}

.drawer-search input {
  width: 100%;
  padding: 9px 38px 9px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13.5px;
  outline: none;
}

.drawer-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #64748b;
  font-size: 14px;
}

.drawer-menu {
  padding: 10px 0;
}

.drawer-menu li a {
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.drawer-menu li a:hover {
  background-color: #fef2f2;
  color: var(--primary-red);
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  background: var(--primary-red);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-lang {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   1. HEADER & TOPBAR (SCREENSHOT 1)
   ========================================================================== */

.site-header {
  position: relative;
  background: #ffffff;
  z-index: 1000;
}

.header-main {
  padding: 14px 0;
  background: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

/* Logo */
.logo-box .logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-circle-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fdf5f5;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .sub-title {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  color: #4b6584;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.logo-text .main-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  line-height: 1.25;
}

/* Search Header */
.header-search {
  flex: 1;
  max-width: 440px;
}

.search-input-group {
  position: relative;
  width: 100%;
}

.search-input-group input {
  width: 100%;
  padding: 9px 42px 9px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  background-color: #f8fafc;
  transition: var(--transition);
}

.search-input-group input:focus {
  border-color: var(--primary-red);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(205, 38, 45, 0.12);
}

.search-input-group button {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 15px;
  cursor: pointer;
}

.search-input-group button:hover {
  color: var(--primary-red);
}

/* Header Contact Info */
.header-info {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-sans);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: #334155;
}

.info-item i {
  color: #64748b;
  font-size: 15px;
}

.info-item a.info-val:hover {
  color: var(--primary-red);
}

/* Navigation Bar (Red) */
.main-navigation {
  background-color: var(--primary-red);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.nav-menu > li:hover > a,
.nav-menu > li.active > a {
  background-color: var(--primary-red-hover);
}

.nav-home-item a.home-btn-icon {
  padding: 14px 20px;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.12);
}

/* Sub-menu Dropdown */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border-top: 3px solid var(--primary-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.has-dropdown:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  font-family: var(--font-sans);
  display: block;
  padding: 11px 18px;
  color: #333333;
  font-size: 13.5px;
  border-bottom: 1px solid #f1f5f9;
}

.sub-menu li a:hover {
  background-color: #fdf5f5;
  color: var(--primary-red);
  padding-left: 22px;
}

/* Nav Socials */
.nav-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon {
  color: #ffffff;
  font-size: 15px;
  opacity: 0.9;
  transition: var(--transition);
}

.social-icon:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* ==========================================================================
   2. TICKER BAR (SCREENSHOT 1)
   ========================================================================== */

.section-ticker-bar {
  background-color: #f8fafc;
  padding: 9px 0;
  border-bottom: 1px solid #e2e8f0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticker-left-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  overflow: hidden;
}

.ticker-cal-icon {
  color: #64748b;
  font-size: 17px;
  flex-shrink: 0;
}

.ticker-text-wrapper {
  position: relative;
  height: 24px;
  flex: 1;
  overflow: hidden;
}

.ticker-text-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 13.5px;
  color: #1e293b;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.ticker-text-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ticker-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ticker-nav-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.ticker-nav-btn:hover {
  background-color: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

.ticker-right-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #475569;
  flex-shrink: 0;
}

.tab-link {
  color: #475569;
  font-weight: 500;
}

.tab-link.active,
.tab-link:hover {
  color: var(--primary-red);
}

.ticker-right-tabs .sep {
  color: #cbd5e1;
}

.tab-dropdown-arrow {
  color: #64748b;
  font-size: 11px;
}

/* ==========================================================================
   3. SECTION: TIN TỨC NỔI BẬT + TIN HOẠT ĐỘNG (DARK THEME - EXPANDED)
   ========================================================================== */

.section-featured-dark {
  background-color: var(--dark-bg);
  position: relative;
  padding: 35px 0 45px 0;
  overflow: hidden;
  color: #ffffff;
}

.featured-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
}

.featured-bg-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
}

.dark-section-heading {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

/* Left col: Hero + 4 sub posts */
.featured-content-split {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 28px;
}

.hero-featured-post .hero-thumb {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  height: 380px;
  background-color: #111;
}

.hero-featured-post .hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-featured-post:hover .hero-thumb img {
  transform: scale(1.04);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.38;
  color: #ffffff;
}

.hero-title a:hover {
  color: #fca5a5;
}

.dark-post-meta {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.dark-post-meta i {
  color: #64748b;
}

.dark-post-meta .cat-link {
  color: #ef4444;
  font-weight: 600;
}

.dark-post-meta .cat-link:hover {
  text-decoration: underline;
}

.hero-excerpt {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 4 Sub posts list */
.hero-sub-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dark-sub-item {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.dark-sub-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sub-thumb {
  width: 135px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background-color: #111;
}

.sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dark-sub-item:hover .sub-thumb img {
  transform: scale(1.06);
}

.sub-cnt h4 {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.sub-cnt h4 a:hover {
  color: #fca5a5;
}

/* Right Col: TIN HOẠT ĐỘNG */
.featured-right-col {
  border-left: 1px dashed rgba(255, 255, 255, 0.2);
  padding-left: 30px;
}

.dark-activity-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dark-activity-item {
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.dark-activity-item:last-child {
  border-bottom: none;
}

.dark-activity-item .act-thumb {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  height: 190px;
  background-color: #111;
}

.dark-activity-item .act-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dark-activity-item .act-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.dark-activity-item .act-title a:hover {
  color: #fca5a5;
}

/* ==========================================================================
   4. CATEGORIES SECTION (EXPANDED PROPORTIONS)
   ========================================================================== */

.section-categories-main {
  padding: 35px 0 45px 0;
  background-color: #ffffff;
}

.main-sidebar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 34px;
}

/* Category Block Header */
.cat-section-block {
  margin-bottom: 45px;
  border-top: 4px solid var(--primary-red);
  padding-top: 18px;
}

.cat-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cat-block-title {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cat-view-all {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-blue);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-view-all:hover {
  color: var(--primary-red);
}

/* Posts Split inside Category */
.cat-posts-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.cat-hero-thumb {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  height: 360px;
  background-color: #f1f5f9;
}

.cat-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cat-hero-card:hover .cat-hero-thumb img {
  transform: scale(1.04);
}

.cat-hero-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--text-dark);
}

.light-post-meta {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.light-post-meta i {
  color: #94a3b8;
}

.light-post-meta .cat-name {
  color: var(--primary-red);
  font-weight: 600;
}

.cat-hero-excerpt {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-gray);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right 3 Posts */
.cat-side-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cat-side-item {
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-dashed);
}

.cat-side-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cat-side-item.has-thumb {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-thumb {
  border-radius: 4px;
  overflow: hidden;
  height: 190px;
  background-color: #f1f5f9;
}

.side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cat-side-item:hover .side-thumb img {
  transform: scale(1.04);
}

.cat-side-item h4 {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
}

/* ==========================================================================
   5. SIDEBAR WIDGETS
   ========================================================================== */

.sidebar-box-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  margin-bottom: 25px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.side-box-heading {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 16px;
  background-color: var(--navy-blue);
  color: #ffffff;
  text-transform: uppercase;
}

.side-box-heading.red-header {
  background-color: var(--primary-red);
}

.side-announcements {
  padding: 14px 16px;
}

.ann-item {
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.ann-item:last-child {
  border-bottom: none;
}

.ann-item h4 {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
}

.side-dropdown-wrap,
.side-dict-wrap,
.side-stat-box {
  padding: 16px;
}

.custom-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  outline: none;
}

.dict-input-row {
  display: flex;
  position: relative;
}

.dict-input-row input {
  width: 100%;
  padding: 9px 38px 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13px;
}

.dict-input-row button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
}

.dict-result {
  margin-top: 10px;
  padding: 12px;
  background: #f8fafc;
  border-left: 3px solid var(--navy-blue);
  font-size: 13px;
}

.side-mag-cover {
  padding: 16px;
  text-align: center;
}

.side-mag-cover img {
  max-width: 185px;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.vst-count {
  font-family: var(--font-sans);
  font-size: 13.5px;
  margin-bottom: 12px;
}

.bbt-banner-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bbt-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy-blue);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.bbt-banner-btn:hover {
  background: var(--navy-dark);
  color: #fff;
}

.side-ads-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 25px;
}

.ad-img-box img {
  width: 100%;
  border-radius: 4px;
}

/* ==========================================================================
   6. SECTION: TIN HOẠT ĐỘNG FULL-WIDTH 8 CARDS (EXPANDED GRID)
   ========================================================================== */

.section-activity-grid {
  background-color: #f8fafc;
  padding: 40px 0 50px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.activity-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 14px;
}

.header-left-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.act-main-heading {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
}

.heading-divider {
  color: #cbd5e1;
  font-size: 20px;
}

.act-category-pills {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-btn {
  font-family: var(--font-sans);
  background-color: #e2e8f0;
  color: #334155;
  padding: 7px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover,
.pill-btn.active {
  background-color: var(--primary-red);
  color: #ffffff;
}

.act-view-all {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-blue);
  display: flex;
  align-items: center;
  gap: 6px;
}

.act-view-all:hover {
  color: var(--primary-red);
}

/* 8 Cards Grid: 4 cols x 2 rows */
.activity-cards-8-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.act-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  padding: 12px;
  transition: var(--transition);
}

.act-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: var(--primary-red);
}

.act-card-thumb {
  border-radius: 4px;
  overflow: hidden;
  height: 200px;
  margin-bottom: 10px;
  background-color: #f1f5f9;
}

.act-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.act-card-item:hover .act-card-thumb img {
  transform: scale(1.05);
}

.act-card-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.act-card-title a:hover {
  color: var(--primary-red);
}

.card-date-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   7. SECTION: THƯ VIỆN & ĐỐI TÁC
   ========================================================================== */

.section-library-gallery {
  padding: 40px 0;
  background-color: #ffffff;
}

.lib-header-bar {
  margin-bottom: 26px;
}

.lib-main-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
}

.lib-main-heading span {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  text-transform: none;
  margin-left: 12px;
}

.lib-issues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lib-issue-card {
  text-align: center;
}

.issue-thumb {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  margin-bottom: 12px;
  height: 330px;
}

.issue-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.lib-issue-card:hover .issue-thumb img {
  transform: scale(1.05);
}

.issue-name {
  font-weight: 700;
  font-size: 15px;
  margin-top: 6px;
}

.issue-sub {
  font-size: 12px;
  color: #64748b;
  display: block;
}

/* Partners */
.section-partners-logos {
  padding: 34px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.partners-heading {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.partners-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partner-logo-item img {
  height: 62px;
  width: auto;
  transition: transform 0.25s ease;
}

.partner-logo-item:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.footer-top-section {
  position: relative;
  padding: 38px 0 28px 0;
}

.footer-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
}

.footer-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.footer-title-sub {
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

.footer-title-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 12px;
}

.footer-col p {
  font-family: var(--font-sans);
  font-size: 13.5px;
  margin-bottom: 6px;
  color: #475569;
}

.footer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
}

.social-circle-btn:hover {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}

.footer-ad-box {
  margin-top: 14px;
}

.footer-ad-box .ad-title {
  font-weight: 700;
  color: var(--primary-red);
}

.footer-line-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 26px 0 14px 0;
}

.footer-center-note {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  font-family: var(--font-sans);
}

.absolute-footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #64748b;
}

.footer-abs-inner {
  display: flex;
  justify-content: space-between;
}

/* Modal Viewer */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 10000;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  max-width: 500px;
  width: 90%;
  border-radius: 6px;
  padding: 26px;
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
  color: #64748b;
}

.modal-img-wrap {
  max-width: 240px;
  margin: 16px auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.modal-notice {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #64748b;
  margin-top: 12px;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.btn-primary {
  background: var(--primary-red);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
}

.btn-secondary {
  background: #e2e8f0;
  border: none;
  padding: 9px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13.5px;
}

/* Back to top button */
.back-to-top-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  background-color: var(--primary-red);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 990;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   9. SUBPAGES & SINGLE POST DETAIL STYLES
   ========================================================================== */

.breadcrumb-wrapper {
  background-color: #f8fafc;
  border-bottom: 1px solid #eef2f6;
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.breadcrumb-content a { color: #64748b; }
.breadcrumb-content a:hover { color: var(--primary-red); }
.breadcrumb-content .sep { margin: 0 6px; color: #cbd5e1; }
.breadcrumb-content .current { color: var(--primary-red); font-weight: 600; }

.cat-page-heading {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.page-desc-lead {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: #64748b;
  margin-bottom: 28px;
}

.cat-nav-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.cat-filter-btn {
  font-family: var(--font-sans);
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.cat-filter-btn:hover,
.cat-filter-btn.active {
  background-color: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 35px;
}

.cat-page-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.cat-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  border-color: var(--primary-red);
}

.cat-page-card .card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.cat-page-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cat-page-card:hover .card-thumb img {
  transform: scale(1.05);
}

.card-cat-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(205, 38, 45, 0.95);
  color: #fff;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
}

.cat-page-card .card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-page-card .card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.cat-page-card .card-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #64748b;
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.cat-page-card .card-excerpt {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 35px 0;
}

.page-num {
  font-family: var(--font-sans);
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.page-num:hover,
.page-num.active {
  background-color: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

/* Single Post Details */
.tintuc-single-container {
  padding: 24px 16px 45px 16px;
}

.sliderss-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
  background-color: #f8fafc;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.sliderss-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  overflow: hidden;
}

.sliderss-item i { color: var(--primary-red); }
.sliderss-item a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 34px;
}

.post-header-wrap {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef0f2;
}

.post-badge-cat {
  display: inline-block;
  background-color: #fef2f2;
  color: var(--primary-red);
  border: 1px solid #fecaca;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.single-post-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.single-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
  font-family: var(--font-sans);
}

.meta-left { display: flex; gap: 16px; }
.meta-left i { color: var(--primary-red); }
.meta-share { display: flex; align-items: center; gap: 8px; }

.share-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

.share-btn.fb { background-color: #1877f2; }
.share-btn.x { background-color: #000000; }
.share-btn.print { background-color: #64748b; }

.ez-toc-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 16px 20px;
  margin: 20px 0 24px 0;
}

.ez-toc-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.ez-toc-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-dark);
}

.ez-toc-toggle-btn { background: none; border: none; color: #64748b; cursor: pointer; font-size: 14px; }

.ez-toc-list {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
}

.ez-toc-list > li { margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }

.article-lead-box {
  background: #fdf2f2;
  border-left: 4px solid var(--primary-red);
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.65;
}

.article-body-content { font-size: 15.5px; line-height: 1.85; }
.article-body-content p { margin-bottom: 18px; text-align: justify; }

.article-h2 {
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--primary-red);
  margin: 26px 0 14px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}

.article-figure {
  margin: 22px 0;
  text-align: center;
  background-color: #fafafa;
  border: 1px solid #eaeaea;
  padding: 8px;
  border-radius: 4px;
}

.article-figure figcaption {
  font-size: 12.5px;
  color: #64748b;
  font-style: italic;
  margin-top: 8px;
}

.quote-box {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.quote-box p { font-style: italic; font-size: 15px; color: #14532d; margin-bottom: 6px; }
.quote-author { font-size: 13px; font-weight: 600; color: #166534; }

.shareprint-bar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 0;
  margin-top: 28px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.btn-action-tool {
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-action-tool:hover {
  background-color: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
}

.related-section { margin-top: 35px; }
.related-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.related-item {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px;
  border-radius: 4px;
}

.related-item .thumb { width: 105px; height: 75px; flex-shrink: 0; border-radius: 3px; overflow: hidden; }
.related-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-item .content h4 {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.other-posts-list { display: flex; flex-direction: column; gap: 16px; }
.other-post-row { display: flex; gap: 16px; padding-bottom: 16px; border-bottom: 1px dashed #e2e8f0; }
.other-thumb { width: 155px; height: 105px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.other-thumb img { width: 100%; height: 100%; object-fit: cover; }
.other-content h4 { font-family: var(--font-serif); font-size: 14.5px; font-weight: 700; }
.other-content .excerpt {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Popular sidebar */
.popular-posts-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popular-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.rank-badge {
  width: 26px;
  height: 26px;
  background-color: #cbd5e1;
  color: #334155;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.popular-item.rank-1 .rank-badge { background-color: var(--primary-red); color: #fff; }
.popular-item:nth-child(2) .rank-badge { background-color: #ea580c; color: #fff; }
.popular-item:nth-child(3) .rank-badge { background-color: #0284c7; color: #fff; }

.pop-cnt h4 { font-family: var(--font-serif); font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.pop-date { font-size: 11.5px; color: #94a3b8; display: block; margin-top: 3px; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .featured-layout-grid,
  .main-sidebar-grid,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .featured-right-col {
    border-left: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    padding-left: 0;
    padding-top: 24px;
  }

  .activity-cards-8-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lib-issues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }

  .show-on-mobile {
    display: flex !important;
  }

  .featured-content-split,
  .cat-posts-split,
  .footer-grid,
  .category-cards-grid,
  .contact-grid-split,
  .form-row-2,
  .sliderss-row,
  .related-post-grid {
    grid-template-columns: 1fr;
  }

  .activity-cards-8-grid {
    grid-template-columns: 1fr;
  }

  .footer-abs-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .ticker-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   ADDITIONAL SUBPAGE EXPANDED STYLES (DOCUMENTS, ABOUT, CONTACT)
   ========================================================================== */

/* About Page */
.about-page-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 24px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
}

.about-section { margin-bottom: 35px; }
.about-section p { font-size: 15.5px; line-height: 1.85; margin-bottom: 16px; text-align: justify; }

.about-list li {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-list li i { color: #16a34a; margin-top: 4px; font-size: 16px; }

.bbt-table-wrap { overflow-x: auto; margin-top: 18px; }
.styled-bbt-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 14px; }
.styled-bbt-table th { background-color: var(--navy-blue); color: #ffffff; padding: 12px 16px; text-align: left; }
.styled-bbt-table td { padding: 12px 16px; border-bottom: 1px solid #e2e8f0; }
.styled-bbt-table tr:nth-child(even) { background-color: #f8fafc; }

/* Documents Table */
.doc-search-bar {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  background-color: #f8fafc;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.doc-search-bar input { flex: 1; padding: 10px 16px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 14px; }
.doc-search-bar select { width: 240px; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 14px; }
.doc-table-wrapper { overflow-x: auto; margin-bottom: 45px; }

.styled-doc-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 14px; }
.styled-doc-table th { background-color: var(--primary-red); color: #ffffff; padding: 14px 16px; text-align: left; }
.styled-doc-table td { padding: 14px 16px; border-bottom: 1px solid #e2e8f0; }
.styled-doc-table tr:hover { background-color: #fdf5f5; }

.badge-doc { padding: 4px 10px; border-radius: 3px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.badge-doc.tt { background: #dbeafe; color: #1e40af; }
.badge-doc.nd { background: #fef3c7; color: #92400e; }
.badge-doc.luat { background: #fee2e2; color: #991b1b; }
.badge-doc.qd { background: #e0e7ff; color: #3730a3; }

.btn-dl-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ef4444;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 600;
}

.btn-dl-pdf:hover { background-color: #dc2626; color: #ffffff; }

/* Contact Page */
.contact-grid-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}

.contact-form-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary-red); }

.btn-submit-contact {
  background-color: var(--primary-red);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-submit-contact:hover { background-color: var(--primary-red-hover); }

.contact-success-box {
  margin-top: 18px;
  background-color: #dcfce7;
  color: #166534;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
}

.contact-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 28px;
}

.office-item { margin-bottom: 16px; }
.office-item h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.office-item p { font-family: var(--font-sans); font-size: 13.5px; color: #475569; margin-top: 4px; }
.contact-map-wrap { margin-top: 20px; }

/* ==========================================================================
   SINGLE POST & ARTICLE SIDEBAR WIDGETS STYLES
   ========================================================================== */

.single-sidebar .sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  margin-bottom: 22px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.widget-heading {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.widget-heading.red-bg {
  background-color: var(--primary-red);
}

.widget-heading.blue-bg {
  background-color: var(--navy-blue);
}

.sidebar-search-box {
  padding: 14px;
}

.sidebar-search-box form {
  position: relative;
  width: 100%;
}

.sidebar-search-box input {
  width: 100%;
  padding: 9px 38px 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13.5px;
  outline: none;
}

.sidebar-search-box input:focus {
  border-color: var(--primary-red);
}

.sidebar-search-box button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
}

.sidebar-search-box button:hover {
  color: var(--primary-red);
}

.select-link-box {
  padding: 14px 16px;
}

.styled-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  outline: none;
  background-color: #f8fafc;
}

.styled-select:focus {
  border-color: var(--primary-red);
}

.magazine-highlight {
  padding: 16px;
  text-align: center;
}

.magazine-highlight .mag-cover {
  position: relative;
  max-width: 180px;
  margin: 0 auto 12px auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.magazine-highlight .mag-cover img {
  width: 100%;
  height: auto;
}

.magazine-highlight .mag-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.magazine-highlight .mag-name {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.magazine-highlight .mag-org {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #64748b;
  display: block;
  margin-top: 2px;
}

/* ==========================================================================
   WIDGET: TIN ĐỌC NHIỀU WITH LARGE NUMBER WATERMARK (EXACT SCREENSHOT MATCH)
   ========================================================================== */

.widget-popular-watermark {
  background-color: #f7f7f8;
  border: 1px solid #e8e8ea;
  border-radius: 4px;
  padding: 20px 18px 16px 18px;
  margin-bottom: 24px;
}

.popular-watermark-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-red);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.popular-watermark-list {
  display: flex;
  flex-direction: column;
}

.popular-watermark-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed #dcdcdc;
  min-height: 72px;
}

.popular-watermark-item:first-child {
  padding-top: 4px;
}

.popular-watermark-item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.popular-watermark-item .item-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1a1a;
  padding-right: 50px;
  z-index: 2;
  transition: color 0.2s ease;
}

.popular-watermark-item .item-title:hover {
  color: var(--primary-red);
}

.popular-watermark-item .item-num {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.085);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}
