/* Template pages and the /templates/ hub. Loaded after guides.css and blog.css. */
.download-box{background:var(--cream);border:1.5px solid var(--ink);padding:28px 30px;margin:8px 0 30px}
.download-box h2{font-size:clamp(24px,2.8vw,30px);margin:0 0 8px}
.download-box>p{font-size:15px;margin:0 0 18px}
.template-gate .hp{position:absolute;left:-9999px}
.template-gate .field{display:block;font-size:13px;font-weight:700;margin-bottom:12px}
.template-gate .field input{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:12px 13px;font:15px var(--sans);border:1.5px solid var(--ink);background:#fff;color:var(--ink)}
.template-gate .optin{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.45;margin:4px 0 16px}
.template-gate .optin input{margin-top:3px;flex:none}
.template-gate .btn{background:var(--pink);color:#fff;border:1.5px solid var(--ink);padding:13px 20px;font:700 15px var(--sans);cursor:pointer}
.template-gate .btn:disabled{opacity:.7;cursor:default}
.download-box .fine{font-size:12px;margin:12px 0 0}
.download-box .fine a{border-bottom:1.5px solid var(--pink);text-decoration:none}
.msg{font-size:14px;font-weight:700;margin:10px 0 0}
.msg.err{color:#a3123f}
.download-files{margin:6px 0 0}
.download-files p{font-size:15px;margin:0 0 12px}
.download-files ul{list-style:none;padding:0;margin:0}
.download-files li{padding:10px 0;border-top:1px solid var(--line)}
.download-files a{font-weight:700;text-decoration:none;border-bottom:2px solid var(--pink)}
.template-table{width:100%;border-collapse:collapse;font-size:13px;margin:6px 0 24px;display:block;overflow-x:auto}
.template-table th,.template-table td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.template-table th{background:#f7d6e2;font-weight:700}
.prose pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--cream);border:1px solid var(--line);padding:16px 18px;font:14px/1.55 ui-monospace,Menlo,monospace;margin:0 0 20px}
.template-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:10px 0 40px}
.template-card{border:1.5px solid var(--ink);padding:24px 26px;background:#fff}
.template-card h2{font-size:clamp(23px,2.6vw,28px);margin:0 0 8px}
.template-card h2 a{text-decoration:none}
.template-card h2 a:hover{color:var(--pink)}
.template-card p{font-size:15px;margin:0 0 14px}
.template-card .formats{font-size:13px;font-weight:700;color:#58484d;margin:0}
@media(max-width:700px){.template-cards{grid-template-columns:1fr}.download-box{padding:22px}}
