/* =============================================================================
   LRI Route Pages — logistics-route-importer  v1.1
   Full inner-page styles + floating TOC + archive grid + contact form
   All scoped to .rhli-* — never conflicts with theme styles.
============================================================================= */
.rhli-page *,
.rhli-archive-page *,
.rhli-toc *,
.rhli-toc-mobile * { box-sizing: border-box; }

:root {
  --rhli-primary:  #0f766e;
  --rhli-accent:   #14b8a6;
  --rhli-green:    #16a34a;
  --rhli-bg:       #f8fafc;
  --rhli-surface:  #fff;
  --rhli-border:   #e2e8f0;
  --rhli-text:     #1e293b;
  --rhli-muted:    #64748b;
  --rhli-radius:   10px;
  --rhli-shadow:   0 2px 16px rgba(0,0,0,.08);
  --rhli-shadow-lg:0 8px 32px rgba(0,0,0,.12);
  --rhli-nav-h:    58px;
  --rhli-toc-w:    230px;
  --rhli-t:        .22s ease;
}

/* ══ Sticky Nav ══════════════════════════════════════════════════ */
.rhli-sticky-nav {
  position: sticky;
  top: calc(var(--rh-nav-h, 68px) + var(--rh-topbar-h, 30px));
  z-index: 900;
  background: var(--rhli-primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(15,118,110,.30);
  min-height: var(--rhli-nav-h);
}
.rhli-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--rhli-nav-h);
  display: flex;
  align-items: center;
  gap: 14px;
}
.rhli-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  min-width: 0;
  overflow: hidden;
}
.rhli-nav-country   { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.rhli-nav-sep       { opacity: .4; flex-shrink: 0; }
.rhli-nav-service   { opacity: .8; font-weight: 400; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.rhli-nav-updated   { background: rgba(255,255,255,.18); padding: 2px 9px; border-radius: 20px; font-size: 11px; white-space: nowrap; flex-shrink: 0; }
.rhli-nav-links     { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.rhli-nav-links::-webkit-scrollbar { display: none; }
.rhli-nav-links a {
  display: block; color: rgba(255,255,255,.85); text-decoration: none;
  padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 500;
  white-space: nowrap; transition: background var(--rhli-t);
}
.rhli-nav-links a:hover,
.rhli-nav-links a.active { background: rgba(255,255,255,.20); color: #fff; }
.rhli-track-btn   { background: rgba(255,255,255,.12) !important; }
.rhli-nav-mobile-toggle {
  display: none; background: none; border: none; color: #fff;
  font-size: 22px; cursor: pointer; padding: 4px; flex-shrink: 0;
}
.rhli-nav-mobile-menu {
  background: var(--rhli-primary);
  padding: 8px 16px 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.rhli-nav-mobile-menu a {
  display: block; color: rgba(255,255,255,.9); text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px;
}
.rhli-nav-mobile-menu a:last-child { border-bottom: none; }

/* ══ Hero ════════════════════════════════════════════════════════ */
/* DDP Service disclaimer banner — prominent, above the rate table */
.rhli-ddp-notice {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  border-bottom: 1px solid #fde68a;
}
.rhli-ddp-notice-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: flex-start; gap: 10px;
}
.rhli-ddp-notice-icon {
  flex: 0 0 auto; font-size: 16px; line-height: 1.5; color: #b45309; font-weight: 700;
}
.rhli-ddp-notice p {
  margin: 0; font-size: 13px; line-height: 1.5; color: #92400e;
}
.rhli-ddp-notice strong { color: #78350f; }
@media (max-width: 640px) {
  .rhli-ddp-notice-inner { padding: 10px 16px; }
  .rhli-ddp-notice p { font-size: 12px; }
}

.rhli-hero {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  padding: clamp(32px,5vw,56px) 24px clamp(24px,4vw,40px);
  text-align: center;
}
.rhli-hero-air   { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.rhli-hero-sea   { background: linear-gradient(135deg, #164e63, #0891b2); }
.rhli-hero-rail  { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.rhli-hero-truck { background: linear-gradient(135deg, #78350f, #d97706); }
.rhli-hero-inner { max-width: 760px; margin: 0 auto; }
.rhli-mode-pill  {
  display: inline-block; background: rgba(255,255,255,.18);
  padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 10px;
}
.rhli-hero-title {
  font-size: clamp(20px,4vw,36px); font-weight: 800; margin: 0 0 8px;
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.2); line-height: 1.2;
}
.rhli-hero-sub { font-size: 14px; opacity: .88; margin: 0; }

/* ══ Layout wrapper ══════════════════════════════════════════════ */
.rhli-layout-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* ══ Floating TOC (left sidebar) ══════════════════════════════════ */
.rhli-toc-panel-wrap {
  display: none; /* hidden on mobile/tablet */
}
#rhli-toc-desktop {
  width: var(--rhli-toc-w);
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--rh-nav-h, 68px) + 16px);
  max-height: calc(100vh - var(--rh-nav-h, 68px) - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  margin: 24px 0 0 16px;
  align-self: flex-start;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}
.rhli-toc-panel {
  background: var(--rhli-surface);
  border: 1.5px solid var(--rhli-border);
  border-radius: var(--rhli-radius);
  box-shadow: var(--rhli-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--rh-nav-h, 68px) - var(--rh-topbar-h, 30px) - var(--rhli-nav-h) - 40px);
  width: var(--rhli-toc-w);
}
.rhli-toc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid var(--rhli-border);
  cursor: pointer; user-select: none; flex-shrink: 0;
}
.rhli-toc-title   { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--rhli-text); }
.rhli-toc-toggle  { background: none; border: none; cursor: pointer; color: var(--rhli-muted); font-size: 15px; padding: 0; line-height: 1; }
.rhli-toc-body    { overflow-y: auto; flex: 1; }
.rhli-toc-body::-webkit-scrollbar { width: 4px; }
.rhli-toc-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }
.rhli-toc-list    { list-style: none; margin: 0; padding: 6px 0; }
.rhli-toc-list li { padding: 0; }
.rhli-toc-list a  {
  display: block; padding: 5px 12px; font-size: 12px; color: var(--rhli-muted);
  text-decoration: none; transition: all var(--rhli-t); border-left: 2px solid transparent;
  line-height: 1.4; word-break: break-word;
}
.rhli-toc-list a:hover  { color: var(--rhli-primary); background: #f0f9ff; border-left-color: var(--rhli-accent); }
.rhli-toc-list a.rhli-toc-active { color: var(--rhli-primary); font-weight: 700; border-left-color: var(--rhli-primary); background: #f0fdfa; }
.rhli-toc-list li[data-level="3"] a { padding-left: 22px; font-size: 11px; }
.rhli-toc-list li[data-level="4"] a { padding-left: 32px; font-size: 11px; }
.rhli-toc-list li[data-level="5"] a { padding-left: 40px; font-size: 11px; }
.rhli-toc-loading { padding: 10px 12px; font-size: 12px; color: var(--rhli-muted); }
.rhli-toc-collapsed .rhli-toc-body { display: none; }

/* Mobile TOC: hidden on desktop */
.rhli-toc-mobile { display: none; }
.rhli-toc-mobile-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--rhli-text); margin-bottom: 4px; }
.rhli-toc-select  { width: 100%; padding: 9px 12px; border: 1.5px solid var(--rhli-border); border-radius: 8px; font-size: 14px; background: #fff; font-family: inherit; }
.rhli-toc-shortcode {
  position: relative;
  margin: 0 0 24px;
}
.rhli-toc-shortcode-desktop {
  display: block;
  float: right;
  width: min(280px, 100%);
  margin: 0 0 24px 24px;
}
.rhli-toc-shortcode-desktop #rhli-toc-desktop {
  display: block !important;
  width: 100%;
  margin: 0;
  top: calc(var(--rh-nav-h, 68px) + var(--rh-topbar-h, 30px) + 16px);
  max-height: calc(100vh - var(--rh-nav-h, 68px) - var(--rh-topbar-h, 30px) - 32px);
}
.rhli-toc-shortcode-desktop .rhli-toc-panel {
  width: 100%;
  max-height: calc(100vh - var(--rh-nav-h, 68px) - var(--rh-topbar-h, 30px) - 40px);
}
.rhli-toc-shortcode::after {
  content: "";
  display: block;
  clear: both;
}

/* ══ Body / main content ══════════════════════════════════════════ */
.rhli-body        { background: var(--rhli-bg); }
.rhli-body-main   { flex: 1; min-width: 0; padding: 0 24px 60px; }

/* ══ Sections ═════════════════════════════════════════════════════ */
.rhli-section     { padding: 40px 0; border-bottom: 1px solid var(--rhli-border); }
.rhli-section:last-child { border-bottom: none; }
.rhli-section-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 18px;
}
.rhli-section h2  { font-size: clamp(18px,3vw,24px); font-weight: 800; color: var(--rhli-text); margin: 0 0 16px; }
.rhli-section-sub { color: var(--rhli-muted); font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
.rhli-section-contact { background: #0f172a; border-bottom: none; }
.rhli-section-contact h2,
.rhli-section-contact .rhli-section-sub { color: #94a3b8; }
.rhli-section-contact > h2 { color: #fff; }

/* ══ Update tag ═══════════════════════════════════════════════════ */
.rhli-update-tag  {
  display: inline-flex; align-items: center; gap: 6px;
  background: #dcfce7; color: #166534; padding: 4px 12px;
  border-radius: 20px; font-size: 12px; font-weight: 500;
}
.rhli-pulse       { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: rhli-pulse 2s infinite; }
@keyframes rhli-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

/* ══ Price card ═══════════════════════════════════════════════════ */
.rhli-price-card  {
  background: var(--rhli-surface); border-radius: var(--rhli-radius);
  box-shadow: var(--rhli-shadow); overflow: hidden; border: 1px solid var(--rhli-border);
  max-width: 580px;
}
.rhli-price-card-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: #f8fafc; border-bottom: 1px solid var(--rhli-border); font-size: 13px; color: var(--rhli-muted);
}
.rhli-price-currency { background: var(--rhli-primary); color: #fff; padding: 2px 9px; border-radius: 10px; font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.rhli-price-table { width: 100%; border-collapse: collapse; }
.rhli-price-table th { background: var(--rhli-primary); color: #fff; padding: 10px 16px; text-align: left; font-size: 12px; font-weight: 700; }
.rhli-price-table td { padding: 11px 16px; border-bottom: 1px solid var(--rhli-border); font-size: 14px; }
.rhli-price-table tr:last-child td { border-bottom: none; }
.rhli-price-table tr:nth-child(even) td { background: #f8fafc; }
.rhli-price-table td strong { color: var(--rhli-primary); font-size: 16px; font-weight: 800; }
.rhli-on-req { color: var(--rhli-muted); font-style: italic; font-size: 12px; }
.rhli-price-extra { padding: 10px 16px; background: #f0fdfa; border-top: 1px solid #99f6e4; font-size: 12px; }
.rhli-extra-row { display: flex; gap: 8px; margin-bottom: 3px; }
.rhli-ek { font-weight: 700; color: var(--rhli-primary); }
.rhli-price-note { padding: 10px 16px; background: #fefce8; border-top: 1px solid #fde68a; font-size: 12px; color: #78350f; }

/* ══ Tracking bar ════════════════════════════════════════════════ */
.rhli-tracking-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; margin-top: 14px; padding: 12px 16px; background: var(--rhli-surface);
  border-radius: var(--rhli-radius); border: 1px solid var(--rhli-border); font-size: 13px;
}
.rhli-btn-track   { background: var(--rhli-accent); color: #fff !important; padding: 8px 18px; border-radius: 7px; text-decoration: none; font-weight: 700; font-size: 13px; transition: opacity var(--rhli-t); }
.rhli-btn-track:hover { opacity: .88; }

/* ══ History table ═══════════════════════════════════════════════ */
.rhli-history-scroll { overflow-x: auto; }
.rhli-history-table  {
  width: 100%; border-collapse: collapse; font-size: 13px;
  background: var(--rhli-surface); border-radius: var(--rhli-radius);
  overflow: hidden; box-shadow: var(--rhli-shadow);
}
.rhli-history-table th { background: #334155; color: #fff; padding: 9px 12px; text-align: center; white-space: nowrap; }
.rhli-history-table td { padding: 8px 12px; border-bottom: 1px solid var(--rhli-border); text-align: center; }
.rhli-history-table tr:hover td { background: #f0f9ff; }
.rhli-latest-badge   { background: #dcfce7; color: #15803d; font-size: 10px; padding: 1px 6px; border-radius: 8px; font-weight: 700; margin-left: 5px; }
.rhli-week-pager     { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rhli-week-btn       { padding: 4px 12px; border: 1px solid var(--rhli-border); border-radius: 6px; background: #fff; font-size: 12px; cursor: pointer; transition: all var(--rhli-t); }
.rhli-week-btn.active, .rhli-week-btn:hover { background: var(--rhli-primary); color: #fff; border-color: var(--rhli-primary); }
.rhli-chart-wrap     { background: #fff; border-radius: var(--rhli-radius); padding: 18px; box-shadow: var(--rhli-shadow); margin-top: 20px; position: relative; }
.rhli-chart-wrap canvas { display: block; height: 260px !important; }
.rhli-chart-wrap h3  { font-size: 15px; font-weight: 700; margin: 0 0 12px; display:flex; align-items:center; gap:8px; }
.rhli-chart-empty-badge  { background:#fef3c7; color:#92400e; font-size:11px; font-weight:700; padding:2px 9px; border-radius:20px; }
.rhli-chart-single-badge { background:#f0fdfa; color:#0f766e; font-size:11px; font-weight:700; padding:2px 9px; border-radius:20px; }
.rhli-history-empty-note { font-style:italic; color:var(--rhli-muted); padding:14px 0; }

/* ══ Content blocks ══════════════════════════════════════════════ */
.rhli-content-block  { line-height: 1.75; color: var(--rhli-text); }
.rhli-content-block h3 { font-size: 17px; margin: 20px 0 8px; }
.rhli-content-block h4 { font-size: 15px; margin: 16px 0 7px; }
.rhli-content-block p  { margin-bottom: 12px; }
.rhli-content-block table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.rhli-content-block table th,
.rhli-content-block table td { border: 1px solid var(--rhli-border); padding: 8px 12px; font-size: 13px; }
.rhli-content-block table th { background: #f1f5f9; font-weight: 700; }
.rhli-content-block ul,
.rhli-content-block ol { padding-left: 20px; margin-bottom: 12px; }
.rhli-notice { color: var(--rhli-muted); padding: 18px; text-align: center; background: #fff7ed; border-radius: 8px; border: 1px solid #fdba74; }

/* ══ Contact section ══════════════════════════════════════════════ */
/* Section itself: dark-navy background, full bleed */
.rhli-section-contact {
  background: linear-gradient(135deg, #0c1524 0%, #0f172a 60%, #112240 100%);
  border-bottom: none;
  border-radius: 0;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
/* Subtle decorative glow behind the section */
.rhli-section-contact::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(20,184,166,.15) 0%, transparent 70%);
  pointer-events: none;
}
.rhli-section-contact h2 {
  color: #f1f5f9;
  font-size: clamp(20px, 3.5vw, 30px);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -.3px;
}
.rhli-section-contact .rhli-section-sub {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ══ Contact section ═════════════════════════════════════════════ */

/* Two-column layout: form (left) + sidebar (right) */
.rhli-contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}

/* ── Left column: form wrapper ─────────────────────────────── */
.rhli-contact-form-wrap {
  min-height: 80px;
}

/* Built-in contact form */
.rhli-contact-form  { display: flex; flex-direction: column; gap: 14px; }
.rhli-form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rhli-form-full     { grid-column: 1 / -1; }

.rhli-contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: .04em;
}
.rhli-contact-form input,
.rhli-contact-form textarea {
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.10);
  border-radius: 10px;
  padding: 11px 14px;
  color: #e2e8f0;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.rhli-contact-form input::placeholder,
.rhli-contact-form textarea::placeholder { color: #475569; }
.rhli-contact-form input:focus,
.rhli-contact-form textarea:focus {
  outline: none;
  border-color: var(--rhli-accent);
  background: rgba(255,255,255,.08);
}
.rhli-req { color: #f87171; }
.rhli-btn-submit {
  background: linear-gradient(135deg, #1d4ed8, #0d9488);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  align-self: flex-start;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(13,148,136,.35);
}
.rhli-btn-submit:hover { opacity: .9; transform: translateY(-1px); }
.rhli-form-status { margin-top: 8px; font-size: 13px; }

/* Custom contact code injected by admin */
.rhli-custom-contact-code {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 24px;
  color: #e2e8f0;
  backdrop-filter: blur(4px);
}
.rhli-custom-contact-code > *:last-child { margin-bottom: 0; }

/* Placeholder when no form */
.rhli-custom-contact-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 160px;
  background: rgba(255,255,255,.02);
  border: 2px dashed rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 36px 20px;
  color: #475569; font-size: 14px; text-align: center; gap: 8px;
}
.rhli-custom-contact-placeholder::before {
  content: '📬'; font-size: 32px; display: block; margin-bottom: 6px;
}

/* ── Right column: contact sidebar ─────────────────────────── */
.rhli-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Direct contact card — glassmorphism with accent top border */
.rhli-contact-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.03) 100%);
  border: 1.5px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 22px 22px 18px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s;
}
.rhli-contact-card:hover {
  border-color: rgba(99,179,237,.4);
  transform: translateY(-2px);
}
/* Vivid top accent strip */
.rhli-contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #06b6d4, #8b5cf6);
  border-radius: 16px 16px 0 0;
}
/* Decorative glow spot */
.rhli-contact-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(99,102,241,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Card heading */
.rhli-contact-card h3 {
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rhli-contact-card h3::before {
  content: '📋';
  font-size: 14px;
}

/* Contact info rows */
.rhli-ci {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: #cbd5e1;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  transition: background .15s;
}
.rhli-ci:last-of-type { margin-bottom: 0; }
.rhli-ci:hover { background: rgba(255,255,255,.06); }
.rhli-ci a {
  color: #67e8f9;
  text-decoration: none;
  font-weight: 600;
  transition: color .15s;
  word-break: break-all;
}
.rhli-ci a:hover { color: #a5f3fc; }
.rhli-ci-note {
  color: #64748b;
  font-size: 11.5px;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 10px 0 0;
  margin-top: 4px;
  line-height: 1.6;
  background: none;
}
.rhli-ci-note:hover { background: none; }

/* Services card */
.rhli-contact-services {
  background: linear-gradient(160deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.rhli-contact-services h3 {
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rhli-contact-services h3::before {
  content: '🚀';
  font-size: 13px;
}

/* Service items */
.rhli-contact-services ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rhli-contact-services li {
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  transition: background .15s, transform .1s, border-color .15s;
  cursor: default;
}
.rhli-contact-services li:hover {
  background: rgba(20,184,166,.12);
  border-color: rgba(20,184,166,.25);
  color: #e2e8f0;
  transform: translateX(3px);
}

/* ══ Archive page ════════════════════════════════════════════════ */
.rhli-archive-page * { box-sizing: border-box; }
.rhli-archive-hero   { background: linear-gradient(135deg, #0f172a, #0f766e); color: #fff; padding: clamp(36px,6vw,72px) 24px; text-align: center; }
.rhli-archive-hero-inner { max-width: 800px; margin: 0 auto; }
.rhli-archive-hero h1    { font-size: clamp(22px,4vw,38px); font-weight: 800; margin: 0 0 8px; color: #fff; }
.rhli-archive-sub        { font-size: 15px; opacity: .85; margin: 0 0 24px; }
.rhli-archive-search     { max-width: 680px; margin: 0 auto; }
.rhli-archive-body       { max-width: 1100px; margin: 0 auto; padding: 36px 24px 56px; }
.rhli-archive-region     { margin-bottom: 36px; }
.rhli-archive-region-title { font-size: 20px; font-weight: 800; margin: 0 0 14px; padding-left: 12px; border-left: 4px solid var(--rhli-primary); color: var(--rhli-text); }
.rhli-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px,100%),1fr)); gap: 14px; }
.rhli-archive-card {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--rhli-surface); border: 1.5px solid var(--rhli-border);
  border-radius: var(--rhli-radius); padding: 16px; text-decoration: none;
  box-shadow: var(--rhli-shadow); transition: box-shadow var(--rhli-t), transform var(--rhli-t);
}
.rhli-archive-card:hover { box-shadow: var(--rhli-shadow-lg); transform: translateY(-2px); }
.rhli-ac-head     { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; }
.rhli-ac-country  { font-weight: 700; font-size: 14px; color: var(--rhli-text); }
.rhli-ac-mode     { color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.rhli-ac-service  { font-size: 12px; color: var(--rhli-muted); }
.rhli-ac-cta      { font-size: 12px; color: var(--rhli-accent); font-weight: 600; margin-top: 4px; }

/* ══ Responsive ══════════════════════════════════════════════════ */
@media (min-width: 1061px) {
  /* Panel-wrap must stretch full height of the flex row so the sticky
     child (#rhli-toc-desktop) has a tall-enough scroll range */
  .rhli-toc-panel-wrap {
    display: block;
    align-self: stretch;     /* fill parent flex height — required for sticky */
    width: var(--rhli-toc-w);
    flex-shrink: 0;
    position: relative;
  }
  #rhli-toc-desktop {
    position: sticky;
    top: calc(var(--rh-nav-h, 68px) + var(--rhli-nav-h) + 12px);
    max-height: calc(100vh - var(--rh-nav-h, 68px) - var(--rhli-nav-h) - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    margin: 24px 0 0 16px;
    scrollbar-width: thin;
    scrollbar-color: #334155 transparent;
    width: var(--rhli-toc-w);
  }
}
@media (max-width: 1060px) {
  #rhli-toc-desktop { display: none; }
  .rhli-toc-panel-wrap { display: none; }
  .rhli-body-main { padding: 0 16px 40px; }
}

@media (max-width: 1060px) {
  .rhli-toc-mobile {
    display: block;
    background: var(--rhli-surface);
    border-bottom: 1px solid var(--rhli-border);
    padding: 8px 16px;
    position: sticky;
    top: calc(var(--rh-nav-h, 68px) + var(--rhli-nav-h));
    z-index: 800;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
  }
  .rhli-toc-shortcode-desktop {
    display: none;
  }
}

@media (max-width: 900px) {
  .rhli-contact-grid { grid-template-columns: 1fr; }
  .rhli-form-row     { grid-template-columns: 1fr; }
  .rhli-contact-sidebar { flex-direction: row; flex-wrap: wrap; }
  .rhli-contact-card,
  .rhli-contact-services { flex: 1 1 280px; }
}

@media (max-width: 700px) {
  .rhli-sticky-nav { top: var(--rh-nav-h, 68px); }
  .rhli-nav-links { display: none; }
  .rhli-nav-mobile-toggle { display: block; }
  .rhli-nav-brand { max-width: 180px; }
  .rhli-section   { padding: 24px 0; }
  .rhli-hero      { padding: 28px 14px 20px; }
  .rhli-body-main { padding: 0 12px 28px; }
  .rhli-archive-grid { grid-template-columns: 1fr 1fr; }
  .rhli-price-table th,
  .rhli-price-table td { padding: 8px 10px; font-size: 13px; }
}

@media (max-width: 479px) {
  .rhli-tracking-bar { flex-direction: column; align-items: flex-start; }
  .rhli-archive-grid { grid-template-columns: 1fr; }
  .rhli-section h2   { font-size: 18px; }
  .rhli-btn-submit   { width: 100%; text-align: center; }
}

/* ── Country data-anchor table + FAQ (pSEO additions) ───────────── */
.rhli-anchor-table{width:100%;border-collapse:collapse;margin:14px 0;font-size:14px}
.rhli-anchor-table th,.rhli-anchor-table td{text-align:left;padding:10px 14px;border-bottom:1px solid #e5e7eb;vertical-align:top}
.rhli-anchor-table th{width:38%;font-weight:600;color:#1f2937;background:#f8fafc}
.rhli-anchor-table td{color:#374151}
.rhli-anchor-table tr:last-child th,.rhli-anchor-table tr:last-child td{border-bottom:none}
.rhli-anchor-note{color:#6b7280;margin-top:8px}
.rhli-faq-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.rhli-faq-item{border:1px solid #e5e7eb;border-radius:8px;padding:0;overflow:hidden}
.rhli-faq-item summary{cursor:pointer;padding:14px 16px;font-weight:600;color:#1f2937;list-style:none;background:#f8fafc}
.rhli-faq-item summary::-webkit-details-marker{display:none}
.rhli-faq-item[open] summary{border-bottom:1px solid #e5e7eb}
.rhli-faq-answer{padding:14px 16px;color:#374151;line-height:1.6}
.rhli-faq-answer p{margin:0}

/* =============================================================================
   pSEO inner-page links (S3f) — additive internal linking on route pages.
   Scoped to .rhli-* so it never touches global/theme styles.
============================================================================= */
.rhli-section-pseo .rhli-section-sub { margin-bottom: 16px; }
.rhli-pseo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.rhli-pseo-group {
  background: var(--rhli-bg);
  border: 1px solid var(--rhli-border);
  border-radius: var(--rhli-radius);
  padding: 16px 18px;
}
.rhli-pseo-group-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--rhli-primary);
}
.rhli-pseo-list { list-style: none; margin: 0; padding: 0; }
.rhli-pseo-list li { margin: 0 0 7px; }
.rhli-pseo-list li:last-child { margin-bottom: 0; }
.rhli-pseo-list a {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--rhli-text);
  text-decoration: none;
  display: inline-block;
  transition: color .15s;
}
.rhli-pseo-list a:hover { color: var(--rhli-primary); text-decoration: underline; }
