.hide-scroll {
  overflow: hidden;
}

.show-house-rules.house-rules-wrapper {
  display: flex;
}

.block-template-part-modal-wrapper .wp-element-button {
  width: fit-content;
  font-family: var(--wp--preset--font-family--inter);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.66rem;
  background-color: var(--wp--preset--color--ochre);
  height: fit-content;
  border-width: .0625rem;
  padding: .5625rem .8125rem;
  text-wrap: wrap;
  cursor: pointer;
  text-transform: uppercase;
}

.block-template-part-modal-wrapper {
  display: none;
  flex-direction: column;
  font-family: var(--wp--preset--font-family--inter);
  background: rgba(255, 242, 226, .9);;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 500;
  --booking-max-width: min(100%, 60rem);
}

dialog .block-template-part-modal-wrapper {
  display: flex;
}

.block-template-part-modal {
  background-color: white;
  filter: drop-shadow(0 0 3rem hsla(0, 0%, 0%, .2));
  padding: 2.5rem 3.125rem;
  overflow-y: auto;
  max-height: 66vh;
}

@media(width >= 781px) { 
  .block-template-part-modal {
    max-width: var(--booking-max-width) !important;
  }
}

.block-template-part-modal p,
.block-template-part-modal li {
  font-size: .9375rem;
}

.block-template-part-modal h3 {
  font-size: 1rem;
}

.block-template-part-modal ul {
  padding: 0;
}

.block-template-part-modal li {
  list-style-type: none;
  padding: 1.25rem 0;
  border-top: .0625rem solid #000;
}

.block-template-part-modal li:first-child{
  border-top: none;
  padding-top: .5rem;
}

.block-template-part-modal-wrapper .wp-element-button,
.booking-section .wp-element-button {
  font-size: .9375rem;
  color: #000;
  border: .0625rem solid;
  border-radius: 0;
  background-color: transparent;
}

@media(width >= 781px) {
  .block-template-part-modal-wrapper .wp-element-button,
  .booking-section .wp-element-button {
  font-size: 1.125rem;
  }
}

.block-template-part-modal-wrapper .wp-block-buttons {
  max-width: var(--booking-max-width) !important;
  margin-top: 10vh !important;
  justify-content: flex-end;
  width: 100%;
}

.open-block-template-part-modal {
  cursor: pointer;
}

.block-template-part-modal-wrapper .close-block-template-part-modal a {
  color: #FFF;
  background-color: #000;
}

