/* Home page: promo banner under header (venuekings.com style) */

.vk-hero-banner {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}

/* Background (image set per slide via inline style) */
.vk-hero-banner-bg {
    position: absolute;
    inset: 0;
    background-color: #1a3a24;
    background-size: cover;
    background-position: center;
}

/* Angled reddish overlay (down left to right) */
.vk-hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(161, 15, 43, 0.85) 0%, rgba(182, 19, 50, 0.75) 45%, rgba(161, 15, 43, 0.5) 70%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

/* Left: baseball image */
.vk-hero-banner-ball {
    position: absolute;
    left: 0;
    bottom: 0;
    width:  clamp(80px, 18vw, 160px);
    height: clamp(80px, 18vw, 160px);
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.vk-hero-banner-ball img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Center + right content */
.vk-hero-banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.vk-hero-banner-content {
    flex: 1 1 auto;
    min-width: 200px;
    text-align: center;
}

.vk-hero-banner-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.02em;
}

.vk-hero-banner-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #fff;
    margin: 0 0 1rem 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.vk-hero-banner-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #a10f2b;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background 0.2s, transform 0.15s;
}

.vk-hero-banner-btn:hover {
    background: #b61332;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

/* Right: no service fees */
.vk-hero-banner-right {
    flex: 0 0 auto;
    text-align: right;
}

.vk-hero-banner-no-fees {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    white-space: nowrap;
}

/* World Cup hero — carousel arrow gutters + no-fees angled panel */
.vk-hero-banner--world-cup .vk-hero-banner-bg {
    z-index: 0;
    /* Helps baked-in lettering read closer to white (graphic is part of PNG) */
    filter: brightness(1.06) saturate(1.03);
}

/* Lighter mid-band so WORLD CUP art (in the image) is not muted; edges can stay slightly richer */
.vk-hero-banner--world-cup .vk-hero-banner-overlay {
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0.04) min(38%, 38vw),
        rgba(0, 0, 0, 0.02) 50%,
        rgba(0, 0, 0, 0.07) calc(100% - min(28%, 24vw)),
        rgba(0, 0, 0, 0.38) 100%
    );
    clip-path: none;
}

.vk-hero-banner--world-cup .vk-hero-banner-triangle {
    display: none;
}

section.vk-hero-slider .vk-hero-banner--world-cup .vk-hero-banner-inner.vk-hero-banner-inner--live-split {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: stretch;
    align-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    padding: 0 var(--vk-hero-arrow-w, 36px);
    min-height: 0;
    gap: 0;
}

section.vk-hero-slider .vk-hero-banner--world-cup .vk-hero-banner-right {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: min(220px, 32vw);
    max-width: 320px;
    padding: 1.85rem calc(0.85rem + var(--vk-hero-arrow-w, 36px)) 1.85rem calc(1.85rem + 20px);
    margin-top: 0;
    margin-bottom: 0;
    margin-left: min(-5px, -0.35vw);
    margin-right: calc(-1 * var(--vk-hero-arrow-w, 36px));
    text-align: left;
    background: rgba(0, 0, 0, 0.38);
    isolation: isolate;
    transform: translateZ(0);
    backface-visibility: hidden;
    clip-path: polygon(calc(16% - 4px) 0, 100% 0, 100% 100%, -7px 100%);
}

section.vk-hero-slider .vk-hero-banner--world-cup .vk-hero-banner-no-fees {
    font-family: "Open Sans", "Segoe UI", sans-serif;
    font-size: clamp(0.9rem, 2.1vw, 1.5rem);
    font-weight: 900;
    line-height: 1.2;
    color: #fff !important;
    opacity: 1;
    text-align: left;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.85);
    white-space: normal;
    max-width: 11em;
}

/* Triangular cut on top-right (diagonal edge) */
.vk-hero-banner-triangle {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.15) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    z-index: 1;
    pointer-events: none;
}

/* Full-width hero carousel (--vk-hero-thumb-url set inline for arrow-hover preview) */
.vk-hero-slider {
    position: relative;
    width: 100%;
    overflow: visible;
    --vk-hero-arrow-w: 36px;
}

.vk-hero-slider .carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

body.home-page .vk-hero-slider .carousel-inner,
body.home-page .vk-hero-slider .carousel-item {
    min-height: 0;
}

body.home-page .vk-hero-slider .carousel-item {
    position: relative;
}

body.home-page .vk-hero-slider .slider-link.vk-hero-banner,
body.home-page .vk-hero-slider .carousel-item > .vk-hero-banner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    /* Taller banner (~1550×400 target); scales with viewport width */
    min-height: clamp(220px, calc(100vw * 400 / 1550), 400px);
    height: auto;
    max-height: none;
    overflow: visible;
    text-decoration: none;
    color: inherit;
}

.vk-hero-slider .slider-link:hover {
    color: inherit;
}

