/* SCSS Variables */
/* Mixins */
.hero-columns {
  gap: var(--wp--preset--spacing--x-small);
}
.hero-columns .hero-left-column {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--large);
}

@media (min-width: 782px) {
  .wp-block-youthhostels-page-hero h1, .wp-block-youthhostels-page-hero .wp-block-buttons,
  .wp-block-youthhostels-meltingpot-hero h1,
  .wp-block-youthhostels-meltingpot-hero .wp-block-buttons {
    margin-right: -12.5%;
  }
}

.wp-block-youthhostels-meltingpot-hero .landing-hero-left-column,
.wp-block-youthhostels-page-hero .landing-hero-left-column {
  order: 2;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-meltingpot-hero .landing-hero-left-column,
  .wp-block-youthhostels-page-hero .landing-hero-left-column {
    order: 1;
  }
}
.wp-block-youthhostels-meltingpot-hero .landing-hero-right-column,
.wp-block-youthhostels-page-hero .landing-hero-right-column {
  z-index: -1;
  position: relative;
  overflow: visible;
  order: 1;
  min-height: 250px;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-meltingpot-hero .landing-hero-right-column,
  .wp-block-youthhostels-page-hero .landing-hero-right-column {
    order: 2;
  }
}
.wp-block-youthhostels-meltingpot-hero .landing-hero-right-column .wp-block-post-featured-image,
.wp-block-youthhostels-page-hero .landing-hero-right-column .wp-block-post-featured-image {
  position: absolute;
  left: -2rem;
  right: -2rem;
  top: 0;
  transform: translateY(calc(-1 * var(--wp--preset--spacing--xx-large)));
  /*mask:url("../../assets/shapes/landing-hero-shape-rotate.svg") no-repeat 0% 100% / 100% 150%;
  -webkit-mask:url("../../assets/shapes/landing-hero-shape-rotate.svg") no-repeat 0% 100% / 100% 150%;*/
  margin-bottom: 0px;
  mask: url("../../assets/shapes/landing-hero-shape-rotate.svg") no-repeat 50% 60%/100% 100vw;
  -webkit-mask: url("../../assets/shapes/landing-hero-shape-rotate.svg") no-repeat 50% 60%/100% 100vw;
  margin-bottom: 0px;
  height: 100%;
  aspect-ratio: unset;
  min-width: 105vw;
}
@media (min-width: 599px) {
  .wp-block-youthhostels-meltingpot-hero .landing-hero-right-column .wp-block-post-featured-image,
  .wp-block-youthhostels-page-hero .landing-hero-right-column .wp-block-post-featured-image {
    min-width: 100%;
    aspect-ratio: unset;
    height: 250px;
    mask: url("../../assets/shapes/landing-hero-shape-rotate.svg") no-repeat 50% 100%/200% 200%;
    -webkit-mask: url("../../assets/shapes/landing-hero-shape-rotate.svg") no-repeat 50% 100%/200% 200%;
  }
}
@media (min-width: 782px) {
  .wp-block-youthhostels-meltingpot-hero .landing-hero-right-column .wp-block-post-featured-image,
  .wp-block-youthhostels-page-hero .landing-hero-right-column .wp-block-post-featured-image {
    left: 0;
    top: 0;
    right: calc(-1 * (100vw - 100%));
    height: calc(100% + 2 * var(--wp--preset--spacing--xxxxxx-large));
    transform: translateY(calc(-1 * var(--wp--preset--spacing--xxxxxx-large)));
    mask: url("../../assets/shapes/landing-hero-shape.svg") no-repeat 0% 60%/100% 200%;
    -webkit-mask: url("../../assets/shapes/landing-hero-shape.svg") no-repeat 0% 60%/100% 200%;
  }
}
@media (min-width: 991px) {
  .wp-block-youthhostels-meltingpot-hero .landing-hero-right-column .wp-block-post-featured-image,
  .wp-block-youthhostels-page-hero .landing-hero-right-column .wp-block-post-featured-image {
    mask: url("../../assets/shapes/landing-hero-shape.svg") no-repeat 20% 50%/120% 100%;
    -webkit-mask: url("../../assets/shapes/landing-hero-shape.svg") no-repeat 20% 50%/120% 100%;
    width: 50vw;
    right: -2rem;
    left: 0;
  }
}
@media (min-width: 1199px) {
  .wp-block-youthhostels-meltingpot-hero .landing-hero-right-column .wp-block-post-featured-image,
  .wp-block-youthhostels-page-hero .landing-hero-right-column .wp-block-post-featured-image {
    mask: url("../../assets/shapes/landing-hero-shape.svg") no-repeat 50% 50%/100% 100%;
    -webkit-mask: url("../../assets/shapes/landing-hero-shape.svg") no-repeat 50% 50%/100% 100%;
  }
}
@media (min-width: 1399px) {
  .wp-block-youthhostels-meltingpot-hero .landing-hero-right-column .wp-block-post-featured-image,
  .wp-block-youthhostels-page-hero .landing-hero-right-column .wp-block-post-featured-image {
    mask: url("../../assets/shapes/landing-hero-shape.svg") no-repeat 50% 50%/50vw 50vw;
    -webkit-mask: url("../../assets/shapes/landing-hero-shape.svg") no-repeat 50% 50%/50vw 50vw;
  }
}
.wp-block-youthhostels-meltingpot-hero .landing-hero-right-column .wp-block-post-featured-image picture,
.wp-block-youthhostels-page-hero .landing-hero-right-column .wp-block-post-featured-image picture {
  height: 100%;
  width: 100%;
}
.wp-block-youthhostels-meltingpot-hero .landing-hero-right-column .wp-block-post-featured-image img,
.wp-block-youthhostels-page-hero .landing-hero-right-column .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-meltingpot-hero .landing-hero-right-column .wp-block-post-featured-image img,
  .wp-block-youthhostels-page-hero .landing-hero-right-column .wp-block-post-featured-image img {
    transform: rotate(0deg);
  }
}

