/* ==========================================================================
   Visa2go — design system for the pages added on top of the original design.
   style.css keeps the two hand-built pages exactly as they were; everything
   here is additive and namespaced so the two never fight.

   Tokens are lifted from the original comps: primary #0D6AFF, ink #2A3342,
   accent #FF183E, 12–32px radii and the soft blue elevation.
   ========================================================================== */

:root {
    /* Brand */
    --v2g-primary: #0D6AFF;
    --v2g-primary-600: #0062FF;
    --v2g-primary-700: #0450CC;
    --v2g-primary-050: #EEF4FF;
    --v2g-primary-100: #DBE7FF;

    --v2g-accent: #FF183E;
    --v2g-accent-050: #FFEDF0;

    --v2g-success: #12B76A;
    --v2g-success-050: #E7F8F0;
    --v2g-warning: #F79009;
    --v2g-warning-050: #FEF4E6;
    --v2g-danger: #F04438;
    --v2g-danger-050: #FEECEB;
    --v2g-info: #0BA5EC;
    --v2g-info-050: #E7F6FD;

    /* Neutrals */
    --v2g-ink: #2A3342;
    --v2g-ink-700: #4B5565;
    --v2g-ink-500: #697586;
    --v2g-ink-400: #8A94A6;
    --v2g-line: #E5E9F0;
    --v2g-line-soft: #F1F4F9;
    --v2g-surface: #FFFFFF;
    --v2g-canvas: #F7F9FC;

    /* Radii */
    --v2g-r-sm: 10px;
    --v2g-r-md: 14px;
    --v2g-r-lg: 20px;
    --v2g-r-xl: 28px;
    --v2g-r-2xl: 32px;
    --v2g-r-pill: 999px;

    /* Elevation */
    --v2g-shadow-xs: 0 2px 8px rgba(42, 51, 66, .05);
    --v2g-shadow-sm: 0 6px 18px rgba(42, 51, 66, .06);
    --v2g-shadow-md: 0 14px 34px rgba(42, 51, 66, .08);
    --v2g-shadow-brand: 0 18px 50px rgba(13, 106, 255, .18);

    /* Spacing rhythm for full-bleed sections */
    --v2g-section-y: 90px;
    --v2g-gutter: 24px;

    /* Motion */
    --v2g-ease: cubic-bezier(.16, .84, .44, 1);
    --v2g-dur: .22s;

    /* Logical inline direction — flipped once in rtl.css */
    --v2g-start: left;
    --v2g-end: right;
}

@media (max-width: 991.98px) {
    :root { --v2g-section-y: 56px; }
}

/* --------------------------------------------------------------- base ---- */

body {
    color: var(--v2g-ink);
    background: var(--v2g-surface);
    -webkit-font-smoothing: antialiased;
}

#main:focus { outline: none; }

.v2g-icon { flex: none; }

a { transition: color var(--v2g-dur) var(--v2g-ease); }

.menu_h ul li a.is-active { color: var(--v2g-primary); }

/* Skip repeating this on every new section wrapper. */
.v2g-section { padding: var(--v2g-section-y) 0; }
.v2g-section--tight { padding: calc(var(--v2g-section-y) * .6) 0; }
.v2g-section--canvas { background: var(--v2g-canvas); }
.v2g-section--ink { background: var(--v2g-ink); color: #fff; }

/* --------------------------------------------------------- typography ---- */

.v2g-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--v2g-primary);
    background: var(--v2g-primary-050);
    border-radius: var(--v2g-r-pill);
    padding: 7px 14px;
    margin-bottom: 18px;
}

.v2g-title {
    font-size: clamp(28px, 3.4vw, 46px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.02em;
    margin: 0 0 14px;
}

.v2g-title span { color: var(--v2g-primary); }

.v2g-subtitle {
    font-size: 17px;
    line-height: 1.75;
    color: var(--v2g-ink-500);
    max-width: 62ch;
    margin: 0;
}

.v2g-h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.v2g-muted { color: var(--v2g-ink-500); }
.v2g-small { font-size: 14px; }

.v2g-head { margin-bottom: 42px; }
.v2g-head--center { text-align: center; }
.v2g-head--center .v2g-subtitle { margin-inline: auto; }

/* ------------------------------------------------------------ buttons ---- */

.v2g-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    padding: 15px 24px;
    border-radius: var(--v2g-r-md);
    border: 1.5px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--v2g-dur) var(--v2g-ease);
    white-space: nowrap;
}

.v2g-btn:focus-visible { outline: 3px solid var(--v2g-primary-100); outline-offset: 2px; }

