/* NCA Notes testimonials (inc/testimonials.php). Matches the homepage card style: dark rounded cards, big quote mark. */

.nca-testimonials { padding: 40px 0; color: #fff; }
.nca-testimonials__heading { margin: 0 0 20px; font-size: 22px; line-height: 1.2; color: #fff; }
.nca-testimonials__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 999px) { .nca-testimonials__track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 690px)  { .nca-testimonials__track { grid-template-columns: 1fr; } }

/* Carousel layout (homepage): one row, horizontal scroll-snap, arrows */
.nca-testimonials--carousel { position: relative; }
.nca-testimonials--carousel .nca-testimonials__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.nca-testimonials--carousel .nca-testimonials__track::-webkit-scrollbar { display: none; }
.nca-testimonials--carousel .nca-quote { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
@media (max-width: 999px) { .nca-testimonials--carousel .nca-quote { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 690px)  { .nca-testimonials--carousel .nca-quote { flex-basis: 88%; } }
.nca-testimonials__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
body .nca-testimonials__nav button { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0; border: 0 !important; border-radius: 4px !important; background: #fff !important; color: #676767 !important; cursor: pointer; }
body .nca-testimonials__nav button:hover { background: #ececec !important; }

/* Card */
.nca-quote { display: flex; flex-direction: column; margin: 0; padding: 28px 28px 24px; background: #16181e; border-radius: 20px; }
.nca-quote::before { content: "\201C"; display: block; height: 28px; font-size: 64px; line-height: 1; font-weight: 700; color: #fff; }
.nca-quote__text { margin: 12px 0 0; padding: 0; border: 0; font-size: 17px; line-height: 1.55; font-weight: 500; color: #fff; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.nca-quote blockquote.nca-quote__text::before, .nca-quote blockquote.nca-quote__text::after { content: none !important; display: none !important; } /* Salient's blockquote bar */
.nca-quote__text, .nca-quote__text p { font-family: 'Graphie', Helvetica, sans-serif; } /* Salient sets blockquote text in Open Sans */
.nca-quote__text p { margin: 0 0 10px; padding: 0; color: inherit; font-size: inherit; line-height: inherit; }
.nca-quote.is-open .nca-quote__text { display: block; -webkit-line-clamp: none; }
body .nca-quote__more { align-self: flex-start; margin: 8px 0 0; padding: 0; border: 0 !important; background: none !important; color: #a3a7b3 !important; font-size: 13px; cursor: pointer; }
body .nca-quote__more:hover { color: #fff !important; }
.nca-quote__who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; font-size: 15px; line-height: 1.3; }
.nca-quote__who b { font-weight: 600; }
.nca-quote__who small { font-size: 13px; color: #a3a7b3; }
.nca-quote__photo { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; }
.nca-quote__initial { display: inline-flex; align-items: center; justify-content: center; background: #2a2e38; color: #fff; font-size: 20px; font-weight: 600; }

/* On the product page: a full-bleed rounded panel, same as the homepage sections
   (Salient column overlay #16181e, 20px radius, 6px from the viewport edge), with the darker homepage card colour inside. */
.single-product #ajax-content-wrap { overflow-x: clip; }
.nca-pdp .nca-testimonials { margin: 100px calc(6px - var(--nca-bleed, 0px)) 0; padding: 80px 0; background: #16181e; border-radius: 20px; border: 0; }
.nca-pdp .nca-testimonials__inner { margin: 0 calc(var(--nca-bleed, 22px) - 6px); } /* content aligns with the product columns */
.nca-pdp .nca-quote { background: #0d0e11; }
.nca-pdp .related.products { border-top: 0; margin: 100px calc(6px - var(--nca-bleed, 0px)) 24px; padding: 80px calc(var(--nca-bleed, 22px) - 6px); background: #16181e; border-radius: 20px; }
.nca-pdp .related.products .nca-pkg { background: #0d0e11; }
@media (max-width: 860px) {
	.nca-pdp .nca-testimonials { margin-top: 56px; padding: 56px 0; }
	.nca-pdp .related.products { margin-top: 56px; padding-top: 56px; padding-bottom: 56px; }
}
