.sf-exam-prep {
    --sf-blue: #255884;
    --sf-blue-dark: #1d4568;
    --sf-green: #93C63D;
    --sf-green-dark: #79A72F;
    --sf-heading: #1f1f1f;
    --sf-text: #5f6368;
    --sf-border: #dfe6ea;
    --sf-soft: #f6f8f9;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 56px;
}
.sf-exam-prep *, .sf-exam-prep *::before, .sf-exam-prep *::after { box-sizing: border-box; }
.sf-exam-prep__header { max-width: 760px; margin-bottom: 28px; }
.sf-exam-prep__eyebrow { display: inline-block; margin-bottom: 8px; color: var(--sf-green-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.sf-exam-prep__header h1 { margin: 0 0 10px; color: var(--sf-heading); font-size: clamp(32px, 4vw, 46px); line-height: 1.12; }
.sf-exam-prep__header p { margin: 0; color: var(--sf-text); font-size: 16px; line-height: 1.7; }
.sf-exam-prep__tabs { display: flex; gap: 10px; overflow-x: auto; padding: 8px; margin-bottom: 28px; border: 1px solid var(--sf-border); border-radius: 14px; background: #fff; }
.sf-exam-prep__tab { flex: 0 0 auto; min-height: 44px; padding: 10px 18px; border: 1px solid var(--sf-border); border-radius: 10px; background: #fff; color: #454b50; font: inherit; font-weight: 700; cursor: pointer; }
.sf-exam-prep__tab.is-active { border-color: var(--sf-blue); background: var(--sf-blue); color: #fff; }
.sf-exam-prep__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sf-exam-prep-card { overflow: hidden; border: 1px solid var(--sf-border); border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .06); }
.sf-exam-prep-card[hidden] { display: none !important; }
.sf-exam-prep-card__media { position: relative; display: block; min-height: 210px; background: var(--sf-soft); text-decoration: none; }
.sf-exam-prep-card__media img { display: block; width: 100%; height: 210px; object-fit: cover; }
.sf-exam-prep-card__placeholder { display: grid; place-items: center; height: 210px; color: var(--sf-blue); font-weight: 800; }
.sf-exam-prep-card__badge { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 999px; background: var(--sf-green); color: #fff; font-size: 11px; font-weight: 800; }
.sf-exam-prep-card__body { padding: 20px; }
.sf-exam-prep-card__exam { display: block; margin-bottom: 5px; color: var(--sf-blue); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.sf-exam-prep-card h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }
.sf-exam-prep-card h2 a { color: var(--sf-heading); text-decoration: none; }
.sf-exam-prep-card p { min-height: 66px; margin: 0 0 18px; color: var(--sf-text); font-size: 14px; line-height: 1.55; }
.sf-exam-prep-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.sf-exam-prep-card__stats span { padding: 10px 7px; border-radius: 9px; background: var(--sf-soft); color: var(--sf-text); text-align: center; font-size: 11px; }
.sf-exam-prep-card__stats strong { display: block; margin-bottom: 2px; color: var(--sf-heading); font-size: 15px; }
.sf-exam-prep-card__button { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 16px; border-radius: 9px; background: var(--sf-green); color: #fff !important; text-decoration: none !important; font-size: 13px; font-weight: 800; }
.sf-exam-prep-card__button:hover { background: var(--sf-green-dark); color: #fff !important; }
.sf-exam-prep-empty { padding: 28px; border: 1px solid #dfe6ea; border-radius: 12px; background: #f6f8f9; text-align: center; }
@media (max-width: 900px) { .sf-exam-prep__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
    .sf-exam-prep { width: min(100% - 20px, 1200px); padding: 28px 0 40px; }
    .sf-exam-prep__grid { grid-template-columns: 1fr; }
    .sf-exam-prep-card p { min-height: 0; }
}

/* =========================================================
   QUESTION BANK PRACTICE VIEW
   ========================================================= */
.sf-exam-prep-practice-view {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 48px;
}

.sf-exam-prep-practice-view__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    color: #255884 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.sf-exam-prep-practice-view__back:hover {
    text-decoration: underline !important;
}
