.vd-page {
    --vd-blue: #1760cc;
    --vd-ink: #17283f;
    --vd-muted: #69768a;
    --vd-line: #e5ebf2;
    color: var(--vd-ink);
    background: #fff;
    padding-top: 80px;
    font-family: Pretendard,'Noto Sans KR',sans-serif;
    line-height: 1.6;
}

.vd-page * {
    box-sizing: border-box;
}

.vd-page a {
    text-decoration: none;
    color: inherit;
}

.vd-page h1,
.vd-page h2,
.vd-page h3,
.vd-page p,
.vd-page dl,
.vd-page dd {
    margin: 0;
}

.vd-inner {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 24px;
}

.vd-hero {
    background: linear-gradient(120deg,#f0f6ff,#f7faff 65%,#e5effc);
    overflow: hidden;
}

.vd-breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 26px;
    font-size: 13px;
    color: #748299;
}

.vd-breadcrumb a:hover {
    color: var(--vd-blue);
}

.vd-hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 70px;
    align-items: center;
    padding: 48px 0 62px;
}

.vd-eyebrow {
    font-size: 11px;
    letter-spacing: .16em;
    font-weight: 800;
    color: var(--vd-blue);
    margin-bottom: 14px!important;
}

.vd-hero h1 {
    font-size: 44px;
    letter-spacing: -.055em;
    line-height: 1.3;
    font-weight: 850;
}

.vd-hero h1 span {
    color: var(--vd-blue);
}

.vd-lead {
    font-size: 16px;
    color: #60728a;
    line-height: 1.85;
    margin-top: 22px!important;
}

.vd-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.vd-tags span {
    border: 1px solid #d6e3f7;
    border-radius: 6px;
    padding: 6px 11px;
    background: #ffffffb3;
    font-size: 12px;
    font-weight: 650;
    color: #3c608a;
}

.vd-passport {
    justify-self: center;
    transform: rotate(6deg);
    width: 244px;
    padding: 24px 25px 20px;
    border-radius: 12px 22px 22px 12px;
    background: linear-gradient(140deg,#1d4e8b,#11345e);
    box-shadow: 16px 22px 40px #17385d26,inset 5px 0 #ffffff15;
    color: #d5bb85;
    text-align: center;
}

.vd-passport-top {
    display: flex;
    justify-content: space-between;
    font-size: 7px;
    letter-spacing: .08em;
    color: #d1deed;
}

.vd-passport-top b {
    font-weight: 500;
}

.vd-globe {
    width: 72px;
    height: 72px;
    border: 1px solid #c4b08188;
    outline: 1px solid #c4b08144;
    outline-offset: 7px;
    border-radius: 50%;
    margin: 38px auto 24px;
    font-size: 40px;
    line-height: 68px;
}

.vd-passport>strong {
    display: block;
    font-size: 28px;
    letter-spacing: .12em;
}

.vd-passport>span {
    display: block;
    font-size: 10px;
    letter-spacing: .16em;
    margin-top: 8px;
}

.vd-passport-line {
    height: 1px;
    background: #c4b08155;
    margin: 24px 0 12px;
}

.vd-passport small {
    font-size: 7px;
    letter-spacing: .17em;
}

.vd-nav {
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--vd-line);
    z-index: 950;
}

.vd-nav.is-fixed {
    position: fixed;
    box-shadow: 0 5px 20px #17283f0c;
}

.vd-nav>.vd-inner {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.vd-nav a {
    display: block;
    flex-shrink: 0;
    padding: 20px 3px 17px;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 750;
    color: #6b778a;
    white-space: nowrap;
}

.vd-nav a.is-active {
    border-color: var(--vd-blue);
    color: var(--vd-blue);
}

.vd-nav a:hover {
    color: var(--vd-blue);
}

.vd-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 310px;
    gap: 64px;
    padding-top: 48px;
    padding-bottom: 80px;
}

.vd-content {
    min-width: 0;
}