.vk-hero-slider .slider-link .vk-hero-banner-btn {
    cursor: default;
    pointer-events: none;
}
/* Full-height edge bars + hover thumbnail (same image as slide / Rev tp-arr-imgholder) */
body.home-page .vk-hero-slider .carousel-control-prev,
body.home-page .vk-hero-slider .carousel-control-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--vk-hero-arrow-w, 36px);
    min-width: var(--vk-hero-arrow-w, 36px);
    height: 100%;
    top: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: 0;
    opacity: 1;
    background: rgba(0, 0, 0, 0.38);
    z-index: 10;
    /* Own compositor layer helps avoid a 1px seam at the slide edge */
    transform: translateZ(0);
    backface-visibility: hidden;
}

body.home-page .vk-hero-slider .carousel-control-prev {
    left: 0;
}

body.home-page .vk-hero-slider .carousel-control-next {
    right: 0;
}

body.home-page .vk-hero-slider .carousel-control-prev:hover,
body.home-page .vk-hero-slider .carousel-control-next:hover,
body.home-page .vk-hero-slider .carousel-control-prev:focus-visible,
body.home-page .vk-hero-slider .carousel-control-next:focus-visible {
    background: rgba(0, 0, 0, 0.55);
}

body.home-page .vk-hero-slider .carousel-control-prev::after,
body.home-page .vk-hero-slider .carousel-control-next::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 56px;
    background-image: var(--vk-hero-thumb-url);
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 11;
}

body.home-page .vk-hero-slider .carousel-control-prev::after {
    left: calc(100% + 8px);
}

body.home-page .vk-hero-slider .carousel-control-next::after {
    right: calc(100% + 8px);
}

body.home-page .vk-hero-slider .carousel-control-prev:hover::after,
body.home-page .vk-hero-slider .carousel-control-next:hover::after,
body.home-page .vk-hero-slider .carousel-control-prev:focus-visible::after,
body.home-page .vk-hero-slider .carousel-control-next:focus-visible::after {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    body.home-page .vk-hero-slider .carousel-control-prev::after,
    body.home-page .vk-hero-slider .carousel-control-next::after {
        transition: none;
    }
}

@media (max-width: 767.98px) {
    section.vk-hero-slider {
        display: none;
    }

    body.home-page .vk-hero-slider .slider-link.vk-hero-banner,
    body.home-page .vk-hero-slider .carousel-item > .vk-hero-banner {
        min-height: clamp(240px, 56vw, 380px);
    }

    body.home-page .vk-hero-slider .carousel-control-prev::after,
    body.home-page .vk-hero-slider .carousel-control-next::after {
        display: none;
    }

    .vk-hero-banner-inner {
        flex-direction: column;
        justify-content: center;
    }

    section.vk-hero-slider .vk-hero-banner--world-cup .vk-hero-banner-inner.vk-hero-banner-inner--live-split {
        align-items: stretch;
        justify-content: stretch;
        flex-direction: column;
    }

    section.vk-hero-slider .vk-hero-banner--world-cup .vk-hero-banner-right {
        clip-path: none;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        padding: 1.55rem 1rem;
        align-self: stretch;
        background: rgba(0, 0, 0, 0.45);
    }

    section.vk-hero-slider .vk-hero-banner--world-cup .vk-hero-banner-no-fees {
        text-align: center;
        max-width: none;
        font-size: clamp(0.85rem, 2.5vw, 1.15rem);
        line-height: 1.2;
    }

    .vk-hero-banner-ball {
        width: 70px;
        height: 70px;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
        top: 0.5rem;
    }
}

/* ---------- Pricing disclaimer (below hero) ---------- */
.vk-pricing-disclaimer {
    text-align: center;
    padding: 1.8rem 1rem;
    background: #fff;
}

.vk-pricing-disclaimer-text {
    margin: 0;
    line-height: 1.3;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop (md+): one line (no wrap). Mobile uses .vk-pricing-disclaimer-mobile in the view. */
.vk-pricing-disclaimer-text .vk-pricing-disclaimer-line1 {
    color: #444;
    font-size: 1rem;
    font-weight: 400;
    white-space: nowrap;
}

.vk-pricing-disclaimer-text .vk-pricing-disclaimer-mobile {
    color: #444;
    font-size: 1rem;
    font-weight: 400;
}

.vk-pricing-disclaimer-text .vk-pricing-bold {
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .vk-pricing-disclaimer-text .vk-pricing-disclaimer-line1 {
        white-space: normal;
    }
}

/* ---------- Featured tables (venuekings.com style: dark red header, white list) ---------- */
.vk-featured-tables {
    margin-bottom: 2rem;
}

.vk-featured-module {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.vk-featured-module-header {
    background: #900;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    padding: 0.6rem 0.75rem;
    border: none;
}

.vk-featured-module-list {
    list-style: none;
    margin: 0;
    padding: 0.6rem 0.75rem;
    text-align: center;
}

.vk-featured-module-list li {
    margin-bottom: 0.35rem;
}

.vk-featured-module-list li:last-child {
    margin-bottom: 0;
}

.vk-featured-module-list a {
    color: #a10f2b;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    display: block;
    text-align: center;
}

.vk-featured-module-list a:hover {
    color: #b61332;
    text-decoration: underline;
}
