/* =========================================
   REVIEWS HERO
========================================= */

.veil-reviews-hero {
  position: relative;
  min-height: 340px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  overflow: hidden;

  background:
    linear-gradient(rgba(5,10,20,.42), rgba(5,10,20,.86)),
    url('/wp-content/uploads/reviews-veil-hero.png')
    center center / cover no-repeat;

  border-bottom: 1px solid rgba(211,177,106,.32);
}

.veil-reviews-hero__overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at center,
      rgba(139,0,15,.18),
      transparent 42%),

    radial-gradient(circle at top,
      rgba(90,166,173,.10),
      transparent 55%),

    linear-gradient(
      90deg,
      rgba(3,8,18,.92),
      transparent 45%,
      rgba(3,8,18,.92)
    );

  pointer-events: none;
}

.veil-reviews-hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
}

.veil-reviews-hero h1 {
  margin: 0;

  font-family: "Cinzel", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;

  letter-spacing: .08em;
  text-transform: uppercase;

  color: #f5ead6;

  text-shadow:
    0 0 18px rgba(0,0,0,.85),
    0 0 40px rgba(139,0,15,.18);
}

.veil-reviews-hero p {
  margin: 0;

  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;

  color: #e8dcc7;
}

/* =========================================
   REVIEW FORM CARD
========================================= */

.veil-review-form-wrap {
  margin: 2rem auto;
  padding: 2rem;

  background:
    linear-gradient(
      180deg,
      rgba(7,14,25,.94),
      rgba(3,6,12,.98)
    );

  border: 1px solid rgba(211,177,106,.22);
  border-radius: 20px;

  box-shadow:
    0 0 35px rgba(0,0,0,.45),
    0 0 40px rgba(90,166,173,.08),
    inset 0 0 25px rgba(139,0,15,.05);
}

/* =========================================
   SITE REVIEWS STYLING
========================================= */

.glsr-review,
.glsr-summary {
  background:
    linear-gradient(
      180deg,
      rgba(8,12,22,.94),
      rgba(5,8,16,.98)
    ) !important;

  border: 1px solid rgba(211,177,106,.18) !important;

  border-radius: 18px !important;

  padding: 1.5rem !important;

  box-shadow:
    0 0 25px rgba(0,0,0,.35);
}

.glsr-review-author,
.glsr-review-title {
  color: #f0dfba !important;
}

.glsr-review-content {
  color: #d7d7d7 !important;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width:768px) {

  .veil-reviews-hero {
    min-height: 260px;
  }

  .veil-review-form-wrap {
    padding: 1.25rem;
  }

}
/* =========================================
   REVIEWS PAGE CENTERING
========================================= */

#testimonials,
#testimonials .lv-section,
#testimonials .lv-h2,
#testimonials .lv-h3,
#testimonials .lv-sub,
#testimonials p,
#testimonials .glsr-review,
#testimonials .glsr-review-content,
#testimonials .glsr-review-author,
#testimonials .glsr-summary,
#testimonials .glsr-summary-text {
  text-align: center !important;
}

/* review cards */
#testimonials .glsr-review {
  margin-left: auto;
  margin-right: auto;
}

/* forms */
#testimonials form {
  text-align: center;
}

/* labels */
#testimonials label {
  display: block;
  text-align: center !important;
}

/* stars */
#testimonials .glsr-stars {
  justify-content: center !important;
}

/* inputs */
#testimonials input,
#testimonials textarea,
#testimonials select {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

/* submit buttons */
#testimonials button,
#testimonials input[type="submit"] {
  margin-left: auto;
  margin-right: auto;
  display: inline-flex;
}

/* pagination */
#testimonials nav,
#testimonials .pagination,
#testimonials .glsr-pagination {
  justify-content: center !important;
  text-align: center;
}

/* site reviews wrapper */
#testimonials .glsr {
  margin-left: auto;
  margin-right: auto;
}
/* =========================================
   CENTER REVIEW CONTAINERS
========================================= */

#testimonials .glsr {
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
}

#testimonials .glsr-reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

#testimonials .glsr-review {
  width: 100%;
  max-width: 850px;

  margin-left: auto !important;
  margin-right: auto !important;
}