.v2g-btn--primary { background: var(--v2g-primary); color: #fff; box-shadow: var(--v2g-shadow-brand); }
.v2g-btn--primary:hover { background: var(--v2g-primary-700); color: #fff; transform: translateY(-1px); }

.v2g-btn--ghost { background: #fff; color: var(--v2g-ink); border-color: var(--v2g-line); }
.v2g-btn--ghost:hover { border-color: var(--v2g-primary); color: var(--v2g-primary); }

.v2g-btn--soft { background: var(--v2g-primary-050); color: var(--v2g-primary); }
.v2g-btn--soft:hover { background: var(--v2g-primary-100); color: var(--v2g-primary-700); }

.v2g-btn--light { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .28); }
.v2g-btn--light:hover { background: #fff; color: var(--v2g-primary); }

.v2g-btn--sm { padding: 10px 16px; font-size: 14px; border-radius: var(--v2g-r-sm); }
.v2g-btn--lg { padding: 18px 32px; font-size: 17px; }
.v2g-btn--block { width: 100%; }
.v2g-btn[disabled], .v2g-btn.is-disabled { opacity: .5; pointer-events: none; }

.v2g-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--v2g-r-sm);
    border: 1px solid var(--v2g-line);
    background: #fff;
    color: var(--v2g-ink-500);
    transition: all var(--v2g-dur) var(--v2g-ease);
}

.v2g-btn-icon:hover { color: var(--v2g-primary); border-color: var(--v2g-primary); }
.v2g-btn-icon.is-active { color: var(--v2g-accent); border-color: var(--v2g-accent); background: var(--v2g-accent-050); }

/* -------------------------------------------------------------- cards ---- */

.v2g-card {
    background: var(--v2g-surface);
    border: 1px solid var(--v2g-line);
    border-radius: var(--v2g-r-lg);
    padding: 24px;
    transition: box-shadow var(--v2g-dur) var(--v2g-ease), transform var(--v2g-dur) var(--v2g-ease);
}

.v2g-card--hover:hover { box-shadow: var(--v2g-shadow-md); transform: translateY(-3px); }
.v2g-card--flat { border: 0; box-shadow: var(--v2g-shadow-sm); }
.v2g-card--pad-lg { padding: 32px; }
.v2g-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.v2g-card__title { font-size: 17px; font-weight: 600; margin: 0; }

.v2g-feature {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.v2g-feature__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--v2g-r-md);
    background: var(--v2g-primary-050);
    color: var(--v2g-primary);
}

.v2g-feature h3 { font-size: 18px; font-weight: 600; margin: 0; }
.v2g-feature p { color: var(--v2g-ink-500); font-size: 15px; line-height: 1.7; margin: 0; }

/* ------------------------------------------------------------- badges ---- */

.v2g-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--v2g-r-pill);
    background: var(--v2g-line-soft);
    color: var(--v2g-ink-700);
    white-space: nowrap;
}

.v2g-badge--primary { background: var(--v2g-primary-050); color: var(--v2g-primary); }
.v2g-badge--success { background: var(--v2g-success-050); color: var(--v2g-success); }
.v2g-badge--warning { background: var(--v2g-warning-050); color: #B54708; }
.v2g-badge--danger  { background: var(--v2g-danger-050);  color: var(--v2g-danger); }
.v2g-badge--info    { background: var(--v2g-info-050);    color: #0369A1; }
.v2g-badge--secondary { background: var(--v2g-line-soft); color: var(--v2g-ink-500); }
.v2g-badge--dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ------------------------------------------------------------- forms  ---- */

.v2g-field { margin-bottom: 18px; }

.v2g-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--v2g-ink-700);
    margin-bottom: 8px;
}

.v2g-label .req { color: var(--v2g-accent); }

.v2g-input,
.v2g-select,
.v2g-textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: var(--v2g-ink);
    background: #fff;
    border: 1.5px solid var(--v2g-line);
    border-radius: var(--v2g-r-md);
    padding: 13px 16px;
    transition: border-color var(--v2g-dur) var(--v2g-ease), box-shadow var(--v2g-dur) var(--v2g-ease);
}

.v2g-textarea { min-height: 130px; resize: vertical; line-height: 1.7; }

.v2g-input::placeholder,
.v2g-textarea::placeholder { color: var(--v2g-ink-400); }

.v2g-input:focus,
.v2g-select:focus,
.v2g-textarea:focus {
    outline: none;
    border-color: var(--v2g-primary);
    box-shadow: 0 0 0 4px var(--v2g-primary-050);
}

.v2g-input.is-invalid,
.v2g-select.is-invalid,
.v2g-textarea.is-invalid { border-color: var(--v2g-danger); }

.v2g-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23697586' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: var(--v2g-end) 16px center;
    padding-inline-end: 42px;
}

.v2g-error { display: block; font-size: 13px; color: var(--v2g-danger); margin-top: 6px; }
.v2g-hint  { display: block; font-size: 13px; color: var(--v2g-ink-400); margin-top: 6px; }

.v2g-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--v2g-ink-700);
    line-height: 1.6;
    cursor: pointer;
}

.v2g-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--v2g-primary); flex: none; }

