/* LearnLoonie Topic Slider — inserted right under .ll-header via JS. */
.llts {
    position: relative;
    background: linear-gradient(135deg, var(--ll-teal-deep, #0d5c55) 0%, var(--ll-ink, #0b2f2c) 100%);
    color: var(--ll-white, #ffffff);
    overflow: hidden;
    border-bottom: 1px solid rgba(245, 184, 61, 0.25);
}

.llts-kicker {
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 3;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ll-gold, #f5b83d);
    opacity: 0.85;
}

.llts-viewport {
    overflow: hidden;
}

.llts-track {
    display: flex;
    transition: transform 0.55s ease;
    will-change: transform;
}

.llts-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 20px var(--ll-gutter, 24px);
    min-height: 108px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.llts-slide:hover .llts-cta,
.llts-slide:focus-visible .llts-cta {
    background: var(--ll-gold-deep, #b45309);
}

.llts-mark {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ll-gold, #f5b83d);
    color: var(--ll-ink, #0b2f2c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ll-serif, Georgia, serif);
    font-weight: 700;
    font-size: 22px;
}

.llts-copy {
    text-align: left;
    max-width: 560px;
}

.llts-name {
    display: block;
    font-family: var(--ll-serif, Georgia, serif);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 650;
    line-height: 1.15;
}

.llts-tag {
    display: block;
    margin-top: 4px;
    font-size: clamp(13px, 1.8vw, 15px);
    color: var(--ll-mint, #d7f5f0);
}

.llts-cta {
    flex: 0 0 auto;
    background: var(--ll-gold, #f5b83d);
    color: var(--ll-ink, #0b2f2c);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.llts-prev,
.llts-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(11, 47, 44, 0.45);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.llts-prev { left: 10px; }
.llts-next { right: 10px; }

.llts-prev:hover,
.llts-next:hover {
    background: rgba(11, 47, 44, 0.8);
}

.llts-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.llts-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
}

.llts-dot[aria-selected="true"] {
    background: var(--ll-gold, #f5b83d);
}

@media (max-width: 640px) {
    .llts-slide {
        flex-wrap: wrap;
        gap: 10px;
        padding: 16px 48px 26px;
        min-height: 132px;
        text-align: center;
    }
    .llts-copy {
        text-align: center;
        flex: 1 1 100%;
    }
    .llts-mark { display: none; }
}
