/* ==========================================================================
   Review Detail Page & 15 Airports Matrix Styles (Vintage Aesthetic)
   ========================================================================== */

.review-container {
  width: min(calc(100% - 40px), 1280px);
  margin: 0 auto;
  padding: 40px 0 80px;
}

.review-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 230px;
  gap: 36px;
  align-items: start;
}

/* Left & Right Sticky Sidebars */
.review-sidebar-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  background: rgba(255, 250, 241, 0.85);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 2px;
  box-shadow: 0 4px 18px rgba(86, 45, 15, 0.04);
}

.sidebar-box .box-title {
  margin: 0 0 12px;
  font: 600 13px Georgia, serif;
  color: var(--rust);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}

.section-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-menu a {
  padding: 6px 10px;
  color: #694a35;
  font-size: 13.5px;
  border-radius: 3px;
  transition: all .15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-menu a::before {
  content: "•";
  color: var(--rust);
  opacity: .5;
  transition: opacity .15s ease;
}

.section-menu a:hover,
.section-menu a.active {
  color: var(--rust-dark);
  background: rgba(145, 66, 15, 0.08);
  font-weight: 600;
}

.section-menu a:hover::before,
.section-menu a.active::before {
  opacity: 1;
  color: var(--rust-dark);
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-links a {
  font-size: 13px;
  color: #5c3f2b;
  padding: 5px 8px;
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s ease;
}

.sidebar-links a:hover {
  background: rgba(145, 66, 15, 0.06);
  color: var(--rust);
}

/* Main Review Article Content */
.review-main {
  min-width: 0;
  background: rgba(255, 250, 241, 0.7);
  border: 1px solid var(--line);
  padding: 42px 48px;
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(86, 45, 15, 0.04);
}

.review-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.review-breadcrumb a {
  color: #694a35;
  transition: color .15s ease;
}

.review-breadcrumb a:hover {
  color: var(--rust);
}

.review-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.review-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 12px Georgia, serif;
  color: var(--rust);
  background: rgba(145, 66, 15, 0.08);
  border: 1px solid rgba(145, 66, 15, 0.2);
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.review-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 58px;
  height: 58px;
  border: 2px solid var(--rust);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-family: Georgia, "Songti SC", serif;
  color: var(--rust-dark);
  background: var(--paper);
  transform: rotate(-2deg);
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--line);
}

