/* eVisa Help guide pages + holiday notice banner */

.vd-holiday-notice {
    background: #fff8e6;
    border-bottom: 1px solid #f0dfa8;
    color: #4a3b10;
    font-family: 'Roboto', sans-serif;
}

.vd-holiday-notice--active {
    background: #fff1f0;
    border-bottom-color: #f5c6c2;
    color: #5c1f1a;
}

.vd-holiday-notice__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 20px;
    box-sizing: border-box;
    position: relative;
}

.vd-holiday-notice--dismissible .vd-holiday-notice__inner {
    padding-right: 44px;
}

.vd-holiday-notice__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.65;
    padding: 4px 8px;
}

.vd-holiday-notice__close:hover {
    opacity: 1;
}

.vd-holiday-notice--inline {
    border: 1px solid #f0dfa8;
    border-radius: 10px;
    margin: 0 auto 24px;
    max-width: 800px;
}

body.page-id-77 .vd-holiday-notice--inline {
    padding: 0 24px;
    box-sizing: border-box;
}

body.page-id-77 .vd-holiday-notice--inline .vd-holiday-notice__inner {
    max-width: none;
    padding-left: 16px;
    padding-right: 44px;
}

.vd-holiday-notice__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: inherit;
}

.vd-holiday-notice__text {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.55;
}

.vd-holiday-notice__link {
    margin: 0;
    font-size: 14px;
}

.vd-holiday-notice__link a {
    color: #0944f4;
    font-weight: 600;
    text-decoration: none;
}

.vd-holiday-notice__link a:hover {
    text-decoration: underline;
}

/* Shared guide page layout */
body.viendong-evisa-help-page .toppass {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 40px 20px;
    box-sizing: border-box;
}

body.viendong-evisa-help-page .toppass h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.25rem;
    line-height: 1.3;
    font-weight: 700;
    color: #1a2b5f;
    letter-spacing: normal;
    text-transform: none;
    margin: 0 0 20px;
}

body.viendong-evisa-help-page .toppass h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: #0944f4;
    margin: 18px auto 0;
    border-radius: 2px;
}

body.viendong-evisa-help-page .toppass p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    line-height: 1.65;
    color: #5a6578;
    margin: 0 auto;
    max-width: 620px;
}

body.viendong-evisa-help-page .vd-evisa-content {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    color: #4a5568;
}

body.viendong-evisa-help-page .vd-evisa-content .vd-holiday-notice {
    border: 1px solid #f0dfa8;
    border-radius: 10px;
    margin-bottom: 32px;
}

body.viendong-evisa-help-page .vd-evisa-content .vd-holiday-notice__inner {
    padding: 16px 18px;
}

body.viendong-evisa-help-page .vd-evisa-section {
    margin-bottom: 40px;
}

body.viendong-evisa-help-page .vd-evisa-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a2b5f;
    margin: 0 0 14px;
    letter-spacing: normal;
    text-transform: none;
}

body.viendong-evisa-help-page .vd-evisa-section p {
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 14px;
}

body.viendong-evisa-help-page .vd-evisa-list {
    margin: 0 0 14px;
    padding-left: 22px;
    line-height: 1.65;
}

body.viendong-evisa-help-page .vd-evisa-list li {
    margin-bottom: 8px;
}

body.viendong-evisa-help-page .vd-evisa-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 16px;
}

/* Hub guide navigation */
body.viendong-evisa-help-page .vd-evisa-help-nav {
    margin-top: 8px;
}

body.viendong-evisa-help-page .vd-evisa-help-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    row-gap: 24px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

body.viendong-evisa-help-page .vd-evisa-help-nav__item {
    margin: 0;
    padding: 0;
    min-width: 0;
    list-style: none;
}

body.viendong-evisa-help-page .vd-evisa-help-nav__item a {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid #e4eaf5;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(9, 68, 244, 0.05);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.viendong-evisa-help-page .vd-evisa-help-nav__item a:hover {
    border-color: #c5d4f7;
    box-shadow: 0 4px 16px rgba(9, 68, 244, 0.1);
    transform: translateY(-1px);
}

body.viendong-evisa-help-page .vd-evisa-help-nav__item.is-current a {
    border-top: 3px solid #0944f4;
    pointer-events: none;
}

