
/* AllSkyKamera Community Recap Slider v1.1 */

.ask-recap-community-shell {
    width:100%;
    box-sizing:border-box;
    margin:0 0 16px;
    border:1px solid #456b95;
    border-radius:17px;
    background:
        radial-gradient(
            ellipse at 12% 18%,
            #31588480,
            transparent 58%
        ),
        linear-gradient(
            110deg,
            #142e4f,
            #122137 65%,
            #101b2c
        );
    color:#e4efff;
}

.ask-recap-community-shell .ask-recap-banner {
    border:0;
    border-radius:16px 16px 0 0;
    margin:0;
    background:transparent;
    box-shadow:none;
}

.ask-recap-community-shell .ask-recap-banner:hover {
    background:#ffffff04;
}

.ask-community-recaps {
    box-sizing:border-box;
    padding:16px 20px 18px;
    border-top:1px solid #ffffff20;
}

.ask-community-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.ask-community-heading-text {
    flex:1;
    min-width:0;
}

.ask-community-heading h2 {
    margin:0 0 4px;
    color:#e4efff;
    font-size:17px;
    font-weight:700;
    line-height:1.3;
}

.ask-community-heading p {
    margin:0;
    color:#b5cce6;
    font-size:12px;
    line-height:1.4;
}

.ask-community-controls {
    display:flex;
    align-items:center;
    gap:5px;
    flex-shrink:0;
}

.ask-community-controls[hidden] {
    display:none!important;
}

.ask-community-controls button {
    display:flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    padding:0;
    border:1px solid #50749b;
    border-radius:50%;
    background:#1b324d;
    color:#c5e1ff;
    font-size:22px;
    line-height:1;
    cursor:pointer;
}

.ask-community-controls
button[data-recap-action="pause"] {
    font-size:11px;
}

.ask-community-controls button:hover,
.ask-community-controls button:focus-visible {
    background:#315b86;
    border-color:#a8d7ff;
}

.ask-community-track {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 50px) / 6);
    gap:10px;

    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;

    scrollbar-width:thin;
    scrollbar-color:#456b95 transparent;

    padding:2px 0 7px;
}

.ask-community-card {
    display:flex;
    flex-direction:column;
    min-width:0;

    border:1px solid #3c5978;
    border-radius:9px;

    background:#101e31;
    color:#e4efff!important;
    text-decoration:none!important;

    overflow:hidden;
    scroll-snap-align:start;
    transition:border-color .2s,background .2s;
}

.ask-community-card:hover,
.ask-community-card:focus-visible {
    border-color:#a8d7ff;
    background:#1d344e;
}

.ask-community-image {
    width:100%;
    aspect-ratio:1200 / 630;
    background:linear-gradient(135deg,#203e61,#101c2e);
    overflow:hidden;
}

.ask-community-image img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}

.ask-community-card-body {
    display:flex;
    flex-direction:column;
    flex:1;
    padding:8px 10px;
}

.ask-community-name {
    display:block;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    font-size:12px;
    font-weight:650;
}

.ask-community-id {
    color:#9db6d2;
    font-size:10px;
    margin-top:2px;
}

.ask-community-link {
    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:4px;
    margin-top:auto;
    padding-top:7px;

    color:#a8d7ff;
    font-size:11px;
}

@media(max-width:1100px) {

    .ask-community-track {
        grid-auto-columns:calc((100% - 30px) / 4);
    }

}

@media(max-width:850px) {

    .ask-community-track {
        grid-auto-columns:calc((100% - 20px) / 3);
    }

}

@media(max-width:575px) {

    .ask-recap-community-shell {
        border-radius:14px;
    }

    .ask-community-recaps {
        padding:12px 10px 10px;
    }

    .ask-community-heading {
        gap:7px;
    }

    .ask-community-heading h2 {
        font-size:14px;
    }

    .ask-community-heading p {
        font-size:11px;
    }

    .ask-community-controls {
        gap:3px;
    }

    .ask-community-controls button {
        width:25px;
        height:25px;
        font-size:18px;
    }

    .ask-community-track {
        grid-auto-columns:calc((100% - 10px) / 2);
    }

    .ask-community-card-body {
        padding:7px 8px;
    }

}

@media(prefers-reduced-motion:reduce) {

    .ask-community-card {
        transition:none;
    }

}