.review-avatar.icon-violet { border-color: #6b3ba7; color: #6b3ba7; }
.review-avatar.icon-blue { border-color: #1e6fa0; color: #1e6fa0; }
.review-avatar.icon-green { border-color: #2e7d32; color: #2e7d32; }
.review-avatar.icon-coral { border-color: #c0451a; color: #c0451a; }

.review-title-group h1 {
  margin: 0;
  color: var(--rust-dark);
  font: 600 32px/1.25 Georgia, "Songti SC", serif;
}

.review-title-group h1 em {
  display: block;
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  letter-spacing: .08em;
  margin-top: 4px;
}

.review-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #4a3426;
  margin: 0 0 18px;
}

.review-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.review-tag {
  font-size: 12px;
  padding: 3px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: #5c3f2b;
  border-radius: 2px;
}

.review-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.btn-primary-aff {
  background: var(--rust);
  color: var(--white);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(145, 66, 15, 0.25);
  transition: all .2s ease;
}

.btn-primary-aff:hover {
  background: var(--rust-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sub-action {
  border: 1px solid var(--line);
  background: var(--paper);
  color: #5c3f2b;
  padding: 9px 18px;
  font-size: 13.5px;
  border-radius: 3px;
  transition: all .15s ease;
}

.btn-sub-action:hover {
  border-color: var(--rust);
  color: var(--rust-dark);
}

.aff-disclaimer {
  display: block;
  font-size: 12px;
  color: #9c7b64;
  line-height: 1.6;
}

/* Verified Metrics Box */
.verified-snapshot-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  padding: 22px 26px;
  margin-bottom: 40px;
  border-radius: 2px;
}

.snapshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.snapshot-header strong {
  font: 600 13px Georgia, serif;
  color: var(--rust);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.snapshot-date {
  font-size: 12px;
  color: var(--muted);
}

.snapshot-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.snapshot-metric-badge {
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid var(--line);
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rust-dark);
  border-radius: 2px;
}

.snapshot-evidence {
  font-size: 14px;
  color: #5a4030;
  margin: 0 0 10px;
  line-height: 1.7;
}

.snapshot-caution {
  font-size: 12.5px;
  color: #9c633f;
  margin: 0;
  line-height: 1.6;
}

/* Article Sections */
.review-section-block {
  margin-bottom: 46px;
  scroll-margin-top: 100px;
}

.review-section-block .section-label {
  display: block;
  font: 600 12px Georgia, serif;
  color: var(--rust);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.review-section-block h2 {
  font: 500 23px/1.3 Georgia, "Songti SC", serif;
  color: var(--rust-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.review-section-block p {
  font-size: 15px;
  line-height: 1.8;
  color: #4a3426;
  margin: 0 0 16px;
}

/* Callout Box */
.review-callout {
  display: flex;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 22px;
  margin: 18px 0;
  border-radius: 2px;
}

.callout-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.review-callout div strong {
  display: block;
  font-size: 14px;
  color: var(--rust-dark);
  margin-bottom: 4px;
}

.review-callout div p {
  margin: 0;
  font-size: 14px;
}

/* Verified Data Grid */
.verified-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.verified-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 20px;
  border-radius: 2px;
}

.verified-card strong {
  display: block;
  font-size: 12.5px;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(111, 47, 8, 0.2);
  padding-bottom: 4px;
}

.verified-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4a3426;
}

/* Price Lines */
.price-list-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px 24px;
  margin: 16px 0;
  border-radius: 2px;
}

.price-list-box ul {
  margin: 0;
  padding-left: 20px;
}

.price-list-box li {
  font-size: 14px;
  color: #4a3426;
  margin-bottom: 8px;
  line-height: 1.6;
}

.price-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.advice-card {
  background: rgba(255, 250, 241, 0.8);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 2px;
  text-align: center;
}

.advice-card strong {
  display: block;
  color: var(--rust-dark);
  font-size: 14px;
  margin-bottom: 4px;
}

.advice-card span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Network Topology Diagram */
.topology-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin: 18px 0 10px;
  border-radius: 2px;
}

.topology-node {
  background: rgba(255, 250, 241, 0.95);
  border: 1.5px solid var(--rust);
  padding: 10px 16px;
  border-radius: 2px;
  text-align: center;
  min-width: 100px;
  flex: 1;
}

.topology-node span {
  display: block;
  font: 600 11px Georgia, serif;
  color: var(--rust);
  letter-spacing: .08em;
}

.topology-node strong {
  font-size: 13.5px;
  color: var(--rust-dark);
  white-space: nowrap;
}

.topology-arrow {
  color: var(--rust);
  font-size: 18px;
  font-weight: 700;
}

.topology-note {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 6px;
}

/* 3-Step Setup Guide */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
}

.step-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 20px;
  border-radius: 2px;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--rust-dark);
  color: var(--white);
  border-radius: 2px;
  display: grid;
  place-items: center;
  font: 700 13px Georgia, serif;
  flex-shrink: 0;
}

.step-row p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Troubleshooting Checklist */
.troubleshoot-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.troubleshoot-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 18px;
  font-size: 14px;
  border-radius: 2px;
}

.troubleshoot-list li i {
  color: var(--rust);
  font-weight: bold;
  font-style: normal;
}

/* FAQ Cards */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}

.faq-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 22px;
  border-radius: 2px;
}

.faq-card h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  color: var(--rust-dark);
  font-family: Georgia, "Songti SC", serif;
}

.faq-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #553d2d;
}

/* Pagination Bar */
.review-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 40px 0;
}

.nav-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 20px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all .15s ease;
}

.nav-card:hover {
  border-color: var(--rust);
  background: rgba(255, 250, 241, 0.95);
  transform: translateY(-1px);
}

.nav-card.next {
  text-align: right;
}

.nav-card span {
  font-size: 12px;
  color: var(--muted);
}

.nav-card strong {
  font-size: 15px;
  color: var(--rust-dark);
}

.nav-back-list {
  background: rgba(145, 66, 15, 0.08);
  border: 1px solid var(--line);
  color: var(--rust-dark);
  padding: 14px 22px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 2px;
  white-space: nowrap;
  transition: background .15s ease;
}

.nav-back-list:hover {
  background: rgba(145, 66, 15, 0.15);
}

/* Related 3 Reviews at Bottom */
.related-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.related-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all .2s ease;
}

.related-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(86, 45, 15, 0.08);
}

