.review-platform-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0;border-bottom:1px solid #e1e3f2;padding-bottom:12px}.review-platform-tabs a{display:flex;align-items:center;gap:9px;padding:12px 18px;color:#586485;border-bottom:3px solid transparent;font-weight:600}.review-platform-tabs svg{width:22px;height:22px}.review-platform-tabs [aria-current=page],.review-platform-tabs [aria-pressed=true]{color:#2b2b81;border-color:#2b2b81;background:#f2f1fd}.social-screenshot-card{gap:14px;overflow:hidden}.social-exam-label{align-self:flex-start;background:#eeedfc;color:#2b2b81;font-size:14px;font-weight:700;padding:8px 13px;border-radius:24px}.social-screenshot-image{display:flex;align-items:center;justify-content:center;background:#f6f7fb;border-radius:12px;height:290px;overflow:hidden}.social-screenshot-image img{width:100%;height:100%;object-fit:contain}.social-screenshot-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;flex-wrap:wrap}.social-source{display:flex;align-items:center;gap:6px}.social-source svg{width:19px;height:19px}.social-source.youtube svg{color:#f00}.social-source.whatsapp svg{color:#25d366}.social-scroll-note{font-size:13px;color:#64708a;text-align:center}.public-reviews .course-review-scroll .testimonial-grid{align-items:stretch}.social-screenshot-footer a{color:#2b2b81;font-weight:600}@media(max-width:600px){.review-platform-tabs{gap:4px}.review-platform-tabs a{font-size:12px;padding:10px 8px}.review-platform-tabs svg{width:18px}.social-screenshot-image{height:320px}}
/* Natural screenshots: no fixed-height image frames or global .whatsapp class. */
.testimonial-card.social-screenshot-card{padding:12px;gap:12px;border:1px solid #e4e4f3;border-radius:18px;background:#fff;box-shadow:0 6px 22px #2b2b8106;align-self:flex-start;min-width:0}
.social-screenshot-card .social-screenshot-image{display:block;height:auto;min-height:0;background:transparent;border-radius:11px;overflow:hidden}
.social-screenshot-card .social-screenshot-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;margin:0}
.social-screenshot-card .social-exam-label{font-size:13px;line-height:1.5;padding:6px 10px;border-radius:9px;max-width:100%;overflow-wrap:anywhere}
.social-screenshot-footer{padding:0 4px;gap:8px;flex-wrap:nowrap;min-height:36px}
.social-screenshot-footer .social-source{display:inline-flex;flex:0 0 34px;justify-content:center;width:34px;height:34px;background:transparent;border-radius:0;box-shadow:none}
.social-source-whatsapp{color:#25d366}.social-source svg{width:24px;height:24px;flex-shrink:0}
.social-screenshot-footer a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:12px;white-space:nowrap}.social-screenshot-footer a svg{width:17px;height:17px}
.social-screenshot-card>small{color:#778098;font-size:11px;padding:0 5px}
.course-review-scroll .testimonial-grid>.social-card-whatsapp{flex:0 0 272px}
.course-review-scroll .testimonial-grid>.social-card-youtube{flex:0 0 360px}
.public-reviews .course-review-scroll .testimonial-grid{align-items:flex-start;gap:20px}
.review-platform-tabs a svg.whatsapp-mark{color:#25d366}
.social-screenshot-card a:focus-visible{outline:2px solid #2b2b81;outline-offset:3px;border-radius:8px}
@media(max-width:600px){.course-review-scroll .testimonial-grid>.social-card-whatsapp{flex-basis:min(272px,85%)}.course-review-scroll .testimonial-grid>.social-card-youtube{flex-basis:90%}.public-reviews .course-review-scroll .testimonial-grid{gap:14px}.testimonial-card.social-screenshot-card{padding:10px;border-radius:15px}.review-platform-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.review-platform-tabs a{flex-shrink:0;min-height:44px}.social-screenshot-card .social-screenshot-image{height:auto}}
/* Viewport-fit WhatsApp previews, including narrow and landscape screens. */
.course-review-scroll .testimonial-grid>.testimonial-card.social-card-whatsapp{flex:0 0 min(272px,85%)}
.course-review-scroll .testimonial-grid>.testimonial-card.social-card-youtube{flex:0 0 min(360px,90%)}
.testimonial-card.social-card-whatsapp .social-screenshot-image{display:flex;align-items:center;justify-content:center;height:auto;background:transparent}
.testimonial-card.social-card-whatsapp .social-screenshot-image img{width:auto;height:auto;max-width:100%;max-height:min(440px,calc(100svh - 270px));object-fit:contain;margin-inline:auto}
@media(max-width:600px){.testimonial-card.social-card-whatsapp .social-screenshot-image img{max-height:min(430px,calc(100svh - 240px))}}
@media(max-height:450px){.testimonial-card.social-card-whatsapp .social-screenshot-image img{max-height:40svh}}
/* Full image viewer fits the screen too; original remains available separately. */
.feedback-image-dialog{max-height:calc(100svh - 24px)}
.feedback-image-dialog img{max-height:calc(100svh - 125px);max-width:100%;width:auto;height:auto;object-fit:contain}
.course-feedback-group+.course-feedback-group{margin-top:40px;padding-top:28px;border-top:1px solid #e2e3ef}.course-feedback-title{font-size:22px;line-height:1.4;color:#2b2b81;margin:0 0 20px}.course-feedback-group .course-review-scroll .testimonial-grid{align-items:flex-start}.course-feedback-group .testimonial-image-card .testimonial-screenshot img{max-height:min(440px,calc(100svh - 260px));width:auto;max-width:100%;margin-inline:auto}.course-feedback-group .testimonial-image-card{flex-basis:min(300px,85%)}
@media(max-width:600px){.course-feedback-title{font-size:20px}.course-feedback-group+.course-feedback-group{margin-top:28px;padding-top:22px}}
.course-feedback-group .course-review-scroll .testimonial-grid>.testimonial-card.testimonial-image-card{flex:0 0 min(300px,85%)}
/* Screenshot-only presentation: border on image, no padded outer card/footer. */
.testimonial-card.social-screenshot-card{padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;gap:0;overflow:visible}
.testimonial-card.social-screenshot-card .social-screenshot-image{position:relative;display:block;width:fit-content;max-width:100%;margin-inline:auto;overflow:visible;border-radius:12px;background:transparent}
.testimonial-card.social-screenshot-card .social-screenshot-image img{display:block;border:1px solid #b9bddc;border-radius:12px;box-sizing:border-box}
.social-screenshot-card .social-exam-label{position:absolute;z-index:1;top:0;left:8px;transform:translateY(-50%);max-width:calc(100% - 16px);background:#2b2b81;color:#fff;border:2px solid #fff;border-radius:8px;font-size:12px;line-height:1.3;padding:5px 9px;overflow-wrap:anywhere;box-sizing:border-box}
.course-review-scroll:has(.social-screenshot-card){padding-top:22px}

/* Match the WhatsApp slide to its actual fitted image width. */
.course-review-scroll .testimonial-grid>.testimonial-card.social-card-whatsapp{flex:0 0 var(--screenshot-width,272px);max-width:85%;width:var(--screenshot-width,272px)}
.public-reviews .course-review-scroll .testimonial-grid{justify-content:flex-start;column-gap:20px}
@media(max-width:600px){.public-reviews .course-review-scroll .testimonial-grid{column-gap:14px}}
.reviews-content{transition:opacity .18s ease}.reviews-content.reviews-loading{opacity:.55}.reviews-enter{animation:review-tab-enter .22s ease both}@keyframes review-tab-enter{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.reviews-content{transition:none}.reviews-enter{animation:none}}

/* v57: keep the exam badge outside the image clipping boundary. */
.social-screenshot-card .social-exam-label{position:relative!important;display:table;margin:0 8px -10px;top:auto!important;left:auto!important;transform:none!important;max-width:calc(100% - 16px);white-space:normal;z-index:2}
