/*
Theme Name: Hội Nhập Đức Theme
Theme URI: https://hoinhapduc.de
Author: Hội Nhập Đức Team
Author URI: https://hoinhapduc.de
Description: Custom WordPress Theme chuyên biệt cho trang web Hội Nhập Đức. Tích hợp Header/Footer dùng chung, 6 danh mục cốt lõi, tối ưu SEO & di động.
Version: 1.0.0
Text Domain: hoinhapduc-theme
*/

/* ==========================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================== */
:root {
  --hnd-primary: #0f172a;        /* Slate 900 */
  --hnd-primary-light: #1e293b;  /* Slate 800 */
  --hnd-accent: #f59e0b;         /* Amber 500 */
  --hnd-accent-hover: #d97706;   /* Amber 600 */
  --hnd-secondary: #10b981;      /* Emerald 500 */
  --hnd-secondary-hover: #059669;/* Emerald 600 */
  --hnd-indigo: #6366f1;         /* Indigo 500 */
  --hnd-sky: #0ea5e9;            /* Sky 500 */
  
  --hnd-bg: #f8fafc;             /* Slate 50 */
  --hnd-surface: #ffffff;
  --hnd-text: #0f172a;
  --hnd-text-muted: #64748b;
  --hnd-text-light: #94a3b8;
  --hnd-border: #e2e8f0;
  
  --hnd-font-title: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hnd-font-body: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --hnd-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --hnd-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --hnd-shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  
  --hnd-radius-sm: 8px;
  --hnd-radius: 12px;
  --hnd-radius-lg: 20px;
}

/* Global Typography Enforcement & Antialiasing */
*, *::before, *::after {
  box-sizing: border-box;
}

*, *::before, *::after,
html, body, button, input, select, textarea, table, th, td, optgroup, option, h1, h2, h3, h4, h5, h6, p, span, a, div, li, ul, ol, label, summary, details, form {
  font-family: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Font Awesome Font-Family Protection Override */
i[class*="fa-"], .fa-solid, .fa-regular, .fa-brands, .fa,
i[class*="fa-"]::before, .fa-solid::before, .fa-regular::before, .fa-brands::before, .fa::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.fa-brands, .fa-brands::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

html {
  font-size: 16px;
  line-height: 1.6;
  color: var(--hnd-text);
  background-color: var(--hnd-bg);
  scroll-behavior: smooth;
}

/* Global mobile touch delay removal */
button, a, [role="button"], input[type="submit"], input[type="button"] {
  touch-action: manipulation;
}

/* Scroll margin for sticky header anchor offset */
[id] {
  scroll-margin-top: 80px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--hnd-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--hnd-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hnd-font-title);
  color: var(--hnd-primary);
  font-weight: 700;
  line-height: 1.25;
}

.hnd-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.hnd-header {
  background-color: var(--hnd-primary);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hnd-header-top {
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.825rem;
  padding: 6px 0;
  color: #cbd5e1;
}

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

.hnd-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--hnd-accent);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.hnd-header-main {
  padding: 1rem 0;
}

.hnd-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.hnd-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.hnd-logo-flag {
  font-size: 2rem;
  line-height: 1;
}

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

.hnd-logo-title {
  font-family: var(--hnd-font-title);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.hnd-logo-tagline {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.hnd-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.hnd-nav-item {
  position: relative;
}

.hnd-nav-item a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--hnd-radius-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap !important;
}

.hnd-nav-item a:hover,
.hnd-nav-item.active a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hnd-nav-cta a {
  background: linear-gradient(135deg, var(--hnd-accent) 0%, var(--hnd-accent-hover) 100%) !important;
  color: var(--hnd-primary) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.hnd-nav-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* Dropdown Menu Styles (Desktop) */
@media (min-width: 992px) {
  .hnd-has-dropdown:hover .hnd-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .hnd-has-dropdown:hover .hnd-arrow {
    transform: rotate(180deg);
  }
}

.hnd-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border-radius: var(--hnd-radius-sm);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--hnd-border);
  padding: 6px 0;
  margin-top: 4px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
}

.hnd-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  transform: rotate(45deg);
  border-top: 1px solid var(--hnd-border);
  border-left: 1px solid var(--hnd-border);
}

.hnd-dropdown-menu li {
  margin: 0;
}

.hnd-dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: #334155 !important;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0;
  background: transparent !important;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.hnd-dropdown-menu li a:hover {
  background: #f1f5f9 !important;
  color: var(--hnd-accent-hover) !important;
}

