/* style v13
   1) auth pages: the two links under the card get the same gap as the card above, equal size
   2) home: the nine level numbers in one row with the group labels above them, smaller course card */

/* ---- 1) auth foot links ---- */
.pt-foot{display:flex!important;flex-wrap:nowrap!important;gap:22.8px!important;justify-content:center!important;align-items:stretch!important}
.pt-foot a{flex:1 1 0!important;width:auto!important;min-width:0!important;height:46px!important;min-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
@media(max-width:559px){
  .pt-foot{flex-wrap:wrap!important;gap:14px!important}
  .pt-foot a{flex:1 1 100%!important;height:44px!important;min-height:44px!important;font-size:13.5px!important}
}

/* ---- 2) home: level picker in one row with labels above ---- */
@media(min-width:700px){
  #tabs{display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:center!important;gap:26px!important;width:-moz-fit-content!important;width:fit-content!important;max-width:100%!important;margin:0 auto 14px!important}
  #tabs .plan{display:grid!important;grid-template-columns:repeat(3,var(--cs))!important;--cs:40px!important;width:auto!important;gap:8px!important;justify-content:center!important;align-items:center!important}
  #tabs .plan-name{grid-column:1/-1!important;height:auto!important;background:none!important;border:0!important;border-radius:0!important;padding:0 0 2px!important;font-size:13px!important;line-height:1.2!important;color:var(--mute)!important;white-space:nowrap!important;overflow:visible!important}
  #tabs .plan-name span[dir="ltr"]{display:none!important}
  #tabs .tab{width:var(--cs)!important;height:var(--cs)!important;font-size:15px!important}

  /* course card sized to fill the screen without scrolling */
  #course-box.course{padding:24px 32px!important}
  #course-box h3{font-size:25px!important;margin:6px 0 8px!important;line-height:1.28!important}
  #course-box .lvl{font-size:13.5px!important;padding:2px 12px!important}
  #course-box .lv-lead{font-size:14px!important;margin:0 0 10px!important}
  #course-box ul{margin:0!important;padding-inline-start:20px!important}
  #course-box li{font-size:14.5px!important;line-height:1.62!important;margin:0 0 6px!important}
  #course-box .meta{font-size:12.5px!important;margin:12px 0 0!important;padding-top:12px!important}
  #course-box .course-cta{margin:14px 0 0!important}
  #course-box .course-cta .btn{padding:11px 28px!important;font-size:15.5px!important;min-height:0!important;line-height:1.3!important}
}

/* tighten the courses header so the whole block fits one 742 screen */
@media(min-width:700px){
  #courses .eyebrow{display:none!important}
  #courses h2{font-size:30px!important;margin:0 0 6px!important;line-height:1.2!important}
  #courses p.sub{font-size:13.5px!important;margin:0 0 12px!important}
  #courses .tabs{margin-bottom:12px!important}
  #courses p.free{margin:14px 0 0!important;font-size:14px!important}
  section.sec{scroll-margin-top:84px}
}

/* light theme: clear, readable borders (dark theme untouched) */
html.theme-light .pt-foot a{border-color:rgba(17,24,39,.38)!important;background:#FFFFFF!important;color:#111827!important;box-shadow:0 1px 2px rgba(17,24,39,.08)!important}
html.theme-light .pt-foot a:hover,html.theme-light .pt-foot a:focus-visible{border-color:rgba(17,24,39,.6)!important;background:#EEF2FB!important}
html.theme-light .glass.pt-card,html.theme-light .pt-card,html.theme-light .glass{border-color:rgba(17,24,39,.22)!important}
html.theme-light .pt-card input,html.theme-light .pt-login input,html.theme-light .glass input,html.theme-light .pt-in{border-color:rgba(17,24,39,.3)!important}
html.theme-light .pt-role{border-color:rgba(17,24,39,.38)!important;background:#FFFFFF!important;color:#111827!important}
html.theme-light .pt-role:hover{border-color:rgba(17,24,39,.6)!important;background:#EEF2FB!important}
html.theme-light .pt-backlink{color:#374151!important}