.related-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-avatar {
  width: 34px;
  height: 34px;
  border: 1px solid var(--rust);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--rust);
  background: rgba(255, 250, 241, 0.8);
}

.related-top h4 {
  margin: 0;
  font-size: 15px;
  color: var(--rust-dark);
}

.related-card p {
  font-size: 12.5px;
  color: #6a4f3d;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card span.text-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--rust);
}

/* 15 Airports Index Grid in reviews.html */
.airports-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.matrix-card {
  background: rgba(255, 250, 241, 0.85);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all .2s ease;
  position: relative;
}

.matrix-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 45, 15, 0.08);
}

.matrix-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.matrix-avatar {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--rust);
  display: grid;
  place-items: center;
  font: 600 18px Georgia, serif;
  color: var(--rust-dark);
  background: var(--paper);
  transform: rotate(-2deg);
  flex-shrink: 0;
}

.matrix-info h3 {
  margin: 0;
  font: 600 18px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
}

.matrix-info small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .06em;
  margin-top: 2px;
}

.matrix-price-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rust-dark);
  background: rgba(145, 66, 15, 0.08);
  border: 1px solid rgba(145, 66, 15, 0.2);
  padding: 3px 8px;
  border-radius: 2px;
  margin: 6px 0 10px;
}

.matrix-evidence {
  font-size: 13px;
  color: #5c4333;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.matrix-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.matrix-metric {
  font-size: 11.5px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 2px;
  color: #694a35;
}

.matrix-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.matrix-btn-detail {
  flex: 1;
  text-align: center;
  background: var(--rust);
  color: var(--white);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
  transition: background .15s ease;
}

.matrix-btn-detail:hover {
  background: var(--rust-dark);
  color: var(--white);
}

.matrix-btn-aff {
  background: var(--paper);
  border: 1px solid var(--line);
  color: #5c3f2b;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 2px;
  transition: all .15s ease;
  white-space: nowrap;
}

.matrix-btn-aff:hover {
  border-color: var(--rust);
  color: var(--rust);
}

/* Responsive adjustments */
@media (max-width: 1140px) {
  .review-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .review-sidebar-right {
    display: none;
  }
  .airports-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .review-layout {
    grid-template-columns: 1fr;
  }
  .review-sidebar-left {
    display: none;
  }
  .review-main {
    padding: 28px 20px;
  }
  .verified-data-grid,
  .price-advice-grid,
  .related-reviews-grid,
  .airports-matrix-grid {
    grid-template-columns: 1fr;
  }
  .review-pagination {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav-card.next {
    text-align: center;
  }
}

/* Compare Matrix Table */
.compare-table-wrap {
  overflow-x: auto;
  margin: 24px 0 36px;
  background: rgba(255, 250, 241, 0.95);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(86, 45, 15, 0.04);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
  min-width: 820px;
}

.compare-table th {
  background: #ecd4b6;
  color: var(--rust-dark);
  padding: 14px 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(111, 47, 8, 0.1);
  color: #4a3426;
  vertical-align: middle;
}

.compare-table tr:hover td {
  background: rgba(145, 66, 15, 0.04);
}

.table-brand-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-brand-avatar {
  width: 28px;
  height: 28px;
  border: 1px solid var(--rust);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--rust-dark);
  background: var(--paper);
}

.table-tag {
  display: inline-block;
  padding: 2px 7px;
  font-size: 11.5px;
  border-radius: 2px;
  background: rgba(145, 66, 15, 0.08);
  border: 1px solid rgba(145, 66, 15, 0.2);
  color: var(--rust-dark);
  white-space: nowrap;
}

/* ==========================================================================
   Recommend Page Dedicated Styles (Top Picks, Filters & Decision Guide)
   ========================================================================== */

.filter-tab-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}

.filter-tab-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  color: #5c3f2b;
  padding: 8px 18px;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
  font-family: inherit;
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust-dark);
  transform: translateY(-1px);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.choice-card {
  position: relative;
  background: rgba(255, 250, 241, 0.92);
  border: 1.5px solid var(--rust);
  padding: 26px 24px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(86, 45, 15, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.choice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(86, 45, 15, 0.12);
}

.choice-top-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--rust);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(86, 45, 15, 0.2);
  text-transform: uppercase;
}

.choice-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rust);
  background: rgba(145, 66, 15, 0.09);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}

.matrix-card.hidden {
  display: none !important;
}