.hnd-arrow {
  font-size: 0.75rem;
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.2s ease;
}



/* Mobile Toggle */
.hnd-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--hnd-radius-sm);
  cursor: pointer;
}

/* ==========================================
   MAIN CONTENT AREA & PAGE TEMPLATE
   ========================================== */
.hnd-site-content {
  flex: 1;
  padding-bottom: 4rem;
}

.hnd-page-header {
  background: linear-gradient(135deg, var(--hnd-primary) 0%, var(--hnd-primary-light) 100%);
  color: #ffffff;
  padding: 3rem 0;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.hnd-page-header::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hnd-page-header h1 {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.hnd-breadcrumb {
  font-size: 0.9rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hnd-breadcrumb a {
  color: #cbd5e1;
}

.hnd-page-body {
  padding: 2rem 0;
}

/* ==========================================
   FRONT PAGE HERO & CATEGORIES GRID
   ========================================== */
.hnd-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hnd-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none !important;
  z-index: 0;
}

.hnd-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hnd-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hnd-hero-title {
  color: #ffffff;
  font-size: clamp(1.6rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hnd-hero-title span {
  color: var(--hnd-accent);
}

.hnd-hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hnd-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hnd-stat-item {
  display: flex;
  flex-direction: column;
}

.hnd-stat-num {
  font-family: var(--hnd-font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--hnd-accent);
}

.hnd-stat-label {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Categories Grid */
.hnd-section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hnd-section-title h2 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
}

.hnd-section-title p {
  color: var(--hnd-text-muted);
  font-size: 1.05rem;
}

.hnd-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  align-items: start;
  margin-top: 2rem;
}

@media (max-width: 991px) {
  .hnd-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 600px) {
  .hnd-categories-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

.hnd-cat-card {
  background: var(--hnd-surface);
  border-radius: var(--hnd-radius);
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hnd-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hnd-shadow-lg);
}

.hnd-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  background: #f1f5f9;
  flex-shrink: 0;
}

.hnd-cat-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.hnd-cat-card p {
  color: var(--hnd-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.hnd-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--hnd-primary);
  margin-top: 0;
}

.hnd-cat-card:hover .hnd-cat-link {
  color: var(--hnd-accent-hover);
}

/* ==========================================
   FOOTER
   ========================================== */
.hnd-footer {
  background-color: var(--hnd-primary);
  color: #cbd5e1;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.hnd-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.hnd-footer-brand p {
  color: #94a3b8;
  font-size: 0.925rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.hnd-footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 8px;
}

.hnd-footer-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--hnd-accent);
}

.hnd-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hnd-footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
  transition: color 0.2s ease;
}

.hnd-footer-links a:hover {
  color: #ffffff;
}

.hnd-footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  font-size: 0.88rem;
  color: #94a3b8;
}

.hnd-footer-copy {
  margin: 0 !important;
  font-weight: 500;
  color: #94a3b8;
}

.hnd-version-badge {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  letter-spacing: 0.02em;
}

.hnd-footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hnd-footer-legal-links a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.hnd-footer-legal-links a:hover {
  color: #ffffff;
}

/* ==========================================
   COMPREHENSIVE RESPONSIVE ENGINE (MOBILE & TABLET)
   ========================================== */

