.cse-showcase {
  --cse-primary: #a1920f;
  --cse-text: #1f1f1f;
  --cse-muted: #666;
  --cse-line: #222;
  --cse-card-height: 230px;
  --cse-radius: 4px;
  --cse-gap: 22px;
  --cse-cards: 4;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: var(--cse-text);
  font-family: inherit;
}

.cse-showcase,
.cse-showcase * {
  box-sizing: border-box;
}

.cse-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--cse-line);
}

.cse-heading {
  min-width: 0;
}

.cse-eyebrow {
  margin: 0 0 9px;
  color: var(--cse-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cse-title {
  margin: 0;
  color: var(--cse-text);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.cse-subtitle {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--cse-muted);
  font-size: 16px;
  line-height: 1.55;
}

.cse-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cse-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: color .2s ease, transform .2s ease;
}

.cse-more:hover {
  color: var(--cse-primary);
  transform: translateX(3px);
}

.cse-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.cse-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cse-gap) * (var(--cse-cards) - 1))) / var(--cse-cards));
  gap: var(--cse-gap);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 12px;
  scrollbar-width: none;
}

.cse-track::-webkit-scrollbar {
  display: none;
}

.cse-card {
  position: relative;
  display: block;
  height: var(--cse-card-height);
  min-height: 160px;
  overflow: hidden;
  border-radius: var(--cse-radius);
  background: #111;
  scroll-snap-align: start;
  text-decoration: none !important;
  transform: translateZ(0);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.cse-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .42s ease, filter .42s ease;
}

.cse-card:hover img {
  transform: scale(1.08);
  filter: contrast(1.05) saturate(1.06);
}

.cse-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.34) 45%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.cse-card-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: block;
  color: #fff;
}

.cse-card-title {
  display: block;
  margin: 0 0 4px;
  color: #fff;
  font-size: 18px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.cse-card-desc {
  display: block;
  color: rgba(255,255,255,.86);
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 600;
}

.cse-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: rgba(20,20,20,.92);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.cse-arrow:hover {
  background: var(--cse-primary);
}

.cse-arrow-prev {
  left: 10px;
}

.cse-arrow-next {
  right: 10px;
}

@media (max-width: 1024px) {
  .cse-track {
    grid-auto-columns: calc((100% - var(--cse-gap)) / 2.2);
  }
}

@media (max-width: 767px) {
  .cse-header {
    display: block;
    padding-bottom: 22px;
    margin-bottom: 24px;
  }

  .cse-title {
    font-size: clamp(34px, 12vw, 46px);
    line-height: 1;
  }

  .cse-subtitle {
    font-size: 15px;
  }

  .cse-more {
    margin-top: 16px;
    font-size: 13.5px;
  }

  .cse-track {
    grid-auto-columns: 82%;
    gap: 14px;
    padding-bottom: 10px;
  }

  .cse-card {
    height: min(62vw, 310px);
    min-height: 210px;
  }

  .cse-card-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .cse-card-title {
    font-size: 17px;
  }

  .cse-card-desc {
    font-size: 13px;
  }

  .cse-arrow {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .cse-arrow-prev {
    left: 6px;
  }

  .cse-arrow-next {
    right: 6px;
  }
}

@media (max-width: 420px) {
  .cse-track {
    grid-auto-columns: 88%;
  }
}
