/* wr-hub — /rabota/ (указатель регионов и городов) и страницы регионов /rabota/{region}/ */
.wr-hub-head .lead { max-width: 760px; }

/* поиск */
.wr-hub-search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 640px; height: 58px; margin: 24px 0 0; padding: 0 10px 0 20px; background: #fff; border: 1px solid rgba(11, 27, 89, .12); border-radius: 999px; box-shadow: 0 8px 30px rgba(11, 27, 89, .08); transition: border-color .15s, box-shadow .15s; }
.wr-hub-search:focus-within { border-color: #007bb0; box-shadow: 0 0 0 4px rgba(0,123,176, .12), 0 8px 30px rgba(11, 27, 89, .08); }
.wr-hub-search__ic { flex: none; width: 20px; height: 20px; fill: none; stroke: #6a7393; stroke-width: 2; stroke-linecap: round; }
.wr-hub-search input.wr-hub-search__in { flex: 1; min-width: 0; width: auto !important; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 17px; color: #0a1438; -webkit-appearance: none; appearance: none; }
.wr-hub-search__in::placeholder { color: #8a92ad; opacity: 1; }
.wr-hub-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; max-height: min(420px, 60vh); overflow: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid rgba(11, 27, 89, .1); border-radius: 18px; box-shadow: 0 18px 50px rgba(11, 27, 89, .16); }
.wr-hub-sugg[hidden] { display: none; }
.wr-hub-sugg li { margin: 0; padding: 0; }
.wr-hub-sugg a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n c" "s c"; column-gap: 12px; padding: 9px 12px; border-radius: 12px; color: #0a1438; text-decoration: none; }
.wr-hub-sugg a:hover, .wr-hub-sugg li.is-active a { background: #eef3ff; }
.wr-hub-sugg__n { grid-area: n; font-weight: 600; }
.wr-hub-sugg__s { grid-area: s; font-size: 12.5px; color: #6a7393; }
.wr-hub-sugg__c { grid-area: c; align-self: center; font-size: 13px; color: #6a7393; font-variant-numeric: tabular-nums; }
.wr-hub-sugg__empty { padding: 12px 14px; font-size: 14px; color: #6a7393; }

/* популярные города */
.wr-hub-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 1000px; margin: 18px 0 0; }
.wr-hub-pop__label { flex: none; margin-right: 4px; font-size: 13px; font-weight: 600; color: #6a7393; }
.wr-hub-chip { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 13px; background: #fff; border: 1px solid rgba(11, 27, 89, .1); border-radius: 999px; font-size: 14px; font-weight: 600; color: #0a1438; text-decoration: none; transition: border-color .15s, background-color .15s; }
.wr-hub-chip span { font-size: 12.5px; font-weight: 500; color: #6a7393; font-variant-numeric: tabular-nums; }
.wr-hub-chip:hover { border-color: #007bb0; background: #f3f6ff; }

/* алфавит */
.wr-hub-abc { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; }
.wr-hub-abc a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(11, 27, 89, .08); border-radius: 10px; font-size: 14px; font-weight: 700; color: #0a1438; text-decoration: none; transition: background-color .15s, color .15s; }
.wr-hub-abc a:hover { background: #007bb0; border-color: #007bb0; color: #fff; }

/* регионы — «кирпичная» раскладка без пустот */
.wr-hub-grid { column-count: 4; column-gap: 14px; }
.wr-hub-reg { display: inline-block; width: 100%; margin: 0 0 14px; padding: 18px 20px; vertical-align: top; break-inside: avoid; -webkit-column-break-inside: avoid; scroll-margin-top: 110px; box-sizing: border-box; }
.wr-hub-reg__h { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.3; color: #0a1438; }
.wr-hub-reg__h a { color: inherit; text-decoration: none; }
.wr-hub-reg__h a:hover { color: #007bb0; }
.wr-hub-reg__n { flex: none; font-size: 13px; font-weight: 600; color: #6a7393; font-variant-numeric: tabular-nums; }
.wr-hub-reg__tg { display: none; }
.wr-hub-list { margin: 0; padding: 0; list-style: none; }
.wr-hub-list li { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 3px 0; font-size: 14px; }
.wr-hub-list a { color: #0a1438; text-decoration: none; }
.wr-hub-list a:hover { color: #007bb0; text-decoration: underline; }
.wr-hub-list .muted { flex: none; font-variant-numeric: tabular-nums; }
.wr-hub-more { margin-top: 2px; }
.wr-hub-more > summary { display: inline-block; padding: 4px 0; font-size: 13.5px; font-weight: 600; color: #007bb0; cursor: pointer; list-style: none; }
.wr-hub-more > summary::-webkit-details-marker { display: none; }
.wr-hub-more > summary::after { content: " ↓"; }
.wr-hub-more[open] > summary::after { content: " ↑"; }
.wr-hub-all { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: #007bb0; text-decoration: none; }
.wr-hub-all:hover { text-decoration: underline; }
.wr-hub-seo { margin-top: 10px; padding: 24px 28px; }
.wr-hub-seo p { max-width: 860px; }

/* страница региона */
.wr-reg-cities { padding: 18px 20px; }
.wr-reg-back { margin: 12px 0 0 4px; }

@media (max-width: 1100px) { .wr-hub-grid { column-count: 3; } }
@media (max-width: 820px) { .wr-hub-grid { column-count: 2; } }
@media (max-width: 640px) {
	.wr-hub-grid { column-count: 1; }
	.wr-hub-search { height: 52px; margin-top: 18px; }
	.wr-hub-search__in { font-size: 16px; }
	.wr-hub-pop { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.wr-hub-pop::-webkit-scrollbar { display: none; }
	.wr-hub-abc a { min-width: 30px; height: 30px; font-size: 13px; }
	.wr-hub-seo { padding: 18px; }
	.wr-hub--js .wr-hub-reg { margin-bottom: 8px; padding: 0; }
	.wr-hub--js .wr-hub-reg__h { margin: 0; padding: 14px 48px 14px 16px; }
	.wr-hub--js .wr-hub-reg__h a { position: relative; z-index: 1; }
	.wr-hub--js .wr-hub-reg__tg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: transparent; border: 0; border-radius: inherit; cursor: pointer; }
	.wr-hub--js .wr-hub-reg__tg::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #6a7393; border-bottom: 2px solid #6a7393; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
	.wr-hub--js .wr-hub-reg.is-open .wr-hub-reg__tg::after { transform: translateY(-30%) rotate(-135deg); }
	.wr-hub--js .wr-hub-reg__body { display: none; padding: 0 16px 14px; }
	.wr-hub--js .wr-hub-reg.is-open .wr-hub-reg__body { display: block; }
}
@media (prefers-reduced-motion: reduce) { .wr-hub-reg__tg::after, .wr-hub-search, .wr-hub-chip, .wr-hub-abc a { transition: none; } }
