
.theoasso-ptb{
	padding: 38px 32px 28px;
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast);
}

.theoasso-ptb.alignfull,
.wp-block-theoasso-ptb.alignfull,
.wp-block-theoasso-projet-theobills.alignfull{
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

.theoasso-ptb__inner{
	max-width: 1200px;
	margin: 0 auto;
}

.theoasso-ptb__title{
	margin: 0 0 22px;
	text-align: center;
	font-family: var(--wp--preset--font-family--google-sans-flex);
	font-weight: 500;
	font-size: 36px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.theoasso-ptb__grid{
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.theoasso-ptb__cards{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.theoasso-ptb__video{
	position: relative;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	cursor: pointer;
}

.theoasso-ptb__video--embed{
	min-height: 0;
	aspect-ratio: 16 / 9;
	max-width: -webkit-fill-available;
	cursor: default;
}

.theoasso-ptb__frame{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	cursor: auto;
}

.theoasso-ptb__poster{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

.theoasso-ptb__play{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 40px;
	/* border: 1px solid #6FBDEE; */
	border-radius: 2px;
	display: grid;
	place-items: center;
	/* background: rgba(0,0,0,0.35); */
}

.theoasso-ptb__playIcon{
	display: block;
	width: 52px;
	height: 52px;
	background: url(../../assets/images/project/play.svg) center / contain no-repeat;
}

.theoasso-ptb__card{
	background: #000;
	color: var(--wp--preset--color--main-bg);
	border-radius: 10px;
	padding: 22px 22px 20px;
	box-sizing: border-box;
	min-height: 190px;
}



.theoasso-ptb__icon{
	height: 42px;
	margin-bottom: 14px;
	width: 42px;
	background: center / contain no-repeat;
}

.theoasso-ptb__icon--receipt{ background-image: url(../../assets/images/project/receipt.svg); }
.theoasso-ptb__icon--creditcard{ background-image: url(../../assets/images/project/creditcard.svg); }
.theoasso-ptb__icon--wallet{ background-image: url(../../assets/images/project/wallet.svg); }
.theoasso-ptb__icon--export-compta{ background-image: url(../../assets/images/project/export-compta.svg); }

.theoasso-ptb__cardTitle{
	margin: 0;
	font-family: var(--wp--preset--font-family--google-sans-flex);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
}

.theoasso-ptb__cardText{
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.45;
	opacity: 0.85;
}

/* Modal video (kept for possible future use) */
.theoasso-ptb__modal{
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.7);
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 24px;
	box-sizing: border-box;
}

.theoasso-ptb__modalInner{
	position: relative;
	width: min(980px, 100%);
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}

.theoasso-ptb__modalFrame{
	border: 0;
	width: 100%;
	height: 100%;
}

.theoasso-ptb__modalClose{
	position: absolute;
	top: 10px;
	right: 12px;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.25);
	background: rgba(0,0,0,0.35);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 920px){
	.theoasso-ptb__cards{
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px){
	.theoasso-ptb{
		padding: 30px 20px 22px;
	}
	.theoasso-ptb__title{
		font-size: 30px;
	}
	.theoasso-ptb__cards{
		grid-template-columns: 1fr;
	}
}

