.contenedor_ochodivs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 10px;
	gap: 50px;
}

.box_ochodivs {
	width: 400px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	text-align: justify;
	margin: 20px;

	/* NUEVO */
	background-color: rgba(240, 240, 240, 1);
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	padding: 20px;

	transition: 
		transform 0.25s ease,
		box-shadow 0.25s ease,
		background-color 0.25s ease;
}

/* Hover elegante */
.box_ochodivs:hover {
	transform: translateY(-12px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
	background-color: rgba(250, 250, 250, 1);
	color: #5f0000;
}

/* Opcional: efecto al hacer click */
.box_ochodivs:active {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.box_ochodivs div {
	width: 80%;
	height: 100%;
	display: flex;
	flex-direction: inherit;
	justify-content: start;
	align-items: center;
	text-align: left;
	transition: background-color 0.5s ease;
	background-size: cover;
	background-position-x: center;
	background-position-y: center;
	margin: auto;
	color: black;
	overflow-y: unset;
	overflow-x: unset;
}

.box_ochodivs h3
{
	/*color: #fff;*/
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0px;
	margin-right: 0px;
	text-align: center;
	width: 90%;
	font-weight: bold;
}

.box_ochodivs h4
{
	/*color: #fff;*/
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0px;
	margin-right: 0px;
	text-align: center;
	width: 90%;
}

.box_ochodivs p, .box_ochodivs ul, .box_ochodivs ol, .box_ochodivs li {
	/* color: #fff; */
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	text-align: justify;
	font-size: 11pt;
	/* width: 90%; */
	padding: 17px;
}

div.bg8divs {
	position: relative;
	background-color: #5f0000;
	padding-top: 80px;
	padding-bottom: 150px;
	overflow: hidden;
}

/* Bóveda inferior */
div.bg8divs::after {
	content: "";
	position: absolute;
	bottom: -100px; /* controla profundidad */
	left: 50%;
	transform: translateX(-50%);
	width: 140%;
	height: 250px;
	background-color: #ffffff; /* color del fondo siguiente */
	border-top-left-radius: 50% 100%;
	border-top-right-radius: 50% 100%;
	z-index: 0;
}

/* Asegura que el contenido esté encima */
.bg8divs > * {
	position: relative;
	z-index: 1;
}

.bg8divs h2	{
	color: white !important;
}