/* ═══════════════════════════════════════
   Video Banner Widget
   ═══════════════════════════════════════ */

.vb-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	display: block;
	background: #111;
}

/* ── Video / Static Poster ── */
.vb-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	z-index: 0;
}

/* ── Overlay ── */
.vb-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

/* ── Content Wrap ── */
.vb-content-wrap {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
}

/* ── Position Variants ── */
.vb-pos--center {
	align-items: center;
	justify-content: center;
	text-align: center;
}

.vb-pos--top-left {
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
}

.vb-pos--top-right {
	align-items: flex-start;
	justify-content: flex-end;
	text-align: right;
}

.vb-pos--bottom-left {
	align-items: flex-end;
	justify-content: flex-start;
	text-align: left;
}

.vb-pos--bottom-right {
	align-items: flex-end;
	justify-content: flex-end;
	text-align: right;
}

/* ── Content Box ── */
.vb-content {
	box-sizing: border-box;
	width: 100%;
}

/* ── Title ── */
.vb-title {
	margin: 0;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

/* ── Description ── */
.vb-desc {
	margin: 0;
	line-height: 1.7;
}

/* ── Button Link Wrapper（<a> 清零，避免主题干扰） ── */
.vb-btn-link {
	display: inline-block;
	text-decoration: none !important;
	color: inherit;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0;
	box-shadow: none !important;
	outline: none;
}

.vb-btn-link:hover,
.vb-btn-link:focus,
.vb-btn-link:active {
	text-decoration: none !important;
	background: none !important;
	box-shadow: none !important;
}

/* ── Button <span>（承载全部视觉样式） ── */
.vb-btn {
	display: inline-block;
	cursor: pointer;
	letter-spacing: 0.04em;
	border: 2px solid transparent;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
	line-height: 1;
	white-space: nowrap;
}

/* ── Button: Solid ── */
.vb-btn--solid {
	border-color: transparent;
}

/* ── Button: Outline ── */
.vb-btn--outline {
	background-color: transparent !important;
	border-style: solid;
}

.vb-btn-link:hover .vb-btn--outline {
	opacity: 0.75;
}

/* ── Button: Text Link ── */
.vb-btn--text {
	background: none !important;
	border: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ── Responsive: Mobile ── */
@media (max-width: 767px) {
	.vb-content {
		padding: 24px !important;
	}
}