body.viendong-evisa-help-page .vd-evisa-help-nav__title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2b5f;
    margin-bottom: 8px;
}

body.viendong-evisa-help-page .vd-evisa-help-nav__desc {
    display: block;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #4a5568;
}

body.viendong-evisa-help-page .vd-faq-hub-section {
    margin-bottom: 8px;
}

body.viendong-evisa-help-page .vd-evisa-table--fees td:last-child {
    font-weight: 700;
    color: #0944f4;
    white-space: nowrap;
}

body.viendong-evisa-help-page .vd-evisa-card {
    background: #fff;
    border: 1px solid #e4eaf5;
    border-radius: 10px;
    padding: 20px 18px;
    box-shadow: 0 2px 10px rgba(9, 68, 244, 0.05);
}

body.viendong-evisa-help-page .vd-evisa-card--highlight {
    border-top: 3px solid #0944f4;
}

body.viendong-evisa-help-page .vd-evisa-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2b5f;
    margin: 0 0 8px;
}

body.viendong-evisa-help-page .vd-evisa-card__time {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0944f4;
    margin-bottom: 10px !important;
}

body.viendong-evisa-help-page .vd-evisa-card p {
    font-size: 0.95rem;
    margin: 0;
}

body.viendong-evisa-help-page .vd-evisa-option-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

body.viendong-evisa-help-page .vd-evisa-option-list li {
    padding: 12px 16px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e4eaf5;
    border-radius: 8px;
    font-size: 0.98rem;
    line-height: 1.5;
}

body.viendong-evisa-help-page .vd-evisa-option-list li strong {
    color: #1a2b5f;
}

body.viendong-evisa-help-page .vd-evisa-subsection {
    margin-bottom: 28px;
}

body.viendong-evisa-help-page .vd-evisa-subsection h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2b5f;
    margin: 0 0 12px;
}

body.viendong-evisa-help-page .vd-evisa-content .faq.container {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 48px;
}

body.viendong-evisa-help-page .vd-evisa-section[id] {
    scroll-margin-top: 24px;
}

#vd-holiday-calendar {
    scroll-margin-top: 24px;
}

.vd-eligibility-chart__tools {
    margin-bottom: 16px;
}

.vd-eligibility-search input[type="search"] {
    width: 100%;
    max-width: 360px;
    padding: 11px 14px;
    border: 1px solid #d8dfe9;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    margin-bottom: 12px;
}

