/* ============================================================
   TheoB — Guides PDF  |  theoasso/theobills-guides
   ============================================================ */

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

.theoasso-tbguides.alignfull,
.wp-block-theoasso-theobills-guides.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-tbguides { overflow-x: clip; }
}

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

.theoasso-tbguides__inner {
	max-width: 900px;
	margin: 0 auto;
}

/* ---- Title ---- */

.theoasso-tbguides__section-title {
	text-align: center;
	font-family: var(--wp--preset--font-family--google-sans-flex), sans-serif;
	font-size: clamp(24px, 3vw, 40px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 48px;
	color: #fff;
}

/* ---- Cards grid ---- */

.theoasso-tbguides__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.theoasso-tbguides__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 20px;
	padding: 36px 32px;
	text-decoration: none;
	color: #fff;
	transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.theoasso-tbguides__card:hover {
	background: rgba(108, 99, 255, 0.12);
	border-color: rgba(108, 99, 255, 0.40);
	transform: translateY(-3px);
}

/* ---- Icon ---- */

.theoasso-tbguides__icon {
	color: #8b83ff;
	flex-shrink: 0;
}

/* ---- Card title ---- */

.theoasso-tbguides__card-title {
	margin: 0;
	font-size: clamp(17px, 1.8vw, 22px);
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

/* ---- URL hint (editor only) ---- */

.theoasso-tbguides__url-hint {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.35);
	word-break: break-all;
}

.theoasso-tbguides__url-hint.--empty {
	font-style: italic;
}

/* ---- CTA button ---- */

.theoasso-tbguides__btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #8b83ff;
	font-weight: 600;
	font-size: 15px;
}

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

@media (max-width: 640px) {
	.theoasso-tbguides__cards {
		grid-template-columns: 1fr;
	}
}
