/* ==========================================================================
   Testimonials Slider (AWD Blocks)
   - Excerpt mode, uniform slide height, paw-dot pagination
========================================================================== */
.awd-testimonials-slider.slick-slider.slick-dotted { margin: 0; }
.awd-testimonials-slider-wrap { max-width: 1170px; margin: 0 auto; }
.awd-testimonials-slider { margin: 0 auto; max-width: 1100px; }
.awd-testimonial-slide { padding: 12px; }
.awd-testimonial-card { position: relative; border-radius: 8px; text-align: center; padding: 0 25px 0; height: 100%; }

/* Excerpt text – show whatever PHP outputs, no CSS truncation */
.awd-testimonial-content { max-width: 87%; margin: 0 auto; font-size: clamp(18px, 2.3vw, 22px); line-height: 1.85; font-weight: 700; font-style: normal; color: #3A5F40; border: 0; padding-top: 0;  /* IMPORTANT: no line clamp, no hidden overflow */ display: block; overflow: visible; min-height: 9.5rem; /* consistent card height across slides */ }

/* Hook for data-words if you want custom buckets later */
.awd-testimonial-content[data-words] {  /* e.g. adjust min-height or letter-spacing by length */ }
.awd-testimonials-slider .awd-testimonial-content { color: #000; }
a.awd-read-more { font-size: 20px; display: inline-block; }
a.awd-read-more:hover, a.awd-read-more:focus { color: #4f3230; }

/* Reviewer name */
.awd-testimonial-meta { margin-top: 5px; line-height: 1; font-weight: 700; color: #472f2f; }

/* Quote icons */
.awd-testimonial-quote { position: absolute; top: 12px; font-size: 48px; font-weight: 900; color: #ff6a00; }
.awd-quote-open { left: 16px; }
.awd-quote-close { right: 16px; bottom: 34%; top: auto; }

/* Paw row under slider (if used) */
.awd-paws-row { margin-top: 18px; display: flex; gap: 10px; justify-content: center; }
.awd-paws-row .paw { width: 16px; height: 16px; background: url('/wp-content/themes/awd-child/images/btn3-paw.svg') no-repeat center / contain; opacity: .85; }

/* Equal-height slick rows */
.awd-testimonials-slider .slick-track { display: flex; }
.awd-testimonials-slider .slick-slide { height: auto; }

/* Paw-style slick dots */
.awd-testimonials-slider .slick-dots { position: static; bottom: auto; display: flex !important; justify-content: center; gap: 10px; margin-top: 24px; }
.awd-testimonials-slider .slick-dots li { margin: 0; padding: 0; width: 22px; height: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.awd-testimonials-slider .slick-dots .paw { display: block; width: 22px; height: 22px; background: url('/wp-content/themes/awd-child/images/btn3-paw-outline.svg')
no-repeat center / contain; opacity: .65; transition: opacity .25s ease, transform .25s ease, background-image .25s ease; }

/* Active/hover = filled paw */
.awd-testimonials-slider .slick-dots li.slick-active .paw, .awd-testimonials-slider .slick-dots li:hover .paw, .awd-testimonials-slider .slick-dots li:focus-within .paw { background-image: url('/wp-content/themes/awd-child/images/btn3-paw.svg'); opacity: 1; transform: scale(1.12); }

/* ==========================================================================
   Testimonials – FULL ARCHIVE / GRID / LIST
   Used by: [awd_testimonials_full]
========================================================================== */
.awd-testimonials-full { --awd-cols: 3; --awd-gap: 1.25rem; }

/* Grid layout */
.awd-testimonials-full .awd-tf-list { display: grid; gap: var(--awd-gap); grid-template-columns: repeat(var(--awd-cols), minmax(0, 1fr)); }

/* List layout (your layout="list") */
.awd-testimonials-full.layout-list .awd-tf-list { display: flex; flex-direction: column; gap: 1.7rem; }
.awd-testimonials-full .awd-tf-card { background: url('/wp-content/plugins/awd-blocks/assets/images/reviews-dog-clients-bg.jpg'); border-radius: 18px; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 10px 24px rgba(0, 0, 0, .06); padding: 1.4rem 1.6rem; position: relative; background-position: center; background-size: auto; max-width: 860px; }

/* Alternate cards aligned right */
.awd-testimonials-full .awd-tf-card:nth-child(even) { margin-right: 0; margin-left: auto; }
.awd-testimonials-full .awd-tf-inner { margin: 0; position: relative; }

/* Quote icons like slider, inside each card */
.awd-testimonials-full .awd-tf-quote { position: absolute; width: 36px; height: 36px; opacity: .9; }
.awd-testimonials-full .awd-tf-open { left: 14px; top: 14px; }
.awd-testimonials-full .awd-tf-close { right: 14px; bottom: 14px; }
.awd-testimonials-full .awd-tf-quote img { width: 100%; height: auto; display: block; }

/* Full content (no trimming) inside archive cards */
.awd-testimonials-full .awd-tf-content { margin: 0; text-align: center; font-style: italic; line-height: 1.6; color: inherit; border: 0; }
.awd-testimonials-full .awd-tf-content p { margin: 0 0 .75rem; }
.awd-testimonials-full .awd-tf-content p:last-child { margin-bottom: 0; color: #000; font-style: normal; font-weight: 700; }

/* Reviewer under text */
.awd-testimonials-full .awd-tf-meta { margin-top: .8rem; text-align: center; font-weight: 700; }
.awd-testimonials-full.layout-list .awd-tf-content { max-width: 90%; margin: 0 auto; }

/* Pagination (matches earlier style) */
.awd-testimonials-full .awd-tf-pagination { margin-top: 1.5rem; text-align: center; }
.awd-testimonials-full .awd-tf-pagination ul { display: inline-flex; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.awd-testimonials-full .awd-tf-pagination a, .awd-testimonials-full .awd-tf-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .6rem; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .12); }
.awd-testimonials-full .awd-tf-pagination .current { background: rgba(0, 0, 0, .08); font-weight: 600; }

/* Optional: full-content mode for SLIDER (if you ever use it) */
.awd-testimonials-slider.awd-testimonials-full-content .awd-testimonial-content { display: block; -webkit-box-orient: initial; -webkit-line-clamp: unset; overflow: visible; min-height: 0; }
@media (min-width:768px) {
  .awd-testimonials-slider.awd-testimonials-full-content .awd-testimonial-content { min-height: 0; }
}

/* ==========================================================================
   Responsive tweaks
========================================================================== */
@media (max-width:1024px) {
  .awd-testimonials-full:not(.layout-list) .awd-tf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width:767px) {
  .awd-testimonials-slider .slick-dots { position: static; bottom: auto; margin-top: 18px; }
  .awd-testimonials-slider-wrap { padding-bottom: 24px; }
  .awd-quote-open { left: 6px; width: 48px; top: 0px; }
  .awd-quote-close { right: 6px; width: 48px; }
  .awd-testimonials-full .awd-tf-open { left: 0px; top: 14px; }
}
@media (max-width:600px) {
  .awd-testimonials-full:not(.layout-list) .awd-tf-list { grid-template-columns: 1fr; }
}
