
/* ---------- Section ---------- */
.pev-section {
    padding: 120px 0 0;
}

.pev-section-title {
    text-align: center;
    margin-bottom: 32px !important;
}

/* ---------- Grid — 2 equal columns ---------- */
.pev-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* ---------- Card ---------- */
.pev-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 340px;
    cursor: pointer;
}

/* ---------- Background image wrapper (zooms on hover) ---------- */
.pev-card__bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.pev-card__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.45s ease;
    will-change: transform;
}

/* Zoom on hover */
@media (min-width: 768px) and (hover: hover) {
    .pev-card:hover .pev-card__bg-img {
        transform: scale(1.07);
    }
}

/* ---------- Content layer ---------- */
.pev-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 35px 40px 36px;
}

/* ---------- Top row (badge) ---------- */
.pev-card__top {
    display: flex;
    align-items: flex-start;
}

.pev-card__badge {
    display: flex;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(20px);
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%; /* 25.6px */
    padding: 4px 14px;
}

/* ---------- Bottom content ---------- */
.pev-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pev-card__title {
    color: #FFF;
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px; 
    width: 353px;
    margin-bottom: 15px;
}

/* ---------- Logo ---------- */
.pev-card__logo-wrap {
    display: flex;
}

.pev-card__logo {
    max-height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

/* ---------- Meta text ---------- */
.pev-card__meta {
   color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

/* ---------- CTA Button (Watch now) ---------- */
.pev-card__cta-btn {
    border-radius: 12px;
    background: #FFF;
    gap: 5px;
    color: #000;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    align-self: flex-start;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 160%;
    text-decoration: none;
    white-space: nowrap;
    margin-top: 4px;
    z-index: 3;
    margin-left: auto;
}

.pev-card__video {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pev-card__video img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.25s ease;
}

.pev-card__video-normal {
    opacity: 1;
}

.pev-card__video-hover {
    opacity: 0;
}

.pev-card:hover .pev-card__video-normal,
.pev-card__cta-btn:hover .pev-card__video-normal,
.pev-card__cta-btn:focus .pev-card__video-normal {
    opacity: 0;
}

.pev-card:hover .pev-card__video-hover,
.pev-card__cta-btn:hover .pev-card__video-hover,
.pev-card__cta-btn:focus .pev-card__video-hover {
    opacity: 1;
}


.pev-card__arrow-link {
     border-radius: 12px;
    background: #FFF;
    gap: 5px;
    color: #000;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    align-self: flex-start;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 160%;
    text-decoration: none;
    white-space: nowrap;
    margin-top: 4px;
    z-index: 3;
    position: absolute;
    bottom: 40px;
    right: 40px;
}
.pev-card__arrow{
    display: inline-flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.pev-card__arrow img {
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(0);
    transition: filter 0.25s ease;
}
.pev-card:hover .pev-card__arrow img,
.pev-card__arrow-link:hover .pev-card__arrow img {
    filter: none;
}

.pev-card__arrow-link:hover {
    text-decoration: none;
}

.pev-card__arrow-link.stretched-link::after {
    z-index: 2;
}

.pev-view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* View All button — full styles with ::before gradient fade (no blink) */
.pev-view-all-wrap .pcb-banner-btn {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    color: #fff;
    border-radius: 12px;
    background: #242424;
    text-decoration: none;
    display: inline-flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: relative;
    isolation: isolate;
}

/* Gradient overlay — fades in on hover (avoids blink) */
.pev-view-all-wrap .pcb-banner-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(91deg, #544FF8 70.08%, #2EB6AE 100.12%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.pev-view-all-wrap .pcb-banner-btn:hover::before,
.pev-view-all-wrap .pcb-banner-btn:focus::before {
    opacity: 1;
}

.pev-view-all-wrap .pcb-banner-btn:hover,
.pev-view-all-wrap .pcb-banner-btn:focus {
    color: #fff;
    text-decoration: none;
}

.pev-view-all-wrap .pcb-banner-btn img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, transform 0.2s ease;
}

.pev-view-all-wrap .pcb-banner-btn:hover img,
.pev-view-all-wrap .pcb-banner-btn:focus img {
    filter: none;
    transform: scale(1.3);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199.98px) {
     .pev-section {
        padding: 80px 0 0;
    }
     .pev-card {
        flex: 0 0 calc(100% - 100px);
        max-width: calc(100% - 100px);
        margin: auto;
    }
      .pev-card__title {
        font-size: 22px;
        margin-bottom: 22px ;

    }

}
@media (max-width: 767.98px) {
    .pev-section {
        padding: 60px 0 0;
    }

    .pev-section-title {
        margin-bottom: 32px !important;
    }
    .pev-card__badge{
        font-size: 14px;
    }

    .pev-card__title {
        width: 197px;
        font-size: 20px;
        margin-bottom: 22px ;
        line-height: 24px;

    }
    .pev-card__bottom {
        gap:4px
    }
      .pev-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pev-card__content {
        padding: 30px 20px 30px 20px;
    }
    .pev-card__arrow-link {
        bottom: 20px;
        right: 20px;
        font-size: 14px;
    }
    .pev-card__cta-btn {
        margin-bottom: -10px;
        font-size: 14px;
    }
}