/* 1. Global Responsive Base & Safety Constraints */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Global modal scroll safety */
.hnd-modal-box {
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Minimum tap target size (WCAG 2.5.5) */
button, .hnd-btn-primary, .tool-btn, .calc-btn,
.rechner-btn, .checker-btn, .persona-btn {
  min-height: 44px;
}

/* Prevent auto-zoom on iOS Safari when tapping inputs */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* 2. Tablet & iPad Screen Optimizations (<= 1024px) */
@media (max-width: 1024px) {
  .hnd-container {
    padding: 0 1.25rem;
  }

  .hnd-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* 3. Mobile Navigation & Medium Screens (<= 991px) */
@media (max-width: 991px) {
  /* Hide messy multi-line topbar on small screens */
  .hnd-header-top {
    display: none !important;
  }

  .hnd-header-main {
    padding: 0.65rem 0 !important;
  }

  .hnd-nav-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
    position: relative !important;
  }

  .hnd-logo-title {
    font-size: 1.25rem !important;
    line-height: 1.1 !important;
  }

  .hnd-logo-tagline {
    font-size: 0.72rem !important;
    color: #94a3b8;
  }

  .hnd-mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 1.3rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .hnd-mobile-toggle:hover,
  .hnd-mobile-toggle:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    outline: none !important;
  }

  .hnd-nav-menu {
    display: none;
    position: absolute !important;
    top: calc(100% + 0.5rem) !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    flex-direction: column !important;
    padding: 1rem !important;
    gap: 0.4rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    z-index: 99999 !important;
  }

  .hnd-nav-menu.show {
    display: flex !important;
  }

  .hnd-nav-item {
    width: 100% !important;
  }

  .hnd-nav-item a {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    justify-content: flex-start !important;
    border-radius: 10px !important;
  }

  /* Mobile Dropdown Submenu (Inline Accordion Style) */
  .hnd-dropdown-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    background: rgba(30, 41, 59, 0.75) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 3px solid var(--hnd-accent) !important;
    padding: 6px 4px !important;
    margin: 6px 0 4px 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none !important;
    box-sizing: border-box !important;
  }

  .hnd-dropdown-menu::before {
    display: none !important;
  }

  .hnd-has-dropdown.hnd-mob-open > .hnd-dropdown-menu {
    display: block !important;
  }

  .hnd-has-dropdown.hnd-mob-open > a .hnd-arrow {
    transform: rotate(180deg) !important;
  }

  .hnd-dropdown-menu li {
    margin: 2px 0 !important;
  }

  .hnd-dropdown-menu li a {
    color: #cbd5e1 !important;
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    background: transparent !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: normal !important;
    word-break: break-word !important;
    transition: all 0.15s ease !important;
  }

  .hnd-dropdown-menu li a:hover,
  .hnd-dropdown-menu li a:active,
  .hnd-dropdown-menu li.active a {
    color: var(--hnd-accent) !important;
    background: rgba(245, 158, 11, 0.12) !important;
  }

  .subpage-card,
  .rechner-card,
  .checker-card,
  .learn-card-box {
    padding: 1.5rem !important;
    border-radius: 16px !important;
  }
}

/* 4. Small Tablets & Smartphones (<= 768px) */
@media (max-width: 768px) {
  .hnd-container {
    padding: 0 0.875rem;
  }

  .hnd-page-header {
    padding: 1.5rem 0.875rem !important;
  }

  .hnd-page-header h1 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
    word-break: break-word;
    hyphens: auto;
  }

  .hnd-page-header p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  /* Hero Section Mobile */
  .hnd-hero {
    padding: 2rem 0 2.5rem !important;
  }

  .hnd-hero-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.875rem !important;
  }

  .hnd-hero-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }

  /* Hero CTA buttons stack vertically */
  .hnd-hero-btns {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .hnd-hero-btns a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    padding: 0.8rem 1rem !important;
  }

  /* Hide Hero widget card on mobile to save space */
  .hnd-hero-widget {
    display: none !important;
  }

  /* Hero stats: wrap and reduce size */
  .hnd-hero-stats {
    gap: 1rem !important;
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
    flex-wrap: wrap !important;
  }

  .hnd-stat-num {
    font-size: 1.4rem !important;
  }

  /* Categories grid force single column on phones */
  .hnd-categories-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .hnd-cat-card {
    padding: 1.25rem !important;
  }

  /* Force 1-Column Stacking for Tool Grids & Calculators */
  .tool-grid-2x2,
  .life-grid,
  .calc-grid,
  .form-grid,
  .rechner-grid,
  .checker-grid,
  .hnd-grid-2,
  .hnd-grid-3,
  .hnd-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Full Width Buttons for Easy Tapping */
  .tool-btn,
  .calc-btn,
  .rechner-btn,
  .checker-btn,
  .hnd-btn-primary {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Stack tool inputs & buttons vertically on mobile */
  .tool-input-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .tool-input-wrap input,
  .tool-input-wrap button,
  .tool-input-wrap .tool-btn {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Phrase Item Stacking on Subpages */
  .phrase-item {
    padding: 1rem !important;
  }

  .phrase-item > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }

  .phrase-item button {
    width: 100% !important;
    text-align: center !important;
  }

  /* Responsive Horizontal Scroll for Filter Tabs & State Selectors */
  .hnd-filter-tabs,
  .state-selector,
  .cat-pills-wrap {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 8px !important;
    gap: 0.5rem !important;
  }

  .hnd-filter-tabs::-webkit-scrollbar,
  .state-selector::-webkit-scrollbar {
    height: 4px;
  }
  .hnd-filter-tabs::-webkit-scrollbar-thumb,
  .state-selector::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
  }

  /* Footer grid: always 1 column on mobile */
  .hnd-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .hnd-footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
    padding-top: 1.25rem !important;
    font-size: 0.82rem;
  }

  /* Section padding reduction */
  section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .hnd-section-title h2 {
    font-size: 1.5rem !important;
  }

  .hnd-section-title p {
    font-size: 0.9rem !important;
  }

  /* Table horizontal scroll on mobile */
  .hnd-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.875rem;
    padding: 0 0.875rem;
  }
}

