
.vlpc-post-carousel {
    --vlpc-red: var(--vle-red, #e50922);
    --vlpc-red-bright: var(--vle-red-2, #ff3048);
    --vlpc-gap: clamp(14px, 1.7vw, 24px);
    width: 100%;
    max-width: none;
    color: #f7f7f7;
    font-family: inherit;
    overflow: hidden;
}

.vlpc-carousel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.vlpc-carousel-header h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 54px);
    line-height: .95;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.vlpc-carousel-controls {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
}

.vlpc-arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(229, 9, 34, .45);
    border-radius: 7px;
    background: rgba(9, 10, 13, .96);
    color: #fff;
    font: inherit;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.vlpc-arrow:hover,
.vlpc-arrow:focus-visible {
    background: var(--vlpc-red);
    border-color: var(--vlpc-red-bright);
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(229, 9, 34, .28);
    outline: none;
}

.vlpc-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.vlpc-viewport::-webkit-scrollbar {
    display: none;
}

.vlpc-track {
    display: flex;
    gap: var(--vlpc-gap);
    width: max-content;
    min-width: 100%;
}

.vlpc-card {
    position: relative;
    flex: 0 0 calc((100vw - (var(--vle-site-gutter, 42px) * 2) - (var(--vlpc-gap) * 3)) / 4);
    min-width: 260px;
    max-width: 440px;
    overflow: hidden;
    scroll-snap-align: start;
    background: linear-gradient(180deg, rgba(17, 19, 24, .98), rgba(7, 8, 11, .99));
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    box-shadow: 0 0 26px rgba(0, 0, 0, .28);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.vlpc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 48, 72, .55);
    box-shadow: 0 10px 34px rgba(0, 0, 0, .38), 0 0 24px rgba(229, 9, 34, .12);
}

.vlpc-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #090a0d;
}

.vlpc-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.vlpc-card:hover .vlpc-image {
    transform: scale(1.035);
    filter: contrast(1.04) saturate(1.05);
}

.vlpc-image--fallback {
    background:
        radial-gradient(circle at 70% 25%, rgba(229, 9, 34, .35), transparent 32%),
        linear-gradient(135deg, #17191e, #07080b);
}

.vlpc-card-body {
    padding: 19px 20px 21px;
}

.vlpc-date {
    display: block;
    margin-bottom: 7px;
    color: var(--vlpc-red-bright);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.vlpc-title {
    margin: 0 0 11px;
    font-size: clamp(20px, 1.65vw, 27px);
    line-height: 1.05;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.vlpc-title a {
    color: #fff;
    text-decoration: none;
}

.vlpc-title a:hover {
    color: var(--vlpc-red-bright);
}

.vlpc-excerpt {
    color: #a8acb4;
    font-size: 15px;
    line-height: 1.55;
}

.vlpc-read-more {
    display: inline-flex;
    margin-top: 17px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.vlpc-read-more::after {
    content: ' →';
    margin-left: 5px;
    color: var(--vlpc-red-bright);
}

.vlpc-empty {
    margin: 0;
    padding: 25px;
    border: 1px dashed rgba(229, 9, 34, .36);
    border-radius: 10px;
    color: #a8acb4;
    text-align: center;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .vlpc-card {
        flex-basis: calc((100vw - (var(--vle-site-gutter, 28px) * 2) - (var(--vlpc-gap) * 2)) / 3);
    }
}

@media (max-width: 820px) {
    .vlpc-card {
        flex-basis: calc((100vw - (var(--vle-site-gutter, 18px) * 2) - var(--vlpc-gap)) / 2);
    }
}

@media (max-width: 560px) {
    .vlpc-carousel-header {
        align-items: center;
    }

    .vlpc-card {
        flex-basis: calc(100vw - (var(--vle-site-gutter, 14px) * 2));
        min-width: 0;
        max-width: none;
    }

    .vlpc-card-body {
        padding: 17px;
    }
}


/* v1.1.0 - vertical news list layout */
.vlpc-post-list {
    width: 100%;
    max-width: none;
    color: #f4f5f7;
    font-family: inherit;
}

.vlpc-list-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.vlpc-list-header h2 {
    margin: 0;
    color: #f4f5f7;
    font-size: clamp(30px, 3.5vw, 52px);
    line-height: .98;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.vlpc-list-items {
    display: grid;
    gap: 18px;
}

.vlpc-list-card {
    display: grid;
    grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(13,15,20,.92), rgba(8,10,14,.94));
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.vlpc-list-card:hover {
    transform: translateY(-2px);
    border-color: rgba(229,42,58,.42);
    box-shadow: 0 14px 30px rgba(0,0,0,.24);
}

.vlpc-post-list--right .vlpc-list-card {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
}

.vlpc-post-list--right .vlpc-list-image-link {
    order: 2;
}

.vlpc-post-list--right .vlpc-list-content {
    order: 1;
}

.vlpc-list-image-link {
    position: relative;
    display: block;
    min-height: 220px;
    overflow: hidden;
    background: #080a0e;
}

.vlpc-list-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform .25s ease, filter .25s ease;
}

.vlpc-list-card:hover .vlpc-list-image {
    transform: scale(1.025);
    filter: contrast(1.03) saturate(1.03);
}

.vlpc-list-image--fallback {
    background:
        radial-gradient(circle at 72% 28%, rgba(229,42,58,.22), transparent 32%),
        linear-gradient(135deg, #15181e, #080a0e);
}

.vlpc-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(22px, 3vw, 38px);
}

.vlpc-list-date {
    display: block;
    margin-bottom: 8px;
    color: #e52a3a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.vlpc-list-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(25px, 2.35vw, 38px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.vlpc-list-title a {
    color: inherit;
    text-decoration: none;
}

.vlpc-list-title a:hover {
    color: #f2f3f5;
}

.vlpc-list-excerpt {
    max-width: 880px;
    color: #aeb4be;
    font-size: 15px;
    line-height: 1.6;
}

.vlpc-list-read-more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 17px;
    padding: 9px 15px;
    border: 1px solid rgba(229,42,58,.55);
    border-radius: 5px;
    color: #f7f7f7;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .16s ease, border-color .16s ease;
}

.vlpc-list-read-more::after {
    content: "→";
    margin-left: 8px;
    color: #e52a3a;
}

.vlpc-list-read-more:hover {
    background: rgba(229,42,58,.10);
    border-color: #e52a3a;
}

@media (max-width: 760px) {
    .vlpc-list-card,
    .vlpc-post-list--right .vlpc-list-card {
        grid-template-columns: 1fr;
    }

    .vlpc-post-list--right .vlpc-list-image-link,
    .vlpc-post-list--right .vlpc-list-content {
        order: initial;
    }

    .vlpc-list-image-link,
    .vlpc-list-image {
        min-height: 190px;
        max-height: 260px;
    }

    .vlpc-list-content {
        padding: 20px 18px 23px;
    }
}
