/* Mobile readability improvements for the free resource library (2026-10-05). */
@media (max-width: 620px) {
  body.kc-free {
    font-size: 17px;
    line-height: 1.65;
  }

  body.kc-free .top .wrap {
    gap: 10px;
    padding: 12px 16px;
  }

  body.kc-free .top nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 0.96rem;
    line-height: 1.4;
  }

  body.kc-free .top nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 7px 9px;
    border-radius: 8px;
  }

  body.kc-free .hero {
    padding: 22px 18px;
  }

  body.kc-free .hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  body.kc-free .hero .lead {
    font-size: 1.08rem;
    line-height: 1.62;
  }

  body.kc-free .hero .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 20px 0;
  }

  body.kc-free .hero .actions .action {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 13px 16px;
    text-align: center;
  }

  body.kc-free .hero > p:last-child {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  body.kc-free .card {
    padding: 20px;
  }

  body.kc-free .card p {
    font-size: 1rem;
    line-height: 1.6;
  }

  body.kc-free .card .action {
    min-height: 48px;
    padding: 12px 16px;
  }
}

@media (max-width: 380px) {
  body.kc-free .top nav {
    font-size: 0.9rem;
  }

  body.kc-free .top nav a {
    padding-inline: 7px;
  }
}
