/* A4: the native-feedback strip sits on the dark navy background
   (--bg-secondary). Body text and section titles default to the dark
   light-theme palette, which was nearly unreadable there — all text in this
   section gets explicit light colors with the methodology link clearly
   visible. Nothing is hidden and no overflow is clipped. A5: compact full
   presentation. */
.trust-home{padding:2.5rem 1.25rem;background:var(--bg-secondary,#111827);color:#d7dde8}
.trust-home .section-title{color:#f3f6fb}
.trust-home p{line-height:1.6;max-width:78ch;margin-bottom:.9rem;color:#d7dde8}
.trust-latest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin:1.25rem 0}
.trust-home .review-card{padding:1.4rem;border:1px solid var(--border-color,#64748b);border-radius:1rem;min-width:0}
.trust-home .review-card h3{font-size:1.1rem;color:#f3f6fb}
.trust-home .metadata,.trust-home time{font-size:.9rem;color:#b7c1d3}
.trust-home .review-card .stars,.trust-home .review-card .review-comment{color:#e3e9f2}
.review-comment{white-space:pre-wrap;overflow-wrap:anywhere}
.trust-home a{color:#93c5fd}
.trust-home a:focus-visible{outline:3px solid #60a5fa;outline-offset:4px}
/* Source-context and feedback labels must wrap inside their actual container. */
#testimonials .testimonials__footer .btn,.trust-home .testimonials__footer .btn,.corporate__cta .btn{white-space:normal;max-width:100%;min-width:0;overflow-wrap:anywhere;text-align:center}
.training .section-title{overflow-wrap:anywhere}
.trust-home [data-trust-summary]{padding:1rem;border-left:3px solid #60a5fa;color:#e3e9f2}
@media(max-width:760px){.trust-latest{grid-template-columns:1fr}.trust-home .testimonials__footer{display:flex;flex-direction:column;align-items:flex-start}}
.trust-home__short{font-size:.95rem;margin-bottom:.5rem;color:#c4cddb}
.trust-home__details{max-width:78ch;margin:0 0 .75rem;font-size:.85rem;color:#c4cddb}
.trust-home__details summary{cursor:pointer;color:#93c5fd;font-weight:500}
.trust-home__details summary:focus-visible{outline:3px solid #60a5fa;outline-offset:4px}
.trust-home__details p{margin:.5rem 0 0;color:#c4cddb}
/* Compact empty state for the direct website-feedback section: one short note,
   details on demand, no oversized trust block while nothing is published. */
.trust-home[data-state="empty"]{padding:1.75rem 1.25rem}
.trust-home[data-state="empty"] [data-trust-latest]{display:none}
.trust-home[data-state="empty"] [data-trust-summary]{border-left:none;padding:0;font-size:.9rem}
/* A3: load-more positions the first newly added card at the viewport top;
   the fixed header must not cover it. */
.testimonial-card{scroll-margin-top:6rem}

/* Direct participant reviews now live in the light testimonials section. */
.testimonials__direct { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); }
.testimonials__direct > h3 { margin-bottom: .5rem; }
.testimonials__direct > p { color: var(--text-secondary); font-size: .92rem; line-height: 1.6; margin-bottom: .75rem; }
.testimonials__direct .testimonials__grid--direct { margin-top: 1.25rem; align-items: start; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); }
.testimonials__direct .review-card { min-width: 0; gap: .6rem; justify-content: flex-start; overflow-wrap: anywhere; }
.testimonials__direct .review-card h3 { font-size: 1.1rem; color: var(--text-primary); }
.testimonials__direct .review-card .stars { color: var(--navy-900); font-weight: 700; }
.testimonials__direct .review-card time,
.testimonials__direct .review-card .metadata { color: var(--text-secondary); font-size: .82rem; }
.testimonials__direct .review-comment { font-size: .92rem; line-height: 1.7; color: var(--text-secondary); }
.testimonials__direct .review-comment--clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.testimonials__direct .testimonial-card__toggle { align-self: flex-start; }
.testimonials__direct .review-course-context { border-top: 1px solid var(--gray-100); padding-top: .75rem; margin-top: .5rem; font-size: .8rem; line-height: 1.6; color: var(--text-secondary); }
.testimonials__direct .review-course-context__line + .review-course-context__line { margin-top: .5rem; }
.testimonials__direct .review-course-context__label { font-weight: 600; }
/* One chronological participant wall, independent of review source. */
#testimonialsGrid { align-items:stretch; }
#testimonialsGrid .testimonial-card { min-width:0; padding:1.4rem; overflow-wrap:anywhere; }
#testimonialsGrid .testimonial-card--featured { padding:2rem; border-top:3px solid var(--gold-400,#c49a44); box-shadow:0 8px 28px rgba(10,22,40,.06); }
#testimonialsGrid .testimonial-card--featured .testimonial-card__quote p { font-size:1rem; }
.testimonial-stars { order:-1; position:relative; align-self:flex-start; display:inline-block; color:#d5dae2; font-size:1.2rem; letter-spacing:.12em; line-height:1.4; margin:.6rem 0; }
.testimonial-stars__fill { position:absolute; left:0; top:0; overflow:hidden; white-space:nowrap; color:#b78624; }
.testimonial-course-details { font-size:.8rem; line-height:1.6; color:var(--text-secondary); border-top:1px solid var(--gray-100); padding-top:.65rem; margin-top:.5rem; }
.testimonial-course-details summary { cursor:pointer; font-weight:600; }
.testimonial-course-details .review-course-context__line { margin-top:.5rem; }
.testimonials__method { text-align:center; font-size:.8rem; margin-top:1.5rem; }
@media(max-width:760px){ #testimonialsGrid { grid-template-columns:1fr; } #testimonialsGrid .testimonial-card--featured { padding:1.5rem; } }
.metrics__download { max-width:100%; white-space:normal; overflow-wrap:anywhere; text-align:center; }
