/* Targeted phone fixes. The existing desktop and tablet styles are untouched. */
@media screen and (max-width:767px) {
  /* Replace inherited desktop subgrid with a real padded text container. */
  .kp-mobile .kp-mobile-home .guide-track {
    grid-template-rows:none;grid-auto-columns:92%;align-items:stretch;gap:14px;
    padding:0 0 12px;
  }
  .kp-mobile .kp-mobile-home .guide-card {
    display:flex;flex-direction:column;grid-row:auto;grid-template-rows:none;
    gap:0;border-radius:18px;min-width:0;
  }
  .kp-mobile .kp-mobile-home .guide-visual {
    display:flex;flex-direction:column;flex:none;gap:12px;
    height:auto;min-height:0;aspect-ratio:auto;padding:17px 18px 0;
    background:#10232e;
  }
  .kp-mobile .kp-mobile-home .guide-category {
    position:static;inset:auto;order:-1;display:block;align-self:flex-start;
    margin:0;padding:0;color:#dfbc90;font-size:10px;line-height:1.5;
    letter-spacing:.07em;
  }
  .kp-mobile .kp-mobile-home .guide-art {
    position:relative;inset:auto;display:block;width:100%;height:164px;
    flex:none;background-size:contain;background-position:center;background-repeat:no-repeat;
    transform:none;
  }
  .kp-mobile .kp-mobile-home .guide-copy {
    display:flex;flex-direction:column;align-items:stretch;flex:1;min-width:0;
    padding:18px;background:#10232e;
  }
  .kp-mobile .kp-mobile-home .guide-copy h3 {
    margin:0 0 11px;min-height:0;font-size:21px;line-height:1.3;
    color:#f4f7f8;overflow-wrap:break-word;
  }
  .kp-mobile .kp-mobile-home .guide-copy p {
    margin:0 0 18px;min-height:0;font-size:14px;line-height:1.7;color:#c1cdd5;
  }
  .kp-mobile .kp-mobile-home .guide-action {
    align-self:stretch;margin:auto 0 0;width:100%;min-height:48px;
    padding:12px 15px;gap:12px;border-radius:12px;
    background:#c9a16e;border:1px solid #c9a16e;color:#14232c;
    font-size:12px;line-height:1.5;letter-spacing:.025em;
  }
  .kp-mobile .kp-mobile-home .guide-navigation {
    gap:16px;margin-top:8px;min-height:48px;
  }
  .kp-mobile .kp-mobile-home .guide-arrows .round:not(:disabled) {
    color:#f4f7f8;border-color:#c9a16e80;background:#1a3442;
  }
  /* A distinct thumbnail, full-width description and visible action. */
  .kp-mobile .kp-mobile-home .memo-grid {grid-template-rows:none;gap:14px}
  .kp-mobile .kp-mobile-home .memo-card {
    display:grid;grid-template-columns:minmax(0,1fr)76px;grid-template-rows:auto auto auto auto;
    grid-row:auto;align-items:start;gap:0 14px;padding:20px;min-height:0;border-radius:18px;
    background:#132631;
  }
  .kp-mobile .kp-mobile-home .memo-copy {display:contents}
  .kp-mobile .kp-mobile-home .memo-copy>.eyebrow {
    grid-column:1;grid-row:1;max-width:none;margin:0 0 9px;color:#dfbc90;
  }
  .kp-mobile .kp-mobile-home .memo-copy h3 {
    grid-column:1;grid-row:2;max-width:none;margin:0 0 14px;font-size:22px;line-height:1.25;
    text-wrap:pretty;color:#f4f7f8;
  }
  .kp-mobile .kp-mobile-home .memo-copy p {
    grid-column:1/-1;grid-row:3;max-width:none;margin:0 0 18px;
    font-size:14px;line-height:1.7;color:#c1cdd5;
  }
  .kp-mobile .kp-mobile-home .memo-art {
    grid-column:2;grid-row:1/3;position:static;inset:auto;align-self:center;
    width:76px;height:88px;background-size:contain;background-position:center;transform:none;
  }
  .kp-mobile .kp-mobile-home .memo-action {
    grid-column:1/-1;grid-row:4;justify-self:stretch;align-self:stretch;
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    width:100%;min-height:48px;margin:0;padding:12px 15px;border-radius:12px;
    background:#c9a16e;border:1px solid #c9a16e;color:#14232c;
    font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.025em;
  }
  /* The PDF is the primary action on every guide, including preparation guides. */
  .kp-mobile .kp-v2.article-page .article-actions {
    display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:20px 0 0;
  }
  .kp-mobile .kp-v2.article-page .article-actions>a {
    display:flex;align-items:center;justify-content:center;gap:12px;
    width:100%;min-height:48px;margin:0;padding:13px 17px;border-radius:13px;
    text-align:center;text-decoration:none;font-size:13px;line-height:1.5;
    background:#142b38;border:1px solid #8da3b64d;color:#e0e8ee;
  }
  .kp-mobile .kp-v2.article-page .article-actions>a[href*=".pdf"] {
    order:-1;min-height:60px;background:#c9a16e;border-color:#c9a16e;color:#14232c;
    font-size:16px;font-weight:700;letter-spacing:0;
    box-shadow:0 5px 18px #c9a16e14;
  }
  .kp-mobile .kp-v2.article-page .article-actions>a[href*=".pdf"]::before {
    content:'PDF';display:grid;place-items:center;flex:none;width:35px;height:39px;
    border:1px solid #14232c6b;border-radius:7px;background:#ffffff1f;
    font-size:10px;font-weight:700;letter-spacing:.04em;
  }
  .kp-mobile .kp-v2.article-page .kp-guide-download {
    background:#17303d;border-color:#c9a16e80;
  }
  .kp-mobile .kp-v2.article-page .hero-guide-card {
    grid-template-columns:65px minmax(0,1fr);gap:16px;
  }
  .kp-mobile .kp-v2.article-page .hero-guide-cover {grid-row:1;align-self:start}
  .kp-mobile .kp-v2.article-page .hero-guide-action {
    grid-column:1/-1;justify-self:stretch;justify-content:center;gap:12px;
    min-height:52px;width:100%;padding:12px 16px;border-radius:12px;
    background:#c9a16e;color:#14232c;font-size:14px;font-weight:700;
  }
  .kp-mobile .kp-aside-pdf {
    min-height:52px;background:#c9a16e;color:#14232c;font-weight:700;border:1px solid #c9a16e;
  }
}
