/* Six Free Practice and Courses pages. Existing catalogue engines stay in control. */
.plp-actions { display:none; }

@media (max-width:600px) {
  body[data-punto-learning-phone] main > .pm4-routebar,
  body[data-punto-learning-phone="practice"] .pg28-intro :is(.pex-entry,.pfl-actions),
  body[data-punto-learning-phone="courses"] .pt77-wrap > .pex-entry,
  body[data-punto-learning-phone="courses"] .pt77-heading > .pt77-mini-jump {
    display:none!important;
  }

  body[data-punto-learning-phone] .plp-actions {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.45rem;
    margin:.7rem 0 .2rem;
  }
  body[data-punto-learning-phone] .plp-actions a {
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.45rem;
    min-inline-size:0;
    min-block-size:44px;
    padding:.5rem .65rem;
    border:1px solid #cdd8e1;
    border-radius:.55rem;
    background:#fff;
    color:#112039;
    font-size:.875rem;
    font-weight:750;
    line-height:1.25;
    text-decoration:none;
    overflow-wrap:anywhere;
  }
  body[data-punto-learning-phone] .plp-actions a span { color:#9f420f; }
  body[data-punto-learning-phone] .plp-actions .plp-primary {
    grid-column:1 / -1;
    background:#112039;
    border-color:#112039;
    color:#fff;
  }
  body[data-punto-learning-phone] .plp-actions .plp-primary span { color:#ffbe90; }
  body[data-punto-learning-phone] .plp-actions a:focus-visible {
    outline:2px solid #316396;
    outline-offset:2px;
  }

  body[data-punto-learning-phone="practice"] :is(.pg28-intro,.pg28-library) {
    padding-block-start:.8rem!important;
  }
  body[data-punto-learning-phone="practice"] .pg28-intro { padding-block-end:.65rem!important; }
  body[data-punto-learning-phone="practice"] .pg28-intro h1 {
    font-size:clamp(1.5rem,7vw,1.9rem)!important;
    overflow-wrap:anywhere;
  }
  body[data-punto-learning-phone="practice"] #free-library,
  body[data-punto-learning-phone="courses"] :is(#punto-course-catalogue,#free-mini-courses) {
    scroll-margin-block-start:1.25rem;
  }
  body[data-punto-learning-phone="practice"] .pg28 .pt78-filter-details > summary,
  body[data-punto-learning-phone="courses"] .pt77-filter-details > summary {
    box-sizing:border-box;
    min-block-size:44px;
  }
  body[data-punto-learning-phone="practice"] .pg28 :is(.pg28-search input,.pg28-toolbar select) {
    min-block-size:44px;
    font-size:16px!important;
  }
  body[data-punto-learning-phone="practice"] .pg28 .pg28-chip,
  body[data-punto-learning-phone="practice"] .pg28 .pg28-clear {
    min-block-size:44px;
  }
  body[data-punto-learning-phone="practice"] .pg28 .pg28-start {
    display:inline-flex;
    align-items:center;
    min-block-size:44px;
  }

  body[data-punto-learning-phone="courses"] .pt77-heading .plp-actions {
    max-inline-size:32rem;
  }
  body[data-punto-learning-phone="courses"] .pt77-catalogue :is(#pt77-search,.pt77-sort select) {
    min-block-size:44px;
    font-size:16px;
  }
  body[data-punto-learning-phone="courses"] .pt77-catalogue :is(.pt77-option,.pt77-view) {
    min-block-size:44px;
  }
}
