.h2a-accessibility-button {
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--heading);
  border-radius: var(--wp--preset--spacing--x-small) !important;
  padding-top: var(--wp--preset--spacing--x-small) !important;
  padding-right: var(--wp--preset--spacing--x-small) !important;
  padding-bottom: var(--wp--preset--spacing--x-small) !important;
  padding-left: var(--wp--preset--spacing--x-small);
}
.h2a-accessibility-panel .h2a-switch[aria-pressed=true] .h2a-switch-track {
  background-color: #F3941E !important;
}
.h2a-accessibility-wrapper {
  order: 10;
}
.h2a-accessibility-wrapper button {
  border: 0px;
}

body.high-contrast {
  --wp--preset--color--primary:#5C6CB1;
  --wp--preset--color--primary-border: var(--wp--preset--color--primary);
  --wp--preset--color--primary-light:#F1F4FA;
  --wp--preset--color--primary-dark:#4A568E;
  --wp--preset--color--secondary:#B65509;
  --wp--preset--color--secondary-border: var(--wp--preset--color--secondary);
  --wp--preset--color--secondary-dark:#924407;
  --wp--preset--color--secondary-light:#FEF4E8;
  --wp--preset--color--tertiary:#AC2528;
  --wp--preset--color--tertiary-border: var(--wp--preset--color--tertiary);
  --wp--preset--color--tertiary-dark:#8A1E20;
  --wp--preset--color--tertiary-light:#F6E9E9;
  --wp--preset--color--yellow:#936D12;
  --wp--preset--color--yellow-border: var(--wp--preset--color--yellow);
  --wp--preset--color--yellow-dark:#76570E;
  --wp--preset--color--yellow-light:#FCFAE7;
  --wp--preset--color--green:#60783D;
  --wp--preset--color--green-border: var(--wp--preset--color--green);
  --wp--preset--color--green-dark:#60783D;
  --wp--preset--color--green-light:#F1F6EC;
  --wp--preset--color--purple:#8A3590;
  --wp--preset--color--purple-border: var(--wp--preset--color--purple);
  --wp--preset--color--purple-light:#F3EBF4;
  --wp--preset--color--purple-dark:#8A3590;
  --wp--preset--color--grey:#A09788;
  --wp--preset--color--pink:#D40058;
}
body.high-contrast .wp-block-button .wp-block-button__link {
  --wp--preset--color--primary:#5C6CB1;
  --wp--preset--color--primary-light:#F1F4FA;
  --wp--preset--color--primary-dark:#4A568E;
  --wp--preset--color--secondary:#B65509;
  --wp--preset--color--secondary-dark:#924407;
  --wp--preset--color--secondary-light:#FEF4E8;
  --wp--preset--color--tertiary:#AC2528;
  --wp--preset--color--tertiary-dark:#8A1E20;
  --wp--preset--color--tertiary-light:#F6E9E9;
  --wp--preset--color--yellow:#936D12;
  --wp--preset--color--yellow-dark:#76570E;
  --wp--preset--color--yellow-light:#FCFAE7;
  --wp--preset--color--green:#60783D;
  --wp--preset--color--green-dark:#60783D;
  --wp--preset--color--green-light:#F1F6EC;
  --wp--preset--color--purple:#8A3590;
  --wp--preset--color--purple-light:#F3EBF4;
  --wp--preset--color--purple-dark:#8A3590;
  --wp--preset--color--grey:#A09788;
  --wp--preset--color--pink:#D40058;
}
body.high-contrast .wp-block-group .is-style-shape-1.is-style-shape-4::before, body.high-contrast .wp-block-group .is-style-shape-2.is-style-shape-4::before, body.high-contrast .wp-block-group .is-style-shape-3.is-style-shape-4::before, body.high-contrast .wp-block-group .is-style-shape-4.is-style-shape-4::before, body.high-contrast .wp-block-group .is-style-shape-5.is-style-shape-4::before {
  opacity: 0.5;
}
body.high-contrast .wp-block-heading .yh-highlight-svg {
  display: none !important;
}
body.high-contrast .has-secondary-color > .rank-math-breadcrumb .last {
  color: var(--wp--preset--color--secondary);
}
body.high-contrast .has-tertiary-color > .rank-math-breadcrumb .last {
  color: var(--wp--preset--color--tertiary);
}
body.high-contrast .has-green-color > .rank-math-breadcrumb .last {
  color: var(--wp--preset--color--green);
}
body.high-contrast .has-purple-color > .rank-math-breadcrumb .last {
  color: var(--wp--preset--color--purple);
}
body.high-contrast .has-grey-color > .rank-math-breadcrumb .last {
  color: var(--wp--preset--color--grey);
}
body.high-contrast .has-pink-color > .rank-math-breadcrumb .last {
  color: var(--wp--preset--color--pink);
}
body.high-contrast .has-yellow-color > .rank-math-breadcrumb .last {
  color: var(--wp--preset--color--yellow);
}
body.high-contrast .home-hero-image .wp-block-heading::before {
  content: url("../../assets/shapes/home-hero-background-contrast.svg") !important;
}

body.reduce-motion:not(.scrolled) .header-button-reservation-big .wp-block-button {
  transform: rotate(-5deg) translateY(-8px) !important;
}
body.reduce-motion .hostel-item:hover img, body.reduce-motion .hostel-item:focus img, body.reduce-motion .activity-item:hover img, body.reduce-motion .activity-item:focus img, body.reduce-motion .event-item:hover img, body.reduce-motion .event-item:focus img, body.reduce-motion .group-activity-item:hover img, body.reduce-motion .group-activity-item:focus img, body.reduce-motion .media-center-item:hover img, body.reduce-motion .media-center-item:focus img, body.reduce-motion .job-item:hover img, body.reduce-motion .job-item:focus img, body.reduce-motion .post-item:hover img, body.reduce-motion .post-item:focus img, body.reduce-motion .persona-item:hover img, body.reduce-motion .persona-item:focus img, body.reduce-motion .catering-offer-item:hover img, body.reduce-motion .catering-offer-item:focus img, body.reduce-motion .activity-type-item:hover img, body.reduce-motion .activity-type-item:focus img, body.reduce-motion .childcare-youth-item:hover img, body.reduce-motion .childcare-youth-item:focus img, body.reduce-motion .birthday-item:hover img, body.reduce-motion .birthday-item:focus img, body.reduce-motion .childcare-youth-type-item:hover img, body.reduce-motion .childcare-youth-type-item:focus img {
  transform: scale(1);
}
body.reduce-motion .wp-block-button:hover, body.reduce-motion .wp-block-button:focus {
  transform: none !important;
}
body.reduce-motion .wp-block-youthhostels-favorites-header-icons button .yh-favorites-counter {
  transform: scale(1) !important;
}