/* Rozdziały nowego kompendium SEP G1 — dopasowane do istniejących kart Teorio. */
.sep-g1-electrotechnika .sep-table-wrap{width:100%;overflow-x:auto;margin:18px 0;border:1px solid #dce8ff;border-radius:18px;background:#fff}
.sep-g1-electrotechnika .sep-table{width:100%;min-width:680px;border-collapse:collapse}
.sep-g1-electrotechnika .sep-table th,.sep-g1-electrotechnika .sep-table td{padding:12px 13px;border-bottom:1px solid #e5edf9;text-align:left;vertical-align:top;color:#405273;font-size:.92rem;line-height:1.55}
.sep-g1-electrotechnika .sep-table th{background:#f1f6ff;color:#10245d;font-weight:900}
.sep-g1-electrotechnika .sep-table tr:last-child td{border-bottom:0}
.sep-g1-electrotechnika .sep-formula{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0;padding:18px;border-radius:17px;background:#10245d;color:#fff;font-size:clamp(1.2rem,2.5vw,1.65rem);font-weight:950;letter-spacing:.02em}
.sep-g1-electrotechnika .sep-formula span{color:#ffac4a}
.sep-g1-electrotechnika .sep-safety-list{counter-reset:safety;display:grid;gap:10px;margin:18px 0;padding:0;list-style:none}
.sep-g1-electrotechnika .sep-safety-list li{counter-increment:safety;position:relative;padding:14px 16px 14px 58px;border:1px solid #dfe9fa;border-radius:15px;background:#fbfdff;color:#405273;line-height:1.65}
.sep-g1-electrotechnika .sep-safety-list li:before{content:counter(safety);position:absolute;left:15px;top:50%;transform:translateY(-50%);width:29px;height:29px;display:grid;place-items:center;border-radius:10px;background:#164fd6;color:#fff;font-weight:950}
.sep-g1-electrotechnika .sep-chapter-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid #e7edf7}
.sep-g1-electrotechnika .sep-chapter-nav>span{color:#71819b;font-size:.9rem;font-weight:800}
.sep-g1-electrotechnika .sep-final-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.sep-g1-electrotechnika .forklift-card-media .mini-tip{line-height:1.6}
.sep-g1-electrotechnika .sep-safe-media{display:grid;gap:14px;width:100%}
.sep-g1-electrotechnika .sep-safe-figure{width:min(100%,460px);margin:0 auto;padding:12px;border:1px solid #dce8ff;border-radius:20px;background:#fff;box-sizing:border-box}
.sep-g1-electrotechnika .sep-safe-figure img{display:block;width:100%;aspect-ratio:3/2;object-fit:contain;border-radius:13px;background:#f8fbff}
.sep-g1-electrotechnika .sep-safe-figure figcaption{display:block;position:static;margin:10px 2px 0;color:#526987;font-size:.9rem;line-height:1.5;text-align:center}
.sep-g1-electrotechnika .sep-hazard-table{min-width:650px}
.sep-g1-electrotechnika .sep-exam-questions{display:grid;gap:8px;margin:14px 0;padding-left:1.35rem;color:#405273;line-height:1.65}
.sep-g1-electrotechnika .sep-exam-questions li::marker{color:#164fd6;font-weight:900}
@media(max-width:760px){.sep-g1-electrotechnika .sep-chapter-nav{align-items:stretch}.sep-g1-electrotechnika .sep-chapter-nav>a,.sep-g1-electrotechnika .sep-final-actions>a{width:100%;justify-content:center}.sep-g1-electrotechnika .sep-final-actions{width:100%}.sep-g1-electrotechnika .sep-final-actions .primary-button{width:100%}}
.sep-g1-electrotechnika .sep-formula{flex-wrap:wrap;text-align:center;overflow-wrap:anywhere}
.sep-g1-electrotechnika .sep-formula span{max-width:100%}
.sep-g1-electrotechnika .sep-material-intro{color:#526987;line-height:1.7}

/* SEP G2 Dozór: materiał tekstowy z jedną ilustracją wprowadzającą. */
.g2d-kontrola-material .g2d-reading-card{grid-template-columns:minmax(0,1fr);}
.g2d-kontrola-material .g2d-reading-card .forklift-card-text{max-width:100%;}
.g2d-kontrola-material .forklift-modern-visual-card>img{display:block;width:100%;max-width:560px;aspect-ratio:3/2;object-fit:contain;margin:0 auto 14px;border-radius:16px;background:#f8fbff;}

/* SEP G2 Dozór: montaż i modernizacja, z jedną ilustracją wprowadzającą. */
.g2d-montaz-material .g2d-reading-card{grid-template-columns:minmax(0,1fr);}
.g2d-montaz-material .g2d-reading-card .forklift-card-text{max-width:100%;}
.g2d-montaz-material .forklift-modern-visual-card>img{display:block;width:100%;max-width:560px;aspect-ratio:3/2;object-fit:contain;margin:0 auto 14px;border-radius:16px;background:#f8fbff;}

/* SEP G2 Dozór: kotły — hero image follows the SEP G1 material layout. */
.g2d-kotly-material .forklift-modern-visual-card>img{display:block;width:100%;max-width:560px;aspect-ratio:3/2;object-fit:contain;margin:0 auto 14px;border-radius:16px;background:#f8fbff;}
