/* Same card treatment as .ezk-booking, without max-width so the grid can use full column width. */
.ezk-gallery {
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  box-sizing: border-box;
}

.ezk-gallery__heading,
.ezk-spec-template__title,
.ezk-booking__title {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: #1d2327;
}

.ezk-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin: 0;
}

.ezk-gallery__cell {
  margin: 0;
}

.ezk-gallery__link {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #dcdcde;
  line-height: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ezk-gallery__link:hover,
.ezk-gallery__link:focus-visible {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
  outline: none;
}

.ezk-gallery__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.ezk-spec-template {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: #f6f7f7;
  border-radius: 8px;
  border: 1px solid #dcdcde;
}

.ezk-spec-template__dl {
  display: grid;
  grid-template-columns: minmax(8rem, max-content) 1fr;
  gap: 0.35rem 1.25rem;
  margin: 0;
}

.ezk-spec-template__dt {
  margin: 0;
  font-weight: 600;
  color: #1d2327;
}

.ezk-spec-template__dd {
  margin: 0;
  color: #2c3338;
}

.ezk-spec-template__sub {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.ezk-spec-template__ul {
  margin: 0;
  padding-left: 1.25rem;
}

.ezk-spec-template__li {
  margin: 0.2rem 0;
}

@media (max-width: 600px) {
  .ezk-spec-template__dl {
    grid-template-columns: 1fr;
  }

  .ezk-spec-template__dt {
    margin-top: 0.5rem;
  }
}

.ezk-booking {
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  max-width: 32rem;
  box-sizing: border-box;
}

.ezk-booking__field {
  margin: 0 0 1rem;
}

.ezk-booking__field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ezk-booking__field input {
  width: 100%;
  max-width: 20rem;
  padding: 0.4rem 0.5rem;
}

.ezk-booking__hint {
  display: block;
  font-size: 0.85rem;
  color: #646970;
  margin-top: 0.2rem;
}

.ezk-booking__submit {
  padding: 0.5rem 1.25rem;
  background: #2271b1;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.ezk-booking__submit:hover {
  background: #135e96bb;
}

.ezk-booking__note {
  font-size: 0.85rem;
  color: #646970;
  margin: 0;
}

.ezk-booking-notice--ok {
  color: #1d7a3a;
}

.ezk-booking-notice--err {
  color: #b32d2e;
}

.ezk-booking-error {
  color: #b32d2e;
}

.ezk-acc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.ezk-acc-list__link {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem;
  border: 1px solid #dcdcde;
  border-radius: 8px;
}

.ezk-acc-list__link:hover {
  border-color: #2271b1;
}

.ezk-acc-list__thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
}

.ezk-acc-list__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ezk-acc-list__title {
  font-weight: 700;
}

.ezk-acc-list__type,
.ezk-acc-list__guests,
.ezk-acc-list__price {
  font-size: 0.9rem;
  color: #50575e;
}

.ezk-acc-list__price {
  font-weight: 600;
  color: #1d2327;
}
