/* Roamvaya Sales Mapping v0.2.0
   Route Decision Card upgrade. Country-page product cards remain untouched.
   Shared design remains Theme-owned; this file adds only Route-specific decision-layer composition. */
.rvsm-route{background:var(--rv-bg)}
.rvsm-nowrap{white-space:nowrap}

/* Route hero uses Theme destination hero + offer card. */
.rvsm-route-hero .rv3-dest-hero__media img{object-position:center 50%}

/* Approved route-specific display-heading corrections. */
.rvsm-plans-section .rv3-section-head h2{
  font-weight:700!important;
  font-size:clamp(38px,3.8vw,56px)!important;
  white-space:nowrap;
}
.rvsm-route-faq .rv3-faq-layout h2{font-weight:700!important}

/* Product cards use the Theme's rv3-buy-* system. */
.rvsm-plan-button[disabled]{cursor:not-allowed}
.rvsm-resolver-note{display:block;color:var(--rv-muted);font-size:10px;margin-top:10px;text-align:center}
.rvsm-plans-section{padding-bottom:48px}


/* Route Decision Cards: reuse Theme card shell, add Route-only decision context. */
.rvsm-decision-grid{align-items:stretch}
.rvsm-decision-card{display:flex;flex-direction:column}
.rvsm-decision-card__top{align-items:center}
.rvsm-decision-tag{
  display:inline-flex!important;align-items:center;justify-content:center;
  padding:6px 10px;border-radius:999px;background:var(--rv-bg);border:1px solid var(--rv-line);
  color:var(--rv-ink);font-size:10px!important;line-height:1!important;font-weight:700!important;white-space:nowrap;
}
.rvsm-decision-tag.is-recommended{background:#95ea72;border-color:#95ea72;color:#11352d}
.rvsm-route-coverage{
  margin:4px 0 18px;padding:14px 15px;border:1px solid var(--rv-line);border-radius:14px;background:rgba(255,255,255,.55)
}
.rvsm-route-coverage strong{display:block;color:var(--rv-ink);font-size:14px;line-height:1.35;margin-bottom:5px}
.rvsm-route-coverage span{display:block;color:var(--rv-muted);font-size:12px;line-height:1.45}
.rvsm-usage-guidance{margin-bottom:18px}
.rvsm-usage-guidance__label{display:block;margin-bottom:9px;color:var(--rv-ink);font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.11em;font-weight:700}
.rvsm-usage-guidance ul{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;margin:0;padding:0;list-style:none}
.rvsm-usage-guidance li{position:relative;padding-left:13px;color:var(--rv-ink);font-size:12px;line-height:1.4}
.rvsm-usage-guidance li:before{content:'✓';position:absolute;left:0;top:0;color:var(--rv-brand);font-weight:800}
.rvsm-usage-guidance p{margin:12px 0 0!important;min-height:0!important;color:var(--rv-muted);font-size:12px;line-height:1.5}
.rvsm-decision-price{position:relative;margin-top:auto}
.rvsm-decision-price em{display:block;margin-top:8px;color:var(--rv-muted);font-size:11px;font-style:normal;font-weight:600}
.rvsm-verified-facts{display:flex;flex-wrap:wrap;gap:7px;margin:11px 0 0;color:var(--rv-muted);font-size:11px;line-height:1.35}
.rvsm-verified-facts span{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:var(--rv-bg);border:1px solid var(--rv-line)}
.rvsm-decision-card form{margin-top:14px}

/* Route Guide: outer width = Theme container; inner measure = reading width. */
.rvsm-story{padding:44px 0 38px;background:var(--rv-bg)}
.rvsm-article-block{padding-bottom:60px}
.rvsm-copy-measure{max-width:780px;margin:0}
.rvsm-story .rv3-editorial__copy h2{font-weight:700!important}
.rvsm-copy-measure.rv3-editorial__copy>p:not(.rv-eyebrow){max-width:700px}
.rvsm-inline-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:28px!important}
.rvsm-inline-links a{color:var(--rv-brand);font-weight:700;text-decoration:none}
.rvsm-inline-links a:hover{text-decoration:underline}
.rvsm-guide-list{max-width:700px;margin:24px 0 0;padding:0;list-style:none;border-top:1px solid var(--rv-line)}
.rvsm-guide-list li{padding:16px 0;border-bottom:1px solid var(--rv-line);color:var(--rv-muted);line-height:1.6}
.rvsm-guide-list strong{color:var(--rv-ink)}

.rvsm-story-image{margin-top:0;margin-bottom:66px}
.rvsm-story-image img{display:block;width:100%;height:auto;border-radius:var(--rv-radius)}
.rvsm-data-block{padding-bottom:84px}

