/* Homepage addition 10. All styles belong to this section only. */
#ys-region-matrix-10 {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 34px 0 58px;
  background: #f1f8fc;
  color: #10283f;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
#ys-region-matrix-10 *,
#ys-region-matrix-10 *::before,
#ys-region-matrix-10 *::after { box-sizing: border-box; }
#ys-region-matrix-10 .rm10-wrap { width: min(1360px, calc(100% - 64px)); margin-inline: auto; }
#ys-region-matrix-10 .rm10-wrap::before {
  content: '';
  display: block;
  height: 1px;
  margin-bottom: 36px;
  background: linear-gradient(90deg, transparent, #b9deeb 20%, #b9deeb 80%, transparent);
}
#ys-region-matrix-10 .rm10-layout { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 22px; align-items: stretch; }
#ys-region-matrix-10 .rm10-main { min-width: 0; }
#ys-region-matrix-10 .rm10-heading { margin: 0 0 24px; }
#ys-region-matrix-10 .rm10-eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 12px; color: #087490; font-size: 13px; font-weight: 600; letter-spacing: .13em; line-height: 1.5; }
#ys-region-matrix-10 .rm10-eyebrow::after { content: ''; width: 60px; height: 1px; background: #7dcfe5; }
#ys-region-matrix-10 h2 { margin: 0 0 12px; color: #0b213c; font-size: clamp(30px, 3.35vw, 48px); font-weight: 600; line-height: 1.22; letter-spacing: -.025em; overflow-wrap: break-word; }
#ys-region-matrix-10 .rm10-intro { max-width: 1050px; margin: 0; color: #435a70; font-size: 17px; line-height: 1.7; }
#ys-region-matrix-10 .rm10-table { width: calc(100% + 16px); max-width: none; margin: -8px; border: 0; border-collapse: separate; border-spacing: 8px; table-layout: fixed; color: inherit; }
#ys-region-matrix-10 .rm10-table col:first-child { width: 22%; }
#ys-region-matrix-10 .rm10-table col:not(:first-child) { width: 26%; }
#ys-region-matrix-10 .rm10-table th,
#ys-region-matrix-10 .rm10-table td { min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; vertical-align: middle; text-align: left; font-weight: 400; }
#ys-region-matrix-10 .rm10-table thead th { padding-bottom: 1px; vertical-align: bottom; }
#ys-region-matrix-10 .rm10-service-heading { display: block; height: 100%; overflow: hidden; border-radius: 11px; background: #0b213c; color: #fff; text-decoration: none; }
#ys-region-matrix-10 .rm10-photo { display: block; width: 100%; height: 134px; margin: 0; object-fit: cover; object-position: center 58%; }
#ys-region-matrix-10 .rm10-photo-drain { object-position: center 70%; }
#ys-region-matrix-10 .rm10-service-label { display: flex; align-items: center; gap: 12px; min-height: 65px; margin: 0; padding: 12px 16px; color: #fff; font-size: clamp(17px, 1.55vw, 21px); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
#ys-region-matrix-10 .rm10-icon { display: block; flex: 0 0 auto; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#ys-region-matrix-10 .rm10-service-label .rm10-icon { width: 32px; height: 32px; color: #8ce2f5; }
#ys-region-matrix-10 .rm10-arrow { display: block; flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#ys-region-matrix-10 .rm10-district,
#ys-region-matrix-10 .rm10-cell { min-width: 0; min-height: 68px; height: 100%; border: 1px solid #c8e3f0; border-radius: 8px; background: #ffffffc9; color: #0b213c; text-decoration: none; transition: border-color .18s ease, background .18s ease; }
#ys-region-matrix-10 .rm10-district { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: clamp(18px, 1.65vw, 23px); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
#ys-region-matrix-10 .rm10-district .rm10-icon { width: 24px; height: 28px; color: #087490; }
#ys-region-matrix-10 .rm10-district .rm10-arrow { margin-left: auto; width: 17px; flex-basis: 17px; }
#ys-region-matrix-10 .rm10-district-name { min-width: 0; overflow-wrap: anywhere; }
#ys-region-matrix-10 .rm10-cell { display: grid; grid-template-columns: 42px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 12px 20px; }
#ys-region-matrix-10 .rm10-cell .rm10-icon { width: 38px; height: 38px; }
#ys-region-matrix-10 .rm10-cell-cta { text-align: center; font-size: 14px; font-weight: 600; line-height: 1.4; }
#ys-region-matrix-10 .rm10-cell-label { display: none; }
#ys-region-matrix-10 .rm10-row:hover .rm10-cell,
#ys-region-matrix-10 .rm10-row:hover .rm10-district,
#ys-region-matrix-10 .rm10-row:focus-within .rm10-cell,
#ys-region-matrix-10 .rm10-row:focus-within .rm10-district { background: #e7f7fc; border-color: #83d4e8; }
#ys-region-matrix-10 .rm10-cell:hover,
#ys-region-matrix-10 .rm10-cell:focus-visible,
#ys-region-matrix-10 .rm10-district:hover { border-color: #087490; background: #dff5fc; color: #0b213c; }
#ys-region-matrix-10 .rm10-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 78%; margin: 18px 0 0 auto; }
#ys-region-matrix-10 .rm10-action { display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 0; min-height: 64px; margin: 0; padding: 14px 18px; border: 1px solid #0b213c; border-radius: 10px; background: transparent; color: #0b213c; text-align: center; text-decoration: none; font-size: 16px; font-weight: 600; line-height: 1.45; transition: background .18s ease; }
#ys-region-matrix-10 .rm10-action .rm10-icon { width: 26px; height: 26px; }
#ys-region-matrix-10 .rm10-action .rm10-arrow { margin-left: 6px; }
#ys-region-matrix-10 .rm10-action-call { border-color: #28c2e8; background: #28c2e8; font-size: 20px; letter-spacing: -.02em; }
#ys-region-matrix-10 .rm10-action-call strong { white-space: nowrap; font-weight: 600; }
#ys-region-matrix-10 .rm10-action:hover { background: #e2f5fc; color: #0b213c; }
#ys-region-matrix-10 .rm10-action-call:hover { background: #5ed1ee; }
#ys-region-matrix-10 .rm10-rail { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 24px 8px; border-radius: 12px; background: linear-gradient(180deg, #f1f8fc 0, #0b213c 38px, #0b213c calc(100% - 38px), #f1f8fc 100%); color: #7ac8de; pointer-events: none; }
#ys-region-matrix-10 .rm10-pipe-art { display: block; width: 100%; height: 100%; max-height: 850px; min-height: 600px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
#ys-region-matrix-10 .rm10-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
#ys-region-matrix-10 a:focus-visible,
#ys-region-matrix-10 button:focus-visible { outline: 3px solid #087490; outline-offset: 3px; }
#ys-region-matrix-10 .rm10-dialog:not([open]) { display: none; }
#ys-region-matrix-10 .rm10-dialog { position: fixed; inset: 0; width: min(590px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 40px); max-height: calc(100svh - 40px); margin: auto; padding: 28px; overflow: auto; border: 1px solid #c8e3f0; border-radius: 20px; background: #fff; color: #10283f; box-shadow: 0 24px 80px #0b213c33; overscroll-behavior: contain; }
#ys-region-matrix-10 .rm10-dialog::backdrop { background: #0b213ca8; }
#ys-region-matrix-10 .rm10-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
#ys-region-matrix-10 .rm10-dialog-eyebrow { margin: 0 0 8px; color: #087490; font-size: 12px; font-weight: 600; letter-spacing: .09em; line-height: 1.5; }
#ys-region-matrix-10 .rm10-dialog h3 { margin: 0; color: #0b213c; font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
#ys-region-matrix-10 .rm10-close { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 1px solid #c8e3f0; border-radius: 50%; background: #f1f8fc; color: #0b213c; cursor: pointer; }
#ys-region-matrix-10 .rm10-close .rm10-icon { width: 22px; height: 22px; }
#ys-region-matrix-10 .rm10-dialog-copy { margin: 20px 0 24px; color: #435a70; font-size: 16px; line-height: 1.75; }
#ys-region-matrix-10 .rm10-detail-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#ys-region-matrix-10 .rm10-detail-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px; border: 1px solid #c8e3f0; border-radius: 10px; color: #0b213c; background: #f1f8fc; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.5; }
#ys-region-matrix-10 .rm10-detail-links a span { min-width: 0; overflow-wrap: anywhere; }
#ys-region-matrix-10 .rm10-detail-links a:hover { border-color: #087490; background: #e7f7fc; }
#ys-region-matrix-10 .rm10-dialog-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
#ys-region-matrix-10 .rm10-dialog-contact a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 10px; border-radius: 10px; background: #0b213c; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.4; }
#ys-region-matrix-10 .rm10-dialog-contact .rm10-icon { width: 22px; height: 22px; }
#ys-region-matrix-10 .rm10-dialog-contact .rm10-whatsapp { background: #25d366; color: #0b213c; }
@media (max-width: 1199px) {
  #ys-region-matrix-10 .rm10-layout { grid-template-columns: minmax(0, 1fr) 58px; gap: 16px; }
  #ys-region-matrix-10 .rm10-cell { grid-template-columns: 32px minmax(0, 1fr) 18px; gap: 8px; padding: 12px; }
  #ys-region-matrix-10 .rm10-cell .rm10-icon { width: 30px; height: 30px; }
  #ys-region-matrix-10 .rm10-district { gap: 8px; padding-inline: 12px; font-size: 18px; }
  #ys-region-matrix-10 .rm10-district .rm10-icon { width: 20px; }
  #ys-region-matrix-10 .rm10-service-label { gap: 8px; padding: 12px; font-size: 17px; }
  #ys-region-matrix-10 .rm10-service-label .rm10-icon { width: 27px; height: 27px; }
  #ys-region-matrix-10 .rm10-actions { width: 100%; }
}
@media (max-width: 959px) {
  #ys-region-matrix-10 .rm10-layout { grid-template-columns: minmax(0, 1fr); }
  #ys-region-matrix-10 .rm10-rail { display: none; }
  #ys-region-matrix-10 .rm10-photo { height: 118px; }
  #ys-region-matrix-10 .rm10-service-label { min-height: 68px; }
}
@media (max-width: 799px) {
  #ys-region-matrix-10 { padding: 28px 0 40px; }
  #ys-region-matrix-10 .rm10-wrap { width: calc(100% - 32px); }
  #ys-region-matrix-10 .rm10-wrap::before { margin-bottom: 28px; }
  #ys-region-matrix-10 .rm10-heading { margin-bottom: 22px; }
  #ys-region-matrix-10 .rm10-intro { font-size: 16px; }
  #ys-region-matrix-10 .rm10-eyebrow { font-size: 12px; }
  #ys-region-matrix-10 .rm10-table { display: block; width: 100%; margin: 0; border-spacing: 0; }
  #ys-region-matrix-10 .rm10-table colgroup { display: none; }
  #ys-region-matrix-10 .rm10-table thead,
  #ys-region-matrix-10 .rm10-table tbody { display: block; width: 100%; }
  #ys-region-matrix-10 .rm10-table thead tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  #ys-region-matrix-10 .rm10-table .rm10-corner { display: none; }
  #ys-region-matrix-10 .rm10-table thead th { display: block; padding: 0; }
  #ys-region-matrix-10 .rm10-service-heading { border-radius: 9px; }
  #ys-region-matrix-10 .rm10-photo { height: 76px; }
  #ys-region-matrix-10 .rm10-service-label { flex-direction: column; justify-content: center; gap: 6px; min-height: 78px; padding: 9px 5px; text-align: center; font-size: 12px; line-height: 1.4; letter-spacing: -.01em; }
  #ys-region-matrix-10 .rm10-service-label .rm10-icon { width: 24px; height: 24px; }
  #ys-region-matrix-10 .rm10-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; margin-top: 12px; padding: 12px; border: 1px solid #c8e3f0; border-radius: 12px; background: #ffffffb8; }
  #ys-region-matrix-10 .rm10-table tbody th { display: block; grid-column: 1 / -1; }
  #ys-region-matrix-10 .rm10-table tbody td { display: block; }
  #ys-region-matrix-10 .rm10-district { min-height: 34px; padding: 0; border: 0; background: transparent; font-size: 20px; }
  #ys-region-matrix-10 .rm10-district .rm10-icon { width: 22px; height: 26px; }
  #ys-region-matrix-10 .rm10-cell { grid-template-columns: minmax(0, 1fr) 14px; justify-items: center; gap: 5px 2px; min-height: 116px; padding: 10px 6px; }
  #ys-region-matrix-10 .rm10-cell .rm10-icon { grid-column: 1 / -1; width: 26px; height: 26px; }
  #ys-region-matrix-10 .rm10-cell-label { display: block; grid-column: 1 / -1; align-self: start; min-height: 35px; font-size: 12px; font-weight: 500; line-height: 1.45; text-align: center; overflow-wrap: anywhere; }
  #ys-region-matrix-10 .rm10-cell-cta { font-size: 11px; line-height: 1.4; }
  #ys-region-matrix-10 .rm10-cell .rm10-arrow { width: 14px; height: 14px; }
  #ys-region-matrix-10 .rm10-actions { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; }
  #ys-region-matrix-10 .rm10-action { min-height: 58px; font-size: 15px; }
  #ys-region-matrix-10 .rm10-action-call { font-size: 20px; }
}
@media (max-width: 419px) {
  #ys-region-matrix-10 .rm10-dialog { padding: 20px; }
  #ys-region-matrix-10 .rm10-dialog h3 { font-size: 24px; }
  #ys-region-matrix-10 .rm10-detail-links,
  #ys-region-matrix-10 .rm10-dialog-contact { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #ys-region-matrix-10 .rm10-district,
  #ys-region-matrix-10 .rm10-cell,
  #ys-region-matrix-10 .rm10-action { transition: none; }
}
@media print {
  #ys-region-matrix-10 .rm10-rail,
  #ys-region-matrix-10 .rm10-dialog { display: none !important; }
}

