.cards__slideshow_container {
    padding: 10px 20px 10px 20px;
    margin: 10px auto;
    max-width: 800px;
}

.cards__slideshow_items {
    display: grid;
}

.cards__slideshow_item {
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.cards__slideshow_item.active {
    opacity: 1;
    transition: opacity 0.7s ease-in-out 0.7s;
    pointer-events: auto;
    z-index: 2;
}

.cards__slideshow_controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.cards__slideshow_arrow {
    width: 30px;
    height: 30px;
}
.cards__slideshow_dots {
    display: flex;
    gap: 10px;
}

.cards__slideshow_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d0d7de;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cards__slideshow_dot.active {
    background-color: #3399cc;
}

/* Fact specific styles for slideshow */
.cards__slideshow_fact_wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.cards__slideshow_fact_header {
    padding-bottom: 0;
}

.cards__slideshow_fact_content {
    padding-top: 0;
}

.cards__slideshow_fact_icon {
    background: radial-gradient(circle closest-side at center, #3399cc36, transparent);
}

.cards__slideshow_fact_icon i {
    color: #3399cc;
    font-size: 10pt;
}

.cards__slideshow_fact_text {
    font-size: 10pt;
    font-weight: 500;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.5;
}

.cards__slideshow_fact_source {
    font-size: 9pt;
    color: #888;
}

.cards__slideshow_fact_source a {
    text-decoration: none;
}

