/* Viagogo-reference desktop shell. Tuned against the supplied 1901×866 reference screenshot. */
:root {
    --vg-green: #5aa60f;
    --vg-green-dark: #468608;
    --vg-ink: #111;
    --vg-line: #e5e7eb;
}

.marketplace-disclaimer {
    height: 32px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 14px;
    line-height: 32px;
    white-space: nowrap;
    overflow: hidden;
}

.vg-site-header {
    height: 76px;
    background: #fff;
    border: 0;
}

.vg-header-inner {
    width: min(1200px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.vg-header-left,
.vg-header-actions,
.vg-primary-nav {
    display: flex;
    align-items: center;
}

.vg-header-left {
    gap: 24px;
    min-width: 0;
}

.vg-brand {
    flex: 0 0 auto;
    min-width: 108px;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #4a4a4a;
}

.vg-primary-nav { gap: 21px; }
.vg-primary-nav a,
.vg-header-actions > a {
    font-size: 14px;
    line-height: 1;
    color: #111;
    white-space: nowrap;
}
.vg-primary-nav a:hover,
.vg-header-actions > a:hover { text-decoration: underline; }

.vg-header-actions {
    gap: 20px;
    margin-left: auto;
}

.vg-round-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 0;
    border-radius: 50%;
    background: #f2f6f8;
    display: inline-grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    position: relative;
}
.vg-round-icon svg { width: 18px; height: 18px; fill: #111820; }
.vg-notification { margin-left: -5px; }
.vg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e51d2a;
    position: absolute;
    right: 4px;
    top: 3px;
}

.vg-home {
    background: #fff;
    min-height: 680px;
    padding-top: 8px;
}

.vg-main-search {
    width: min(880px, calc(100% - 32px));
    height: 60px;
    margin: 0 auto;
    border: 1px solid #cfd3d7;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.11);
    display: flex;
    align-items: center;
    padding: 0 21px;
    gap: 14px;
}
.vg-main-search:focus-within {
    border-color: #aeb5ba;
    box-shadow: 0 4px 14px rgba(0,0,0,.11), 0 0 0 1px rgba(90,166,15,.16);
}
.vg-main-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font-size: 16px;
    height: 100%;
}
.vg-main-search input::placeholder { color: #64748b; opacity: 1; }
.vg-search-icon {
    width: 20px;
    height: 20px;
    fill: var(--vg-green-dark);
    flex: 0 0 20px;
}

.vg-home-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 28px auto 0;
}

.vg-section-title {
    margin: 0;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -.35px;
    font-weight: 800;
    color: #0d0d0d;
}

.vg-carousel-wrap {
    position: relative;
    margin-top: 20px;
    overflow: visible;
}

.vg-event-track {
    display: flex;
    gap: 16px;
    overflow: hidden;
    padding: 0;
    scroll-behavior: smooth;
}

.vg-event-card {
    position: relative;
    flex: 0 0 286px;
    width: 286px;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    background: #202020;
    color: #fff;
    isolation: isolate;
}

.vg-card-media,
.vg-card-media img,
.vg-card-fallback,
.vg-card-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vg-card-media img {
    object-fit: cover;
    display: block;
}

