.section-resep {
  width: 100%;
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #0e3579;
  position: relative;
  z-index: 0;
  padding-top: 5rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

.modal-backdrop {
  z-index: -1 !important;
}

.modal {
  z-index: 1 !important;
}

.modal-content iframe {
  z-index: 1 !important;
}

.section-resep .container .container-title {
  padding-top: 2rem;
  padding-bottom: 0rem;
}

.section-resep .container .container-title img {
  width: auto;
  height: 2.5rem;
}

.section-resep .container .container-title h1 {
  color: #ffde59;
  font-size: 36px;
  font-weight: 700;
  padding-top: 0.5rem;
}

.container-link {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.thumbnail {
  position: relative;
  z-index: 0;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bg-thumbnail {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.title-resep {
  font-size: 1.2rem;
  padding-top: 1rem;
  font-weight: 400;
  color: white;
  z-index: 0;
  display: none;
}

.section-resep
  .container
  .swiper-container
  .swiper-slide
  .thumbnail
  .desc-resep {
  display: flex;
  position: absolute;
  z-index: 0;
  bottom: 1rem;
  left: 0;
  flex-direction: row;
  justify-content: end;
  padding-left: 1rem;
  padding-right: 1rem;
  align-items: center;
  width: 100%;
}

.thumbnail:hover .desc-resep {
  justify-content: space-between !important;
  bottom: 0 !important;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.thumbnail:hover .desc-latest-post {
  display: flex;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  flex-direction: row;
  position: absolute;
  align-items: center;
  justify-content: space-between !important;
  bottom: 0 !important;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.thumbnail .desc-latest-post {
  display: flex;
  width: 100%;
  padding-right: 1rem;
  padding-bottom: 1rem;
  flex-direction: row;
  position: absolute;
  align-items: center;
  justify-content: end !important;
  bottom: 0 !important;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.thumbnail:hover .desc-resep .title-resep {
  display: flex !important;
}

.thumbnail:hover .desc-latest-post .title-resep {
  display: flex !important;
}

.row .col-latest-post .thumbnail{
  position: relative;
  width: 100%;
  z-index: 0;
}

.thumbnail:hover {
  transform: scale(1.1) translateY(4.5%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
  filter: blur(0);
  opacity: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  position: relative;
  z-index: 0;
  cursor: pointer;
}

.thumbnail:hover::before {
  content: "";
  position: absolute;
  bottom: 0;  /* Position the accent at the bottom */
  left: 0;
  right: 0;
  height: 100%; /* Adjust the height to cover the entire element */
  background: linear-gradient(to top, black, transparent); /* Creates the gradient from black to transparent */
  transform: scaleX(1);
  transition: transform 0.3s ease;
}
  

.swiper-container {
  width: 100%;
  padding: 20px 0;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swiper-container .swiper-button-prev,
.swiper-container .swiper-button-next {
  position: static !important;
  z-index: 10;
  padding-top: 6rem;
  color: #C71F25;
  font-weight: 800 !important;
}

/* Tablet (lg) */
@media (max-width: 1200px) {
  .section-resep {
    min-height: auto;
  }
}

/* Mobile (md) */
@media (max-width: 768px) {
  .swiper-container {
    width: 100%;
    padding: 2rem;
  }

  .swiper-container .swiper-button-prev,
  .swiper-container .swiper-button-next {
    padding-top: 7rem;
  }

  .section-resep {
    min-height: auto;
  }

  .section-resep .container .container-title h1 {
    font-size: 2rem;
    padding-top: 0.5rem;
  }
}

/* Mobile lebih kecil (sm) */
@media (max-width: 576px) {
}