/* Before-you-travel utility card. Specificity is intentionally higher than Theme .rv3-inline-cta. */
body.rvsm-route-page .rvsm-before-wrap{padding-top:10px}
body.rvsm-route-page .rv3-inline-cta.rvsm-before-card{
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
  gap:64px!important;
  align-items:start!important;
}
.rvsm-before-copy{min-width:0}
.rvsm-before-card .rvsm-before-copy h2{font-weight:700!important;margin-bottom:18px}
.rvsm-before-card .rvsm-before-copy>p:not(.rv-eyebrow){margin:0;color:var(--rv-muted);max-width:520px}
.rvsm-before-list{min-width:0}
.rvsm-before-list>.rv-eyebrow{margin-bottom:18px}
.rvsm-before-steps{display:grid;gap:10px}
.rvsm-before-step{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  gap:14px;
  align-items:center;
  background:var(--rv-bg);
  border:1px solid var(--rv-line);
  border-radius:16px;
  padding:12px 16px 12px 12px;
  color:var(--rv-ink);
  font-weight:600;
}
.rvsm-before-step b{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  background:var(--rv-brand);color:#fff;font-size:12px;line-height:1;font-weight:700;
}
.rvsm-before-step span{min-width:0}
.rvsm-route-faq{padding-top:64px}

/* Tablet/mobile rhythm starts earlier than the old 767px breakpoint so real devices and scaled viewports stay safe. */
@media (max-width:900px){
  body.rvsm-route-page .rv3-inline-cta.rvsm-before-card{
    display:block!important;
    grid-template-columns:none!important;
    gap:0!important;
    padding:24px!important;
  }
  body.rvsm-route-page .rvsm-before-copy{margin-bottom:28px}
  body.rvsm-route-page .rvsm-before-list>.rv-eyebrow{margin:0 0 14px}
  body.rvsm-route-page .rvsm-before-steps{gap:9px}
}

@media (max-width:767px){
  /* Hero: keep the approved Theme composition, only tighten route-specific text/card rhythm. */
  .rvsm-route-hero h1{white-space:normal}
  .rvsm-route-hero .rv3-dest-hero__media img{object-position:center 48%}
  .rvsm-route-hero .rv3-dest-hero__inner{gap:16px!important}
  .rvsm-route-hero .rv4-dest-offer{margin-top:2px!important}

  /* Plans: reduce vertical bulk and create a cleaner mobile heading break. */
  .rvsm-plans-section{padding-top:56px!important;padding-bottom:28px!important}
  .rvsm-plans-section .rv3-section-head{gap:14px!important;margin-bottom:30px!important}
  .rvsm-plans-section .rv3-section-head h2{
    font-size:36px!important;
    line-height:1.02!important;
    white-space:normal;
    letter-spacing:-.025em;
  }
  .rvsm-plans-section .rv3-section-head>p{font-size:14px!important;line-height:1.5}
  .rvsm-plans-section .rv3-buy-grid{gap:10px!important}
  .rvsm-plans-section .rv3-buy-plan{padding:18px!important;border-radius:20px!important}
  .rvsm-plans-section .rv3-buy-plan__metrics{margin:22px 0 14px!important}
  .rvsm-plans-section .rv3-buy-plan>p{min-height:0!important;margin-bottom:18px!important;line-height:1.45}
  .rvsm-plans-section .rv3-buy-plan__price{padding:14px!important;border-radius:15px!important}
  .rvsm-route-coverage{margin:2px 0 16px;padding:13px 14px}
  .rvsm-route-coverage strong{font-size:14px}
  .rvsm-usage-guidance{margin-bottom:16px}
  .rvsm-usage-guidance ul{gap:7px 10px}
  .rvsm-usage-guidance li{font-size:13px}
  .rvsm-usage-guidance p{font-size:13px;line-height:1.45;margin-top:11px!important}
  .rvsm-verified-facts{margin-top:10px}
  .rvsm-plans-section .rv3-buy-plan form{margin-top:12px!important}
  .rvsm-plans-section .rv3-plan-button{padding:13px 16px!important}

  /* Story: less dead space, stronger mobile editorial hierarchy. */
  .rvsm-story{padding:30px 0 24px}
  .rvsm-article-block{padding-bottom:38px}
  .rvsm-story .rv3-editorial__copy{padding:10px 0!important}
  .rvsm-story .rv3-editorial__copy h2{font-size:34px!important;line-height:1.04!important;letter-spacing:-.025em}
  .rvsm-copy-measure.rv3-editorial__copy>p:not(.rv-eyebrow){font-size:16px!important;line-height:1.55;margin:20px 0!important}
  .rvsm-inline-links{margin-top:22px!important}
  .rvsm-guide-list{margin-top:20px}
  .rvsm-guide-list li{padding:13px 0;line-height:1.5}

  /* Images: visibly separate text from imagery, especially Choose your data -> Philippines image. */
  .rvsm-story-image{margin-top:8px!important;margin-bottom:40px!important}
  .rvsm-story-image img{border-radius:18px}
  .rvsm-data-block{padding-bottom:48px!important}

  /* Utility card: true stacked mobile composition, no squeezed two-column flex fallback. */
  body.rvsm-route-page .rvsm-before-wrap{padding-top:0!important}
  body.rvsm-route-page .rv3-inline-cta.rvsm-before-card{padding:22px!important;border-radius:20px!important}
  body.rvsm-route-page .rvsm-before-copy{margin-bottom:26px}
  body.rvsm-route-page .rvsm-before-card .rvsm-before-copy h2{
    font-size:36px!important;line-height:1!important;letter-spacing:-.025em;margin-bottom:14px!important;
  }
  body.rvsm-route-page .rvsm-before-card .rvsm-before-copy>p:not(.rv-eyebrow){
    font-size:15px!important;line-height:1.55;max-width:none!important;
  }
  body.rvsm-route-page .rvsm-before-step{
    grid-template-columns:30px minmax(0,1fr);
    gap:12px;
    padding:12px 14px 12px 12px;
    border-radius:14px;
    font-size:14px;
    line-height:1.45;
  }
  body.rvsm-route-page .rvsm-before-step b{width:28px;height:28px;font-size:11px}

  .rvsm-route-faq{padding-top:44px!important}
  .rvsm-route-faq .rv3-faq-layout{gap:22px!important}
  .rvsm-route-faq .rv3-faq-layout h2{font-size:36px!important;line-height:1.02!important}
  .rvsm-route-faq .rv3-faq-list summary{padding-top:20px!important;padding-bottom:20px!important}
}

