/* Both .vd-hero and .vd-page-bg break out of .container with the 100vw trick, so
   their children need a wrapper to re-establish the reading column — the same job
   .cd-container does on the cruise page. */
.vd-container{max-width:1240px;margin:0 auto;padding:0 20px}

/* ================= Visa detail hero ================= */
.vd-hero{
    position:relative;left:50%;right:50%;width:100vw;margin-left:-50vw;margin-right:-50vw;
    overflow:hidden;height:420px;color:#fff;
}
/* Fallback gradient sits under the photo: CMS image paths (/images/1/visas/...)
   are served by the admin app, so a missing file should still read as a designed
   hero rather than an empty grey box. */
.vd-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;
    background-color:var(--brand-navy,#0b1f3a);
    background-image:linear-gradient(135deg,#12305a,#0b1f3a)}
.vd-hero-overlay{
    position:absolute;inset:0;
    background:linear-gradient(180deg, rgba(4,12,26,.35) 0%, rgba(4,12,26,.6) 60%, rgba(4,12,26,.92) 100%);
}
.vd-hero-inner{
    position:relative;z-index:1;height:100%;
    display:flex;flex-direction:column;justify-content:flex-end;
    padding-bottom:56px;
}
.vd-hero-line{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--brand-gold-bright);margin-bottom:10px}
.vd-hero-title{font-family:"Playfair Display",Georgia,serif;font-weight:600;font-size:40px;line-height:1.15;margin-bottom:10px;text-shadow:0 4px 24px rgba(0,0,0,.35)}
.vd-hero-tagline{font-size:16px;color:rgba(255,255,255,.86);margin-bottom:18px;max-width:640px}
.vd-hero-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;color:rgba(255,255,255,.9)}
.vd-hero-dot{opacity:.6}
.vd-hero-rating{display:inline-flex;align-items:center;gap:6px}
.vd-hero-rating .icon{width:16px;height:16px;color:var(--brand-gold-bright)}
.vd-hero-rating span{color:rgba(255,255,255,.7);font-size:13px}

/* ================= Page backdrop ================= */
.vd-page-bg{
    position:relative;left:50%;right:50%;width:100vw;margin-left:-50vw;margin-right:-50vw;
    background:#f6f8fb;
}

/* ================= Sub nav ================= */
.vd-subnav{
    position:sticky;top:12px;z-index:20;background:#fff;
    display:flex;gap:1.75rem;
    border:1px solid #eef1f6;border-radius:1rem;box-shadow:0 8px 20px rgba(11,31,58,.07);
    padding:0 1.5rem;margin-top:1.5rem;margin-bottom:2.5rem;
    overflow-x:auto;
}
.vd-subnav a{
    padding:1rem 0;font-weight:700;font-size:.87rem;color:#6b7789;white-space:nowrap;
    border-bottom:2px solid transparent;transition:color .15s ease,border-color .15s ease;
}
.vd-subnav a:hover{color:var(--brand-navy)}
.vd-subnav a.active{color:var(--brand-navy);border-bottom-color:var(--brand-gold)}

/* ================= Two-column layout ================= */
.vd-layout{display:grid;grid-template-columns:1fr 340px;gap:2.5rem;align-items:start}
.vd-main{min-width:0}