.vd-section {
    padding: 0 0 44px;
    margin-bottom: 42px;
    border-bottom: 1px solid var(--vd-line);
    scroll-margin-top: var(--vd-sticky-top,160px);
}

.vd-section h2 {
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: -.04em;
}

.vd-description {
    font-size: 14px;
    color: var(--vd-muted);
    margin-top: 12px!important;
}

.vd-summary {
    margin-top: 26px!important;
    border-top: 2px solid var(--vd-ink);
}

.vd-summary>div {
    display: grid;
    grid-template-columns: 115px 1fr;
    border-bottom: 1px solid var(--vd-line);
    font-size: 14px;
}

.vd-summary dt {
    padding: 15px;
    background: #f7f9fc;
    font-weight: 700;
}

.vd-summary dd {
    padding: 15px;
    color: #526178;
}

.vd-note {
    padding: 22px 24px;
    background: #f0f6ff;
    border-radius: 12px;
    margin-top: 24px;
}

.vd-note b {
    font-size: 14px;
    color: #21589a;
}

.vd-note p {
    font-size: 13px;
    margin-top: 6px;
    color: #61738c;
}

.vd-document-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px;
}

.vd-document {
    padding: 24px;
    border: 1px solid var(--vd-line);
    border-radius: 14px;
}

.vd-document>span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #edf4ff;
    color: var(--vd-blue);
    font-size: 11px;
    font-weight: 800;
}

.vd-document h3 {
    font-size: 17px;
    margin-top: 14px;
}

.vd-document p {
    font-size: 14px;
    color: var(--vd-muted);
    margin-top: 8px;
}

.vd-document small {
    display: block;
    font-size: 11px;
    color: #8792a2;
    border-top: 1px solid var(--vd-line);
    padding-top: 14px;
    margin-top: 18px;
}

.vd-process {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
}

.vd-process li {
    position: relative;
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
}

.vd-process li:last-child {
    padding-bottom: 0;
}

.vd-process li:not(:last-child):before {
    content: '';
    position: absolute;
    top: 38px;
    left: 19px;
    bottom: 0;
    width: 1px;
    background: #d9e5f5;
}

.vd-process li>span {
    flex: 0 0 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: var(--vd-blue);
    font-weight: 800;
    font-size: 12px;
    border-radius: 50%;
    z-index: 1;
}

.vd-process h3 {
    font-size: 16px;
    padding-top: 5px;
}

.vd-process p {
    font-size: 14px;
    color: var(--vd-muted);
    margin-top: 5px;
}

.vd-faq {
    margin-top: 24px;
    border-top: 1px solid var(--vd-line);
}

.vd-faq details {
    border-bottom: 1px solid var(--vd-line);
}

.vd-faq summary {
    position: relative;
    padding: 20px 34px 20px 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.vd-faq summary::-webkit-details-marker {
    display: none;
}

.vd-faq summary:after {
    content: '+';
    position: absolute;
    right: 5px;
    color: var(--vd-blue);
    font-size: 21px;
    top: 14px;
}

.vd-faq details[open] summary:after {
    content: '−';
}

.vd-faq details p {
    padding: 0 20px 22px 0;
    color: var(--vd-muted);
    font-size: 14px;
}

.vd-aside {
    align-self: start;
    position: sticky;
    top: var(--vd-sticky-top,164px);
}

.vd-apply-card {
    padding: 28px;
    border: 1px solid #dce5f2;
    border-radius: 18px;
    box-shadow: 0 12px 36px #17385d0a;
}

.vd-apply-card h2 {
    font-size: 23px;
    letter-spacing: -.04em;
    line-height: 1.4;
}

.vd-apply-card>p:not(.vd-eyebrow) {
    margin-top: 14px;
    color: var(--vd-muted);
    font-size: 13px;
}

.vd-apply-card dl {
    border-top: 1px solid var(--vd-line);
    margin: 24px 0!important;
    padding-top: 18px;
    font-size: 12px;
}

.vd-apply-card dl>div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.vd-apply-card dt {
    color: #7c889a;
}

.vd-apply-card dd {
    font-weight: 650;
}

.vd-page .vd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750;
    border: 1px solid transparent;
}