.vg-card-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, #16222c 0%, #2a2a2a 52%, #0c0c0c 100%);
}
.vg-card-fallback-2 { background: linear-gradient(145deg,#242021,#1b1819 55%,#090909); }
.vg-card-fallback-3 { background: linear-gradient(145deg,#071b30,#12486a 52%,#07111c); }
.vg-card-fallback-4 { background: linear-gradient(145deg,#3b3b3b,#111 60%,#080808); }
.vg-card-fallback span {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 2.3px;
    color: rgba(255,255,255,.92);
}

.vg-card-shade {
    background: linear-gradient(180deg, rgba(0,0,0,0) 48%, rgba(0,0,0,.14) 62%, rgba(0,0,0,.88) 100%);
    z-index: 2;
}

.vg-heart {
    position: absolute;
    z-index: 4;
    top: 11px;
    right: 12px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-family: Arial, sans-serif;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.vg-card-copy {
    position: absolute;
    z-index: 4;
    left: 16px;
    right: 14px;
    bottom: 15px;
    color: #fff;
}
.vg-card-copy h2 {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 23px;
    font-weight: 800;
    letter-spacing: -.25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vg-card-copy p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 19px;
    font-weight: 700;
}

.vg-carousel-next {
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #cfd3d7;
    background: #fff;
    color: #111;
    box-shadow: 0 2px 7px rgba(0,0,0,.12);
    display: grid;
    place-items: center;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 8;
}

.vg-filter-row {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    flex-wrap: wrap;
}

.vg-location-target,
.vg-filter {
    height: 36px;
    border: 1px solid #b9c0c5;
    background: #fff;
    color: #111;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    font-size: 14px;
    cursor: pointer;
}

.vg-location-target {
    width: 36px;
    padding: 0;
    border-color: var(--vg-green-dark);
    background: var(--vg-green-dark);
}
.vg-location-target svg { width: 19px; height: 19px; fill: #fff; }
.vg-filter svg { width: 18px; height: 18px; fill: currentColor; }

.vg-filter-active {
    border-color: var(--vg-green-dark);
    background: #f4ffe8;
    color: #3f7f06;
    box-shadow: inset 0 0 0 1px rgba(70,134,8,.12);
}

.vg-filter-divider {
    width: 1px;
    height: 28px;
    background: #d6d9dc;
    margin: 0 12px;
}

@media (max-width: 1050px) {
    .vg-header-inner,
    .vg-home-shell { width: min(100% - 24px, 1200px); }
    .vg-primary-nav { gap: 14px; }
    .vg-header-actions { gap: 13px; }
    .vg-primary-nav a,
    .vg-header-actions > a { font-size: 13px; }
}

@media (max-width: 820px) {
    .vg-site-header { height: auto; }
    .vg-header-inner {
        min-height: 68px;
        height: auto;
        padding: 12px 0;
        flex-wrap: wrap;
    }
    .vg-primary-nav { order: 3; width: 100%; overflow-x: auto; }
    .vg-header-actions > a:nth-child(1),
    .vg-header-actions > a:nth-child(3),
    .vg-header-actions > a:nth-child(4) { display: none; }
    .vg-main-search { width: calc(100% - 24px); }
    .vg-home-shell { width: calc(100% - 24px); }
    .vg-event-track { overflow-x: auto; scrollbar-width: none; }
    .vg-event-track::-webkit-scrollbar { display: none; }
    .vg-carousel-next { display: none; }
}

@media (max-width: 520px) {
    .marketplace-disclaimer { font-size: 11px; height: 28px; line-height: 28px; }
    .vg-brand { min-width: 82px; font-size: 25px; }
    .vg-header-actions { gap: 10px; }
    .vg-round-icon { width: 32px; height: 32px; flex-basis: 32px; }
    .vg-main-search { height: 52px; border-radius: 26px; }
    .vg-section-title { font-size: 22px; }
    .vg-event-card { flex-basis: 250px; width: 250px; height: 306px; }
    .vg-filter-divider { display: none; }
}

/* Mobile reference layout 2026-10-14 */
.vg-mobile-menu-toggle,
.vg-mobile-discovery-controls,
.vg-mobile-type-row {
    display: none;
}

@media (max-width: 820px) {
    .marketplace-disclaimer {
        height: 38px;
        line-height: 38px;
        font-size: 13px;
        padding: 0 12px;
    }

    .vg-site-header {
        height: auto;
        border-bottom: 0;
    }

    .vg-header-inner {
        position: relative;
        width: 100%;
        min-height: 78px;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 44px 1fr auto;
        align-items: center;
        gap: 10px;
    }

    .vg-header-left {
        display: contents;
    }

    .vg-mobile-menu-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        padding: 8px 7px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 0;
        background: transparent;
        cursor: pointer;
        grid-column: 1;
    }

    .vg-mobile-menu-toggle span {
        display: block;
        height: 2px;
        width: 27px;
        border-radius: 2px;
        background: #63707a;
    }

    .vg-brand {
        grid-column: 2;
        justify-self: center;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 31px;
        line-height: 1;
    }

    .vg-brand-image {
        height: 42px;
        max-width: 190px;
        object-position: center;
    }

    .vg-primary-nav {
        position: absolute;
        z-index: 220;
        top: 72px;
        left: 16px;
        right: 16px;
        display: none;
        width: auto;
        padding: 10px;
        border: 1px solid #e1e5e8;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(0,0,0,.13);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .vg-primary-nav.is-open {
        display: flex;
    }

    .vg-primary-nav a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 12px;
        font-size: 15px;
        border-radius: 8px;
    }

    .vg-primary-nav a:hover {
        background: #f5f6f7;
        text-decoration: none;
    }

    .vg-header-actions {
        grid-column: 3;
        margin: 0;
        gap: 10px;
    }

    .vg-header-actions > a:not(.vg-round-icon),
    .vg-header-actions > .vg-header-menu,
    .vg-header-actions > .vg-currency-trigger {
        display: none !important;
    }

    .vg-header-actions > .vg-round-icon,
    .vg-notification {
        display: inline-grid !important;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        background: #f2f6f8;
    }

    .vg-header-actions > .vg-round-icon svg,
    .vg-notification svg {
        width: 20px;
        height: 20px;
    }

    .vg-notification {
        margin-left: 0;
    }

    .vg-home {
        padding-top: 8px;
    }

    .vg-main-search {
        width: calc(100% - 48px);
        height: 58px;
        margin-top: 0;
        border-radius: 30px;
        box-shadow: none;
        background: #f8fafb;
        padding: 0 20px;
    }

    .vg-main-search input {
        font-size: 16px;
    }

    .vg-home-shell {
        width: 100%;
        margin-top: 0;
        padding: 0 24px 24px;
    }

    .vg-mobile-discovery-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin: 24px 0 30px;
    }

    .vg-mobile-filter-control {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #68727b;
        font-size: 15px;
        font-weight: 500;
        white-space: nowrap;
    }

    .vg-mobile-filter-control svg {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        fill: #74818b;
    }

    .vg-mobile-filter-control b {
        font-size: 16px;
        font-weight: 500;
        color: #68727b;
    }

    .vg-section-title {
        margin: 0 0 22px;
        font-size: 28px;
        line-height: 34px;
        font-weight: 800;
    }

    .vg-carousel-wrap {
        margin-top: 0;
        margin-right: -24px;
        overflow: hidden;
    }

    .vg-event-track {
        gap: 18px;
        overflow-x: auto;
        padding-right: 24px;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .vg-event-track::-webkit-scrollbar {
        display: none;
    }

    .vg-event-card {
        flex: 0 0 min(74vw, 360px);
        width: min(74vw, 360px);
        height: min(88vw, 430px);
        border-radius: 18px;
        scroll-snap-align: start;
    }

    .vg-card-copy {
        left: 20px;
        bottom: 18px;
    }

    .vg-card-copy h2 {
        font-size: 24px;
        line-height: 28px;
    }

    .vg-card-copy p {
        font-size: 16px;
        line-height: 20px;
    }

    .vg-carousel-next,
    .vg-desktop-filter-row {
        display: none !important;
    }

    .vg-mobile-type-row {
        display: flex;
        gap: 14px;
        margin: 26px -24px 0;
        padding: 0 24px 4px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .vg-mobile-type-row::-webkit-scrollbar {
        display: none;
    }

    .vg-mobile-type {
        flex: 0 0 auto;
        min-width: 104px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 19px;
        border: 1px solid #aeb6bd;
        border-radius: 11px;
        background: #fff;
        font-size: 17px;
        color: #111;
        white-space: nowrap;
    }

    .vg-mobile-type.is-active {
        border: 2px solid #4f890f;
        background: #eefbdc;
        color: #4f890f;
    }
}

@media (max-width: 520px) {
    .marketplace-disclaimer {
        height: 34px;
        line-height: 34px;
        font-size: 12px;
    }

    .vg-header-inner {
        min-height: 72px;
        padding: 0 18px;
        grid-template-columns: 40px 1fr auto;
    }

    .vg-brand-image {
        height: 38px;
        max-width: 165px;
    }

    .vg-header-actions {
        gap: 7px;
    }

    .vg-header-actions > .vg-round-icon,
    .vg-notification {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .vg-main-search {
        width: calc(100% - 32px);
        height: 54px;
    }

    .vg-home-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .vg-mobile-discovery-controls {
        margin-top: 22px;
        margin-bottom: 28px;
        gap: 10px;
    }

    .vg-mobile-filter-control {
        font-size: 14px;
    }

    .vg-section-title {
        font-size: 26px;
        line-height: 31px;
    }

    .vg-carousel-wrap {
        margin-right: -16px;
    }

    .vg-event-track {
        padding-right: 16px;
        gap: 14px;
    }

    .vg-event-card {
        flex-basis: 72vw;
        width: 72vw;
        height: 86vw;
        max-height: 390px;
    }

    .vg-card-copy h2 {
        font-size: 21px;
        line-height: 25px;
    }

    .vg-card-copy p {
        font-size: 14px;
        line-height: 18px;
    }

    .vg-mobile-type-row {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .vg-mobile-type {
        min-width: 96px;
        height: 44px;
        font-size: 16px;
    }
}
