.template-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:32px 0}.template-tabs a{padding:9px 18px;border:1px solid #bdc9bf;border-radius:30px;text-decoration:none}.template-tabs a.active{background:#174b47;color:white}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.template-card{border:1px solid #d8ded5;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.template-preview{height:290px;display:flex;align-items:center;justify-content:center;background:#edf0e8;padding:22px;overflow:hidden}.template-preview img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 7px #0002)}.template-card-body{padding:22px;display:flex;flex-direction:column;flex:1}.template-card h2{font-size:1.35rem;margin:8px 0}.template-card p{font-size:.95rem;flex:1}.template-card .actions{gap:12px;flex-wrap:wrap;margin-top:16px}.template-note{padding:16px 20px;border-left:3px solid #bd9e5d;background:#f2f0e8;max-width:850px}@media(max-width:1000px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.template-grid{grid-template-columns:1fr}.template-preview{height:270px}.template-card-body{padding:18px}}
.template-paper{display:block;font-size:.8rem;color:#596861;margin:6px 0}
.template-card h3{font-size:1.35rem;margin:8px 0}.section>section:has(.template-grid){margin:40px 0;scroll-margin-top:24px}
