/**
 *@copyright : ToXSL Technologies Pvt. Ltd. < www.toxsl.com >
 *
 * Help Module — Universal Stylesheet
 * Override --bg-main (and optionally --help-accent) in your project CSS
 * and the entire module adapts to your brand automatically.
 *
 * ─── QUICK PROJECT OVERRIDES ────────────────────────────────────────────────
 * eCommerce   : --bg-main:#e44d26; --help-accent:#f7931e
 * Booking     : --bg-main:#1a73e8; --help-accent:#fbbc04
 * Restaurant  : --bg-main:#2d6a4f; --help-accent:#f4845f
 * IoT/Tech    : --bg-main:#1b1b2f; --help-accent:#00f5d4
 * Inventory   : --bg-main:#5c2d91; --help-accent:#107c10
 * Healthcare  : --bg-main:#00796b; --help-accent:#f06292
 * ────────────────────────────────────────────────────────────────────────────
 */

/* ═══════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS  (override these per project)
═══════════════════════════════════════════════════════════════════ */
:root {
  /* Brand */
<<<<<<< HEAD
  --bg_main: var(--main-color, var(--primary, var(--main-color, var(--mainColor, var(--primary-color, var(--theme-color, var(--blue-color, #0083eb)))))));
  --bg-light-blue: #e7f1f1;
=======
  --bg-main: var(--mainColor, #33b5e5);
  --bg-light-blue: var(--mainColor-light, #e7f1f1);
>>>>>>> 6abde8b3f85d12b4358661522e7e5ee5f4030e88

  /* Neutrals */
  --help-bg: #f4f7fb;
  --help-card-bg: #ffffff;
  --help-border: #e2e8f0;
  --help-text-main: #1a202c;
  --help-text-muted: #718096;
  --help-text-light: #a0aec0;

  /* Shape */
  --help-radius-sm: 8px;
  --help-radius: 14px;
  --help-radius-lg: 20px;
  --help-shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --help-shadow: 0 4px 24px rgba(0, 0, 0, .08);
  --help-shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);

  /* Category palette  (auto-assigned by type.color_index 1–8) */
  --help-cat-1: #4361ee;
  --help-cat-2: #f72585;
  --help-cat-3: #3a0ca3;
  --help-cat-4: #4cc9f0;
  --help-cat-5: #06d6a0;
  --help-cat-6: #ffc107;
  --help-cat-7: #e63946;
  --help-cat-8: #ff9f1c;

  /* Difficulty */
  --help-diff-beginner: #06d6a0;
  --help-diff-intermediate: #ffc107;
  --help-diff-advanced: #e63946;

  /* Transitions */
  --help-ease: cubic-bezier(.4, 0, .2, 1);
  --help-dur: .22s;
}


.bg_main {
  background-color: var(--bg_main);
}

/* ═══════════════════════════════════════════════════════════════════
   2. BASE RESETS
═══════════════════════════════════════════════════════════════════ */
.help-module img {
  max-width: 100%;
  height: auto;
}

.help-module dl,
.help-module ul,
.help-module ol {
  margin-bottom: 0;
  padding-left: 0;
}

.help-module ul li {
  list-style: none;
}

.help-module a {
  text-decoration: none;
}

.help-module a:hover {
  color: var(--bg-main);
}

/* ═══════════════════════════════════════════════════════════════════
   3. HERO BANNER
═══════════════════════════════════════════════════════════════════ */
.help-hero {

  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.help-hero .container {
  position: relative;
  z-index: 1;
}

.help-hero-title {
  color: #fff;
  letter-spacing: -.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}

.help-hero-subtitle {

  color: rgba(255, 255, 255, .85);
  margin-bottom: 32px;
}

/* ── Search Bar ── */
.help-search-wrap {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.help-search-wrap .help-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--help-text-muted);

  pointer-events: none;
}

.help-search-input {
  width: 100%;
  padding: 18px 56px 18px 52px;
  border: 2px solid transparent;
  border-radius: 50px;

  background: #fff;
  box-shadow: var(--help-shadow-lg);
  outline: none;
  transition: border-color var(--help-dur) var(--help-ease),
    box-shadow var(--help-dur) var(--help-ease);
}

.help-search-input:focus {
  border-color: var(--bg-main);
  box-shadow: 0 0 0 4px var(--bg-light-blue), 0 12px 40px rgba(0, 0, 0, .12);
}

.help-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-main);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
}

.help-search-btn:hover {
  background: var(--bg-main);
  transform: translateY(-50%) scale(1.04);
}

/* ── Popular tags ── */
.help-popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  align-items: center;
}

.help-tag-chip {
  padding: 5px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .3);
  transition: background var(--help-dur) var(--help-ease);
  text-decoration: none;
}

.help-tag-chip:hover {
  background: rgba(255, 255, 255, .32);
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════════
   4. SECTION TITLES
═══════════════════════════════════════════════════════════════════ */
.help-section-title {


  color: var(--help-text-main);
  margin-bottom: 6px;
}

.help-section-subtitle {

  color: var(--help-text-muted);
  margin-bottom: 32px;
}

.help-section-title-bar {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--help-border);
}

.help-section-title-bar .help-section-title {
  margin-bottom: 0;
}

.help-section-title-bar .help-see-all {
  margin-left: auto;


  color: var(--bg-main);
}

/* ═══════════════════════════════════════════════════════════════════
   5. CATEGORY CARDS
═══════════════════════════════════════════════════════════════════ */
.help-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}



/* Color helper classes (set via PHP inline style) */
.help-cat-color-1 {
  --cat-color: var(--help-cat-1);
  --cat-color-light: #eef0fd;
}

.help-cat-color-2 {
  --cat-color: var(--help-cat-2);
  --cat-color-light: #fef0f7;
}

.help-cat-color-3 {
  --cat-color: var(--help-cat-3);
  --cat-color-light: #eeebf9;
}

.help-cat-color-4 {
  --cat-color: var(--help-cat-4);
  --cat-color-light: #eafaff;
}

.help-cat-color-5 {
  --cat-color: var(--help-cat-5);
  --cat-color-light: #eafaf5;
}

.help-cat-color-6 {
  --cat-color: var(--help-cat-6);
  --cat-color-light: #fff9e6;
}

.help-cat-color-7 {
  --cat-color: var(--help-cat-7);
  --cat-color-light: #fde9ea;
}

.help-cat-color-8 {
  --cat-color: var(--help-cat-8);
  --cat-color-light: #fff4e5;
}

/* ═══════════════════════════════════════════════════════════════════
   6. ARTICLE CARDS
═══════════════════════════════════════════════════════════════════ */

  color: var(--bg-main);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--help-dur) var(--help-ease);
}

.help-read-more:hover {
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   7. ARTICLE DETAIL
═══════════════════════════════════════════════════════════════════ */
.help-article-header {
  padding-bottom: 20px;
  border-bottom: 2px solid var(--help-border);
  margin-bottom: 28px;
}

.help-article-header h1 {


  color: var(--help-text-main);
  line-height: 1.3;
  margin-bottom: 14px;
}

.help-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;

  color: var(--help-text-muted);
}

.help-article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.help-article-body {
  line-height: 1.75;
  color: var(--help-text-main);
}

.help-article-body h2,
.help-article-body h3 {
  color: var(--help-text-main);
  margin-top: 1.8em;
}

.help-article-body p {
  margin-bottom: 1.1em;
}

.help-article-body ul,
.help-article-body ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.help-article-body li {
  margin-bottom: .4em;
  list-style: disc;
}

.help-article-body code {
  background: var(--bg-light-blue);
  color: var(--bg-main);
  padding: 2px 7px;
  border-radius: 5px;

}

.help-article-body blockquote {
  border-left: 4px solid var(--bg-main);
  background: var(--bg-light-blue);
  padding: 14px 20px;
  border-radius: 0 var(--help-radius-sm) var(--help-radius-sm) 0;
  margin: 1.5em 0;
  color: var(--help-text-main);
}

/* ── Video embed ── */
.help-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--help-radius);
  margin: 24px 0;
  background: #000;
}