.matrix-badge-pill {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(145, 66, 15, 0.1);
  color: var(--rust-dark);
  font-weight: 600;
}

.scenario-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.scenario-card-item {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .2s ease;
}

.scenario-card-item:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 45, 15, 0.06);
}

.scenario-card-item .scenario-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.scenario-card-item .scenario-icon {
  font-size: 20px;
}

.scenario-card-item h3 {
  margin: 0;
  font: 600 17px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
}

.scenario-card-item p {
  font-size: 13px;
  color: #5c3f2b;
  line-height: 1.6;
  margin: 0 0 14px;
}

.scenario-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.scenario-chip {
  font-size: 12px;
  color: var(--rust-dark);
  background: rgba(255, 250, 241, 0.85);
  border: 1px solid rgba(145, 66, 15, 0.25);
  padding: 2px 7px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  transition: background .15s ease;
}

.scenario-chip:hover {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust-dark);
}

.decision-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.decision-flow-card {
  background: rgba(255, 250, 241, 0.65);
  border: 1px solid var(--line);
  padding: 22px 18px;
  border-radius: 2px;
}

.decision-flow-card .step-no {
  display: inline-block;
  font: 700 18px Georgia, serif;
  color: var(--rust);
  margin-bottom: 8px;
  border-bottom: 2px solid var(--rust);
  padding-bottom: 2px;
}

.decision-flow-card h4 {
  margin: 6px 0 8px;
  font: 600 15px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
}

.decision-flow-card p {
  margin: 0;
  font-size: 12.5px;
  color: #6a4f3d;
  line-height: 1.6;
}

@media (max-width: 1040px) {
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scenario-summary-grid,
  .decision-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .choice-grid,
  .scenario-summary-grid,
  .decision-flow-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Coupon Page Dedicated Styles (Table, Copy Buttons & Ticket Badges)
   ========================================================================== */

.coupon-code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 250, 241, 0.95);
  border: 1px dashed var(--rust);
  padding: 4px 8px;
  border-radius: 2px;
}

.coupon-pill {
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rust-dark);
  letter-spacing: .06em;
  user-select: all;
}

.btn-copy-code {
  background: var(--rust);
  color: var(--white);
  border: 1px solid var(--rust-dark);
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
  line-height: 1.4;
}

.btn-copy-code:hover {
  background: var(--rust-dark);
  transform: translateY(-1px);
}

.btn-copy-code.copied {
  background: var(--sage);
  border-color: #3b5247;
  color: #fff;
}

.discount-badge-cell {
  display: inline-block;
  font-weight: 700;
  font-size: 12.5px;
  color: #a84209;
  background: rgba(145, 66, 15, 0.08);
  border: 1px solid rgba(145, 66, 15, 0.2);
  padding: 3px 8px;
  border-radius: 2px;
}

.valid-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #2e7d32;
  white-space: nowrap;
}

.valid-status-tag::before {
  content: "●";
  font-size: 9px;
}

.coupon-table th {
  padding: 14px 14px;
}

.coupon-table td {
  padding: 13px 14px;
}

/* ==========================================================================
   Client Tutorial Dedicated Styles (Platform Guides, Steps & Troubleshooting)
   ========================================================================== */

.client-device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0 48px;
}

.client-device-card {
  position: relative;
  border: 1.5px solid var(--line);
  background: rgba(255, 250, 241, 0.7);
  padding: 28px 30px;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(86, 45, 15, 0.04);
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.client-device-card:hover {
  border-color: var(--rust);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(86, 45, 15, 0.08);
  background: rgba(255, 250, 241, 0.95);
}

.client-device-card .device-meta {
  font-size: 11.5px;
  letter-spacing: .15em;
  color: #a8643a;
  text-transform: uppercase;
  font-weight: 700;
}

.client-device-card h3 {
  margin: 4px 0 6px;
  font: 500 24px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
}

.client-device-card p {
  margin: 0;
  font-size: 13.5px;
  color: #5c3f2b;
  line-height: 1.6;
}

.client-device-card .device-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--rust);
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.platform-guide-block {
  background: rgba(255, 250, 241, 0.95);
  border: 1px solid var(--line);
  padding: 36px 34px;
  border-radius: 2px;
  margin-bottom: 40px;
  box-shadow: 0 8px 24px rgba(86, 45, 15, 0.04);
}

.platform-guide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.platform-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-avatar-badge {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--rust);
  background: var(--paper);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.platform-title-group h2 {
  margin: 0;
  font: 500 28px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
}

