/* Parker & Parker Testimonials page redesign. */

body.pp-testimonials-redesign #container {
  background: var(--pp-paper);
}

body.pp-testimonials-redesign .pp-testimonials-page {
  color: var(--pp-ink);
  background: var(--pp-paper);
  overflow-x: clip;
}

body.pp-testimonials-redesign .banner,
body.pp-testimonials-redesign .pp-breadcrumb-bar {
  display: none;
}

body.pp-testimonials-redesign .pp-test-wrap {
  width: min(calc(100% - 48px), var(--maxw));
  margin: 0 auto;
}

body.pp-testimonials-redesign .pp-test-section {
  padding: clamp(50px, 6vw, 88px) 0;
}

body.pp-testimonials-redesign .pp-test-intro {
  position: relative;
  min-height: clamp(410px, 43vw, 620px);
  padding: clamp(78px, 11vw, 146px) 0 clamp(76px, 10vw, 132px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 36, 23, .9) 0%, rgba(13, 36, 23, .72) 42%, rgba(13, 36, 23, .35) 100%),
    linear-gradient(180deg, rgba(12, 20, 14, .08), rgba(12, 20, 14, .38)),
    url("https://www.parkerandparkerattorneys.com/wp-content/uploads/2025/01/sub_banner_bookcase.jpg") center 44% / cover no-repeat;
  color: var(--pp-cream);
}

