.teg-testimonials,.teg-scholarship{--eng-navy:#0B1F44;--eng-gold:#C9A13B;color:var(--eng-navy);min-width:0;line-height:1.65;margin:32px 0}
.teg-testimonials .teg-testimonial-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;background:transparent;padding:0;margin:0 0 24px;border:0;box-shadow:none}
.teg-testimonials .teg-testimonial-heading>div{min-width:0;flex:1}.teg-testimonials h2{font-size:clamp(26px,3.2vw,36px);line-height:1.25;margin:0 0 12px;color:var(--eng-navy)}.teg-testimonials .teg-testimonial-heading p{margin:0}.teg-testimonials .teg-student-total{color:var(--eng-gold);display:flex;flex-direction:column;flex:0 0 auto;text-align:center;line-height:1.2}.teg-student-total strong{font-size:clamp(42px,5vw,66px);font-weight:800}.teg-student-total span{font-size:18px;font-weight:650}
.teg-testimonial-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.teg-testimonial-grid .teg-testimonial-thumb{background:#fff;padding:0;border:1px solid #dedbd1;border-radius:16px;overflow:hidden;cursor:zoom-in;box-shadow:none;min-width:0;display:block}.teg-testimonial-thumb img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:15px}
.teg-engagement-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}.teg-engagement-primary,.teg-engagement-outline,.teg-scholarship-find{display:inline-flex;align-items:center;justify-content:center;text-align:center;border-radius:12px;padding:14px 22px;min-height:50px;font-size:16px;font-weight:700;line-height:1.5;text-decoration:none;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}.teg-engagement-primary{color:#fff;background:#0B1F44;border:1px solid #C9A13B}.teg-engagement-primary:hover{color:#fff;background:#163260}.teg-engagement-outline{color:#0B1F44;background:transparent;border:1px solid #0B1F44}.teg-engagement-outline:hover{background:#0b1f440a;color:#0B1F44}.teg-engagement-actions a:focus-visible,.teg-testimonials button:focus-visible,.teg-scholarship a:focus-visible{outline:3px solid #C9A13B;outline-offset:4px}
.teg-testimonial-lightbox{width:min(1000px,94vw);max-width:94vw;max-height:94dvh;border:1px solid #C9A13B;border-radius:18px;background:#0B1F44;color:#fff;padding:16px;box-sizing:border-box}.teg-testimonial-lightbox::backdrop{background:#041024df}.teg-lightbox-toolbar{display:flex;justify-content:flex-end;margin-bottom:12px}.teg-testimonial-lightbox button{color:#fff;background:transparent;border:1px solid #c9a13b;border-radius:9px;padding:10px 16px;white-space:normal}.teg-lightbox-picture img{display:block;max-width:100%;width:auto;height:auto;max-height:68dvh;object-fit:contain;margin:auto;border-radius:12px}.teg-lightbox-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.teg-lightbox-navigation span{font-size:14px;white-space:nowrap}
.teg-scholarship .teg-scholarship-hero{display:block;background:#0B1F44;color:#fff;border-radius:20px;padding:clamp(26px,5vw,52px);border:1px solid #0B1F44;margin:0 0 24px}.teg-scholarship .teg-scholarship-eyebrow{color:#C9A13B;font-size:13px;letter-spacing:.15em;font-weight:800;margin:0 0 16px}.teg-scholarship .teg-scholarship-hero h2{color:#fff;font-size:clamp(30px,4vw,46px);line-height:1.2;margin:0 0 20px;max-width:820px}.teg-scholarship .teg-scholarship-hero>p:not(.teg-scholarship-eyebrow){font-size:18px;max-width:850px;margin:0 0 26px;line-height:1.75}.teg-scholarship-find{color:#0B1F44;background:#C9A13B;border:1px solid #C9A13B;font-size:18px;min-height:58px}.teg-scholarship-find:hover{color:#0B1F44;background:#dfbc62}.teg-scholarship-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.teg-scholarship-categories article{margin:0;padding:22px;background:#fff;border:1px solid #e5ddc9;border-radius:16px;box-shadow:none;min-width:0}.teg-scholarship-icon{font-size:30px;color:#C9A13B;line-height:1.2;display:block;margin-bottom:15px}.teg-scholarship-categories h3{font-size:18px;line-height:1.4;margin:0 0 12px;color:#0B1F44;overflow-wrap:anywhere}.teg-scholarship-categories p{font-size:15px;margin:0;line-height:1.7}.teg-scholarship-consult{display:flex;gap:24px;align-items:center;justify-content:space-between;background:#FAF7F0;border:1px solid #e5ddc9;border-radius:16px;padding:24px;margin:24px 0 16px}.teg-scholarship-consult p{flex:1;margin:0;min-width:0;font-size:17px}.teg-scholarship-consult a{flex-shrink:0}.teg-scholarship .teg-scholarship-disclaimer{font-size:13px;color:#637080;line-height:1.7;margin:0}
@media(max-width:1050px){.teg-testimonial-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.teg-scholarship-categories{gap:14px}}
@media(max-width:650px){.teg-testimonials .teg-testimonial-heading{align-items:flex-start;gap:14px}.teg-testimonials h2{font-size:25px}.teg-testimonials .teg-testimonial-heading>div>p{font-size:15px}.teg-student-total strong{font-size:42px}.teg-student-total span{font-size:14px}.teg-testimonial-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding:4px 2px 16px;scroll-padding-left:2px}.teg-testimonial-grid .teg-testimonial-thumb{flex:0 0 calc((100% - 14px)/1.2);scroll-snap-align:start}.teg-engagement-actions{flex-direction:column;align-items:stretch}.teg-engagement-actions a{width:100%}.teg-testimonial-lightbox{padding:12px}.teg-lightbox-navigation{gap:8px}.teg-lightbox-navigation button{font-size:13px;padding:9px}.teg-lightbox-picture img{max-height:66dvh}.teg-scholarship .teg-scholarship-hero{padding:26px 22px}.teg-scholarship .teg-scholarship-hero>p:not(.teg-scholarship-eyebrow){font-size:16px}.teg-scholarship-find{width:100%;font-size:17px}.teg-scholarship-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.teg-scholarship-categories article{padding:17px 14px}.teg-scholarship-categories h3{font-size:16px}.teg-scholarship-categories p{font-size:14px}.teg-scholarship-consult{flex-direction:column;align-items:stretch;padding:22px;gap:18px}.teg-scholarship-consult p{font-size:16px}}
@media print{.teg-testimonials,.teg-scholarship{display:none!important}}
