/* Home page guest reviews (template-home.php, section.reviews): WP Review Slider Pro's
   template 1 markup, brought into the site's look. Colours and star colour are set in the
   plugin's template; this file only does layout and type. */

.section.reviews {
  padding-bottom: 48px;
}

.section.reviews .wprevpro-shortcode-wrapper {
  margin-top: 8px;
}

/* Cards: flat white with the site's light shadow, upright text, left-aligned. */
.section.reviews .indrevdiv {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  border-radius: 4px !important;
  padding: 24px 22px 56px !important;
  text-align: left;
}

.section.reviews .indrevtxt {
  font-style: normal !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.section.reviews .wprevpro_t1_DIV_2::before {
  display: none !important; /* the plugin's big grey quote mark */
}

.section.reviews .wprevpro_star_imgs_T1 {
  display: block;
  margin-bottom: 8px;
}

.section.reviews .wprevreviewtitle {
  display: block;
  color: #000;
  font-weight: 600;
  margin-bottom: 4px;
}

.section.reviews .indrevtxt img.emoji {
  width: 1em !important;
  height: 1em !important;
  vertical-align: -0.1em;
}

.section.reviews .wprs_rd_more,
.section.reviews .wprs_rd_less {
  color: #000 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #f3bb00;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Name and date under the card. */
.section.reviews .wprevname {
  font-weight: 600;
  text-transform: none !important;
}

.section.reviews .wprevdate {
  font-size: 13px;
  color: #666;
  text-transform: none !important;
}

/* Arrows and dots in the brand yellow. */
.section.reviews .wprs_unslider-arrow {
  opacity: 0.8;
}

.section.reviews .wprs_unslider-nav ol li.wprs_unslider-active {
  background: #f3bb00 !important;
  border-color: #f3bb00 !important;
}

.section.reviews .reviews-note {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 13px;
  color: #666;
}

/* The plugin hangs its arrows 5px outside the slider, which widened the page on phones
   (scrollWidth 395 on a 390 screen). Keep them inside, and clip anything else. */
.section.reviews .wprs_unslider {
  position: relative;
}

.section.reviews .wprs_unslider-arrow.prev {
  left: 0 !important;
}

.section.reviews .wprs_unslider-arrow.next {
  right: 0 !important;
}

.section.reviews .container {
  overflow-x: clip;
}

/* One long word in German ("Gästebewertungen") is wider than a small phone at the
   heading's size: hyphenate it properly instead of breaking it anywhere. */
.section.reviews h2 {
  hyphens: auto;
}

@media (max-width: 400px) {
  .section.reviews h2 {
    font-size: 26px;
  }
}
