/* Visa360World legal-page visual system v1.1.0 (20 Nov 2026).
   Shared width, hero and pinned TOC for published Terms, Privacy, Cookie and Refund pages.
   Loaded AFTER each page's original CSS. No database or content changes. */

/* Original refund root overflow:hidden establishes a scroll container and breaks sticky.
   clip avoids horizontal bleed without interrupting position:sticky. */
.vrefund{overflow:visible;overflow:clip;}

/* 1: Reuse the actual sitewide 1480px .container size, including inner sections. */
.vterms .vterms-wrap,
.vprivacy .vprivacy-wrap,
.vcookie .vcookie-wrap,
.vrefund .vrefund-wrap {
  width:min(calc(100% - 40px),var(--container,1480px));
  max-width:none;
  margin-inline:auto;
}

/* 2: One consistent dark-navy, skyline-backed policy hero. */
.vterms .vterms-hero,
.vprivacy .vprivacy-hero,
.vcookie .vcookie-hero,
.vrefund .vrefund-hero {
  position:relative;
  isolation:isolate;
  background:linear-gradient(100deg,rgba(5,35,58,.96),rgba(5,48,70,.90) 58%,rgba(8,62,76,.80)),url('/assets/img/home/visa360-what-we-do-skyline.webp') center / cover no-repeat;
  color:#fff;
  padding:clamp(27px,3vw,48px) 0 clamp(57px,5.4vw,82px);
}
.vterms .vterms-hero::after,
.vprivacy .vprivacy-hero::after,
.vcookie .vcookie-hero::after,
.vrefund .vrefund-hero::after {
  content:'';
  pointer-events:none;
  position:absolute;
  inset:auto 0 0;
  height:6px;
  background:linear-gradient(90deg,#28bd6b,#a3dfae 60%,transparent);
}
.vterms .vterms-breadcrumb,
.vprivacy .vprivacy-breadcrumb,
.vcookie .vcookie-breadcrumb,
.vrefund .vrefund-crumb {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:11px;
  margin:0 0 clamp(25px,3vw,38px);
  color:#d7eaf0;
  font-size:13px;
  font-weight:650;
}
.vterms .vterms-breadcrumb a,
.vprivacy .vprivacy-breadcrumb a,
.vcookie .vcookie-breadcrumb a,
.vrefund .vrefund-crumb a {color:#fff;}
.vterms .vterms-hero-grid,
.vprivacy .vprivacy-hero-grid,
.vcookie .vcookie-hero-grid,
.vrefund .vrefund-hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);
  gap:clamp(27px,4.3vw,67px);
  align-items:center;
}
.vterms .vterms-hero-copy,
.vprivacy .vprivacy-hero-copy,
.vcookie .vcookie-hero-copy,
.vrefund .vrefund-hero-grid > div:first-child {min-width:0;}
.vterms .vterms-eyebrow,
.vprivacy .vprivacy-eyebrow,
.vcookie .vcookie-eyebrow,
.vrefund .vrefund-hero .vrefund-kicker {
  display:block;
  color:#92edb4;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
  margin:0 0 13px;
}
.vterms .vterms-hero h1,
.vprivacy .vprivacy-hero h1,
.vcookie .vcookie-hero h1,
.vrefund .vrefund-hero h1 {
  color:#fff;
  font-size:clamp(39px,4.05vw,64px);
  font-weight:900;
  line-height:1.08;
  letter-spacing:-.03em;
  max-width:870px;
  margin:0 0 23px;
  overflow-wrap:break-word;
}
.vterms .vterms-hero-intro,
.vprivacy .vprivacy-hero-intro,
.vcookie .vcookie-hero-intro,
.vrefund .vrefund-summary {
  color:#ebf6fb;
  font-size:clamp(14px,1.14vw,16px);
  line-height:1.82;
  font-weight:560;
  max-width:880px;
  margin:0 0 13px;
  overflow-wrap:anywhere;
}
.vterms .vterms-hero-secondary,
.vprivacy .vprivacy-hero-secondary,
.vcookie .vcookie-hero-secondary,
.vrefund .vrefund-hero-note {
  color:#d7edf4;
  font-size:14px;
  line-height:1.7;
  max-width:800px;
  margin:0 0 13px;
}
.vterms .vterms-updated,
.vprivacy .vprivacy-updated,
.vcookie .vcookie-updated,
.vrefund .vrefund-date {font-size:12.5px;line-height:1.55;color:#ccdfeb;}
.vterms .vterms-hero-aside,
.vprivacy .vprivacy-hero-aside,
.vcookie .vcookie-hero-aside,
.vrefund .vrefund-hero-panel {
  background:rgba(255,255,255,.98);
  color:#143851;
  padding:clamp(24px,2.8vw,37px);
  border-radius:23px;
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 20px 54px rgba(0,16,30,.20);
  margin:0;
  min-width:0;
  max-width:none;
  overflow:visible;
}
.vterms .vterms-aside-label,
.vprivacy .vprivacy-aside-label,
.vcookie .vcookie-aside-label,
.vrefund .vrefund-small-label {
  display:inline-block;
  margin:0 0 10px;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#158553;
}
.vterms .vterms-hero-aside h2,
.vprivacy .vprivacy-hero-aside h2,
.vcookie .vcookie-hero-aside h2,
.vrefund .vrefund-hero-panel h2 {
  font-size:clamp(23px,2.2vw,30px);
  font-weight:850;
  color:#103951;
  margin:0 0 20px;
  line-height:1.17;
}
.vterms .vterms-hero-aside ul,
.vprivacy .vprivacy-hero-aside ul,
.vcookie .vcookie-hero-aside ul,
.vrefund .vrefund-hero-panel ul {
  display:grid;
  gap:14px;
  padding:0;
  margin:0;
  list-style:none;
}
.vterms .vterms-hero-aside li,
.vprivacy .vprivacy-hero-aside li,
.vcookie .vcookie-hero-aside li,
.vrefund .vrefund-hero-panel li {
  display:flex;
  gap:13px;
  align-items:flex-start;
  padding:0;
  margin:0;
  border:0;
  color:#355365;
  font-size:14px;
  line-height:1.55;
  font-weight:750;
}
.vterms .vterms-hero-aside li > span:first-child,
.vprivacy .vprivacy-hero-aside li > span:first-child,
.vcookie .vcookie-hero-aside li > span:first-child,
.vrefund .vrefund-hero-panel li > span:first-child {
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  min-width:23px;
  flex:none;
  border-radius:50%;
  background:#e5f5eb;
  color:#13894b;
  font-size:14px;
  font-weight:850;
}
.vrefund .vrefund-hero-panel-inner{padding:0;}
.vterms .vterms-aside-rule,
.vprivacy .vprivacy-aside-rule,
.vcookie .vcookie-aside-rule,
.vrefund .vrefund-aside-rule {height:1px;background:#e2ebee;margin:23px 0 17px;}
.vterms .vterms-hero-aside p,
.vprivacy .vprivacy-hero-aside p,
.vcookie .vcookie-hero-aside p,
.vrefund .vrefund-hero-panel p:not(.vrefund-small-label) {
  color:#56717f;
  font-size:13px;
  line-height:1.7;
  margin:0 0 17px;
}
.vterms .vterms-hero-aside a,
.vprivacy .vprivacy-hero-aside a,
.vcookie .vcookie-hero-aside a,
.vrefund .vrefund-aside-link {
  display:inline-flex;
  gap:10px;
  align-items:center;
  color:#087841;
  font-size:14px;
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:3px;
}
.vrefund .vrefund-hero-actions{margin-top:23px;}
.vrefund .vrefund-hero-actions .vrefund-button-primary{background:#0c914e;border-color:#0c914e;color:#fff;}
.vrefund .vrefund-hero-actions .vrefund-button-outline{color:#0b4a65;border-color:#cfdee6;background:#fff;}

/* 3: The three original horizontal TOCs become pinned left-side navigation.
   Preserve existing anchors, headings and policy text exactly as authored. */
.vterms .vterms-body > .vterms-wrap,
.vprivacy .vprivacy-body > .vprivacy-wrap,
.vcookie .vcookie-body > .vcookie-wrap {
  display:grid;
  grid-template-columns:minmax(230px,270px) minmax(0,1fr);
  gap:clamp(22px,3vw,43px);
  align-items:start;
}
.vterms .vterms-body .vterms-section-title,
.vprivacy .vprivacy-body .vprivacy-section-title,
.vcookie .vcookie-body .vcookie-section-title {grid-column:1/-1;margin:0;max-width:none;}
.vterms .vterms-body .vterms-toc,
.vprivacy .vprivacy-body .vprivacy-toc,
.vcookie .vcookie-body .vcookie-toc {
  grid-column:1;
  grid-row:2;
  position:sticky;
  top:calc(78px + 15px);
  align-self:start;
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  gap:5px;
  width:100%;
  max-width:none;
  max-height:calc(100vh - 113px);
  max-height:calc(100dvh - 113px);
  min-width:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  margin:0;
  padding:19px 14px;
  border:1px solid #dae6e9;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 35px rgba(7,43,93,.035);
  scrollbar-width:thin;
  scrollbar-color:#bfd7ce #f8fcfa;
  z-index:10;
}
.vterms .vterms-body .vterms-toc::before,
.vprivacy .vprivacy-body .vprivacy-toc::before,
.vcookie .vcookie-body .vcookie-toc::before {
  content:'ON THIS PAGE';
  display:block;
  color:#0a3852;
  font-size:12px;
  letter-spacing:.12em;
  font-weight:900;
  padding:5px 10px 12px;
}
.vterms .vterms-body .vterms-toc a,
.vprivacy .vprivacy-body .vprivacy-toc a,
.vcookie .vcookie-body .vcookie-toc a {
  display:block;
  white-space:normal;
  margin:0;
  padding:10px 12px;
  border:0;
  border-radius:10px;
  color:#345b65;
  background:transparent;
  font-size:13px;
  line-height:1.48;
  font-weight:730;
  text-decoration:none;
}
.vterms .vterms-body .vterms-toc a:hover,
.vprivacy .vprivacy-body .vprivacy-toc a:hover,
.vcookie .vcookie-body .vcookie-toc a:hover,
.vterms .vterms-body .vterms-toc a:focus-visible,
.vprivacy .vprivacy-body .vprivacy-toc a:focus-visible,
.vcookie .vcookie-body .vcookie-toc a:focus-visible {
  background:#e9f6ee;
  color:#087841;
}
.vterms .vterms-body .vterms-clauses,
.vprivacy .vprivacy-body .vprivacy-clauses,
.vcookie .vcookie-body .vcookie-clauses {
  grid-column:2;
  grid-row:2;
  min-width:0;
  width:100%;
  max-width:none;
  margin:0;
}
.vterms .vterms-body .vterms-clause,
.vprivacy .vprivacy-body .vprivacy-clause,
.vcookie .vcookie-body .vcookie-clause {scroll-margin-top:105px;}

/* Refund page: sticky must be applied to the grid child, NOT its inner card. */
.vrefund .vrefund-layout {
  display:grid;
  grid-template-columns:minmax(230px,270px) minmax(0,1fr);
  gap:clamp(22px,3vw,43px);
  align-items:start;
}
.vrefund .vrefund-sidebar {
  position:sticky;
  top:93px;
  align-self:start;
  max-height:calc(100vh - 113px);
  max-height:calc(100dvh - 113px);
  min-width:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#bfd7ce #f8fcfa;
  z-index:10;
}
.vrefund .vrefund-sidebar .vrefund-sticky{position:static;top:auto;}
.vrefund .vrefund-sidebar .vrefund-sticky nav{display:flex;flex-direction:column;gap:4px;}
.vrefund .vrefund-sidebar .vrefund-sticky nav a{background:transparent;color:#345b65;font-size:13px;line-height:1.48;}
.vrefund .vrefund-sidebar .vrefund-sticky nav a:hover,
.vrefund .vrefund-sidebar .vrefund-sticky nav a:focus-visible{background:#e9f6ee;color:#087841;}
.vrefund .vrefund-clause{scroll-margin-top:105px;}

/* 4: Tablet/mobile keeps the index within reach without occupying half the viewport. */
@media (max-width:990px) {
  .vterms .vterms-hero-grid,
  .vprivacy .vprivacy-hero-grid,
  .vcookie .vcookie-hero-grid,
  .vrefund .vrefund-hero-grid {grid-template-columns:1fr;gap:24px;}
  .vterms .vterms-hero-aside,
  .vprivacy .vprivacy-hero-aside,
  .vcookie .vcookie-hero-aside,
  .vrefund .vrefund-hero-panel {max-width:none;padding:25px;}
  .vterms .vterms-body > .vterms-wrap,
  .vprivacy .vprivacy-body > .vprivacy-wrap,
  .vcookie .vcookie-body > .vcookie-wrap,
  .vrefund .vrefund-layout {grid-template-columns:minmax(0,1fr);gap:19px;}
  .vterms .vterms-body .vterms-section-title,
  .vprivacy .vprivacy-body .vprivacy-section-title,
  .vcookie .vcookie-body .vcookie-section-title {grid-column:1;grid-row:1;}
  .vterms .vterms-body .vterms-toc,
  .vprivacy .vprivacy-body .vprivacy-toc,
  .vcookie .vcookie-body .vcookie-toc {
    grid-column:1;
    grid-row:2;
    position:sticky;
    top:73px;
    z-index:55;
    display:flex;
    flex-flow:row nowrap;
    gap:7px;
    width:100%;
    max-width:none;
    max-height:none;
    padding:10px;
    border-radius:12px;
    box-shadow:0 7px 22px rgba(6,39,64,.10);
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    scrollbar-width:thin;
    scrollbar-color:#bfd7ce #f8fcfa;
  }
  .vterms .vterms-body .vterms-toc::before,
  .vprivacy .vprivacy-body .vprivacy-toc::before,
  .vcookie .vcookie-body .vcookie-toc::before {
    flex:none;
    display:flex;
    align-items:center;
    padding:7px 9px;
    border-right:1px solid #deebea;
    font-size:10px;
  }
  .vterms .vterms-body .vterms-toc a,
  .vprivacy .vprivacy-body .vprivacy-toc a,
  .vcookie .vcookie-body .vcookie-toc a {
    white-space:nowrap;
    flex:none;
    padding:9px 12px;
    border-radius:9px;
    background:#f1f8f5;
    font-size:12px;
  }
  .vterms .vterms-body .vterms-clauses,
  .vprivacy .vprivacy-body .vprivacy-clauses,
  .vcookie .vcookie-body .vcookie-clauses {grid-column:1;grid-row:3;}
  .vrefund .vrefund-sidebar {
    grid-row:1;
    position:sticky;
    top:73px;
    z-index:55;
    max-height:none;
    overflow:visible;
    border-radius:12px;
    background:#fff;
    box-shadow:0 7px 22px rgba(6,39,64,.10);
  }
  .vrefund .vrefund-sidebar .vrefund-sticky {
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px;
    border-radius:12px;
  }
  .vrefund .vrefund-sidebar .vrefund-sticky > h2{display:none;}
  .vrefund .vrefund-sidebar .vrefund-sticky > .vrefund-kicker{flex:none;white-space:nowrap;margin:0;font-size:10px;}
  .vrefund .vrefund-sidebar .vrefund-sticky nav{display:flex;flex-flow:row nowrap;gap:7px;min-width:0;overflow-x:auto;scrollbar-width:thin;}
  .vrefund .vrefund-sidebar .vrefund-sticky nav a{flex:none;white-space:nowrap;padding:9px 12px;border-radius:9px;background:#f1f8f5;font-size:12px;}
  .vrefund .vrefund-clauses{grid-row:2;}
}
@media (max-width:560px) {
  .vterms .vterms-wrap,
  .vprivacy .vprivacy-wrap,
  .vcookie .vcookie-wrap,
  .vrefund .vrefund-wrap{width:min(calc(100% - 28px),var(--container,1480px));}
  .vterms .vterms-hero h1,
  .vprivacy .vprivacy-hero h1,
  .vcookie .vcookie-hero h1,
  .vrefund .vrefund-hero h1{font-size:clamp(34px,8.9vw,45px);}
  .vterms .vterms-hero,
  .vprivacy .vprivacy-hero,
  .vcookie .vcookie-hero,
  .vrefund .vrefund-hero{padding-bottom:43px;}
  .vterms .vterms-hero-aside,
  .vprivacy .vprivacy-hero-aside,
  .vcookie .vcookie-hero-aside,
  .vrefund .vrefund-hero-panel{padding:22px 19px;}
  .vterms .vterms-body .vterms-toc,
  .vprivacy .vprivacy-body .vprivacy-toc,
  .vcookie .vcookie-body .vcookie-toc,
  .vrefund .vrefund-sidebar{top:72px;}
  .vrefund .vrefund-hero-actions{display:flex;flex-direction:row;flex-wrap:wrap;}
}
@media (prefers-reduced-motion:reduce) {
  .vterms *, .vprivacy *, .vcookie *, .vrefund * {scroll-behavior:auto!important;}
}