.v2g-input-group { position: relative; }
.v2g-input-group .v2g-icon {
    position: absolute;
    inset-inline-start: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--v2g-ink-400);
    pointer-events: none;
}
.v2g-input-group .v2g-input { padding-inline-start: 48px; }

/* ---------------------------------------------------------- alerts ------- */

.v2g-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: var(--v2g-r-md);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
}

.v2g-alert--success { background: var(--v2g-success-050); color: #05603A; }
.v2g-alert--danger  { background: var(--v2g-danger-050);  color: #912018; }
.v2g-alert--warning { background: var(--v2g-warning-050); color: #B54708; }
.v2g-alert--info    { background: var(--v2g-primary-050); color: var(--v2g-primary-700); }

/* ----------------------------------------------------- program cards ----- */

.v2g-program {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--v2g-line);
    border-radius: var(--v2g-r-lg);
    overflow: hidden;
    transition: box-shadow var(--v2g-dur) var(--v2g-ease), border-color var(--v2g-dur) var(--v2g-ease);
}

.v2g-program:hover { box-shadow: var(--v2g-shadow-md); border-color: var(--v2g-primary-100); }

.v2g-program__top { display: flex; gap: 14px; padding: 20px 20px 0; }

.v2g-program__logo {
    width: 52px;
    height: 52px;
    border-radius: var(--v2g-r-sm);
    object-fit: contain;
    background: var(--v2g-line-soft);
    padding: 6px;
    flex: none;
}

.v2g-program__title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 4px;
}

.v2g-program__title a { color: inherit; text-decoration: none; }
.v2g-program__title a:hover { color: var(--v2g-primary); }

.v2g-program__school { font-size: 14px; color: var(--v2g-ink-500); margin: 0; }

.v2g-program__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
}

.v2g-program__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--v2g-line);
    border-block: 1px solid var(--v2g-line);
    margin-top: auto;
}

.v2g-program__fact { background: #fff; padding: 14px 20px; }
.v2g-program__fact dt { font-size: 12px; color: var(--v2g-ink-400); margin: 0 0 3px; font-weight: 500; }
.v2g-program__fact dd { font-size: 15px; font-weight: 600; margin: 0; }
.v2g-program__fact .sub { display: block; font-size: 12px; font-weight: 500; color: var(--v2g-ink-400); margin-top: 2px; }

.v2g-program__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
}

.v2g-program__deadline { font-size: 13px; color: var(--v2g-ink-500); display: inline-flex; align-items: center; gap: 6px; }
.v2g-program__deadline.is-soon { color: var(--v2g-accent); font-weight: 600; }

/* ------------------------------------------------------------ filters ---- */

.v2g-filters {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid var(--v2g-line);
    border-radius: var(--v2g-r-lg);
    padding: 22px;
}

.v2g-filters__group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--v2g-line-soft); }
.v2g-filters__group:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.v2g-filters__legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; }

.v2g-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.v2g-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.v2g-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: var(--v2g-r-pill);
    background: var(--v2g-primary-050);
    color: var(--v2g-primary);
    text-decoration: none;
}

.v2g-chip:hover { background: var(--v2g-primary-100); color: var(--v2g-primary-700); }

/* --------------------------------------------------------- empty state --- */

.v2g-empty { text-align: center; padding: 64px 24px; }
.v2g-empty__icon {
    width: 72px; height: 72px;
    display: grid; place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--v2g-primary-050);
    color: var(--v2g-primary);
}
.v2g-empty h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.v2g-empty p { color: var(--v2g-ink-500); max-width: 46ch; margin: 0 auto 24px; line-height: 1.7; }

/* ------------------------------------------------------------ tables ----- */

.v2g-table-wrap { overflow-x: auto; border: 1px solid var(--v2g-line); border-radius: var(--v2g-r-lg); background: #fff; }
.v2g-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.v2g-table th {
    text-align: var(--v2g-start);
    font-size: 13px;
    font-weight: 600;
    color: var(--v2g-ink-500);
    background: var(--v2g-canvas);
    padding: 14px 18px;
    white-space: nowrap;
}
.v2g-table td { padding: 16px 18px; border-top: 1px solid var(--v2g-line-soft); font-size: 15px; vertical-align: middle; }
.v2g-table tbody tr:hover { background: var(--v2g-canvas); }
.v2g-table .num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------- comparison ------ */

.v2g-compare th:first-child,
.v2g-compare td:first-child { position: sticky; inset-inline-start: 0; background: #fff; z-index: 1; font-weight: 600; }
.v2g-compare th:first-child { background: var(--v2g-canvas); }

/* --------------------------------------------------------- accordion ----- */

.v2g-accordion { border: 1px solid var(--v2g-line); border-radius: var(--v2g-r-lg); overflow: hidden; background: #fff; }
.v2g-accordion__item + .v2g-accordion__item { border-top: 1px solid var(--v2g-line); }

.v2g-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--v2g-ink);
    text-align: var(--v2g-start);
    cursor: pointer;
}

.v2g-accordion__trigger .v2g-icon { transition: transform var(--v2g-dur) var(--v2g-ease); color: var(--v2g-ink-400); }
.v2g-accordion__trigger[aria-expanded="true"] { color: var(--v2g-primary); }
.v2g-accordion__trigger[aria-expanded="true"] .v2g-icon { transform: rotate(180deg); color: var(--v2g-primary); }

.v2g-accordion__panel { padding: 0 24px 22px; color: var(--v2g-ink-500); line-height: 1.85; font-size: 15px; }

/* ------------------------------------------------------------ stepper ---- */

.v2g-steps { display: grid; gap: 20px; }
@media (min-width: 992px) { .v2g-steps { grid-auto-flow: column; grid-auto-columns: 1fr; } }

.v2g-step { position: relative; padding-top: 44px; }
.v2g-step__num {
    position: absolute;
    top: 0; inset-inline-start: 0;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--v2g-primary);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}
