/* Exam landing pages (bcs-exam-preparation.html etc.) — one page per exam that
   brings together syllabus, preparation modules, model tests and question bank. */
.exh { max-width: 1040px; margin: 0 auto; }
.exh-hero { text-align: center; margin-bottom: 28px; }
.exh-hero h1 { margin-bottom: 10px; }
.exh-hero > p { max-width: 720px; margin: 0 auto 18px; }
.exh-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.static-page ul.exh-stats { padding: 0; margin: 0; }
.exh-stats li { background: #eefbf3; border: 1px solid #cfe5d7; border-radius: 10px; padding: 8px 16px; min-width: 120px; line-height: 1.3; }
.exh-stats strong { display: block; font-size: 1.35rem; color: var(--deep-green); }
.exh-stats span { font-size: .85rem; color: var(--text-gray); }

/* four-step jump navigation */
.exh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 38px; }
.exh-step { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--border-gray); border-top: 4px solid var(--deep-green); border-radius: 10px; padding: 16px 16px 14px; text-decoration: none; color: var(--primary-black); box-shadow: 0 4px 12px rgba(0,0,0,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.exh-step:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(13,93,46,.12); border-color: var(--deep-green); }
.exh-step-no { font-size: .78rem; font-weight: 700; color: var(--deep-red); letter-spacing: .3px; }
.exh-step i { font-size: 1.5rem; color: var(--deep-green); margin: 2px 0 4px; }
.exh-step b { font-size: 1.1rem; line-height: 1.35; }
.exh-step small { font-size: .85rem; color: var(--text-gray); line-height: 1.5; }

/* sections */
.exh-section { background: #fff; border: 1px solid var(--border-gray); border-radius: 12px; padding: 26px 26px 22px; margin: 0 0 28px; scroll-margin-top: 90px; }
.static-page .exh-section h2 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; margin-bottom: 14px; }
.exh-section h2 .exh-badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--deep-green); color: #fff; font-size: 1rem; }
.static-page .exh-section h3 { font-size: 1.1rem; color: var(--primary-black); margin: 22px 0 10px; }
.static-page .exh-section p { margin-bottom: 1em; }

/* facts table */
.exh-table-wrap { overflow-x: auto; margin: 0 0 18px; }
.exh-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.exh-table th, .exh-table td { border: 1px solid var(--border-gray); padding: 9px 12px; text-align: left; vertical-align: top; line-height: 1.55; }
.exh-table th { background: var(--light-gray); color: var(--deep-green); width: 34%; font-weight: 700; }

/* marks bars */
.exh-marks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; margin: 0 0 18px; }
.exh-mark { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; font-size: .93rem; }
.exh-mark span { color: var(--primary-black); }
.exh-mark b { color: var(--deep-green); white-space: nowrap; }
.exh-mark i { grid-column: 1 / -1; display: block; height: 7px; border-radius: 4px; background: #e8efe9; overflow: hidden; }
.exh-mark i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--deep-green); border-radius: 4px; }
.exh-note { font-size: .9rem; color: var(--text-gray); }

/* subject module cards */
.exh-subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 18px; }
.exh-subject { display: flex; align-items: center; gap: 12px; background: var(--light-gray); border: 1px solid var(--border-gray); border-radius: 10px; padding: 12px 14px; text-decoration: none; color: var(--primary-black); transition: border-color .2s, background .2s; }
.exh-subject:hover { border-color: var(--deep-green); background: #eefbf3; }
.exh-subject > i { flex: none; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; background: #fff; color: var(--deep-red); font-size: 1.1rem; }
.exh-subject div { min-width: 0; line-height: 1.4; }
.exh-subject b { display: block; font-size: 1rem; }
.exh-subject small { color: var(--text-gray); font-size: .83rem; }

/* chips (model tests, past papers) */
.exh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.static-page ul.exh-chips { padding: 0; }
.exh-chips li { margin: 0; }
.exh-chips a { display: inline-block; background: #fff; border: 1px solid #cfe5d7; border-radius: 20px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: #1a3a2e; text-decoration: none; line-height: 1.5; transition: all .2s; }
.exh-chips a:hover { background: var(--deep-green); border-color: var(--deep-green); color: #fff; }
.exh-chips.exh-chips-tests a { min-width: 128px; text-align: center; }

/* call-to-action buttons */
.exh-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.exh-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--deep-green); color: #fff; border-radius: 8px; padding: 10px 18px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: opacity .2s; }
.exh-btn:hover { opacity: .88; color: #fff; }
.exh-btn-outline { background: #fff; color: var(--deep-green); border: 1.5px solid var(--deep-green); }
.exh-btn-outline:hover { background: #eefbf3; color: var(--deep-green); }
.exh-btn-red { background: var(--deep-red); }

.exh-section .cb-book-offer { margin: 18px 0 8px; }
.exh-path { background: #eefbf3; border-left: 4px solid var(--deep-green); border-radius: 8px; padding: 18px 20px 8px; margin: 0 0 24px; }
.static-page .exh-path h2 { font-size: 1.25rem; border-bottom: none; padding-bottom: 0; margin-bottom: 10px; }
.static-page .exh-path ol { margin: 0 0 10px 24px; padding: 0; list-style-type: bengali; }
.exh-section .syllabus-marks-box { margin: 0 0 18px; }
.exh-path li { margin: 0 0 8px; line-height: 1.7; color: var(--text-gray); }

@media (max-width: 900px) {
    .exh-steps { grid-template-columns: repeat(2, 1fr); }
    .exh-subjects { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .exh-section { padding: 18px 14px 14px; }
    .static-page .exh-section h2 { font-size: 1.2rem; }
    .exh-steps { gap: 10px; }
    .exh-step { padding: 12px; }
    .exh-step small { display: none; }
    .exh-marks, .exh-subjects { grid-template-columns: 1fr; }
    .exh-stats li { min-width: 0; flex: 1 1 40%; padding: 7px 10px; }
    .exh-table th { width: 40%; }
    .exh-table th, .exh-table td { padding: 8px; font-size: .9rem; }
    .exh-btn { flex: 1 1 100%; justify-content: center; }
}
