/* Catalog cards: one-line intro, chapter chip, one real 5-star quote. Course detail: highlights row. */
body.pg-catalog .g3-course-line{margin:6px 0 0;font-size:14px;line-height:1.55;color:var(--cg-muted,#5b6270);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all;overflow-wrap:anywhere}
body.pg-catalog .g3-course-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:10px 0 0}
body.pg-catalog .g3-course-chips .gp-card-rating{margin:0!important}
body.pg-catalog .g3-chip{display:inline-flex;align-items:center;min-height:24px;padding:2px 10px;border-radius:999px;background:var(--cg-soft,#f1efea);color:var(--cg-ink,#1d222b);font-size:12.5px;font-weight:650;line-height:1.4;white-space:nowrap}
body.pg-catalog .g3-course-body .gp-card-rating,body.pg-catalog .gp-package-card .gp-card-rating{display:inline-block;margin-top:8px}
body.pg-catalog .g3-course-quote{display:flex;gap:6px;align-items:baseline;margin:8px 0 0;padding:0;border:0;font-size:13px;line-height:1.5;color:var(--cg-ink,#1d222b);font-style:normal}
body.pg-catalog .g3-course-quote>span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:keep-all;overflow-wrap:anywhere}
body.pg-catalog .g3-quote-stars{flex:none;color:#e8890c;font-size:11px;letter-spacing:-1px}
body.pg-catalog .gp-package-card .g3-course-chips,body.pg-catalog .gp-package-card .g3-course-quote{margin-left:0;margin-right:0}
body.pg-catalog .g3-soon .g3-course-chips{margin-top:8px}

/* Detail header */
body.pg-catalog #detail .gp-detail-highlights{display:flex;flex-direction:column;gap:12px;margin:4px 0 0}
body.pg-catalog #detail .gp-detail-highlights[hidden]{display:none}
body.pg-catalog #detail .gp-highlight-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
body.pg-catalog #detail .gp-highlight-chip{display:inline-flex;align-items:center;min-height:28px;padding:3px 11px;border-radius:999px;background:var(--cg-soft,#f1efea);color:var(--cg-ink,#1d222b);font-size:13px;font-weight:650;line-height:1.4;white-space:nowrap}
body.pg-catalog #detail .gp-highlight-chip.is-rating{background:#fff4e2;color:#7a4300}
body.pg-catalog #detail .gp-highlight-quote{margin:0;padding:10px 14px;border-left:3px solid #e8890c;background:var(--cg-panel,#fff);border-radius:0 10px 10px 0}
body.pg-catalog #detail .gp-highlight-quote blockquote{margin:0;font-size:14px;line-height:1.6;color:var(--cg-ink,#1d222b);word-break:keep-all;overflow-wrap:anywhere}
body.pg-catalog #detail .gp-highlight-quote figcaption{margin-top:4px;font-size:12px;color:var(--cg-muted,#5b6270)}
body.pg-catalog #detail .gp-curriculum-jump{align-self:flex-start;display:inline-flex;align-items:center;min-height:40px;padding:0 2px;font-size:14px;font-weight:700;color:var(--cg-ink,#1d222b);text-decoration:underline;text-underline-offset:4px}
body.pg-catalog #detail .gp-curriculum-jump:focus-visible{outline:2px solid currentColor;outline-offset:3px}
body.pg-catalog #detail #gpCurriculum{scroll-margin-top:84px}
body.pg-catalog #detail #gpCurriculum:focus{outline:none}
body.pg-catalog #detail #gpCurriculum+.gp-social-proof{margin-top:8px}
@media(max-width:600px){
 body.pg-catalog #detail .gp-detail-highlights{gap:10px}
 body.pg-catalog #detail .gp-highlight-chip{font-size:12.5px;min-height:26px;padding:2px 10px}
 body.pg-catalog #detail .gp-highlight-quote blockquote{font-size:13.5px}
 body.pg-catalog #detail #gpCurriculum{scroll-margin-top:72px}
}
body.pg-catalog.pg-2026 #detail .gp-preview-fast[hidden]{display:none!important}

/* Course content navigation stays inside the reading column. */
html body.pg-catalog #detail .gp-course-sections{position:sticky;top:14px;z-index:30;display:flex;gap:4px;padding:5px;margin:24px 0;border:1px solid var(--sh-line,#e8e3da);border-radius:14px;background:var(--sh-surface,#fff);box-shadow:0 8px 22px -18px #0007}
html body.pg-catalog #detail .gp-course-sections[hidden],html body.pg-catalog #detail .gp-course-sections a[hidden]{display:none!important}
html body.pg-catalog #detail .gp-course-sections a{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:40px;padding:4px 8px;border-radius:9px;font-size:13px;font-weight:750;text-align:center;line-height:1.4;color:var(--sh-text,#17181c)!important;text-decoration:none!important}
html body.pg-catalog #detail .gp-course-sections a:hover{background:var(--sh-hover,#f4f2ee)}
html body.pg-catalog #detail .gp-course-sections a:focus-visible{outline:3px solid #82aaff;outline-offset:1px}
html body.pg-catalog #detail :is(#gpCourseIntro,#gpCurriculum,#gpSocialProof){scroll-margin-top:84px}
html body.pg-catalog #detail :is(#gpCourseIntro,#gpSocialProof):focus{outline:none}
html body.pg-catalog #detail .gp-curriculum-retry{margin-top:14px;min-height:44px;padding:10px 16px;border:0!important;border-radius:10px;background:#1764e8!important;color:#fff!important;font:700 14px/1.4 system-ui;cursor:pointer}
html body.pg-catalog #detail .gp-curriculum-retry:disabled{opacity:.55;cursor:default}
html body.pg-catalog #detail .gp-curriculum-retry[hidden]{display:none!important}
/* Grid items must be allowed to shrink within the desktop purchase card. */
html body.pg-catalog #detail .gp-quick-pay{grid-template-columns:minmax(0,1fr)}
html body.pg-catalog #detail .gp-quick-pay>*,html body.pg-catalog #detail .pm-option-txt{min-width:0;max-width:100%}
html body.pg-catalog.academy.gc-clean #detail .pane.side .pm-picker{grid-template-columns:minmax(0,1fr)!important}
html body.pg-catalog #detail .pm-option{min-width:0;max-width:100%}
html body.pg-catalog #detail .gp-coupon-head{flex-wrap:wrap;gap:4px 8px}
@media(max-width:900px){html body.pg-catalog #detail .gp-course-sections{top:68px}html body.pg-catalog #detail :is(#gpCourseIntro,#gpCurriculum,#gpSocialProof){scroll-margin-top:132px}}