.v2g-step h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.v2g-step p { font-size: 14px; color: var(--v2g-ink-500); line-height: 1.7; margin: 0; }

/* ---------------------------------------------------------- timeline ----- */

.v2g-timeline { position: relative; padding-inline-start: 30px; }
.v2g-timeline::before {
    content: '';
    position: absolute;
    inset-block: 6px;
    inset-inline-start: 9px;
    width: 2px;
    background: var(--v2g-line);
}

.v2g-timeline__item { position: relative; padding-bottom: 26px; }
.v2g-timeline__item:last-child { padding-bottom: 0; }
.v2g-timeline__dot {
    position: absolute;
    inset-inline-start: -30px;
    top: 3px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--v2g-line);
    display: grid; place-items: center;
    color: transparent;
}
.v2g-timeline__item.is-done .v2g-timeline__dot { background: var(--v2g-primary); border-color: var(--v2g-primary); color: #fff; }
.v2g-timeline__item.is-current .v2g-timeline__dot { border-color: var(--v2g-primary); box-shadow: 0 0 0 4px var(--v2g-primary-050); }
.v2g-timeline__title { font-size: 15px; font-weight: 600; margin: 0 0 3px; }
.v2g-timeline__meta { font-size: 13px; color: var(--v2g-ink-400); margin: 0; }
.v2g-timeline__body { font-size: 14px; color: var(--v2g-ink-500); line-height: 1.7; margin: 6px 0 0; }

/* ------------------------------------------------------ progress track --- */

.v2g-track { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; padding-bottom: 6px; }

.v2g-track__step { flex: 1 1 0; min-width: 96px; text-align: center; position: relative; }

.v2g-track__step::before,
.v2g-track__step::after {
    content: '';
    position: absolute;
    top: 13px;
    height: 2px;
    background: var(--v2g-line);
    width: 50%;
}
.v2g-track__step::before { inset-inline-start: 0; }
.v2g-track__step::after  { inset-inline-end: 0; }
.v2g-track__step:first-child::before,
.v2g-track__step:last-child::after { display: none; }

.v2g-track__step.is-done::before,
.v2g-track__step.is-done::after,
.v2g-track__step.is-current::before { background: var(--v2g-primary); }

.v2g-track__dot {
    position: relative;
    z-index: 1;
    width: 28px; height: 28px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--v2g-line);
    display: grid; place-items: center;
    color: var(--v2g-ink-400);
    font-size: 12px;
    font-weight: 600;
}