.help-video-wrap iframe,
.help-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══════════════════════════════════════════════════════════════════
   8. STEP-BY-STEP GUIDE
═══════════════════════════════════════════════════════════════════ */
.help-steps-section {
  background: var(--bg-light-blue);
  border-radius: var(--help-radius);
  padding: 28px 24px;
  margin: 32px 0;
  border: 1px solid rgba(var(--bg-main-rgb), .12);
}

.help-steps-heading {


  color: var(--bg-main);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-step-list {
  position: relative;
}

.help-step-list::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--bg-main), transparent);
}

.help-step-item {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  position: relative;
}

.help-step-item:last-child {
  margin-bottom: 0;
}

.help-step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;


  box-shadow: 0 3px 10px rgba(var(--bg-main-rgb), .35);
  z-index: 1;
}

.help-step-content {
  flex: 1;
  padding-top: 10px;
}

.help-step-title {


  color: var(--help-text-main);
  margin-bottom: 6px;
}

.help-step-desc {
  color: var(--help-text-muted);
  line-height: 1.6;
}

.help-step-screenshot {
  margin-top: 12px;
  border-radius: var(--help-radius-sm);
  border: 1px solid var(--help-border);
  max-height: 280px;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity var(--help-dur);
}

.help-step-screenshot:hover {
  opacity: .85;
}