/* 5. Extra Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .hnd-container {
    padding: 0 0.75rem !important;
  }

  .hnd-logo-title {
    font-size: 1.1rem !important;
  }

  .hnd-logo-tagline {
    display: none !important;
  }

  .hnd-page-header h1 {
    font-size: 1.25rem !important;
  }

  .hnd-hero-title {
    font-size: 1.5rem !important;
  }

  /* Stack tool inputs & buttons vertically on mobile */
  .tool-input-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .tool-input-wrap input,
  .tool-input-wrap button,
  .tool-input-wrap .tool-btn {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .subpage-card,
  .rechner-card,
  .checker-card,
  .learn-card-box {
    padding: 1rem !important;
    border-radius: 14px !important;
  }

  /* Modal adjustments on tiny screens */
  .hnd-modal-box {
    padding: 1.1rem !important;
    margin: 0.25rem !important;
    border-radius: 16px !important;
  }
  .hnd-modal-header h3 {
    font-size: 0.98rem !important;
  }
  .hnd-modal-header span {
    font-size: 0.72rem !important;
  }

  /* Footer section spacing */
  .hnd-footer {
    padding-top: 2.5rem !important;
    padding-bottom: 1.25rem !important;
  }
}

/* ==========================================
   PERSONA SELECTOR PILL BUTTONS (ALL SCREENS)
   ========================================== */
.persona-btn, .rent-btn {
  background: #f1f5f9;
  color: #475569;
  border: none;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: none;
  outline: none;
}

.persona-btn:hover, .rent-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