.vd-eligibility-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.vd-eligibility-filter {
    border: 1px solid #d8dfe9;
    background: #fff;
    color: #1a2b5f;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.vd-eligibility-filter:hover,
.vd-eligibility-filter.is-active {
    background: #0944f4;
    border-color: #0944f4;
    color: #fff;
}

.vd-badge {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.vd-badge--ok {
    background: #e8f7ea;
    color: #0d6b14;
}

.vd-badge--req {
    background: #eef2ff;
    color: #1a2b5f;
}

.vd-eligibility-empty {
    text-align: center;
    color: #5a6578;
    font-size: 0.95rem;
    margin: 16px 0 0;
}

.vd-eligibility-empty[hidden] {
    display: none;
}

body.viendong-evisa-help-page .vd-evisa-table--countries td:first-child {
    font-weight: 600;
    color: #1a2b5f;
}

.vd-next-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.vd-next-step__note {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #5a6578;
}

.vd-next-step__note a {
    color: #0944f4;
    font-weight: 600;
    text-decoration: none;
}

.vd-next-step__note a:hover {
    text-decoration: underline;
}

.vd-next-step__apply,
.vd-next-step__help {
    font-weight: 600;
    text-decoration: none;
    line-height: 1.45;
}

.vd-next-step__apply {
    color: #0944f4;
}

.vd-next-step__apply:hover {
    text-decoration: underline;
}

.vd-next-step__help {
    color: #5a6578;
    font-size: 0.92rem;
}

.vd-next-step__help:hover {
    color: #0944f4;
    text-decoration: underline;
}

@media only screen and (max-width: 769px) {
    .vd-eligibility-search input[type="search"] {
        max-width: none;
        width: 100%;
    }

    .vd-badge {
        white-space: normal;
    }

    body.viendong-evisa-help-page .vd-evisa-table-wrap--countries,
    body.viendong-evisa-help-page .vd-evisa-table-wrap--requirements {
        overflow: visible;
        border: none;
        background: transparent;
        margin-left: 0;
        margin-right: 0;
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries,
    body.viendong-evisa-help-page .vd-evisa-table--requirements {
        display: block;
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries thead,
    body.viendong-evisa-help-page .vd-evisa-table--requirements thead {
        display: none;
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries tbody,
    body.viendong-evisa-help-page .vd-evisa-table--requirements tbody {
        display: block;
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries tr,
    body.viendong-evisa-help-page .vd-evisa-table--requirements tr {
        display: block;
        background: #fff;
        border: 1px solid #e4eaf5;
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 4px 0;
        box-shadow: 0 2px 8px rgba(9, 68, 244, 0.04);
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries tr:last-child,
    body.viendong-evisa-help-page .vd-evisa-table--requirements tr:last-child {
        margin-bottom: 0;
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries td,
    body.viendong-evisa-help-page .vd-evisa-table--requirements td {
        display: block;
        border-bottom: none;
        padding: 10px 16px;
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries td::before,
    body.viendong-evisa-help-page .vd-evisa-table--requirements td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: #5a6578;
        margin-bottom: 6px;
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries td:first-child,
    body.viendong-evisa-help-page .vd-evisa-table--requirements td:first-child {
        font-size: 1.05rem;
        font-weight: 600;
        color: #1a2b5f;
        padding-top: 14px;
        border-bottom: 1px solid #eef2f8;
        margin-bottom: 4px;
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries td:first-child::before,
    body.viendong-evisa-help-page .vd-evisa-table--requirements td:first-child::before {
        display: none;
    }

    body.viendong-evisa-help-page .vd-evisa-table--countries td:last-child,
    body.viendong-evisa-help-page .vd-evisa-table--requirements td:last-child {
        padding-bottom: 14px;
    }
}

body.viendong-evisa-help-page .vd-evisa-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border: 1px solid #e4eaf5;
    border-radius: 10px;
    background: #fff;
}

body.viendong-evisa-help-page .vd-evisa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

body.viendong-evisa-help-page .vd-evisa-table th,
body.viendong-evisa-help-page .vd-evisa-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eef2f8;
}

body.viendong-evisa-help-page .vd-evisa-table th {
    background: #f4f7fc;
    color: #1a2b5f;
    font-weight: 600;
}

body.viendong-evisa-help-page .vd-evisa-table tr:last-child td {
    border-bottom: none;
}

body.viendong-evisa-help-page .vd-evisa-cta {
    background: #f4f7fc;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
}

body.viendong-evisa-help-page .vd-evisa-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 16px 0 0 !important;
}

body.viendong-evisa-help-page .vd-evisa-btn {
    display: inline-block;
    background: #008d0b;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

body.viendong-evisa-help-page .vd-evisa-btn:hover {
    background: #0a9e14;
    color: #fff !important;
}

body.viendong-evisa-help-page .vd-evisa-btn--outline {
    background: #fff;
    color: #0944f4 !important;
    border: 1px solid #0944f4;
}

body.viendong-evisa-help-page .vd-evisa-btn--outline:hover {
    background: #f4f7fc;
}

body.page-id-77 .vd-holiday-notice {
    position: relative;
    z-index: 100;
}

@media only screen and (max-width: 769px) {
    body.viendong-evisa-help-page .toppass h1 {
        font-size: 1.5rem;
    }

    body.viendong-evisa-help-page .toppass p {
        font-size: 1rem;
    }

    body.viendong-evisa-help-page .vd-evisa-cards {
        grid-template-columns: 1fr;
    }

    body.viendong-evisa-help-page .vd-evisa-help-nav__list {
        grid-template-columns: 1fr;
        gap: 16px;
        row-gap: 16px;
    }

    body.viendong-evisa-help-page .vd-evisa-content {
        margin-bottom: 48px;
        padding: 0 16px;
    }

    body.viendong-evisa-help-page .vd-evisa-table th,
    body.viendong-evisa-help-page .vd-evisa-table td {
        padding: 10px 12px;
        font-size: 0.88rem;
    }
}
