/**
 * Editor's Choice — Style Picks Widget — VELOUR Pro Addons
 *
 *
 * @since 1.0.0
 */

.elementor-widget-vnpa-editors-choice {
    align-content: unset !important;
    align-items: unset !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    gap: 0 !important;
}

.elementor-widget-vnpa-editors-choice > .elementor-widget-container {
    flex: none !important;
    width: 100% !important;
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */

.vnpa-editors-choice {
    display: block;
    width: 100%;
    padding: 60px 0;
    background: #ffffff;
}

@media (min-width: 1024px) {
    .vnpa-editors-choice {
        padding: 80px 0;
    }
}

/* ============================================================
   CONTAINER
   ============================================================ */

.vnpa-editors-choice__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .vnpa-editors-choice__container {
        padding: 0 32px;
    }
}

/* ============================================================
   HEADER
   ============================================================ */

.vnpa-editors-choice__header {
    display: block;
    margin-bottom: 40px;
}

.vnpa-editors-choice__title-wrap {
    display: inline-block;
    vertical-align: middle;
}

.vnpa-editors-choice__header-link {
    display: inline-block;
    vertical-align: middle;
    float: right;
    margin-top: 14px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

.vnpa-editors-choice__header-link:hover {
    text-decoration: underline;
}

.vnpa-editors-choice__subtitle {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.vnpa-editors-choice__title {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    margin: 0;
}

@media (min-width: 1024px) {
    .vnpa-editors-choice__title {
        font-size: 52px;
    }
}

/* ============================================================
   GRID — inline-block layout (no flex, no grid)
   font-size:0 eliminates white-space between inline-block items.
   ============================================================ */

.vnpa-editors-choice__grid {
    display: block;
    font-size: 0;
}

/* --- Featured (large) card --- */

.vnpa-editors-choice__card--featured {
    display: inline-block;
    width: 48%;
    height: 520px;
    vertical-align: top;
    margin-right: 2%;
}

@media (max-width: 767px) {
    .vnpa-editors-choice__card--featured {
        width: 100%;
        height: 280px;
        margin-right: 0;
        margin-bottom: 18px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .vnpa-editors-choice__card--featured {
        width: 100%;
        height: 620px;
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .vnpa-editors-choice__card--featured {
        height: 860px;
    }
}

/* --- Small cards wrapper --- */

.vnpa-editors-choice__small-wrap {
    display: inline-block;
    width: 50%;
    vertical-align: top;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .vnpa-editors-choice__small-wrap {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .vnpa-editors-choice__small-wrap {
        width: 100%;
    }
}

/* --- Small card --- */

.vnpa-editors-choice__card--small {
    display: inline-block;
    width: 48%;
    height: 280px;
    margin: 0 1% 18px;
    vertical-align: top;
}

@media (min-width: 768px) {
    .vnpa-editors-choice__card--small {
        height: 300px;
    }
}

@media (min-width: 1024px) {
    .vnpa-editors-choice__card--small {
        height: 415px;
        margin-bottom: 20px;
    }
}

@media (max-width: 640px) {
    .vnpa-editors-choice__card--small {
        width: 100%;
        margin: 0 0 18px;
    }
}

/* ============================================================
   CARD — shared styles
   ============================================================ */

.vnpa-editors-choice__card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    text-decoration: none;
    background: #f3f4f6;
    cursor: pointer;
}

.vnpa-editors-choice__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.vnpa-editors-choice__card:hover img {
    transform: scale(1.08);
}

/* ============================================================
   OVERLAY
   ============================================================ */

.vnpa-editors-choice__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08));
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   CONTENT
   ============================================================ */

.vnpa-editors-choice__content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 24px;
    z-index: 2;
}

.vnpa-editors-choice__card--featured .vnpa-editors-choice__content {
    padding: 40px;
}

@media (max-width: 640px) {
    .vnpa-editors-choice__content {
        padding: 24px;
    }

    .vnpa-editors-choice__card--featured .vnpa-editors-choice__content {
        padding: 24px;
    }
}

/* ============================================================
   TAG
   ============================================================ */

.vnpa-editors-choice__tag {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1;
}

/* ============================================================
   CARD TITLE
   ============================================================ */

.vnpa-editors-choice__card-title {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 14px;
    font-weight: 700;
}

.vnpa-editors-choice__card--featured .vnpa-editors-choice__card-title {
    font-size: 26px;
}

@media (min-width: 1024px) {
    .vnpa-editors-choice__card-title {
        font-size: 24px;
    }

    .vnpa-editors-choice__card--featured .vnpa-editors-choice__card-title {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .vnpa-editors-choice__card--featured .vnpa-editors-choice__card-title {
        font-size: 26px;
    }
}

/* ============================================================
   DESCRIPTION (featured only)
   ============================================================ */

.vnpa-editors-choice__description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.7;
    max-width: 420px;
    margin: 0;
}

/* ============================================================
   CTA — simple text link with arrow
   ============================================================ */

.vnpa-editors-choice__cta {
    display: inline-block;
    margin-top: 18px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.25s ease;
}

.vnpa-editors-choice__card:hover .vnpa-editors-choice__cta {
    transform: translateX(5px);
}
