/* Templates carousel in #start. 2026-11-10. Isolated so it can be merged with other homepage edits. */
.tpl-carousel{margin:1.75rem 0 2.25rem;background:transparent}
.tpl-carousel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:.4rem}
.tpl-carousel-head h3{margin:0;font-size:1.25rem}
.tpl-carousel .lede{margin:0 0 1rem;color:var(--ink2);max-width:40rem}
.tpl-nav{display:flex;gap:.5rem;flex:none}
.tpl-nav button{inline-size:44px;block-size:44px;border-radius:999px;border:1.5px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;font:inherit}
.tpl-nav button:hover{background:var(--ink);color:#fff}
.tpl-nav button:disabled{opacity:.35;cursor:default;background:transparent;color:var(--ink)}
.tpl-nav button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tpl-viewport{position:relative}
.tpl-track{display:flex;gap:1rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;list-style:none;margin:0;padding:0 0 1rem;scrollbar-width:thin}
@media (prefers-reduced-motion:reduce){.tpl-track{scroll-behavior:auto}}
.tpl-slide{flex:0 0 85%;max-width:20.5rem;scroll-snap-align:start;min-width:0}
@media(min-width:760px){.tpl-slide{flex-basis:calc(50% - .5rem);max-width:none}}
.tpl-card{display:flex;flex-direction:column;height:100%;background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;text-decoration:none;color:var(--ink);min-height:44px}
.tpl-card:hover{border-color:var(--accent)}
.tpl-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:top center;background:var(--soft)}
.tpl-meta{padding:1rem 1.1rem 1.15rem;display:flex;flex-direction:column;gap:.2rem;flex:1}
.tpl-trade{margin:0;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--green)}
.tpl-name{margin:0;font-weight:700;font-size:1.08rem}
.tpl-sample{display:inline-block;margin-left:.35rem;font-weight:600;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink2);vertical-align:middle}
.tpl-link{margin-top:.65rem;font-weight:700;color:var(--accent-d);text-decoration:underline;text-underline-offset:2px}
.tpl-card:hover .tpl-link{color:var(--ink)}
.tpl-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
