.template-catalog {
    max-width: 1560px;
    margin: auto;
    padding: clamp(142px, 12vw, 186px) clamp(24px, 4vw, 64px) 96px;
}
.template-intro, .template-entry-heading {
    display: grid;
    grid-template-columns: 1.22fr 1fr;
    gap: 5%;
    align-items: end;
}
.air-templates .template-intro h1 {
    font-size: clamp(52px, 6.8vw, 96px);
    line-height: 1.02;
    letter-spacing: -.055em;
}
.air-templates:lang(zh-CN) .template-intro h1 { font-size: clamp(42px, 5.3vw, 78px); letter-spacing: -.045em; }
.template-intro p { max-width: 44ch; font-size: clamp(17px, 1.5vw, 22px); }
.template-entry {
    margin-top: clamp(72px, 7vw, 104px);
    border-top: 1px solid #cfcfc9;
    padding-top: 24px;
}
.template-entry-heading { margin-bottom: 30px; align-items: start; }
.air-templates .template-entry-heading h2 { font-size: clamp(36px, 4.2vw, 64px); letter-spacing: -.045em; }
.template-entry-heading p { max-width: 57ch; font-size: 16px; }
.template-views {
    padding: clamp(16px, 2.8vw, 40px);
    background: #eeeee9;
}
.template-entry:nth-of-type(2) .template-views { background: #efedeb; }
.template-entry:nth-of-type(3) .template-views { background: #e9edeb; }
.template-entry:nth-of-type(4) .template-views { background: #eeedf0; }
.template-carousel { width: min(100%, 1170px, 135svh); margin: auto; }
.template-track {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
.template-track::-webkit-scrollbar { display: none; }
.template-shot { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.template-controls { display: flex; align-items: center; justify-content: center; gap: 12px; }
.template-dots { display: flex; align-items: center; }
.template-controls button { display: grid; place-items: center; border: 0; padding: 0; background: none; }
.template-controls .template-arrow { width: 44px; height: 44px; border: 1px solid #9f9f97; border-radius: 50%; font-size: 21px; }
.template-dot { width: 30px; height: 44px; }
.template-dot::before { content: ""; width: 7px; height: 7px; border: 1px solid #73746f; border-radius: 50%; }
.template-dot[aria-current="true"]::before { background: #242522; border-color: #242522; transform: scale(1.3); }
.template-controls button:focus-visible, .template-track:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.template-controls button:hover { color: #000; }
.template-pair {
    display: grid;
    grid-template-columns: minmax(0, 3.25fr) minmax(0, 1fr);
    gap: clamp(16px, 2vw, 32px);
    align-items: start;
}
.template-device-label { display: block; margin-bottom: 6px; font-size: 13px; color: #4a4b46; }
.template-window {
    display: block;
    position: relative;
    text-decoration: none;
    cursor: zoom-in;
    overflow: hidden;
    border: 1px solid #0002;
    border-radius: 7px;
    background: white;
    box-shadow: 0 3px 10px #2423230a;
}
.template-window-bar {
    position: relative;
    height: 31px;
    display: grid;
    place-items: center;
    background: #f6f6f4;
    border-bottom: 1px solid #dededb;
}
.template-window-dots { position: absolute; left: 11px; display: flex; gap: 4px; }
.template-window-dots i { width: 5px; height: 5px; border-radius: 50%; background: #b9bab5; }
.template-address {
    display: block;
    width: 47%;
    max-width: 270px;
    text-align: center;
    font-size: 10px;
    line-height: 19px;
    color: #595b55;
    border-radius: 6px;
    background: #e8e9e5;
}
.template-window img { display: block; width: 100%; }
.template-device--mobile .template-window-dots { display: none; }
.template-device--mobile .template-address { width: 74%; border-radius: 14px; }
.template-window:focus-visible { outline: 2px solid #242422; outline-offset: -2px; }
.template-shot figcaption { padding-top: 9px; font-size: 14px; color: #363633; }
.air-templates .feature-footer { border-top: 1px solid #dededb; }
@media (max-width: 760px) {
    .template-catalog { padding: 154px 20px 64px; }
    .template-intro, .template-entry-heading { grid-template-columns: 1fr; gap: 18px; }
    .template-entry { margin-top: 52px; padding-top: 18px; }
    .template-entry-heading { margin-bottom: 22px; gap: 12px; }
    .template-views { padding: 18px 14px 14px; }
    .template-carousel { width: 100%; }
    .template-pair { grid-template-columns: 1fr; gap: 17px; }
    .template-device--mobile { width: min(100%, 210px, max(165px, 23svh)); }
    .template-device--desktop .template-window-bar { height: 24px; }
    .template-controls { gap: 3px; }
    .template-dot { width: 26px; }
}
