/* ============================================================
   TheoB — Feature showcase  |  theoasso/theobills-feature
   ============================================================ */

.theoasso-tbfeat {
	background: #0a0a0a;
	color: #fff;
	padding: 88px 32px;
	box-sizing: border-box;
}

.theoasso-tbfeat.alignfull,
.wp-block-theoasso-theobills-feature.alignfull {
	width: calc(100vw - 64px);
	max-width: calc(100vw - 64px);
	margin-left: calc(50% - 50vw + 32px);
	margin-right: calc(50% - 50vw + 32px);
}

@supports (overflow: clip) {
	.theoasso-tbfeat {
		overflow-x: clip;
	}
}

/* ---- Inner layout ---- */

.theoasso-tbfeat__inner {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 72px;
}

/* Image right: reverse order */
.theoasso-tbfeat__inner[data-image-position="right"] {
	flex-direction: row-reverse;
}

/* ---- Phone visual ---- */

.theoasso-tbfeat__visual {
	flex: 0 0 auto;
	width: clamp(220px, 28vw, 320px);
}

.theoasso-tbfeat__phone {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 36px;
	box-shadow:
		0 0 0 1px rgba(255,255,255,0.08),
		0 40px 100px rgba(0,0,0,0.7);
}

/* ---- Text content ---- */

.theoasso-tbfeat__content {
	flex: 1;
	min-width: 0;
}

.theoasso-tbfeat__tag {
	display: inline-block;
	color: #6fbdee;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.theoasso-tbfeat__title {
	margin: 0 0 20px;
	font-family: var(--wp--preset--font-family--google-sans-flex), sans-serif;
	font-weight: 500;
	font-size: clamp(28px, 3.5vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
}

.theoasso-tbfeat__desc {
	margin: 0;
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.6);
	max-width: 480px;
}

/* ---- Responsive ---- */

@media (max-width: 820px) {
	.theoasso-tbfeat__inner,
	.theoasso-tbfeat__inner[data-image-position="right"] {
		flex-direction: column;
		gap: 40px;
		text-align: center;
	}

	.theoasso-tbfeat__visual {
		width: clamp(200px, 60vw, 280px);
	}

	.theoasso-tbfeat__desc {
		max-width: 100%;
		margin: 0 auto;
	}
}
