/* ============================================================
   Arman_Knows - Facts Slider Styles
   ============================================================ */

.knows-slider-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.knows-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    outline: none;
}

/* -- Slides -- */
.knows-slides {
    position: relative;
    min-height: 80px;
}

.knows-slide {
    display: none;
    padding: 18px 56px 18px 20px;
    align-items: center;
    gap: 16px;
    background-color: #1E3A5F;
    color: #fff;
}

.knows-slide--active {
    display: flex;
}

/* -- Icon -- */
.knows-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.knows-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* -- Body -- */
.knows-body {
    flex: 1;
    min-width: 0;
}

.knows-title {
    margin: 0 0 4px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.knows-content {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.knows-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    border: 1px solid currentColor;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.knows-cta:hover,
.knows-cta:focus {
    opacity: 1;
    text-decoration: none;
}

/* -- Navigation -- */
.knows-navigation {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.knows-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: inherit;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s;
    padding: 0;
}

.knows-btn:hover,
.knows-btn:focus {
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

/* Hide nav when only one slide */
.knows-slider[data-single] .knows-navigation {
    display: none;
}

/* -- Dots -- */
.knows-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.knows-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.knows-dot--active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.25);
}

/* -- Animations -- */

/* Fade */
.knows-slide.knows-anim--fade {
    animation: knowsFadeIn 0.4s ease forwards;
}

@keyframes knowsFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Slide */
.knows-slide.knows-anim--slide {
    animation: knowsSlideIn 0.35s ease forwards;
}

@keyframes knowsSlideIn {
    from { transform: translateX(30px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* Bounce */
.knows-slide.knows-anim--bounce {
    animation: knowsBounceIn 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

@keyframes knowsBounceIn {
    0%   { transform: translateY(-8px); opacity: 0; }
    60%  { transform: translateY(4px);  opacity: 1; }
    100% { transform: translateY(0); }
}

/* -- Responsive -- */
@media (max-width: 767px) {
    .knows-slide {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 14px 40px;
    }

    .knows-navigation {
        bottom: 8px;
        right: 8px;
    }

    .knows-icon {
        width: 36px;
        height: 36px;
    }
}
