/* SCSS Variables */
/* Mixins */
.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);
}

table tr, table th {
  font-weight: initial;
}

.wp-block-youthhostels-tariff-table .is-highlighted {
  background-color: var(--wp--preset--color--secondary-light) !important;
  color: var(--wp--preset--color--secondary);
  font-weight: bold;
  border-radius: 0.5rem;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-table .is-highlighted {
    border-radius: 0;
  }
}
.wp-block-youthhostels-tariff-table thead th {
  background-color: transparent;
  border-bottom: 1px solid var(--wp--preset--color--secondary-border);
  font-family: var(--wp--preset--font-family--heading);
  text-transform: uppercase;
  font-size: var(--wp--preset--font-size--medium);
  padding: 0.5rem 0;
  font-weight: 400;
}
.wp-block-youthhostels-tariff-table thead th:not(:first-of-type) {
  text-align: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  max-width: 120px;
  width: 20%;
}
.wp-block-youthhostels-tariff-table thead .is-highlighted {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.wp-block-youthhostels-tariff-table tbody tr {
  border-bottom: 1px solid var(--wp--preset--color--secondary-border);
  margin-bottom: 0px;
  padding-bottom: 0px;
}
.wp-block-youthhostels-tariff-table tbody tr:last-of-type .is-highlighted {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.wp-block-youthhostels-tariff-table tbody tr:last-child {
  border-bottom: 0px;
}
.wp-block-youthhostels-tariff-table tbody tr.tariff-content-row th {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
}
.wp-block-youthhostels-tariff-table tbody tr th, .wp-block-youthhostels-tariff-table tbody tr td {
  padding: 0.5rem 0;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-table tbody tr th, .wp-block-youthhostels-tariff-table tbody tr td {
    padding: 0.5rem 0 !important;
  }
}
.wp-block-youthhostels-tariff-table tbody tr p {
  text-align: left;
  padding-top: 0rem;
  padding-bottom: 0rem;
  margin-top: 0;
}
.wp-block-youthhostels-tariff-table tbody tr p:first-of-type {
  margin: 0px;
}
.wp-block-youthhostels-tariff-table tbody .wp-block-youthhostels-tariff-details td {
  max-width: 100%;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-table tbody .wp-block-youthhostels-tariff-details td {
    max-width: 100%;
  }
}
.wp-block-youthhostels-tariff-table tbody td {
  text-align: center;
  max-width: 100%;
  width: 100%;
  padding: 0.5rem 1rem !important;
  justify-content: flex-start;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-table tbody td {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    max-width: 120px;
    width: 20%;
  }
}
.wp-block-youthhostels-tariff-table tbody td::before {
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--medium);
  text-transform: uppercase;
  width: 66.66666%;
}
.wp-block-youthhostels-tariff-table tbody td:not(.is-highlighted) {
  padding-bottom: 1rem !important;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-table tbody td:not(.is-highlighted) {
    padding-bottom: 0px !important;
  }
}
.wp-block-youthhostels-tariff-table .tariff-toggle-button {
  padding-left: var(--wp--preset--spacing--large) !important;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-table .tariff-toggle-button {
    padding-left: 0 !important;
  }
}
.wp-block-youthhostels-tariff-table .tariff-toggle-button::after {
  content: "\f19c";
  font-size: var(--wp--preset--font-size--xx-large) !important;
  transform: translate(-30%, -50%) !important;
}
.wp-block-youthhostels-tariff-table .tariff-toggle-button[aria-expanded=true]::after {
  transform: translate(-30%, -50%) rotate(180deg) !important;
}
.wp-block-youthhostels-tariff-table .tariff-content-row th .wp-block-youthhostels-icon {
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0px !important;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-table .tariff-content-row th .wp-block-youthhostels-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0px !important;
  }
}
.wp-block-youthhostels-tariff-table .tariff-content-row th .wp-block-youthhostels-icon::before {
  font-size: 1.5rem;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-table .tariff-content-row th .wp-block-youthhostels-icon::before {
    font-size: 2rem;
  }
}
.wp-block-youthhostels-tariff-table .tariff-content-row th .wp-block-group.is-vertical {
  gap: 0.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.wp-block-youthhostels-tariff-table .tariff-content-row th .wp-block-group.is-vertical p {
  padding: 0px;
}
.wp-block-youthhostels-tariff-table .tariff-content-row .wp-block-youthhostels-tariff-details td {
  max-width: 100%;
}
.wp-block-youthhostels-tariff-table .tariff-content-row:not(.wp-block-youthhostels-tariff-details) td {
  max-width: calc(100% - (2rem + 32px));
  margin-left: 32px;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-table .tariff-content-row:not(.wp-block-youthhostels-tariff-details) td {
    max-width: 100%;
    margin-left: 0px;
  }
}
.wp-block-youthhostels-tariff-section {
  font-family: var(--wp--preset--font-family--heading);
  text-transform: uppercase !important;
  font-size: var(--wp--preset--font-size--medium);
}
.wp-block-youthhostels-tariff-section:not(:first-of-type) th, .wp-block-youthhostels-tariff-section:not(:first-of-type) td {
  border-bottom: 1px solid var(--wp--preset--color--secondary-border) !important;
  border-top: 3.2px solid var(--wp--preset--color--secondary) !important;
}
.wp-block-youthhostels-tariff-section button {
  text-transform: uppercase !important;
  padding-left: 0;
  padding-right: 0;
}
.wp-block-youthhostels-tariff-details td:first-child {
  padding: 0.5em 0 !important;
}
@media (min-width: 782px) {
  .wp-block-youthhostels-tariff-details .is-highlighted {
    display: table-cell !important;
  }
}