/* Revit MEP course page only. Loaded after courses.css and quantity-surveying.css (the shared new course template), so neither of those files changes. Same component styles as autocad-mechanical.css. */

/* Diagram images (SVG schematics) keep the whole drawing visible */
.qs-module-img img[src$=".svg"] { object-position:center top; }
.qs-collage .qs-col-main[src$=".svg"] { background:#0a1226; }
.qs-hero-img[src$=".svg"] { object-position:right center; }

/* Module body: topics, learning outcomes, competency */
.qs-module-body .ae-sub { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--qs-accent); margin:4px 0 10px; }
.qs-module-body .qs-topics + .ae-sub { margin-top:14px; }
.ae-outcomes li::before { content:'\f058'; font-weight:400; color:#60a5fa; font-size:12px; }

/* Tables: assignments, roles */
.ae-table-wrap { overflow-x:auto; border-radius:18px; border:1px solid var(--qs-line); background:var(--qs-panel); }
.ae-table { width:100%; border-collapse:collapse; min-width:640px; font-size:15px; }
.ae-table caption { text-align:left; padding:18px 22px 0; color:var(--muted); font-size:14px; }
.ae-table th, .ae-table td { padding:16px 22px; text-align:left; vertical-align:top; line-height:1.6; }
.ae-table thead th { background:var(--qs-accent-soft); color:#fde68a; font-size:13px; letter-spacing:.06em; text-transform:uppercase; }
.ae-table tbody tr + tr td, .ae-table tbody tr + tr th { border-top:1px solid var(--qs-line); }
.ae-table tbody th { color:#fff; font-weight:600; }
.ae-table td { color:#cbd5e1; }
.ae-table .ae-no { display:inline-grid; place-items:center; width:32px; height:32px; border-radius:10px; background:var(--gradient); color:#fff; font-weight:700; font-size:14px; }

/* Assessment weights */
.ae-weights { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.ae-weights .qs-stat strong { font-size:42px; }
.ae-weights .qs-stat h3 { font-size:17px; margin-bottom:6px; }

/* Honest-scope callout */
.ae-callout { display:flex; gap:16px; align-items:flex-start; max-width:900px; margin:36px auto 0; padding:20px 22px; border-radius:16px; background:rgba(59,130,246,.08); border:1px solid rgba(59,130,246,.3); color:#cbd5e1; font-size:15px; line-height:1.75; }
.ae-callout i { color:#60a5fa; font-size:20px; margin-top:4px; }
.ae-callout strong { color:#fff; }
.ae-callout p { margin:0; }
.qs-careers .ae-callout, .qs-cert .ae-callout { margin:0 0 24px; }

/* Capstone */
.ae-capstone { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.ae-capstone > img { display:block; width:100%; height:auto; border-radius:20px; border:1px solid var(--qs-line); }
.ae-capstone p { color:var(--muted); font-size:16px; line-height:1.85; margin-bottom:16px; }
.ae-capstone .qs-checks { grid-template-columns:1fr; }

/* Pair-with tiles */
.ae-pair { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-top:8px; }
.ae-pair a { display:flex; flex-direction:column; gap:10px; padding:20px; border-radius:16px; background:var(--qs-panel); border:1px solid var(--qs-line); color:#fff; text-decoration:none; font-weight:600; font-size:15px; transition:.3s; }
.ae-pair a:hover { transform:translateY(-4px); border-color:rgba(247,161,43,.5); }
.ae-pair a i { color:var(--qs-accent); font-size:22px; }
.ae-pair a span { font-weight:400; font-size:13px; color:var(--muted); line-height:1.5; }

@media(max-width:1100px) {
    .ae-capstone { grid-template-columns:1fr; }
    .ae-weights { grid-template-columns:repeat(3,1fr); }
    .ae-pair { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:768px) {
    .ae-weights { grid-template-columns:repeat(2,1fr); }
    .ae-pair { grid-template-columns:1fr 1fr; }
    .ae-table th, .ae-table td { padding:14px 16px; }
}

/* Certification pathway tiles use h4 under the section's h3 sub-heading */
.qs-tile h4 { font-size:20px; margin-bottom:8px; color:#fff; }
#certifications .section-sub.text-center { margin:0 auto 28px; max-width:760px; }
