/* Full-width centered cover strip with uniform side covers. */
body.home #bd-popular-week {
  --bd-popular-card: 170px;
  --swiper-wrapper-transition-timing-function: cubic-bezier(.22,.61,.36,1);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
body.home #bd-popular-week .bd-popular-heading {
  display: none;
  justify-content: center;
  padding: 0 0 12px;
  text-align: center;
}
body.home #bd-popular-week .bd-popular-eyebrow {
  margin: 0 0 6px;
  color: var(--bd-ui-muted);
  font-size: 12px;
  font-weight: 400;
}
body.home #bd-popular-week .bd-korean-top-title {
  margin: 0;
  color: var(--bd-ui-text);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}
body.home #bd-popular-week .bd-korean-top-title > span { color: var(--bd-ui-accent); }
body.home #bd-popular-week .bd-popular-swiper {
  position: relative;
  width: var(--bd-stage-width, 100%);
  max-width: none;
  left: 50%;
  transform: translateX(-50%);
  isolation: isolate;
  background: transparent;
  min-width: 0;
  margin-inline: auto;
  overflow: hidden;
  touch-action: pan-y;
}
body.home #bd-popular-week .bd-korean-top-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  gap: 14px;
  margin: 0;
  padding: 44px 0;
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--bd-ui-accent) transparent;
}
body.home #bd-popular-week .swiper-initialized .bd-korean-top-grid {
  gap: 0;
  overflow: visible;
  scroll-snap-type: none;
}
body.home #bd-popular-week .bd-korean-top-card {
  position: relative;
  flex: 0 0 var(--bd-popular-card);
  width: var(--bd-popular-card);
  max-width: none;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  float: none;
  scroll-snap-align: center;
  transform-origin: center center;
}
body.home #bd-popular-week .swiper-initialized .bd-korean-top-card {
  opacity: var(--bd-slide-opacity, 1);
  pointer-events: none;
  transition-property: transform, opacity;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function);
}
body.home #bd-popular-week .swiper-initialized .bd-popular-visible { pointer-events: auto; }
body.home #bd-popular-week .item-thumb {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  float: none;
  border-radius: 8px;
  aspect-ratio: 170 / 243;
  background: var(--bd-ui-surface-raised);
  isolation: isolate;
}
body.home #bd-popular-week .item-thumb::before { display: none; }
body.home #bd-popular-week .item-thumb a { height: 100%; }
body.home #bd-popular-week .item-thumb img { transition: transform 360ms ease; }
body.home #bd-popular-week .bd-popular-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: #fff;
}
body.home #bd-popular-week .swiper-initialized .bd-popular-caption {
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}
body.home #bd-popular-week .swiper-slide-active .bd-popular-caption {
  opacity: 1;
  visibility: visible;
}
body.home #bd-popular-week .bd-popular-rank {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,.8);
  color: #fff;
  font: 500 11px/1.2 'Kanit', sans-serif;
}
body.home #bd-popular-week .bd-popular-rank::before { content: '#'; color: var(--bd-ui-accent-link); }
body.home #bd-popular-week .bd-korean-top-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 32px 7px 7px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  pointer-events: auto;
}
body.home #bd-popular-week .bd-korean-top-card-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.home #bd-popular-week .swiper-notification {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.home #bd-popular-week a:focus-visible,
body.home #bd-popular-track:focus-visible {
  outline: 2px solid var(--bd-ui-accent);
  outline-offset: -2px;
}
@media (hover: hover) {
  body.home #bd-popular-week .swiper-slide-active .item-thumb:hover img { transform: scale(1.025); }
  body.home #bd-popular-week a:hover { color: var(--bd-ui-accent-link); }
}
@media (max-width: 600px) {
  body.home #bd-popular-week { --bd-popular-card: clamp(116px, 32vw, 150px); }
  body.home #bd-popular-week .bd-popular-heading { padding-bottom: 10px; }
  body.home #bd-popular-week .bd-korean-top-grid { padding: 36px 0; }
  body.home #bd-popular-week .bd-korean-top-card-title { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home #bd-popular-week *, body.home #bd-popular-week *::before { transition-duration: 0ms !important; }
}
