
.object-home #courses.training-cards-section{background:#fff;color:#293d50}
.training-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
.tc-course{min-width:0;background:var(--bg);padding:24px 20px 22px;border:1px solid var(--border);border-radius:22px;display:flex;flex-direction:column;align-items:center;text-align:center;box-sizing:border-box}
.tc-oge{--bg:#b7cadc;--border:#a9bdd0;--ink:#3b5770}.tc-ege{--bg:#dddce5;--border:#cbc9d8;--ink:#58556f}.tc-vpr{--bg:#edf0f2;--border:#d5dde4;--ink:#536879}
.tc-stage{width:100%;max-width:300px;position:relative;padding-bottom:20px;margin-bottom:20px;perspective:900px}
.tc-device{padding:13px 8px 10px;border-radius:15px;background:linear-gradient(135deg,#fbfcfe,#d5dde6);border:1px solid #b7c2ce;box-shadow:0 12px 20px #253d531f;position:relative;transform:rotate(-2deg);transition:transform .4s;box-sizing:border-box}.tc-ege .tc-device{transform:rotate(2deg)}.tc-vpr .tc-device{transform:rotate(-1deg)}
.tc-camera{width:3px;height:3px;background:#8090a3;border-radius:50%;position:absolute;top:5px;left:50%}
.tc-screen{border:1px solid #c3cedb;border-radius:7px;background:#f8fafc;overflow:hidden}.tc-screen-top{display:flex;align-items:center;padding:8px 10px;background:#edf1f6;border-bottom:1px solid #d7dfe9}.tc-screen-top b{font-family:'Segoe UI',sans-serif;font-size:17px;font-weight:400;color:var(--ink)}.tc-screen-content{padding:9px;color:var(--ink)}.tc-screen-content svg{display:block;width:100%;height:auto}
.tc-stand{width:17%;height:19px;background:linear-gradient(90deg,#b5c2d0,#edf2f7,#b8c5d2);margin:auto}.tc-base{height:5px;width:45%;margin:auto;border-radius:50%;background:#a7b5c5;box-shadow:0 5px 6px #354e6820}
.object-home #courses .tc-course h3{font-family:'Segoe UI Light','Segoe UI',sans-serif;color:#293d50;font-size:23px;font-weight:300;line-height:1.2;margin:0 0 22px}
.object-home #courses .tc-button{font-family:'Segoe UI',sans-serif;font-size:13px;font-weight:400;line-height:1.25;color:#293d50;background:#f6f8fb;border:1px solid #c9d3df;border-radius:8px;padding:12px 25px;width:100%;max-width:230px;position:relative;margin-top:auto;white-space:nowrap;cursor:pointer;min-height:44px;box-sizing:border-box;text-align:center}.tc-button span{position:absolute;right:12px}.tc-button:focus-visible{outline:3px solid #476887;outline-offset:4px}.tc-button[aria-expanded=true]{box-shadow:0 0 0 2px #6e88a4}
@media(hover:hover){.tc-course:hover .tc-device{transform:translateY(-6px) rotate(0)}.object-home #courses .tc-button:hover{background:#fff}}
.tc-course:focus-within .tc-device{transform:translateY(-6px) rotate(0)}
@media(min-width:821px) and (max-height:740px){.training-card-grid{margin-top:20px}.tc-course{padding:18px 16px}.tc-stage{max-width:260px;margin-bottom:10px;padding-bottom:10px}.object-home #courses .tc-course h3{font-size:21px;margin-bottom:16px}}
@media(max-width:1000px) and (min-width:601px){.training-card-grid{gap:16px}.tc-course{padding:20px 12px}.object-home #courses .tc-course h3{font-size:20px}.object-home #courses .tc-button{font-size:12px;padding-inline:20px}}
@media(max-width:600px){.training-card-grid{grid-template-columns:1fr;gap:22px}.tc-course{width:100%;max-width:380px;margin-inline:auto;padding:22px}.tc-stage{max-width:290px}.object-home #courses .tc-course h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){.tc-device{transition:none}.tc-course:hover .tc-device,.tc-course:focus-within .tc-device{transform:none}}

/* Taller training cards make better use of the full-screen section. */
@media(min-width:601px){.training-card-grid{align-items:stretch}.tc-course{min-height:clamp(440px,calc(100svh - var(--site-header-height,80px) - 155px),600px)}.tc-stage{max-width:320px;margin-top:auto;margin-bottom:auto}.object-home #courses .tc-course h3{margin-top:22px}.object-home #courses .tc-button{margin-top:0}}
@media(min-width:601px) and (max-height:650px){.tc-course{min-height:0}}

@media(min-width:601px){.tc-screen-content{aspect-ratio:1.05;display:flex;align-items:center;justify-content:center}.tc-screen-content svg{width:100%;height:auto}}

/* Intermediate proportions: a coherent stack rather than a stretched card. */
@media(min-width:601px){.tc-course{min-height:clamp(400px,calc(100svh - var(--site-header-height,80px) - 245px),500px);justify-content:center}.tc-stage{max-width:300px;margin-top:0;margin-bottom:14px}.tc-screen-content{aspect-ratio:1.5}.object-home #courses .tc-course h3{margin-top:0;margin-bottom:18px;text-align:center}.object-home #courses .tc-button{margin-top:0}}
@media(min-width:601px) and (max-height:650px){.tc-course{min-height:0}}

/* Course announcements use the approved VK community destination. */
.object-home #courses .courses-announcements{text-align:center;max-width:820px;margin:12px auto 24px;font-size:14px;line-height:1.45}.object-home #courses .courses-announcements p{font-size:14px;margin:0 0 7px}.courses-announcements a{display:inline-block;color:inherit;text-underline-offset:4px}.courses-announcements a:focus-visible{outline:2px solid currentColor;outline-offset:4px}@media(max-width:640px){.object-home #courses .courses-announcements{margin-bottom:20px}.object-home #courses .courses-announcements p,.object-home #courses .courses-announcements a{font-size:13px}}

/* Approved: prominent, light exam labels in the course selection cards. */
.object-home #courses .tc-screen-top{display:flex;align-items:center;justify-content:center;padding:10px 0 4px;min-height:55px}
.object-home #courses .tc-screen-top b{font-family:"Segoe UI Light","Segoe UI",sans-serif;font-size:46px;font-weight:300;line-height:1.1;letter-spacing:1px;text-align:center;width:100%}
