/* Independent homepage banner. PSD: 1920 x 696 hero, 199 x 114 cards. */
.legacy-banner, .newbanner [hidden] { display: none !important; }
.newbanner { position: relative; width: 100%; background: #fff; }
.newbanner *, .newbanner *::before, .newbanner *::after { box-sizing: border-box; }
.newbanner-stage { position: relative; width: 100%; aspect-ratio: 1920 / 696; overflow: hidden; background: #e8e4df; }
.newbanner-slides { width: 100%; height: 100%; }
.newbanner-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .65s ease, visibility .65s; }
.newbanner-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.newbanner-slide picture, .newbanner-slide a, .newbanner-slide img, .newbanner-slide video { display: block; width: 100%; height: 100%; }
.newbanner-slide img, .newbanner-slide video { object-fit: cover; }
.newbanner-navigation { position: relative; width: 66.67%; max-width: 1280px; margin: 0 auto; padding: 40px 0 0; }
.newbanner-viewport { overflow: hidden; padding: 16px 6px 16px; margin: -16px -6px -16px; }
.newbanner-track { display: flex; gap: 14px; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.newbanner-thumb { position: relative; display: block; flex: 0 0 calc((100% - 70px) / 6); min-width: 0; padding: 0; border: 0; border-radius: 20px; background: #eee; aspect-ratio: 199 / 114; cursor: pointer; opacity: .7; transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease; }
.newbanner-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.newbanner-thumb::after { content: ''; position: absolute; inset: -4px; border: 2px solid transparent; border-radius: 24px; transition: border-color .25s; }
.newbanner-thumb[aria-selected="true"] { opacity: 1; }
.newbanner-thumb[aria-selected="true"]::after { border-color: #e1001f; }
.newbanner-thumb:focus-visible { outline: 2px solid #e1001f !important; outline-offset: 8px; }
@media (hover: hover) {
 .newbanner-thumb:hover { opacity: 1; transform: translateY(-6px); box-shadow: 0 8px 15px #0002; }
}
.newbanner-arrow { position: absolute; top: 40px; width: 38px; height: 38px; margin-top: calc((min(66.67vw, 1280px) - 70px) / 6 * .286 - 19px); border: 0; border-radius: 50%; background: #f0f0f0; transition: background .2s; }
.newbanner-prev { left: -60px; }
.newbanner-next { right: -60px; }
.newbanner-arrow::after { content: ''; display: block; width: 9px; height: 9px; border-top: 2px solid #555; border-right: 2px solid #555; margin: auto; transform: rotate(45deg); }
.newbanner-prev::after { transform: rotate(-135deg); }
.newbanner-arrow:hover { background: #e4e4e4; }
.newbanner button:disabled { opacity: .3; cursor: default; }
.newbanner button:focus-visible { outline: 2px solid #e1001f !important; outline-offset: 4px; }
.newbanner-sound { position: absolute; right: 50px; top: 50px; z-index: 3; width: 44px; height: 44px; border: 0; background: url(../images/btn_pause.png) center / contain no-repeat; }
.newbanner-sound[aria-pressed="true"] { background-image: url(../images/btn_play.png); }
.newbanner-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; padding: 12px 24px; border: 1px solid #fff; border-radius: 24px; color: #fff; background: #0009; font-size: 16px; }
.newbanner-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 1023px) {
 .newbanner-navigation { width: 82%; padding: 28px 0 0; }
 .newbanner-track { gap: 12px; }
 .newbanner-thumb { flex-basis: calc((100% - 36px) / 4); border-radius: 12px; }
 .newbanner-thumb::after { border-radius: 16px; }
 .newbanner-arrow { top: 28px; margin-top: calc((82vw - 36px) / 4 * .286 - 19px); width: 30px; height: 30px; }
 .newbanner-prev { left: -36px; } .newbanner-next { right: -36px; }
 .newbanner-sound { right: 20px; top: 20px; }
}
@media (max-width: 600px) {
 .newbanner-navigation { width: 78%; padding: 24px 0 0; }
 .newbanner-stage { aspect-ratio: 1920 / 896; }
 .newbanner-thumb { flex-basis: calc((100% - 24px) / 3); border-radius: 10px; }
 .newbanner-thumb::after { border-radius: 14px; }
 .newbanner-arrow { top: 24px; margin-top: calc((78vw - 24px) / 3 * .286 - 15px); }
 .newbanner-sound { width: 32px; height: 32px; top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
 .newbanner-slide, .newbanner-thumb, .newbanner-track { transition: none; }
}
