/* Visa catalog: the homepage's type and voice. Instrument Sans for text, Instrument Serif
   italic for one accent word per heading, and handwritten tags instead of spaced small caps. */
@font-face{font-family:'Instrument Sans';src:url('../assets/fonts/instrument-sans.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('../assets/fonts/instrument-serif-italic.woff2') format('woff2');font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:'Flyvis Hand';src:url('../assets/fonts/kalam.woff2') format('woff2');font-weight:400 800;font-display:swap}
body.visa-hub{font-family:'Instrument Sans',system-ui,sans-serif}
.visa-hub h1,.visa-hub h2,.visa-hub h3{font-weight:600}
.visa-hub h1 em,.visa-hub h2 em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;letter-spacing:-.5px;color:#0f6b66}
.visa-hub-hero h1 em{font-size:1.12em;position:relative;white-space:nowrap}
/* a hand-drawn underline under "sorted." */
.visa-hub-hero h1 em::after{content:'';position:absolute;left:2%;right:4%;bottom:-.06em;height:.2em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c40-6 92-8 194-3' fill='none' stroke='%23f6c445' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;z-index:-1}
.visa-catalog-heading h2 em,.visa-help h2 em{font-size:1.1em}

/* Handwritten tags */
.visa-hub .visa-hand{font-family:'Flyvis Hand',cursive;font-weight:400;letter-spacing:0;text-transform:none}
.visa-hub .visa-eyebrow.visa-hand{display:inline-block;font-size:19px;line-height:1.2;color:#e8704f;transform:rotate(-2.5deg);transform-origin:left center}
.visa-hero-inner>.visa-eyebrow.visa-hand{letter-spacing:0;color:#0e2d37;font-size:16px;font-family:'DM Sans','Instrument Sans',sans-serif;font-style:normal;font-weight:600}
.visa-hub-search label.visa-hand{font-size:14px;color:#0f6b66;margin-bottom:0;line-height:1.1}
.visa-quick-links>span.visa-hand{font-size:15px;color:#4f6d74}
.visa-quick-links>button{font-size:12.5px;font-weight:500;border-bottom:0;background:#ffffffb8;border-radius:999px;padding:5px 12px;box-shadow:inset 0 0 0 1px #0f6b6626;transition:background .25s,color .25s,transform .25s}
.visa-quick-links>button:hover{background:#fff;transform:translateY(-1px)}
.visa-quick-links{gap:8px}
.visa-hero-caption.visa-hand{font-size:16px;letter-spacing:0}

/* Small print a touch larger now that it is not spaced caps */
.visa-hero-description{font-size:16px}
.visa-catalog-heading>p,.visa-help p:not(.visa-eyebrow){font-size:13px}
.visa-assurance strong{font-size:13px}.visa-assurance small{font-size:11px}
.visa-card-facts span{font-size:9px;letter-spacing:.8px}

/* A splash of colour on the step numbers */
.visa-assurance span,.visa-assurance button{color:#e8704f;font-weight:600}

@media(max-width:680px){
  .visa-hero-inner>.visa-eyebrow.visa-hand{font-size:18px}
  .visa-hub .visa-eyebrow.visa-hand{font-size:17px}
  .visa-hub-search label.visa-hand{font-size:12px}
  .visa-quick-links>span.visa-hand{font-size:13px}
  .visa-quick-links>button{font-size:11px;padding:4px 10px}
  .visa-hero-description{font-size:13px}
  .visa-assurance strong{font-size:10.5px}.visa-assurance small{font-size:9px}
}
@media(max-width:680px){.visa-hero-description{text-shadow:0 0 12px #f3f8f2,0 0 4px #f3f8f2;max-width:300px}}

/* Header: at the top of the page it matches the homepage (plain text in a frosted pill);
   once you scroll it becomes the navy header with the 3D icons. */
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-main-nav{gap:2px;padding:5px;background:#ffffffb3;border:1px solid #fff;border-radius:40px;box-shadow:0 8px 24px #0e2d3712;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-main-nav>a{flex-direction:row;min-width:0;padding:10px 18px;border-radius:40px;transition:background .2s}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-main-nav>a::after{display:none}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) :is(.fv-main-nav>a,.fv-login) .fv-nav-icon-box{display:none}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-main-nav>a .fv-nav-label{font-size:14px;font-weight:550;color:#0e2d37}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-main-nav>a:hover{background:#0e2d370d}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-main-nav>a[aria-current=page]{background:#0e2d37}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-main-nav>a[aria-current=page] .fv-nav-label{color:#fff}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-menu-button .fv-nav-label{display:none}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-menu-button .fv-icon-3d-svg{width:30px;height:30px}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-header-actions{gap:10px}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-login{flex-direction:row}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-login .fv-nav-label{padding:11px 16px;font-size:14px;font-weight:550;color:#0e2d37}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-login:hover .fv-nav-label{color:#0f6b66}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-header-actions .fv-contact{flex-direction:row;gap:8px;padding:6px 18px 6px 6px;background:#0f6b66;border-radius:40px;transition:background .25s,transform .3s}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-header-actions .fv-contact:hover{background:#0b5853;transform:translateY(-1px)}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-header-actions .fv-contact .fv-nav-icon-box.fv-icon-3d{width:32px;height:32px;border-radius:50%;background:#ffffff26}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-header-actions .fv-contact .fv-icon-3d-svg{width:26px;height:26px;margin:3px}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-header-actions .fv-contact .fv-icon-3d-svg ellipse{display:none}
body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-header-actions .fv-contact .fv-nav-label{font-size:14px;font-weight:550;color:#fff}
/* the icons pop in when the header turns navy */
@keyframes vh-icon-in{from{opacity:0;transform:translateY(6px) scale(.85)}}
body.visa-hub.fv-shared-nav .fv-header.scrolled :is(.fv-main-nav>a,.fv-login) .fv-nav-icon-box{animation:vh-icon-in .35s cubic-bezier(.34,1.56,.64,1) both}
body.visa-hub.fv-shared-nav .fv-header.scrolled .fv-main-nav>a:nth-child(2) .fv-nav-icon-box{animation-delay:.04s}
body.visa-hub.fv-shared-nav .fv-header.scrolled .fv-main-nav>a:nth-child(3) .fv-nav-icon-box{animation-delay:.08s}
body.visa-hub.fv-shared-nav .fv-header.scrolled .fv-main-nav>a:nth-child(4) .fv-nav-icon-box{animation-delay:.12s}
@media(max-width:680px){
  body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-login .fv-nav-label{padding:8px 4px;font-size:13px}
  body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-header-actions .fv-contact{padding:4px}
  body.visa-hub.fv-shared-nav .fv-header:not(.scrolled) .fv-header-actions .fv-contact .fv-nav-label{display:none}
}
@media(prefers-reduced-motion:reduce){body.visa-hub.fv-shared-nav .fv-header.scrolled .fv-nav-icon-box{animation:none}}
