/* Clean White Theme for JichangPlus 机场加 (jichangplus.xyz) */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-accent: #0ea5e9;
  --border-color: #e2e8f0;
  --border-light: #cbd5e1;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --card-hover-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --content-width: 780px;
  --container-width: 1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html {
  scroll-behavior: smooth;
}

/* Scroll margin offset for fixed header */
.article-body h2,
.article-body h3,
.article-card,
[id] {
  scroll-margin-top: 85px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Container */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.article-container {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 10px;
  border-bottom: 1px solid #f1f5f9;
}

.site-brand {
  display: flex;
  flex-direction: column;
}

.brand-link {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-link:hover {
  text-decoration: none;
  color: var(--brand-blue);
}

.site-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-btn {
  display: inline-block;
  padding: 7px 15px;
  background: var(--brand-blue);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.header-cta-btn:hover {
  background: var(--brand-blue-hover);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Nav */
.main-nav {
  padding: 8px 0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  display: block;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 4px;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text-main);
  background: var(--bg-secondary);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  color: var(--brand-blue);
  font-weight: 600;
  background: #eff6ff;
}

/* Breadcrumbs */
.breadcrumbs-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs-list {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs-list li::after {
  content: "/";
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumbs-list li:last-child::after {
  content: "";
}

/* Hero Section */
.hero-section {
  padding: 50px 0 40px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 900px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  background: var(--brand-blue);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff;
  color: var(--text-main) !important;
  border: 1px solid var(--border-color);
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none !important;
}

.btn-secondary:hover {
  background: var(--bg-secondary);
}

.hero-disclosure {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 14px;
}

/* Sections */
.section {
  padding: 45px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* Provider Cards */
.provider-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}

.provider-card:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-2px);
}

.provider-card.primary-rank {
  border-color: #bfdbfe;
  background: #ffffff;
}

.provider-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.provider-rank-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 8px;
  border-radius: 4px;
}

.provider-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.provider-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 8px;
  flex-wrap: nowrap;
}

.provider-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #e11d48;
  margin-bottom: 0;
  white-space: nowrap;
}

.provider-traffic {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0;
  white-space: nowrap;
}

.provider-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.provider-coupon-box {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-light);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coupon-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-blue);
}

.coupon-copy-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

.provider-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-detail {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  background: var(--bg-secondary);
  color: var(--text-main) !important;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-detail:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--brand-blue) !important;
}

.btn-cta {
  flex: 1.2;
  text-align: center;
  padding: 8px 10px;
  background: var(--brand-blue);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
}

.btn-cta:hover {
  background: var(--brand-blue-hover);
}

.provider-meta-footer {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: right;
}

/* Article Cards */
.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-hover-shadow);
}

.article-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
}

.article-card-title a {
  color: var(--text-main);
  text-decoration: none;
}

.article-card-title a:hover {
  color: var(--brand-blue);
}

.article-card-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex-grow: 1;
}

.article-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  gap: 12px;
}

/* Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #ffffff;
  margin: 20px 0;
}

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

.data-table th, .data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-main);
}

.data-table tr:hover {
  background: #f8fafc;
}

/* Article Page Layout */
.article-page {
  padding: 40px 0 60px;
}

.article-header {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.article-category {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-title {
  font-size: 2.1rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

/* Series Progress Box */
.series-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 0.92rem;
}

.series-box-title {
  font-weight: 700;
  color: #166534;
  margin-bottom: 6px;
}

/* TOC Box */
.toc-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 24px 0 32px;
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.toc-box ul {
  list-style-type: none;
  padding-left: 0;
}

.toc-box li {
  margin: 6px 0;
  font-size: 0.88rem;
}

.toc-box li a {
  color: var(--text-muted);
}

.toc-box li a:hover {
  color: var(--brand-blue);
}

/* Article Content Typography */
.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1e293b;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 28px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin-bottom: 22px;
  padding-left: 26px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--brand-blue);
  background: var(--bg-secondary);
  padding: 14px 18px;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--text-muted);
}

/* In-article CTA */
.in-article-cta {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 24px;
  margin: 36px 0;
  text-align: center;
}

.in-article-cta h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.in-article-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Post Navigation (Prev/Next) */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.post-nav-item {
  flex: 1;
}

