/* Free-guide pages: the "Want to go further?" panel and the strip of guide pages.
   Markup is written by tools/guide_further.py. Edit the copy there, not in the pages. */

/* Strip of pages from the guide, shown near the sign-up form */
.tl-shots{margin:26px 0 0;padding:0;max-width:640px}
.tl-shots-row{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:12px;align-items:start}
.tl-shots img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:top;border-radius:8px;background:#fff;border:1px solid rgba(8,9,11,.1);box-shadow:0 10px 26px rgba(8,9,11,.14)}
.tl-shots figcaption{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:inherit;opacity:.7;margin-top:12px}

/* Sign-up card: someone who already gave an email on this device (/free/unlock.js
   sets html.unlocked) sees a link to the guide instead of the form */
.signup > .tl-shots:first-child{margin:0 0 28px}
#learning-form .formkit-submit{background-color:#0866d9!important;color:#fff!important}
#learning-form .formkit-submit:hover{background-color:#0051b5!important}
.gate-open{display:none}
html.unlocked .gate-form{display:none}
html.unlocked .gate-open{display:block}

/* Author photo in the article byline */
img.av{object-fit:cover;object-position:50% 18%;padding:0}

/* The "Want to go further?" panel */
.tlf-wrap{grid-column:1/-1;box-sizing:border-box;width:100%;max-width:1120px;margin:56px auto 64px;padding:0 24px;clear:both}
.tlf{box-sizing:border-box;display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;align-items:center;background:#08090b;color:#fff;border-radius:16px;padding:32px;text-align:left}
.tlf *{box-sizing:border-box}
.tlf .tlf-img{margin:0}
.tlf .tlf-img img{display:block;width:100%;height:auto;border-radius:12px}
.tlf h2{font-size:clamp(34px,4.4vw,52px);line-height:1.05;letter-spacing:-.02em;font-weight:800;color:#fff;margin:0 0 8px;padding:0;border:0;text-transform:none}
.tlf .tlf-sub{font-size:21px;font-weight:650;line-height:1.3;color:#8bc2ff;margin:0 0 14px}
.tlf p{color:#c9d1dc;font-size:17px;line-height:1.6;margin:0 0 20px;max-width:62ch}
.tlf a.tlf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:15px 24px;border:0;border-radius:10px;background:#0866d9;color:#fff;font-weight:700;font-size:17px;line-height:1.3;text-decoration:none;text-align:center;box-shadow:none}
.tlf a.tlf-btn:hover{background:#0051b5;color:#fff}
.tlf a.tlf-btn:focus-visible{outline:3px solid #8bc2ff;outline-offset:3px}
.tlf p.tlf-fine{font-size:13px;line-height:1.5;color:#9aa5b3;margin:14px 0 0}

@media (max-width:760px){
  .tl-shots-row{gap:8px}
  .tlf-wrap{margin:40px auto 48px;padding:0 16px}
  .tlf{grid-template-columns:1fr;gap:22px;padding:24px}
  .tlf .tlf-img img{max-width:200px}
  .tlf a.tlf-btn{width:100%}
}