/* Neighborhood extension: the same matrix, with only six live rows at a time. */
#ys-region-matrix-10 [hidden] { display: none !important; }
#ys-region-matrix-10 .rm10-neighborhood-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; align-items: end; gap: 16px; margin: 0 0 14px; padding: 18px; border: 1px solid #c8e3f0; border-radius: 12px; background: #ffffffc9; }
#ys-region-matrix-10 .rm10-control-field { min-width: 0; }
#ys-region-matrix-10 .rm10-control-field label { display: block; margin: 0 0 6px; color: #435a70; font-size: 13px; font-weight: 500; line-height: 1.5; }
#ys-region-matrix-10 .rm10-control-field select,
#ys-region-matrix-10 .rm10-control-field input { display: block; width: 100%; min-width: 0; height: 46px; margin: 0; padding: 10px 12px; border: 1px solid #b4d4e4; border-radius: 8px; background: #fff; color: #0b213c; font-family: inherit; font-size: 15px; line-height: 1.4; }
#ys-region-matrix-10 .rm10-control-field input::placeholder { color: #536b80; opacity: 1; }
#ys-region-matrix-10 .rm10-control-field :is(select,input):focus-visible { outline: 3px solid #087490; outline-offset: 2px; }
#ys-region-matrix-10 .rm10-control-field input:disabled { background: #edf3f7; color: #536b80; }
#ys-region-matrix-10 .rm10-search-reset,
#ys-region-matrix-10 .rm10-neighborhood-pager button,
#ys-region-matrix-10 .rm10-empty-reset { display: inline-flex; align-items: center; justify-content: center; min-width: 92px; min-height: 46px; margin: 0; padding: 10px 16px; border: 1px solid #0b213c; border-radius: 8px; background: #0b213c; color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; }
#ys-region-matrix-10 .rm10-neighborhood-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-bottom: 14px; }
#ys-region-matrix-10 .rm10-neighborhood-status,
#ys-region-matrix-10 .rm10-neighborhood-total { margin: 0; color: #435a70; font-size: 13px; line-height: 1.6; font-variant-numeric: tabular-nums; }
#ys-region-matrix-10 .rm10-neighborhood-total { color: #087490; font-weight: 600; }
#ys-region-matrix-10.rm10-neighborhood-mode .rm10-table col:first-child { width: 27%; }
#ys-region-matrix-10.rm10-neighborhood-mode .rm10-table col:not(:first-child) { width: 24.333333%; }
#ys-region-matrix-10 .rm10-neighborhood-row .rm10-district { min-height: 88px; cursor: default; }
#ys-region-matrix-10 .rm10-neighborhood-row .rm10-cell { min-height: 88px; }
#ys-region-matrix-10 .rm10-neighborhood-name { display: block; color: #0b213c; font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; overflow-wrap: anywhere; }
#ys-region-matrix-10 .rm10-neighborhood-location { display: block; margin-top: 4px; color: #435a70; font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: 0; overflow-wrap: anywhere; }
#ys-region-matrix-10 .rm10-neighborhood-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
#ys-region-matrix-10 .rm10-page-number { min-width: 50px; color: #435a70; font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.5; text-align: center; }
#ys-region-matrix-10 .rm10-neighborhood-pager button { min-width: 104px; border-color: #b4d4e4; background: #fff; color: #0b213c; }
#ys-region-matrix-10 .rm10-neighborhood-pager button:disabled { opacity: .45; cursor: default; }
#ys-region-matrix-10 .rm10-neighborhood-pager button:not(:disabled):hover { border-color: #087490; background: #e2f5fc; }
#ys-region-matrix-10 .rm10-neighborhood-empty { margin-top: 12px; padding: 24px; border: 1px solid #c8e3f0; border-radius: 12px; background: #fff; text-align: center; }
#ys-region-matrix-10 .rm10-neighborhood-empty p { margin: 0 0 16px; color: #435a70; font-size: 16px; line-height: 1.7; }
@media (max-width: 799px) {
  #ys-region-matrix-10 .rm10-neighborhood-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
  #ys-region-matrix-10 .rm10-search-reset { grid-column: 1 / -1; }
  #ys-region-matrix-10 .rm10-control-field select,
  #ys-region-matrix-10 .rm10-control-field input { font-size: 14px; padding-inline: 9px; }
  #ys-region-matrix-10 .rm10-neighborhood-row .rm10-district { min-height: 44px; }
  #ys-region-matrix-10 .rm10-neighborhood-row .rm10-cell { min-height: 116px; }
  #ys-region-matrix-10 .rm10-neighborhood-name { font-size: 19px; }
}