.post-nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.post-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Related Content */
.related-section {
  margin: 40px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* FAQ Details/Summary */
.faq-accordion {
  margin: 20px 0;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 12px;
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-answer {
  padding: 14px 18px;
  border-top: 1px solid var(--border-color);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  background: #fafafa;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 36px 0;
}

.page-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-link:hover, .page-link.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand-desc {
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.footer-compliance-text {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
  }
  .main-nav.is-open {
    display: block;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 14px 0;
  }
  .nav-list {
    flex-direction: column;
    gap: 4px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .article-title {
    font-size: 1.65rem;
  }
}

/* TG Channel Button */
.header-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #0088cc;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.header-tg-btn:hover {
  background: #0077b5;
}

/* Header Live Search */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input {
  padding: 6px 12px 6px 30px;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  outline: none;
  width: 170px;
  transition: width 0.2s ease, border-color 0.2s ease;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 9px center;
}
.search-input:focus {
  width: 220px;
  border-color: var(--brand-blue);
  background-color: #ffffff;
}
.search-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  max-height: 380px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
  z-index: 200;
  margin-top: 6px;
}
.search-dropdown.active {
  display: block;
}
.search-result-item {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none !important;
}
.search-result-item:hover {
  background: #f8fafc;
}
.search-result-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}
.search-result-desc {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Prominent 4 Providers Section Styling */
.featured-providers-box {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin: 36px 0;
}
.featured-providers-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  text-align: center;
}
.featured-providers-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}
.featured-four-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.featured-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.featured-item.p1 { border-top: 4px solid #2563eb; }
.featured-item.p2 { border-top: 4px solid #16a34a; }
.featured-item.p3 { border-top: 4px solid #9333ea; }
.featured-item.p4 { border-top: 4px solid #ea580c; }

.featured-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.featured-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.featured-item.p1 .featured-badge { background: #eff6ff; color: #2563eb; }
.featured-item.p2 .featured-badge { background: #f0fdf4; color: #16a34a; }
.featured-item.p3 .featured-badge { background: #faf5ff; color: #9333ea; }
.featured-item.p4 .featured-badge { background: #fff7ed; color: #ea580c; }

.featured-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}
.featured-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e11d48;
  margin-bottom: 6px;
}
.featured-positioning {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.featured-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

/* Eye-Catching CTA Register Buttons */
.btn-reg-prominent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
  transition: all 0.15s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex: 1.25;
}
.btn-reg-prominent:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.35);
  opacity: 0.96;
}
.featured-item .btn-reg-prominent {
  display: block;
  padding: 11px 16px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 8px;
}
.featured-item.p1 .btn-reg-prominent { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25); }
.featured-item.p2 .btn-reg-prominent { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); box-shadow: 0 2px 4px rgba(22, 163, 74, 0.25); }
.featured-item.p3 .btn-reg-prominent { background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%); box-shadow: 0 2px 4px rgba(147, 51, 234, 0.25); }
.featured-item.p4 .btn-reg-prominent { background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%); box-shadow: 0 2px 4px rgba(234, 88, 12, 0.25); }

/* Provider Card Action Buttons: Side-by-side with White Button & Black Font */
.provider-card .provider-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 14px;
  width: 100% !important;
}

.provider-card .provider-actions .btn-detail {
  flex: 1 1 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 8px 6px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.15s ease;
}

.provider-card .provider-actions .btn-detail:hover {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #93c5fd !important;
}

.provider-card .provider-actions .btn-reg-prominent {
  flex: 1 1 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 8px 6px !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.15s ease;
  letter-spacing: normal !important;
}

.provider-card .provider-actions .btn-reg-prominent:hover {
  background: #f8fafc !important;
  border-color: #64748b !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  opacity: 1 !important;
}

.featured-link-sub {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Expanded FAQ Details Styling */
details.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 14px;
  background: #ffffff;
}
details.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  background: #f8fafc;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
}
details.faq-item summary:hover {
  background: #f1f5f9;
}
details.faq-item .faq-answer {
  padding: 16px 20px;
  background: #ffffff;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Mobile search responsiveness */
@media (max-width: 860px) {
  .header-search {
    width: 100%;
    margin-top: 10px;
  }
  .search-input {
    width: 100% !important;
  }
  .search-dropdown {
    width: 100%;
    right: auto;
    left: 0;
  }
  .header-actions {
    flex-wrap: wrap;
  }
}

/* Two-Column Article Layout with Right Sticky Sidebar */
html {
  scroll-behavior: smooth;
}

h2, h3, .article-card {
  scroll-margin-top: 90px;
}

.article-layout {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: flex-start;
}

.article-content-main {
  flex: 1;
  min-width: 0;
  max-width: 860px;
}

.article-sidebar-right {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
}

.sidebar-sticky-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.sidebar-sticky-box::-webkit-scrollbar {
  width: 5px;
}
.sidebar-sticky-box::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.sidebar-toc-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-toc-header .sidebar-badge {
  font-size: 11px;
  background: #e8f0fe;
  color: var(--brand-blue);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav-item {
  margin: 2px 0;
}

.sidebar-nav-item.toc-level-2 {
  margin-top: 10px;
  margin-bottom: 3px;
}

.sidebar-nav-item.toc-level-2 > .sidebar-nav-link {
  font-weight: 700;
  font-size: 13.5px;
  color: #1e293b;
  padding: 5px 8px;
}

.sidebar-nav-item.toc-level-3 {
  margin: 2px 0;
}

.sidebar-nav-item.toc-level-3 > .sidebar-nav-link {
  padding-left: 20px;
  font-size: 12.5px;
  color: #64748b;
  position: relative;
}

.sidebar-nav-item.toc-level-3 > .sidebar-nav-link::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.2s ease;
}

.sidebar-nav-item.toc-level-3 > .sidebar-nav-link:hover::before,
.sidebar-nav-item.toc-level-3 > .sidebar-nav-link.active::before {
  background: var(--brand-blue);
  transform: translateY(-50%) scale(1.3);
}

.sidebar-nav-link {
  display: block;
  padding: 5px 8px;
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 2px solid transparent;
}

.sidebar-nav-link:hover {
  color: var(--brand-blue);
  background: #f1f5f9;
  border-left-color: var(--brand-blue);
}

.sidebar-nav-link.active {
  color: var(--brand-blue);
  background: #eff6ff;
  border-left-color: var(--brand-blue);
  font-weight: 600;
}

.sidebar-quick-top {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  text-align: center;
}

.sidebar-back-top {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-back-top:hover {
  color: var(--brand-blue);
}

@media (max-width: 1080px) {
  .article-layout {
    flex-direction: column;
  }
  .article-sidebar-right {
    display: none;
  }
  .article-content-main {
    max-width: 100%;
  }
}