.vd-page .vd-primary {
    background: var(--vd-blue);
    color: #fff;
}

.vd-page .vd-primary:hover {
    background: #104da9;
}

.vd-page .vd-secondary {
    background: #fff;
    border-color: #d8e2ef;
    color: #345071;
    margin-top: 9px;
}

.vd-contact {
    text-align: center;
    margin-top: 20px;
    display: grid;
    gap: 2px;
}

.vd-contact span {
    font-size: 11px;
    color: #8390a1;
}

.vd-contact strong {
    font-size: 21px;
    letter-spacing: -.03em;
}

.vd-email {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #718198!important;
    margin-top: 14px;
}

.vd-aside-note {
    font-size: 12px;
    color: #8591a1;
    padding: 15px 12px;
}

.vd-back {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #61738a!important;
}

.vd-mobile-actions {
    display: none;
}

.vd-page a:focus-visible,
.vd-page summary:focus-visible {
    outline: 2px solid var(--vd-blue);
    outline-offset: 4px;
}

@media (max-width:1024px) {
    .vd-layout {
        gap: 30px;
        grid-template-columns: minmax(0,1fr) 280px;
    }

    .vd-hero-grid {
        gap: 30px;
    }

    .vd-hero h1 {
        font-size: 38px;
    }

    .vd-apply-card {
        padding: 22px;
    }

}

@media (max-width:768px) {
    .vd-page {
        padding-top: 70px;
        padding-bottom: 84px;
    }

    .vd-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .vd-breadcrumb {
        padding-top: 18px;
        font-size: 11px;
        gap: 8px;
    }

    .vd-hero-grid {
        grid-template-columns: 1fr;
        padding: 34px 0 36px;
        gap: 0;
    }

    .vd-hero h1 {
        font-size: 32px;
    }

    .vd-lead {
        font-size: 14px;
        margin-top: 16px!important;
    }

    .vd-passport {
        display: none;
    }

    .vd-tags {
        margin-top: 22px;
        gap: 6px;
    }

    .vd-tags span {
        font-size: 11px;
        padding: 5px 8px;
    }

    .vd-nav>.vd-inner {
        gap: 22px;
    }

    .vd-nav a {
        font-size: 13px;
        padding: 16px 0 13px;
    }

    .vd-layout {
        display: flex;
        flex-direction: column;
        gap: 26px;
        padding-top: 32px;
        padding-bottom: 34px;
    }

    .vd-content {
        width: 100%;
    }

    .vd-section {
        padding-bottom: 32px;
        margin-bottom: 30px;
    }

    .vd-section h2 {
        font-size: 23px;
    }

    .vd-summary>div {
        grid-template-columns: 90px 1fr;
        font-size: 13px;
    }

    .vd-summary dt,
    .vd-summary dd {
        padding: 13px 12px;
    }

    .vd-note {
        padding: 18px;
    }

    .vd-document-grid {
        gap: 10px;
    }

    .vd-document {
        padding: 17px;
    }

    .vd-document h3 {
        font-size: 16px;
    }

    .vd-document p {
        font-size: 13px;
    }

    .vd-document small {
        font-size: 10px;
    }

    .vd-aside {
        position: static;
        width: 100%;
    }

    .vd-apply-card {
        padding: 24px;
    }

    .vd-mobile-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 960;
        display: flex;
        gap: 8px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fffffff5;
        border-top: 1px solid var(--vd-line);
        box-shadow: 0 -4px 20px #17283f09;
    }

    .vd-mobile-actions .vd-btn {
        flex: 1;
        margin: 0;
    }

    .vd-mobile-actions .vd-primary {
        flex: 1.6;
    }

}

