/* SCSS Variables */
/* Mixins */
.wp-block-youthhostels-hostel-legends {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: var(--wp--preset--spacing--small);
}
.wp-block-youthhostels-hostel-legends .hostel-legends-title {
  font-size: var(--wp--preset--font-size--base);
  font-family: var(--wp--preset--font-family--heading);
  margin: 0px;
}
.wp-block-youthhostels-hostel-legends .hostel-legends-content {
  display: flex;
  flex-direction: row;
  gap: var(--wp--preset--spacing--x-small);
  flex-wrap: wrap;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-legends .hostel-legends-content {
    flex-wrap: nowrap;
    gap: var(--wp--preset--spacing--medium);
  }
}
.wp-block-youthhostels-hostel-legends .hostel-legends-content h3 {
  width: 150px;
  font-size: var(--wp--preset--font-size--small);
  margin-block-start: 0.5rem;
  margin-block-end: 0.5rem;
}
.wp-block-youthhostels-hostel-legends .hostel-legends-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--wp--preset--spacing--medium, 2rem);
  align-items: flex-start;
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  min-width: 80px;
  max-width: 120px;
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item span {
  font-size: var(--wp--preset--font-size--small);
  font-family: var(--wp--preset--font-family--heading);
  line-height: 1.2;
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item .service-icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item .service-icon-container i {
  font-size: var(--wp--preset--font-size--x-large);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item:not(.hostel-legends-activity) .service-icon-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  background-color: var(--wp--preset--color--primary);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  width: 48px;
  height: 56px;
  transform: translate(-50%, -50%);
  opacity: 0.4;
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item:not(.hostel-legends-activity) .service-icon-container.shape-1::before {
  -webkit-mask-image: url("../../assets/shapes/icon-back-01.svg");
  mask-image: url("../../assets/shapes/icon-back-01.svg");
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item:not(.hostel-legends-activity) .service-icon-container.shape-2::before {
  -webkit-mask-image: url("../../assets/shapes/icon-back-02.svg");
  mask-image: url("../../assets/shapes/icon-back-02.svg");
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item:not(.hostel-legends-activity) .service-icon-container.shape-3::before {
  -webkit-mask-image: url("../../assets/shapes/icon-back-03.svg");
  mask-image: url("../../assets/shapes/icon-back-03.svg");
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item:not(.hostel-legends-activity) .service-icon-container.shape-4::before {
  -webkit-mask-image: url("../../assets/shapes/icon-back-04.svg");
  mask-image: url("../../assets/shapes/icon-back-04.svg");
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item.hostel-legends-activity .service-icon-container {
  background-color: var(--wp--preset--color--green);
  border-radius: 50%;
}
.wp-block-youthhostels-hostel-legends .hostel-legends-item.hostel-legends-activity .service-icon-container i {
  color: var(--wp--preset--color--white);
}