/* Страница «Контакты» — герой (карточка контактов + карта). Неймспейс .vbct-* */
.vbct {
	background: var(--wp--preset--color--surface-alt, #F2F3FB);
	padding: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 56px);
	color: var(--wp--preset--color--ink, #192D51);
	max-width: none !important; /* выйти из contentSize (720px) constrained-страницы */
}
/* full-bleed внутри constrained/flow-страницы (как блок филиалов) */
.entry-content > .vbct,
.is-layout-flow > .vbct,
.is-layout-constrained > .vbct { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.vbct * { box-sizing: border-box; }
.vbct-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }

.vbct-crumbs { font-size: 13px; color: var(--wp--preset--color--muted, #6B7280); margin-bottom: 14px; }
.vbct-crumbs a:hover { color: var(--wp--preset--color--brand, #6275DD); }
.vbct-crumbs span { color: var(--wp--preset--color--ink, #192D51); }
.vbct-h1 {
	font-family: var(--wp--preset--font-family--heading, "Onest"), system-ui, sans-serif;
	font-weight: 800;
	font-size: clamp(32px, 5vw, 48px);
	letter-spacing: -.02em;
	margin: 0 0 28px;
}

.vbct-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: stretch; }

/* карточка контактов */
.vbct-card { background: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; box-shadow: var(--wp--custom--shadow--card, 0 14px 40px rgba(25, 45, 81, .07)); }
.vbct-card__t { font-family: var(--wp--preset--font-family--heading, "Onest"), system-ui, sans-serif; font-weight: 700; font-size: 22px; margin-bottom: 24px; }
.vbct-row { display: flex; gap: 14px; margin-bottom: 18px; }
.vbct-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--wp--preset--color--surface-alt, #F2F3FB); display: flex; align-items: center; justify-content: center; color: var(--wp--preset--color--brand, #6275DD); }
.vbct-row__k { font-size: 13px; color: var(--wp--preset--color--muted, #6B7280); margin-bottom: 2px; }
.vbct-row__v { font-size: 16px; font-weight: 500; line-height: 1.45; }
.vbct-row__phone { font-family: var(--wp--preset--font-family--heading, "Onest"), system-ui, sans-serif; font-weight: 700; font-size: 20px; color: var(--wp--preset--color--ink, #192D51); white-space: nowrap; }
.vbct-row__phone:hover { color: var(--wp--preset--color--brand, #6275DD); }
.vbct-row__mail { font-size: 16px; font-weight: 500; color: var(--wp--preset--color--brand, #6275DD); word-break: break-word; }

.vbct-status-box { background: var(--wp--preset--color--surface-alt, #F2F3FB); border-radius: 16px; padding: 16px 20px; margin: 6px 0 24px; }
.vbct-status { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.vbct-status__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.vbct-status--open .vbct-status__dot { background: var(--wp--preset--color--success, #2FA56A); box-shadow: 0 0 0 4px rgba(47, 165, 106, .18); }
.vbct-status--closed .vbct-status__dot { background: #8893a8; box-shadow: 0 0 0 4px rgba(136, 147, 168, .18); }
.vbct-status__hint { font-size: 13px; color: var(--wp--preset--color--muted, #6B7280); margin-top: 8px; }

.vbct-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 4px; }
.vbct-btn { flex: 1; text-align: center; background: var(--wp--preset--color--brand, #6275DD); color: #fff; padding: 15px; border-radius: 999px; font-family: var(--wp--preset--font-family--heading, "Onest"), system-ui, sans-serif; font-weight: 600; font-size: 16px; box-shadow: 0 8px 20px rgba(98, 117, 221, .28); transition: background .2s, transform .2s; }
.vbct-btn:hover { background: var(--wp--preset--color--brand-dark, #4F5FC4); color: #fff; transform: translateY(-1px); }
.vbct-tg { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--wp--preset--color--surface-alt, #F2F3FB); display: flex; align-items: center; justify-content: center; color: var(--wp--preset--color--brand, #6275DD); transition: background .2s, color .2s; }
.vbct-tg:hover { background: var(--wp--preset--color--brand, #6275DD); color: #fff; }

/* карта */
.vbct-map { position: relative; border-radius: 24px; overflow: hidden; min-height: 420px; background: #E7ECf3; }
.vbct-map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vbct-map__pill { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 14px; padding: 11px 16px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(25, 45, 81, .16); transition: transform .2s; }
.vbct-map__pill:hover { transform: translateY(-2px); }
.vbct-map__pin { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--wp--preset--color--accent, #FF8562); color: #fff; display: flex; align-items: center; justify-content: center; }
.vbct-map__pin svg { width: 16px; height: 16px; }

@media (max-width: 980px) {
	.vbct-top { grid-template-columns: 1fr; gap: 24px; }
	.vbct-map { min-height: 320px; }
}

/* Ссылки компонента — структурные (телефон/e-mail/кнопки/крошки), без подчёркивания
   (тема глобально подчёркивает ссылки в .wp-block-post-content). */
.vbct a { text-decoration: none; }
