/* diangong.html — 电工大全 · S13 图文混合+表格 · D2 对角光斑 + D4 斜分隔 */

.dg-hero{
  padding:calc(var(--header-h) + 70px) 0 90px;
  background:linear-gradient(160deg,#FAF9F6 0%,#F1EEE8 100%);
}
.dg-hero-in{max-width:800px;}
.dg-hero h1{font-size:42px;line-height:1.28;margin:22px 0 18px;letter-spacing:1px;}
.dg-lede{font-size:16px;color:var(--text-weak);max-width:720px;}

.dg-col{display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:center;}
.dg-col-r{grid-template-columns:1fr 1.15fr;}
.dg-txt h2{font-size:28px;margin:14px 0 16px;line-height:1.35;}
.dg-txt p{font-size:15px;color:var(--text);}
.dg-fig{margin:0;}
.dg-fig img{width:100%;height:auto;box-shadow:var(--shadow-b);}
.dg-fig figcaption{font-size:12.5px;color:var(--text-weak);margin-top:10px;padding-left:12px;border-left:2px solid var(--brown-200);}

/* D4 斜分隔条 */
.dg-divider{
  height:60px;
  background:linear-gradient(135deg,var(--gray-50) 0%,#fff 50%);
  clip-path:polygon(0 0,100% 0,100% 40%,0 100%);
}

.dg-sec-head{margin-bottom:36px;max-width:720px;}
.dg-sec-head h2{font-size:28px;margin:14px 0 10px;}

.dg-tbl-wrap{overflow-x:auto;}
.dg-tbl th{text-align:center;}
.dg-tbl td:first-child{font-weight:700;color:var(--brown-400);}
.dg-tbl-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px;}

/* 报名考试三卡 */
.dg-faq{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.dg-faq-item{
  background:#fff;padding:28px 26px;box-shadow:var(--shadow-s);
  border-top:3px solid var(--brown-100);
}
.dg-faq-item h3{font-size:17px;color:var(--brown-400);margin-bottom:12px;}
.dg-faq-item p{font-size:14px;color:var(--text-weak);line-height:1.85;}

/* 本地就业 */
.dg-job{max-width:860px;}
.dg-job h2{font-size:28px;margin-bottom:16px;}
.dg-job p{font-size:15px;}
.dg-job-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px;}

@media (max-width:920px){
  .dg-hero h1{font-size:30px;}
  .dg-col,.dg-col-r{grid-template-columns:1fr;gap:28px;}
  .dg-faq{grid-template-columns:1fr;}
}

/* 列宽（table-layout:fixed） */
.dg-tbl th:nth-child(1),.dg-tbl td:nth-child(1){width:18%;}
.dg-tbl th:nth-child(2),.dg-tbl td:nth-child(2){width:41%;}
.dg-tbl th:nth-child(3),.dg-tbl td:nth-child(3){width:41%;}
