/* Overrides for the static rebuild of aristander.ai. Loaded after the theme CSS. */

/* Hero / banner backgrounds.
 * The theme centred these with top:50%; left:50%; transform:translate(-50%,-50%)
 * and faded them out with a CSS mask. In some browsers the video was painted
 * at the un-transformed position (top-left corner at the centre of the hero,
 * overlapping the text). Fill the box with object-fit instead, and do the
 * fade with a gradient overlay rather than a mask. */
.bg-inner .bg-image,
.bg-inner .bg-video {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  transform: none;
  object-fit: cover;
  object-position: center;
}
.bg-gradien-opacity .bg-inner .bg-image,
.bg-gradien-opacity .bg-inner .bg-video {
  -webkit-mask-image: none;
  mask-image: none;
}
.bg-gradien-opacity .bg-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(13, 13, 36, 0), #0D0D24);
}

/* ---------------------------------------------------------------------------
 * Rate calendar on /short-term-rental-pricing/ (hero illustration).
 * Colours and fonts are the theme's: #0D0D24 page, #191932/#292D43 panels,
 * #01F1E3 accent, #023AFF blue, #7982A9 muted, GT Pressura Mono for data.
 * ------------------------------------------------------------------------- */
.rate-cal {
  max-width: 34rem;
  margin-left: auto;
  padding: 1.5rem;
  background: #191932;
  border: 1px solid #292D43;
  border-radius: 0.75rem;
  font-family: "GT Pressura Mono", monospace;
  text-align: left;
}
.rate-cal__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #292D43;
  font-size: 0.875rem;
  color: #FBFBFC;
}
.rate-cal__head span:last-child { color: #7982A9; }
.rate-cal__days,
.rate-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.375rem;
}
.rate-cal__days {
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7982A9;
}
.rate-cal__days span { padding-left: 0.5rem; }
.rate-cal .night {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 4.25rem;
  margin: 0;
  padding: 0.5rem 0.5rem 0.5625rem;
  width: auto;
  background: #292D43;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  color: #FBFBFC;
  font: inherit;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.rate-cal .night i {
  font-style: normal;
  font-size: 0.6875rem;
  color: #7982A9;
}
.rate-cal .night b {
  font-weight: 400;
  font-size: 0.875rem;
  white-space: nowrap;
}
/* direction marker, top right of the cell */
.rate-cal .night.is-lift::after,
.rate-cal .night.is-cut::after {
  content: "";
  position: absolute;
  top: 0.625rem;
  right: 0.5rem;
  border: 0.25rem solid transparent;
}
.rate-cal .night.is-lift::after { border-bottom-color: #01F1E3; border-top-width: 0; }
.rate-cal .night.is-cut::after { border-top-color: #FF2D2E; border-bottom-width: 0; }
.rate-cal .night.is-booked {
  background: transparent;
  border-color: #292D43;
  cursor: default;
}
.rate-cal .night.is-booked b {
  font-size: 0.6875rem;
  color: #4B5275;
}
.rate-cal button.night:hover,
.rate-cal button.night:focus-visible { border-color: #4B5275; outline: none; }
.rate-cal button.night.is-active { border-color: #023AFF; background: #20244a; }
.site .rate-cal p.rate-cal__note {
  min-height: 4.2em;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #292D43;
  font-size: 0.875rem !important;
  line-height: 1.4;
  color: #FBFBFC;
}
.site .rate-cal p.rate-cal__caption {
  margin: 0.75rem 0 0;
  font-family: "AktivGrotesk", sans-serif;
  font-size: 0.75rem !important;
  color: #7982A9;
}
@media (max-width: 991px) {
  .rate-cal { margin: 2.5rem auto 0; }
}
@media (max-width: 420px) {
  .rate-cal { padding: 1rem; }
  .rate-cal .night { padding: 0.375rem; min-height: 3.75rem; }
  .rate-cal .night b { font-size: 0.75rem; }
  .rate-cal .night.is-booked b { font-size: 0.5625rem; }
  .rate-cal .night::after { display: none; }
}

/* Header: the right-hand column only held the removed "Book a call" button.
 * Give its space to the menu so six items fit on one line. */
@media (min-width: 1200px) {
  .site-header .main-header .nav-part.desktop { flex: 0 0 100%; max-width: 100%; }
  .site-header .main-header .btn-part { display: none !important; }
}