/* summary block */
#testimonials .glsr-summary {
  max-width: 700px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* forms */
.veil-review-form-wrap {
  max-width: 850px;
  margin-left: auto !important;
  margin-right: auto !important;
}
\/* Force Reviews plugin blocks to center */
#testimonials {
  display: flex;
  justify-content: center;
  width: 100%;
}

#testimonials > .lv-section {
  width: 100%;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Site Reviews plugin outer wrappers */
#testimonials .glsr,
#testimonials .glsr-default,
#testimonials .glsr-reviews,
#testimonials .glsr-reviews-wrap,
#testimonials .glsr-summary,
#testimonials .glsr-summary-wrap {
  width: 100% !important;
  max-width: 850px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Individual review cards */
#testimonials .glsr-review {
  width: 100% !important;
  max-width: 850px !important;
  margin: 0 auto 1.5rem auto !important;
}

/* Review form cards */
#testimonials .veil-review-form-wrap {
  width: 100% !important;
  max-width: 850px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Reviews Page Centering */

#reader-reviews,
#reader-reviews * {
    text-align: center;
}

#reader-reviews .glsr-review,
#reader-reviews .glsr-summary,
#reader-reviews .glsr-review-content,
#reader-reviews .glsr-review-title,
#reader-reviews .glsr-review-author,
#reader-reviews .glsr-review-date {
    text-align: center !important;
}

/* Center review stars */
#reader-reviews .glsr-stars,
#reader-reviews .glsr-rating,
#reader-reviews .glsr-summary-stars {
    justify-content: center !important;
    display: flex !important;
}

/* Center pagination */
#reader-reviews .glsr-pagination {
    justify-content: center !important;
    display: flex !important;
}

/* Center review forms */
#reader-reviews .glsr-form,
#reader-reviews .glsr-form-wrap {
    text-align: center !important;
}

/* Keep form fields looking nice */
#reader-reviews .glsr-form input,
#reader-reviews .glsr-form textarea,
#reader-reviews .glsr-form select {
    margin-left: auto;
    margin-right: auto;
}

/* Center buttons */
#reader-reviews button,
#reader-reviews input[type="submit"] {
    display: inline-block;
    margin: 0 auto;
}
#reader-reviews .glsr-review {
    max-width: 750px;
    margin: 0 auto 30px auto;
}

#reader-reviews .glsr-summary {
    max-width: 600px;
    margin: 0 auto 30px auto;
}
/* Center the Reviews page content */
.veil-reviews-hero,
.veil-reviews-hero__content,
#reader-reviews,
#reader-reviews .lv-section,
#reader-reviews .lv-center,
#reader-reviews .lv-h2,
#reader-reviews .lv-h3,
#reader-reviews .lv-sub,
#reader-reviews p,
#reader-reviews h2,
#reader-reviews h3 {
  text-align: center !important;
}

/* Center main content blocks */
#reader-reviews .lv-section {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center Site Reviews summary */
#reader-reviews .glsr-summary,
#reader-reviews .glsr-summary-wrap,
#reader-reviews .site-reviews-summary {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  justify-content: center !important;
}

/* Center stars/ratings */
#reader-reviews .glsr-stars,
#reader-reviews .glsr-star-rating,
#reader-reviews .glsr-rating,
#reader-reviews .glsr-summary-stars,
#reader-reviews .glsr-summary-rating {
  display: flex !important;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center individual review cards */
#reader-reviews .glsr-review {
  max-width: 760px !important;
  margin: 0 auto 32px auto !important;
  text-align: center !important;
}

/* Center review text inside cards */
#reader-reviews .glsr-review * {
  text-align: center !important;
}

/* Center pagination */
#reader-reviews .glsr-pagination,
#reader-reviews .navigation.pagination {
  display: flex !important;
  justify-content: center !important;
}

/* Center forms */
#reader-reviews .glsr-form,
#reader-reviews .glsr-form-wrap,
#reader-reviews form {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Center form fields */
#reader-reviews input,
#reader-reviews textarea,
#reader-reviews select {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center submit buttons */
#reader-reviews button,
#reader-reviews input[type="submit"],
#reader-reviews .glsr-button {
  display: inline-block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}