.platform-title-group small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.software-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.software-chip-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.software-chip-tag {
  font-size: 12px;
  background: rgba(145, 66, 15, 0.08);
  border: 1px solid rgba(145, 66, 15, 0.2);
  color: var(--rust-dark);
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 600;
}

.software-chip-tag.primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust-dark);
}

.tutorial-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 28px;
}

.tutorial-step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 18px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tutorial-step-card .step-number {
  display: inline-block;
  font: 700 16px Georgia, serif;
  color: var(--rust);
  border-bottom: 2px solid var(--rust);
  padding-bottom: 2px;
  margin-bottom: 8px;
  width: fit-content;
}

.tutorial-step-card h4 {
  margin: 4px 0 8px;
  font: 600 16px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
}

.tutorial-step-card p {
  margin: 0;
  font-size: 13px;
  color: #5c3f2b;
  line-height: 1.65;
}

.tutorial-step-card code {
  background: rgba(145, 66, 15, 0.08);
  padding: 2px 5px;
  font-size: 12px;
  border-radius: 2px;
  color: var(--rust-dark);
}

.client-troubleshoot-box {
  background: rgba(255, 250, 241, 0.7);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  padding: 18px 22px;
  margin-top: 20px;
  border-radius: 2px;
}

.client-troubleshoot-box h4 {
  margin: 0 0 10px;
  font: 600 15px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.client-troubleshoot-box ul {
  margin: 0;
  padding-left: 18px;
}

.client-troubleshoot-box li {
  font-size: 13.5px;
  color: #5c3f2b;
  margin-bottom: 6px;
  line-height: 1.6;
}

@media (max-width: 990px) {
  .tutorial-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-device-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tutorial-step-grid {
    grid-template-columns: 1fr;
  }
  .platform-guide-header {
    flex-direction: column;
  }
}

/* ==========================================================================
   Scenario Practical Articles Styles (9 Core Use Cases)
   ========================================================================== */

.scenario-quicknav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 44px;
}

.scenario-quicknav-card {
  background: rgba(255, 250, 241, 0.85);
  border: 1.5px solid var(--line);
  padding: 18px 20px;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all .2s ease;
  box-shadow: 0 4px 14px rgba(86, 45, 15, 0.04);
}

.scenario-quicknav-card:hover {
  border-color: var(--rust);
  background: rgba(255, 250, 241, 0.98);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(86, 45, 15, 0.08);
}

.scenario-quicknav-card h4 {
  margin: 0;
  font: 600 16px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
}

.scenario-quicknav-card span.nav-icon {
  font-size: 18px;
  color: var(--rust);
}

.scenario-article-block {
  background: rgba(255, 250, 241, 0.92);
  border: 1px solid var(--line);
  padding: 34px 32px;
  border-radius: 2px;
  margin-bottom: 38px;
  box-shadow: 0 6px 20px rgba(86, 45, 15, 0.04);
}

.scenario-article-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.scenario-article-header h2 {
  margin: 4px 0 0;
  font: 500 26px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
}

.scenario-topic-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rust);
  background: rgba(145, 66, 15, 0.09);
  padding: 3px 8px;
  border-radius: 2px;
}

.scenario-param-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 20px;
  margin: 18px 0;
  border-radius: 2px;
}

.scenario-param-item strong {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.scenario-param-item span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rust-dark);
}

.scenario-content-body p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #4a3426;
  margin: 0 0 14px;
}

.scenario-content-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.scenario-content-body li {
  font-size: 14px;
  line-height: 1.75;
  color: #5c3f2b;
  margin-bottom: 8px;
}

.scenario-action-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.scenario-btn-aff {
  background: var(--rust);
  color: var(--white);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  transition: background .15s ease;
}

.scenario-btn-aff:hover {
  background: var(--rust-dark);
}

.scenario-link-review {
  color: var(--rust-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 6px;
}

@media (max-width: 900px) {
  .scenario-quicknav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scenario-param-box {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Routes Page Topology & Comparison Table
   ========================================================================== */
.route-topology-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(145, 66, 15, 0.05);
  border: 1px dashed var(--line);
  padding: 12px 16px;
  border-radius: 2px;
  margin: 14px 0 18px;
  font-size: 13px;
  color: #5c3f2b;
}

.route-flow-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--rust-dark);
}

.route-flow-arrow {
  color: var(--rust);
  font-weight: bold;
}

