@charset "UTF-8";
.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;
  }
}
.meltingpot-modal .tab-content {
  padding: 0px;
}
.meltingpot-modal .menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.meltingpot-modal .menu-content .wp-block-table, .meltingpot-modal .menu-content table {
  width: 100%;
  border-collapse: collapse;
}
.meltingpot-modal .menu-content .wp-block-table tbody tr, .meltingpot-modal .menu-content table tbody tr {
  border-bottom: 1px solid var(--wp--preset--color--primary-light);
}
.meltingpot-modal .menu-content .wp-block-table tbody tr td, .meltingpot-modal .menu-content table tbody tr td {
  padding: var(--wp--preset--spacing--x-small) 0;
}
.meltingpot-modal .menu-content .wp-block-table tbody tr td:last-child, .meltingpot-modal .menu-content table tbody tr td:last-child {
  text-align: right;
  padding-left: var(--wp--preset--spacing--small);
}
.meltingpot-modal .menu-content .wp-block-table thead, .meltingpot-modal .menu-content table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* Empêche le retour à la ligne */
  border: 0;
}
.meltingpot-modal .menu-content-category {
  gap: var(--wp--preset--spacing--x-small);
}
.meltingpot-modal .menu-content-category ul {
  margin-top: 0px;
}
.meltingpot-modal .allergen-info-block {
  margin-left: calc(-1 * var(--wp--preset--spacing--large));
  margin-right: calc(-1 * var(--wp--preset--spacing--large));
  margin-bottom: calc(-1 * var(--wp--preset--spacing--large));
  margin-top: var(--wp--preset--spacing--large);
}

.tabs-primary {
  padding-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  transform: translateX(-32px);
  border-bottom: 0px solid var(--wp--preset--color--secondary-border);
}
.tabs-primary button {
  font-size: var(--wp--preset--font-size--x-large);
  font-family: var(--wp--preset--font-family--heading);
  text-transform: uppercase;
  color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary-border);
  border-width: 1px;
  border-style: solid;
  border-radius: 500px;
  padding: 0.25rem 1rem;
  transition: all 0.3s ease;
  background-color: white;
  cursor: pointer;
}
.tabs-primary button.is-active {
  border-color: var(--wp--preset--color--primary);
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}
.tabs-primary button:first-of-type {
  padding-left: var(--wp--preset--spacing--large);
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.tabs-primary button:hover, .tabs-primary button:focus {
  background-color: var(--wp--preset--color--primary-dark);
  color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--primary-dark);
}

/* 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);
  }
}