/* Footer geometry matched against the supplied viagogo desktop capture.
   Important: the reference/local screenshots render CSS at ~1.25 device scale,
   so the measured 1500px visual footer shell corresponds to a 1200px CSS shell. */
.vg-footer {
    margin-top: 72px;
    border-top: 1px solid #d5dce3;
    background: #fff;
    color: #111;
}

.vg-footer-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 84px;
}

/* Reference visual starts: 0 / 394 / 769 / 1125 within a 1500px capture.
   At the 1.25 render scale this becomes 0 / 315 / 615 / 900 in CSS px. */
.vg-footer-grid {
    display: grid;
    grid-template-columns: 227px 212px 197px 300px;
    column-gap: 88px;
    min-height: 322px;
}

.vg-footer-grid section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.vg-guarantee-logo {
    display: block;
    width: 144px;
    height: 46px;
    margin: 0 0 14px;
    color: inherit;
}

.vg-guarantee-logo svg {
    display: block;
    width: 144px;
    height: 46px;
}

.vg-guarantee ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vg-guarantee li {
    position: relative;
    padding-left: 24px;
    margin: 0 0 22px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    color: #5c6977;
}

.vg-guarantee li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -1px;
    color: #5aac23;
    font-size: 18px;
    line-height: 18px;
    font-weight: 700;
}

.vg-footer-grid h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    color: #5b6875;
}

/* Reference links advance by ~50 rendered pixels = 40 CSS px at current scale. */
.vg-footer-grid a {
    display: block;
    color: #111;
    font-size: 16px;
    line-height: 40px;
    font-weight: 400;
    text-decoration: none;
}

.vg-footer-grid a:hover {
    text-decoration: underline;
}

.vg-global-settings {
    width: 300px;
}

.vg-global-settings > h3 {
    margin-bottom: 21px;
}

.vg-setting-country,
.vg-setting-stack {
    width: 300px;
    border: 1px solid #cfd6dd;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}

.vg-setting-country {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    margin-bottom: 20px;
    color: #627083;
    font-size: 16px;
    line-height: 20px;
}

.vg-setting-stack {
    height: 90px;
    overflow: hidden;
}

.vg-setting-row {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    color: #627083;
    font-size: 16px;
    line-height: 20px;
    box-sizing: border-box;
}

.vg-setting-row + .vg-setting-row {
    border-top: 1px solid #7e8a98;
}

.vg-setting-icon {
    width: 17px;
    text-align: center;
    flex: 0 0 17px;
    color: #677483;
    font-size: 14px;
}

/* In the reference, the divider sits at ~468 rendered px from the crop top.
   46 top padding + 322 grid + 6 margin = 374 CSS px ≈ 468 rendered px. */
.vg-footer-bottom {
    margin-top: 6px;
    padding-top: 31px;
    border-top: 1px solid #667686;
    display: block;
    color: #5d6b79;
    font-size: 10px;
    line-height: 16px;
}

.vg-footer-bottom p {
    margin: 0;
    max-width: 610px;
}

.vg-footer-bottom a {
    display: inline;
    color: #0078d4;
    font-size: inherit;
    line-height: inherit;
    text-decoration: none;
}

.vg-footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 1250px) {
    .vg-footer-shell {
        width: min(1200px, calc(100% - 32px));
    }

    .vg-footer-grid {
        grid-template-columns: 227px 212px 197px minmax(240px, 300px);
        column-gap: clamp(34px, 5vw, 88px);
    }

    .vg-global-settings,
    .vg-setting-country,
    .vg-setting-stack {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .vg-footer {
        margin-top: 56px;
    }

    .vg-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 56px;
        min-height: auto;
    }
}

@media (max-width: 620px) {
    .vg-footer-shell {
        width: calc(100% - 28px);
        padding-top: 40px;
        padding-bottom: 54px;
    }

    .vg-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .vg-footer-grid a {
        font-size: 15px;
        line-height: 38px;
    }

    .vg-footer-bottom {
        padding-top: 24px;
    }
}
