/* Testimonials page */

body.page-testimonials {
  background: #fff;
}

body.page-testimonials .page-main {
  overflow: hidden;
}

.dolly-tmock-intro {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
  font-size: 17px;
  line-height: 1.65;
}

.dolly-google-strip {
  overflow: hidden;
  padding: 40px 0 48px;
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.dolly-google-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.dolly-google-strip__head h3 {
  margin: 0;
  font-family: Cormorant, serif;
  font-size: 34px;
  font-weight: 500;
  color: #222;
}

.dolly-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e5e5;
  font-size: 13px;
  color: #444;
}

.dolly-google-badge__g {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.dolly-google-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.dolly-google-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: dolly-google-scroll 42s linear infinite;
}

.dolly-google-marquee:hover .dolly-google-track {
  animation-play-state: paused;
}

@keyframes dolly-google-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.dolly-google-card {
  flex: 0 0 340px;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.dolly-google-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.dolly-google-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5c400, #8a7000);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.dolly-google-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.dolly-google-card__meta {
  font-size: 12px;
  color: #777;
}

.dolly-google-stars {
  color: #f5b301;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 10px;
}

.dolly-google-card p {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.55;
}

.dolly-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dolly-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.dolly-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111;
}

.dolly-video-card__label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
}

.dolly-results-grid {
  columns: 3 280px;
  column-gap: 18px;
}

.dolly-results-grid__item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff8d4;
  border: 1px solid #f0e2b8;
}

.dolly-results-grid__item img {
  display: block;
  width: 100%;
  height: auto;
}

.dolly-results-grid__cap {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: #444;
}

.dolly-results-grid__item--dm img {
  object-fit: cover;
  aspect-ratio: 4 / 5;
  object-position: center 42%;
}

.dolly-highlight-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dolly-highlight-card {
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f0e2b8;
}

.dolly-highlight-card__src {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7000;
  margin-bottom: 8px;
}

.dolly-highlight-card p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.55;
}

body.page-testimonials .uk-section-muted {
  background: #faf8f2;
}

body.page-testimonials .section-title span {
  color: #8a7000;
}

@media (max-width: 959px) {
  .dolly-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dolly-highlight-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dolly-results-grid {
    columns: 2 240px;
  }
}

@media (max-width: 575px) {
  .dolly-video-grid,
  .dolly-highlight-row {
    grid-template-columns: 1fr;
  }

  .dolly-google-card {
    flex-basis: 300px;
  }

  .dolly-google-strip__head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-testimonials .section-hero__title {
    font-size: 64px;
  }
}
