/* v2.173.6: local sections of the home page (inc/home-local.php). */
.vblx { --lx-blue: #1274d8; --lx-red: #d0021b; --lx-box: var(--vb-surface, #fff); --lx-line: #dcdfe4; }
html.dark .vblx { --lx-line: rgba(255, 255, 255, .14); }
.vblx a { text-decoration: none; }
.vblx-h { margin: 0 0 14px; font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--vb-txt); }
.vblx-h-big { font-size: 24px; font-weight: 700; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.vblx-badge { display: inline-block; padding: 3px 7px; border-radius: 3px; background: var(--lx-red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; line-height: 1.2; }
.vblx-sub { margin: 0 0 16px; font-size: 14px; color: var(--vb-muted); }
.vblx-head { margin-bottom: 14px; }
.vblx-box { background: var(--lx-box); border: 1px solid var(--lx-line); border-radius: 16px; padding: 20px 20px 22px; }
.vblx-credit { margin: 6px 2px 0; font-size: 11px; text-align: right; }
.vblx-credit a { color: var(--vb-muted); }
.vblx-noimg { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #dbeafe, #e0e7ff); color: #6b7fae; font-size: 28px; }
html.dark .vblx-noimg { background: linear-gradient(135deg, #1e293b, #312e81); color: #93a4d6; }
.vbh-lx-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.vbh-lx-row::-webkit-scrollbar { display: none; }
.vbh-lx-row:focus-visible { outline: 2px solid var(--vb-blue); outline-offset: 3px; border-radius: 16px; }
.vbh-lx-row > * { scroll-snap-align: start; flex: 0 0 auto; }
.vblx .vbh-arrow { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #1e293b; font-size: 15px; box-shadow: 0 2px 10px rgba(0, 0, 0, .22); }
.vblx .vbh-arrow:hover, .vblx .vbh-arrow:focus-visible { background: #f1f5f9; }
.vblx .vbh-prev { left: -8px; }
.vblx .vbh-next { right: -8px; }

/* 1. Cities: tall picture cards, name on top, line + Explore at the bottom. */
.vblx-city { position: relative; display: block; width: 168px; height: 236px; border-radius: 20px; overflow: hidden; color: #fff; isolation: isolate; background: #1f2937; }
.vblx-city-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .45s ease; }
.vblx-city::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .12) 32%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .82) 100%); }
.vblx-city:hover .vblx-city-img, .vblx-city:focus-visible .vblx-city-img { transform: scale(1.06); }
.vblx-city-name { position: absolute; left: 16px; right: 12px; top: 16px; font-size: 21px; font-weight: 700; line-height: 1.15; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.vblx-city-foot { position: absolute; left: 16px; right: 12px; bottom: 14px; display: flex; flex-direction: column; gap: 3px; }
.vblx-city-sub { font-size: 12px; opacity: .9; line-height: 1.3; }
.vblx-city-go { font-size: 18px; font-weight: 700; }
.vblx-city-go i { font-size: 14px; transition: transform .2s ease; }
.vblx-city:hover .vblx-city-go i { transform: translateX(3px); }
.vblx-city:hover, .vblx-city:focus-visible { color: #fff; }

/* 2. Service boxes: 4 boxes, 2 a row on big screens, 3 pictures in each. */
.vblx-groups { display: grid; grid-template-columns: 1fr; gap: 18px; }
.vblx-groups .vblx-box { padding: 18px 18px 14px; }
.vblx-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vblx-gi { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--vb-txt); min-width: 0; }
.vblx-gi-img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 10px; transition: transform .3s ease, box-shadow .3s ease; }
.vblx-gi:hover .vblx-gi-img, .vblx-gi:focus-visible .vblx-gi-img { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, .15); }
.vblx-gi-name { font-size: 14px; text-align: center; line-height: 1.3; }
.vblx-gi:hover, .vblx-gi:focus-visible { color: var(--vb-blue); }

/* 3 + 6. Wide cards: picture on the left, name + Explore on the right. */
.vblx-wide { display: flex; align-items: stretch; width: 300px; min-height: 118px; border: 1px solid var(--lx-line); border-radius: 8px; overflow: hidden; background: var(--lx-box); color: var(--vb-txt); }
.vblx-wide-img { flex: 0 0 112px; width: 112px; height: auto; min-height: 118px; object-fit: cover; background: #eef1f5; }
.vblx-wide-txt { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 14px; min-width: 0; }
.vblx-wide-name { font-size: 17px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vblx-explore { font-size: 15px; color: #0b74d1; }
html.dark .vblx-explore { color: #6cb6ff; }
.vblx-explore i { font-size: 11px; }
.vblx-wide:hover, .vblx-wide:focus-visible { border-color: var(--vb-blue); color: var(--vb-txt); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); }

/* 4 + 5. Blue cards: picture, blue part with the name and a white button. */
.vblx-blue { display: flex; flex-direction: column; width: 228px; border-radius: 12px; overflow: hidden; background: var(--lx-blue); }
.vblx-blue-pic { display: block; }
.vblx-blue-img { display: block; width: 100%; height: 190px; object-fit: cover; }
.vblx-blue-foot { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 12px 12px 14px; min-height: 112px; }
.vblx-blue-name { color: #fff; font-size: 17px; font-weight: 600; line-height: 1.3; }
.vblx-blue-name:hover, .vblx-blue-name:focus-visible { color: #fff; text-decoration: underline; }
.vblx-blue-btn { align-self: flex-start; padding: 6px 14px; border: 1px solid #c9d6e8; border-radius: 4px; background: #fff; color: var(--lx-blue); font-size: 15px; font-weight: 600; }
.vblx-blue-btn:hover, .vblx-blue-btn:focus-visible { background: #eaf3ff; color: var(--lx-blue); }

@media (min-width: 640px) {
	.vblx-city { width: 190px; height: 268px; }
	.vblx-city-name { font-size: 24px; left: 20px; top: 20px; }
	.vblx-city-foot { left: 20px; bottom: 18px; }
	.vblx-city-go { font-size: 22px; }
	.vblx-wide { width: 360px; }
	.vblx-wide-img { flex-basis: 130px; width: 130px; }
	.vblx-wide-name { font-size: 19px; }
	.vblx-blue { width: 260px; }
	.vblx-blue-img { height: 220px; }
	.vblx-blue-name { font-size: 18px; }
}
@media (min-width: 1100px) {
	.vblx-groups { grid-template-columns: 1fr 1fr; gap: 24px; }
	.vbh-lx-row { gap: 18px; }
	.vblx-city { width: 200px; height: 290px; }
	.vblx-h-big { font-size: 28px; }
	.vblx-wide { width: 380px; }
	.vblx-blue { width: 300px; }
	.vblx-blue-img { height: 250px; }
	.vblx-blue-name { font-size: 20px; }
}
@media (max-width: 480px) {
	.vblx-box { padding: 16px 14px 18px; }
	.vblx-three { gap: 8px; }
	.vblx-gi-name { font-size: 12.5px; }
	.vblx-h-big { font-size: 20px; }
}
@media (hover: none) {
	.vblx-city:hover .vblx-city-img, .vblx-gi:hover .vblx-gi-img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.vblx-city-img, .vblx-gi-img, .vblx-city-go i { transition: none; }
}
