/* Mobile-only native carousel; existing desktop cards and Swiper are preserved. */
.home-tpl { display: none; }
@media (max-width: 767.98px) {
  body.home-v2 .home-template-section {
    padding: 40px 0 0;
    /* Override the shared mobile service-section white background. */
    background: var(--gray-white) !important;
  }
  body.home-v2 .home-template-section > .container,
  body.home-v2 .home-template-section > .service-slider { display: none; }
  body.home-v2 .home-template-section .home-tpl { display: flex; flex-direction: column; gap: 24px; }
  .home-tpl__head { padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }
  .home-tpl__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
  .home-tpl .home-tpl__title { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; color: var(--navy); text-wrap: pretty; }
  .home-tpl__title strong { font-weight: 800; }
  .home-tpl__title span { color: inherit; font-weight: 500; }
  .home-tpl__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    padding: 4px 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .home-tpl__track::-webkit-scrollbar { display: none; }
  .home-tpl .home-tpl__card {
    flex: 0 0 240px;
    width: 240px;
    height: 160px;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 20px;
    background: var(--cyan);
    color: var(--white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .home-tpl__card:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
  .home-tpl__play { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; }
  .home-tpl__play svg { width: 15px; height: 18px; margin-inline-start: 3px; display: block; }
  .home-tpl__name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; overflow-wrap: normal; word-break: normal; }
  .home-tpl__foot { padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .home-tpl .home-tpl__all { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--navy); text-decoration: none; }
  .home-tpl__all .home-icon { width: 14px; height: 14px; }
  .home-tpl__count { flex-shrink: 0; font-size: 14px; font-weight: 600; color: #5a6378; font-variant-numeric: tabular-nums; }
}
