/* Mobile-first styles */
.falf-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.falf-container {
  display: flex;
  gap: 10px;
  flex-direction: column;
  height: auto;
  background-color: white;
  overflow: hidden;
}

.left {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rowx {
  display: flex;
/*  flex-direction: column;*/
  gap: 10px;
}

.falf-image-container {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.falf-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay Styles */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  background-color: rgba(191, 219, 254, 0.3);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  color: white;
}

.overlay div {
  display: flex;
  flex-direction: column;
}

.overlay p {
  margin: 0;
}

.overlay p:first-child {
  font-weight: bold;
}

.overlay img {
  width: 30px;
  height: 30px;
}

/* Tablet styles */
/* @media (min-width: 480px) {
  .left {
      height: 300px;
  }
} */
@media (min-width: 768px) {
  .left {
    height: 100%;
  }
}


@media (min-width: 768px) {
  .right {
      display: grid;
      grid-template-rows: repeat(2, 1fr);
  }

  .rowx {
      display: grid;
      gap: 10px;
  }

  .rowx:first-child {
      grid-template-columns: 2fr 1fr;
  }

  .rowx:last-child {
      grid-template-columns: 1fr 2fr;
  }
}

/* Desktop styles */
@media (min-width: 1024px) {
  .falf-container {
      display: grid;
      grid-template-columns: 1fr 2fr;
  }
}

@media (min-width: 1280px) {
  .falf-container {
      grid-template-columns: 1fr 3fr;
  }
}
