.basit-bento-container {
	display: flex;
	width: 100%;
	gap: var(--bento-gap, 20px);
	container-type: inline-size;
	--unit-width: calc( (100cqw - var(--bento-gap, 20px)) / 3 );
}

.bento-box {
	display: flex;
	overflow: hidden;
	height: 100%;
	transition: flex var(--bento-speed, 0.6s) cubic-bezier(0.25, 1, 0.5, 1);
	border-radius: 20px;
}

.bento-box[data-id="1"] {
	flex: 2;
}
.bento-box[data-id="2"] {
	flex: 1;
}

.basit-bento-container:has(.bento-box[data-id="2"]:hover) .bento-box[data-id="1"] {
	flex: 1;
}
.basit-bento-container:has(.bento-box[data-id="2"]:hover) .bento-box[data-id="2"] {
	flex: 2;
}

.bento-inner {
	display: flex;
	width: auto;
	height: 100%;
	min-width: 0;
}

.bento-content-area {
	width: var(--unit-width);
	min-width: var(--unit-width);
	max-width: var(--unit-width);
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

.bento-box[data-id="1"] .bento-content-area { padding: 32px 0 25px 75px; }
.bento-box[data-id="2"] .bento-content-area { padding: 32px 0 25px 34px; }

.bento-image-area {
	width: var(--unit-width);
	min-width: var(--unit-width);
	max-width: var(--unit-width);
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

.bento-title {
	margin-bottom: 15px;
	line-height: 1.2;
	font-weight: 700;
}
.bento-text {
	font-size: 16px;
}

.bento-bt-wrap {
	margin-top: auto;
}
.bento-btn {
	display: inline-block;
	padding: 12px 24px;
	text-decoration: none;
	text-align: center;
	transition: all 0.3s;
}

.bento-image-area img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 767px) {
	.basit-bento-container {
		flex-direction: column;
		height: auto !important;
		container-type: normal;
	}
	.bento-box {
		width: 100% !important;
		height: auto;
		min-height: 400px;
		flex: none !important;
		flex-direction: column;
	}
	.bento-inner {
		flex-direction: column;
		width: 100%;
	}
	.bento-content-area,
	.bento-image-area {
		width: 100%;
		min-width: 0;
		max-width: none;
		height: auto;
	}
	.bento-image-area {
		height: 250px;
	}
}