@media (max-width:360px) {
    .vd-document-grid {
        grid-template-columns: 1fr;
    }

    .vd-hero h1 {
        font-size: 28px;
    }

}

/* VISAS product data */

.vl-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

.vl-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e3eaf3;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    text-decoration: none!important;
    color: #17283f!important;
    transition: transform .2s,box-shadow .2s;
}

.vl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px #17385d14;
}

.vl-image {
    aspect-ratio: 16/10;
    background: #edf4ff;
    overflow: hidden;
}

.vl-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vl-image-placeholder {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #7698c1;
    letter-spacing: .2em;
    font-size: 28px;
    font-weight: 800;
}

.vl-image-placeholder[hidden] {
    display: none;
}

.vl-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vl-type,
.vd-product-type {
    display: inline-block;
    font-size: 11px;
    color: #1760cc;
    font-weight: 750;
}

.vl-card h3 {
    font-size: 21px;
    line-height: 1.4;
    margin: 10px 0;
}

.vl-card p {
    font-size: 14px;
    color: #69768a;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 22px;
}

.vl-card-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #edf0f4;
    padding-top: 18px;
}

.vl-card-bottom strong {
    font-size: 21px;
    color: #1760cc;
}

.vl-card-bottom span {
    font-size: 12px;
    color: #78869b;
}

.vl-empty {
    text-align: center;
    padding: 64px 20px;
    background: #f6f9fd;
    border: 1px solid #e3eaf3;
    border-radius: 16px;
    color: #60728a;
    margin: 32px 0;
}

.vl-empty h1 {
    font-size: 24px;
}

.vd-product-type {
    margin-bottom: 12px;
    padding: 4px 10px;
    background: #e1ecfc;
    border-radius: 5px;
}

.vd-price {
    color: #1760cc!important;
    font-weight: 800;
}

.vd-db-image {
    margin-top: 26px;
}

.vd-db-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
}

.vd-db-image small {
    display: block;
    text-align: center;
    color: #8390a1;
    margin-top: 10px;
}

.vd-richtext {
    margin-top: 24px;
    overflow-x: auto;
    overflow-wrap: anywhere;
    line-height: 1.8;
    font-size: 14px;
}

.vd-richtext img {
    max-width: 100%!important;
    height: auto!important;
}

.vd-richtext p {
    margin: 0 0 12px;
}

.vd-subtitle {
    margin-top: 30px!important;
    font-size: 18px;
}

.vd-agreement {
    padding: 24px;
    border: 1px solid #e5ebf2;
    border-radius: 12px;
    background: #f8fafc;
}

.vd-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.vd-field-grid>div {
    border: 1px solid #e5ebf2;
    padding: 18px;
    border-radius: 10px;
    font-size: 14px;
}

.vd-field-grid small {
    display: block;
    margin-top: 8px;
    color: #8390a1;
    font-size: 12px;
}

.vd-required {
    display: inline-block;
    color: #1760cc;
    background: #edf4ff;
    border-radius: 4px;
    font-size: 10px;
    padding: 2px 5px;
    margin-left: 7px;
}

@media (max-width:980px) {
    .vl-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}

@media (max-width:600px) {
    .vl-grid {
        grid-template-columns: 1fr;
    }

    .vl-card-body {
        padding: 20px;
    }

    .vd-field-grid {
        grid-template-columns: 1fr;
    }

}

/* Original visa list cards, populated from VISAS. */

.visa-db-original-card {
    min-width: 0;
    text-decoration: none;
    display: block;
}

.visa-db-original-card img {
    object-fit: cover;
}

.visa-db-original-card strong {
    overflow-wrap: anywhere;
}

.visa-db-original-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.visa-db-icon {
    display: flex;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    color: #1760cc;
    font-size: 14px;
    font-weight: 800;
    font-style: normal;
    box-shadow: 0 8px 18px rgba(15,23,42,.10);
}

.visa-db-icon[hidden] {
    display: none;
}
