/* Neighborhood strip 07. Scoped to this module. */
#ys-local-07 { margin: 0; padding: 0 0 64px; background: #f1f8fc; color: #10283f; font-family: 'G04 Roboto', Arial, sans-serif; }
#ys-local-07 *, #ys-local-07 *::before, #ys-local-07 *::after { box-sizing: border-box; }
#ys-local-07 [hidden] { display: none !important; }
#ys-local-07 .m07-wrap { width: min(1360px, calc(100% - 64px)); margin-inline: auto; }
#ys-local-07 .m07-header { margin: 0 auto 28px; text-align: center; }
#ys-local-07 h2 { margin: 0 0 12px; padding: 0; color: #0b213c; font: 700 clamp(46px, 5.2vw, 76px)/1.05 'G04 Teko', 'Arial Narrow', sans-serif; }
#ys-local-07 .m07-dot { color: #28c2e8; }
#ys-local-07 .m07-intro { margin: 0; padding: 0; color: #10283f; font-size: 18px; line-height: 1.6; }
#ys-local-07 .m07-strip { position: relative; display: flex; gap: 12px; width: 100%; margin: 0; padding: 0; list-style: none; }
#ys-local-07 .m07-item { position: relative; flex: 1 1 0; min-width: 0; margin: 0; padding: 0; transition: flex-grow .24s ease; }
#ys-local-07 .m07-item[data-m07-current="true"] { flex-grow: 1.3; }
#ys-local-07 .m07-link { position: relative; display: block; height: clamp(390px, 32vw, 460px); overflow: hidden; background: #0b213c; color: #fff; text-decoration: none; }
#ys-local-07 .m07-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
#ys-local-07 .m07-link::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, #0b213c00 40%, #0b213c66 64%, #0b213cef 83%, #0b213c 100%); pointer-events: none; }
#ys-local-07 .m07-label { position: absolute; z-index: 2; right: 18px; bottom: 24px; left: 18px; display: block; color: #fff; }
#ys-local-07 .m07-district { display: block; margin: 0 0 8px; color: inherit; font-size: 13px; font-weight: 700; line-height: 1.4; overflow-wrap: break-word; }
#ys-local-07 .m07-title-row { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: end; gap: 10px; }
#ys-local-07 h3 { min-width: 0; margin: 0; padding: 0; color: inherit; font: 700 34px/1.05 'G04 Teko', 'Arial Narrow', sans-serif; overflow-wrap: break-word; }
#ys-local-07 .m07-name-line { display: block; }
#ys-local-07 .m07-arrow { display: block; width: 20px; height: 20px; margin-bottom: 4px; color: #28c2e8; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#ys-local-07 .m07-link:hover { color: #fff; }
#ys-local-07 .m07-link:hover .m07-arrow { color: #fff; }
#ys-local-07 .m07-link:focus-visible { outline: 3px solid #28c2e8; outline-offset: -4px; }
#ys-local-07 .m07-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 16px; width: min(468px, 100%); margin: 28px auto 0; }
#ys-local-07 .m07-nav { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #0b213c; border-radius: 50%; background: transparent; color: #0b213c; cursor: pointer; }
#ys-local-07 .m07-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#ys-local-07 .m07-nav:hover { background: #dff4fc; }
#ys-local-07 .m07-progress { display: flex; align-items: center; gap: 7px; min-width: 0; }
#ys-local-07 .m07-progress-button { display: flex; flex: 1 1 0; align-items: center; min-width: 0; min-height: 44px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
#ys-local-07 .m07-progress-button::before { content: ''; display: block; width: 100%; height: 7px; border-radius: 8px; background: #c3e3ef; }
#ys-local-07 .m07-progress-button[aria-pressed="true"]::before { background: #28c2e8; }
#ys-local-07 button:focus-visible { outline: 3px solid #087d9b; outline-offset: 3px; }
#ys-local-07 .m07-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1399px) and (min-width: 1200px) {
  #ys-local-07 .m07-label { right: 14px; left: 14px; }
  #ys-local-07 h3 { font-size: 30px; }
  #ys-local-07 .m07-district { font-size: 12px; }
}
@media (max-width: 1199px) {
  #ys-local-07 .m07-strip { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #9dcddd #e4f2f9; }
  #ys-local-07 .m07-item, #ys-local-07 .m07-item[data-m07-current="true"] { flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; transition: none; }
  #ys-local-07 .m07-link { height: 430px; }
}
@media (max-width: 799px) {
  #ys-local-07 .m07-item, #ys-local-07 .m07-item[data-m07-current="true"] { flex-basis: calc((100% - 12px) / 2); }
  #ys-local-07 h2 { font-size: clamp(44px, 7.5vw, 60px); }
}
@media (max-width: 699px) {
  #ys-local-07 .m07-wrap { width: calc(100% - 32px); }
}
@media (max-width: 599px) {
  #ys-local-07 { padding-bottom: 40px; }
  #ys-local-07 .m07-header { margin-bottom: 24px; }
  #ys-local-07 h2 { font-size: clamp(44px, 10vw, 56px); }
  #ys-local-07 .m07-intro { font-size: 16px; }
  #ys-local-07 .m07-item, #ys-local-07 .m07-item[data-m07-current="true"] { flex-basis: 82%; }
  #ys-local-07 .m07-link { height: clamp(390px, 110vw, 470px); }
  #ys-local-07 h3 { font-size: 38px; }
  #ys-local-07 .m07-controls { gap: 12px; margin-top: 22px; }
  #ys-local-07 .m07-progress { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  #ys-local-07 .m07-item { transition: none; }
  #ys-local-07 .m07-strip { scroll-behavior: auto; }
}