.v2g-track__step.is-done .v2g-track__dot { background: var(--v2g-primary); border-color: var(--v2g-primary); color: #fff; }
.v2g-track__step.is-current .v2g-track__dot { border-color: var(--v2g-primary); color: var(--v2g-primary); box-shadow: 0 0 0 4px var(--v2g-primary-050); }

.v2g-track__label { font-size: 12.5px; color: var(--v2g-ink-500); line-height: 1.4; display: block; padding: 0 4px; }
.v2g-track__step.is-current .v2g-track__label { color: var(--v2g-primary); font-weight: 600; }

/* ------------------------------------------------------------ page hero -- */

.v2g-hero {
    background: linear-gradient(135deg, var(--v2g-primary-600) 0%, #0B4FD1 100%);
    color: #fff;
    border-radius: var(--v2g-r-2xl);
    padding: 56px;
    position: relative;
    overflow: hidden;
}

.v2g-hero::after {
    content: '';
    position: absolute;
    inset-inline-end: -80px;
    top: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.v2g-hero h1 { font-size: clamp(30px, 4vw, 52px); font-weight: 600; line-height: 1.15; margin: 0 0 16px; letter-spacing: -.02em; }
.v2g-hero p { font-size: 17px; line-height: 1.75; color: rgba(255, 255, 255, .85); max-width: 60ch; margin: 0; }
.v2g-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (max-width: 767.98px) { .v2g-hero { padding: 32px 24px; border-radius: var(--v2g-r-xl); } }

.v2g-pagehead { padding: 44px 0 32px; }
.v2g-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--v2g-ink-400); margin-bottom: 14px; list-style: none; padding: 0; }
.v2g-breadcrumb a { color: var(--v2g-ink-500); text-decoration: none; }
.v2g-breadcrumb a:hover { color: var(--v2g-primary); }

/* --------------------------------------------------------- stat tiles ---- */

.v2g-stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.v2g-stat {
    background: #fff;
    border: 1px solid var(--v2g-line);
    border-radius: var(--v2g-r-lg);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.v2g-stat__icon {
    width: 46px; height: 46px;
    border-radius: var(--v2g-r-md);
    display: grid; place-items: center;
    background: var(--v2g-primary-050);
    color: var(--v2g-primary);
    flex: none;
}

.v2g-stat__value { font-size: 26px; font-weight: 600; line-height: 1.1; margin: 0; font-variant-numeric: tabular-nums; }
.v2g-stat__label { font-size: 13.5px; color: var(--v2g-ink-500); margin: 3px 0 0; }

.v2g-stat--success .v2g-stat__icon { background: var(--v2g-success-050); color: var(--v2g-success); }
.v2g-stat--warning .v2g-stat__icon { background: var(--v2g-warning-050); color: #B54708; }
.v2g-stat--danger  .v2g-stat__icon { background: var(--v2g-danger-050);  color: var(--v2g-danger); }

/* ------------------------------------------------------------- media ----- */

.v2g-video {
    position: relative;
    border-radius: var(--v2g-r-lg);
    overflow: hidden;
    background: var(--v2g-ink);
    aspect-ratio: 9 / 14;
}

.v2g-video img, .v2g-video video, .v2g-video iframe {
    width: 100%; height: 100%; object-fit: cover; border: 0; display: block;
}

.v2g-video__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 35%, rgba(0, 0, 0, .75) 100%);
    color: #fff;
    text-decoration: none;
}

.v2g-video__overlay:hover { color: #fff; }
.v2g-video__play { align-self: center; margin: auto; opacity: .95; }
.v2g-video__name { font-size: 15px; font-weight: 600; margin: 0; }
.v2g-video__caption { font-size: 13px; opacity: .8; margin: 2px 0 0; }
.v2g-video__time {
    align-self: flex-start;
    background: rgba(0, 0, 0, .5);
    border-radius: var(--v2g-r-pill);
    padding: 4px 10px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- blog ------ */

.v2g-post { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--v2g-line); border-radius: var(--v2g-r-lg); overflow: hidden; }
.v2g-post:hover { box-shadow: var(--v2g-shadow-md); }
.v2g-post__thumb { aspect-ratio: 16 / 10; background: var(--v2g-line-soft); overflow: hidden; }
.v2g-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--v2g-ease); }
.v2g-post:hover .v2g-post__thumb img { transform: scale(1.04); }
.v2g-post__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.v2g-post__title { font-size: 17px; font-weight: 600; line-height: 1.5; margin: 0; }
.v2g-post__title a { color: inherit; text-decoration: none; }
.v2g-post__title a:hover { color: var(--v2g-primary); }
.v2g-post__excerpt { font-size: 14.5px; color: var(--v2g-ink-500); line-height: 1.7; margin: 0; }
.v2g-post__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--v2g-ink-400); margin-top: auto; padding-top: 6px; }

.v2g-prose { font-size: 16.5px; line-height: 1.9; color: var(--v2g-ink-700); }
.v2g-prose h2 { font-size: 26px; font-weight: 600; color: var(--v2g-ink); margin: 40px 0 14px; }
.v2g-prose h3 { font-size: 21px; font-weight: 600; color: var(--v2g-ink); margin: 32px 0 12px; }
.v2g-prose p { margin: 0 0 20px; }
.v2g-prose ul, .v2g-prose ol { margin: 0 0 20px; padding-inline-start: 22px; }
.v2g-prose li { margin-bottom: 8px; }
.v2g-prose a { color: var(--v2g-primary); }
.v2g-prose img { max-width: 100%; height: auto; border-radius: var(--v2g-r-md); margin: 12px 0 24px; }
.v2g-prose blockquote {
    border-inline-start: 3px solid var(--v2g-primary);
    background: var(--v2g-primary-050);
    padding: 18px 22px;
    border-radius: var(--v2g-r-sm);
    margin: 0 0 24px;
    color: var(--v2g-ink);
}
.v2g-prose table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.v2g-prose th, .v2g-prose td { border: 1px solid var(--v2g-line); padding: 10px 14px; text-align: var(--v2g-start); }

/* ------------------------------------------------------------ sidebar ---- */

.v2g-sticky { position: sticky; top: 20px; }

/* ------------------------------------------------------------- misc ------ */

.v2g-divider { height: 1px; background: var(--v2g-line); border: 0; margin: 28px 0; }