/* ═══════════════════════════════════════════════════════════════════
   9. FAQ ACCORDION  (uses support module data)
═══════════════════════════════════════════════════════════════════ */
.help-faq-section {
  margin: 32px 0;
}

.help-faq-heading {


  color: var(--help-text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-faq-item {
  border: 1px solid var(--help-border);
  border-radius: var(--help-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color var(--help-dur) var(--help-ease);
}

.help-faq-item.open {
  border-color: var(--bg-main);
}

.help-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;


  color: var(--help-text-main);
  cursor: pointer;
  background: var(--help-card-bg);
  user-select: none;
  transition: background var(--help-dur);
}

.help-faq-question:hover {
  background: var(--bg-light-blue);
}

.help-faq-item.open .help-faq-question {
  background: var(--bg-light-blue);
  color: var(--bg-main);
}

.help-faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light-blue);
  color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  transition: transform var(--help-dur) var(--help-ease),
    background var(--help-dur);
}

.help-faq-item.open .help-faq-chevron {
  transform: rotate(180deg);
  background: var(--bg-main);
  color: #fff;
}

.help-faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s var(--help-ease), padding var(--help-dur);

  color: var(--help-text-muted);
  line-height: 1.7;
  background: var(--help-card-bg);
}

.help-faq-item.open .help-faq-answer {
  max-height: 800px;
  padding: 4px 20px 18px;
}



/* ═══════════════════════════════════════════════════════════════════
   11. SIDEBAR WIDGETS
═══════════════════════════════════════════════════════════════════ */
.help-sidebar-widget {
  background: var(--help-card-bg);
  border: 1px solid var(--help-border);
  border-radius: var(--help-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.help-sidebar-title {


  color: var(--help-text-main);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.help-sidebar-title i {
  color: var(--bg-main);
}

.help-sidebar-link-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.help-sidebar-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--help-radius-sm);
  color: var(--help-text-main);


  text-decoration: none;
  transition: background var(--help-dur), color var(--help-dur);
}

.help-sidebar-link:hover {
  background: var(--bg-light-blue);
  color: var(--bg-main);
  text-decoration: none;
}

.help-sidebar-link.active {
  background: var(--bg-main);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.help-sidebar-link.active i {
  color: #fff;
}

.help-sidebar-link.active:hover {
  background: var(--bg-main);
  color: #fff;
}

.help-sidebar-link i {
  color: var(--bg-main);
  margin-top: 3px;
  flex-shrink: 0;
}

.help-sidebar-link .views {
  margin-left: auto;

  color: var(--help-text-light);
  flex-shrink: 0;
}

.help-sidebar-search input {
  width: 100%;
  border: 1px solid var(--help-border);
  border-radius: 50px;
  padding: 10px 16px;

  transition: border-color var(--help-dur);
}

.help-sidebar-search input:focus {
  outline: none;
  border-color: var(--bg-main);
}

/* ═══════════════════════════════════════════════════════════════════
   12. FLOATING HELP BUTTON + SLIDE PANEL
═══════════════════════════════════════════════════════════════════ */
.help-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-main);
  color: #fff;
  border: none;
  box-shadow: 0 6px 24px rgba(var(--bg-main-rgb), .45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;


  z-index: 9999;
  transition: transform var(--help-dur) var(--help-ease),
    box-shadow var(--help-dur) var(--help-ease);
  animation: help-float-pulse 2.4s ease-in-out infinite;
}

.help-float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(var(--bg-main-rgb), .55);
  animation: none;
}

