/* Shared testimonial presentation. Content is owned by the native Global row. */
.wp-child-theme-astra-child .ad-testimonial .fl-col-content { text-align: center; }
.wp-child-theme-astra-child .ad-testimonial :is(.eyebrow, h2) { margin-inline: auto !important; }
.wp-child-theme-astra-child .ad-testimonial .eyebrow { justify-content: center; }
.wp-child-theme-astra-child .kgeo-testimonials { max-width: 980px; margin-inline: auto; }
.wp-child-theme-astra-child .kgeo-testimonial-viewport {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(0px, 1vw, 12px);
}
.wp-child-theme-astra-child .kgeo-testimonial-stage {
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #f5f7f1;
  border-radius: 12px;
}
.wp-child-theme-astra-child .kgeo-testimonials figure {
  margin: 0 0 16px;
  padding: clamp(18px, 3vw, 36px) clamp(10px, 4vw, 48px);
  border-radius: 14px;
  background: #f4f7f0;
}
.wp-child-theme-astra-child .kgeo-testimonials figure::before {
  content: '';
  display: block;
  width: 37px;
  height: 27px;
  margin: 0 auto 12px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath fill='%23769461' d='M17 2C7 4 2 10 2 19c0 5 3 8 8 8 5 0 8-3 8-8s-3-7-7-8c1-3 3-5 6-7zm21 0C28 4 23 10 23 19c0 5 3 8 8 8 5 0 8-3 8-8s-3-7-7-8c1-3 3-5 6-7z'/%3E%3C/svg%3E");
}
.wp-child-theme-astra-child .kgeo-testimonial-stage figure {
  grid-area: 1 / 1;
  margin: 0;
  min-width: 0;
  background: transparent;
}
/* Reserve space for the compact previews so rotation keeps the controls still. */
.wp-child-theme-astra-child .kgeo-testimonial-stage figure[hidden] { display: block !important; visibility: hidden; }
.wp-child-theme-astra-child .kgeo-testimonials blockquote {
  margin: 0 0 12px;
  padding: 0;
  border: 0 !important;
  color: #293825;
  font-style: normal;
}
.wp-child-theme-astra-child .kgeo-testimonials blockquote p {
  max-width: 62ch;
  margin: 0 auto .65em;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
}
.wp-child-theme-astra-child .kgeo-testimonials figcaption { color: #315329; font-weight: 700; }
.wp-child-theme-astra-child .kgeo-testimonial-preview blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.wp-child-theme-astra-child .kgeo-testimonial-expand {
  margin-top: 6px;
  padding: 6px 8px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #315329;
  text-decoration: underline;
  font: inherit;
}
.wp-child-theme-astra-child .kgeo-testimonial-controls {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 12px;
}
.wp-child-theme-astra-child .kgeo-testimonial-dots { display: grid; grid-template-columns: repeat(12, 24px); }
.wp-child-theme-astra-child :is(.kgeo-testimonial-arrow, .kgeo-testimonial-rotation, .kgeo-testimonial-dots button) {
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: #315329;
  padding: 0;
}
.wp-child-theme-astra-child :is(.kgeo-testimonial-arrow, .kgeo-testimonial-rotation) {
  width: 44px;
  height: 44px;
}
.wp-child-theme-astra-child :is(.kgeo-testimonial-arrow, .kgeo-testimonial-rotation) svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wp-child-theme-astra-child .kgeo-testimonial-rotation svg { width: 17px; height: 17px; }
.wp-child-theme-astra-child .kgeo-testimonial-dots button { width: 24px; height: 24px; }
.wp-child-theme-astra-child .kgeo-testimonial-dots button::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #648052;
}
.wp-child-theme-astra-child .kgeo-testimonial-dots button[aria-current="true"]::after { background: #315329; }
.wp-child-theme-astra-child :is(.kgeo-testimonial-arrow, .kgeo-testimonial-controls button):hover { background: #edf4e8; }
.wp-child-theme-astra-child :is(.kgeo-testimonial-arrow, .kgeo-testimonial-controls button, .kgeo-testimonial-expand):focus-visible {
  outline: 3px solid #4f713a;
  outline-offset: 3px;
}
.wp-child-theme-astra-child .kgeo-testimonial-controls [role="status"] {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
@media (max-width: 370px) {
  .wp-child-theme-astra-child .kgeo-testimonial-dots { grid-template-columns: repeat(6, 24px); }
}





/* Fit the shared row into existing non-geographic page panels. */
body:not(.kgeo-presentation) .ad-testimonial > .fl-row-content-wrap {
  padding: clamp(28px, 4vw, 64px) clamp(16px, 4vw, 48px);
  background: #fff;
}
body:not(.kgeo-presentation) .ad-testimonial .fl-row-content { max-width: 1140px; }
body:not(.kgeo-presentation) .ad-testimonial .fl-module-content { margin: 0 0 18px; }
body:not(.kgeo-presentation) .ad-testimonial h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
body:not(.kgeo-presentation) .ad-testimonial .eyebrow {
  display: flex; align-items: center; gap: 12px; color: #4f713a;
  text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700;
}
body:not(.kgeo-presentation) .ad-testimonial .eyebrow::before {
  content: ''; width: 28px; height: 2px; background: #9be15d;
}
/* Reuse the inset panel treatment on pages outside the geography family. */
body:not(.kgeo-presentation) .ad-testimonial {
  box-sizing: border-box;
  width: min(1320px, calc(100% - 2 * clamp(12px, 3vw, 32px)));
  margin: clamp(16px, 2vw, 30px) auto;
  border-radius: clamp(12px, 1.25vw, 18px);
  background: #fff;
  color: #434641;
}
body:not(.kgeo-presentation) .ad-testimonial > .fl-row-content-wrap {
  background: transparent;
  border-radius: inherit;
}
body:not(.kgeo-presentation) .ad-testimonial h2 { color: #434641; }
