/* Eventos Shopping da Vila - Widgets Styles */

/* Card Base */
.esv-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.esv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.esv-card__image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.esv-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.esv-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.esv-card__date {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #e91e63;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.esv-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.3;
}

.esv-card__description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 16px;
    flex: 1;
}

.esv-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* Buttons */
.esv-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.esv-btn--video {
    background: #1a1a1a;
    color: #fff;
}

.esv-btn--video:hover {
    background: #333;
    color: #fff;
    transform: scale(1.03);
}

.esv-btn--inscricao {
    background: #e91e63;
    color: #fff;
}

.esv-btn--inscricao:hover {
    background: #c2185b;
    color: #fff;
    transform: scale(1.03);
}

.esv-btn--small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Grid Layout */
.esv-grid {
    display: grid;
    grid-template-columns: repeat(var(--esv-cols-desktop, 3), 1fr);
    gap: var(--esv-gap, 24px);
}

@media (max-width: 1024px) {
    .esv-grid {
        grid-template-columns: repeat(var(--esv-cols-tablet, 2), 1fr);
    }
}

@media (max-width: 767px) {
    .esv-grid {
        grid-template-columns: repeat(var(--esv-cols-mobile, 1), 1fr);
    }
}

/* Carousel */
.esv-carousel-wrapper {
    position: relative;
    padding: 0 0 50px;
}

.esv-carousel .swiper-slide {
    height: auto;
}

.esv-carousel .swiper-slide .esv-card {
    height: 100%;
}

.esv-carousel .swiper-button-prev,
.esv-carousel .swiper-button-next {
    color: #e91e63;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.esv-carousel .swiper-button-prev::after,
.esv-carousel .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.esv-carousel .swiper-pagination-bullet-active {
    background: #e91e63;
}

/* List Layout */
.esv-list__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.esv-list__item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.esv-list__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.esv-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.esv-list__info {
    flex: 1;
    min-width: 0;
}

.esv-list__date {
    font-size: 12px;
    font-weight: 600;
    color: #e91e63;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.esv-list__title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 4px 0 6px;
    line-height: 1.3;
}

.esv-list__description {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.4;
}

.esv-list__actions {
    display: flex;
    gap: 8px;
}

/* No Events */
.esv-no-events {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 16px;
}

@media (max-width: 767px) {
    .esv-list__thumb {
        width: 60px;
        height: 60px;
    }

    .esv-card__title {
        font-size: 16px;
    }
}
