.rvbf {
  position: relative;
}

.rvbf__filters {
  margin-bottom: 160px;
}

@media ( min-width: 768px ) {
  .rvbf__filters {
    margin-bottom: 250px;
  }
}

@media ( min-width: 1024px ) {
  .rvbf__filters {
    margin-bottom: 300px;
  }
}

@media ( min-width: 1280px ) {
  .rvbf__filters {
    margin-bottom: 400px;
  }
}

@media ( min-width: 1700px ) {
  .rvbf__filters {
    margin-bottom: 420px;
  }
}

.rvbf__cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
}

.rvbf__city-card {
  appearance: none;
  border: 1px solid #fff;
  background: transparent;
  border-radius: 24px;
  padding: 0;
  cursor: pointer;
  min-height: 210px;
  transition: all 0.3s ease;
  color: #fff;
}

.rvbf__city-card.is-active,
.rvbf__city-card:hover {
  background: #fff;
  color: #E20613;
  border-radius: 24px;
  transform: scale(1.1);
}

.rvbf__city-icon path {
    transition: fill 0.3s ease;
}

.rvbf__city-card.is-active .rvbf__city-icon .path-circle,
.rvbf__city-card:hover .rvbf__city-icon .path-circle {
  fill: #E20613;
}

.rvbf__city-card.is-active .rvbf__city-icon .path-arrow,
.rvbf__city-card:hover .rvbf__city-icon .path-arrow {
  fill: #ffffff;
}

.rvbf__city-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 16px;
  height: 100%;
}

.rvbf__city-image img,
.rvbf__city-icon img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rvbf__city-image {
  position: relative;
}

.rvbf__city-icon {
  margin-top: -83px;
  z-index: 2;
}

.rvbf__city-name {
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.rvbf__results {
    padding: 0 24px;
}

.rvbf__posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.rvbf-card {
  background: #fff;
  border-radius: 25px 25px 0 25px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.rvbf-card:hover .rvbf-card__image {
    transform: scale(1.02);
}

.rvbf-card__image-link {
  display: block;
}

.rvbf-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 25px !important;
  transition: all 0.3s ease;
}

.rvbf-card__image--placeholder {
  background: #ddd;
}

.rvbf-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.rvbf-card__category {
  color: #E20613;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.rvbf-card__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}


@media ( min-width: 768px ) {
    .rvbf-card__title {
        font-size: 24px;
        line-height: 28px;
    }
}

@media ( min-width: 1024px ) {
    .rvbf-card__title {
        font-size: 26px;
        line-height: 32px;
    }
}

@media ( min-width: 1440px ) {
    .rvbf-card__title {
        font-size: 28px;
        line-height: 34px;
    }
}

@media ( min-width: 1700px ) {
    .rvbf-card__title {
        font-size: 30px;
        line-height: 36px;
    }
}

.rvbf-card__title a {
  color: inherit;
  text-decoration: none;
}

.rvbf-card__title:hover a {
    color: #E20613;
}

.rvbf-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.rvbf-card__button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rvbf-card__button-text {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 2px solid #E20613;
  border-radius: 999px;
  color: #E20613;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.rvbf-card__button:hover .rvbf-card__button-text {
    background-color: #E20613;
    color: #fff;
}

.rvbf-card__button-icon,
.rvbf-card__button-icon-circle,
.rvbf-card__button-icon-arrow {
    transition: all 0.3s ease;
}

.rvbf-card__button:hover .rvbf-card__button-icon {
    transform: rotate(45deg);
}

.rvbf-card__button:hover .rvbf-card__button-icon-circle {
    fill: #E20613
}

.rvbf-card__button:hover .rvbf-card__button-icon-arrow {
    fill: #fff;
}

.rvbf__loadmore-wrap {
  text-align: center;
  margin-top: 40px;
}

.rvbf__loadmore {
  appearance: none;
  border: 2px solid #E20613;
  background: transparent;
  color: #E20613;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 28px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
}

.rvbf__loadmore:hover {
    color: #fff !important;
    background-color: #E20613 !important;
}

.rvbf__empty {
  grid-column: 1 / -1;
  text-align: center;
}

.rvbf.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

@media (max-width: 767px) {
  .rvbf__posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rvbf__cities-grid {
    /* flex-direction: column; */
    flex-direction: row; /* Hotfix - Añadida por pedido del cliente*/
    flex-wrap: nowrap; /* Hotfix - Añadida por pedido del cliente*/
    padding: 0 36px; /* Hotfix - Añadida por pedido del cliente*/
    align-items: center;
    /* gap: 36px;  */
    gap: 20px; /* Hotfix - Modificada por pedido del cliente*/
  }

  .rvbf__city-icon {
    margin-top: -50px; /* Hotfix - Modificada por pedido del cliente*/
  }

  .rvbf__city-icon-svg {
    width: 40px; /* Hotfix - Modificada por pedido del cliente*/
    height: 40px; /* Hotfix - Modificada por pedido del cliente*/
  }

  .rvbf__city-card {
    width: calc(65% - 6px);
    min-height: 180px;
  }

  .rvbf__city-name {
    font-size: 18px;
  }
}