/* v1.6.0 — course page (Udemy/Coursera pattern): ink hero, sticky enrol card, curriculum accordion. */
.dbm-cp { --ink: #04223A; --ink2: #0A3152; --green: #7ED957; --sky: #38B6FF; font-family: var(--dbm-font); }
.dbm-cp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.dbm-cp-hero { background: radial-gradient(120% 160% at 100% 0%, var(--ink2), var(--ink) 60%); color: #fff; padding: 36px 0 56px; position: relative; overflow: hidden; }
.dbm-cp-hero::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--green); right: -140px; top: -160px; opacity: .9; }
.dbm-cp-hero .dbm-cp-wrap { position: relative; z-index: 1; }
.dbm-cp-hero > .dbm-cp-wrap > * { max-width: 720px; }
.dbm-cp-crumbs { font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.dbm-cp-crumbs a { color: var(--sky); font-weight: 700; text-decoration: none; }
.dbm-cp-crumbs span { margin: 0 6px; opacity: .5; }
.dbm-cp-pill { display: inline-block; background: var(--green); color: #000; font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 99px; }
.dbm-cp-hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 4rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 14px 0 14px; }
.dbm-cp-lead { font-size: 1.15rem; line-height: 1.55; color: rgba(255,255,255,.88); margin: 0 0 18px; }
.dbm-cp-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dbm-cp-meta li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); padding: 6px 12px; border-radius: 99px; font-size: .88rem; }
.dbm-cp-body { display: grid; gap: 28px; padding-bottom: 60px; }
@media (min-width: 960px) {
	.dbm-cp-body { grid-template-columns: minmax(0, 1fr) 360px; }
	.dbm-cp-card { grid-column: 2; grid-row: 1; margin-top: -230px; position: sticky; top: 20px; align-self: start; }
	.dbm-cp-main { grid-column: 1; grid-row: 1; padding-top: 36px; }
	.dbm-cp-mbar { display: none !important; }
}
.dbm-cp-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(4,34,58,.45), 0 0 0 1px #E2E7DF; z-index: 2; }
@media (max-width: 959px) { .dbm-cp-card { margin-top: -28px; } }
.dbm-cp-card-art { aspect-ratio: 16/8; background: linear-gradient(135deg, var(--green), var(--sky)); display: grid; place-items: center; }
.dbm-cp-card-art span { width: 84px; height: 84px; border-radius: 24px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; }
.dbm-cp-card-in { padding: 22px; display: grid; gap: 10px; }
.dbm-cp-price { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; margin: 0; }
.dbm-cp-btn { display: flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--green); color: #000 !important; font-weight: 800; font-size: 1.05rem; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; box-shadow: 0 12px 24px -12px rgba(126,217,87,.9); }
.dbm-cp-btn:hover, .dbm-cp-btn:focus-visible { background: var(--ink); color: #fff !important; transform: translateY(-2px); }
.dbm-cp-fine { margin: 0; text-align: center; font-size: .85rem; color: #4D554F; }
.dbm-cp-inc { list-style: none; padding: 14px 0 0; margin: 4px 0 0; border-top: 1px solid #E2E7DF; display: grid; gap: 8px; font-size: .93rem; }
.dbm-cp-inc li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #EEF9E8; margin-right: 8px; font-size: .7rem; font-weight: 800; }
.dbm-cp-sec { margin-bottom: 40px; }
.dbm-cp-sec h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -.04em; font-weight: 800; margin: 0 0 8px; }
.dbm-cp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dbm-cp-all { background: none; border: 0; color: #000; font: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 4px; cursor: pointer; }
.dbm-cp-sum { color: #4D554F; margin: 0 0 14px; }
.dbm-cp-acc { border: 1px solid #E2E7DF; border-bottom: 0; background: #fff; }
.dbm-cp-acc:first-of-type { border-radius: 16px 16px 0 0; }
.dbm-cp-acc:last-of-type { border-bottom: 1px solid #E2E7DF; border-radius: 0 0 16px 16px; }
.dbm-cp-acc:only-of-type { border-radius: 16px; }
.dbm-cp-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #F6F8F5; font-weight: 700; }
.dbm-cp-acc summary::-webkit-details-marker { display: none; }
.dbm-cp-acc summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(-45deg); transition: transform .2s; flex: 0 0 8px; }
.dbm-cp-acc[open] summary::before { transform: rotate(45deg); }
.dbm-cp-acc summary span { flex: 1; }
.dbm-cp-acc summary small { font-weight: 500; color: #4D554F; white-space: nowrap; }
.dbm-cp-acc ol { list-style: none; margin: 0; padding: 6px 18px 12px; }
.dbm-cp-acc li { display: flex; gap: 12px; align-items: center; padding: 10px 0; font-size: .95rem; }
.dbm-cp-acc li + li { border-top: 1px dashed #E2E7DF; }
.dbm-cp-acc li i { font-style: normal; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; background: #E8F6FF; display: grid; place-items: center; font-size: .8rem; }
.dbm-cp-acc li span { flex: 1; }
.dbm-cp-acc li small { color: #4D554F; }
.dbm-cp-about { font-size: 1.05rem; line-height: 1.7; }
.dbm-cp-ask { background: #F6F8F5; border-radius: 24px; padding: clamp(20px, 4vw, 32px); }
.dbm-cp-ask input, .dbm-cp-ask textarea, .dbm-cp-ask select { width: 100%; max-width: 100%; border-radius: 14px !important; border: 1px solid #D7DCD5 !important; background: #fff; padding: 14px !important; font: inherit; }
.dbm-cp-ask input:focus, .dbm-cp-ask textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky) !important; }
.dbm-cp-ask button, .dbm-cp-ask [type=submit] { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; font: inherit; font-weight: 700; cursor: pointer; }
.dbm-cp-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid #E2E7DF; box-shadow: 0 -10px 30px rgba(4,34,58,.1); display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
.dbm-cp-mbar div { flex: 1; min-width: 0; display: grid; }
.dbm-cp-mbar b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; }
.dbm-cp-mbar span { font-weight: 800; }
.dbm-cp-mbar .dbm-cp-btn { min-height: 46px; font-size: .95rem; }
@media (max-width: 959px) { .dbm-cp { padding-bottom: 76px; } }
@media (prefers-reduced-motion: reduce) { .dbm-cp * { transition: none !important; } }

/* v1.9.5 — course page: real cover, calmer title, readable summary */
.dbm-cp-card-art.has-img { padding: 0; overflow: hidden; aspect-ratio: 16/10; }
.dbm-cp-card-art.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dbm-cp-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; line-height: 1.02; }
.dbm-cp-lead { max-width: 62ch; line-height: 1.6; }
.dbm-cp-hero { padding-bottom: 72px; }