.v2g-list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.v2g-list-check li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.65; color: var(--v2g-ink-700); }
.v2g-list-check .v2g-icon { color: var(--v2g-success); flex: none; margin-top: 2px; }

.v2g-kv { display: grid; gap: 0; }
.v2g-kv__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--v2g-line-soft); font-size: 15px; }
.v2g-kv__row:last-child { border-bottom: 0; }
.v2g-kv__key { color: var(--v2g-ink-500); }
.v2g-kv__val { font-weight: 600; text-align: var(--v2g-end); }

.v2g-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--v2g-primary-050);
    color: var(--v2g-primary);
    display: inline-grid;
    place-items: center;
    font-weight: 600;
    font-size: 14px;
    flex: none;
}

.v2g-avatar--lg { width: 68px; height: 68px; font-size: 22px; }
.v2g-avatar--sm { width: 32px; height: 32px; font-size: 12px; }

.v2g-flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }

/* Footer additions the original design did not have. */
.foot_newsletter {
    background: var(--v2g-primary-050);
    border-radius: var(--v2g-r-xl);
    padding: 34px;
    margin-bottom: 48px;
}
.foot_newsletter h3 { font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.foot_newsletter p { color: var(--v2g-ink-500); margin: 0; font-size: 15px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
    flex: 1;
    border: 1.5px solid transparent;
    background: #fff;
    border-radius: var(--v2g-r-md);
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
}
.newsletter-form input:focus { outline: none; border-color: var(--v2g-primary); }
.newsletter-note { font-size: 13.5px; margin: 8px 0 0; }
.newsletter-note.is-success { color: var(--v2g-success); }
.newsletter-note.is-error { color: var(--v2g-danger); }

.row_legal_f { margin-top: 18px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.legal-links a { color: var(--v2g-ink-400); text-decoration: none; }
.legal-links a:hover { color: var(--v2g-primary); }

.mob-lang { display: flex; gap: 10px; margin-top: 20px; }
.mob-lang__item {
    flex: 1;
    text-align: center;
    padding: 11px;
    border-radius: var(--v2g-r-md);
    border: 1.5px solid var(--v2g-line);
    font-size: 14px;
    font-weight: 600;
    color: var(--v2g-ink-700);
    text-decoration: none;
}
.mob-lang__item.is-active { border-color: var(--v2g-primary); background: var(--v2g-primary-050); color: var(--v2g-primary); }

@media (max-width: 575.98px) {
    .newsletter-form { flex-direction: column; }
    .foot_newsletter { padding: 24px; }
}

/* Pagination — Laravel's Bootstrap-4 paginator with brand styling. */
.pagination { gap: 6px; }
.page-link {
    border: 1px solid var(--v2g-line);
    border-radius: var(--v2g-r-sm) !important;
    color: var(--v2g-ink-700);
    padding: 9px 15px;
    font-size: 14.5px;
    font-weight: 500;
}
.page-item.active .page-link { background: var(--v2g-primary); border-color: var(--v2g-primary); }
.page-item.disabled .page-link { color: var(--v2g-ink-400); background: var(--v2g-canvas); }

/* --------------------------------------- overrides for now-dynamic markup --
   The original comps used static <div>s where the Blade version renders links.
   These keep the visual result identical while making the elements clickable. */

.list_country .bx_country,
.swiper .bx_country { text-decoration: none; color: inherit; }
.list_country .bx_country:hover p { color: var(--v2g-primary); }

.bx_dest .img { position: relative; }

.bx_dest__flag {
    position: absolute;
    inset-block-end: 10px;
    inset-inline-start: 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .94);
    border-radius: var(--v2g-r-pill);
    padding: 5px 12px 5px 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--v2g-ink);
    box-shadow: var(--v2g-shadow-xs);
}

html[dir="rtl"] .bx_dest__flag { padding: 5px 6px 5px 12px; }

/* style.css sets `.bx_dest .img img { width: 100% }`, which outranks the
   single-class .v2g-flag rule and stretches the badge flag to card width.
   Match its specificity rather than reaching for !important. */
.bx_dest .img .bx_dest__flag img { width: 22px; height: 22px; }

/* Keep every card's photo the same height so a row of cards lines up. */
.bx_dest .img img { aspect-ratio: 306 / 165; object-fit: cover; border-radius: var(--v2g-r-lg); }

/* ==========================================================================
   Responsive hardening
   --------------------------------------------------------------------------
   The original stylesheet was authored desktop-first with a number of fixed
   pixel widths. These rules stop those from forcing a horizontal scrollbar on
   small screens without altering the desktop rendering.
   ========================================================================== */

/* Nothing may push the page wider than the viewport. */
html, body { overflow-x: hidden; max-width: 100%; }

/* Media never overflows its column. */
img, svg, video, iframe, canvas { max-width: 100%; }
img, video { height: auto; }

/* Long unbroken strings (emails, wallet addresses, URLs) wrap instead of
   stretching their container. */
