/* /templates — public templates listing. Isolated stylesheet, loaded only on this route. */
.templates-hero { margin:0 auto; max-width:1320px; padding:clamp(56px,8vw,96px) clamp(20px,6vw,80px) 8px; }
.templates-hero h1 { color:var(--ink); font-size:clamp(28px,4vw,40px); font-weight:500; letter-spacing:-.02em; }
.templates-hero .lead { color:#45657c; font-size:19px; max-width:44em; }
.templates-section .section-heading h2 { color:var(--ink); font-size:clamp(21px,2.6vw,28px); font-weight:500; letter-spacing:-.02em; line-height:1.4; }
.templates-section .section-heading > p { color:#45657c; max-width:56em; }
.template-grid { display:grid; gap:22px; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:34px; }
.template-card { background:#fff; border:1px solid rgba(18,54,92,.12); overflow:hidden; }
.template-card__thumb { aspect-ratio:3/2; overflow:hidden; position:relative; }
.template-card__thumb img { height:100%; object-fit:cover; object-position:top; width:100%; }
.template-card__thumb--a { background:linear-gradient(135deg,#eaf2ff 0%,#cfe3ff 100%); }
.template-card__thumb--b { background:linear-gradient(135deg,#eef8f1 0%,#cbeedb 100%); }
.template-card__thumb--c { background:linear-gradient(135deg,#fff3e9 0%,#ffe1d3 100%); }
.template-card__thumb--d { background:linear-gradient(135deg,#fef9ec 0%,#f1e6cf 100%); }
.template-card__thumb--e { background:linear-gradient(135deg,#eef5ff 0%,#dbeeff 100%); }
.template-card__thumb--f { background:linear-gradient(135deg,#f1fbf5 0%,#dcf3e4 100%); }
.template-card__thumb--g { background:linear-gradient(135deg,#fff6ef 0%,#ffe9da 100%); }
.template-card__body { padding:18px 20px 22px; }
.template-card__body h3 { font-size:18px; font-weight:600; margin-bottom:8px; }
.template-card__body p { color:#45657c; font-size:15px; line-height:1.7; margin-bottom:14px; }
@media (max-width:1080px) { .template-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .templates-hero { padding-left:24px; padding-right:24px; } .template-grid { grid-template-columns:1fr; } }
