/* phone-courses.css 0.1.0: the courses home on a phone. Tokens of pxl-core.css only, scoped to html.pk. */

/* Hero: words over the film, as on the approved main home */
html.pk .hero-v { min-height: 0; margin: 0; padding: 0; display: flex; align-items: center; }
html.pk .hero-v .wrap { position: relative; z-index: 2; }
html.pk .hero-v h1 { font-size: min(44px, 11.2vw); line-height: 1.04; margin: 12px 0 0; }
html.pk .hero-v .hero-sub { margin-top: 14px; font-size: 18px; line-height: 1.35; }
html.pk .hero-v .hero-note { margin-top: 10px; font-size: 15px; line-height: 1.45; }
html.pk .hero-v .hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
html.pk .hero-v .btn { width: 100%; justify-content: center; }

/* Here and there */
html.pk #what::before, html.pk #what::after { display: none; }
html.pk .lib-split { display: flex; flex-direction: column; gap: 16px; text-align: center; }
html.pk .lib-split-rule { width: 60px; height: 1px; margin: 0 auto; }
html.pk .lib-split-half { display: block; padding: 14px 16px; }
html.pk .lib-split-half > * { display: block; }
html.pk .lib-split-half .k { font-size: 13px; }
html.pk .lib-split-half strong { font-size: 26px; line-height: 1.15; margin: 6px 0; }
html.pk .lib-split-half > span:last-child { font-size: 15px; line-height: 1.45; }
html.pk .lib-split-half a { display: inline-flex; align-items: center; min-height: 44px; }

