/* CasinoGameOnline.ph - Guides & Educational Articles Stylesheet */

.guide-page {
  padding-top: 24px;
  padding-bottom: 60px;
}

/* Breadcrumbs */
.guide-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-muted, #64748b);
  margin-bottom: 24px;
}

.guide-breadcrumbs a {
  color: var(--color-text-muted, #64748b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.guide-breadcrumbs a:hover {
  color: var(--color-primary, #6b21a8);
}

.guide-breadcrumbs .separator {
  opacity: 0.5;
}

.guide-breadcrumbs .current {
  color: var(--color-text, #0f172a);
  font-weight: 600;
}

/* Layout Grid */
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: start;
}

.guide-article {
  min-width: 0;
}

.guide-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  align-self: start;
}

.guide-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(18, 26, 58, 0.04);
}

.guide-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text, #0f172a);
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-lavender, #f3e8ff);
}

/* Article Header */
.guide-article-header {
  margin-bottom: 24px;
}

.guide-category-badge {
  display: inline-block;
  background-color: var(--color-lavender, #f3e8ff);
  color: var(--color-primary, #6b21a8);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.guide-category-badge:hover {
  background-color: var(--color-primary, #6b21a8);
  color: #ffffff;
}

.guide-article-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text, #0f172a);
  margin-top: 0;
  margin-bottom: 12px;
}

.guide-article-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-muted, #475569);
  margin-bottom: 16px;
}

.guide-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--color-text-muted, #64748b);
  padding-top: 12px;
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.guide-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Featured Image */
.guide-featured-image {
  margin: 0 0 32px 0;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  border: 1px solid var(--color-border, #e2e8f0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: var(--color-bg-alt, #f8fafc);
}

.guide-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.guide-featured-image figcaption {
  font-size: 0.75rem;
  color: var(--color-text-muted, #64748b);
  text-align: center;
  padding: 8px 12px;
  background: var(--color-bg-alt, #f8fafc);
  border-top: 1px solid var(--color-border, #e2e8f0);
}

/* Article Body */
.guide-article-body {
  max-width: 75ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text, #1e293b);
}

.guide-article-body h2,
.guide-article-body h3 {
  scroll-margin-top: 120px;
  color: var(--color-text, #0f172a);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.guide-article-body h2 {
  font-size: 1.5rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.guide-article-body h3 {
  font-size: 1.25rem;
}

.guide-article-body p {
  margin-bottom: 1.25rem;
}

.guide-article-body ul,
.guide-article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.guide-article-body li {
  margin-bottom: 0.5rem;
}

/* Callout Box inside Article Body */
.guide-callout {
  background: #faf5ff;
  border-left: 4px solid var(--color-primary, #6b21a8);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.guide-callout-title {
  font-weight: 700;
  color: var(--color-primary, #6b21a8);
  margin-bottom: 6px;
}

/* Sidebar - Table of Contents (Matching Game Pages .toc-box style) */
.toc-box,
.guide-sidebar-card.guide-toc {
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-left: 4px solid var(--color-primary, #3510A8);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(18, 26, 58, 0.04);
}

.toc-title,
.guide-toc .guide-sidebar-title {
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
  color: var(--color-navy, #121A3A);
}

.toc-list,
.guide-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a,
.guide-toc-list li a {
  color: var(--color-primary, #3510A8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  line-height: 1.4;
  display: inline-block;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.toc-list a:hover,
.guide-toc-list li a:hover,
.guide-toc-list li a.active {
  background-color: transparent;
  color: var(--color-primary-hover, #280B83);
  text-decoration: underline;
  font-weight: 500;
}

/* Sidebar - Categories */
.guide-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.guide-sidebar-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-text-muted, #475569);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.guide-sidebar-links li a:hover {
  background: var(--color-bg-alt, #f8fafc);
  color: var(--color-primary, #6b21a8);
}

/* Sidebar - Related Articles */
.guide-related-card {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border, #f1f5f9);
  transition: opacity 0.2s ease;
}

.guide-related-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.guide-related-card:hover {
  opacity: 0.85;
}

.guide-related-thumb {
  width: 64px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-bg-alt, #f8fafc);
}

.guide-related-info {
  display: grid;
  gap: 2px;
}

.guide-related-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text, #0f172a);
}

.guide-related-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted, #64748b);
}

/* Guides Hub Page Styles (/guides/) */
.guide-hub-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px auto;
}

.guide-hub-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-text, #0f172a);
  margin-bottom: 12px;
}

.guide-hub-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted, #475569);
  line-height: 1.6;
}

.guide-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
}

.guide-filter-btn {
  appearance: none;
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  color: var(--color-text-muted, #475569);
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.guide-filter-btn:hover {
  border-color: var(--color-primary, #6b21a8);
  color: var(--color-primary, #6b21a8);
  background-color: var(--color-lavender, #f3e8ff);
}

.guide-filter-btn[aria-pressed="true"] {
  background-color: var(--color-primary, #6b21a8);
  border-color: var(--color-primary, #6b21a8);
  color: #ffffff;
}

/* Game Reviews Section & Cards */
.game-reviews-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.game-reviews-header {
  margin-bottom: 24px;
}

.game-reviews-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-navy, #121A3A);
  margin-bottom: 8px;
}

.game-reviews-intro {
  font-size: 1rem;
  color: var(--color-text-muted, #475569);
  line-height: 1.6;
  max-width: 800px;
}

.game-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1023px) {
  .game-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .game-reviews-grid {
    grid-template-columns: 1fr;
  }
}

.game-review-card {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(18, 26, 58, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.game-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(18, 26, 58, 0.08);
  border-color: #cbd5e1;
}

.game-review-card[hidden] {
  display: none !important;
}

.game-review-card__thumb-link {
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-alt, #f8fafc);
}

.game-review-card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.game-review-card:hover .game-review-card__img {
  transform: scale(1.04);
}

.game-review-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.game-review-card__provider {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary, #3510A8);
}

.game-review-card__badge {
  display: inline-block;
  background-color: var(--color-lavender, #f3e8ff);
  color: var(--color-primary, #6b21a8);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.game-review-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy, #121A3A);
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.3;
}

.game-review-card__title a {
  color: inherit;
  text-decoration: none;
}

.game-review-card__title a:hover {
  color: var(--color-primary, #3510A8);
}

.game-review-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted, #475569);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.game-review-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-border, #e2e8f0);
}

@media (max-width: 520px) {
  .game-review-card__actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .game-review-card__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 9px 12px;
    box-sizing: border-box;
  }
  .game-review-card__body {
    padding: 14px;
  }
  .game-review-card__title {
    font-size: 1.05rem;
  }
  .game-review-card__desc {
    font-size: 0.84rem;
    margin-bottom: 12px;
  }
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1023px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

.guide-card {
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(18, 26, 58, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(18, 26, 58, 0.08);
  border-color: #cbd5e1;
}

.guide-card[hidden] {
  display: none !important;
}

.guide-card-image {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  background: var(--color-bg-alt, #f8fafc);
  display: block;
}

.guide-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text, #0f172a);
  margin-top: 8px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.guide-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted, #475569);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--color-border, #e2e8f0);
  font-size: 0.8125rem;
  color: var(--color-text-muted, #64748b);
}

.guide-card-link {
  color: var(--color-primary, #6b21a8);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.guide-card-link:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-sidebar {
    position: static;
    order: -1;
    width: 100%;
  }

  .guide-article-body {
    max-width: 100%;
  }
}

@media (max-width: 800px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }

  .guide-filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 4px 4px 12px 4px;
    margin-bottom: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .guide-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .guide-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* Quick Answer Box */
.quick-answer-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #6b21a8;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0 32px 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.quick-answer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.quick-answer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0;
  line-height: 1.35;
}

.quick-answer-badge {
  display: inline-block;
  background: #f3e8ff;
  color: #6b21a8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .quick-answer-box {
    padding: 16px 18px;
  }

  .quick-answer-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}

.quick-answer-body p {
  margin: 0 0 10px 0;
  color: #334155;
  font-size: 0.975rem;
  line-height: 1.6;
}

.quick-answer-body p:last-child {
  margin-bottom: 0;
}

/* Article Image Placeholders in Guides */
.article-image-placeholder {
  margin: 32px 0;
  display: block;
}

.article-image-placeholder__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f8fafc;
  border: 2px dashed #a855f7;
  border-radius: 12px;
  padding: 32px 20px;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  box-sizing: border-box;
}

.article-image-placeholder__box strong {
  color: #1e1b4b;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.article-image-placeholder__box span {
  color: #475569;
  font-size: 0.9rem;
  max-width: 560px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-image-placeholder__box small {
  color: #7e22ce;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(168, 85, 247, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.article-image-placeholder figcaption,
.article-figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
  font-style: italic;
}

/* Tables in Guides */
.editorial-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  display: block;
  width: 100%;
  max-width: 100%;
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.editorial-table th, .editorial-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .editorial-table-wrapper {
    margin: 20px 0;
  }
  .editorial-table {
    font-size: 0.82rem;
    min-width: 440px;
  }
  .editorial-table th, .editorial-table td {
    padding: 8px 10px;
  }
  .editorial-table th {
    font-size: 0.76rem;
    white-space: nowrap;
  }
}

.editorial-table th {
  background: #1e1b4b;
  color: #ffffff;
  font-weight: 700;
}

.editorial-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.editorial-table tbody tr:hover {
  background-color: #f1f5f9;
}

/* External Reference Sources List */
.reference-sources-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.reference-sources-list li {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.reference-sources-list li:last-child {
  border-bottom: none;
}

.reference-sources-title {
  display: block;
  font-weight: 700;
  color: #6b21a8;
  font-size: 1rem;
  text-decoration: none;
}

.reference-sources-title:hover {
  text-decoration: underline;
}

.reference-sources-url {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  word-break: break-all;
  margin-top: 2px;
}

/* Enhanced Table of Contents Card & Grid */
.guide-toc-enhanced {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #6b21a8;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: 0 4px 16px rgba(107, 33, 168, 0.05);
}

.guide-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.guide-toc-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0;
}

.guide-toc-header-badge {
  background: #f3e8ff;
  color: #6b21a8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid #e9d5ff;
}

.guide-toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .guide-toc-grid {
    grid-template-columns: 1fr;
  }
}

.guide-toc-grid li {
  margin: 0;
}

.guide-toc-grid-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #1e1b4b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.885rem;
  line-height: 1.35;
  transition: all 0.2s ease;
}

.guide-toc-grid-link:hover {
  background: #f3e8ff;
  border-color: #c084fc;
  color: #6b21a8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 33, 168, 0.08);
}

.guide-toc-num {
  min-width: 24px;
  height: 24px;
  background: #f1f5f9;
  color: #6b21a8;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.guide-toc-grid-link:hover .guide-toc-num {
  background: #6b21a8;
  color: #ffffff;
}

.guide-toc-text {
  flex: 1;
}

.guide-toc-arrow {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.guide-toc-grid-link:hover .guide-toc-arrow {
  color: #6b21a8;
  transform: translateX(3px);
}

/* FAQ Accordion Component */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px 0;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.faq-accordion-item[open] {
  border-color: #c084fc;
  box-shadow: 0 4px 16px rgba(107, 33, 168, 0.08);
}

.faq-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e1b4b;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-accordion-summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-summary:hover {
  background-color: #faf5ff;
  color: #6b21a8;
}

.faq-accordion-item[open] .faq-accordion-summary {
  background-color: #f3e8ff;
  color: #581c87;
  border-bottom: 1px solid #f3e8ff;
}

.faq-icon-wrapper {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-accordion-summary:hover .faq-icon-wrapper {
  background: #e9d5ff;
  color: #6b21a8;
}

.faq-accordion-item[open] .faq-icon-wrapper {
  transform: rotate(180deg);
  background: #6b21a8;
  color: #ffffff;
}

.faq-accordion-body {
  padding: 18px 22px 22px 22px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.faq-accordion-body p {
  margin: 0;
}

/* Dark Background Yellow Link Styling in Guides */
.editorial-table th a,
.guide-hero a:not(.btn),
.guide-dark-box a:not(.btn),
.dark-section a:not(.btn),
[data-theme="dark"] a:not(.btn) {
  color: var(--color-gold, #F4B740) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.editorial-table th a:hover,
.guide-hero a:not(.btn):hover {
  color: var(--color-gold-hover, #FFC85A) !important;
}

@media (max-width: 991px) {
  .editorial-table th a,
  .editorial-table th a:link,
  .editorial-table th a:visited,
  .guide-hero a:not(.btn),
  .guide-hero a:link,
  .guide-hero a:visited {
    color: var(--color-gold, #F4B740) !important;
  }
}