body.pp-testimonials-redesign .pp-test-eyebrow,
body.pp-testimonials-redesign .pp-test-heading > span {
  display: block;
  margin-bottom: 14px;
  color: var(--pp-green);
  font-family: var(--pp-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

body.pp-testimonials-redesign .pp-test-intro h1 {
  max-width: 940px;
  margin: 0;
  color: var(--pp-cream);
  font-family: var(--pp-serif-display);
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .24);
  text-transform: none;
}

body.pp-testimonials-redesign .pp-test-intro p {
  max-width: 820px;
  margin: clamp(18px, 2vw, 28px) 0 0;
  color: rgba(245, 240, 232, .88);
  font-family: var(--pp-serif-body);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.45;
}

body.pp-testimonials-redesign .pp-test-intro .pp-test-eyebrow {
  color: rgba(245, 240, 232, .78);
  font-family: var(--pp-ui);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

body.pp-testimonials-redesign .pp-google-reviews {
  background:
    linear-gradient(135deg, rgba(13, 36, 23, .97), rgba(28, 24, 19, .92)),
    var(--pp-green);
  color: var(--pp-cream);
}

body.pp-testimonials-redesign .pp-test-heading {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
  margin-bottom: clamp(26px, 3.6vw, 46px);
}

body.pp-testimonials-redesign .pp-test-heading > span {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

body.pp-testimonials-redesign .pp-test-heading h2 {
  margin: 0;
  color: var(--pp-ink);
  font-family: var(--pp-serif-display);
  font-size: clamp(44px, 5.8vw, 82px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: break-word;
}

body.pp-testimonials-redesign .pp-test-heading b {
  height: 1px;
  min-width: 80px;
  margin-bottom: clamp(12px, 1.3vw, 18px);
  background: var(--pp-border);
}

body.pp-testimonials-redesign .pp-test-heading--light h2,
body.pp-testimonials-redesign .pp-test-heading--light > span {
  color: var(--pp-cream);
}

body.pp-testimonials-redesign .pp-google-reviews__rating {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(245, 240, 232, .8);
  font-family: var(--pp-serif-body);
  font-size: 20px;
  line-height: 1.3;
}

body.pp-testimonials-redesign .pp-google-reviews__rating strong {
  color: var(--pp-cream);
  font-size: 32px;
  font-weight: 400;
}

body.pp-testimonials-redesign .pp-google-reviews__rating span {
  margin: 0 10px;
  color: var(--pp-cream);
  letter-spacing: .08em;
}

body.pp-testimonials-redesign .pp-google-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

body.pp-testimonials-redesign .pp-google-review {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(245, 240, 232, .16);
  border-radius: var(--pp-radius);
  background: rgba(245, 240, 232, .06);
}

body.pp-testimonials-redesign .pp-google-review div {
  color: var(--pp-cream);
  font-size: 14px;
  letter-spacing: .09em;
}

body.pp-testimonials-redesign .pp-google-review__title {
  margin: 0;
  color: var(--pp-cream);
  font-family: var(--pp-serif-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-style: italic;
  line-height: 1.15;
}

body.pp-testimonials-redesign .pp-google-review p:not(.pp-google-review__title) {
  margin: 0;
  color: rgba(245, 240, 232, .86);
  font-family: var(--pp-serif-body);
  font-size: 18px;
  line-height: 1.5;
}

body.pp-testimonials-redesign .pp-google-review figcaption {
  margin-top: auto;
  color: rgba(245, 240, 232, .76);
  font-family: var(--pp-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.pp-testimonials-redesign .pp-google-review figcaption span {
  display: inline-block;
  margin-left: 5px;
  opacity: .72;
}

body.pp-testimonials-redesign .pp-google-reviews__all {
  margin: clamp(26px, 3vw, 38px) 0 0;
}

body.pp-testimonials-redesign .pp-google-reviews__all a {
  color: var(--pp-cream);
  font-family: var(--pp-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

body.pp-testimonials-redesign .pp-test-letters {
  background: var(--pp-cream);
  padding-bottom: clamp(28px, 4vw, 56px);
}

body.pp-testimonials-redesign .pp-test-letters__grid {
  columns: 3;
  column-gap: clamp(20px, 2.4vw, 30px);
}

body.pp-testimonials-redesign .pp-test-letter {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  padding: clamp(23px, 2.7vw, 30px);
  border: 1px solid var(--pp-border);
  border-top: 2px solid var(--pp-green);
  border-radius: var(--pp-radius-sm);
  background: var(--pp-paper);
}

body.pp-testimonials-redesign .pp-test-letter > span {
  display: block;
  height: 24px;
  color: var(--pp-green);
  font-family: var(--pp-serif-display);
  font-size: 48px;
  line-height: .55;
  opacity: .3;
}

body.pp-testimonials-redesign .pp-test-letter p {
  margin: 0 0 14px;
  color: var(--pp-ink);
  font-family: var(--pp-serif-body);
  font-size: 18px;
  line-height: 1.56;
}

body.pp-testimonials-redesign .pp-test-letter figcaption {
  color: var(--pp-walnut);
  font-family: var(--pp-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.pp-testimonials-redesign .pp-test-letter figcaption small {
  display: block;
  margin-top: 4px;
  color: var(--pp-ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

body.pp-testimonials-redesign .pp-test-closing {
  background: var(--pp-green);
  color: var(--pp-cream);
}

body.pp-testimonials-redesign .pp-test-closing__inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

body.pp-testimonials-redesign .pp-test-closing h2 {
  max-width: 720px;
  margin: 0;
  color: var(--pp-cream);
  font-family: var(--pp-serif-display);
  font-size: clamp(44px, 5.8vw, 82px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

body.pp-testimonials-redesign .pp-test-closing p {
  max-width: 620px;
  margin: clamp(18px, 2vw, 26px) 0 0;
  color: rgba(245, 240, 232, .88);
  font-family: var(--pp-serif-body);
  font-size: 21px;
  line-height: 1.5;
}

body.pp-testimonials-redesign .pp-test-closing ol {
  display: grid;
  gap: 16px;
  max-width: 650px;
  padding: 0;
  margin: clamp(24px, 3vw, 34px) 0 0;
  list-style: none;
}

body.pp-testimonials-redesign .pp-test-closing li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

body.pp-testimonials-redesign .pp-test-closing li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 240, 232, .38);
  border-radius: 50%;
  color: var(--pp-cream);
  font-family: var(--pp-ui);
  font-weight: 800;
}

body.pp-testimonials-redesign .pp-test-closing li p {
  margin: 0;
  font-size: 18px;
}

body.pp-testimonials-redesign .pp-test-contact-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(245, 240, 232, .22);
  border-top: 2px solid rgba(245, 240, 232, .82);
  border-radius: var(--pp-radius);
  background: rgba(245, 240, 232, .07);
  box-shadow: var(--pp-shadow);
}

body.pp-testimonials-redesign .pp-test-contact-card__kicker {
  margin: 0;
  font-family: var(--pp-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.pp-testimonials-redesign .pp-test-contact-card h3 {
  margin: 10px 0 14px;
  color: var(--pp-cream);
  font-family: var(--pp-serif-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

body.pp-testimonials-redesign .pp-test-contact-card__phone {
  display: inline-block;
  color: var(--pp-cream);
  font-family: var(--pp-serif-display);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  text-decoration: none;
}

body.pp-testimonials-redesign .pp-test-contact-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

body.pp-testimonials-redesign .pp-test-contact-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--pp-cream);
  border-radius: var(--pp-radius-sm);
  background: var(--pp-cream);
  color: var(--pp-green);
  font-family: var(--pp-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

body.pp-testimonials-redesign .pp-test-contact-card__button--ghost {
  background: transparent;
  color: var(--pp-cream);
}

body.pp-testimonials-redesign .pp-test-contact-card__button--ghost:hover,
body.pp-testimonials-redesign .pp-test-contact-card__button--ghost:focus-visible {
  background: var(--pp-cream);
  color: var(--pp-green);
}

@media (max-width: 980px) {
  body.pp-testimonials-redesign .pp-google-reviews__grid,
  body.pp-testimonials-redesign .pp-test-closing__inner {
    grid-template-columns: 1fr;
  }

  body.pp-testimonials-redesign .pp-test-letters__grid {
    columns: 2;
  }
}

@media (max-width: 640px) {
  body.pp-testimonials-redesign .pp-test-wrap {
    width: min(calc(100% - 32px), 620px);
  }

  body.pp-testimonials-redesign .pp-test-intro {
    min-height: 0;
    padding: 76px 0 68px;
    background:
      linear-gradient(90deg, rgba(13, 36, 23, .92) 0%, rgba(13, 36, 23, .76) 54%, rgba(13, 36, 23, .42) 100%),
      linear-gradient(180deg, rgba(12, 20, 14, .08), rgba(12, 20, 14, .38)),
      url("https://www.parkerandparkerattorneys.com/wp-content/uploads/2025/01/sub_banner_bookcase.jpg") center center / cover no-repeat;
  }

  body.pp-testimonials-redesign .pp-test-intro h1 {
    font-size: clamp(48px, 14vw, 62px);
  }

  body.pp-testimonials-redesign .pp-test-intro p {
    font-size: 22px;
  }

  body.pp-testimonials-redesign .pp-test-heading {
    display: block;
  }

  body.pp-testimonials-redesign .pp-test-heading h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  body.pp-testimonials-redesign .pp-test-heading b {
    display: block;
    width: 100%;
    margin-top: 18px;
  }

  body.pp-testimonials-redesign .pp-google-reviews__rating {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  body.pp-testimonials-redesign .pp-google-reviews__rating span {
    margin: 0;
  }

  body.pp-testimonials-redesign .pp-google-review {
    min-height: 0;
  }

  body.pp-testimonials-redesign .pp-test-letters__grid {
    columns: 1;
  }
}
