/*
Theme Name:GORN 2 Дочерняя тема
Description: Используем дочернюю тему лишь в тех случаях, когда собрались менять стили, разметку или функции темы. Просто так ее ставить не требуется.
Text Domain: gorn-2
Domain Path: /languages
Template: gorn-2
*/

/* Размещайте ваши стили под этой строкой. */
.blockbanner {
	display: flex;
	justify-content: center;
	border: 1px dashed #1b83bd;
	padding: 15px;
}
select {
  padding: 0.6rem 1rem;
  min-height: 3rem;
  margin: 10px 0;
}
.modal-form__text {
  margin-bottom: 7px;
  display: block;
}
.wp-block-table td,
.wp-block-table th,
.wp-block-table > table > tbody > tr td {
  white-space: nowrap;
  font-size: 0.7rem;
  vertical-align: middle;
}
.wp-block-table td img {
  max-width: 70px;
}
.mt-30 {
  margin-top: 30px;
}
.site-header__descr {
  max-width: 250px;
}
.back2top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: none;
  top: auto;
}
.back2top.btshow {
  display: block;
}
.preview-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.rental-filter {
  width: 100%;
  position: relative;
  z-index: 4;
}

.rental-filter__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(290px, 0.86fr);
  gap: 14px;
  padding: 20px;
  border: 1px solid #238fda;
  border-radius: 14px;
  background: #10171c;
  box-shadow: 0 18px 42px rgb(0 0 0 / 26%);
}

.date-field {
  min-width: 0;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 13px 28px;
  border: 1px solid #3c4851;
  border-radius: 8px;
  background: #121a20;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
  margin-bottom: 0;
}

.date-field:hover,
.date-field:focus-within {
  border-color: #3f8bc2;
  background: #15212a;
}

.date-field__label {
  color: #c8ced3;
  font-size: 14px;
  line-height: 1.15;
}

.date-field__input {
  min-width: 0;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  color: #f8fafb;
  background: transparent;
  color-scheme: dark;
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
}

.date-field__input::-webkit-calendar-picker-indicator {
  width: 25px;
  height: 25px;
  cursor: pointer;
  filter: invert(52%) sepia(93%) saturate(1057%) hue-rotate(172deg) brightness(97%);
}

.rental-filter__button {
  min-height: 82px;
  padding: 16px 24px;
  border: 1px solid #3d9de0;
  border-radius: 8px;
  color: #fff;
  background: #3f8bc2;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.rental-filter__button:hover {
  border-color: #56afe9;
  background: #2f7fb9;
}

.rental-filter__button:active {
  transform: translateY(1px);
}

.rental-filter__button:focus-visible,
.date-field__input:focus-visible {
  outline: 3px solid rgb(73 169 234 / 48%);
  outline-offset: 3px;
}
@media (min-width: 1080px) {
	.d-none-pc {
		display: none;
	}	
}

@media (max-width: 1081px) {
	.d-none-mob {
		display: none;
	}
}

@media (max-width: 900px) {

  .rental-filter__inner {
    grid-template-columns: 1fr 1fr;
  }

  .rental-filter__button {
    grid-column: 1 / -1;
    min-height: 68px;
  }
}

@media (max-width: 620px) {

  .rental-filter__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .date-field {
    min-height: 72px;
    padding: 11px 18px;
  }

  .rental-filter__button {
    grid-column: auto;
    min-height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .date-field,
  .rental-filter__button {
    transition: none;
  }
}

@media (max-width: 900px) {
  .back2top {
    bottom: 6rem;
  }
}
