/* Ajouter ou ajuster ces styles dans chap-3.css */

#chap-3 .chart {
    align-items: stretch;
}

#chap-3 .chart-window {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    grid-column: 6 / 12;
    background: var(--Black-25);
    height: 100%;
    min-height: 0;
}

#chap-3 .window-titlebar {
    border-bottom: 2px solid var(--Black-25);
    background: var(--Black-50);
    padding: 24px;
  }

#chap-3 .chart .aside {
    grid-column: 2 / 6;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chap-3 .chart-wrapper {
    position: relative;
}

#chap-3 .chart-switch {
    position: absolute;
    z-index: 2;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    aspect-ratio: 1 / 1;
    width: 160px;
    height: 160px;
}

#chap-3 .scroll-wheel {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
}

#chap-3 .chart-container {
    flex-direction: column;
    gap: 96px;
    padding: 64px 64px 48px 64px;
    margin: 0;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    display: flex;
}

#chap-3 figcaption {
    text-align: center;
    text-wrap: balance;
    min-height: 120px;
    flex-shrink: 0;
}

#chap-3 .caption-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

#chap-3 .caption-legend {
    font-size: 0.875rem;
    color: var(--White-50);
    margin-top: 8px;
}

#chap-3 .chart-wrapper {
    aspect-ratio: 2 / 1;
    width: 100%;
}

#chap-3 .trivia-card {
    grid-column: 4 / span 6;
}

#chap-3 .trivia h3 {
    grid-column: 4 / span 6;
    text-align: center;
}