/* ==========================================================================
   Universal Theme Modern CSS for 机场推荐云 (jichangtuijian.cloud)
   Clean, Fast, Responsive, Accessible, Mobile-First
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  --container-max: 1180px;
  --content-max: 780px;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  --font-base: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #0b0f19;
    --bg-surface: #111827;
    --bg-subtle: #1f2937;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-light: #6b7280;
    
    --border-color: #374151;
    --border-subtle: #1f2937;
    
    --primary-light: #1e293b;
    --primary-border: #3b82f6;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================================================
   Header (Dual-Layer Desktop + Responsive Mobile Drawer)
   ========================================================================== */

.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-logo:hover {
  text-decoration: none;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.header-cta-btn {
  background-color: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none !important;
}

.header-cta-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-main);
  font-size: 18px;
}

.header-nav-row {
  padding: 6px 0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-link {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
  background-color: var(--primary-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 900px;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main) !important;
  font-weight: 600;
  padding: 12px 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

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

.hero-disclaimer {
  font-size: 12px;
  color: var(--text-light);
}

/* ==========================================================================
   Section Layouts & Cards
   ========================================================================== */

.section {
  padding: 40px 0;
}

.section-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.provider-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

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

.provider-card-rank {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid var(--primary-border);
}

.provider-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.provider-card-title a:hover {
  color: var(--primary);
}

.provider-card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.provider-coupon-box {
  background-color: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.coupon-code {
  font-family: monospace;
  font-weight: 700;
  color: var(--primary);
}

.btn-copy {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  font-size: 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.provider-card.is-station-recommend {
  border: 2px solid #f59e0b;
  background: linear-gradient(165deg, rgba(254, 243, 199, 0.22) 0%, var(--bg-surface) 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.16);
}

.provider-card.is-station-recommend:hover {
  border-color: #d97706;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.26);
}

.badge-station-recommend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Sidebar Airport Cards */
.sidebar-airport-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-airport-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-border);
}

.sidebar-airport-card.is-station-recommend {
  background: linear-gradient(145deg, rgba(254, 243, 199, 0.28) 0%, var(--bg-surface) 100%);
  border: 1.5px solid #f59e0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.sidebar-airport-card.is-station-recommend:hover {
  border-color: #d97706;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.28);
}

.sidebar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sidebar-card-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-main);
}

.sidebar-card-rank {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--primary-border);
}

.sidebar-airport-card.is-station-recommend .sidebar-card-rank {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

.sidebar-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.sidebar-card-price {
  font-weight: 700;
  color: var(--primary);
}

.sidebar-airport-card.is-station-recommend .sidebar-card-price {
  color: #b45309;
}

.sidebar-card-tag {
  font-size: 11px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

.provider-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-provider-review {
  background-color: var(--bg-subtle);
  color: var(--text-main) !important;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  border: 1px solid var(--border-color);
}

.btn-provider-review:hover {
  background-color: var(--border-color);
}

.btn-provider-aff {
  background-color: var(--primary);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
}

.btn-provider-aff:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   Table Styles
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
}

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

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

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

.data-table tr:hover {
  background-color: var(--primary-light);
}

/* ==========================================================================
   Article & Single Post Layout
   ========================================================================== */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  padding: 32px 0 48px;
}

.article-main {
  max-width: var(--content-max);
}

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

.article-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
}

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

.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
}

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

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

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

.article-body blockquote {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 14px;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.widget-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Table of Contents (TOC) & Scrollspy
   ========================================================================== */

.toc-widget {
  /* Normal document flow: stays in place and does not stick or follow user down the screen */
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.toc-nav {
  margin-top: 6px;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.toc-nav::-webkit-scrollbar {
  width: 4px;
}

.toc-nav::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
  border-radius: 4px;
}

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

.toc-item {
  margin: 0;
  padding: 0;
}

.toc-item.toc-h2 {
  font-size: 13px;
  font-weight: 600;
}

.toc-item.toc-h3 {
  font-size: 12px;
  font-weight: 400;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 2px solid var(--border-subtle);
}

.toc-link {
  display: block;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toc-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
  text-decoration: none;
}

.toc-link.active,
.toc-item.active > .toc-link {
  color: var(--primary);
  font-weight: 700;
  background-color: var(--primary-light);
  border-left-color: var(--primary);
}

/* Ensure smooth scrolling with offset for sticky header */
.article-body h2,
.article-body h3,
.article-main h2,
.article-main h3 {
  scroll-margin-top: 90px;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-light);
}

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

.breadcrumbs span {
  margin: 0 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
  margin-top: 48px;
}

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

.footer-brand-desc p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

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

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

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
  }

  .article-sidebar .sidebar-widget:not(.toc-widget) {
    display: none;
  }

  .toc-widget {
    position: static;
    max-height: 280px;
    margin-bottom: 20px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-nav-row {
    display: none;
  }
  
  .header-nav-row.is-open {
    display: block;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 12px 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-link {
    width: 100%;
    padding: 10px 12px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 26px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
}

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

/* ==========================================================================
   Prominent Registration CTA & Telegram Button & Search Styles
   ========================================================================== */

.btn-register-prominent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 46px;
}

.btn-register-prominent:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.header-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #0088cc;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  transition: background-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.header-tg-btn:hover {
  background-color: #0077b5;
  transform: translateY(-1px);
}

.header-search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-input {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 7px 12px 7px 32px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  width: 190px;
  transition: all 0.2s ease;
  outline: none;
}

.header-search-input:focus {
  width: 250px;
  border-color: var(--primary);
  background-color: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon-svg {
  position: absolute;
  left: 10px;
  pointer-events: none;
  color: var(--text-light);
}

.search-results-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  max-height: 380px;
  overflow-y: auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  margin-top: 6px;
}

.search-results-dropdown.is-active {
  display: block;
}

.search-result-item {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none !important;
}

.search-result-item:hover {
  background-color: var(--primary-light);
}

.search-result-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.search-result-badge {
  font-size: 11px;
  color: var(--primary);
}

/* Expanded FAQ card */
.faq-item-expanded {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.faq-item-expanded h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.faq-item-expanded p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .header-top-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  
  .header-search-input {
    width: 140px;
  }
  
  .header-search-input:focus {
    width: 180px;
  }
  
  .search-results-dropdown {
    width: 280px;
  }
}

/* ==========================================================================
   Article In-Content Provider & Feature Cards
   ========================================================================== */

.article-provider-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.article-provider-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  border-color: #cbd5e1;
}

.article-provider-card.is-station-recommend {
  border: 2px solid #f59e0b;
  background: linear-gradient(180deg, #fffdf5 0%, var(--bg-surface) 60px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15);
}

.article-provider-card.is-station-recommend:hover {
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.25);
}

.article-provider-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.article-provider-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.provider-rank-badge {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.is-station-recommend .provider-rank-badge {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.provider-name-text {
  font-size: 18px;
  color: var(--text-main);
}

.article-provider-card-details {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-provider-card-details li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  position: relative;
  padding-left: 18px;
}

.article-provider-card-details li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 16px;
}

.article-provider-card-action {
  margin-top: 16px;
}

.article-provider-card-action .btn-register-prominent {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 15px;
}

/* Feature cards for non-affiliate structured blocks (e.g. node recommendations) */
.article-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}

.article-feature-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text-main);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.feature-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}

.article-feature-card-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-feature-card-details li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.article-feature-card-details li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-light);
}

