/* VISO Roundtable — Past Topics list (hero panel) */

:root {
    --viso-navy: #071A2B;
    --viso-accent: #1677FF;
    --viso-accent-hover: #125fd1;
    --viso-gold: #D3BF05;
    --viso-gold-soft: #beb805;
}

/* Space Past Topics heading from the Future Topics list above it */
.viso-hero .future-topics-box > .text-white + h4 {
    margin-top: 1.2rem;
}

/*
 * Theme sets `ul, li { list-style: circle }` and left margin on li.
 * Override both the ul and each li so markers cannot sit outside the rows.
 */
.viso-hero .future-topics-box ul.viso-past-topics-list,
.viso-hero .future-topics-box ul.viso-past-topics-list > li,
.viso-hero .future-topics-box .viso-past-topics-list,
.viso-hero .future-topics-box .viso-past-topics-list__item {
    list-style: none !important;
    list-style-type: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.viso-hero .future-topics-box ul.viso-past-topics-list > li::marker,
.viso-hero .future-topics-box .viso-past-topics-list__item::marker,
.viso-hero .future-topics-box ul.viso-past-topics-list > li::before,
.viso-hero .future-topics-box .viso-past-topics-list__item::before {
    content: none !important;
    display: none !important;
}

.viso-hero .future-topics-box .viso-past-topics-list {
    display: flex;
    flex-direction: column;
    margin: 0.1rem 0 0 !important;
    padding: 0 !important;
}

.viso-hero .future-topics-box .viso-past-topics-list__item {
    margin: 0 !important;
    padding: 0 !important;
}

.viso-past-topics-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.35rem;
    padding: 0.45rem 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    color: #fff;
    background: transparent;
    border-radius: 0;
    transition: background 0.18s ease, color 0.18s ease;
}

.viso-past-topics-list__item:last-child .viso-past-topics-list__row {
    border-bottom: 0;
    padding-bottom: 0.1rem;
}

.viso-past-topics-list__row--link:hover,
.viso-past-topics-list__row--link:focus {
    background: transparent;
    color: #fff;
    text-decoration: none;
}

.viso-past-topics-list__row--link:hover .viso-past-topics-list__label,
.viso-past-topics-list__row--link:focus .viso-past-topics-list__label {
    color: var(--viso-gold-soft);
}

.viso-past-topics-list__row--link:focus {
    outline: 2px solid var(--viso-gold-soft);
    outline-offset: 3px;
    border-radius: 0.25rem;
}

.viso-past-topics-list__label {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 1.15rem;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
}

/* Hollow circle marker, aligned with Future Topics bullets */
.viso-past-topics-list__label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 0.42em;
    height: 0.42em;
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-sizing: border-box;
}

.viso-past-topics-list__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    color: var(--viso-gold);
    background: rgba(211, 191, 5, 0.12);
    border: 1px solid rgba(211, 191, 5, 0.4);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.viso-past-topics-list__action i {
    font-size: 0.62rem;
}

.viso-past-topics-list__row--link:hover .viso-past-topics-list__action,
.viso-past-topics-list__row--link:focus .viso-past-topics-list__action {
    color: var(--viso-navy);
    background: var(--viso-gold);
    border-color: var(--viso-gold);
}

@media (max-width: 420px) {
    .viso-past-topics-list__action__text {
        display: none;
    }

    .viso-past-topics-list__action {
        padding: 0.32rem;
        width: 1.7rem;
        height: 1.7rem;
        gap: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .viso-past-topics-list__row,
    .viso-past-topics-list__action {
        transition: none;
    }
}