.persona-btn.active, .rent-btn.active {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

/* ==========================================
   ULTIMATE SUBPAGE MOBILE OVERRIDES (STRICTLY FOR MOBILE <= 768px)
   ========================================== */
/* ==========================================
   ULTIMATE SUBPAGE MOBILE OVERRIDES (STRICTLY FOR MOBILE <= 768px)
   ========================================== */
@media (max-width: 768px) {
  /* 1. Global Container Side Padding Fix */
  .hnd-container,
  div.hnd-container {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2. Subpage Wrap & Card Padding Overrides */
  .subpage-wrap {
    margin: 0.5rem auto 1.5rem !important;
    padding: 0 0.15rem !important;
  }

  .subpage-card,
  .rechner-card,
  .checker-card,
  .learn-card-box {
    padding: 0.75rem 0.5rem !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3. Primary & Secondary Outer/Inner Card Boxes - Tighten Paddings */
  .hnd-container > div[style*="background"],
  div[style*="border-radius: 20px"],
  div[style*="border-radius:20px"],
  div[style*="border-radius: 24px"],
  div[style*="border-radius:24px"],
  div[style*="padding: 2.25rem"],
  div[style*="padding:2.25rem"],
  div[style*="padding: 2.5rem"],
  div[style*="padding:2.5rem"],
  div[style*="padding: 2rem"],
  div[style*="padding:2rem"],
  div[style*="padding: 1.75rem"],
  div[style*="padding:1.75rem"],
  div[style*="padding: 1.5rem"],
  div[style*="padding:1.5rem"],
  div[style*="padding: 1.25rem"],
  div[style*="padding:1.25rem"],
  .finder-hero-box,
  .finder-guide-box,
  .amt-output-box,
  .find-steps-box,
  .warning-checklist-box {
    padding: 0.75rem 0.5rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Deeply Nested Cards (Cards inside Cards) - Remove Extra Padding & Margins */
  .subpage-card div[style*="background"],
  .rechner-card div[style*="background"],
  .checker-card div[style*="background"],
  div[style*="padding: 0.75rem 0.65rem"] div[style*="background"],
  .warning-item,
  .amt-scope-card,
  .goal-amt-card {
    padding: 0.6rem 0.45rem !important;
    margin-bottom: 0.5rem !important;
    border-radius: 10px !important;
  }

  /* 4. Force 1-Column Stacking on Mobile Grids */
  .hnd-container div[style*="display:grid"],
  .hnd-container div[style*="display: grid"],
  .hnd-container div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  /* 5. Typography Scaling inside Subpage Content */
  .hnd-container h1, .hnd-container h1[style] { font-size: 1.3rem !important; line-height: 1.25 !important; font-weight: 800 !important; margin-bottom: 0.4rem !important; }
  .hnd-container h2, .hnd-container h2[style] { font-size: 1.12rem !important; line-height: 1.3 !important; font-weight: 800 !important; margin-bottom: 0.4rem !important; }
  .hnd-container h3, .hnd-container h3[style] { font-size: 1.02rem !important; line-height: 1.35 !important; font-weight: 700 !important; margin-bottom: 0.35rem !important; }
  .hnd-container h4, .hnd-container h4[style] { font-size: 0.92rem !important; line-height: 1.35 !important; font-weight: 700 !important; margin-bottom: 0.3rem !important; }
  .hnd-container p, .hnd-container li, .hnd-container span { font-size: 0.88rem !important; line-height: 1.5 !important; }

  /* 6. Persona Filter & Option Tabs - Horizontal Swipeable Pill Bar */
  .persona-selector,
  .filter-pills-wrap,
  .state-selector,
  .cat-pills-wrap,
  .hnd-filter-tabs,
  div[style*="display: flex"][style*="gap: 0.75rem"],
  div[style*="display:flex"][style*="gap:0.75rem"],
  div[style*="display: flex"][style*="gap: 0.65rem"],
  div[style*="display:flex"][style*="gap:0.65rem"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.4rem !important;
    padding: 2px 0 6px 0 !important;
    margin-bottom: 0.85rem !important;
    width: 100% !important;
  }

  .persona-btn,
  .rent-btn,
  .state-btn,
  .cat-pill,
  .hnd-pill,
  button.persona-btn,
  button.rent-btn,
  .hnd-filter-tabs button {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.82rem !important;
    min-height: 36px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  /* 7. Topic Select Box & Dropdown Overrides */
  .topic-select-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.4rem !important;
    padding: 0.75rem !important;
    margin-bottom: 1rem !important;
    border-radius: 12px !important;
  }

  .topic-label {
    white-space: normal !important;
    margin-bottom: 0.25rem !important;
    font-size: 0.88rem !important;
    width: 100% !important;
  }

  .topic-select-box {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
  }

  .topic-select-box select,
  .filter-box select,
  select[style*="8.5rem"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.65rem 2.2rem 0.65rem 0.75rem !important;
    font-size: 16px !important;
    text-overflow: ellipsis !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }

  .select-arrow-badge {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 0.2rem 0.6rem !important;
    font-size: 0.7rem !important;
    border-radius: 999px !important;
    pointer-events: none !important;
    white-space: nowrap !important;
  }

  /* 8. Action Buttons Mobile Full-Width Stack (Only Primary CTAs) */
  .tool-btn,
  .calc-btn,
  .rechner-btn,
  .checker-btn,
  .hnd-btn-primary,
  a.hnd-cat-link,
  .btn-official-link,
  .hnd-hero-btns a {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 0.75rem 0.85rem !important;
    font-size: 0.88rem !important;
    min-height: 44px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 12px !important;
  }

  /* Modal Close Button Protection */
  .hnd-modal-close-btn,
  button.hnd-modal-close-btn,
  .hnd-modal-box button[onclick*="close"] {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: none !important;
    font-size: 1.25rem !important;
    color: #64748b !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  /* 9. Table Responsive Containers */
  div[style*="overflow-x"],
  div.hnd-table-wrap,
  .table-responsive {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    margin: 0.65rem 0 1rem 0 !important;
    background: #ffffff !important;
  }

  table, table[style] {
    display: table !important;
    min-width: 500px !important;
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
  }

  th, td, th[style], td[style] {
    padding: 0.55rem 0.65rem !important;
    white-space: nowrap !important;
    font-size: 0.8rem !important;
  }

  /* Custom subtle scrollbar for mobile table containers */
  div[style*="overflow-x"]::-webkit-scrollbar,
  div.hnd-table-wrap::-webkit-scrollbar {
    height: 3px !important;
  }
  div[style*="overflow-x"]::-webkit-scrollbar-thumb,
  div.hnd-table-wrap::-webkit-scrollbar-thumb {
    background: #0ea5e9 !important;
    border-radius: 999px !important;
  }

  /* Select Inputs 100% Width & 16px Font Size on Mobile */
  select,
  input[type="text"],
  input[type="number"],
  input[type="email"] {
    font-size: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis !important;
  }

  select option {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Phrase Item & Step Items Stacking on Subpages */
  .phrase-item,
  .step-item,
  div[style*="border-left"] {
    padding: 0.75rem 0.85rem !important;
    border-radius: 10px !important;
    margin-bottom: 0.65rem !important;
  }

  /* Inpage Feedback Box Mobile Button Width */
  .hnd-inpage-fb-btn-wrap {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
  .hnd-inpage-fb-btn-wrap button {
    width: 100% !important;
  }
}

/* Inpage Feedback Box Desktop Layout (Horizontal Inline Alignment) */
.hnd-inpage-fb-btn-wrap {
  flex: 0 0 auto !important;
  width: auto !important;
}

/* ==========================================
   AUTOMATIC AI IMAGE BADGE SYSTEM & CONTENT IMAGE CONTROLS
   ========================================== */
.hnd-ai-img-wrap {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 1.5rem 0 !important;
  overflow: hidden;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
}

.hnd-ai-img-wrap img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 420px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: inherit;
}

@media (max-width: 768px) {
  .hnd-ai-img-wrap img {
    max-height: 280px !important;
  }
}

.hnd-ai-badge {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  background: rgba(15, 23, 42, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #f1f5f9 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  pointer-events: auto !important;
  z-index: 10 !important;
  letter-spacing: 0.02em;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.3 !important;
  cursor: help;
  transition: all 0.2s ease;
}

.hnd-ai-badge:hover {
  background: rgba(15, 23, 42, 0.95) !important;
  transform: scale(1.03);
}

/* ==========================================
   MODERN EDITORIAL & NEWS PORTAL STYLES
   ========================================== */

/* 1. Breaking News Ticker */
.hnd-news-ticker-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.65rem 1rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.hnd-news-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.hnd-news-ticker-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: hndPulse 1.5s infinite;
}

@keyframes hndPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hnd-news-ticker-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.92rem;
  color: #334155;
}

.hnd-news-ticker-content a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.hnd-news-ticker-content a:hover {
  color: var(--hnd-sky);
}

/* 2. Hero Magazine Split (Page 1) */
.hnd-news-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2.75rem;
}

@media (max-width: 1024px) {
  .hnd-news-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Spotlight Card (Left) */
.hnd-news-spotlight {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hnd-news-spotlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.hnd-news-spotlight-thumb {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background: #0f172a;
}

.hnd-news-spotlight-thumb img,
.hnd-news-spotlight-thumb .thumb-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hnd-news-spotlight:hover .hnd-news-spotlight-thumb img,
.hnd-news-spotlight:hover .hnd-news-spotlight-thumb .thumb-bg {
  transform: scale(1.04);
}

.hnd-news-spotlight-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.hnd-news-spotlight-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hnd-news-spotlight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.hnd-news-spotlight-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 0.9rem;
}

.hnd-news-spotlight-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hnd-news-spotlight-title a:hover {
  color: var(--hnd-sky);
}

.hnd-news-spotlight-excerpt {
  color: #475569;
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.hnd-news-spotlight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.25rem;
}

.hnd-news-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
  transition: all 0.2s ease;
}

.hnd-news-read-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4);
  color: #ffffff !important;
}

/* Trending Side Stack (Right) */
.hnd-news-trending-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.hnd-news-trending-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 1.25rem;
}

.hnd-news-trending-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hnd-news-trending-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex-grow: 1;
}

