/* Schilling Real Estate – market pages (0.11.0). Builds on the home page styles (.sre-hp). */

.sre-mk-hero { padding-bottom: 48px; }
.sre-mk-hero .sre-hp-intro + .sre-hp-intro { margin-top: -12px; }

.sre-mk-figures-note { margin: 0; padding: 0 0 16px 20px; }

/* Traffic table */
.sre-mk-traffic { padding: 48px 0 8px; }
.sre-mk-table-wrap { overflow-x: auto; }
.sre-mk-table { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 17px; }
.sre-mk-table th,
.sre-mk-table td { padding: 12px 14px; border-bottom: 1px solid var(--sre-line); text-align: left; font-size: 17px; }
.sre-mk-table thead th { font-size: 15px; font-weight: 700; color: var(--sre-muted); border-bottom: 2px solid var(--sre-line); }
.sre-mk-table tbody th { font-weight: 700; }
.sre-mk-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sre-mk-alt { white-space: nowrap; font-weight: 400; color: var(--sre-muted); }

/* Other markets */
.sre-mk-others { padding: 36px 0; border-top: 1px solid var(--sre-line); }
.sre-mk-others h2 { margin: 0 0 12px; font-size: 22px; }
.sre-mk-others ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.sre-mk-others li { margin: 0; font-size: 18px; }
.sre-mk-others a { font-weight: 700; }
.sre-mk-others span { color: var(--sre-muted); font-size: 15px; margin-left: 4px; }

.sre-hp-town-more { display: inline-block; margin-top: 6px; font-weight: 400 !important; }

@media (max-width: 640px) {
	.sre-mk-hero { padding-bottom: 26px; }
	.sre-mk-figures-note { padding-left: 12px; font-size: 13px; }
	.sre-mk-table th, .sre-mk-table td { padding: 10px 8px; font-size: 16px; }
	.sre-mk-alt { display: block; }
}

/* Section menu (0.21.0), same look as the property pages: docks at the top while
   scrolling; a blue pill marks the section being read and slides to it. */
.sre-mk-jump { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--sre-line, #dfe4e7); transition: box-shadow 0.2s ease; }
.sre-mk-jump.is-stuck { box-shadow: 0 6px 16px -8px rgba(30, 43, 51, 0.25); }
.admin-bar .sre-mk-jump { top: 32px; }
@media (max-width: 782px) { .admin-bar .sre-mk-jump { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sre-mk-jump { top: 0; } }
.sre-mk-jump-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sre-mk-jump ul { position: relative; display: flex; gap: 4px; list-style: none; margin: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sre-mk-jump ul::-webkit-scrollbar { display: none; }
.sre-mk-jump li { position: relative; z-index: 1; margin: 0; flex: 0 0 auto; }
.sre-mk-jump a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.2; color: var(--sre-ink, #1e2b33) !important; text-decoration: none; white-space: nowrap; transition: color 0.25s ease; }
.sre-mk-jump a:hover { color: var(--sre-blue, #1f5f99) !important; }
.sre-mk-jump a.is-current, .sre-mk-jump a.is-current:hover { color: #fff !important; }
.sre-mk-jump li.sre-mk-jump-pill { position: absolute; flex: none; z-index: 0; top: 8px; left: 0; height: 0; width: 0; border-radius: 999px; background: var(--sre-blue, #1f5f99); transition: transform 0.3s ease, width 0.3s ease; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .sre-mk-jump li.sre-mk-jump-pill, .sre-mk-jump a { transition: none; } }