.route-table-wrapper {
  overflow-x: auto;
  margin: 20px 0 35px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.85);
  border-radius: 2px;
}

.route-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.route-compare-table th {
  background: rgba(145, 66, 15, 0.09);
  color: var(--rust-dark);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1.5px solid var(--line);
  white-space: nowrap;
}

.route-compare-table td {
  padding: 12px 14px;
  border-bottom: 1px dashed var(--line);
  color: #4a3426;
  line-height: 1.5;
}

.route-compare-table tr:last-child td {
  border-bottom: none;
}

.route-compare-table tr:hover td {
  background: rgba(145, 66, 15, 0.04);
}

/* ==========================================================================
   Pitfalls Page Styles (8 Core Checklist & Troubleshooting)
   ========================================================================== */
.pitfall-warning-box {
  background: rgba(184, 51, 42, 0.06);
  border-left: 3.5px solid #b8332a;
  padding: 14px 18px;
  margin: 16px 0 20px;
  border-radius: 2px;
  font-size: 13.5px;
  color: #5c201a;
  line-height: 1.6;
}

.pitfall-warning-box strong {
  color: #9c2119;
  font-size: 14px;
}

.pitfall-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.pitfall-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 250, 241, 0.7);
  border: 1px dashed var(--line);
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 2px;
}

.pitfall-badge {
  flex-shrink: 0;
  background: var(--rust);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  text-transform: uppercase;
}

.pitfall-badge.danger {
  background: #b8332a;
}

.pitfall-badge.warning {
  background: #c97a1e;
}

.pitfall-badge.success {
  background: #2b7a4b;
}

/* ==========================================================================
   AI Tools Directory Styles (4 Categories x Top 5 Tools)
   ========================================================================== */
.ai-section-module {
  background: rgba(255, 250, 241, 0.94);
  border: 1.5px solid var(--line);
  padding: 32px 30px;
  border-radius: 2px;
  margin-bottom: 42px;
  box-shadow: 0 6px 22px rgba(86, 45, 15, 0.04);
}

.ai-module-header {
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.ai-module-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rust);
}

.ai-module-header h2 {
  margin: 6px 0 8px;
  font: 600 25px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
}

.ai-module-header p {
  margin: 0;
  font-size: 14px;
  color: #694a35;
  line-height: 1.6;
}

.ai-tool-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-tool-card {
  background: #fffdf9;
  border: 1px solid var(--line);
  padding: 20px 24px;
  border-radius: 2px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  transition: all .2s ease;
}

.ai-tool-card:hover {
  border-color: var(--rust);
  box-shadow: 0 4px 16px rgba(145, 66, 15, 0.08);
  transform: translateY(-1.5px);
}

.ai-rank-badge {
  font-size: 20px;
  font-weight: 700;
  font-family: Georgia, serif;
  color: var(--rust);
  text-align: center;
  line-height: 1;
  background: rgba(145, 66, 15, 0.08);
  padding: 12px 6px;
  border-radius: 2px;
  border: 1px dashed var(--line);
}

.ai-tool-info h3 {
  margin: 0 0 6px;
  font: 600 17px Georgia, "Songti SC", serif;
  color: var(--rust-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ai-tool-tag {
  font-size: 11px;
  font-weight: 600;
  background: rgba(145, 66, 15, 0.09);
  color: var(--rust);
  padding: 2px 7px;
  border-radius: 2px;
}

.ai-tool-desc {
  font-size: 13.5px;
  color: #4a3426;
  line-height: 1.6;
  margin: 0 0 8px;
}

.ai-tool-netreq {
  font-size: 12.5px;
  color: #7a5033;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-tool-netreq strong {
  color: var(--rust-dark);
}

.ai-tool-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 130px;
}

.ai-btn-primary {
  background: var(--rust);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  text-align: center;
  border-radius: 2px;
  text-decoration: none;
  transition: background .15s ease;
}

.ai-btn-primary:hover {
  background: var(--rust-dark);
}

.ai-btn-sub {
  background: transparent;
  color: var(--rust-dark) !important;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  transition: all .15s ease;
}

.ai-btn-sub:hover {
  border-color: var(--rust);
  background: rgba(145, 66, 15, 0.06);
}

@media (max-width: 768px) {
  .ai-tool-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ai-rank-badge {
    display: inline-block;
    width: fit-content;
    padding: 6px 12px;
  }
  .ai-tool-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