/* SCSS Variables */
/* Mixins */
.yh-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow-y: auto;
}
.yh-modal.fade-in {
  animation: yh-modal-side-fade-in 0.3s ease-out forwards;
}
.yh-modal.fade-out {
  animation: yh-modal-side-fade-out 0.3s ease-in forwards;
}
.yh-modal-close {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  top: var(--wp--preset--spacing--small);
  padding: var(--wp--preset--spacing--small);
  right: var(--wp--preset--spacing--small);
  backdrop-filter: blur(10px);
  border-radius: 99999px;
  overflow: hidden;
  aspect-ratio: 1/1;
  z-index: 1;
}
.yh-modal-close i {
  font-weight: bold;
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--x-large);
}
.yh-modal-close i::after {
  font-weight: bold !important;
}
.yh-modal .modal-content {
  background-color: white;
  width: 80%;
  max-width: 768px;
  position: relative;
  max-height: 80vh;
  overflow-y: hidden;
}
.yh-modal .modal-content-wrapper {
  max-height: 100%;
  overflow-y: scroll;
}
.yh-modal .modal-content i.yh-icon-close {
  color: var(--wp--preset--color--black);
}
.yh-modal .modal-title {
  margin-top: 0px;
  margin-bottom: 0px;
}
.yh-modal .modal-body, .yh-modal .modal-title {
  padding: var(--wp--preset--spacing--large);
}
.yh-modal .modal-body {
  padding-top: 0px;
}

body.modal-is-open,
body.yh-modal-side-open {
  overflow: hidden;
}

