/*!
Theme Name: BQ Bali
Author: UpStudio
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: BQ
*/

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  position: relative;
}

.page__image {
  display: block;
  width: 100%;
  height: auto;
}

.rating-button-shell {
  position: absolute;
  z-index: 1;
  top: 3.02vw;
  right: 15.8%;
  width: 8.4%;
  aspect-ratio: 4.55 / 1;
}

/* Covers the button baked into home.jpg with a real interactive control. */
.rating-hotspot {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  margin: 0;
  padding: 0.1em 0.45em;
  border: 1px solid #78cef3;
  border-radius: 999px;
  background: #f5f5f5;
  box-shadow: none;
  color: #858585;
  font: 400 clamp(4px, 0.75vw, 15px) / 1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.rating-hotspot::before {
  position: absolute;
  inset: -10px;
  content: "";
}

.rating-hotspot:focus-visible {
  outline: 3px solid #4091e9;
  outline-offset: 3px;
}

.rating-hotspot:hover {
  border-color: #4091e9;
  background: #4091e9;
  box-shadow: 0 7px 18px rgba(64, 145, 233, 0.3);
  color: #fff;
  transform: scale(1.025);
}

.rating-hotspot:active {
  box-shadow: 0 3px 8px rgba(64, 145, 233, 0.24);
  transform: scale(1);
  transition-duration: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  .rating-hotspot {
    transition: none;
  }
}

.rating-page {
  background: #f4f4f4;
}

.rating-page__content {
  position: relative;
}

.rating-page__image {
  display: block;
  width: 100%;
  height: auto;
}