.v2g-program__title, .v2g-post__title, .pnl-doc__name,
.v2g-kv__val, .v2g-timeline__title, .pnl-app__title { overflow-wrap: anywhere; }

@media (max-width: 991.98px) {
    /* Fixed-width selects from the original comps. */
    .bx_dest_tool select,
    .country_admi select,
    .bx_real_time select,
    .srh_hero .form-select,
    .srh_hero .form-control { width: 100% !important; max-width: 100%; }

    .bx_dest_tool, .country_admi, .bx_real_time { max-width: 100%; }

    /* Decorative connector arrows between steps/cards read as clutter and
       overflow once the layout stacks. */
    .bx_dest:before,
    .list_steps .bx_steps:before,
    .steps_arrow, .steps_arrows { display: none !important; }

    /* Hero panel padding was tuned for a 1440px canvas. */
    .bg_hero { padding: 28px 20px; border-radius: 24px; }
    .bx_hero p { max-width: 100%; }

    /* Two-up feature grids collapse rather than squeeze. */
    .list_whats_inc, .list_serv_partner, .list_bx_dest { flex-wrap: wrap; }
}

@media (max-width: 767.98px) {
    /* Wide comparison tables scroll inside their own box. */
    .tbl_compare_cty, .v2g-table-wrap { -webkit-overflow-scrolling: touch; }

    /* The sticky first column costs too much width on a phone. */
    .v2g-compare th:first-child,
    .v2g-compare td:first-child { position: static; }

    .bx_book_free { padding: 24px; text-align: center; justify-content: center; }
    .bx_book_free > div { max-width: 100%; }

    .banner_start_s_r { flex-direction: column; }

    /* Footer certificate strip. */
    .foot_right .list_cert_f img { max-height: 64px; width: auto; }

    /* Page header actions wrap under the title. */
    .v2g-pagehead .d-flex { row-gap: 12px; }
}

@media (max-width: 575.98px) {
    :root { --v2g-section-y: 44px; }

    .v2g-card, .v2g-card--pad-lg { padding: 18px; }
    .v2g-hero { padding: 26px 20px; }
    .v2g-hero h1 { font-size: 27px; }
    .v2g-title { font-size: 25px; }
    .v2g-subtitle { font-size: 15.5px; }

    /* Buttons go full width so they are never a 40px tap target in a corner. */
    .v2g-hero__actions .v2g-btn,
    .v2g-empty .v2g-btn { width: 100%; }
    .v2g-hero__actions { flex-direction: column; }

    /* Toolbar: label + select stack. */
    .v2g-toolbar { align-items: stretch; }
    .v2g-toolbar .v2g-select { width: 100% !important; }

    .v2g-program__facts { grid-template-columns: 1fr; }
    .v2g-program__foot { flex-direction: column; align-items: stretch; gap: 10px; }
    .v2g-program__foot .v2g-btn { width: 100%; }

    .v2g-stats { grid-template-columns: 1fr; }

    .newsletter-form { flex-direction: column; }
    .legal-links { gap: 12px; justify-content: center; }
    .row_end_f { row-gap: 16px; text-align: center; justify-content: center !important; }

    /* Floating support button must not cover the footer CTA. */
    .btn_ask_me { padding: 10px 14px; font-size: 14px; }
}

/* Tap targets: anything interactive keeps a usable hit area on touch. */
@media (pointer: coarse) {
    .v2g-btn--sm { padding: 12px 16px; }
    .v2g-btn-icon { width: 44px; height: 44px; }
    .pnl-nav__item { padding: 13px 12px; }
    .v2g-accordion__trigger { padding: 18px 20px; }
}

/* Respect a reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Overflow fixes found by the automated viewport audit
   --------------------------------------------------------------------------
   Each rule below corresponds to a measured horizontal overflow, not a guess.
   ========================================================================== */

/* 1. Partner-logo marquee.
      .js-marquee-wrapper is intentionally ~3580px wide so the strip can scroll,
      but nothing clipped it, so the document itself grew. The band scrolls
      internally instead. */
.list_networks { overflow: hidden; }
.list_networks .c_row { overflow: hidden; max-width: 100%; }

/* 2. "What's included" strip.
      Four 250px min-width cards in a nowrap flex row overflowed by 747px at
      360px. They wrap now and go full width once they cannot sit side by side. */
.list_whats_inc { flex-wrap: wrap; }

@media (max-width: 1199.98px) {
    .list_whats_inc .bx_whats_inc { min-width: 220px; flex: 1 1 220px; }
}

@media (max-width: 767.98px) {
    .list_whats_inc .bx_whats_inc {
        min-width: 0;
        flex: 1 1 100%;
        border-radius: 20px;
        padding: 14px 18px;
    }
}

/* 3. Header meta block.
      At 1366px the language switcher + consultation link + login button
      measured 450px and pushed 86px past the viewport. Allowing it to shrink
      and trimming the fixed gutter keeps the row inside the container. */
