/* BGP project additions; parent academy styles remain the source of truth. */
.bgp-main{max-width:1180px;margin:0 auto;padding:38px 22px 72px}
.bgp-hero{background:linear-gradient(115deg,#153858,#23618a);color:#fff;border-radius:15px;padding:48px 5%;box-shadow:0 12px 30px #183c5b18}
.bgp-hero .eyebrow{color:#b8ddf8}
.bgp-hero h1{font-size:clamp(34px,5vw,48px);line-height:1.12;margin:14px 0 12px;letter-spacing:-.04em}
.bgp-hero p{max-width:720px;color:#e2edf7;font-size:16px;margin:0}
.bgp-hero .hero-meta{font-size:10px;letter-spacing:.12em;color:#c3d9eb;margin-top:22px}
.bgp-section{margin-top:38px}
.bgp-section-head{margin-bottom:18px}
.bgp-section-head h2{font-size:25px;margin:5px 0}
.bgp-section-head p{color:var(--muted);margin:0}
.bgp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.bgp-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px;box-shadow:0 4px 15px #193d5b08;display:flex;flex-direction:column;min-height:255px}
.bgp-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bgp-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:23px;background:#eaf3fb;color:#21618a}
.bgp-card h3{font-size:20px;margin:15px 0 7px;color:var(--ink)}
.bgp-card p{font-size:13px;color:var(--muted);margin:0 0 15px}
.bgp-card .card-meta{margin-top:auto}
.bgp-card .btn{align-self:flex-start;margin-top:13px}
.bgp-status{font-size:9px;font-weight:800;letter-spacing:.08em;border-radius:20px;padding:5px 9px;background:#e8f5ef;color:#087b52;white-space:nowrap}
.bgp-status.planned{background:#f0f3f6;color:#667b8d}
.bgp-module-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.bgp-module{padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;display:flex;gap:12px;align-items:flex-start}
.bgp-module strong{color:#176b9b;min-width:25px}
.bgp-module span{font-size:13px}
.bgp-note{background:#eaf3fa;border:1px solid #d3e4f1;border-radius:12px;padding:20px 22px;margin-top:28px}
.bgp-note p{color:var(--muted);margin:4px 0 0}
.bgp-page-title{border-bottom:1px solid var(--line);padding:12px 0 24px;margin-bottom:24px}
.bgp-page-title h1{font-size:34px;margin:7px 0}
.bgp-page-title p{color:var(--muted);margin:0}
.bgp-content-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin:18px 0}
.bgp-content-panel h2{font-size:19px;margin:0 0 8px}
.bgp-content-panel p,.bgp-content-panel li{color:var(--muted);font-size:14px}
.bgp-back{display:inline-block;margin-bottom:15px;color:#0874b5;font-weight:700;text-decoration:none;font-size:13px}
@media(max-width:760px){.bgp-grid,.bgp-module-list{grid-template-columns:1fr}.bgp-hero{padding:36px 25px}.bgp-card{min-height:unset}}

/* Part 1 module lesson content */
.bgp-lesson-main{max-width:1000px}
.bgp-lesson-content{background:#fff;border:1px solid var(--line);border-radius:12px;padding:clamp(20px,4vw,38px);box-shadow:0 4px 15px #193d5b08}
.bgp-lesson-content h1{font-size:27px;line-height:1.25;margin:0 0 20px;color:var(--ink)}
.bgp-lesson-content h2{font-size:20px;margin:28px 0 10px;color:var(--ink);border-bottom:1px solid #e6eef5;padding-bottom:7px}
.bgp-lesson-content p{font-size:14px;color:#425f79;margin:10px 0;line-height:1.75}
.bgp-lesson-content ul,.bgp-lesson-content ol{padding-left:25px;margin:10px 0 18px}
.bgp-lesson-content li{font-size:14px;color:#425f79;padding:3px 0;line-height:1.65}
.bgp-lesson-content pre{background:#102f4b;color:#e7f2fb;border-radius:9px;padding:17px;overflow-x:auto;margin:14px 0 20px;font:13px/1.65 Consolas,Monaco,monospace}
.bgp-lesson-content pre code{white-space:pre}
.bgp-lesson-content .table-wrap{overflow-x:auto;margin:15px 0 22px}
.bgp-lesson-content table{width:100%;border-collapse:collapse;min-width:560px;font-size:13px}
.bgp-lesson-content th{background:#eaf3fa;color:#173d63;text-align:left;font-weight:750}
.bgp-lesson-content th,.bgp-lesson-content td{border:1px solid #d9e5ef;padding:10px 12px;vertical-align:top}
.bgp-lesson-content td{color:#425f79}
.bgp-lesson-content .question{font-weight:800;color:#173d63;margin-top:18px}
.bgp-lesson-content .assessment-line{margin:4px 0}
.bgp-lesson-content .correct-answer{font-weight:750;color:#087b52;background:#edf8f2;border-left:3px solid #087b52;padding:8px 11px}
.bgp-lesson-content .explanation{background:#f1f6fa;border-radius:6px;padding:9px 11px}
.bgp-lesson-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:22px 0}
@media(max-width:760px){.bgp-lesson-content{padding:20px 16px}.bgp-lesson-content h1{font-size:23px}.bgp-lesson-content h2{font-size:18px}}

.bgp-module-link{text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease}
.bgp-module-link:hover{transform:translateY(-2px);box-shadow:0 7px 18px #193d5b12;border-color:#b7d1e5}
.bgp-module-link small{display:block;color:#0874b5;font-size:11px;font-weight:750;margin-top:7px}

/* BGP automation resource folders */
.automation-summary{margin:18px 0 28px}
.automation-summary h2{font-size:22px;margin:7px 0}
.automation-summary-meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}
.automation-summary-meta span{background:#fff;border:1px solid #d5e4ef;border-radius:20px;padding:6px 10px;color:#1b5278;font-size:11px;font-weight:750}
.automation-grid .bgp-card{min-height:225px}
.automation-grid .bgp-card .btn{margin-top:auto}
.automation-test-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}
.automation-test-list span{background:#f4f8fb;border:1px solid #e0eaf2;border-radius:7px;padding:9px 11px;font-size:12px;color:#315a78}
.automation-footnote{font-size:12px!important;border-top:1px solid #e7eef4;padding-top:12px;margin-top:18px!important}
.bgp-empty-state{padding:14px;background:#f4f8fb;border:1px dashed #b8cddd;border-radius:8px}
.bgp-file-list{padding-left:20px}
.bgp-file-list li{padding:5px 0}
.bgp-file-list a{color:#0874b5;font-weight:650;text-decoration:none}
.bgp-file-list a:hover{text-decoration:underline}
@media(max-width:760px){.automation-test-list{grid-template-columns:1fr}}
