/**
 * HocTiengDuc.de — Premium Design System (V17)
 * Modern, Glassmorphism, Responsive, Accessible.
 */

/* ════════════════════════════════════════════
   FONTS & RESET
   ════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Color Palette (Amber + Slate) */
  --p: #d97706; /* Primary */
  --pl: #f59e0b; /* Primary Light */
  --pd: #b45309; /* Primary Dark */
  --bg: #ffffff;
  --bg-s: #f8fafc; /* Secondary BG */
  --t: #0f172a; /* Text */
  --ts: #475569; /* Text Secondary */
  --tm: #94a3b8; /* Text Muted */
  --b: #e2e8f0; /* Border */
  --r: 12px; /* Radius */
  --tr: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --sh: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --sh-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

[data-theme="dark"] {
  --bg: #0b0b14;
  --bg-s: #151525;
  --t: #f1f5f9;
  --ts: #94a3b8;
  --tm: #64748b;
  --b: rgba(148, 163, 184, 0.15);
  --sh: 0 4px 12px rgba(0,0,0,0.4);
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--t);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container-xl {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ════════════════════════════════════════════
   HEADER & NAVIGATION (Double Nav System)
   ════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(var(--bg), 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--b);
  height: 72px;
  display: flex;
  align-items: center;
  transition: var(--tr);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo .logo-img { height: 44px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }

/* Desktop Navigation */
.desktop-nav { display: block; }
.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.desktop-nav li { position: relative; }
.desktop-nav li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.625rem 1rem;
  color: var(--ts);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 10px;
  transition: var(--tr);
  white-space: nowrap;
}

.desktop-nav li a:hover, 
.desktop-nav li.active > a {
  color: var(--p);
  background: rgba(217, 119, 6, 0.08);
}

/* Desktop Dropdown Indicator */
.desktop-nav li.parent > a::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.5;
}

/* Desktop Dropdown Menu */
.desktop-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--b);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: 0.5rem;
  flex-direction: column;
  z-index: 1001;
  /* Override Joomla collapse classes */
  display: none !important; 
}

/* Dark mode premium dropdowns */
[data-theme="dark"] .desktop-nav ul ul {
  background: rgba(21, 21, 37, 0.98);
  backdrop-filter: blur(20px);
}

.desktop-nav li:hover > ul {
  display: flex !important;
}

.desktop-nav ul ul li { width: 100%; }
.desktop-nav ul ul a {
  width: 100%;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
}

/* Header Actions & Mobile Toggle */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle, .mobile-toggle {
  background: var(--bg-s);
  border: 1px solid var(--b);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ts);
  transition: var(--tr);
}
a {
  color: #005f92;
  text-decoration: none;
  transition: color var(--tr);
}
a:hover { color: var(--pl); }
.theme-toggle:hover { color: var(--p); border-color: var(--p); background: var(--bg); }

.mobile-toggle { display: none; } /* Hidden by default (Desktop) */
.icon-close { display: none; }
.mobile-toggle.active .icon-burger { display: none; }
.mobile-toggle.active .icon-close { display: block; }

/* ════════════════════════════════════════════
   MOBILE NAV PANEL (OFF-CANVAS)
   ════════════════════════════════════════════ */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  background: var(--bg);
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-panel.open { right: 0; }

.mobile-nav-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--b);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.mobile-nav-title { font-weight: 700; font-family: 'Inter', sans-serif; color: var(--p); }
.mobile-nav-close {
  background: none; border: none; color: var(--t); cursor: pointer;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}

.mobile-nav-body { padding: 1rem; }

/* Mobile Accordion Style */
.mobile-nav-panel ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav-panel li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  color: var(--t);
  font-weight: 600;
  border-radius: 12px;
  background: var(--bg-s);
  transition: var(--tr);
}
.mobile-nav-panel li.active > a { color: var(--p); background: rgba(217, 119, 6, 0.08); }

/* Submenu Accordion */
.mobile-nav-panel li ul {
  padding-left: 1.5rem;
  margin-top: 0.25rem;
  border-left: 2px solid var(--b);
  gap: 0.25rem;
  flex-direction: column;
  /* Override Bootstrap */
  display: none !important;
}
.mobile-nav-panel li.expanded > ul { display: flex !important; }
.mobile-nav-panel li.is-parent > a::after, .mobile-nav-panel li.parent > a::after,
.mobile-nav-panel li.is-parent > span::after, .mobile-nav-panel li.parent > span::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--tm);
  transition: var(--tr);
}
.mobile-nav-panel li.expanded > a::after, .mobile-nav-panel li.expanded > span::after { 
  content: "−"; transform: rotate(180deg); color: var(--p); 
}