@keyframes help-float-pulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(var(--bg-main-rgb), .45);
  }

  50% {
    box-shadow: 0 6px 36px rgba(var(--bg-main-rgb), .65);
  }
}

.help-float-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

.help-float-backdrop.open {
  display: block;
}

.help-slide-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100%;
  background: var(--help-card-bg);
  box-shadow: -8px 0 40px rgba(0, 0, 0, .15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s var(--help-ease);
}

.help-slide-panel.open {
  transform: translateX(0);
}

.help-slide-panel-header {
  padding: 20px;
  background: linear-gradient(135deg, var(--bg-main), var(--bg-main));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.help-slide-panel-header h6 {
  margin: 0;


  flex: 1;
}

.help-slide-close {
  background: rgba(255, 255, 255, .2);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: background var(--help-dur);
}

.help-slide-close:hover {
  background: rgba(255, 255, 255, .35);
}

.help-slide-panel-search {
  padding: 14px 16px;
  border-bottom: 1px solid var(--help-border);
  flex-shrink: 0;
}

.help-slide-panel-search input {
  width: 100%;
  border: 1px solid var(--help-border);
  border-radius: 50px;
  padding: 9px 16px;

}

.help-slide-panel-search input:focus {
  outline: none;
  border-color: var(--bg-main);
}

.help-slide-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.help-slide-section-title {


  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--help-text-muted);
  margin-bottom: 10px;
  margin-top: 16px;
}

.help-slide-article-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: var(--help-radius-sm);
  text-decoration: none;
  color: var(--help-text-main);


  transition: background var(--help-dur);
  border: 1px solid transparent;
  margin-bottom: 6px;
}

.help-slide-article-link:hover {
  background: var(--bg-light-blue);
  border-color: rgba(var(--bg-main-rgb), .15);
  text-decoration: none;
}

.help-slide-article-link i {
  color: var(--bg-main);
  flex-shrink: 0;
  margin-top: 2px;
}

.help-slide-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--help-text-muted);
}

.help-slide-empty i {
  color: var(--help-text-light);
  margin-bottom: 12px;
  display: block;
}

.help-slide-panel-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--help-border);
  flex-shrink: 0;
}

.help-slide-browse-btn {
  display: block;
  text-align: center;
  background: var(--bg-main);
  color: #fff;
  border-radius: 8px;
  padding: 10px;


  text-decoration: none;
  transition: background var(--help-dur);
}

.help-slide-browse-btn:hover {
  background: var(--bg-main);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   13. SEARCH RESULTS
═══════════════════════════════════════════════════════════════════ */
.help-search-result-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--help-border);
  border-radius: var(--help-radius);
  background: var(--help-card-bg);
  margin-bottom: 12px;
  transition: border-color var(--help-dur), box-shadow var(--help-dur);
  text-decoration: none;
}

.help-sea