@media (max-width:380px){
  .rvsm-plans-section .rv3-section-head h2{font-size:34px!important}
  .rvsm-story .rv3-editorial__copy h2{font-size:32px!important}
  body.rvsm-route-page .rvsm-before-card .rvsm-before-copy h2{font-size:34px!important}
}

/* v0.3.0 — Commerce Depth V2 / Sample B */
.rvsm-route .rv3-section-head h2,
.rvsm-route .rvsm-section-copy h2,
.rvsm-route .rvsm-support-inner h2{
  font-family:var(--rv-display);font-weight:500!important;letter-spacing:.005em;word-spacing:.035em;
  line-height:1.08;margin:0;font-size:clamp(42px,4.7vw,70px)!important;white-space:normal!important;
}
.rvsm-plans-section .rv3-section-head h2{font-weight:500!important;white-space:normal!important}
.rvsm-route-faq .rv3-faq-layout h2{font-weight:500!important}

/* Quick route facts */
.rvsm-facts-section{padding-top:26px!important}
.rvsm-facts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.rvsm-facts-grid article{background:#fff;border:1px solid rgba(3,105,94,.16);border-radius:20px;padding:24px;min-height:172px;display:flex;flex-direction:column}
.rvsm-facts-grid article>span{font-size:10px;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:#03695E}
.rvsm-facts-grid strong{font-family:var(--rv-display);font-size:25px;line-height:1.12;font-weight:520;color:#00231E;margin:auto 0 10px}
.rvsm-facts-grid p{font-size:12px;line-height:1.55;color:#64736E;margin:0}

/* Cross-border decision layer */
.rvsm-border-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.rvsm-border-grid article{background:#fff;border:1px solid rgba(3,105,94,.12);border-radius:20px;padding:24px;min-height:220px;display:flex;flex-direction:column}
.rvsm-border-grid article>span,
.rvsm-refund-grid article>span{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:999px;background:rgba(41,187,226,.11);color:#29BBE2;font-size:9px;font-weight:700}
.rvsm-border-grid h3{font-family:var(--rv-display);font-size:27px;font-weight:520;line-height:1.1;color:#00231E;margin:auto 0 10px}
.rvsm-border-grid p{font-size:13px;line-height:1.6;color:#64736E;margin:0}

/* Coverage by stop */
.rvsm-stop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.rvsm-stop-card{overflow:hidden;border:1px solid rgba(3,105,94,.16);border-radius:24px;background:#fff}
.rvsm-stop-card>img{display:block;width:100%;height:300px;object-fit:cover}
.rvsm-stop-card>div{padding:26px}
.rvsm-stop-card h3{font-family:var(--rv-display);font-size:30px;font-weight:520;line-height:1.12;color:#00231E;margin:10px 0 10px}
.rvsm-stop-card>div>p:not(.rv-eyebrow){color:#64736E;font-size:13px;line-height:1.6;margin:0 0 18px}
.rvsm-stop-card a,.rvsm-other-coverage a,.rvsm-policy-link{color:#03695E;font-weight:700;text-decoration:none}
.rvsm-stop-card a:hover,.rvsm-other-coverage a:hover,.rvsm-policy-link:hover{text-decoration:underline}
.rvsm-other-coverage{margin-top:14px;padding:18px 20px;border:1px solid rgba(3,105,94,.12);border-radius:16px;background:#fff;color:#64736E;font-size:13px;line-height:1.6}
.rvsm-other-coverage strong{color:#00231E}.rvsm-other-coverage a{margin-left:12px}

/* Data guidance */
.rvsm-two-column{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:start}
.rvsm-section-copy>p:not(.rv-eyebrow){color:#64736E;max-width:520px;font-size:15px;line-height:1.65;margin:22px 0 0}
.rvsm-data-section .rvsm-guide-list{max-width:none;margin:0}
.rvsm-data-section .rvsm-guide-list li{font-size:14px}

/* Pre-departure */
.rvsm-before-steps--four{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.rvsm-before-steps--four .rvsm-before-step{display:flex;flex-direction:column;align-items:flex-start;min-height:170px;background:#fff;padding:20px;border-radius:18px}
.rvsm-before-steps--four .rvsm-before-step b{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:999px;background:rgba(41,187,226,.11);color:#29BBE2;font-size:9px;font-weight:700}
.rvsm-before-steps--four .rvsm-before-step span{margin-top:auto;font-size:13px;line-height:1.55;color:#00231E;font-weight:600}

/* Support + refund */
.rvsm-support-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:54px;align-items:end}
.rvsm-support-inner h2{color:#fff!important;max-width:14ch}
.rvsm-support-inner>div>p:not(.rv-eyebrow){color:rgba(255,255,255,.82);max-width:700px;font-size:15px;line-height:1.65;margin:22px 0 0}
.rvsm-support-inner .rv-button{align-self:end}
.rvsm-refund-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:36px}
.rvsm-refund-grid article{background:#fff;border:1px solid rgba(3,105,94,.16);border-radius:20px;padding:24px}
.rvsm-refund-grid h3{font-family:var(--rv-display);font-size:24px;font-weight:600;line-height:1.2;color:#00231E;margin:34px 0 10px}
.rvsm-refund-grid p{font-size:13px;line-height:1.65;color:#64736E;margin:0}
.rvsm-policy-link{display:inline-block;margin-top:24px}

/* FAQ spacing */
.rvsm-route-faq{padding-top:72px!important}

@media(max-width:900px){
  .rvsm-facts-grid{grid-template-columns:repeat(2,1fr)}
  .rvsm-border-grid{grid-template-columns:1fr}
  .rvsm-border-grid article{min-height:170px}
  .rvsm-stop-grid{grid-template-columns:1fr}
  .rvsm-two-column{grid-template-columns:1fr;gap:28px}
  .rvsm-before-steps--four{grid-template-columns:repeat(2,1fr)}
  .rvsm-support-inner{grid-template-columns:1fr;gap:30px}
  .rvsm-support-inner .rv-button{justify-self:start}
  .rvsm-refund-grid{grid-template-columns:1fr}
}
@media(max-width:767px){
  .rvsm-route .rv3-section-head h2,.rvsm-route .rvsm-section-copy h2,.rvsm-route .rvsm-support-inner h2{font-size:40px!important;line-height:1.02!important}
  .rvsm-facts-grid{grid-template-columns:1fr;gap:9px}.rvsm-facts-grid article{min-height:140px;padding:20px}
  .rvsm-border-grid{gap:9px}.rvsm-border-grid article{min-height:150px;padding:18px}
  .rvsm-stop-card>img{height:230px}.rvsm-stop-card>div{padding:20px}.rvsm-stop-card h3{font-size:25px}
  .rvsm-other-coverage a{display:block;margin:8px 0 0}
  .rvsm-before-steps--four{grid-template-columns:1fr 1fr;gap:9px}.rvsm-before-steps--four .rvsm-before-step{min-height:145px;padding:16px}
  .rvsm-support-inner h2{max-width:12ch}.rvsm-support-inner .rv-button{width:100%}
  .rvsm-refund-grid{gap:9px}.rvsm-refund-grid article{padding:20px}
  .rvsm-route-faq{padding-top:50px!important}
}
@media(max-width:480px){
  .rvsm-before-steps--four{grid-template-columns:1fr}.rvsm-before-steps--four .rvsm-before-step{min-height:120px}
}


/* v0.3.1 — Route V2 visual QA fixes */
.rvsm-route .rv3-section-head h2,
.rvsm-route .rvsm-section-copy h2,
.rvsm-route .rvsm-support-inner h2,
.rvsm-route .rv3-faq-layout h2{
  font-family:var(--rv-display);
  font-weight:600!important;
  line-height:1.02!important;
  letter-spacing:.005em;
  word-spacing:.035em;
  text-wrap:balance;
  max-width:14ch;
}
.rvsm-route .rv3-section-head h2{font-size:clamp(42px,4.5vw,66px)!important}
.rvsm-route .rvsm-support-inner h2{font-size:clamp(42px,4.5vw,66px)!important;max-width:13ch}
.rvsm-route .rvsm-section-copy h2,.rvsm-route .rv3-faq-layout h2{font-size:clamp(42px,4.5vw,66px)!important}
.rvsm-route p,.rvsm-route li,.rvsm-route a{ text-wrap:pretty; }

/* equalize card-body rhythm */
.rvsm-facts-grid p{min-height:38px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.rvsm-border-grid p{min-height:62px}
.rvsm-stop-card>div>p:not(.rv-eyebrow){min-height:42px}
.rvsm-refund-grid p{min-height:64px}
.rvsm-decision-card .rvsm-usage-guidance p{min-height:42px}

/* SEA regional continuation: full 1+1 image + copy layout */
.rvsm-sea-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);
  overflow:hidden;
  margin-top:16px;
  border:1px solid rgba(3,105,94,.16);
  border-radius:24px;
  background:#fff;
}
.rvsm-sea-card__copy{padding:30px;display:flex;flex-direction:column;justify-content:center}
.rvsm-sea-card__copy h3{font-family:var(--rv-display);font-size:34px;font-weight:600;line-height:1.05;color:#00231E;margin:10px 0 12px;text-wrap:balance;max-width:12ch}
.rvsm-sea-card__copy>p:not(.rv-eyebrow){font-size:13px;line-height:1.6;color:#64736E;max-width:38em;margin:0 0 18px;text-wrap:pretty}
.rvsm-sea-card__copy a{color:#03695E;font-weight:700;text-decoration:none}
.rvsm-sea-card__copy a:hover{text-decoration:underline}
.rvsm-sea-card__media{display:block;min-height:270px;overflow:hidden}
.rvsm-sea-card__media img{display:block;width:100%;height:100%;object-fit:cover}

@media(max-width:900px){
  .rvsm-route .rv3-section-head h2,.rvsm-route .rvsm-section-copy h2,.rvsm-route .rvsm-support-inner h2,.rvsm-route .rv3-faq-layout h2{max-width:16ch}
  .rvsm-sea-card{grid-template-columns:1fr}
  .rvsm-sea-card__media{order:-1;min-height:240px}
  .rvsm-facts-grid p,.rvsm-border-grid p,.rvsm-stop-card>div>p:not(.rv-eyebrow),.rvsm-refund-grid p{min-height:0}
}
@media(max-width:767px){
  .rvsm-route .rv3-section-head h2,.rvsm-route .rvsm-section-copy h2,.rvsm-route .rvsm-support-inner h2,.rvsm-route .rv3-faq-layout h2{font-size:40px!important;line-height:1.0!important;max-width:15ch}
  .rvsm-sea-card__copy{padding:22px}
  .rvsm-sea-card__copy h3{font-size:28px;max-width:13ch}
}


/* v0.3.2 — destination coverage card cluster */
.rvsm-destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rvsm-destination-card{position:relative;min-height:430px;overflow:hidden;border:1px solid rgba(151,232,128,.40);border-radius:24px;background:#00231E;box-shadow:0 0 0 1px rgba(151,232,128,.12),0 10px 26px rgba(151,232,128,.10)}
.rvsm-destination-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.rvsm-destination-card__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,35,30,.04) 28%,rgba(0,35,30,.34) 60%,rgba(0,35,30,.78) 100%)}
.rvsm-destination-card__content{position:absolute;inset:auto 0 0;padding:26px;color:#fff;z-index:2}
.rvsm-destination-card__content h3{font-family:var(--rv-display);font-size:31px;font-weight:600;line-height:1.04;color:#fff;margin:10px 0 10px;text-wrap:balance;max-width:13ch}
.rvsm-destination-card__content>p:not(.rv-eyebrow){font-size:13px;line-height:1.55;color:rgba(255,255,255,.84);margin:0 0 18px;min-height:40px;text-wrap:pretty}
.rvsm-destination-card__content a{color:#fff;font-weight:700;text-decoration:none}
.rvsm-destination-card__content a:hover{text-decoration:underline}
@media(max-width:900px){.rvsm-destination-grid{grid-template-columns:1fr}.rvsm-destination-card{min-height:360px}.rvsm-destination-card__content h3{max-width:18ch}.rvsm-destination-card__content>p:not(.rv-eyebrow){min-height:0}}
@media(max-width:767px){.rvsm-destination-card{min-height:320px}.rvsm-destination-card__content{padding:22px}.rvsm-destination-card__content h3{font-size:27px;max-width:15ch}}


/* v0.3.2.2 — restore Theme-owned H2 typography */
.rvsm-route .rv3-section-head h2,
.rvsm-route .rvsm-section-copy h2,
.rvsm-route .rvsm-support-inner h2,
.rvsm-route .rv3-faq-layout h2{
  font-family:var(--rv-display)!important;
  font-weight:500!important;
  font-size:clamp(42px,4.7vw,70px)!important;
  line-height:1.08!important;
  letter-spacing:.005em!important;
  word-spacing:.035em!important;
  white-space:normal!important;
  text-wrap:balance;
}
.rvsm-route .rv3-section-head h2{max-width:none}
.rvsm-route .rvsm-section-copy h2,.rvsm-route .rvsm-support-inner h2,.rvsm-route .rv3-faq-layout h2{max-width:14ch}
@media(max-width:767px){
  .rvsm-route .rv3-section-head h2,
  .rvsm-route .rvsm-section-copy h2,
  .rvsm-route .rvsm-support-inner h2,
  .rvsm-route .rv3-faq-layout h2{font-size:40px!important;line-height:1.02!important}
}


/* v0.3.2.3 — exact Theme page-heading alignment */
.rvsm-route .rv3-section-head h2,
.rvsm-route .rvsm-section-copy h2,
.rvsm-route .rvsm-support-inner h2,
.rvsm-route .rv3-faq-layout h2{
  font-family:var(--rv-display)!important;
  font-weight:700!important;
  letter-spacing:-.04em!important;
  word-spacing:0!important;
  color:#00231E;
  line-height:1.02!important;
}
.rvsm-route .rvsm-support-inner h2{color:#fff!important}

/* v0.4.0 — multi-route registry + Bali/Indonesia visual placeholders */
.rvsm-route-hero--placeholder{background:#00231E;min-height:520px;position:relative;overflow:hidden}
.rvsm-route-hero--placeholder .rv3-image-mask{background:linear-gradient(90deg,rgba(0,35,30,.72),rgba(0,35,30,.32))}
.rvsm-destination-card.is-placeholder{background:#00231E;border-color:rgba(151,232,128,.40)}
.rvsm-destination-card.is-placeholder .rvsm-destination-card__shade{background:linear-gradient(180deg,rgba(0,35,30,.05),rgba(0,35,30,.86))}
.rvsm-route-bali-id .rvsm-destination-card.is-placeholder{box-shadow:0 0 0 1px rgba(151,232,128,.12),0 10px 26px rgba(151,232,128,.10)}
@media(max-width:900px){.rvsm-route-hero--placeholder{min-height:470px}}
.rvsm-route-hero--no-photo{background:linear-gradient(135deg,#1f7663 0%,#204f4a 55%,#173a36 100%);min-height:520px}.rvsm-route--asset-pending .rvsm-route-hero--no-photo .rv3-image-mask{background:linear-gradient(90deg,rgba(11,37,34,.82),rgba(11,37,34,.35))}.rvsm-route--asset-pending .rvsm-border-grid a{display:inline-block;margin-top:10px;font-weight:700;text-decoration:none}


/* v0.7.0 — batch regional routes */
.rvsm-route--asset-pending .rvsm-destination-card.is-placeholder{
  background:linear-gradient(145deg,#00352e,#03695e);
}
.rvsm-route--asset-pending .rvsm-destination-card.is-placeholder .rvsm-destination-card__shade{
  background:linear-gradient(180deg,rgba(0,35,30,.04) 20%,rgba(0,35,30,.82) 100%);
}
.rvsm-route-mnl-sg-btm .rvsm-destination-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.rvsm-route-mnl-sg-btm .rvsm-destination-card__content h3{
  font-size:28px;
}
@media(max-width:1100px){
  .rvsm-route-mnl-sg-btm .rvsm-destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .rvsm-route-mnl-sg-btm .rvsm-destination-grid{grid-template-columns:1fr}
}


/* v0.7.1 — long 3-stop hero safety */
.rvsm-route-mnl-sg-btm .rv3-dest-hero__inner > div:first-child{
  max-width:760px;
}
.rvsm-route-mnl-sg-btm .rv3-dest-hero__inner h1{
  font-size:clamp(52px,5.0vw,78px)!important;
  line-height:.98!important;
  max-width:11.5ch;
  text-wrap:balance;
}
@media(max-width:1100px){
  .rvsm-route-mnl-sg-btm .rv3-dest-hero__inner h1{
    font-size:clamp(48px,6vw,68px)!important;
    max-width:10ch;
  }
}
@media(max-width:900px){
  .rvsm-route-mnl-sg-btm .rv3-dest-hero__inner > div:first-child{max-width:none}
  .rvsm-route-mnl-sg-btm .rv3-dest-hero__inner h1{
    font-size:clamp(44px,11vw,62px)!important;
    max-width:none;
  }
}


/* v0.8.0 — packaged Route visual assets */
.rvsm-route .rv3-dest-hero__media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.rvsm-route .rvsm-destination-card img[src*="singapore-coverage.webp"]{
  object-position:62% center;
}
.rvsm-route .rvsm-destination-card:has(img[src*="singapore-coverage.webp"]) .rvsm-destination-card__shade{
  background:linear-gradient(180deg,rgba(0,35,30,.03) 20%,rgba(0,35,30,.38) 58%,rgba(0,35,30,.88) 100%);
}


/* v0.8.1 — coverage/image card border polish */
.rvsm-destination-card{
  border-color:#cfd9d3 !important;
}


/* v0.9.0 — Route-first Site Expansion V1 */
.rvsm-routes-hub{background:var(--rv-bg)}
.rvsm-hub-hero{background:#073f37;color:#fff;padding:132px 0 86px;overflow:hidden;position:relative}
.rvsm-hub-hero:after{content:"";position:absolute;width:560px;height:560px;border-radius:50%;right:-160px;top:-240px;background:rgba(149,234,114,.08)}
.rvsm-hub-hero__inner{position:relative;z-index:1}
.rvsm-hub-hero__inner--simple{display:block}
.rvsm-hub-hero h1{font-family:var(--rv-display);font-size:clamp(58px,7vw,106px);line-height:.93;letter-spacing:-.055em;margin:14px 0 24px;max-width:10ch;color:#fff}
.rvsm-hub-hero__inner>div>p:not(.rv-eyebrow){max-width:590px;color:rgba(255,255,255,.78);font-size:17px;line-height:1.65;margin:0}
.rvsm-hub-list{padding-top:82px!important;padding-bottom:86px!important}
.rvsm-hub-heading{max-width:760px;margin-bottom:42px}
.rvsm-hub-heading h2{font-family:var(--rv-display);font-size:clamp(42px,4.4vw,64px);line-height:1;letter-spacing:-.045em;margin:12px 0 18px;color:var(--rv-ink);font-weight:700}
.rvsm-hub-heading>p:not(.rv-eyebrow){max-width:620px;margin:0;color:var(--rv-muted);font-size:16px;line-height:1.65}
.rvsm-hub-heading--compact{margin-bottom:34px}
.rvsm-hub-heading--compact h2{max-width:720px}
.rvsm-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rvsm-hub-card{display:flex;flex-direction:column;min-height:300px;padding:26px;border:1px solid #cfd9d3;border-radius:22px;background:#fff;color:var(--rv-ink);text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.rvsm-hub-card:hover{transform:translateY(-3px);border-color:#9fc3b6;box-shadow:0 16px 36px rgba(0,35,30,.07)}
.rvsm-hub-card__eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--rv-brand);font-weight:700}
.rvsm-hub-card__flags{display:block;font-size:24px;line-height:1;margin-top:22px;letter-spacing:.08em}
.rvsm-hub-card h3{font-family:var(--rv-display);font-size:31px;line-height:1.04;letter-spacing:-.035em;margin:18px 0 12px;color:var(--rv-ink)}
.rvsm-hub-card p{color:var(--rv-muted);font-size:13px;line-height:1.55;margin:0 0 24px;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rvsm-hub-card>div{margin-top:auto;display:flex;justify-content:space-between;gap:18px;align-items:center;padding-top:18px;border-top:1px solid var(--rv-line)}
.rvsm-hub-card small{color:var(--rv-muted);font-size:11px;font-weight:600}
.rvsm-hub-card b{color:var(--rv-brand);font-size:12px}
.rvsm-hub-how{padding-top:76px!important;padding-bottom:82px!important}
.rvsm-how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rvsm-how-step{padding:26px 26px 28px;border-top:1px solid var(--rv-line)}
.rvsm-how-step span{display:block;color:var(--rv-brand);font-size:11px;font-weight:700;letter-spacing:.1em;margin-bottom:24px}
.rvsm-how-step strong{display:block;font-family:var(--rv-display);font-size:24px;line-height:1.1;color:var(--rv-ink);margin-bottom:12px}
.rvsm-how-step p{margin:0;color:var(--rv-muted);font-size:14px;line-height:1.6;max-width:32ch}
.rvsm-related-routes{padding-top:70px!important;padding-bottom:70px!important}.rvsm-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rvsm-related-card{display:flex;flex-direction:column;min-height:190px;padding:22px;border:1px solid #cfd9d3;border-radius:18px;background:#fff;color:var(--rv-ink);text-decoration:none}.rvsm-related-card>span{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:var(--rv-brand);font-weight:700}.rvsm-related-card strong{font-family:var(--rv-display);font-size:22px;line-height:1.08;margin:22px 0 12px}.rvsm-related-card small{color:var(--rv-muted);font-size:11px}.rvsm-related-card b{margin-top:auto;padding-top:18px;color:var(--rv-brand);font-size:11px}.rvsm-all-routes-link{display:inline-block;margin-top:24px}
@media(max-width:1050px){.rvsm-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rvsm-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rvsm-how-grid{grid-template-columns:1fr}}
@media(max-width:767px){.rvsm-hub-hero{padding:106px 0 58px}.rvsm-hub-hero h1{font-size:58px;max-width:9ch}.rvsm-hub-list{padding-top:62px!important}.rvsm-hub-heading{margin-bottom:30px}.rvsm-hub-heading h2{font-size:42px}.rvsm-hub-grid,.rvsm-related-grid{grid-template-columns:1fr}.rvsm-hub-card{min-height:260px}.rvsm-related-card{min-height:160px}.rvsm-related-routes{padding-top:52px!important;padding-bottom:52px!important}.rvsm-hub-how{padding-top:58px!important;padding-bottom:62px!important}.rvsm-how-step{padding-left:0;padding-right:0}}


/* v0.9.3 — Round 1 LP QA rules */
.rvsm-destination-grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}
.rvsm-destination-grid--four .rvsm-destination-card__content h3{font-size:28px}
@media(max-width:1100px){.rvsm-destination-grid--four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.rvsm-destination-grid--four{grid-template-columns:1fr}}

.rvsm-route-vn-kh-th .rv3-dest-hero__inner>div:first-child,
.rvsm-route-sg-my-id .rv3-dest-hero__inner>div:first-child{max-width:760px}
.rvsm-route-vn-kh-th .rv3-dest-hero__inner h1,
.rvsm-route-sg-my-id .rv3-dest-hero__inner h1{font-size:clamp(52px,5vw,78px)!important;line-height:.98!important;max-width:13ch;text-wrap:balance}
@media(max-width:1100px){
  .rvsm-route-vn-kh-th .rv3-dest-hero__inner h1,
  .rvsm-route-sg-my-id .rv3-dest-hero__inner h1{font-size:clamp(48px,6vw,68px)!important;max-width:12ch}
}
@media(max-width:900px){
  .rvsm-route-vn-kh-th .rv3-dest-hero__inner>div:first-child,
  .rvsm-route-sg-my-id .rv3-dest-hero__inner>div:first-child{max-width:none}
  .rvsm-route-vn-kh-th .rv3-dest-hero__inner h1,
  .rvsm-route-sg-my-id .rv3-dest-hero__inner h1{font-size:clamp(44px,11vw,62px)!important;max-width:none}
}

.rvsm-route-search{margin:0 0 42px;padding:18px 20px;border:1px solid var(--rv-line);border-radius:16px;background:#f7faf8}
.rvsm-route-search label{display:block;margin-bottom:9px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--rv-brand)}
.rvsm-route-search__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.rvsm-route-search input[type=search]{width:100%;height:48px;padding:0 15px;border:1px solid #cfd9d3;border-radius:10px;background:#fff;color:var(--rv-ink);font:inherit;box-sizing:border-box}
.rvsm-route-search .rv-button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.rvsm-route-search__result{margin:-22px 0 26px;color:var(--rv-muted);font-size:13px}
.rvsm-route-search__empty{grid-column:1/-1;padding:30px;border:1px solid var(--rv-line);border-radius:18px;background:#fff}
.rvsm-route-search__empty strong{display:block;font-family:var(--rv-display);font-size:24px;margin-bottom:8px}
.rvsm-route-search__empty p{margin:0 0 12px;color:var(--rv-muted)}
@media(max-width:700px){.rvsm-route-search{margin-bottom:32px;padding:16px}.rvsm-route-search__row{grid-template-columns:1fr}.rvsm-route-search .rv-button{width:100%}}


/* v0.9.8 — mobile Route hero title safety
   Theme's later destination-title patch forces nowrap; Route LPs must wrap long names safely. */
@media (max-width:767px){
  body.rvsm-route-page .rvsm-route-hero .rv3-dest-hero__inner>div:first-child{
    min-width:0;
    width:100%;
    max-width:100%!important;
  }
  body.rvsm-route-page .rvsm-route-hero h1{
    white-space:normal!important;
    max-width:100%!important;
    width:auto!important;
    font-size:clamp(34px,9.5vw,40px)!important;
    line-height:.98!important;
    overflow-wrap:normal;
    word-break:normal;
  }
  body.rvsm-route-page .rvsm-route-hero .rv3-dest-hero__inner>div>p:not(.rv-eyebrow){
    max-width:31ch;
  }
}
@media (max-width:380px){
  body.rvsm-route-page .rvsm-route-hero h1{font-size:34px!important;}
}


/* v0.9.9 — Trust & Transparency V1 */
.rvsm-network-trust-section{padding-top:54px!important;padding-bottom:54px!important}
.rvsm-network-trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}
.rvsm-network-trust-grid article{padding:20px;border:1px solid rgba(3,105,94,.14);border-radius:18px;background:#f7f8f2}
.rvsm-network-trust-grid article>span{display:block;margin-bottom:12px;color:#6d7c77;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.rvsm-network-trust-grid article>div{display:flex;flex-wrap:wrap;gap:8px}
.rvsm-network-trust-grid b{display:inline-flex;padding:8px 11px;border:1px solid rgba(0,35,30,.12);border-radius:999px;background:#fff;color:#00231e;font-size:11px;font-weight:650}
.rvsm-delivery-guarantee{margin:26px 0 4px;padding:22px 24px;border-radius:18px;background:#eaf8f4;border:1px solid rgba(3,105,94,.16)}
.rvsm-delivery-guarantee strong{display:block;color:#00231e;font-family:var(--rv-display);font-size:24px;line-height:1.2;margin-bottom:6px}
.rvsm-delivery-guarantee p{margin:0;color:#53645f;font-size:13px;line-height:1.6;max-width:760px}
@media(max-width:900px){.rvsm-network-trust-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.rvsm-network-trust-grid{grid-template-columns:1fr}.rvsm-delivery-guarantee{padding:18px}}

/* v0.9.10 — compact carrier logos inside Coverage fact card */
.rvsm-fact-coverage{min-height:210px!important}
.rvsm-fact-networks{margin-top:14px;padding-top:12px;border-top:1px solid rgba(0,35,30,.08)}
.rvsm-fact-networks>span{display:block!important;margin-bottom:8px;color:#6d7c77!important;font-size:8px!important;letter-spacing:.11em!important;text-transform:uppercase}
.rvsm-fact-networks>div{display:flex;flex-wrap:wrap;gap:6px}
.rvsm-fact-networks .rv-operator-logo{display:block;height:24px;width:auto;max-width:92px;border:1px solid rgba(0,35,30,.09);border-radius:8px;background:#fff;padding:2px 5px;box-sizing:content-box}
@media(max-width:560px){.rvsm-fact-coverage{min-height:170px!important}.rvsm-fact-networks .rv-operator-logo{height:22px;max-width:84px}}


/* v0.9.11 — ensure compact operator logos remain visible inside Coverage quick-fact cards */
.rvsm-fact-coverage{overflow:visible!important}
.rvsm-fact-networks{margin-top:14px!important}
.rvsm-fact-networks>div{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px!important}
.rvsm-fact-networks .rv-operator-logo{height:22px!important;max-width:86px!important;padding:2px 4px!important}
