/* Advertising Videos Widget - 0971b73e */

.av-0971b73e-wrapper {
    position: relative;
    width: 100%;
}

/* Header */
.av-0971b73e-header {
    text-align: center;
}

.av-0971b73e-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Decorative Underline: 3 dots + line */
.av-0971b73e-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0 auto;
}

.av-0971b73e-underline-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #e94560;
    flex-shrink: 0;
}

.av-0971b73e-underline-line {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background-color: #e94560;
    flex-shrink: 0;
}

/* Carousel Container */
.av-0971b73e-carousel-container {
    position: relative;
    padding: 0 40px;
}

/* Swiper overrides */
.av-0971b73e-swiper {
    overflow: hidden;
    padding-bottom: 40px;
}

.av-0971b73e-swiper .swiper-slide {
    height: auto;
}

.av-0971b73e-wrapper:not(.av-swiper-ready) .av-0971b73e-swiper .swiper-wrapper,
.av-0971b73e-wrapper.av-layout-grid .av-0971b73e-swiper .swiper-wrapper {

    display: grid;

    grid-template-columns: repeat(var(--av-mobile, 1), minmax(0, 1fr));

    gap: var(--av-gap, 16px);

}

.av-0971b73e-wrapper:not(.av-swiper-ready) .av-0971b73e-swiper .swiper-slide,
.av-0971b73e-wrapper.av-layout-grid .av-0971b73e-swiper .swiper-slide {

    width: auto;

}

.av-0971b73e-wrapper.av-layout-grid .av-0971b73e-carousel-container {

    padding: 0;

}

.av-0971b73e-wrapper.av-layout-grid .av-0971b73e-swiper {

    padding-bottom: 0;

}

@media (min-width: 768px) {

    .av-0971b73e-wrapper:not(.av-swiper-ready) .av-0971b73e-swiper .swiper-wrapper,
    .av-0971b73e-wrapper.av-layout-grid .av-0971b73e-swiper .swiper-wrapper {

        grid-template-columns: repeat(var(--av-tablet, 2), minmax(0, 1fr));

    }

}

@media (min-width: 1024px) {

    .av-0971b73e-wrapper:not(.av-swiper-ready) .av-0971b73e-swiper .swiper-wrapper,
    .av-0971b73e-wrapper.av-layout-grid .av-0971b73e-swiper .swiper-wrapper {

        grid-template-columns: repeat(var(--av-desktop, 4), minmax(0, 1fr));

    }

}

/* Card */
.av-0971b73e-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.av-0971b73e-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.av-0971b73e-card.card-no-info {
    background: transparent !important;
    padding-bottom: 0 !important;
}

/* Thumbnail */
.av-0971b73e-thumb-link {
    text-decoration: none;
    display: block;

    width: 100%;

    padding: 0;

    border: 0;

    background: transparent;

    color: inherit;

    cursor: pointer;
}

.av-0971b73e-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: #1a1a2e;
}

.av-0971b73e-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.av-0971b73e-card:hover .av-0971b73e-thumb img {
    transform: scale(1.05);
}

.av-0971b73e-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.av-0971b73e-thumb-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Play Overlay */
.av-0971b73e-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.av-0971b73e-card:hover .av-0971b73e-play-overlay {
    opacity: 1;
}

/* Duration Badge */
.av-0971b73e-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.4;
}

/* Label Badge */
.av-0971b73e-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e94560;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Body */
.av-0971b73e-card-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.av-0971b73e-card-no-info {
    display: none;
}

.av-0971b73e-card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.4;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.av-0971b73e-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
}

.av-0971b73e-channel {
    font-weight: 500;
}

.av-0971b73e-views::before {
    content: '\2022';
    margin-right: 8px;
}

.av-0971b73e-card-meta .av-0971b73e-views:first-child::before {
    content: none;
    margin-right: 0;
}

.av-0971b73e-sponsor {
    font-size: 11px;
    color: #888888;
    margin: 4px 0 0 0;
    font-style: italic;
}

/* Navigation Arrows */
.av-0971b73e-nav-prev,
.av-0971b73e-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a2e;
}

.av-0971b73e-nav-prev:hover,
.av-0971b73e-nav-next:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-70%) scale(1.1);
}

.av-0971b73e-nav-prev {
    left: 0;
}

.av-0971b73e-nav-next {
    right: 0;
}

.av-0971b73e-nav-prev.swiper-button-disabled,
.av-0971b73e-nav-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

/* Pagination */
.av-0971b73e-pagination {
    text-align: center;
    margin-top: 10px;
}

.av-0971b73e-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d0d0d0;
    opacity: 1;
    transition: all 0.3s ease;
}

.av-0971b73e-pagination .swiper-pagination-bullet-active {
    background: #e94560;
    width: 24px;
    border-radius: 4px;
}

/* Button */
.av-0971b73e-btn-wrap {
    text-align: center;
}

.av-0971b73e-btn {
    display: inline-block;
    background: #e94560;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.av-0971b73e-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.16);
}

/* Responsive */
@media (max-width: 767px) {
    .av-0971b73e-carousel-container {
        padding: 0 30px;
    }

    .av-0971b73e-title {
        font-size: 22px;
    }

    .av-0971b73e-nav-prev,
    .av-0971b73e-nav-next {
        width: 30px;
        height: 30px;
    }

    .av-0971b73e-nav-prev svg,
    .av-0971b73e-nav-next svg {
        width: 16px;
        height: 16px;
    }
}