@keyframes yh-modal-side-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes yh-modal-side-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.wp-block-youthhostels-hostel-hero .layered-image-wrapper {
  width: calc(100% + var(--wp--style--root--padding-right) * 2);
  height: auto;
  height: 300px;
  min-height: 300px;
}
@media (min-width: 599px) {
  .wp-block-youthhostels-hostel-hero .layered-image-wrapper {
    aspect-ratio: 390/132;
  }
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .layered-image-wrapper {
    max-height: 480px;
    height: 60vh;
    aspect-ratio: auto;
  }
}
@media (min-width: 991px) {
  .wp-block-youthhostels-hostel-hero .layered-image-wrapper {
    max-height: 640px;
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-columns {
  gap: var(--wp--preset--spacing--xxxxxx-large);
  margin-block-start: 0;
  z-index: 2;
  position: relative;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-columns {
    flex-direction: row;
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-columns .anchor-buttons {
  transform: translateY(-27px);
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-columns .anchor-buttons {
    transform: translateY(-27px);
  }
}
@media (min-width: 991px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-columns .anchor-buttons {
    transform: translateY(-50%);
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-columns .anchor-buttons .wp-block-button__link br {
  display: none;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-columns .anchor-buttons .wp-block-button__link br {
    display: inline;
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-left-column {
  z-index: 1;
  flex-basis: 100% !important;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-left-column {
    flex-basis: 66.66% !important;
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns {
  gap: var(--wp--preset--spacing--medium);
  flex-direction: row;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns {
    flex-direction: column;
  }
}
@media (min-width: 991px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns {
    flex-direction: row;
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns > .wp-block-column > .wp-block-group {
  align-items: center;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns > .wp-block-column > .wp-block-group {
    align-items: flex-start;
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns > .wp-block-column > .wp-block-group h2 {
  order: 2;
  width: 100%;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns > .wp-block-column > .wp-block-group h2 {
    order: 1;
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns > .wp-block-column > .wp-block-group h2 br {
  display: none;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns > .wp-block-column > .wp-block-group h2 br {
    display: inline;
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns > .wp-block-column > .wp-block-group .wp-block-youthhostels-hostel-single-map {
  order: 1;
  gap: 0;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-left-column .wp-block-columns > .wp-block-column > .wp-block-group .wp-block-youthhostels-hostel-single-map {
    order: 2;
    gap: inherit;
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-right-column {
  flex-basis: 100% !important;
  z-index: 1;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-right-column {
    z-index: 0;
    flex-basis: 33.33% !important;
    transform: translate(-4rem, -18%);
  }
}
.wp-block-youthhostels-hostel-hero .hostel-hero-price-bubble {
  position: relative;
  display: none;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-price-bubble {
    display: block;
    z-index: 4;
    transform: translate(3rem, -3rem);
  }
}
@media (min-width: 991px) {
  .wp-block-youthhostels-hostel-hero .hostel-hero-price-bubble {
    transform: translate(0%, -2rem);
  }
}
.wp-block-youthhostels-hostel-hero .booking-info-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-left: 1rem;
  padding-right: 1rem;
  flex-direction: column;
  gap: 1rem;
  width: calc(100% - 2rem);
  padding-right: 0px;
}
@media (min-width: 599px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: calc(100% - 3rem);
  }
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container {
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    padding-left: 25%;
  }
}
.wp-block-youthhostels-hostel-hero .booking-info-container::before {
  content: "";
  display: block;
  mask: url("../../assets/shapes/shape-01-03.svg") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("../../assets/shapes/shape-01-03.svg") no-repeat center;
  -webkit-mask-size: contain;
  position: absolute;
  height: auto;
  background: var(--wp--preset--color--secondary);
  aspect-ratio: 314/257;
  top: 0;
  left: -15%;
  width: 160%;
  height: auto;
  transform: rotate(-20deg) translateY(-12%);
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container::before {
    mask: url("../../assets/shapes/shape-hostel-booking.svg") no-repeat center;
    -webkit-mask: url("../../assets/shapes/shape-hostel-booking.svg") no-repeat center;
    aspect-ratio: 727/600;
    top: 0rem;
    left: 0rem;
    width: 727px;
    background: var(--wp--preset--color--secondary-light);
    transform: rotate(0deg) translateY(0px);
  }
}
@media (min-width: 991px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container::before {
    top: 0;
    width: 880px;
  }
}
.wp-block-youthhostels-hostel-hero .booking-info-container .wp-block-youthhostels-animated-arrow {
  pointer-events: none;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container .wp-block-youthhostels-animated-arrow {
    display: none;
  }
}
.wp-block-youthhostels-hostel-hero .booking-info-container .booking-info-text {
  display: none;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container .booking-info-text {
    display: block;
    transform: rotate(0);
    font-family: var(--wp--preset--font-family--heading);
  }
}
.wp-block-youthhostels-hostel-hero .booking-info-container .booking-info-icon {
  display: block;
  position: absolute;
  right: 180px;
  top: 40px;
  z-index: 1;
  pointer-events: none;
}
@media (min-width: 599px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container .booking-info-icon {
    right: 190px;
    top: 30px;
  }
}
@media (min-width: 599px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container .booking-info-icon {
    left: 58%;
    right: auto;
    top: 10%;
  }
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container .booking-info-icon {
    display: none;
  }
}
.wp-block-youthhostels-hostel-hero .booking-info-container .booking-info-icon i {
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--xxx-large);
}
.wp-block-youthhostels-hostel-hero .booking-info-container .arrow-small {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  transform: translate(-1rem, -4.5rem) rotate(-20deg) scale(-1);
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container .arrow-small {
    transform: translate(-4.5rem, 3.5rem) rotate(83.65deg) scale(1);
  }
}
.wp-block-youthhostels-hostel-hero .booking-info-container .arrow-small path {
  stroke: var(--wp--preset--color--white);
}
@media (min-width: 782px) {
  .wp-block-youthhostels-hostel-hero .booking-info-container .arrow-small path {
    stroke: var(--wp--preset--color--secondary);
  }
}
.wp-block-youthhostels-hostel-hero .booking-info-container .arrow-small path:first-child {
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  transition: stroke-dashoffset 3s 0.5s ease-in-out;
}
.wp-block-youthhostels-hostel-hero .booking-info-container .arrow-small path:nth-child(2) {
  opacity: 0;
  transition: opacity 0.5s ease-in-out 1.2s;
}
.wp-block-youthhostels-hostel-hero .booking-info-container .arrow-small.is-animating {
  opacity: 1;
}
.wp-block-youthhostels-hostel-hero .booking-info-container .arrow-small.is-animating path:first-child {
  stroke-dashoffset: 0;
}
.wp-block-youthhostels-hostel-hero .booking-info-container .arrow-small.is-animating path:nth-child(2) {
  opacity: 1;
}