/**
 * ATP Tango Slider — Styles
 * Includes Swiper core layout rules (required when swiper.css not loaded globally)
 */

/* ── Swiper Core Layout (mandatory) ── */
.atp-tango .swiper-container,
.atp-tango .atp-tango__swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.atp-tango .swiper-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    align-items: center;
}


.atp-tango .swiper-slide {
    flex-shrink: 0;
    position: relative;
    transition-property: transform;
}



/* Container */
.atp-tango {
    position: relative;
    width: 100%;
    overflow: visible !important;
    height: auto !important;
    padding: 60px 0 0;
    margin-bottom: 66px;
}

/* BG Decoration */
.atp-tango__bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.atp-tango__bg-deco svg { width: 100%; height: 100%; }

/* Swiper */
.atp-tango .atp-tango__swiper {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}


/* Slide Item */
.atp-tango__item {
    position: relative;
    height: 642px;
    border-radius: 6px;
    overflow: hidden;
    clip-path: inset(10% 0 10% 0 round 6px);
    transition: clip-path 0.5s cubic-bezier(.4,0,.2,1);
}
.swiper-slide-active .atp-tango__item {
    clip-path: inset(0% 0 0% 0 round 6px);
}

/* Image */
.atp-tango__image-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.atp-tango__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Gradient — ONLY on active slide */

/* Content — HIDDEN by default, ONLY visible on active slide */
.atp-tango .atp-tango__content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 12px;
    z-index: 2;
    text-align: center;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}
.atp-tango .swiper-slide-active .atp-tango__content-wrap {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0);
    pointer-events: auto;
}

/* Title */
.atp-tango__title {
    margin: 0;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.atp-tango__title,
.atp-tango__title a {
    color: #fff !important;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
}
.atp-tango__title a:hover { opacity: 0.85; }

/* Subtitle */
.atp-tango__subtitle {
    display: block;
    font-size: 10px !important;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8) !important;
    margin-bottom: 6px;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* Pagination */
.atp-tango__pagination.swiper-pagination {
    position: relative;
    margin-top: 20px;
    z-index: 10;
    text-align: center;
    width: 100%;
}
.atp-tango__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    opacity: 1;
    margin: 0 4px;
    border-radius: 50%;
    transition: background 0.3s ease;
}
.atp-tango__pagination .swiper-pagination-bullet-active { background: #fff; }

/* Arrows */
.atp-tango__nav-prev,
.atp-tango__nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    background: transparent;
    color: rgba(255,255,255,0.7) !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.atp-tango__nav-prev { left: 30px; }
.atp-tango__nav-next { right: 30px; }
.atp-tango__nav-prev:hover,
.atp-tango__nav-next:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: #fff !important;
}
.atp-tango__nav-prev svg,
.atp-tango__nav-next svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .atp-tango__item { height: 500px; }
    .atp-tango__nav-prev { left: 15px; }
    .atp-tango__nav-next { right: 15px; }
}
@media (max-width: 768px) {
    .atp-tango__item { height: 420px; }
    .atp-tango__nav-prev, .atp-tango__nav-next { display: none !important; }
    .atp-tango__title { font-size: 12px !important; }
}
@media (max-width: 480px) {
    .atp-tango__item { height: 360px; }
}

/* ── Force all slides visible (Swiper handles overflow) ── */
.atp-tango .swiper-slide {
    visibility: visible !important;
}