.vd-sidebar{position:sticky;top:88px}
.vd-sidebar-card{
    background:#fff;border:1px solid #eef1f6;border-radius:1.25rem;
    box-shadow:0 20px 44px rgba(11,31,58,.1);
    padding:1.5rem 1.5rem 1.65rem;
}
.vd-sidebar-price-label{display:block;font-size:.78rem;color:#6b7385;text-transform:uppercase;letter-spacing:.02em}
.vd-sidebar-price-value{display:block;font-size:1.9rem;font-weight:800;color:var(--brand-navy);margin-bottom:1.1rem}
.vd-sidebar-price-value small{font-size:.8rem;font-weight:600;color:#8b95a5;margin-left:4px}
.vd-sidebar-btn{
    display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;
    background:var(--brand-navy);color:#fff;font-weight:700;font-size:.95rem;
    padding:.9rem 1.25rem;border-radius:.75rem;transition:transform .15s ease,background-color .15s ease;
    box-shadow:0 12px 24px rgba(11,31,58,.22);margin-bottom:1.25rem;
}
.vd-sidebar-btn:hover{background:var(--brand-navy-dark);transform:translateY(-2px);color:#fff}
.vd-sidebar-btn .icon{width:17px;height:17px}
.vd-sidebar-btn-secondary{
    background:#fff;color:var(--brand-navy);border:1px solid #dde3ec;box-shadow:none;
}
.vd-sidebar-btn-secondary:hover{background:var(--brand-navy-soft);color:var(--brand-navy)}
.vd-sidebar-facts{list-style:none;margin:0 0 1.25rem;padding:0;display:flex;flex-direction:column;gap:.65rem}
.vd-sidebar-facts li{display:flex;align-items:flex-start;gap:.6rem;font-size:.83rem;color:#4b5565;padding-top:.65rem;border-top:1px solid #eef1f6}
.vd-sidebar-facts li:first-child{padding-top:0;border-top:none}
.vd-sidebar-facts .icon{width:15px;height:15px;color:#9aa1b3;flex:none;margin-top:.1rem}
.vd-sidebar-facts b{color:var(--brand-navy)}
.vd-sidebar-note{font-size:.75rem;color:#9aa1b3;line-height:1.5;margin:0}

/* ================= Sections ================= */
.vd-section{padding:1.5rem 0 3rem;scroll-margin-top:64px}
.vd-section-title{font-family:"Playfair Display",Georgia,serif;font-size:1.55rem;color:var(--brand-navy);margin-bottom:.6rem}
.vd-section-sub{color:#6b7385;font-size:.9rem;margin-bottom:1.5rem;max-width:720px}
.vd-overview-text{font-size:1rem;line-height:1.7;color:#4b5565;max-width:820px;margin-bottom:0}

/* ---------- Visa type cards ---------- */
.vd-type-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem;align-items:start}
.vd-type-card{
    position:relative;background:#fff;border:1px solid #eef1f6;border-radius:1.15rem;
    padding:1.4rem 1.5rem 1.6rem;box-shadow:0 10px 24px rgba(11,31,58,.07);
    transition:transform .15s ease,box-shadow .15s ease;display:flex;flex-direction:column;
}
.vd-type-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(11,31,58,.14)}
.vd-type-badge{
    position:absolute;top:-.6rem;right:1.1rem;
    background:var(--brand-gold);color:#fff;font-size:.66rem;font-weight:800;text-transform:uppercase;
    letter-spacing:.03em;padding:.3rem .65rem;border-radius:999px;box-shadow:0 6px 14px rgba(169,121,26,.4);
}
.vd-type-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.4rem}
.vd-type-name{font-family:"Playfair Display",Georgia,serif;font-size:1.15rem;color:var(--brand-navy);line-height:1.3}
.vd-type-price{text-align:right;flex:none}
.vd-type-price span{display:block;font-size:.66rem;color:#8b95a5;text-transform:uppercase}
.vd-type-price b{font-size:1.05rem;color:var(--brand-navy)}
.vd-type-desc{font-size:.85rem;color:#6b7789;line-height:1.5;margin-bottom:.9rem}
.vd-type-facts{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-bottom:1.1rem}
.vd-type-facts span{display:inline-flex;align-items:center;gap:.35rem;font-size:.76rem;font-weight:600;color:#4b5565}
.vd-type-facts .icon{width:13px;height:13px;color:#9aa1b3}
.vd-type-docs{margin-bottom:1.1rem}
.vd-type-docs h4,.vd-type-fees h4{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:var(--brand-navy);margin-bottom:.55rem}
.vd-type-docs ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}
.vd-type-docs li{font-size:.8rem;color:#4b5565;padding-left:1.1rem;position:relative;line-height:1.4}
.vd-type-docs li::before{content:"";position:absolute;left:0;top:.55em;width:5px;height:5px;border-radius:50%;background:var(--brand-gold)}
.vd-type-fees{padding-top:1rem;border-top:1px solid #eef1f6;margin-top:auto;margin-bottom:1.1rem}
.vd-type-fee-row{display:flex;justify-content:space-between;font-size:.82rem;color:#4b5565;padding:.2rem 0}
.vd-type-fee-row.total{font-weight:800;color:var(--brand-navy);border-top:1px solid #eef1f6;margin-top:.3rem;padding-top:.5rem;font-size:.9rem}
.vd-type-cta{
    display:inline-flex;align-items:center;justify-content:center;gap:.5rem;width:100%;
    background:var(--brand-navy);color:#fff;font-weight:700;font-size:.85rem;
    padding:.7rem 1rem;border-radius:.65rem;transition:background-color .15s ease;
}
.vd-type-cta:hover{background:var(--brand-navy-dark);color:#fff}
.vd-type-cta .icon{width:15px;height:15px}

/* ---------- Download type picker ---------- */
.vd-download-type-picker{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem}
.vd-download-type-picker label{font-size:.82rem;font-weight:700;color:var(--brand-navy)}
.vd-download-type-picker select{
    flex:1;max-width:360px;border:1px solid #dde3ec;border-radius:.6rem;
    padding:.55rem .8rem;font-size:.85rem;color:var(--brand-navy);background:#fff;
}
.vd-download-type-picker select:focus{outline:none;border-color:var(--brand-gold)}

/* ---------- Application process timeline ---------- */
.vd-timeline{position:relative;padding-left:52px}
.vd-timeline::before{
    content:"";position:absolute;left:23px;top:8px;bottom:8px;width:2px;
    background:linear-gradient(180deg,var(--brand-gold) 0%,var(--brand-navy-soft) 100%);
}
.vd-timeline-item{position:relative;padding-bottom:2rem}
.vd-timeline-item:last-child{padding-bottom:0}
.vd-timeline-marker{
    position:absolute;left:-52px;top:0;width:48px;height:48px;border-radius:50%;
    background:linear-gradient(155deg,var(--brand-navy) 0%,var(--brand-navy-light) 100%);
    color:#fff;display:flex;align-items:center;justify-content:center;
    box-shadow:0 10px 22px rgba(11,31,58,.3),inset 0 2px 3px rgba(255,255,255,.2);
    border:3px solid #fff;font-weight:800;font-size:1.05rem;
}
.vd-timeline-body{
    background:#fff;border:1px solid #eef1f6;border-radius:1rem;padding:1.1rem 1.35rem;
    box-shadow:0 8px 20px rgba(11,31,58,.05);
}
.vd-timeline-title{font-family:"Playfair Display",Georgia,serif;font-size:1.1rem;color:var(--brand-navy);margin-bottom:.3rem}
.vd-timeline-desc{font-size:.88rem;color:#4b5565;margin:0;line-height:1.55}

/* ---------- FAQs ---------- */
.vd-faq-list{display:flex;flex-direction:column;gap:.75rem}
.vd-faq-item{background:#fff;border:1px solid #eef1f6;border-radius:1rem;box-shadow:0 8px 20px rgba(11,31,58,.05);overflow:hidden}
.vd-faq-q{
    width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;
    padding:1.1rem 1.35rem;font-weight:700;font-size:.95rem;color:var(--brand-navy);text-align:left;background:none;
}
.vd-faq-q .icon{width:16px;height:16px;flex:none;color:#9aa1b3;transition:transform .2s ease}
.vd-faq-q.expanded .icon{transform:rotate(180deg)}
.vd-faq-a{padding:0 1.35rem 1.1rem;font-size:.88rem;color:#4b5565;line-height:1.6}

/* ---------- Downloads ---------- */
.vd-download-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
.vd-download-card{
    display:flex;align-items:center;gap:1rem;
    background:#fff;border:1px solid #eef1f6;border-radius:1.1rem;padding:1.25rem 1.4rem;
    box-shadow:0 10px 24px rgba(11,31,58,.06);transition:transform .15s ease,box-shadow .15s ease;
    /* whole card is an <a>, so kill the inherited underline on its text */
    text-decoration:none;
}
.vd-download-card,.vd-download-card *{text-decoration:none}
.vd-download-card:hover{transform:translateY(-3px);box-shadow:0 18px 32px rgba(11,31,58,.12)}
.vd-download-icon{
    width:52px;height:52px;flex:none;border-radius:.9rem;
    background:var(--brand-gold-soft);color:var(--brand-gold);
    display:flex;align-items:center;justify-content:center;
}
.vd-download-icon .icon{width:24px;height:24px}
.vd-download-body{flex:1;min-width:0}
.vd-download-title{font-weight:700;color:var(--brand-navy);font-size:.95rem;margin-bottom:.2rem}
.vd-download-desc{font-size:.78rem;color:#8b95a5}
.vd-download-btn{
    flex:none;display:inline-flex;align-items:center;gap:.4rem;
    background:var(--brand-navy);color:#fff;font-weight:700;font-size:.82rem;
    padding:.55rem 1rem;border-radius:.6rem;transition:background-color .15s ease;
}
.vd-download-btn:hover{background:var(--brand-navy-dark);color:#fff}
.vd-download-btn .icon{width:14px;height:14px}

/* ================= Responsive ================= */
@media (max-width:991.98px){
    .vd-hero{height:400px}
    .vd-hero-title{font-size:30px}
    .vd-layout{grid-template-columns:1fr}
    .vd-sidebar{position:static;order:-1}
    .vd-sidebar-card{margin-bottom:2rem}
    .vd-type-grid{grid-template-columns:1fr}
    .vd-download-grid{grid-template-columns:1fr}
}
@media (max-width:575.98px){
    .vd-hero{height:380px}
    .vd-timeline{padding-left:44px}
    .vd-timeline-marker{left:-44px;width:40px;height:40px;font-size:.9rem}
    .vd-download-card{flex-direction:column;align-items:flex-start}
    .vd-download-btn{width:100%;justify-content:center}
    .vd-download-type-picker{flex-direction:column;align-items:stretch}
    .vd-download-type-picker select{max-width:none}
}
