#banners {
  white-space: nowrap;
}

#banners img {
  border-radius: 4px;
}

#banners .lateral-banners {
  white-space: nowrap;
  overflow-x: auto;
  display: none;
}

#banners .central-banner {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 16px;
}

#banners .main-banner, #banners .main-banner a {
  width: 100%;
  display: flex;
}

#banners .main-banner img {
  width: 782px;
  max-width: 100%;
  aspect-ratio: 1000 / 782;
}

#banners .bottom-banners {
  height: 94px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 16px;
}

#banners .bottom-banners a {
  display: flex;
}

#banners .bottom-banners img {
  width: 250px;
}

@media (min-width: 650px) {
  .bottom-banners {
    display: none !important;
  }

  #banners .central-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
  }

  #banners .main-banner {
    flex-basis: calc(56% - 8px);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
  }

  #banners .main-banner img {
    width: 100%;
  }

  #banners .lateral-banners {
    width: 100%;
    flex-basis: calc(44% - 8px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
  }

  #banners .item {
    width: 100%;
  }

  #banners .lateral-banners img {
    width: 100%;
    height: 100%;
    aspect-ratio: 800 / 250;
  }
}