.hnd-news-trending-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #f8fafc;
  transition: transform 0.2s ease;
}

.hnd-news-trending-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.hnd-news-trending-item:hover {
  transform: translateX(4px);
}

.hnd-news-trending-num {
  font-family: 'Plus Jakarta Sans', var(--hnd-font-title);
  font-size: 1.5rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  min-width: 32px;
  transition: color 0.2s ease;
}

.hnd-news-trending-item:hover .hnd-news-trending-num {
  color: var(--hnd-accent);
}

.hnd-news-trending-item:nth-child(1) .hnd-news-trending-num {
  color: #f59e0b;
}
.hnd-news-trending-item:nth-child(2) .hnd-news-trending-num {
  color: #0ea5e9;
}
.hnd-news-trending-item:nth-child(3) .hnd-news-trending-num {
  color: #10b981;
}

.hnd-news-trending-info {
  flex: 1;
}

.hnd-news-trending-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hnd-sky);
  margin-bottom: 4px;
  display: block;
}

.hnd-news-trending-heading {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 4px;
}

.hnd-news-trending-heading a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hnd-news-trending-heading a:hover {
  color: var(--hnd-sky);
}

.hnd-news-trending-date {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* 3. Category Filter & Search Bar */
.hnd-news-filter-wrap {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hnd-news-filter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.hnd-news-pills-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hnd-news-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hnd-news-pill-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.hnd-news-pill-btn.active {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.hnd-news-search-form {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block;
}

.hnd-news-search-input {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block;
  padding: 0.65rem 2.5rem 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.88rem;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.hnd-news-search-input:focus {
  border-color: var(--hnd-sky);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.hnd-news-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.hnd-news-tags-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.88rem;
  font-size: 0.84rem;
  color: #64748b;
}

.hnd-news-tag-item {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hnd-news-tag-item:hover {
  background: #166534;
  color: #ffffff;
}

/* 4. Main 2-Column Portal Layout */
.hnd-news-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.25rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .hnd-news-main-layout {
    grid-template-columns: 1fr;
  }
}

/* News Article Card Grid (Left Stream) */
.hnd-news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.hnd-news-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.hnd-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.hnd-news-card-thumb-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
  background: #0f172a;
}

.hnd-news-card-thumb-wrap img,
.hnd-news-card-thumb-wrap .card-thumb-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hnd-news-card:hover .hnd-news-card-thumb-wrap img,
.hnd-news-card:hover .hnd-news-card-thumb-wrap .card-thumb-bg {
  transform: scale(1.06);
}

.hnd-news-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  z-index: 2;
}

.hnd-news-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hnd-news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0.65rem;
}

.hnd-news-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hnd-news-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hnd-news-card-title a:hover {
  color: var(--hnd-sky);
}

.hnd-news-card-excerpt {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hnd-news-card-foot {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.hnd-news-card-author {
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hnd-news-card-more {
  color: var(--hnd-sky);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.hnd-news-card:hover .hnd-news-card-more {
  gap: 8px;
}

/* 5. Sticky News Sidebar */
.hnd-news-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hnd-news-widget {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.hnd-news-widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hnd-news-widget-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.hnd-news-tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.hnd-news-tool-item:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
  transform: translateX(3px);
}

.hnd-news-tool-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.hnd-news-community-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 18px;
  padding: 1.75rem;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}

.hnd-news-community-box::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hnd-news-community-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hnd-news-community-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.hnd-news-community-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
}

.hnd-news-community-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

/* 6. Modern News Pagination */
.hnd-news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hnd-news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hnd-news-pagination .page-numbers:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.hnd-news-pagination .page-numbers.current {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border-color: #0ea5e9;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* 7. Sidebar Category Navigation Widget */
.hnd-news-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hnd-news-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hnd-news-cat-link:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
  transform: translateX(4px);
}

.hnd-news-cat-link.active {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.hnd-news-cat-link.active .hnd-news-cat-count {
  background: rgba(255, 255, 255, 0.2);
  color: #38bdf8;
  border-color: rgba(255, 255, 255, 0.15);
}

.hnd-news-cat-count {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.hnd-news-cat-link:hover .hnd-news-cat-count {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
}

/* ==========================================
   RESPONSIVE ADAPTATIONS FOR NEWS PORTAL
   ========================================== */

/* Tablet & Smaller (<= 1024px) */
@media (max-width: 1024px) {
  .hnd-news-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .hnd-news-main-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .hnd-news-sidebar {
    position: static !important;
    top: auto !important;
    margin-top: 1rem;
  }

  .hnd-news-widget-tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .hnd-news-ticker-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
  }

  .hnd-news-ticker-content {
    width: 100%;
    font-size: 0.85rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.45;
  }

  .hnd-news-spotlight-thumb {
    height: 210px !important;
  }

  .hnd-news-spotlight-body {
    padding: 1.25rem !important;
  }

  .hnd-news-spotlight-title {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.6rem !important;
  }

  .hnd-news-spotlight-excerpt {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hnd-news-spotlight-foot {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.85rem;
    padding-top: 1rem !important;
  }

  .hnd-news-read-btn {
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0.7rem 1rem !important;
  }

  .hnd-news-trending-box {
    padding: 1.25rem !important;
  }

  .hnd-news-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .hnd-news-card-thumb-wrap {
    height: 185px !important;
  }

  .hnd-news-card-body {
    padding: 1.15rem !important;
  }

  .hnd-news-card-title {
    font-size: 1.05rem !important;
  }

  .hnd-news-widget {
    padding: 1.25rem !important;
  }

  .hnd-news-widget-tools-grid {
    grid-template-columns: 1fr !important;
  }

  .hnd-news-pagination {
    gap: 4px !important;
    margin-top: 2rem !important;
  }

  .hnd-news-pagination .page-numbers {
    min-width: 35px !important;
    height: 35px !important;
    padding: 0 8px !important;
    font-size: 0.8rem !important;
  }
}

/* Small Screens (<= 480px) */
@media (max-width: 480px) {
  .hnd-news-spotlight-meta {
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 0.78rem;
  }

  .hnd-news-trending-item {
    gap: 0.75rem;
  }

  .hnd-news-trending-num {
    font-size: 1.25rem;
    min-width: 24px;
  }

  .hnd-news-trending-heading {
    font-size: 0.88rem;
  }
}





/* ==========================================
   ROBUST NEWS & CATEGORY MOBILE OVERFLOW FIX
   ========================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

.hnd-news-container {
  padding: 2.25rem 1.5rem 4.5rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box !important;
}

.hnd-news-card {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
}

.hnd-news-card-body {
  box-sizing: border-box !important;
  width: 100% !important;
}

.hnd-news-card-title,
.hnd-news-card-excerpt,
.hnd-news-spotlight-title,
.hnd-news-spotlight-excerpt,
.hnd-news-trending-heading {
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

@media (max-width: 768px) {
  .hnd-news-container {
    padding: 1rem 0.65rem 3.5rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .hnd-news-main-layout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 1.5rem !important;
    box-sizing: border-box !important;
  }

  .hnd-news-main-layout > main,
  .hnd-news-main-layout > aside {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hnd-news-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 1.15rem !important;
    box-sizing: border-box !important;
  }

  .hnd-news-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .hnd-news-card-thumb-wrap {
    height: 190px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hnd-news-card-body {
    padding: 1.1rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hnd-news-card-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    font-size: 0.78rem !important;
    margin-bottom: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hnd-news-card-foot {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-top: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hnd-news-card-title {
    font-size: 1.08rem !important;
    line-height: 1.38 !important;
    margin-bottom: 0.5rem !important;
  }

  .hnd-news-card-excerpt {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.9rem !important;
  }

  .hnd-news-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1.25rem !important;
    margin-bottom: 1.75rem !important;
  }

  .hnd-news-spotlight {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hnd-news-spotlight-thumb {
    height: 200px !important;
  }

  .hnd-news-spotlight-body {
    padding: 1.2rem 1rem !important;
    box-sizing: border-box !important;
  }

  .hnd-news-spotlight-title {
    font-size: 1.25rem !important;
  }

  .hnd-news-trending-box {
    padding: 1.2rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hnd-news-filter-wrap {
    padding: 0.9rem 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1.5rem !important;
  }

  .hnd-news-pills-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 6px !important;
    width: 100% !important;
  }

  .hnd-news-pill-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.9rem !important;
  }

  .hnd-news-ticker-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    padding: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hnd-news-ticker-content {
    width: 100% !important;
    white-space: normal !important;
    font-size: 0.85rem !important;
  }
}

/* ==========================================
   ELEGANT HERO HEADER STYLES (DESKTOP & MOBILE)
   ========================================== */
.hnd-header-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hnd-header-pill {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.hnd-header-subtext {
  color: #94a3b8;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.hnd-header-main-title {
  margin-top: 10px;
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.hnd-header-main-title i {
  color: #38bdf8;
  margin-right: 8px;
}

.hnd-header-description {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-top: 8px;
  max-width: 860px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hnd-page-header {
    padding: 1.35rem 0.85rem 1.65rem !important;
  }
  
  .hnd-header-meta-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 10px !important;
    width: 100% !important;
  }

  .hnd-header-pill {
    font-size: 0.74rem !important;
    padding: 3px 10px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
  }

  .hnd-header-subtext {
    font-size: 0.82rem !important;
    color: #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .hnd-header-main-title {
    font-size: 1.45rem !important;
    line-height: 1.32 !important;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
  }

  .hnd-header-description {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    margin-top: 6px !important;
  }
}