.template-cover { background: radial-gradient(ellipse at 82% 55%, #253e59 0%, #0c1629 64%); }
.template-cover .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(200px, 2fr); gap: clamp(24px, 6vw, 90px); align-items: center; }
.template-cover figure { margin: 0; padding: 18px; border: 1px solid #63758a; border-radius: 20px; background: #14283b; }
.template-cover figure div { display: flex; justify-content: center; }
.template-cover figure img { width: 31%; height: clamp(85px, 12vw, 155px); object-fit: contain; }
.template-cover figcaption { margin-top: 12px; color: #f0dcc1; text-align: center; font-size: .85rem; }
.template-index { margin-block: 36px 48px; }
.template-index details { border-bottom: 1px solid #c9d4df; }
.template-index summary { padding: 16px 8px; cursor: pointer; color: #1d3858; font-weight: 650; }
.template-index details[open] summary { background: #edf2f7; }
.template-index ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); gap: 8px; padding: 12px 0; margin: 0; list-style: none; }
.template-index li a { display: block; height: 100%; padding: 12px 16px; border: 1px solid #ccd7e2; border-radius: 10px; text-decoration: none; }
.template-index li a:hover, .template-index li a:focus-visible { background: #edf3fa; text-decoration: underline; }
.template-index li small { display: block; color: #4a6078; }
.template-examples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.template-examples article { padding: 18px; border-radius: 14px; background: #f0f4f8; }
@media (max-width: 700px) { .template-cover .wrap, .template-examples { grid-template-columns: minmax(0,1fr); } }
