/* INFOCHIEF ACADEMY / TESTIMONIALS PAGE – page-scoped visual polish
   Applies only to <main class="testimonials-page-premium">.
   No modification to shared header, mega menus, footer, images, or site JS. */
.testimonials-page-premium{--tp-ink:#143e6b;--tp-muted:#536c88;--tp-line:#dbe8f4;--tp-soft:#f7faff;--tp-shadow:0 10px 30px rgba(26,75,124,.064);color:var(--tp-ink)}
.testimonials-page-premium .section{padding:clamp(46px,4.2vw,72px) 0}
.testimonials-page-premium .section-soft{background:linear-gradient(180deg,#f6f9fd 0%,#f3f7fc 100%)}
.testimonials-page-premium .section-head{align-items:flex-end;gap:22px;margin-bottom:26px}
.testimonials-page-premium .section-head h2{font-size:clamp(28px,2.3vw,38px);line-height:1.19;letter-spacing:-.9px;color:#153e6c;margin:0}
.testimonials-page-premium .section-head .text-link{white-space:normal;font-size:13px;flex-shrink:0;padding-bottom:5px}
.testimonials-page-premium .method-hero{min-height:390px}
.testimonials-page-premium .method-hero h1{font-size:clamp(41px,4.3vw,62px);line-height:1.09;max-width:760px}
.testimonials-page-premium .method-hero-lead{max-width:750px;line-height:1.72;font-size:clamp(14px,1.12vw,17px);margin-bottom:0}
.testimonials-page-premium .testimonials-section-intro{color:var(--tp-muted);font-size:15px;line-height:1.75;max-width:960px;margin:-10px 0 28px}
/* Override the global .panel { border: 3px solid black } only on this page */
.testimonials-page-premium .testimonial-card.panel,.testimonials-page-premium .company-feedback.panel{border:1px solid var(--tp-line);border-radius:18px;background:#fff;box-shadow:var(--tp-shadow);transition:box-shadow .22s ease,transform .22s ease;overflow:hidden}
.testimonials-page-premium .testimonial-card.panel:hover,.testimonials-page-premium .company-feedback.panel:hover{box-shadow:0 16px 34px rgba(24,76,125,.11);transform:translateY(-2px)}
.testimonials-page-premium .testimonials-grid{gap:18px;align-items:stretch}
.testimonials-page-premium .testimonial-card.panel{min-height:246px;padding:25px 25px 27px;position:relative;justify-content:flex-start}
.testimonials-page-premium .testimonial-card.panel:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#2866a4,#8db7e1);opacity:.75}
.testimonials-page-premium .testimonial-person{padding:0;margin:0 0 21px;gap:13px;align-items:center;min-width:0}
.testimonials-page-premium .testimonial-person img{width:62px;height:62px;flex:0 0 62px;border-radius:50%;border:2px solid #e3ecf6;object-fit:cover;object-position:center 25%;background:#edf5fc}
.testimonials-page-premium .testimonial-person strong{font-size:14px;font-weight:800;color:#153e6b;line-height:1.4}
.testimonials-page-premium .testimonial-person small{font-size:12px;line-height:1.5;margin-top:3px;color:#637992}
.testimonials-page-premium .testimonial-quote{position:absolute;right:20px;bottom:10px;font-family:Georgia,serif;font-size:80px;line-height:.8;color:#d9e9f8;pointer-events:none;z-index:0}
.testimonials-page-premium .testimonial-card>p{font-size:14.3px;line-height:1.74;color:#3c5877;margin:0;position:relative;z-index:1}
.testimonials-page-premium .company-feedback-grid{gap:18px;align-items:stretch}
.testimonials-page-premium .company-feedback.panel{padding:22px 24px 24px;min-height:288px;display:flex;flex-direction:column}
.testimonials-page-premium .company-feedback>img{height:92px;max-width:100%;width:100%;object-fit:contain;padding:8px 12px 18px;margin:0 0 18px;border-bottom:1px solid #e7eef6}
.testimonials-page-premium .company-feedback p{font-size:14px;line-height:1.75;min-height:0;color:#3d5977;margin:0 0 25px;flex:1}
.testimonials-page-premium .company-feedback strong{display:block;color:#1a4c7a;font-size:12px;font-weight:800;line-height:1.5;margin-top:auto}
/* Analytics: deliberately treat scores as illustrative, not survey facts */
.testimonials-page-premium .testimonials-insights-head{align-items:center;margin-bottom:20px}
.testimonials-page-premium .testimonials-insights-intro{color:var(--tp-muted);font-size:15px;line-height:1.78;max-width:920px;margin:18px 0 0}
.testimonials-page-premium .insights-score-badge{flex:0 0 auto;min-width:180px;padding:23px 18px 19px;background:linear-gradient(145deg,#124377,#265f9e);color:#fff;border-radius:20px;text-align:center;box-shadow:0 9px 28px rgba(18,65,111,.15)}
.testimonials-page-premium .insights-score-badge strong{font-size:49px;font-weight:900;line-height:1}
.testimonials-page-premium .insights-score-badge>span{font-size:17px;font-weight:800;margin-left:2px;color:#d7e8f9}
.testimonials-page-premium .insights-score-badge small{display:block;margin-top:8px;font-size:10px;letter-spacing:.05em;text-transform:uppercase;line-height:1.45;color:#e4effa}
.testimonials-page-premium .testimonials-method-note{border:1px solid #d5e5f4;border-left:3px solid #3376b5;border-radius:13px;background:#f4f8fd;padding:13px 17px;color:#54708c;font-size:12.5px;line-height:1.7;margin:0 0 23px}
.testimonials-page-premium .testimonials-method-note strong{color:#214a73}
.testimonials-page-premium .testimonials-insights-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.testimonials-page-premium .insight-card,.testimonials-page-premium .insight-matrix-wrap{border:1px solid var(--tp-line);background:#fff;border-radius:20px;padding:26px;box-shadow:var(--tp-shadow);min-width:0}
.testimonials-page-premium .insight-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.testimonials-page-premium .insight-card-head h3{font-size:clamp(19px,1.55vw,23px);color:#153e6b;line-height:1.3;margin:4px 0 0;letter-spacing:-.35px}
.testimonials-page-premium .insight-card-head small{font-size:10px;font-weight:800;letter-spacing:.1em;color:#3772af}
.testimonials-page-premium .insight-chip{background:#edf5fc;color:#366b9c;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:800;white-space:nowrap}
.testimonials-page-premium .insight-radar-wrap{width:100%;min-height:330px;display:flex;align-items:center;justify-content:center}
.testimonials-page-premium .testimonial-radar{display:block;width:100%;max-width:540px;height:auto;overflow:visible}
.testimonials-page-premium .insight-note{font-size:12px;line-height:1.65;color:#71849b;border-top:1px solid #edf2f8;margin:16px 0 0;padding-top:13px}
.testimonials-page-premium .donut-layout{display:grid;grid-template-columns:minmax(0,1.0fr) minmax(0,1fr);gap:20px;align-items:center;min-height:320px}
.testimonials-page-premium .donut-chart{width:100%;max-width:285px;margin:auto}
.testimonials-page-premium .donut-legend{min-width:0;font-size:12px}
.testimonials-page-premium .insight-bars,.testimonials-page-premium .rating-distribution{min-width:0}
.testimonials-page-premium .distribution-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.testimonials-page-premium .distribution-summary>div{background:#f4f8fc;border:1px solid #e1eaf4;border-radius:15px;padding:18px;min-width:0}
.testimonials-page-premium .distribution-summary strong{display:block;font-size:25px;color:#235987}
.testimonials-page-premium .distribution-summary span{font-size:11px;line-height:1.55;color:#6e829c;display:block}
.testimonials-page-premium .insight-matrix-wrap{margin-top:18px;padding:26px}
.testimonials-page-premium .insight-matrix{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-width:0}
.testimonials-page-premium .insights-interpretation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}
.testimonials-page-premium .insights-interpretation article{background:linear-gradient(150deg,#164d82,#143e6b);border-radius:17px;padding:19px;color:#fff;min-width:0}
.testimonials-page-premium .insights-interpretation article>span{background:#f7b32b;color:#153657;border-radius:10px;padding:7px 10px;display:inline-block;font-weight:900;margin-bottom:15px}
.testimonials-page-premium .insights-interpretation article strong{font-size:13px;line-height:1.5;display:block}
.testimonials-page-premium .insights-interpretation article p{font-size:11.5px;line-height:1.68;color:#e0efff;margin:8px 0 0}
@media(max-width:1100px){.testimonials-page-premium .insight-matrix,.testimonials-page-premium .insights-interpretation{grid-template-columns:repeat(2,minmax(0,1fr))}.testimonials-page-premium .donut-layout{grid-template-columns:1fr;min-height:0}.testimonials-page-premium .donut-chart{max-width:250px}}
@media(max-width:800px){.testimonials-page-premium .section-head{align-items:flex-start}.testimonials-page-premium .section-head .text-link{display:inline-block}.testimonials-page-premium .company-feedback.panel{min-height:260px}.testimonials-page-premium .testimonials-insights-grid{grid-template-columns:1fr}.testimonials-page-premium .donut-layout{grid-template-columns:repeat(2,minmax(0,1fr));min-height:0}.testimonials-page-premium .insight-radar-wrap{min-height:290px}.testimonials-page-premium .testimonials-insights-head{align-items:flex-start}}
@media(max-width:620px){.testimonials-page-premium .section{padding:43px 0}.testimonials-page-premium .section-head{flex-direction:column;gap:10px;margin-bottom:18px}.testimonials-page-premium .section-head h2{font-size:27px;line-height:1.24}.testimonials-page-premium .testimonials-section-intro{margin:0 0 20px;font-size:13.5px}.testimonials-page-premium .testimonial-card.panel{min-height:0;padding:22px}.testimonials-page-premium .testimonial-person{margin-bottom:16px}.testimonials-page-premium .testimonial-card>p{font-size:13.5px}.testimonials-page-premium .company-feedback.panel{min-height:0;padding:20px}.testimonials-page-premium .company-feedback>img{height:82px}.testimonials-page-premium .company-feedback p{margin-bottom:18px}.testimonials-page-premium .testimonials-insights-head{gap:18px}.testimonials-page-premium .insights-score-badge{width:100%;min-width:0;padding:15px}.testimonials-page-premium .insight-card,.testimonials-page-premium .insight-matrix-wrap{padding:18px;border-radius:16px}.testimonials-page-premium .insight-card-head{flex-wrap:wrap;gap:8px}.testimonials-page-premium .donut-layout{grid-template-columns:1fr}.testimonials-page-premium .insight-matrix,.testimonials-page-premium .insights-interpretation{grid-template-columns:1fr}.testimonials-page-premium .distribution-summary{gap:9px}.testimonials-page-premium .distribution-summary>div{padding:13px}.testimonials-page-premium .testimonial-radar{max-width:100%}.testimonials-page-premium .testimonials-method-note{font-size:12px}}
@media(prefers-reduced-motion:reduce){.testimonials-page-premium .testimonial-card.panel,.testimonials-page-premium .company-feedback.panel{transition:none}.testimonials-page-premium .testimonial-card.panel:hover,.testimonials-page-premium .company-feedback.panel:hover{transform:none}}

/* Graceful fallback if the original js/testimonials-insights.js is unavailable. */
.testimonials-page-premium .insight-radar-wrap{position:relative}
.testimonials-page-premium .insight-radar-wrap .insight-fallback{display:none}
.testimonials-page-premium .insight-radar-wrap:has(#testimonial-radar:empty) .insight-fallback{display:block;color:#748ba4;font-size:13px;line-height:1.6;text-align:center;padding:30px 22px;margin:auto}
.testimonials-page-premium .insight-radar-wrap #testimonial-radar:empty{display:none}
.testimonials-page-premium #testimonial-donut:empty::before,.testimonials-page-premium #testimonial-bars:empty::before,.testimonials-page-premium #testimonial-distribution:empty::before,.testimonials-page-premium #testimonial-matrix:empty::before{content:"Chưa tải dữ liệu trực quan hóa";display:block;padding:46px 12px;color:#748ba4;text-align:center;font-size:13px;background:#f8fbfe;border:1px dashed #e1eaf4;border-radius:12px}
