.pypr-section {
  --pypr-bg: #0b0a0b;
  --pypr-cream: #f7f3f4;
  --pypr-champagne: #9e679c;
  --pypr-heading-font: "Fino Sans", "FinoSans", "Helvetica Neue", sans-serif;
  --pypr-body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pypr-accent-font: "Aboreto", system-ui, sans-serif;
  --pypr-muted: rgba(247, 243, 244, 0.7);
  --pypr-line: rgba(158, 103, 156, 0.34);
  --pypr-gap: 18px;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(56px, 6vw, 92px) 0;
  overflow: hidden;
  color: var(--pypr-cream);
  background:
    radial-gradient(circle at 11% 5%, rgba(158, 103, 156, 0.17), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(200, 50, 134, 0.1), transparent 28%),
    var(--pypr-bg);
  font-family: var(--pypr-body-font);
  isolation: isolate;
}

.pypr-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.025;
  pointer-events: none;
}

.pypr-section *,
.pypr-section *::before,
.pypr-section *::after {
  box-sizing: border-box;
}

.pypr-section__header {
  display: block;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto clamp(38px, 4.5vw, 64px);
}

.pypr-section__eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--pypr-champagne);
  font-size: 11px;
  font-family: var(--pypr-accent-font);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.pypr-section__eyebrow::before {
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
}

.pypr-section__title {
  max-width: none;
  margin: 0;
  color: var(--pypr-cream);
  font-family: var(--pypr-heading-font);
  font-size: clamp(40px, 3.65vw, 58px);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.032em;
  text-transform: uppercase;
}

.pypr-section__title-line {
  display: block;
}

@media (min-width: 1101px) {
  .pypr-section__title-line {
    white-space: nowrap;
  }
}

.pypr-section__intro-wrap {
  display: flex;
  gap: 16px 24px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 780px;
  margin-top: 22px;
  padding-inline-start: 3px;
}

.pypr-section__intro {
  margin: 0;
  color: var(--pypr-muted);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.55;
}

.pypr-section__all-link {
  display: inline-block;
  padding-bottom: 6px;
  color: var(--pypr-cream);
  border-bottom: 1px solid var(--pypr-champagne);
  font-size: 11px;
  font-family: var(--pypr-accent-font);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.pypr-section__all-link:hover,
.pypr-section__all-link:focus-visible {
  color: var(--pypr-champagne);
  border-color: currentColor;
}

.pypr-marquees {
  display: flex;
  flex-direction: column;
  gap: var(--pypr-gap);
}

.pypr-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.pypr-marquee__track {
  display: flex;
  gap: var(--pypr-gap);
  width: max-content;
  will-change: transform;
}

.pypr-marquee__group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--pypr-gap);
}

.pypr-card {
  display: grid;
  grid-template-columns: minmax(215px, 40%) minmax(0, 60%);
  flex: 0 0 auto;
  width: clamp(560px, 46vw, 650px);
  height: 250px;
  overflow: hidden;
  color: var(--pypr-cream);
  background: #171417;
  border: 1px solid var(--pypr-line);
  border-radius: 2px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.pypr-card--media-end .pypr-card__media {
  grid-column: 2;
  grid-row: 1;
}

.pypr-card--media-end .pypr-card__body {
  grid-column: 1;
  grid-row: 1;
}

.pypr-card__media {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #211a22;
}

.pypr-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 7, 0.42));
  content: "";
  pointer-events: none;
}

.pypr-card__image,
.pypr-card__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.pypr-card__image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(247, 243, 244, 0.7);
  background:
    linear-gradient(135deg, rgba(158, 103, 156, 0.3), transparent 45%),
    radial-gradient(circle at 70% 18%, rgba(247, 243, 244, 0.12), transparent 25%),
    #2b202c;
}

.pypr-card__image-placeholder::before {
  position: relative;
  z-index: 1;
  display: block;
  width: 180px;
  max-width: calc(100% - 34px);
  height: 180px;
  max-height: calc(100% - 34px);
  background: url("../images/park-your-party-logo-white.png") center / contain no-repeat;
  content: "";
  opacity: 0.92;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.18));
}

.pypr-card:hover .pypr-card__image {
  transform: scale(1.025);
}

.pypr-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px clamp(24px, 2.5vw, 32px) 20px;
}

.pypr-card__topline {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 0;
  margin-bottom: 12px;
}

.pypr-card__stars {
  display: flex;
  gap: 2px;
  margin-inline-start: 27px;
  color: rgba(251, 188, 4, 0.28);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.pypr-card__stars .is-filled {
  color: #fbbc04;
}

.pypr-card__google {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--pypr-muted);
  font-size: 9px;
  font-family: var(--pypr-accent-font);
  font-style: normal;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  order: -1;
}

a.pypr-card__google:hover,
a.pypr-card__google:focus-visible {
  color: var(--pypr-cream);
}

.pypr-google-g {
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.pypr-google-g svg {
  display: block;
  width: 14px;
  height: 14px;
}

.pypr-card__quote-mark {
  position: absolute;
  z-index: 0;
  color: rgba(158, 103, 156, 0.15);
  font-family: var(--pypr-heading-font);
  font-size: 70px;
  line-height: 1;
  pointer-events: none;
}

.pypr-card__quote-mark--open {
  top: 45px;
  left: 18px;
}

.pypr-card__quote-mark--close {
  right: 18px;
  bottom: 43px;
}

.pypr-card__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--pypr-cream);
  font-family: var(--pypr-body-font);
  font-size: clamp(15px, 1.15vw, 17px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.52;
}

.pypr-card__quote p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.pypr-card__footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(247, 243, 244, 0.12);
}

