/* The source stores index; the shared source-style shell is in services.css. */
.r5t-main { flex: 1 0 auto; width: 100%; }
.r5t-map { position: relative; width: 100%; height: 550px; overflow: hidden; background: #dce9d9; }
.r5t-map__frame, .r5t-map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.r5t-map__canvas { z-index: 2; display: none; }
.r5t-map.is-live .r5t-map__canvas { display: block; }
.r5t-map.is-live .r5t-map__frame, .r5t-map.is-live .r5t-map__pins { display: none; }
.r5t-map__pins { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.r5t-map__pin { position: absolute; width: 42px; height: 52px; background: url('../img/map-pin.svg') center / contain no-repeat; }
.r5t-map__pin--moscow { top: 20%; left: 19%; }
.r5t-map__pin--kazan { top: 22%; left: 56.3%; }
.r5t-map__pin--samara { top: 59%; left: 59.4%; }
.r5t-map__pin--ufa { top: 37%; left: 78.2%; }
.r5t-map__cluster { display: none; }
.r5t-cluster { display: grid; width: 52px; height: 52px; place-items: center; border: 7px solid #19118c; border-radius: 50%; color: #111; background: #fff; font-size: 14px; line-height: 1; transform: translate(-50%, -50%); }
.r5t-map__controls { position: absolute; z-index: 5; bottom: 18px; left: 50%; display: flex; height: 36px; border-radius: 19px; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 19%); transform: translateX(-50%); }
.r5t-map__controls > button { width: 40px; padding: 0; border: 0; border-right: 1px solid #e9e9e9; color: #555; background: transparent; font-size: 23px; line-height: 1; }
.r5t-map__controls > button:hover { color: #19118c; }
.r5t-map__layers { position: relative; min-width: 115px; color: #333; font-size: 12px; }
.r5t-map__layers summary { display: flex; height: 36px; align-items: center; gap: 4px; padding: 0 11px; cursor: pointer; list-style: none; white-space: nowrap; }
.r5t-map__layers summary::-webkit-details-marker { display: none; }
.r5t-map__layers summary span:first-child { font-size: 17px; }
.r5t-map__layers > div { position: absolute; right: 0; bottom: 42px; min-width: 112px; padding: 4px; border-radius: 4px; background: #fff; box-shadow: 0 3px 12px rgb(0 0 0 / 20%); }
.r5t-map__layers button { display: block; width: 100%; padding: 7px 8px; border: 0; color: #333; background: #fff; font-size: 12px; text-align: left; }
.r5t-map__layers button:hover, .r5t-map__layers button:focus-visible { color: #19118c; background: #f4f4fa; }
.r5t-map__expand { display: none; }
.r5t-list { width: min(1348px, calc(100% - 92px)); margin: 64px auto 43px; }
.r5t-card { display: grid; min-height: 149.7px; grid-template-columns: calc(50% + 16px) calc(25% + 8px) minmax(0, 1fr); gap: 0; padding: 29px 30px; border: 1px solid #ececec; background: #fff; transition: box-shadow .2s, border-color .2s; }
.r5t-card + .r5t-card { margin-top: -1px; }
.r5t-card:hover, .r5t-card:focus-within { position: relative; border-color: #fff; box-shadow: 0 10px 22px rgb(0 0 0 / 10%); }
.r5t-card__main { min-width: 0; }
.r5t-card__name { display: block; color: #333; font-size: 17px; line-height: 24.7px; }
.r5t-card__name:hover, .r5t-card:hover .r5t-card__name { color: #19118c; }
.r5t-card__show { display: block; margin-top: 10px; padding: 0; border: 0; color: #19118c; background: transparent; font-size: 10px; font-weight: 400; line-height: 13px; letter-spacing: .04em; text-align: left; text-transform: uppercase; cursor: pointer; }
.r5t-card__show::before { display: inline-block; width: 6px; height: 8px; margin-right: 8px; border: 2px solid #19118c; border-radius: 70% 70% 70% 0; content: ''; transform: rotate(-45deg); }
.r5t-card__show:hover { text-decoration: underline; }
.r5t-card__hours { position: relative; margin-top: 17px; padding-left: 11px; color: #999; font-size: 13px; line-height: 25px; }
.r5t-card__hours span { display: block; }
.r5t-card__hours::before { position: absolute; margin-left: -11px; color: #999; content: '◷'; }
.r5t-card__phone, .r5t-card__email { padding-top: 3px; color: #333; font-size: 14px; line-height: 21px; }
.r5t-card__phone:hover, .r5t-card__email:hover { color: #19118c; }
@media (min-width: 992px) and (max-width: 1350px) {
	.r5t-list { width: calc(100% - 60px); }
}
@media (max-width: 991px) {
	.r5t-list { width: calc(100% - 60px); margin-top: 64px; }
	.r5t-card { grid-template-columns: calc(66.6667% + 21.333px) minmax(0, 1fr); }
	.r5t-card__phone, .r5t-card__email { grid-column: 2; grid-row: 1; align-self: start; }
	.r5t-card__email { margin-top: 31px; }
}
@media (max-width: 767px) {
	.r5t-list { width: calc(100% - 32px); margin: 63px 16px 43px; }
	.r5t-card { display: block; min-height: 0; padding: 32px 30px 42px; }
	.r5t-card__phone, .r5t-card__email { display: block; padding: 0; }
	.r5t-card__phone { margin-top: 6px; }
	.r5t-card__email { margin-top: 9px; }
	.r5t-map__controls { display: none; }
	.r5t-map__expand { position: absolute; z-index: 5; top: 10px; right: 10px; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 0; border-radius: 3px; color: #999; background: #fff; box-shadow: 0 1px 5px rgb(0 0 0 / 18%); font-size: 30px; line-height: 1; }
	.r5t-page.r5t-map-open { overflow: hidden; }
	.r5t-map.is-expanded { position: fixed; z-index: 100; inset: 0; width: 100vw; height: 100dvh; }
	.r5t-map.is-expanded .r5t-map__controls { display: flex; }
	.r5t-map.is-expanded .r5t-map__expand { font-size: 35px; }
	.r5t-map__pin--moscow { top: 27%; left: 18%; }
	.r5t-map__pin--ufa { top: 31%; left: 73%; }
	.r5t-map__pin--kazan, .r5t-map__pin--samara { display: none; }
	.r5t-map__cluster { position: absolute; top: 37%; left: 52%; display: grid; width: 52px; height: 52px; place-items: center; border: 7px solid #19118c; border-radius: 50%; color: #111; background: #fff; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .r5t-card { transition: none; } }
