.sgg-master-page {
    --master-text: #171717;
    --master-muted: #686863;
    --master-line: #e1e1dc;
    --master-soft: #f8f8f5;
    color: var(--master-text);
    background: #faf9f5;
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.sgg-master-page .container { max-width: 1380px; }
.sgg-master-page a { text-decoration: none; }
.sgg-master-page strong { font-weight: 800; }
.sgg-master-hero { padding: 118px 0 82px; border-bottom: 1px solid var(--master-line); }
.sgg-master-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 36px; color: #85857f; font-size: 12px; font-weight: 650; }
.sgg-master-breadcrumb a { color: #686863; }
.sgg-master-breadcrumb a:hover { color: #171717; }
.sgg-master-breadcrumb i { color: #9a9a95; font-size: 10px; }
.sgg-master-kicker { display: inline-block; margin-bottom: 12px; color: #777771; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.sgg-master-hero h1 { max-width: 690px; margin: 0 0 22px; color: #000; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.sgg-master-lead { max-width: 700px; margin: 0; color: var(--master-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.72; }
.sgg-master-lead strong { color: #363633; }
.sgg-master-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sgg-master-btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 11px 21px; border: 1px solid #171717; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1; transition: .18s ease; }
.sgg-master-btn--dark { background: #171717; color: #fff !important; }
.sgg-master-btn--dark:hover { background: #000; border-color: #000; transform: translateY(-1px); }
.sgg-master-btn--light { background: transparent; color: #171717 !important; border-color: #cfcfca; }
.sgg-master-btn--light:hover { border-color: #171717; background: #fff; }
.sgg-master-trust-row { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 34px; color: #6d6d68; font-size: 13px; font-weight: 650; }
.sgg-master-trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.sgg-master-trust-row i { color: #171717; }

.sgg-master-featured { overflow: hidden; border: 1px solid var(--master-line); border-radius: 24px; background: #fff; box-shadow: 0 18px 48px rgba(20,20,18,.07); }
.sgg-master-featured__image { position: relative; display: block; height: 320px; overflow: hidden; background: #ecebe6; }
.sgg-master-featured__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sgg-master-featured__image:hover img { transform: scale(1.02); }
.sgg-master-featured__badge { position: absolute; top: 18px; left: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: #171717; font-size: 11px; font-weight: 800; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.sgg-master-featured__body { padding: 25px; }
.sgg-master-provider, .sgg-master-course-provider { display: flex; align-items: center; gap: 11px; }
.sgg-master-provider { margin-bottom: 18px; }
.sgg-master-provider img, .sgg-master-course-provider img { width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid #e6e6e1; border-radius: 50%; background: #fff; object-fit: cover; }
.sgg-master-provider div, .sgg-master-course-provider div { min-width: 0; }
.sgg-master-provider span, .sgg-master-course-provider span { display: block; color: #92928c; font-size: 10px; font-weight: 700; }
.sgg-master-provider a, .sgg-master-course-provider a { display: block; overflow: hidden; color: #171717; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sgg-master-featured h2 { margin: 0 0 16px; color: #171717; font-size: clamp(1.4rem, 2.1vw, 2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.sgg-master-featured__meta, .sgg-master-course-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; color: #686863; font-size: 12px; font-weight: 650; }
.sgg-master-featured__meta span, .sgg-master-course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sgg-master-featured__meta i, .sgg-master-course-meta i { color: #171717; }
.sgg-master-featured__cta { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 18px; border-top: 1px solid #ecece7; color: #171717; font-size: 13px; font-weight: 800; }
.sgg-master-featured__cta:hover { color: #000; }
.sgg-master-featured--empty { min-height: 500px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 34px; background: #f8f8f5; box-shadow: none; }
.sgg-master-featured__empty-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 22px; border-radius: 50%; background: #171717; color: #fff; }
.sgg-master-featured--empty p { max-width: 490px; margin: 0; color: var(--master-muted); line-height: 1.65; }

.sgg-master-section { padding: 82px 0; }
.sgg-master-section--intro { background: transparent; }
.sgg-master-section--soft { background: transparent; }
.sgg-master-section--courses { background: transparent; }
.sgg-master-section--compare { border-top: 1px solid var(--master-line); border-bottom: 1px solid var(--master-line); }
.sgg-master-section-head { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); align-items: end; gap: 70px; margin-bottom: 36px; }
.sgg-master-section-head h2, .sgg-master-centered-head h2, .sgg-master-content-title, .sgg-master-editorial-grid h2, .sgg-master-related-card h2, .sgg-master-bottom-cta h2 { margin: 0; color: #090909; font-size: clamp(1.55rem, 3.2vw, 2.35rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.sgg-master-section-head > p { max-width: 570px; margin: 0; color: var(--master-muted); line-height: 1.7; }
.sgg-master-centered-head { max-width: 810px; margin: 0 auto 38px; text-align: center; }
.sgg-master-centered-head p { max-width: 680px; margin: 14px auto 0; color: var(--master-muted); line-height: 1.7; }
.sgg-master-intro-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(40px,7vw,110px); align-items: start; }
.sgg-master-intro-grid h2 { max-width: 580px; margin: 0; color: #090909; font-size: clamp(1.55rem, 3.2vw, 2.35rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.sgg-master-longcopy { max-width: 720px; }
.sgg-master-longcopy p { margin: 0 0 18px; color: #555550; font-size: 16px; line-height: 1.82; }
.sgg-master-longcopy p:last-child { margin-bottom: 0; }

.sgg-master-course-card { display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid #e0e6ed; border-radius: 20px; background: #fff; box-shadow: 0 7px 12px rgba(0,0,0,.08); transition: transform .18s ease, box-shadow .18s ease; }
.sgg-master-course-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.sgg-master-course-card__media { position: relative; display: block; height: 230px; flex: 0 0 230px; overflow: hidden; background: #f1f1f1; }
.sgg-master-course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.sgg-master-course-card:hover .sgg-master-course-card__media img { transform: scale(1.025); }
.sgg-master-course-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #7a7a75; font-size: 34px; }
.sgg-master-date-pill { position: absolute; top: 15px; left: 15px; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.94); color: #171717; font-size: 11px; font-weight: 800; }
.sgg-master-course-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 21px; background: #fff; }
.sgg-master-course-provider { margin-bottom: 17px; }
.sgg-master-course-card h3 { margin: 0 0 13px; color: #171717; font-size: 19px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.sgg-master-course-meta { margin-bottom: 14px; }
.sgg-master-course-card__body > p { margin: 0 0 18px; color: var(--master-muted); font-size: 14px; line-height: 1.65; }
.sgg-master-course-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid #e7e7e2; }
.sgg-master-price span { display: block; margin-bottom: 2px; color: #8a8a84; font-size: 11px; font-weight: 650; }
.sgg-master-price strong { display: block; max-width: 235px; color: #171717; font-size: 18px; font-weight: 800; line-height: 1.15; }
.sgg-master-round-link { display: inline-flex; width: 42px; height: 42px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: #171717; color: #fff !important; transition: .18s ease; }
.sgg-master-round-link:hover { background: #000; transform: translateX(2px); }
.sgg-master-empty-courses { max-width: 760px; margin: 0 auto; padding: 60px 28px; text-align: center; border: 1px solid var(--master-line); border-radius: 22px; background: #faf9f5; }
.sgg-master-empty-courses > div { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: #171717; color: #fff; font-size: 21px; }
.sgg-master-empty-courses h3 { margin: 0 0 9px; color: #171717; font-size: 21px; font-weight: 800; }
.sgg-master-empty-courses p { max-width: 590px; margin: 0 auto; color: var(--master-muted); line-height: 1.65; }

.sgg-master-step { height: 100%; padding: 28px; border: 1px solid var(--master-line); border-radius: 20px; background: #fff; }
.sgg-master-step > span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 28px; border-radius: 50%; background: #171717; color: #fff; font-size: 12px; font-weight: 800; }
.sgg-master-step h3 { margin: 0 0 10px; color: #171717; font-size: 19px; font-weight: 800; }
.sgg-master-step p { margin: 0; color: var(--master-muted); line-height: 1.72; }
.sgg-master-content-title { margin-bottom: 18px; }
.sgg-master-content-text { max-width: 560px; color: var(--master-muted); font-size: 16px; line-height: 1.78; }
.sgg-master-content-text p { margin: 0 0 16px; }
.sgg-master-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid #dadad4; border-radius: 20px; background: #fff; }
.sgg-master-topic-grid article { display: flex; gap: 15px; padding: 24px; border-right: 1px solid #e5e5df; border-bottom: 1px solid #e5e5df; }
.sgg-master-topic-grid article:nth-child(2n) { border-right: 0; }
.sgg-master-topic-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.sgg-master-topic-grid i { flex: 0 0 auto; color: #171717; font-size: 20px; }
.sgg-master-topic-grid h3 { margin: 0 0 6px; color: #171717; font-size: 15px; font-weight: 800; }
.sgg-master-topic-grid p { margin: 0; color: var(--master-muted); font-size: 13px; line-height: 1.62; }

.sgg-master-editorial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.sgg-master-editorial-grid > article { padding: 34px; border: 1px solid var(--master-line); border-radius: 22px; background: #fff; }
.sgg-master-editorial-grid h2 { margin-bottom: 18px; font-size: clamp(1.65rem,2.5vw,2.45rem); }
.sgg-master-editorial-grid p { margin: 0 0 16px; color: var(--master-muted); line-height: 1.78; }
.sgg-master-editorial-grid p:last-child { margin-bottom: 0; }
.sgg-master-editorial-grid--career { grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); }
.sgg-master-related-card { padding: 34px; border-radius: 22px; background: #171717; color: #fff; }
.sgg-master-related-card .sgg-master-kicker { color: #aaa; }
.sgg-master-related-card h2 { margin-bottom: 18px; color: #fff; font-size: clamp(1.65rem,2.4vw,2.35rem); }
.sgg-master-related-card p { margin: 0; color: #c8c8c4; line-height: 1.75; }
.sgg-master-related-links { margin-top: 25px; border-top: 1px solid rgba(255,255,255,.18); }
.sgg-master-related-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 14px; font-weight: 800; }

.sgg-master-checklist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--master-line); }
.sgg-master-checklist li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--master-line); color: #555550; line-height: 1.65; }
.sgg-master-checklist li i { flex: 0 0 auto; margin-top: 2px; color: #171717; font-size: 18px; }
.sgg-master-checklist strong { color: #171717; }

.sgg-master-section--faq { background: transparent; }
.sgg-master-faq { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--master-line); }
.sgg-master-faq .accordion-item { border: 0; border-bottom: 1px solid var(--master-line); background: transparent; }
.sgg-master-faq .accordion-button { padding: 21px 0; background: transparent; box-shadow: none; color: #171717; font-size: 16px; font-weight: 800; }
.sgg-master-faq .accordion-button:not(.collapsed) { background: transparent; color: #171717; }
.sgg-master-faq .accordion-button:focus { box-shadow: none; }
.sgg-master-faq .accordion-body { max-width: 790px; padding: 0 44px 22px 0; color: var(--master-muted); line-height: 1.75; }
.sgg-master-bottom-cta { padding: 70px 0 88px; background: transparent; }
.sgg-master-bottom-cta__inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 42px; border: 1px solid var(--master-line); border-radius: 24px; background: #fff; }
.sgg-master-bottom-cta h2 { margin-bottom: 12px; }
.sgg-master-bottom-cta p { max-width: 650px; margin: 0; color: var(--master-muted); line-height: 1.68; }

@media (max-width: 991.98px) {
    .sgg-master-hero { padding: 104px 0 64px; }
    .sgg-master-section { padding: 66px 0; }
    .sgg-master-section-head, .sgg-master-intro-grid { grid-template-columns: 1fr; gap: 24px; }
    .sgg-master-featured__image { height: 300px; }
    .sgg-master-editorial-grid, .sgg-master-editorial-grid--career { grid-template-columns: 1fr; }
    .sgg-master-bottom-cta__inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767.98px) {
    .sgg-master-hero { padding: 88px 0 50px; }
    .sgg-master-breadcrumb { margin-bottom: 28px; }
    .sgg-master-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .sgg-master-actions { flex-direction: column; align-items: stretch; }
    .sgg-master-btn { width: 100%; }
    .sgg-master-trust-row { flex-direction: column; gap: 10px; }
    .sgg-master-featured__image { height: 250px; }
    .sgg-master-topic-grid { grid-template-columns: 1fr; }
    .sgg-master-topic-grid article, .sgg-master-topic-grid article:nth-child(2n), .sgg-master-topic-grid article:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #e5e5df; }
    .sgg-master-topic-grid article:last-child { border-bottom: 0; }
    .sgg-master-editorial-grid > article, .sgg-master-related-card { padding: 26px 22px; }
    .sgg-master-bottom-cta__inner { padding: 28px 22px; }
}
@media (max-width: 575.98px) {
    .sgg-master-section { padding: 54px 0; }
    .sgg-master-featured { border-radius: 20px; }
    .sgg-master-featured__body { padding: 20px; }
    .sgg-master-featured--empty { min-height: 390px; padding: 26px; }
    .sgg-master-course-card__media { height: 210px; flex-basis: 210px; }
    .sgg-master-step { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .sgg-master-page * { scroll-behavior: auto !important; transition: none !important; }
}
.sgg-master-course-card--admin-preview { border-style: dashed; }
.sgg-master-admin-preview-note { margin: 14px 0 0; color: #777771; font-size: 12px; font-weight: 650; }
.sgg-master-admin-preview-note i { margin-right: 5px; }
