/* Courses: the /courses/ listing and the single course page. */

/* ---------- listing ---------- */
.cr-sec { padding-block: var(--sp-6) var(--sp-8); }
.cr-layout { display: grid; gap: var(--sp-5); align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cr-layout { grid-template-columns: 290px minmax(0, 1fr); gap: var(--sp-6); } .cr-side { position: sticky; top: calc(var(--header-h, 80px) + var(--sp-4)); } }
.cr-filter { display: grid; gap: var(--sp-3); padding: var(--sp-5); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); box-shadow: var(--shadow); }
.cr-filter h2 { display: flex; align-items: center; gap: var(--sp-2); margin: 0; color: var(--color-primary); font-size: var(--h4); font-weight: 800; }
.cr-f { display: grid; gap: 6px; }
.cr-f > span { display: flex; align-items: center; gap: 8px; color: var(--color-muted); font-size: var(--small); font-weight: 600; }
.cr-f > span svg { color: var(--color-primary); }
.cr-f input, .cr-f select { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #E6E0CD; border-radius: 14px; background: #F7F4EA; font: inherit; color: var(--color-text); font-weight: 600; }
.cr-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.cr-card[hidden] { display: none; }
.cr-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: linear-gradient(180deg, #fff, #F8FAF1); border: 1px solid var(--color-border); box-shadow: 0 8px 24px rgba(26, 60, 40, .1); }
.cr-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #E7E2D3; color: #B8B09A; }
.cr-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cr-date { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 52px; padding: 6px 10px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); color: var(--color-text); line-height: 1.2; }
.cr-date b { font-size: 1.25rem; font-weight: 800; }
.cr-date span { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); }
.cr-fee { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 6px 14px; border-radius: 999px; font-size: .875rem; font-weight: 800; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.cr-fee--free { background: #1F6B45; color: #fff; }
.cr-fee--paid { background: #F2B83F; color: #1F1604; }
.cr-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 20px; }
.cr-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #E3F0E7; color: var(--color-primary); font-size: .8125rem; font-weight: 700; }
.cr-body h3 { margin: 0; font-size: 1.1875rem; line-height: 1.3; font-weight: 800; }
.cr-body h3 a { color: var(--color-primary); text-decoration: none; }
.cr-d { margin: 0; color: #4A5750; font-size: .9375rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-m { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--color-text); }
.cr-m li { display: flex; align-items: center; gap: 8px; }
.cr-m svg { flex: none; color: var(--color-primary); }
.cr-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--color-primary); border-radius: 12px; color: var(--color-primary); font-weight: 700; text-decoration: none; }
.cr-go:hover { background: var(--color-primary); color: #fff; }
.cr-none { display: grid; justify-items: center; gap: 10px; padding: var(--sp-8) var(--sp-5); border: 1.5px dashed #BFCBA9; border-radius: 22px; background: rgba(255, 255, 255, .7); color: var(--color-muted); text-align: center; }
.cr-none[hidden] { display: none; }

/* ---------- single course ---------- */
.cr-hero { position: relative; overflow: hidden; color: #fff; padding-block: var(--sp-7) calc(var(--sp-7) + 40px); background: linear-gradient(90deg, rgba(15, 42, 33, .94) 0%, rgba(15, 42, 33, .78) 45%, rgba(27, 77, 58, .5) 100%), var(--cr-img) center / cover no-repeat, var(--grad-primary); }
.cr-hero-in { display: grid; gap: var(--sp-5); align-items: end; }
@media (min-width: 900px) { .cr-hero-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--sp-7); } }
.cr-hero-t { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
.cr-hero .back-link-plain { margin: 0; color: rgba(255, 255, 255, .85); }
.cr-pill--hero { background: #F2B83F; color: #1F1604; }
.cr-hero h1 { margin: 0; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; font-weight: 800; }
.cr-lead { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, .9); font-size: 1.0625rem; line-height: 1.55; }
.cr-status { display: inline-flex; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); font-size: .875rem; font-weight: 700; }
.cr-status--running, .cr-status--upcoming { background: #1F8A5B; border-color: transparent; }
.cr-status--full { background: #D9741A; border-color: transparent; }
.cr-status--completed, .cr-status--closed { background: rgba(0, 0, 0, .35); }
.cr-facts { display: grid; gap: 0; margin: 0; padding: 6px 18px; list-style: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: 22px; background: rgba(15, 42, 33, .5); backdrop-filter: blur(8px); }
.cr-facts li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.cr-facts li + li { border-top: 1px solid rgba(255, 255, 255, .16); }
.cr-facts svg { flex: none; width: 40px; height: 40px; padding: 10px; box-sizing: border-box; border-radius: 12px; background: #F2B83F; color: #1F1604; }
.cr-facts small { display: block; color: rgba(255, 255, 255, .7); font-size: .75rem; }
.cr-facts b { display: block; font-size: 1rem; line-height: 1.3; }
.cr-body-wrap { position: relative; z-index: 2; margin-top: -40px; padding: var(--sp-6) 0 var(--sp-8); border-radius: 28px 28px 0 0; background: var(--color-background); }
.cr-grid2 { display: grid; gap: var(--sp-5); align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .cr-grid2 { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--sp-6); } .cr-right { position: sticky; top: calc(var(--header-h, 80px) + var(--sp-4)); } }
.cr-left { display: grid; gap: var(--sp-5); min-width: 0; }
.cr-right { display: grid; gap: var(--sp-5); min-width: 0; }
.cr-card2, .cr-enrol { padding: var(--sp-5); border: 1px solid var(--color-border); border-radius: 22px; background: var(--color-surface); box-shadow: var(--shadow); }
.cr-card2 h2, .cr-enrol h2 { display: flex; align-items: center; gap: var(--sp-2); margin: 0 0 var(--sp-3); color: var(--color-primary); font-size: var(--h4); font-weight: 800; }
.cr-card2 p { margin: 0; }
.cr-learn { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cr-learn li { position: relative; padding-left: 30px; line-height: 1.45; }
.cr-learn li::before { content: "\2713"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #E3F0E7; color: #1F6B45; font-size: .8125rem; font-weight: 800; }
.cr-teacher { line-height: 1.5; }
.cr-enrol-s { margin: 0 0 var(--sp-3); color: var(--color-text); font-weight: 600; }
.cr-enrol-s b { color: var(--color-primary); font-size: 1.25rem; }
.cr-bar { height: 8px; margin: 0 0 var(--sp-4); border-radius: 8px; background: #E7EBDD; overflow: hidden; }
.cr-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #2F9A62, #F2B83F); }
.cr-form { display: grid; gap: 10px; }
.cr-fld { position: relative; display: block; }
.cr-fld > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--color-primary); pointer-events: none; }
.cr-fld input, .cr-fld textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 12px 12px 44px; border: 1px solid #E6E0CD; border-radius: 14px; background: #fff; font: inherit; font-size: .9375rem; }
.cr-fld--t > svg { top: 16px; transform: none; }
.cr-fld textarea { min-height: 72px; resize: none; }
.cr-submit { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #F6C458 0%, #E3A532 60%, #D18E19 100%); color: #1F1604; font: inherit; font-size: 1.0625rem; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(201, 138, 46, .3); }
.cr-closed { margin: 0; padding: 14px; border-radius: 14px; background: #F1EDE0; color: var(--color-muted); font-weight: 700; text-align: center; }
.cr-done { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: #E8F4EA; border: 1px solid #C5E0CC; }
.cr-done p { margin: 0; }
.cr-done-t { display: flex; align-items: center; gap: 8px; color: #14543A; font-size: 1.125rem; font-weight: 800; }
.cr-wa { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 14px; background: #25D366; color: #fff; font-weight: 800; text-decoration: none; }
.cr-ask { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: var(--sp-3); min-height: 44px; border: 1.5px solid var(--color-border); border-radius: 14px; color: var(--color-primary); font-weight: 700; text-decoration: none; }
.cr-share .bl-share { display: grid; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.cr-share .bl-sh { display: flex; align-items: center; gap: var(--sp-3); padding: 12px 16px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-background); color: var(--color-text); font-weight: 600; font-size: var(--small); text-decoration: none; }
.cr-share .bl-sh--wa svg { color: #25D366; }
.cr-share .bl-sh--fb svg { color: #1877F2; }
@media (max-width: 640px) { .cr-hero { padding-block: var(--sp-6) calc(var(--sp-6) + 32px); } .cr-body-wrap { margin-top: -32px; border-radius: 22px 22px 0 0; } }

/* ---------- certificate page ---------- */
.cert-box { max-width: 640px; padding-block: var(--sp-6); }
.cert-box h1 { display: flex; align-items: center; gap: var(--sp-2); color: var(--color-primary); font-size: var(--h2); }
.cert-find { display: grid; gap: 10px; margin: var(--sp-4) 0; max-width: 420px; }
.cert-list { display: grid; gap: 10px; margin: var(--sp-4) 0 0; padding: 0; list-style: none; }
.cert-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: 16px; background: #fff; color: var(--color-primary); text-decoration: none; box-shadow: var(--shadow); }
.cert-list small { grid-column: 1; color: var(--color-muted); }
.cert-list span { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 1.25rem; }
.cert-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: var(--sp-4); }
.cert-back { color: var(--color-primary); font-weight: 700; text-decoration: none; }
.cert-print { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #F6C458, #E3A532); color: #1F1604; font: inherit; font-weight: 800; cursor: pointer; }
.cert-paper { position: relative; overflow: hidden; width: min(1000px, 94vw); aspect-ratio: 1.414 / 1; margin: 0 auto var(--sp-8); border-radius: 4px; background: #FFFEF9; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); container-type: inline-size; font-family: "Montserrat", "IBM Plex Sans", "Noto Sans Telugu", sans-serif; }
.cert-paper::before { content: ""; position: absolute; inset: 2.2cqw; border: .22cqw solid #C9A24A; pointer-events: none; z-index: 3; }
.cert-paper::after { content: ""; position: absolute; inset: 3cqw; border: .1cqw solid #14543A; pointer-events: none; z-index: 3; }
.cert-scene { position: absolute; left: 3cqw; right: 3cqw; bottom: 3cqw; height: 32%; z-index: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 220' preserveAspectRatio='none'><circle cx='170' cy='88' r='34' fill='%23F7E3A6' fill-opacity='.9'/><path d='M0 120C120 70 260 64 400 98 540 52 700 56 840 96 920 78 970 82 1000 94V220H0Z' fill='%23E3EFD2'/><path d='M0 158C140 120 300 124 470 152 640 118 820 122 1000 154V220H0Z' fill='%23CFE3B8'/><path d='M0 190C200 168 420 172 640 188 800 176 920 176 1000 186V220H0Z' fill='%23B9D79C'/><g fill='%23F2E6CB'><rect x='300' y='130' width='44' height='24'/><rect x='356' y='124' width='54' height='30'/><rect x='422' y='132' width='40' height='22'/></g><g fill='%23D98B5B'><path d='M294 130 322 110 350 130Z'/><path d='M350 124 383 100 416 124Z'/><path d='M416 132 442 114 468 132Z'/></g><g stroke='%2378A35A' stroke-width='4' fill='none' stroke-linecap='round'><path d='M96 205 q6 -46 12 -84 M108 121 q-16 2 -28 12 M108 121 q-8 -16 -20 -4 M108 121 q8 -16 20 -4 M108 121 q16 2 28 12'/><path d='M930 206 q4 -36 8 -66 M938 140 q-14 2 -24 10 M938 140 q8 -14 20 -2 M938 140 q14 2 24 10'/></g><g fill='%2380B25F' fill-opacity='.85'><circle cx='560' cy='176' r='16'/><circle cx='330' cy='182' r='14'/><circle cx='880' cy='178' r='15'/></g></svg>") center bottom / 100% 100% no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%); opacity: .85; }
.cert-paper > .cert-in::before { content: ""; position: absolute; top: -1.2cqw; left: -4.6cqw; width: 14cqw; height: 14cqw; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><g fill='%2377B24A' fill-opacity='.35'><path d='M6 6C46 10 84 34 96 74 56 70 22 46 6 6Z'/><path d='M6 6C20 40 20 70 4 100 -6 62 -4 30 6 6Z' fill-opacity='.6'/></g><path d='M8 8C30 30 56 54 90 72' stroke='%23fff' stroke-opacity='.5' stroke-width='1.2' fill='none'/></svg>") left top / contain no-repeat; }
.cert-paper > .cert-in::after { content: ""; position: absolute; top: -1.2cqw; right: -4.6cqw; width: 14cqw; height: 14cqw; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><g fill='%2377B24A' fill-opacity='.35'><path d='M6 6C46 10 84 34 96 74 56 70 22 46 6 6Z'/><path d='M6 6C20 40 20 70 4 100 -6 62 -4 30 6 6Z' fill-opacity='.6'/></g><path d='M8 8C30 30 56 54 90 72' stroke='%23fff' stroke-opacity='.5' stroke-width='1.2' fill='none'/></svg>") left top / contain no-repeat; transform: scaleX(-1); }
.cert-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 100%; padding: 4.6cqw 9cqw 4.4cqw; text-align: center; box-sizing: border-box; }
.cert-logo { width: 11cqw; height: auto; }
.cert-head { display: grid; gap: .2cqw; }
.cert-k { margin: 0; color: #14543A; font-size: 1.9cqw; font-weight: 700; letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; }
.cert-k2 { margin: 0; color: #B8862B; font-family: "Cormorant Garamond", "Noto Serif Telugu", Georgia, serif; font-size: 4.8cqw; font-style: italic; font-weight: 700; line-height: 1.05; }
.cert-s { margin: 0; color: #6B756F; font-size: 1.15cqw; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.cert-s2 { letter-spacing: .16em; }
.cert-name { position: relative; margin: 0; padding-bottom: 1.2cqw; color: #14543A; font-family: "Cormorant Garamond", "Noto Serif Telugu", Georgia, serif; font-size: 6.6cqw; font-weight: 700; line-height: 1.1; }
.cert-name::after { content: ""; display: block; width: 16cqw; height: .25cqw; margin: 1cqw auto 0; background: linear-gradient(90deg, transparent, #C9A24A, transparent); }
.cert-course { margin: 0; color: #1F2A24; font-size: 2.4cqw; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cert-meta { display: flex; flex-wrap: wrap; gap: .4cqw 1.6cqw; justify-content: center; margin: 0; color: #55615A; font-size: 1.25cqw; font-weight: 500; }
.cert-meta span + span::before { content: "•"; margin-right: 1.6cqw; color: #C9A24A; }
.cert-t { margin: 0; color: #55615A; font-size: 1.25cqw; }
.cert-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; width: 100%; }
.cert-sig { display: grid; justify-items: center; gap: .2cqw; justify-self: start; min-width: 22cqw; }
.cert-sig img { max-width: 20cqw; height: auto; max-height: 6.4cqw; object-fit: contain; }
.cert-line { display: block; width: 20cqw; height: 0; border-top: .16cqw solid #14543A; margin-top: 5cqw; }
.cert-sig b { color: #14543A; font-size: 1.4cqw; font-weight: 700; }
.cert-sig small { color: #6B756F; font-size: 1.05cqw; }
.cert-seal { width: 9.5cqw; height: auto; filter: drop-shadow(0 .4cqw .6cqw rgba(60, 40, 0, .25)); }
.cert-no { display: flex; align-items: center; justify-self: end; gap: 1.2cqw; text-align: left; }
.cert-no img { width: 7cqw; height: 7cqw; padding: .5cqw; background: #fff; border: .1cqw solid #E3DDC7; }
.cert-no small { color: #55615A; font-size: 1.05cqw; line-height: 1.55; }
.cert-no small b { color: #14543A; letter-spacing: .04em; }
.cert-verify { color: #6B756F; font-size: .95cqw; }
.cert-sig, .cert-no small { text-shadow: 0 0 .8cqw #FFFEF9, 0 0 .4cqw #FFFEF9; }
@media print {
  @page { size: A4 landscape; margin: 0; }
  body * { visibility: hidden; }
  .cert-paper, .cert-paper * { visibility: visible; }
  .cert-paper { position: fixed; inset: 0; width: auto; height: auto; max-width: none; margin: 0; padding: 6mm; box-sizing: border-box; box-shadow: none; border-radius: 0; aspect-ratio: auto; }
  .cert-paper, .cert-paper * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- lessons on the course page ---------- */
.cr-lessons h2 .cr-lc { margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #E3F0E7; color: #1F6B45; font-size: .875rem; }
.cr-unlock { display: grid; gap: 10px; margin-bottom: var(--sp-4); padding: var(--sp-4); border: 1.5px dashed #BFCBA9; border-radius: 16px; background: #F7F9EC; }
.cr-unlock p { margin: 0; line-height: 1.5; }
.cr-ls { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cr-l { border: 1px solid var(--color-border); border-radius: 16px; background: #fff; overflow: hidden; }
.cr-lsum { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 700; color: var(--color-primary); }
.cr-lsum::-webkit-details-marker { display: none; }
.cr-lsum::after { content: "\25BE"; margin-left: auto; color: var(--color-muted); transition: transform .2s; }
details[open] > .cr-lsum::after { transform: rotate(180deg); }
.cr-ln { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #E3F0E7; color: #1F6B45; font-size: .875rem; font-weight: 800; }
.cr-lt { min-width: 0; }
.cr-lb-pv { flex: none; padding: 2px 10px; border-radius: 999px; background: #FBEFCB; color: #8A5A0A; font-size: .75rem; }
.cr-l.is-locked .cr-lsum, .cr-l.is-locked .cr-lsum:hover { cursor: default; }
.cr-l.is-locked .cr-lt { color: var(--color-muted); }
.cr-lw { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--color-muted); font-size: .8125rem; font-weight: 600; }
.cr-lbody { display: grid; gap: 12px; padding: 0 16px 16px; }
.cr-ltext p { margin: 0 0 8px; line-height: 1.6; }
.cr-lnote { margin: 0; padding: 8px 12px; border-radius: 10px; background: #FBEFCB; color: #6B4A08; font-size: .875rem; }
.cr-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; }
.cr-yt img { width: 100%; height: 100%; object-fit: cover; }
.cr-play { position: absolute; inset: 0; display: grid; place-items: center; }
.cr-play svg { width: 64px; height: 64px; padding: 18px; box-sizing: border-box; border-radius: 50%; background: rgba(255, 0, 0, .92); color: #fff; }
.cr-ytf { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.cr-lf { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cr-lf a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-background); color: var(--color-text); text-decoration: none; font-weight: 600; }
.cr-lf svg { flex: none; color: var(--color-primary); }
.cr-lfl { min-width: 0; overflow-wrap: anywhere; }
.cr-lf small { margin-left: auto; color: var(--color-muted); white-space: nowrap; }
.cr-livebtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; background: #D9362E; color: #fff; font-weight: 800; text-decoration: none; }

/* the lesson video player: a plain screen with a timeline, play / pause, back 10 s, forward 10 s, volume and full screen */
.cr-vp { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; outline: 0; }
.cr-vp-frame { position: absolute; inset: 0; overflow: hidden; }
.cr-vp-frame iframe { position: absolute; left: 0; top: -72px; width: 100%; height: calc(100% + 144px); border: 0; pointer-events: none; }
.cr-vp-cover { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: #000 center / cover no-repeat; cursor: pointer; }
.cr-vp-cover[hidden], .cr-vp-flash[hidden] { display: none; }
.cr-vp-big { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #14543A; }
.cr-vp-big svg { width: 30px; height: 30px; margin-left: 3px; }
.cr-vp-shield { position: absolute; inset: 0; z-index: 3; cursor: pointer; touch-action: manipulation; }
.cr-vp-flash { position: absolute; left: 50%; top: 42%; z-index: 5; transform: translate(-50%, -50%); padding: 8px 18px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-weight: 800; pointer-events: none; }
.cr-vp-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: grid; gap: 2px; padding: 26px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.cr-b-prog { display: flex; align-items: center; gap: 8px; }
.cr-b-t { flex: none; min-width: 38px; color: #fff; font-size: .75rem; font-variant-numeric: tabular-nums; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.cr-b-seek, .cr-b-vol { -webkit-appearance: none; appearance: none; height: 22px; margin: 0; background: transparent; cursor: pointer; --p: 0%; }
.cr-b-seek { flex: 1; min-width: 0; }
.cr-b-seek::-webkit-slider-runnable-track, .cr-b-vol::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(90deg, #F2B83F var(--p), rgba(255, 255, 255, .35) var(--p)); }
.cr-b-seek::-moz-range-track, .cr-b-vol::-moz-range-track { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .35); }
.cr-b-seek::-moz-range-progress, .cr-b-vol::-moz-range-progress { height: 5px; border-radius: 5px; background: #F2B83F; }
.cr-b-seek::-webkit-slider-thumb, .cr-b-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -4.5px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.cr-b-seek::-moz-range-thumb, .cr-b-vol::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.cr-b-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cr-vp-bar button { position: relative; display: inline-grid; place-items: center; flex: none; min-width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.cr-vp-bar button b { position: absolute; font-size: .5625rem; font-weight: 800; }
.cr-b-sp { flex: 1; min-width: 0; }
.cr-b-vol { width: 84px; flex: none; }
@media (max-width: 480px) { .cr-b-row { gap: 4px; } .cr-vp-bar button { min-width: 36px; height: 36px; } .cr-b-vol { width: 56px; } .cr-vp-bar { padding: 22px 8px 6px; } }
.cr-vp:fullscreen, .cr-vp:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; }
.cr-vp:fullscreen .cr-vp-frame iframe, .cr-vp:-webkit-full-screen .cr-vp-frame iframe { top: -72px; height: calc(100% + 144px); }
.cr-vp:fullscreen .cr-vp-bar, .cr-vp:-webkit-full-screen .cr-vp-bar { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }

/* full screen: always a visible button; where the phone cannot full-screen the player, it fills the window instead */
.cr-b-fs { background: rgba(255, 255, 255, .26) !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.cr-vp.is-full { position: fixed; inset: 0; z-index: 100000; width: 100vw; height: 100dvh; aspect-ratio: auto; border-radius: 0; }
.cr-vp.is-full .cr-vp-bar { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
html.cr-lock { overflow: hidden; }

/* in the installed app the Courses page uses the same listing as the Blog (above); the website layout is hidden there */
html.yl-app .cr-web { display: none; }
html:not(.yl-app) .cr-app { display: none; }

.cr-report { margin: 10px 0 0; font-size: .875rem; }
.cr-report summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--c-muted, #5b665f); }
.cr-report form { display: grid; gap: 8px; margin-top: 8px; }
.cr-report select, .cr-report textarea { width: 100%; padding: 8px 10px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 10px; font: inherit; }

.cr-by { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; font-size: .875rem; color: inherit; text-decoration: none; }
.cr-by b { font-weight: 700; }
.cr-by-logo { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: #fff; display: grid; place-items: center; flex: none; border: 1px solid rgba(0, 0, 0, .1); color: var(--c-green, #1b6b49); }
.cr-by-logo img { width: 100%; height: 100%; object-fit: cover; }
.cr-school { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.cr-school-logo { width: 110px; height: 110px; border-radius: 20px; overflow: hidden; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 2px 10px rgba(26, 34, 30, .1); }
.cr-school-logo img { width: 100%; height: 100%; object-fit: contain; }
.cr-school-t h2 { margin: 0 0 8px; }
.cr-school-c { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.cr-school-h { margin: 0 0 14px; }
@media (max-width: 600px) { .cr-school { flex-direction: column; } }

.cr-school-hero .cr-school-logo { width: 96px; height: 96px; }
.cr-school-hero { padding-bottom: var(--sp-3); }
.cr-school-d { max-width: 70ch; margin: 0 0 var(--sp-5); }

.cr-provs { padding-block: var(--sp-5) 0; }
.cr-provs h2 { margin: 0 0 12px; font-size: 1.125rem; }
.cr-provs ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.cr-provs a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: #fff; border-radius: 999px; box-shadow: 0 2px 10px rgba(26, 34, 30, .08); color: inherit; text-decoration: none; }
.cr-provs .cr-by-logo { width: 36px; height: 36px; }
