@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   AI FreePremium Express Slider v2.0.0
   ============================================================ */

.afes-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.87);
    -webkit-font-smoothing: antialiased;
}

/* ── Elementor Editor Preview Fix ─────────────────────────── */
.elementor-editor-active .afes-wrapper {
    min-height: 400px;
}

/* ── Cards ─────────────────────────────────────────────────── */
.afes-card {
    position: absolute;
    left: 0;
    top: 0;
    background-position: center;
    background-size: cover;
    -webkit-box-shadow: 6px 6px 10px 2px rgba(0,0,0,0.6);
    box-shadow: 6px 6px 10px 2px rgba(0,0,0,0.6);
}

/* ── Overlay ─────────────────────────────────────────────── */
.afes-overlay {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 5;
}

/* ── Thumbnail card content ──────────────────────────────── */
.afes-card-content {
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255,255,255,0.87);
    padding-left: 16px;
}
.afes-content-start {
    width: 30px;
    height: 5px;
    border-radius: 99px;
    background-color: rgba(255,255,255,0.87);
}
.afes-content-place {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}
.afes-content-title-1,
.afes-content-title-2 {
    font-weight: 600;
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
}

/* ── Details panel ───────────────────────────────────────── */
.afes-details {
    position: absolute;
    z-index: 22;
    top: 240px;
    left: 60px;
}
.afes-place-box {
    height: 46px;
    overflow: hidden;
}
.afes-place-text {
    padding-top: 16px;
    font-size: 20px;
    position: relative;
    color: rgba(255,255,255,0.87);
}
.afes-place-text:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 30px;
    height: 4px;
    border-radius: 99px;
    background: white;
}
.afes-title-box-1,
.afes-title-box-2 {
    margin-top: 2px;
    height: 100px;
    overflow: hidden;
}
.afes-title-1,
.afes-title-2 {
    font-weight: 600;
    font-size: 72px;
    font-family: 'Oswald', sans-serif;
    color: rgba(255,255,255,0.87);
    line-height: 1;
    margin: 0;
    padding: 0;
}
.afes-desc {
    margin-top: 16px;
    width: 500px;
    max-width: 90vw;
    line-height: 1.6;
    font-size: 15px;
    color: rgba(255,255,255,0.87);
}
.afes-cta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 24px;
    width: 500px;
    max-width: 90vw;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Bookmark button ─────────────────────────────────────── */
.afes-bookmark {
    border: none;
    background: #ecad29;
    width: 48px;
    height: 48px;
    border-radius: 99px;
    color: white;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: -webkit-transform 0.2s, box-shadow 0.2s;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 0;
}
.afes-bookmark:hover {
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.afes-bookmark svg,
.afes-bookmark i {
    width: 18px;
    height: 18px;
    font-size: 18px;
    display: block;
}
.afes-bookmark.afes-hidden { display: none; }

/* ── Discover button ─────────────────────────────────────── */
.afes-discover {
    border: 1px solid #ffffff;
    background: transparent;
    height: 40px;
    border-radius: 99px;
    color: #ffffff;
    padding: 4px 24px;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    -webkit-transition: background 0.2s, color 0.2s;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.afes-discover:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    text-decoration: none;
}

/* ── Indicator ───────────────────────────────────────────── */
.afes-indicator {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    z-index: 60;
    background: #ecad29;
}

/* ── Pagination ──────────────────────────────────────────── */
.afes-pagination {
    position: absolute;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 60;
}
.afes-arrow {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.33);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition: border-color 0.2s, background 0.2s;
    transition: border-color 0.2s, background 0.2s;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.afes-arrow:hover { background: rgba(255,255,255,0.08); }
.afes-arrow-right { margin-left: 20px; }
.afes-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    color: rgba(255,255,255,0.6);
}
.afes-progress-container {
    margin-left: 24px;
    width: 400px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.afes-progress-bg {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 99px;
    overflow: hidden;
}
.afes-progress-fg {
    height: 3px;
    background: #ecad29;
    border-radius: 99px;
    width: 0%;
}
.afes-slide-numbers {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: relative;
    z-index: 60;
}
.afes-slide-item {
    width: 50px;
    height: 50px;
    position: absolute;
    color: white;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

/* ── Cover (intro) ──────────────────────────────────────── */
.afes-cover {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: #111;
    z-index: 100;
}

/* ── Editor preview placeholder ─────────────────────────── */
.elementor-editor-active .afes-wrapper::before {
    content: '✦ Express Slider — AI FreePremium Tools';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.4);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    z-index: 200;
    pointer-events: none;
    text-align: center;
    white-space: nowrap;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .afes-title-1,
    .afes-title-2 {
        font-size: 52px !important;
    }
    .afes-title-box-1,
    .afes-title-box-2 {
        height: 70px !important;
    }
    .afes-details {
        left: 30px !important;
        top: 180px !important;
    }
    .afes-desc,
    .afes-cta {
        width: 420px !important;
        max-width: 70vw !important;
    }
    .afes-progress-container {
        width: 200px !important;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    .afes-title-1,
    .afes-title-2 {
        font-size: 38px !important;
    }
    .afes-title-box-1,
    .afes-title-box-2 {
        height: 50px !important;
    }
    .afes-details {
        left: 16px !important;
        top: 120px !important;
    }
    .afes-desc,
    .afes-cta {
        width: 90vw !important;
        max-width: 90vw !important;
    }
    .afes-progress-container {
        width: 100px !important;
    }
    .afes-pagination {
        left: 16px !important;
    }
    .afes-place-text { font-size: 15px; }
    .afes-desc { font-size: 13px !important; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .afes-title-1,
    .afes-title-2 {
        font-size: 30px !important;
    }
    .afes-title-box-1,
    .afes-title-box-2 {
        height: 40px !important;
    }
    .afes-discover {
        font-size: 10px;
        padding: 4px 16px;
    }
}
