/* Section highlight animation for smooth TOC scrolling */
@keyframes section-flash {
    0% {
        background-color: rgba(0, 122, 204, 0.15);
    }

    100% {
        background-color: transparent;
    }
}

.section-highlight {
    animation: section-flash 1.5s ease-out;
    border-radius: 4px;
}

/* Videos and iframes are lazy-loaded via page-performance.js */

/* Allow tables to size columns naturally, wrap only at word boundaries */
table {
    table-layout: auto;
    overflow-wrap: normal;
    word-break: normal;
}