.mobile-nav-panel li ul a { background: transparent; font-size: 0.9rem; font-weight: 500; color: var(--ts); }

/* Overlay Background */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--tr);
}
.nav-backdrop.active { opacity: 1; visibility: visible; }

/* ════════════════════════════════════════════
   RESPONSIVE OVERRIDES
   ════════════════════════════════════════════ */
@media (max-width: 991px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; }
  
  .site-header { height: 64px; }
  .site-logo .logo-img { height: 38px; }
  
  .content-grid.has-sidebar { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   BREADCRUMB (UNCHANGED BUT PROTECTED)
   ════════════════════════════════════════════ */
.site-breadcrumb {
  padding: 1rem 0;
  background: var(--bg-s);
  border-bottom: 1px solid var(--b);
}

.site-breadcrumb .breadcrumb,
.site-breadcrumb ul,
.site-breadcrumb ol {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  list-style: none !important;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--ts);
}
.site-breadcrumb li { display: flex; align-items: center; }
.site-breadcrumb li::after {
  content: "→";
  margin-left: 0.75rem;
  color: var(--tm);
  font-size: 0.75rem;
}
.site-breadcrumb li:last-child::after { content: none; }
.site-breadcrumb a { color: var(--p); font-weight: 500; }

/* ════════════════════════════════════════════
   MAIN CONTENT
   ════════════════════════════════════════════ */
.site-main { padding: 3rem 0; }
.content-grid { display: grid; gap: 2.5rem; }
.content-grid.has-sidebar { grid-template-columns: 1fr 320px; }

/* Article Typography */
.content-area h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.content-area p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--ts);
}

/* ════════════════════════════════════════════
   CARDS & MODULE TILES
   ════════════════════════════════════════════ */
.card {
  background: var(--bg);
  border: 1px solid var(--b);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--sh);
  transition: var(--tr);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--p); }

.card-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--b);
}

/* ════════════════════════════════════════════
   AUDIO PLAYER PRETTIER
   ════════════════════════════════════════════ */
.htd-audio-btn {
  background: rgba(217, 119, 6, 0.12);
  color: var(--p);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
}
.htd-audio-btn:hover { background: var(--p); color: #fff; transform: scale(1.1); }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-copy {
  margin: 0;
  font-size: 0.95rem;
}

.footer-right .footer-menu-fallback,
.footer-right ul.mod-menu,
.footer-right .menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.footer-right a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--tr);
}
.footer-right a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social .social-link {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  transition: var(--tr);
}
.footer-social .social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.htd-audio-btn.playing {
  animation: htd-pulse 1s ease-in-out infinite;
}

/* ════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════ */
@keyframes htd-fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes htd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--htd-primary-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.htd-animate {
  animation: htd-fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

/* ════════════════════════════════════════════
   HTD ARTICLE LIST MODULE (HTD_LIST)
   ════════════════════════════════════════════ */
.htd-mod-articles .htd-article-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.htd-mod-articles .htd-list-item {
  border-bottom: 1px solid var(--b);
  transition: var(--tr);
}
.htd-mod-articles .htd-list-item:last-child {
  border-bottom: none;
}

.htd-mod-articles .htd-list-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  text-decoration: none;
  transition: var(--tr);
}
.htd-mod-articles .htd-list-link:hover {
  background: rgba(var(--t), 0.02);
}

.htd-mod-articles.htd-hot-list {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--r);
  padding: 0 1rem;
}

.htd-list-img-wrap {
  flex-shrink: 0;
  width: 90px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.htd-list-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform var(--tr);
}
.htd-mod-articles .htd-list-link:hover .htd-list-img-wrap img {
  transform: scale(1.05);
}

.htd-list-content {
  flex: 1;
  min-width: 0;
}
.htd-list-title {
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic; /* requested */
  margin: 0;
  color: #005f92; /* requested blue */
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--tr);
}
.htd-mod-list .htd-list-link:hover .htd-list-title {
  color: var(--p);
}

/* Trending/Hot Layout Background */
.htd-mod-list.htd-hot-list {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--r);
  padding: 0 1rem;
}
.htd-mod-list.htd-hot-list .htd-list-item {
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}
.htd-mod-list.htd-hot-list .htd-list-item:last-child {
  border-bottom: none;
}

/* ════════════════════════════════════════════
   JOOMLA SYSTEM MESSAGES
   ════════════════════════════════════════════ */
