/* ==========================================================================
   NXTL Article Scoped Styles: Cruise Mobile Data & Maritime Roaming
   Clean, reader-first editorial theme matching NXTL design language.
   Scoped strictly to .nxtl-cruise-guide.
   ========================================================================== */

.nxtl-cruise-guide {
  --bg-main: #0A0C12;
  --surface-1: #121620;
  --surface-2: #161B26;
  --surface-card: #131822;
  --accent-coral: #FF5E70;
  --accent-coral-subtle: rgba(255, 94, 112, 0.12);
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #A8B5C7;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--text-secondary);
  background-color: transparent;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.nxtl-cruise-guide h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.nxtl-cruise-guide h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.nxtl-cruise-guide h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.nxtl-cruise-guide p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.nxtl-cruise-guide strong {
  color: var(--text-primary);
  font-weight: 600;
}

.nxtl-cruise-guide a {
  color: var(--accent-coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.nxtl-cruise-guide a:hover {
  color: #FF8B99;
}

.nxtl-cruise-guide code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background-color: var(--surface-2);
  color: #CBD5E1;
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.nxtl-cruise-guide ul, 
.nxtl-cruise-guide ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.nxtl-cruise-guide li {
  margin-bottom: 0.5rem;
}

/* Lead Block */
.nxtl-cruise-guide .article-lead-block {
  margin-bottom: 2rem;
}

.nxtl-cruise-guide .nxtl-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #E2E8F0;
}

/* Callouts */
.nxtl-cruise-guide .callout {
  background-color: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  box-sizing: border-box;
}

.nxtl-cruise-guide .callout-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.nxtl-cruise-guide .callout--decision {
  border-color: rgba(255, 255, 255, 0.16);
  background-color: var(--surface-1);
}

.nxtl-cruise-guide .callout--info {
  border-left: 3px solid var(--accent-coral);
}

.nxtl-cruise-guide .callout--math {
  border-left: 3px solid #818CF8;
}

.nxtl-cruise-guide .callout--summary {
  border-left: 3px solid var(--border-card);
  background-color: var(--surface-1);
  margin-top: 2.5rem;
}

/* Decision Grid */
.nxtl-cruise-guide .decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .nxtl-cruise-guide .decision-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
}

.nxtl-cruise-guide .decision-col {
  background-color: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nxtl-cruise-guide .decision-col strong {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  display: block;
}

.nxtl-cruise-guide .decision-col p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.nxtl-cruise-guide .decision-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  border: 1px solid var(--border-subtle);
}

/* Figures */
.nxtl-cruise-guide .article-figure {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--surface-1);
  border: 1px solid var(--border-subtle);
}

.nxtl-cruise-guide .article-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.nxtl-cruise-guide .article-figure figcaption {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.65rem 0.875rem;
  line-height: 1.45;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--surface-1);
}

.nxtl-cruise-guide .nxtl-figure-credit {
  color: var(--text-muted);
  display: inline-block;
  margin-left: 0.25rem;
}

/* Connectivity Lanes */
.nxtl-cruise-guide .connectivity-lanes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25rem 0;
}

.nxtl-cruise-guide .lane-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.125rem 1.25rem;
}

.nxtl-cruise-guide .lane-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.0625rem;
}

.nxtl-cruise-guide .lane-card p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Tables */
.nxtl-cruise-guide .article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0 0.5rem 0;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background-color: var(--surface-1);
  -webkit-overflow-scrolling: touch;
}

.nxtl-cruise-guide .nxtl-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 1rem;
  min-width: 540px;
}

.nxtl-cruise-guide .nxtl-table th {
  background-color: var(--surface-2);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.75rem 0.875rem;
  border-bottom: 1px solid var(--border-card);
  white-space: nowrap;
}

.nxtl-cruise-guide .nxtl-table td {
  padding: 0.75rem 0.875rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  line-height: 1.5;
}

.nxtl-cruise-guide .nxtl-table tbody tr:last-child td {
  border-bottom: none;
}

.nxtl-cruise-guide .table-footnote {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.4rem;
  margin-bottom: 1.25rem;
}

/* Scenarios */
.nxtl-cruise-guide .scenario-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.nxtl-cruise-guide .scenario-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.nxtl-cruise-guide .scenario-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #CBD5E1;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.nxtl-cruise-guide .scenario-header h3 {
  margin: 0;
  font-size: 1.125rem;
}

.nxtl-cruise-guide .scenario-profile {
  font-size: 0.875rem;
  color: #CBD5E1;
  margin-bottom: 0.75rem;
}

.nxtl-cruise-guide .scenario-breakdown ul {
  margin-bottom: 0.75rem;
}

.nxtl-cruise-guide .scenario-breakdown li {
  font-size: 0.875rem;
  line-height: 1.55;
}

.nxtl-cruise-guide .scenario-verdict {
  background-color: var(--surface-2);
  border-left: 2px solid var(--accent-coral);
  padding: 0.65rem 0.875rem;
  font-size: 0.8125rem;
  margin-bottom: 0;
  border-radius: 0 4px 4px 0;
}

/* Formula Block */
.nxtl-cruise-guide .formula-block {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background-color: var(--surface-2);
  color: #E2E8F0;
  padding: 0.65rem 0.875rem;
  border-radius: 6px;
  margin: 0.65rem 0 0.875rem 0;
  border: 1px solid var(--border-subtle);
}

/* Checklist Grid */
.nxtl-cruise-guide .checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}

@media (max-width: 680px) {
  .nxtl-cruise-guide .checklist-grid {
    grid-template-columns: 1fr;
  }
}

.nxtl-cruise-guide .checklist-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.125rem;
}

.nxtl-cruise-guide .checklist-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent-coral);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.nxtl-cruise-guide .checklist-card h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.4rem;
  font-size: 1.125rem;
}

.nxtl-cruise-guide .checklist-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* FAQ Accordion */
.nxtl-cruise-guide .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 1.25rem 0;
}

.nxtl-cruise-guide .faq-item {
  background-color: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.125rem 1.25rem;
  margin-bottom: 0.875rem;
}

.nxtl-cruise-guide .faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.nxtl-cruise-guide .faq-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}
