/*
Theme Name: Dailoan.me
Theme URI: https://dailoan.me
Author: Dailoan Team
Author URI: https://dailoan.me
Description: Cộng đồng người Việt tại Đài Loan - Theme tin tức, việc làm, du học, visa
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dailoan
Tags: news, blog, vietnamese, taiwan, responsive
*/

/* ===== CSS VARIABLES ===== */
:root {
  --color-primary: #E8192C;
  --color-primary-dark: #C01020;
  --color-secondary: #1A3A6B;
  --color-dark: #0D1B2A;
  --color-text: #1a1a2e;
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;
  --color-border: #e5e7eb;
  --color-bg: #f8f9fa;
  --color-bg-white: #ffffff;
  --color-tag-chinh-sach: #E8192C;
  --color-tag-kinh-te: #2563eb;
  --color-tag-xa-hoi: #7c3aed;
  --color-tag-giao-duc: #059669;
  --color-tag-lao-dong: #d97706;
  --color-tag-giao-thong: #0891b2;
  --color-tag-cong-dong: #db2777;
  --color-tag-y-te: #dc2626;
  --font-main: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
  --font-heading: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --header-height: 110px;
  --container-width: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
  padding: 5px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.top-bar-left span i { color: var(--color-primary); font-size: 11px; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-right a {
  color: var(--color-text-muted);
  font-size: 12px;
  transition: color 0.2s;
}
.top-bar-right a:hover { color: var(--color-primary); }
.top-bar-social { display: flex; align-items: center; gap: 8px; }
.top-bar-social a {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-secondary);
  color: white;
  border-radius: 3px;
  font-size: 11px;
  transition: background 0.2s;
}
.top-bar-social a:hover { background: var(--color-primary); }

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-logo img { height: 48px; width: auto; }
.site-logo-text .logo-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-secondary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.site-logo-text .logo-name span { color: var(--color-primary); }
.site-logo-text .logo-tagline {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ===== MAIN NAV ===== */
.main-nav { flex: 1; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: flex-end;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a { color: var(--color-primary); }
.nav-menu > li.current-menu-item > a {
  border-bottom: 2px solid var(--color-primary);
  border-radius: 0;
}
.nav-menu > li > a .nav-home-icon { font-size: 14px; }
.nav-menu > li > a .caret {
  font-size: 9px;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-menu > li:hover > a .caret { transform: rotate(180deg); }
.header-search-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text);
  font-size: 16px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.header-search-btn:hover { color: var(--color-primary); background: var(--color-bg); }

/* ===== MEGA MENU ===== */
.has-megamenu { position: static !important; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-top: 2px solid var(--color-primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 24px 32px;
  display: none;
  z-index: 999;
  min-width: 700px;
}
.has-megamenu:hover .mega-menu { display: block; }
.mega-menu-inner {
  display: flex;
  gap: 32px;
}
.mega-col { flex: 1; min-width: 140px; }
.mega-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.mega-col-title i { font-size: 14px; }
.mega-col ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color 0.2s, padding-left 0.2s;
}
.mega-col ul li a::before { content: '›'; color: var(--color-primary); font-size: 14px; }
.mega-col ul li a:hover { color: var(--color-primary); padding-left: 4px; }
.mega-see-all {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
  border: 1px solid var(--color-primary);
  padding: 5px 12px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
.mega-see-all:hover { background: var(--color-primary); color: white; }

/* MEGA MENU - Simple dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-top: 2px solid var(--color-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 20px 24px;
  min-width: 560px;
  display: none;
  z-index: 999;
}
.nav-menu > li:hover .dropdown-menu { display: block; }
.dropdown-inner {
  display: flex;
  gap: 32px;
}
.dropdown-links { min-width: 180px; }
.dropdown-links h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.dropdown-links ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--color-text);
  transition: color 0.2s;
}
.dropdown-links ul li a::before { content: '›'; color: var(--color-primary); }
.dropdown-links ul li a:hover { color: var(--color-primary); }
.dropdown-featured { flex: 1; }
.dropdown-featured h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}
.dropdown-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.dropdown-article-card img {
  width: 100%; height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.dropdown-article-card p {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}
.dropdown-article-card p:hover { color: var(--color-primary); }
.dropdown-article-card .meta { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }
.dropdown-tags { margin-top: 12px; }
.dropdown-tags h4 { font-size: 12px; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-item {
  padding: 3px 10px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--color-text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.tag-item:hover { border-color: var(--color-primary); color: var(--color-primary); }
.dropdown-footer-link {
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  margin-top: 16px;
}
.dropdown-footer-link a {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dropdown-footer-link a:hover { text-decoration: underline; }

/* ===== CATEGORY BADGE ===== */
.cat-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  background: var(--color-primary);
}
.cat-badge.chinh-sach { background: var(--color-primary); }
.cat-badge.kinh-te { background: #2563eb; }
.cat-badge.xa-hoi { background: #7c3aed; }
.cat-badge.giao-duc { background: #059669; }
.cat-badge.lao-dong { background: #d97706; }
.cat-badge.giao-thong { background: #0891b2; }
.cat-badge.cong-dong { background: #db2777; }
.cat-badge.y-te { background: #dc2626; }
.cat-badge.tin-tuc { background: var(--color-secondary); }
.cat-badge.tin-noi-bat { background: var(--color-primary); }
.cat-badge.cuoc-song { background: #7c3aed; }
.cat-badge.kinh-nghiem { background: #d97706; }
.cat-badge.huong-dan { background: #059669; }

/* ===== META INFO ===== */
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-muted);
}
.post-meta span { display: flex; align-items: center; gap: 4px; }
.post-meta i { font-size: 11px; }

/* ===== ARTICLE CARD ===== */
.article-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card-img {
  position: relative;
  overflow: hidden;
}
.article-card-img img {
  width: 100%; height: 180px;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card:hover .article-card-img img { transform: scale(1.03); }
.article-card-img .cat-badge {
  position: absolute;
  top: 8px; left: 8px;
}
.article-card-body { padding: 12px; }
.article-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-title:hover { color: var(--color-primary); }

/* ===== HERO CARD (large featured) ===== */
.hero-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  padding: 20px;
  color: white;
}
.hero-card-overlay .cat-badge { margin-bottom: 8px; }
.hero-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: white;
  margin-bottom: 6px;
}
.hero-card-meta { font-size: 12px; color: rgba(255,255,255,0.75); display: flex; gap: 12px; }
.hero-card-desc { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 12px; line-height: 1.5; }
.btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: white;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
.btn-readmore:hover { background: var(--color-primary); color: white; }

/* ===== SLIDER NAV ===== */
.slider-dots {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.slider-dot.active {
  background: white;
  width: 20px;
  border-radius: 4px;
}

/* ===== SECTION HEADING ===== */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-heading h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading h2::after {
  content: '';
  display: block;
  width: 36px; height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-left: 8px;
}
.section-heading .see-all {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.section-heading .see-all:hover { gap: 8px; }

/* ===== QUICK CATEGORY ICONS ===== */
.quick-cats {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-around;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.quick-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  min-width: 60px;
}
.quick-cat-item:hover { transform: translateY(-3px); background: var(--color-bg); }
.quick-cat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.quick-cat-icon.red { background: #fef2f2; color: var(--color-primary); }
.quick-cat-icon.blue { background: #eff6ff; color: #2563eb; }
.quick-cat-icon.green { background: #f0fdf4; color: #059669; }
.quick-cat-icon.purple { background: #f5f3ff; color: #7c3aed; }
.quick-cat-icon.orange { background: #fffbeb; color: #d97706; }
.quick-cat-icon.teal { background: #f0fdfa; color: #0891b2; }
.quick-cat-icon.gray { background: #f9fafb; color: #6b7280; }
.quick-cat-icon.cyan { background: #ecfeff; color: #0e7490; }
.quick-cat-label { font-size: 12px; font-weight: 600; color: var(--color-text); }

/* ===== SIDEBAR ===== */
.sidebar-widget {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.search-widget .search-form {
  display: flex;
  gap: 8px;
}
.search-widget input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.search-widget input:focus { border-color: var(--color-primary); }
.search-widget button {
  padding: 8px 14px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* Search box red style */
.search-widget-red {
  background: var(--color-primary);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.search-widget-red .widget-title { color: white; border-color: rgba(255,255,255,0.3); }
.search-widget-red .search-form input {
  border-color: transparent;
  background: rgba(255,255,255,0.15);
  color: white;
}
.search-widget-red .search-form input::placeholder { color: rgba(255,255,255,0.7); }
.search-widget-red .search-form button { background: rgba(255,255,255,0.2); }

/* Category list widget */
.cat-list-widget li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 13px;
}
.cat-list-widget li:last-child { border-bottom: none; }
.cat-list-widget li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  transition: color 0.2s;
}
.cat-list-widget li a:hover { color: var(--color-primary); }
.cat-list-widget li a i { color: var(--color-primary); font-size: 12px; }
.cat-list-widget li .count {
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
}
.see-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

/* Popular posts widget */
.popular-posts li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}
.popular-posts li:last-child { border-bottom: none; }
.pop-num {
  width: 22px; height: 22px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.pop-num.n2 { background: var(--color-secondary); }
.pop-num.n3 { background: #6b7280; }
.pop-img {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.pop-content { flex: 1; }
.pop-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.pop-title:hover { color: var(--color-primary); }
.pop-views { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }

/* Tags widget */
.tags-widget .tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tags-widget .tag-item {
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.tags-widget .tag-item:hover { border-color: var(--color-primary); color: var(--color-primary); background: #fef2f2; }

/* Email subscribe widget */
.subscribe-widget p { font-size: 13px; color: var(--color-text-muted); margin-bottom: 12px; line-height: 1.5; }
.subscribe-widget input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 8px;
  outline: none;
}
.subscribe-widget input:focus { border-color: var(--color-primary); }
.btn-subscribe {
  width: 100%;
  padding: 10px;
  background: var(--color-primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.btn-subscribe:hover { background: var(--color-primary-dark); }
.subscribe-note { font-size: 11px; color: var(--color-text-muted); text-align: center; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; }

/* Exchange rate widget */
.exchange-widget .update-time { font-size: 11px; color: var(--color-text-muted); margin-bottom: 10px; }
.exchange-table { width: 100%; border-collapse: collapse; }
.exchange-table th { font-size: 11px; color: var(--color-text-muted); text-align: left; padding: 4px 0; }
.exchange-table td { padding: 6px 0; font-size: 13px; font-weight: 600; }
.currency-name { display: flex; align-items: center; gap: 6px; }
.currency-flag { font-size: 16px; }
.exchange-link { color: var(--color-primary); font-size: 12px; font-weight: 600; display: inline-flex; gap: 4px; margin-top: 8px; }

/* Weather widget */
.weather-main { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.weather-icon { font-size: 36px; }
.weather-temp { font-size: 32px; font-weight: 800; color: var(--color-text); }
.weather-desc { font-size: 13px; color: var(--color-text-muted); }
.weather-details { display: flex; gap: 16px; font-size: 12px; color: var(--color-text-muted); }
.weather-week {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.weather-day { text-align: center; font-size: 11px; }
.weather-day-name { color: var(--color-text-muted); margin-bottom: 4px; }
.weather-day-icon { font-size: 18px; margin: 4px 0; }
.weather-day-temp { font-weight: 600; }

/* ===== ARTICLE LIST HORIZONTAL ===== */
.article-list-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}
.article-list-item:last-child { border-bottom: none; }
.article-list-img {
  width: 80px; height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.article-list-content { flex: 1; }
.article-list-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-list-title:hover { color: var(--color-primary); }
.article-list-meta { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 12px 0;
}
.breadcrumb a { color: var(--color-primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #d1d5db; }

/* ===== PAGE HEADER (Category page) ===== */
.page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 20px;
}
.page-header-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--color-primary), #ff6b6b);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  flex-shrink: 0;
}
.page-header-title { font-size: 24px; font-weight: 800; }
.page-header-desc { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }
.page-header-actions { margin-left: auto; }
.btn-set-home {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--color-text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.btn-set-home:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-tab {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.filter-tab.active {
  background: var(--color-primary);
  color: white;
}
.filter-tab:not(.active) {
  background: white;
  color: var(--color-text);
  border-color: var(--color-border);
}
.filter-tab:not(.active):hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Sort & view controls */
.list-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.sort-select {
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text);
  outline: none;
  cursor: pointer;
}
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.view-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: white; }

/* ===== LIST VIEW ARTICLES ===== */
.article-list-view-item {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.article-list-view-item:hover { box-shadow: var(--shadow-md); }
.article-list-view-img {
  width: 160px;
  flex-shrink: 0;
}
.article-list-view-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.article-list-view-body {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-list-view-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin: 6px 0;
}
.article-list-view-title:hover { color: var(--color-primary); }
.article-list-view-actions { margin-left: auto; padding: 14px; }
.bookmark-btn {
  color: var(--color-text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.bookmark-btn:hover { color: var(--color-primary); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 32px 0;
}
.page-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: white; }
.page-btn:hover:not(.active) { border-color: var(--color-primary); color: var(--color-primary); }

/* ===== SINGLE POST ===== */
.single-post-header { margin-bottom: 20px; }
.single-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.author-info { display: flex; align-items: center; gap: 8px; }
.author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.author-name { font-weight: 600; color: var(--color-text); }
.share-actions { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.share-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.share-btn.facebook { background: #1877f2; color: white; }
.share-btn.zalo { background: #0068ff; color: white; }
.share-btn.copy { background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-border); }
.save-btn {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
}
.single-featured-img { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; }
.single-featured-img img { width: 100%; height: auto; }
.article-body { font-size: 15px; line-height: 1.75; color: #374151; }
.article-body p { margin-bottom: 16px; }
.article-body h2 { font-size: 20px; margin: 24px 0 12px; }
.article-body h3 { font-size: 17px; margin: 20px 0 10px; }
.article-body ul, .article-body ol { margin: 12px 0 16px 20px; }
.article-body li { margin-bottom: 6px; }
.article-body img { border-radius: var(--radius-md); margin: 16px 0; }
.article-toc {
  background: #f8f9fa;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}
.article-toc h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.article-toc ol { margin-left: 16px; }
.article-toc li { font-size: 13px; color: var(--color-primary); padding: 3px 0; }
.article-toc li:hover { text-decoration: underline; cursor: pointer; }
.article-toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.info-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-left: 4px solid #ffc107;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: #856404;
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.content-with-img {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.content-with-img .text { flex: 1; }
.content-with-img .img {
  width: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.article-tags { margin: 20px 0; padding: 16px 0; border-top: 1px solid var(--color-border); }
.article-tags label { font-size: 13px; font-weight: 600; color: var(--color-text-muted); margin-right: 8px; }
.author-box {
  background: #f8f9fa;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.author-box-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-box-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.author-box-role { font-size: 12px; color: var(--color-text-muted); margin-bottom: 8px; }
.author-box-bio { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }
.author-box-social { display: flex; gap: 8px; margin-top: 8px; }
.author-box-social a {
  width: 28px; height: 28px;
  background: var(--color-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--color-text-muted);
  transition: background 0.2s, color 0.2s;
}
.author-box-social a:hover { background: var(--color-primary); color: white; }
.post-nav {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.post-nav-item {
  flex: 1;
  padding: 12px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: border-color 0.2s;
}
.post-nav-item:hover { border-color: var(--color-primary); }
.post-nav-label { font-size: 11px; color: var(--color-text-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.post-nav-title { font-size: 13px; font-weight: 600; color: var(--color-text); }
.post-nav-item.next { text-align: right; }
.see-more-btn {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  background: white;
  transition: border-color 0.2s, color 0.2s;
}
.see-more-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ===== JOB CARDS ===== */
.job-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.job-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.job-company { font-size: 12px; color: var(--color-text-muted); margin-bottom: 4px; }
.job-title { font-size: 14px; font-weight: 700; color: var(--color-text); margin-bottom: 8px; }
.job-title:hover { color: var(--color-primary); }
.job-salary { font-size: 13px; font-weight: 700; color: var(--color-primary); margin-bottom: 6px; }
.job-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.job-tag {
  padding: 2px 8px;
  background: #f3f4f6;
  border-radius: 3px;
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ===== QUICK JOB SEARCH ===== */
.job-search-widget {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.job-search-header {
  background: var(--color-secondary);
  color: white;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.job-search-body { padding: 16px; }
.form-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 10px;
  outline: none;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-color: white;
  cursor: pointer;
}
.btn-search-job {
  width: 100%;
  padding: 10px;
  background: var(--color-secondary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-search-job:hover { background: var(--color-primary); }

/* ===== LOTTERY TABLE ===== */
.lottery-widget { background: white; border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }
.lottery-date { font-size: 12px; color: var(--color-text-muted); margin-bottom: 12px; }
.lottery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.lottery-prize-label { font-size: 11px; color: var(--color-text-muted); margin-bottom: 4px; }
.lottery-prize-number { font-size: 18px; font-weight: 900; color: var(--color-primary); letter-spacing: 1px; }
.lottery-special { font-size: 11px; color: var(--color-text-muted); }
.lottery-result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 10px; }
.lottery-result-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; padding: 4px 0; border-bottom: 1px solid #f3f4f6; }
.lottery-result-label { color: var(--color-text-muted); }
.lottery-result-num { font-weight: 700; color: var(--color-text); }

/* ===== FANPAGE WIDGET ===== */
.fanpage-widget img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 10px; }
.fb-like-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #1877f2;
  color: white;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.fanpage-count { font-size: 12px; color: var(--color-text-muted); margin-top: 6px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand .site-logo-text .logo-name { color: white; font-size: 20px; }
.footer-brand .site-logo-text .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 13px; line-height: 1.6; margin: 12px 0; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--color-primary); color: white; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  display: block;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-contact p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 6px; display: flex; align-items: flex-start; gap: 6px; }
.footer-contact strong { color: rgba(255,255,255,0.85); }
.footer-fanpage img { width: 100%; border-radius: var(--radius-sm); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===== LAYOUT: 2 COLUMNS ===== */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding: 20px 0;
}
.content-layout.full { grid-template-columns: 1fr; }

/* ===== HERO SECTION (Home) ===== */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  margin-bottom: 24px;
}
.home-hero-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 380px;
}
.home-hero-side { display: flex; flex-direction: column; gap: 8px; }
.hero-side-item {
  display: flex;
  gap: 10px;
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  transition: box-shadow 0.2s;
}
.hero-side-item:hover { box-shadow: var(--shadow-md); }
.hero-side-num {
  width: 22px; height: 22px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-side-img {
  width: 80px; height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.hero-side-content { flex: 1; }
.hero-side-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-side-date { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }
.hero-slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Home news grid */
.home-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.featured-article-big {
  grid-column: 1;
  grid-row: span 2;
}
.featured-article-big .article-card-img img { height: 280px; }

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.search-overlay.open { display: flex; }
.search-overlay-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
}
.search-overlay-input {
  display: flex;
  gap: 10px;
}
.search-overlay-input input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 16px;
  outline: none;
}
.search-overlay-input button {
  padding: 12px 20px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 16px;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav { display: none; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px; height: 40px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 99;
}
.scroll-top.show { opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-side { flex-direction: row; }
  .hero-side-item { flex: none; width: calc(50% - 4px); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .job-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .content-layout { grid-template-columns: 1fr; }
  .content-layout .sidebar { display: none; }
  .home-news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .header-mobile-toggle { display: flex; }
  .home-hero-side { flex-direction: column; }
  .hero-side-item { width: 100%; }
  .job-grid { grid-template-columns: 1fr; }
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: white;
    border-top: 1px solid var(--color-border);
    z-index: 100;
    padding: 6px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  }
  .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px;
    cursor: pointer;
    font-size: 10px;
    color: var(--color-text-muted);
    transition: color 0.2s;
  }
  .mobile-nav-item.active { color: var(--color-primary); }
  .mobile-nav-item i { font-size: 20px; }
  body.has-mobile-nav { padding-bottom: 60px; }
  .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .filter-tabs::-webkit-scrollbar { height: 2px; }
  .quick-cats { gap: 4px; padding: 12px; overflow-x: auto; justify-content: flex-start; }
  .quick-cat-item { min-width: 56px; padding: 6px 8px; }
  .quick-cat-icon { width: 36px; height: 36px; font-size: 16px; }
}

/* ===== MOBILE SIDEBAR MENU ===== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: white;
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--color-text-muted);
  cursor: pointer;
}
.mobile-user-card {
  margin: 12px;
  background: #f8f9fa;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-user-avatar {
  width: 48px; height: 48px;
  background: #e5e7eb;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: #9ca3af;
  flex-shrink: 0;
}
.mobile-user-info p { font-size: 13px; color: var(--color-text-muted); margin-bottom: 8px; font-weight: 500; }
.btn-login {
  padding: 8px 20px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: block;
  width: 100%;
  text-align: center;
}
.mobile-nav-list { padding: 8px 0; }
.mobile-nav-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 0;
  transition: background 0.2s;
}
.mobile-nav-list li.active a { color: var(--color-primary); background: #fef2f2; }
.mobile-nav-list li a i { font-size: 18px; color: var(--color-text-muted); width: 24px; text-align: center; }
.mobile-nav-list li.active a i { color: var(--color-primary); }
.mobile-nav-list li a .chevron { margin-left: auto; font-size: 12px; color: var(--color-text-muted); }
.mobile-nav-divider { border: none; border-top: 1px solid var(--color-border); margin: 8px 16px; }
.mobile-nav-secondary li a { color: var(--color-text-muted); font-weight: 400; }
.mobile-menu-settings li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--color-text);
}
.mobile-menu-settings li a i { font-size: 18px; color: var(--color-text-muted); width: 24px; text-align: center; }
.toggle-switch {
  margin-left: auto;
  width: 44px; height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.lang-selector {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.mobile-menu-footer {
  padding: 16px;
  border-top: 1px solid var(--color-border);
}
.mobile-menu-footer .label { font-size: 12px; color: var(--color-text-muted); margin-bottom: 10px; }
.mobile-footer-social { display: flex; gap: 12px; }
.mobile-footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: white;
  transition: transform 0.2s;
}
.mobile-footer-social a.fb { background: #1877f2; }
.mobile-footer-social a.tt { background: #000; }
.mobile-footer-social a.yt { background: #ff0000; }
.mobile-footer-social a.zl { background: #0068ff; }
.mobile-footer-social a:hover { transform: scale(1.1); }
.mobile-copyright { font-size: 11px; color: var(--color-text-muted); text-align: center; margin-top: 12px; }

/* Mobile header */
.header-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}
.mobile-toggle-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--color-text);
  cursor: pointer;
}
@media (max-width: 768px) {
  .header-main { display: none; }
  .header-mobile { display: flex; }
}

/* ===== UTILITY ===== */
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.w-full { width: 100%; }
.hidden { display: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
