:root {
    --brand-orange: #f45d22;
    --brand-violet: #4b1d3f;
    --brand-red: #ef4444;
}

.title-accent {
    border-left: 15px solid var(--brand-orange);
    padding-left: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.gidas-hero-block {
    background: linear-gradient(135deg, #4b1d3f 0%, #2a0b22 100%);
    border-radius: 2.5rem;
    box-shadow: 0 20px 50px rgba(75, 29, 63, 0.25);
}

.btn-subscribe {
    background-color: #c2410c;
    border: 2.5px solid #f45d22;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-subscribe:hover {
    background-color: #f45d22;
    border-color: #ffd700;
    transform: scale(1.04) translateY(-2px);
    box-shadow: 0 10px 22px rgba(244, 93, 34, 0.45);
}

/* Savaitgalio VIP draugų 3D blokas */
.vip-carousel-container {
    perspective: 1200px;
    overflow: visible;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.vip-grid-3d {
    position: relative;
    width: 100%;
    height: 520px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vip-card-3d {
    position: absolute;
    width: 350px;
    height: 500px;
    margin-top: 0 !important;
    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.6s ease,
        z-index 0.6s;
    opacity: 0;
    transform: scale(0.5) translateZ(-500px);
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.vip-card-3d.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
    z-index: 30;
    pointer-events: auto;
}

.vip-card-3d.prev {
    opacity: 0.65;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
    transform: translateX(-260px) scale(0.8) rotateY(25deg);
}

.vip-card-3d.next {
    opacity: 0.65;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
    transform: translateX(260px) scale(0.8) rotateY(-25deg);
}

@media (max-width: 1024px) {
    .newsletter-subscribe-container {
        flex-direction: column !important;
        text-align: center !important;
    }

    .newsletter-subscribe-text,
    .newsletter-subscribe-form {
        max-width: 100% !important;
        text-align: center !important;
    }
}

@media (max-width: 600px) {
    .gidas-hero-block {
        border-radius: 1.8rem;
        padding: 1.65rem !important;
        margin-bottom: 2rem !important;
    }

    .vip-carousel-container {
        perspective: none;
        overflow: visible !important;
        display: block;
        margin-top: 25px !important;
        margin-bottom: 1rem;
    }

    .vip-grid-3d {
        height: auto !important;
        display: block !important;
        transform-style: flat;
    }

    .vip-card-3d,
    .vip-card-3d.prev,
    .vip-card-3d.next {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        opacity: 0 !important;
        display: none !important;
        transform: none !important;
        box-shadow: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    .vip-card-3d.active {
        opacity: 1 !important;
        display: flex !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-subscribe,
    .vip-card-3d {
        animation: none !important;
        transition: none !important;
    }
}


.is-hidden {
    display: none !important;
}

.events-slider-wrapper-block,
.events-slider-wrapper {
    position: relative;
    z-index: auto;
}

.weekend-slider-nav {
    display: none;
}

.weekend-slider-arrow {
    width: 46px;
    height: 46px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--brand-violet);
    color: #fff;
    box-shadow: 0 10px 22px rgba(75, 29, 63, 0.2);
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.weekend-slider-arrow:hover {
    background: var(--brand-orange);
    transform: translateY(-2px);
}

.admin-event-btn-vip.is-active {
    background: var(--brand-violet) !important;
    color: #ffd700 !important;
}

@media (max-width: 1024px) and (hover: hover) and (pointer: fine) {
    .weekend-slider-nav {
        display: flex;
        justify-content: flex-end;
        gap: .6rem;
        margin: 0 0 .65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .weekend-slider-arrow,
    .swipe-indicator-badge {
        animation: none !important;
        transition: none !important;
    }
}


/* ================================================================
   KORTELIŲ NUORODOS – BE OVERLAY IR BE ADMIN MYGTUKŲ IŠKRAIPYMO
   ================================================================ */

.card-event-link {
    display: flex;
    color: inherit;
    text-decoration: none !important;
}

.card-title-link {
    color: inherit;
    text-decoration: none !important;
}

.card-title-link:hover {
    color: var(--brand-orange);
}

.card-event-link:focus-visible,
.card-title-link:focus-visible,
.badge-date-style:focus-visible,
.badge-city-style-custom:focus-visible {
    outline: 3px solid #ffd700;
    outline-offset: 3px;
}

/* Admin veiksmai lieka tik savo dydžio, niekada neišsitempia per kortelę. */
.admin-event-actions {
    width: auto !important;
    max-width: calc(100% - 24px);
}

.admin-event-btn {
    width: auto !important;
    flex: 0 0 auto !important;
}

/* Laiko lipdukas niekada neišsitempia per visą kortelę. */
.time-countdown-badge {
    width: auto !important;
    max-width: calc(100% - 32px);
    white-space: nowrap;
}

/* VIP draugai planšetėse ir didesniuose telefonuose kaip renginiai.php. */
@media (min-width: 601px) and (max-width: 1023px) {
    .vip-carousel-container {
        min-height: 500px;
        overflow: visible !important;
    }

    .vip-grid-3d {
        height: 500px !important;
        overflow: visible !important;
    }

    .vip-card-3d {
        width: 330px !important;
        height: 480px !important;
    }
}

@media (max-width: 600px) {
    .vip-carousel-container {
        min-height: 0;
    }
}


/* Kategorijos ikonėlė ir tekstas visada viename lipduke */
.event-category-link {
    max-width: 58%;
    min-width: 0;
    text-decoration: none !important;
    line-height: 1;
}

.event-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.event-category-label {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .event-category-link {
        max-width: 62%;
    }
}