#system-message-container {
  margin: 1rem 0;
}
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--htd-radius);
  border: 1px solid var(--htd-border);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.alert-success { background: rgba(34,197,94,.08); border-color: var(--htd-success); color: var(--htd-success); }
.alert-danger { background: rgba(239,68,68,.08); border-color: var(--htd-accent); color: var(--htd-accent); }
.alert-warning { background: rgba(245,158,11,.08); border-color: var(--htd-primary); color: var(--htd-primary); }
.alert-info { background: rgba(59,130,246,.08); border-color: #3b82f6; color: #3b82f6; }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
/* ════════════════════════════════════════════
   ARTICLE / BLOG FORMATTING
   ════════════════════════════════════════════ */
.content-area {
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.content-area .item-introtext,
.content-area .item-introtext *,
.content-area .item-teaser,
.content-area .item-teaser * {
  font-style: italic !important;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ts);
}

/* Explicit Image Suppression Backup */
.content-area .item-image,
.content-area .article-image,
.content-area figure.left,
.content-area figure.right {
  display: none !important;
}

.content-area ul,
.content-area ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-area li {
  margin-bottom: 0.5rem;
}
.content-area img,
.content-area figure img {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: var(--r) !important;
}

@media (max-width: 991px) {
  .site-nav { display: none; }
  .mobile-toggle { display: flex; }

  .content-grid.has-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .header-inner { height: 56px; }
  .logo-img { height: 32px; }

  .content-area h1 { font-size: 1.5rem; }
  .content-area h2 { font-size: 1.25rem; }

  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .container-xl { padding: 0 0.75rem; }
}

/* ════════════════════════════════════════════
   PAGINATION (PAGER)
   ════════════════════════════════════════════ */
.pagination { display: flex; list-style: none; padding: 0; margin: 2rem 0; border-radius: 6px; }
.pagination li { margin: 0; }
.pagination li > a, .pagination li > span.page-link {
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem 0.85rem; background: var(--bg); border: 1px solid var(--b);
  color: #dc2626; font-weight: 500; text-decoration: none; margin-left: -1px;
  min-width: 40px; height: 40px; transition: var(--tr);
}
.pagination li:first-child > a, .pagination li:first-child > span.page-link { border-top-left-radius: 4px; border-bottom-left-radius: 4px; }
.pagination li:last-child > a, .pagination li:last-child > span.page-link { border-top-right-radius: 4px; border-bottom-right-radius: 4px; }
.pagination li.active span.page-link, .pagination li.active > a { background: #005f92; border-color: #005f92; color: #fff; z-index: 1; }
.pagination li:not(.active) > a:hover { background: var(--bg-s); color: #005f92; }

/* ════════════════════════════════════════════
   BULLETPROOF PAGER ICONS (SVG BACKGROUNDS)
   ════════════════════════════════════════════ */
.pagination .fas, .pagination [class^="icon-"] {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.pagination .fas::before, .pagination [class^="icon-"]::before { content: "" !important; }

/* Normal Icons (Red #dc2626) */
.pagination .page-link .fa-angle-double-left, .pagination .page-link .icon-angle-double-left { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23dc2626' d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm256 0c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L365.3 256 502.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E"); }
.pagination .page-link .fa-angle-left, .pagination .page-link .icon-angle-left { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23dc2626' d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E"); }
.pagination .page-link .fa-angle-right, .pagination .page-link .icon-angle-right { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23dc2626' d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E"); }
.pagination .page-link .fa-angle-double-right, .pagination .page-link .icon-angle-double-right { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23dc2626' d='M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-256 0c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 9.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E"); }

/* Disabled Icons (Gray #94a3b8) */
.pagination li.disabled .fa-angle-double-left, .pagination li.disabled .icon-angle-double-left { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%2394a3b8' d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm256 0c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L365.3 256 502.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E"); }
.pagination li.disabled .fa-angle-left, .pagination li.disabled .icon-angle-left { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%2394a3b8' d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E"); }
.pagination li.disabled .fa-angle-right, .pagination li.disabled .icon-angle-right { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%2394a3b8' d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E"); }
.pagination li.disabled .fa-angle-double-right, .pagination li.disabled .icon-angle-double-right { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%2394a3b8' d='M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-256 0c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 9.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E"); }

/* Disabled State */
.pagination li.disabled > span.page-link {
  color: #94a3b8; /* Subtle gray for disabled icons */
  background: var(--bg-s);
  cursor: not-allowed;
  opacity: 0.7;
}

.pagination-counter { margin-top: 1rem; color: var(--ts); font-size: 0.9rem; }