/* Course cards: the cover on top with nothing over it */
html.pk #latest { padding-top: 12px; }
html.pk .c-card { display: flex; flex-direction: column; margin: 0; overflow: hidden; border-radius: 14px; }
html.pk .c-card .c-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; flex: none; }
html.pk .c-card .c-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 1; filter: none; transform: none; }
html.pk .c-card .c-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
html.pk .c-card .c-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
html.pk .c-card .c-chips { gap: 4px; }
html.pk .c-card .c-chips > * { position: static; font-size: 12px; line-height: 1.4; letter-spacing: 0.02em; padding: 2px 8px; min-height: 0; height: auto; }
html.pk .c-card .c-title { font-size: 20px; line-height: 1.2; margin: 0; }
/* Three lines here, the whole text is one tap away on the course's page */
html.pk .c-card .c-excerpt { font-size: 14px; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
html.pk .c-card .c-by { letter-spacing: 0.04em; }
html.pk .c-card .c-by,
html.pk .c-card .c-meta,
html.pk .c-card .c-meta * { font-size: 12px; line-height: 1.4; margin: 0; }
html.pk .c-card .c-meta { display: flex; flex-wrap: wrap; gap: 0 8px; }
html.pk .c-card .c-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
html.pk .c-card .c-price { font-size: 16px; }
html.pk .c-card .c-title a { display: inline-flex; align-items: center; min-height: calc(44px / var(--pk-zoom, 1)); }

/* The + sits beside the shelf's arrows on these, so the card can use the height */
html.pk #library.pk-has-more { padding-bottom: 4px; }
@media (max-height: 700px) {
  html.pk .c-card .c-excerpt { -webkit-line-clamp: 2; }
  html.pk #library .wrap > .eyebrow,
  html.pk #proof .section-head .eyebrow { display: none; }
  html.pk .c-card .c-body { gap: 4px; padding: 8px 12px; }
  html.pk #library .wrap > .eyebrow { margin: 0; }
  html.pk .pk-chapter .lib-head { font-size: 23px; margin: 4px 0; }
}

/* Section heads */
html.pk .pk-chapter .lib-head { font-size: 26px; line-height: 1.12; margin: 8px 0; }
html.pk .pk-chapter .lead { font-size: 15px; line-height: 1.45; margin: 0 0 12px; }
html.pk #library .wrap > .eyebrow,
html.pk .pk-soon .wrap > .eyebrow,
html.pk #paths .wrap > .eyebrow,
html.pk #latest .wrap > .eyebrow { justify-content: center; }
html.pk #library .wrap,
html.pk #paths .wrap { text-align: center; }
html.pk #library .pk-card,
html.pk #paths .pk-card { text-align: left; }
html.pk .pk-sheet-body .lead { font-size: 15px; line-height: 1.6; margin: 0; }

/* The ladder */
html.pk .path-rung { display: block; margin: 0; padding: 16px; border: 1px solid var(--hair); border-radius: 14px; background: var(--bg-1); box-sizing: border-box; }
html.pk .path-mark { display: none; }
html.pk .path-body { padding: 0 0 28px; }
html.pk .path-body h3 { font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
html.pk .path-body p { font-size: 15px; line-height: 1.45; margin: 0; }
html.pk .path-count { font-size: 12px; letter-spacing: 0.06em; }
html.pk .pk-sheet-body .path-courses { display: flex; flex-direction: column; gap: 4px; }
html.pk .pk-sheet-body .path-courses li { padding: 0; }
html.pk .pk-sheet-body .path-courses li::before { display: none; }
html.pk .pk-sheet-body .path-courses a { display: flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.3; }

/* Steps */
html.pk .step { margin: 0; padding: 16px; border: 1px solid var(--hair); border-radius: 14px; background: var(--bg-1); box-sizing: border-box; }
html.pk .step .step-num { position: static; display: block; font-size: 32px; line-height: 1; margin: 0 0 6px; }
html.pk .step h3 { font-size: 20px; margin: 0 0 8px; }
html.pk .step p { font-size: 15px; line-height: 1.45; margin: 0; }
html.pk .step .step-kicker { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; }

/* Why: his picture with no box and no border, only a small cast shadow, and nothing on it (Cris, 2026-11-04) */
html.pk #why .who-visual { display: block; margin-bottom: 8px; text-align: center; }
html.pk #why .portrait-frame { margin: 0 auto; width: auto; max-width: none; height: auto; aspect-ratio: auto; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
html.pk #why .portrait-frame > img { filter: none; }
html.pk #why .portrait-shadow { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45)); }
html.pk #why .portrait-frame::before, html.pk #why .portrait-frame::after { display: none; }
html.pk #why .portrait-frame img { width: auto; height: 28vh; height: 28dvh; max-width: 100%; margin: 0 auto; object-fit: contain; display: block; border: 0; border-radius: 0; box-shadow: none; filter: none; opacity: 1; transform: none; }
html.pk #why .portrait-cap { position: static; margin: 6px 0 0; background: none; padding: 0; text-align: center; }
html.pk #why .portrait-cap .n { font-size: 16px; }
html.pk #why .portrait-cap .r { font-size: 12px; letter-spacing: 0.08em; }
html.pk .pk-sheet-body .ves-badge { position: static; display: inline-flex; align-items: center; gap: 8px; margin: 0; background: none; border: 0; box-shadow: none; font-size: 13px; min-height: 44px; }
html.pk #why .brackets { display: none; }
html.pk .pk-sheet-body .ves-badge img { width: auto; height: 40px; max-width: none; object-fit: contain; filter: none; opacity: 1; }
@media (max-height: 700px) {
  html.pk #why .portrait-frame img { height: 22vh; height: 22dvh; }
  html.pk #why .who-body h2 { font-size: 22px; margin: 4px 0; }
}
html.pk .pk-cred-portrait { height: 22vh; height: 22dvh; }
html.pk #why .who-body h2 { font-size: 24px; line-height: 1.12; margin: 8px 0; max-width: none; }
html.pk #why .who-body .lead,
html.pk #why .who-body p { font-size: 15px; line-height: 1.45; margin: 0; }

/* The platform and the certificate */
html.pk .msplit { display: flex; flex-direction: column; gap: 12px; }
html.pk .msplit-media { width: 100%; margin: 0; order: 0; }
html.pk .msplit-media img { width: 100%; height: auto; max-height: 34vh; max-height: 34dvh; object-fit: contain; display: block; opacity: 1; filter: none; transform: none; }
html.pk .msplit-copy { padding: 0; text-align: center; order: 1; }
html.pk .msplit-rule { display: none; }
html.pk .msplit-copy .eyebrow { justify-content: center; }
html.pk .msplit-copy p { font-size: 15px; line-height: 1.45; margin: 0; }
html.pk .pk-sheet-body .btn { display: inline-flex; align-items: center; min-height: 44px; }

/* What you get */
html.pk .inc-item { margin: 0; padding: 16px; border: 1px solid var(--hair); border-radius: 14px; background: var(--bg-1); box-sizing: border-box; }
html.pk .inc-item h3, html.pk .inc-item strong { font-size: 20px; line-height: 1.2; }
html.pk .inc-item p { font-size: 15px; line-height: 1.45; margin: 8px 0 0; }

/* What mentees say: same as the approved main home */
html.pk #proof .section-head { text-align: center; }
html.pk #proof .section-head .eyebrow { letter-spacing: 0.06em; }
html.pk #proof .eyebrow::before, html.pk #proof .eyebrow::after,
html.pk #faq .eyebrow::before, html.pk #faq .eyebrow::after { display: none; }
html.pk .testimodal,
html.pk #testiModal { z-index: 1000; }
html.pk .testimodal-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; }
html.pk .testimodal-close:not(:has(svg))::before { content: "\D7"; font-size: 28px; line-height: 1; color: #fff; }
html.pk body.modal-open { overflow-y: hidden !important; }

/* This theme marks an open question differently from the main site */
html.pk #faq .faq-item.open .faq-ic::after { transform: rotate(0); }
html.pk #faq .faq-q { min-height: calc(44px / var(--pk-zoom, 1)); }

html.pk .masterstudy-authorization__switch-account-link { display: inline-flex; align-items: center; min-height: 44px; }

/* Let us talk */
html.pk #talk { text-align: center; padding: 16px 0; }
html.pk #talk h2 { font-size: 34px; line-height: 1.08; margin: 12px 0; }
html.pk #talk .eyebrow { justify-content: center; }
html.pk #talk .lead { font-size: 16px; line-height: 1.5; margin: 0 0 16px; }
html.pk #talk .cta-actions { display: flex; flex-direction: column; gap: 10px; }
html.pk #talk .btn { width: 100%; justify-content: center; }