.pypr-card__reviewer {
  display: block;
  color: var(--pypr-cream);
  font-size: 10px;
  font-family: var(--pypr-accent-font);
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pypr-card__meta {
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--pypr-muted);
  font-size: 9px;
  font-family: var(--pypr-accent-font);
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.pypr-mobile-carousel {
  display: none;
}

.pypr-empty-admin {
  margin: 20px 0;
  padding: 18px 20px;
  color: #1d2327;
  background: #fff8e5;
  border-left: 4px solid #dba617;
}

.pypr-section .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .pypr-section__header {
    width: min(100% - 40px, 1280px);
  }

  .pypr-card {
    width: 560px;
  }
}

@media (max-width: 767px) {
  .pypr-section {
    padding: 68px 0 58px;
  }

  .pypr-section__header {
    display: block;
    width: calc(100% - 40px);
    margin-bottom: 38px;
  }

  .pypr-section__heading-group {
    margin-bottom: 0;
  }

  .pypr-section__eyebrow {
    margin-bottom: 15px;
  }

  .pypr-section__title {
    font-size: clamp(34px, 9.8vw, 47px);
    line-height: 1;
  }

  .pypr-section__title-line + .pypr-section__title-line {
    margin-top: 0.24em;
  }

  .pypr-section__intro-wrap {
    max-width: 470px;
    margin-top: 18px;
  }

  .pypr-section__intro {
    font-size: 15px;
  }

  .pypr-section__intro-sentence--mobile-break {
    display: block;
    margin-top: 3px;
  }

  .pypr-marquees {
    display: none;
  }

  .pypr-mobile-carousel {
    display: block;
  }

  .pypr-mobile-carousel__rail {
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 0 20px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .pypr-mobile-carousel__rail::-webkit-scrollbar {
    display: none;
  }

  .pypr-card,
  .pypr-card--media-end {
    display: flex;
    flex: 0 0 min(80vw, 360px);
    flex-direction: column;
    width: min(80vw, 360px);
    height: auto;
    min-height: 440px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .pypr-card--media-end .pypr-card__media,
  .pypr-card--media-end .pypr-card__body {
    grid-column: auto;
    grid-row: auto;
  }

  .pypr-card__media {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .pypr-card__image:not(.pypr-card__image--brand-logo) {
    object-position: center 18%;
  }

  .pypr-card__image-placeholder::before,
  .pypr-card__media--brand-logo::before {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: block;
    width: 130px;
    height: 130px;
    background: url("../images/park-your-party-logo-white.png") center / contain no-repeat;
    content: "";
    opacity: 0.92;
    filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.18));
    transform: translate(-50%, -50%);
  }

  .pypr-card__image-placeholder::before {
    max-width: calc(100% - 32px);
    max-height: calc(100% - 32px);
  }

  .pypr-card__media--brand-logo {
    background:
      linear-gradient(135deg, rgba(158, 103, 156, 0.3), transparent 45%),
      radial-gradient(circle at 70% 18%, rgba(247, 243, 244, 0.12), transparent 25%),
      #2b202c;
  }

  .pypr-card__media--brand-logo .pypr-card__image {
    opacity: 0;
  }

  .pypr-card__body {
    flex: 1 1 auto;
    min-height: 240px;
    padding: 19px 18px 17px;
  }

  .pypr-card__topline {
    margin-bottom: 10px;
  }

  .pypr-card__quote {
    font-size: 15px;
    line-height: 1.46;
  }

  .pypr-card__quote p {
    -webkit-line-clamp: 5;
  }

  .pypr-card__quote-mark--open {
    top: 39px;
    left: 11px;
  }

  .pypr-card__quote-mark--close {
    right: 11px;
    bottom: 40px;
  }

  .pypr-card__footer {
    padding-top: 10px;
  }

  .pypr-mobile-carousel__controls {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-end;
    width: calc(100% - 40px);
    margin: 17px auto 0;
  }

  .pypr-mobile-carousel__button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--pypr-cream);
    background: transparent;
    border: 1px solid rgba(158, 103, 156, 0.62);
    border-radius: 50%;
    box-shadow: none;
    font: inherit;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
  }

  .pypr-mobile-carousel__button:hover,
  .pypr-mobile-carousel__button:focus-visible {
    color: var(--pypr-bg);
    background: var(--pypr-champagne);
    border-color: var(--pypr-champagne);
  }

  .pypr-mobile-carousel__button:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .pypr-mobile-carousel__status {
    min-width: 52px;
    margin: 0 auto 0 0;
    color: var(--pypr-muted);
    font-size: 11px;
    font-family: var(--pypr-accent-font);
    font-weight: 650;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 420px) {
  .pypr-card,
  .pypr-card--media-end {
    flex-basis: 80vw;
    width: 80vw;
    min-height: 430px;
  }

  .pypr-card__google {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pypr-section *,
  .pypr-section *::before,
  .pypr-section *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .pypr-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .pypr-marquee__group[aria-hidden="true"] {
    display: none;
  }
}

/* Preserve review colors when nested inside the homepage concept shortcode. */
.pyp-hc .pypr-section__eyebrow {
  color: var(--pypr-champagne) !important;
}

.pyp-hc .pypr-section__title,
.pyp-hc .pypr-card__quote p,
.pyp-hc .pypr-card__reviewer {
  color: var(--pypr-cream) !important;
}

.pyp-hc .pypr-section__intro,
.pyp-hc .pypr-card__meta,
.pyp-hc .pypr-mobile-carousel__status {
  color: var(--pypr-muted) !important;
}

.pyp-hc .pypr-section__eyebrow,
.pyp-hc .pypr-section__title,
.pyp-hc .pypr-section__intro,
.pyp-hc .pypr-card__quote p,
.pyp-hc .pypr-card__meta,
.pyp-hc .pypr-mobile-carousel__status {
  margin-top: 0 !important;
}
