.video-library { padding-top: 2.5rem; padding-bottom: 5rem; }
.video-topics { display: flex; flex-wrap: wrap; gap: .25rem 1.85rem; padding-bottom: 2rem; }
.video-topics a { display: inline-flex; align-items: baseline; gap: .45rem; min-height: 44px; max-width: 100%; padding: .65rem 0; border-bottom: 1px solid transparent; color: #5d6969; font-size: .85rem; line-height: 1.5; text-decoration: none; transition: color .18s ease, border-color .18s ease; overflow-wrap: anywhere; }
.video-topics a:hover, .video-topics a:focus-visible { border-bottom-color: #a77b45; color: #805a31; }
.video-topics span { color: #737b74; font-size: .65rem; font-variant-numeric: tabular-nums; transform: translateY(-.25em); }
.video-section { scroll-margin-top: 6rem; margin-bottom: 3.5rem; }
.video-section:last-child { margin-bottom: 0; }
.video-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid #dce0d9; }
.video-section-heading h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); margin: 0; overflow-wrap: anywhere; }
.video-section-heading > span { color: #66737a; white-space: nowrap; font-size: .8rem; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.video-card { border: 1px solid #dce0d9; border-radius: .5rem; overflow: hidden; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.video-card .ratio { background: #18272d; }
.video-card iframe { border: 0; }
.video-loading { display: none; }
.video-loading-enabled .video-loading { display: flex; align-items: center; justify-content: center; background: #18272d; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.video-player.is-loaded .video-loading { opacity: 0; visibility: hidden; }
.video-loading-spinner { width: 1.5rem; height: 1.5rem; border: 2px solid rgb(255 255 255 / 15%); border-top-color: rgb(255 255 255 / 65%); border-radius: 50%; animation: video-loading-spin 1s linear infinite; }
.video-player.is-loaded .video-loading-spinner { animation: none; }
@keyframes video-loading-spin { to { transform: rotate(360deg); } }
.video-card-copy { padding: 1.25rem; display: flex; flex-direction: column; align-items: start; flex-grow: 1; }
.video-card h3 { font-size: 1rem; line-height: 1.5; margin: 0 0 1rem; overflow-wrap: anywhere; }
.video-card-copy > a { margin-top: auto; color: #805a31; font-size: .8rem; text-decoration: none; }
.video-card-copy > a:hover { text-decoration: underline; }
.video-library a:focus-visible { outline: 2px solid #805a31; outline-offset: 4px; }
@media (max-width: 991px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .video-grid { grid-template-columns: minmax(0, 1fr); }
    .video-section-heading { align-items: start; }
    .video-topics { gap: .1rem 1.25rem; padding-bottom: 1.5rem; }
    .video-library { padding-top: 1.5rem; padding-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .video-topics a, .video-loading-enabled .video-loading { transition: none; }
    .video-loading-spinner { animation: none; }
}
