.fd-carousel {
  --fd-desktop: 4;
  --fd-tablet: 2;
  --fd-mobile: 1;
  --fd-visible: var(--fd-desktop);
  --fd-gap: 28px;
  --fd-image-height: 430px;
  box-sizing: border-box;
  width: 100%;
  padding: 18px 8px 10px;
  color: #111;
}
.fd-carousel *, .fd-carousel *::before, .fd-carousel *::after { box-sizing: border-box; }
.fd-heading-wrap { display: flex; justify-content: center; margin: 0 0 46px; }
.fd-heading {
  display: inline-block;
  margin: 0;
  padding: 5px 28px 7px;
  border: 4px solid #111;
  border-radius: 999px;
  color: #111;
  font-family: inherit;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
}
.fd-viewport { position: relative; overflow: hidden; touch-action: pan-y; }
.fd-track { display: flex; gap: var(--fd-gap); transition: transform .48s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.fd-card { flex: 0 0 calc((100% - (var(--fd-visible) - 1) * var(--fd-gap)) / var(--fd-visible)); min-width: 0; margin: 0; }
.fd-card-link { display: block; color: inherit; text-decoration: none; }
.fd-card-link:hover, .fd-card-link:focus { color: inherit; text-decoration: none; }
.fd-image-wrap { height: var(--fd-image-height); overflow: hidden; border-radius: 22px; background: #eee; }
.fd-image { display: block; width: 100%; height: 100% !important; max-height: none !important; object-fit: cover; transition: transform .35s ease; }
.fd-card-link:hover .fd-image { transform: scale(1.025); }
.fd-image-placeholder { display: grid; height: 100%; place-items: center; color: #777; }
.fd-card-title { margin: 24px 8px 0; color: #111; font-family: inherit; font-size: clamp(22px, 2vw, 34px); font-weight: 400; line-height: 1.08; text-align: center; text-transform: uppercase; }
.fd-arrow {
  position: absolute; top: calc(var(--fd-image-height) / 2); z-index: 2; width: 44px; height: 72px; padding: 0;
  transform: translateY(-50%); border: 0; border-radius: 0; background: rgba(17,17,17,.78); color: #fff;
  font-size: 34px; line-height: 1; cursor: pointer; opacity: .92;
}
.fd-arrow:hover, .fd-arrow:focus { background: #111; color: #fff; }
.fd-prev { left: 0; }
.fd-next { right: 0; }
.fd-arrow:disabled { opacity: .25; cursor: default; }
.fd-dots { display: flex; min-height: 14px; justify-content: center; gap: 13px; margin-top: 34px; }
.fd-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #ccc; cursor: pointer; }
.fd-dot.is-active { background: #111; }
.fd-empty { padding: 20px; border: 1px dashed #aaa; text-align: center; }
@media (max-width: 1024px) { .fd-carousel { --fd-visible: var(--fd-tablet); } .fd-heading-wrap { margin-bottom: 32px; } }
@media (max-width: 767px) {
  .fd-carousel { --fd-visible: var(--fd-mobile); --fd-image-height: min(var(--fd-image-height), 430px); padding-inline: 2px; }
  .fd-heading { border-width: 3px; font-size: clamp(27px, 9vw, 42px); padding-inline: 20px; }
  .fd-heading-wrap { margin-bottom: 25px; }
  .fd-card-title { font-size: 24px; }
  .fd-arrow { width: 38px; height: 62px; }
}
@media (prefers-reduced-motion: reduce) { .fd-track, .fd-image { transition: none; } }