/* ═══════════════════════════════════════════════════════════════════
   17. CUSTOM TYPOGRAPHY & SPACING (REPLACING INLINE CSS)
═══════════════════════════════════════════════════════════════════ */
.help-popular-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.help-icon-sm {
  font-size: 0.75rem;
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.help-category-card:hover .help-icon-sm,
.help-article-card:hover .help-icon-sm,
.help-read-more:hover .help-icon-sm {
  transform: translateX(4px);
}

.help-text-sm {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.help-summary-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0.5rem;
  color: var(--help-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   18. MODERN UI ENHANCEMENTS (OVERRIDING DEFAULT CLASSES)
═══════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════
   18. ULTRA-PREMIUM MODERN UI OVERRIDES
═══════════════════════════════════════════════════════════════════ */

.bg-light-blue {
  background: #f8fafc !important; 
  position: relative;
}

/* Beautiful Section Titles */
.help-section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(13, 110, 253, 0.1);
  position: relative;
}

.help-section-title-bar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--bg_main, #0db8e3);
  border-radius: 2px;
}

.help-section-title {
  font-weight: 800;
  font-size: 2rem;
  color: #1e293b;
  letter-spacing: -0.5px;
  margin: 0;
}

.help-see-all {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bg_main, #0db8e3);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(13, 184, 227, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.help-see-all:hover {
  background: var(--bg_main, #0db8e3);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 184, 227, 0.2);
}

/* -------------------------------------------------------------------
   BROWSE TOPICS: PREMIUM CATEGORY CARDS
------------------------------------------------------------------- */
.help-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.help-category-card {
  background: #f8fafc !important;
  border-radius: 12px !important;
  padding: 35px 25px;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Subtle gradient glow on hover */
.help-category-card::before {
  display: none !important;
}

.help-category-card:hover {
  background: #f1f5f9 !important;
  border-color: #3b82f6 !important;
  transform: translateY(-4px) !important;
  box-shadow: none !important;
}

.help-category-icon {
  box-shadow: none !important;
  background: transparent !important;
  margin-bottom: 20px;
}
.help-category-icon i {
  color: #0284c7 !important;
  font-size: 2rem;
}


.help-category-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.help-category-card:hover .help-category-title {
  color: #0284c7;
}

.help-category-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 25px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.help-category-count {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 30px;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  transition: all 0.3s ease;
}

.help-category-card:hover .help-category-count {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.help-category-count i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.help-category-card:hover .help-category-count i {
  transform: translateX(4px);
}


/* -------------------------------------------------------------------
   FEATURED & RECENT GUIDES: PREMIUM ARTICLE CARDS
------------------------------------------------------------------- */
.help-article-card {
  background: #f8fafc !important;
  border-radius: 12px !important;
  padding: 30px;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.help-article-card:hover {
  transform: translateY(-4px) !important;
}

.help-article-card:hover::after {
  opacity: 1;
}

.help-article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.help-article-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #0284c7 !important;
  background: #f0f9ff;
  padding: 6px 12px;
  border-radius: 6px;
}

.help-article-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8 !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

.help-article-title {
  margin-bottom: 15px;
}

.help-article-title a {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b !important;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.help-article-card:hover .help-article-title a {
  color: #0284c7 !important;
}

.help-article-summary {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.help-article-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.help-read-more {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0284c7 !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.help-read-more i {
  transition: transform 0.3s ease;
}

.help-article-card:hover .help-read-more {
  color: #0369a1 !important;
}

.help-article-card:hover .help-read-more i {
  transform: translateX(6px);
}

.help-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.help-badge-beginner { background: #dcfce7; color: #166534; }
.help-badge-intermediate { background: #fef08a; color: #854d0e; }
.help-badge-advanced { background: #fee2e2; color: #991b1b; }

/* -------------------------------------------------------------------
   ARTICLE DETAIL PAGE STYLES (NO INLINE CSS)
------------------------------------------------------------------- */
.help-detail-header-meta {
  border-color: #e2e8f0 !important;
}

.help-detail-badge-type {
  background: linear-gradient(135deg, #0db8e3 0%, #0284c7 100%);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.help-detail-badge-difficulty {
  background-color: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem;
}

.help-manage-article-btn {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.help-manage-article-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.help-detail-summary {
  background-color: #f8fafc;
  border-left: 4px solid #3b82f6 !important;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 30px;
}
.help-detail-summary-text {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.help-article-body {
  color: #1e293b;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* -------------------------------------------------------------------
   STEP GUIDE WIDGET (NO INLINE CSS)
------------------------------------------------------------------- */
.help-step-item {
  margin-bottom: 25px;
}
.help-step-number {
  display: none;
}
.help-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.help-step-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.help-step-img-wrap {
  width: 90px;
  height: 90px;
  transition: all 0.2s ease-in-out;
}
.help-step-img-wrap .zoom-badge {
  font-size: 8px;
  width: 16px;
  height: 16px;
}
.help-step-zoom-img {
  max-height: 82vh;
  object-fit: contain;
}