.smyk-bt {
  padding-block: var(--smyk-section-py);
  background: #fff;
}
.smyk-bt__wrap {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* Header row: heading on the left, carousel arrows on the right */
.smyk-bt__head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.smyk-bt__header {
  max-width: 720px;
}

/* Circular carousel nav buttons — mirrors the Travinger top-destinations style */
.smyk-bt__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.smyk-bt__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  color: #222222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.smyk-bt__nav-btn:hover {
  border-color: #e41d56;
  color: #e41d56;
  box-shadow: 0 6px 14px -6px rgba(228, 29, 86, 0.45);
  transform: translateY(-1px);
}
.smyk-bt__nav-btn:active { transform: translateY(0); }
.smyk-bt__nav-btn:focus-visible {
  outline: 2px solid #e41d56;
  outline-offset: 2px;
}
.smyk-bt__nav-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.smyk-bt__nav-btn[disabled]:hover {
  border-color: #e5e7eb;
  color: #222222;
  box-shadow: none;
  transform: none;
}
.smyk-bt__heading {
  font-family: var(--smyk-font, inherit);
  font-size: clamp(1.3rem, 2.4vw, 32px);
  font-weight: 800;
  color: #222222;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 10px;
}
.smyk-bt__subtitle {
  font-size: clamp(14px, 1.1vw, 17px);
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Horizontal-scroll rail of cards */
.smyk-bt__rail {
  display: grid;
  grid-auto-flow: column;
  /* Fixed-ish card width so the rail scrolls as a strip of small cards
     (a stretchy 1fr would just fill the row and never scroll). */
  grid-auto-columns: clamp(230px, 24vw, 285px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(20px, 4vw, 48px);
  padding-block-end: 16px;
  margin-inline: calc(-1 * clamp(20px, 4vw, 48px));
  padding-inline: clamp(20px, 4vw, 48px);
  /* Slim scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}
.smyk-bt__rail::-webkit-scrollbar {
  height: 8px;
}
.smyk-bt__rail::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 100px;
}
.smyk-bt__rail::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 100px;
}
.smyk-bt__rail::-webkit-scrollbar-thumb:hover {
  background: #5b6472;
}

/* Card */
.smyk-bt__card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  transition: background-color .2s, border-color .2s;
}
.smyk-bt__card:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}
.smyk-bt__card:focus-visible {
  outline: 3px solid #e41d56;
  outline-offset: 3px;
}

.smyk-bt__card-img-wrap {
  position: relative; /* positioning context for the decorative frame overlay */
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  margin-bottom: 16px;
  aspect-ratio: 16 / 11;
}

/* Decorative frame overlaid on every card image: brand-crimson wave + white
   dashed flight path + climbing plane. Consistent across all cards. */
.smyk-bt__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.smyk-bt__frame-wave {
  fill: var(--smyk-orange, #e41d56); /* site primary brand colour */
}
.smyk-bt__frame-trail {
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 12 11;
}
.smyk-bt__frame-plane {
  fill: #ffffff;
}
.smyk-bt__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.smyk-bt__card-img--placeholder {
  background: linear-gradient(135deg, #effafa 0%, #fdf4ff 100%);
}

.smyk-bt__card-title {
  font-family: var(--smyk-font, inherit);
  font-size: 0.95rem;
  font-weight: 700;
  color: #222222;
  line-height: 1.35;
  margin: 0 4px 4px;
  letter-spacing: -0.005em;
  /* Clamp to 3 lines so cards stay equal height */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer CTA */
.smyk-bt__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.smyk-bt__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--smyk-font, inherit);
  font-size: 1rem;
  font-weight: 700;
  color: #222222;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: color .2s;
}
.smyk-bt__cta:hover {
  color: #e41d56;
}

.smyk-bt__empty {
  text-align: center;
  color: #6b7280;
  padding: 40px 0;
}

/* Responsive — card sizing tweaks */
@media (max-width: 768px) {
  .smyk-bt__nav { display: none; } /* native swipe on touch */
  .smyk-bt__rail {
    grid-auto-columns: minmax(230px, 78vw);
    gap: 14px;
  }
  .smyk-bt__card { padding: 12px; }
  .smyk-bt__card-img-wrap { margin-bottom: 12px; }
  .smyk-bt__card-title { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .smyk-bt__rail {
    grid-auto-columns: minmax(220px, 85vw);
  }
}
