﻿/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

section.draggable-slider-container {
  width: 100%;
  max-width: 1920px;
  padding-block: 3rem;
  overflow: hidden;
  --widget-color: #886c2b;
}

section.draggable-slider-container .inner {
  position: relative;
  display: block;
  max-width: 1140px;
  margin-inline: auto;
  overflow: hidden;
  z-index: 10;
}

@media (max-width: 1170px) {
  section.draggable-slider-container {
    padding-block: 2rem;
    padding-inline: 0;
  }

  section.draggable-slider-container .inner {
    margin-inline: 24px;
    overflow: visible;
  }
}

.draggable-slider-cover {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 1920px;
  height: 100%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

body.skin-layout .draggable-slider-cover {
  width: 100%;
}

.draggable-slider-cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

section.draggable-slider-container .feed-title {
  border: none;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
}

section.draggable-slider-container .feed-title h2 {
  color: #fff;
}

.fd_sponsor {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  background-color: white;
  font-weight: 700;
  font-size: 1.5rem;
}

@media (max-width: 640px) {
  section.draggable-slider-container .feed-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
  }

  section.draggable-slider-container .feed-title h2 {
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 1.8rem;
  }

  section.draggable-slider-container .feed-title h2 a {
    display: block;
    width: 100%;
  }

  .fd_sponsor {
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
    font-size: 1.1rem;
    padding: 0.55rem 1.1rem;
  }
}

/* CATEGORIES SLIDER */
.draggable-slider {
  position: relative;
  width: 7000px;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.draggable-slider .slide {
  background-color: #fff;
  border: 4px solid white;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 360px;
  flex: 0 1 360px;
  border-radius: 2rem;
  overflow: hidden;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .draggable-slider .slide {
    -ms-flex-preferred-size: 270px;
    flex-basis: 270px;
  }
}

.draggable-slider .slide a.slide-image {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16/11;
  overflow: hidden;
}

.draggable-slider a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  -webkit-transition: opacity 0.3s ease, -webkit-filter 0.3s ease;
  transition: opacity 0.3s ease, -webkit-filter 0.3s ease;
  -o-transition: filter 0.3s ease, opacity 0.3s ease;
  transition: filter 0.3s ease, opacity 0.3s ease;
  transition: filter 0.3s ease, opacity 0.3s ease, -webkit-filter 0.3s ease;
}

.draggable-slider .slide a.slide-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(136, 108, 43, 0)), to(rgba(136, 108, 43, 0.22)));
  background: -o-linear-gradient(top, rgba(136, 108, 43, 0) 0%, rgba(136, 108, 43, 0.22) 100%);
  background: linear-gradient(180deg, rgba(136, 108, 43, 0) 0%, rgba(136, 108, 43, 0.22) 100%);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.draggable-slider .slide .slide-content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.draggable-slider .slide .slide-content .title {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 640px) {
  .draggable-slider .slide .slide-content {
    padding: 1rem;
  }

  .draggable-slider .slide .slide-content .title {
    font-size: 1.05rem;
  }
}

.draggable-slider .slide .slide-content .title a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: color 0.25s ease, text-decoration-color 0.25s ease;
  -o-transition: color 0.25s ease, text-decoration-color 0.25s ease;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
}

.draggable-slider .slide:hover .slide-content .title a,
.draggable-slider .slide .slide-content .title a:hover {
  color: var(--widget-color);
  text-decoration-color: currentColor;
}

.draggable-slider .slide:hover a.slide-image::after,
.draggable-slider .slide a.slide-image:hover::after {
  opacity: 1;
}

.draggable-slider .slide:hover a.slide-image img,
.draggable-slider .slide a.slide-image:hover img {
  -webkit-filter: saturate(1.08) brightness(0.92);
  filter: saturate(1.08) brightness(0.92);
}

.draggable-slider .slide .slide-content .cta {
  margin-top: auto;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 100%;

  background-color: var(--widget-color);
  text-align: center;
  padding-block: 10px 13px;
  border-radius: 50vw;
  text-decoration: none;
  color: white;
  line-height: 1;
}

/* SLIDER DRAGGER */
.draggable-slider-container .dragger {
  position: relative;
  display: block;
  width: 100%;
  height: 70px;
  margin: 24px auto 0;
}

.draggable-slider-container .dragger::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: 3px;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  background-color: white;
  opacity: 0.5;
}

.draggable-slider-container .handle {
  position: absolute;
  display: inline-block;
  /* // width from js */
  height: 100%;
  cursor: -webkit-grab;
  cursor: grab;
  z-index: 10;
}

.draggable-slider-container .handle span {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background-color: #fff;
  -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

.draggable-slider-container .handle span::after,
.draggable-slider-container .handle span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 6px solid transparent;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
}

.draggable-slider-container .handle span::after {
  border-right: 9px solid var(--widget-color);
  margin-left: -10px;
}

.draggable-slider-container .handle span::before {
  border-left: 9px solid var(--widget-color);
  margin-left: 10px;
}