.meta_header { min-width: 0; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 1399.98px) {
    .meta_header { margin-left: 16px; gap: 8px; }
    html[dir="rtl"] .meta_header { margin-left: 0; margin-right: 16px; }
    .meta_header > a { padding: 12px 14px; font-size: 16px; }
    .menu_h ul { gap: 16px; }
    .menu_h ul li a { font-size: 15px; }
}

@media (max-width: 1299.98px) {
    /* The "Consultation" link is the least critical item in the bar. */
    .meta_header a.consultation { display: none !important; }
}

/* 4. Pagination.
      Laravel's Bootstrap-4 paginator renders every page number; at 360px the
      row measured 450px. It wraps and centres instead of overflowing. */
.pagination {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .page-link { padding: 7px 11px; font-size: 13.5px; }
    /* Hide the numeric middle on very narrow screens — prev/next still work. */
    .pagination .page-item:not(:first-child):not(:last-child):not(.active) { display: none; }
}

/* 5. Swiper slides.
      A slide wider than the viewport reports as overflow; clipping the
      container is what Swiper expects anyway. */
.swiper { overflow: hidden; max-width: 100%; }

/* 6. Destination offer cards inside a swiper at narrow widths. */
@media (max-width: 767.98px) {
    .list_bx_dest_swiper .bx_dest,
    .list_bx_dest .bx_dest { max-width: 100%; }
    .bx_dest .img img { width: 100%; object-fit: cover; }
}

/* ==========================================================================
   Clipped-content fixes
   --------------------------------------------------------------------------
   `overflow-x: hidden` removes the scrollbar but would otherwise hide these
   boxes rather than fix them. Each entry below was measured as content sitting
   outside the readable area at a specific breakpoint.
   ========================================================================== */

/* Hero stat strip sat 17px outside .bg_hero once the panel padding shrank. */
.bg_hero { max-width: 100%; overflow: hidden; }
.list_fth_hero, .list_fth_hero .swiper, .form_hero { max-width: 100%; min-width: 0; }

/* Student / recruitment-partner split banner: each half was a full viewport
   wide inside a padded container, so both were pushed 12px out. */
.banner_start_s_r { max-width: 100%; }
.banner_start_s_r .bx_b_s_s_r { min-width: 0; max-width: 100%; }

@media (max-width: 767.98px) {
    .banner_start_s_r { flex-direction: column; gap: 16px; }
    .banner_start_s_r .bx_b_s_s_r { width: 100%; }
}

/* Bootstrap's large gutters (.g-5 = 3rem) apply -1.5rem side margins to the
   row while .container only pads 0.75rem, so a g-5 row is 24px wider than the
   viewport below the first breakpoint. Step the gutter down on small screens. */
@media (max-width: 575.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
    .row.g-4, .row.gx-4 { --bs-gutter-x: 1.25rem; }
}

/* Document rows: type, meta, badge, download and delete in one flex line
   overflowed by 59px at 360px. They stack under the file details instead. */
@media (max-width: 575.98px) {
    .pnl-doc { flex-wrap: wrap; row-gap: 10px; }
    .pnl-doc > .flex-grow-1 { flex: 1 1 100%; order: 1; }
    .pnl-doc > .pnl-doc__icon { order: 0; }
    .pnl-doc .v2g-badge { order: 2; }
    .pnl-doc form, .pnl-doc .v2g-btn-icon, .pnl-doc .v2g-btn { order: 3; }
    .pnl-doc form { display: inline-flex; }
}

/* Same treatment for the application rows in the panel. */
@media (max-width: 575.98px) {
    .pnl-app { flex-wrap: wrap; row-gap: 10px; }
    .pnl-app > .flex-grow-1 { flex: 1 1 100%; }
}

/* ==========================================================================
   Mixed-direction content
   --------------------------------------------------------------------------
   Database content may not be translated for every locale yet, so a Persian
   answer can appear on the English site (and vice versa). `unicode-bidi:
   plaintext` makes each block pick its own direction from its first strong
   character, so untranslated text still reads correctly instead of rendering
   right-to-left words in a left-to-right paragraph.
   ========================================================================== */

.v2g-accordion__trigger span,
.v2g-accordion__panel,
.v2g-prose,
.v2g-program__title,
.v2g-post__title,
.v2g-post__excerpt,
.pm-quote__text,
.pnl-msg__bubble {
    unicode-bidi: plaintext;
}

/* --------------------------------------------------------------------------
   Flex-shrink utility.

   Bootstrap 5 does not ship `min-w-0`, but a flex child defaults to
   `min-width: auto` and therefore refuses to shrink below its content — which
   is what makes `text-overflow: ellipsis` silently do nothing inside a flex
   row. The markup already asks for this class in a dozen places; this makes it
   real.
   -------------------------------------------------------------------------- */

.min-w-0 { min-width: 0 !important; }
