.references-section {
  min-height: 290px;
  padding: 4rem 6.25rem;
  position: relative;
}
@media (min-width: 1536px) {
  .references-section {
    padding-left: 12.5rem;
  }
}
@media (max-width: 1023px) {
  .references-section {
    padding: 3rem 2rem;
  }
}
@media (max-width: 767px) {
  .references-section {
    padding: 2rem 1rem;
  }
}

/* Horizontal carousel layout */
.references-section__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.references-section__viewport::-webkit-scrollbar {
  display: none;
}

.references-section__track {
  display: flex;
}

.references-section__slide {
  flex: 0 0 50%;
  padding: 40px 20px 24px 60px;
  box-sizing: border-box;
  scroll-snap-align: start;
}

@media (max-width: 1023px) {
  .references-section__slide {
    flex-basis: 100%;
    padding: 34px 10px 20px 46px;
  }
}

@media (max-width: 767px) {
  .references-section__slide {
    padding: 24px 4px 14px 36px;
  }
}

.references-section__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  cursor: pointer;
  z-index: 5;
  position: absolute;
  background: linear-gradient(90deg, #4d3325 19.46%, #f0ba93 66.17%, #462b1e 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.references-section__nav::after {
  content: "";
  position: absolute;
  inset: 3px;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: rgba(12, 8, 6, 0.9);
  z-index: 0;
}

.references-section__nav:hover {
  transform: translateY(-50%) scale(1.04);
  filter: brightness(1.08);
}

.references-section__nav:focus-visible {
  outline: 2px solid #f0ba93;
  outline-offset: 4px;
}

.references-section__nav::before {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: #eab58f;
  text-shadow: 0 0 10px rgba(234, 181, 143, 0.18);
}

.references-section__nav--prev {
  left: 0;
}

.references-section__nav--prev::before {
  content: "\2039";
  transform: translateX(-1px);
}

.references-section__nav--next {
  right: 0;
}

.references-section__nav--next::before {
  content: "\203A";
  transform: translateX(1px);
}

@media (max-width: 1023px) {
  .references-section__nav {
    top: 205px;
    width: 60px;
    height: 60px;
  }

  .references-section__nav::after {
    inset: 2.5px;
  }

  .references-section__nav::before {
    font-size: 42px;
  }

  .references-section__nav--prev {
    left: 8px;
  }

  .references-section__nav--next {
    right: 8px;
  }
}

@media (max-width: 767px) {
  .references-section__nav {
    top: 154px;
    width: 56px;
    height: 56px;
  }

  .references-section__nav::after {
    inset: 2.5px;
  }

  .references-section__nav::before {
    font-size: 40px;
  }
}
.references-section__item {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
@media (max-width: 767px) {
  .references-section__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
}
.references-section__image {
  min-width: 262px;
  height: 262px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
@media (max-width: 767px) {
  .references-section__image {
    min-width: 200px;
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
}
.references-section__image--dorothea {
  background-image: url("../imgs/referenciak/dorothea_nyitokep.jpg");
}
.references-section__image--attila99 {
  background-image: url("../imgs/referenciak/attila99_nyitokep.jpg");
}
.references-section__image--kare {
  background-image: url("../imgs/referenciak/01_KARE.jpg");
}
.references-section__image--minotti {
  background-image: url("../imgs/referenciak/01_code_minotti.jpg");
}
.references-section__image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.5;
  background: linear-gradient(45deg, rgba(143, 119, 106, 0.5) 0%, rgb(10, 10, 10) 50%, rgba(143, 119, 106, 0.5) 100%);
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
  z-index: 1;
}
.references-section__image-border {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.references-section__image-border--top {
  top: -33px;
  left: -51px;
}
.references-section__image-border--bottom {
  bottom: -20px;
  left: -32px;
}
@media (max-width: 1023px) {
  .references-section__image-border--top {
    top: -30px;
    left: -44px;
  }
}
@media (max-width: 767px) {
  .references-section__image-border--top {
    top: -22px;
    left: -34px;
  }

  .references-section__image-border--bottom {
    bottom: -14px;
    left: -20px;
  }
}
.references-section__image-border svg {
  display: block;
  overflow: visible;
  width: 261px;
  height: 262px;
}
@media (max-width: 767px) {
  .references-section__image-border svg {
    width: 200px;
    height: 200px;
  }
}
.references-section__image-border svg rect {
  stroke-dasharray: 1040;
  stroke-dashoffset: 1040;
  stroke-linecap: square;
  stroke-linejoin: miter;
  transition: stroke-dashoffset 1.2s ease-out 0.3s;
}
.references-section__image.in-view .references-section__image-border svg rect {
  stroke-dashoffset: -2;
}
.references-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.references-section__title {
  font-size: 2rem;
  text-align: left;
  font-weight: 800;
  color: white;
  margin-bottom: 2rem;
  text-decoration: none;
}
.references-section__title:hover {
  color: #EAB58F;
  transition: color 0.3s ease;
}
@media (max-width: 767px) {
  .references-section__title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
  }
}
.references-section__description {
  font-size: 1rem;
  text-align: left;
  color: white;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 767px) {
  .references-section__description {
    text-align: left;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    font-size: 0.9rem;
  }
}
.references-section__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.references-section__link:hover .references-section__title {
  color: #EAB58F;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/*# sourceMappingURL=references-section.css.map */
