.dilumek-image-text-brand {
	--dilumek-image-text-brand-navy: #0a1f3d;
	--dilumek-image-text-brand-red: #f9161f;
	--dilumek-image-text-brand-text: #0f0f0f;
	--dilumek-image-text-brand-btn: #144999;
	background: transparent;
	box-sizing: border-box;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	overflow: visible;
	padding: 56px 0 48px;
	position: relative;
	width: 100%;
}

.dilumek-image-text-brand *,
.dilumek-image-text-brand *::before,
.dilumek-image-text-brand *::after {
	box-sizing: inherit;
}

/* Tarjeta blanca que contiene imagen + contenido */
.dilumek-image-text-brand__inner {
	align-items: start;
	background: #ffffff;
	border-radius: 16px;
	display: grid;
	gap: 36px 48px;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	margin: 0;
	max-width: none;
	overflow: visible;
	padding: 40px 0;
	position: relative;
	width: 100%;
	z-index: 1;
}

.dilumek-image-text-brand__media {
	align-self: center;
	min-width: 0;
	position: relative;
	z-index: 2;
}

.dilumek-image-text-brand__image {
	border-radius: 10px;
	box-shadow:
		0 4px 12px -2px rgba(0, 0, 0, 0.18),
		0 16px 40px -6px rgba(0, 0, 0, 0.22);
	display: block;
	height: auto;
	max-height: none;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.dilumek-image-text-brand__content {
	align-content: start;
	display: flex;
	flex-direction: column;
	gap: 18px;
	justify-content: flex-start;
	min-width: 0;
	overflow: visible;
	padding: 4px 0 0;
	position: relative;
	z-index: 1;
}

/* Textura detrás del logo y parte del párrafo */
.dilumek-image-text-brand__texture {
	height: 90%;
	left: auto;
	max-height: none;
	max-width: none;
	object-fit: cover;
	object-position: top right;
	opacity: 0.18;
	pointer-events: none;
	position: absolute;
	right: -80px;
	top: -100px;
	user-select: none;
	width: 110%;
	z-index: 0;
}

/* Logo, texto y botón por encima de la textura */
.dilumek-image-text-brand__brand,
.dilumek-image-text-brand__text,
.dilumek-image-text-brand__feature,
.dilumek-image-text-brand__actions {
	position: relative;
	z-index: 1;
}

.dilumek-image-text-brand__brand {
	display: flex;
	justify-content: center;
	line-height: 0;
	margin: 0;
	max-width: 100%;
	width: 100%;
}

.dilumek-image-text-brand__brand-logo {
	display: block;
	height: auto;
	max-height: 140px;
	max-width: min(440px, 100%);
	object-fit: contain;
	object-position: center;
	width: auto;
}

.dilumek-image-text-brand__text,
.entry-content .dilumek-image-text-brand .dilumek-image-text-brand__text,
.entry-content .wp-block-dilumek-image-text-brand .dilumek-image-text-brand__text {
	color: var(--dilumek-image-text-brand-text);
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.45;
	margin: 0;
	max-width: none;
	text-align: justify !important;
}

.dilumek-image-text-brand__text p,
.entry-content .dilumek-image-text-brand .dilumek-image-text-brand__text p,
.entry-content .wp-block-dilumek-image-text-brand .dilumek-image-text-brand__text p {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0 0 1em;
	text-align: justify !important;
}

.dilumek-image-text-brand__text p:last-child {
	margin-bottom: 0;
}

.dilumek-image-text-brand__text strong,
.dilumek-image-text-brand__text b {
	font-weight: 400;
}

.dilumek-image-text-brand__bold strong,
.dilumek-image-text-brand__bold b {
	font-weight: 700;
}

.dilumek-image-text-brand__feature {
	align-items: flex-start;
	display: flex;
	font-weight: 700;
	gap: 14px;
	margin: 0;
	width: 100%;
}

.dilumek-image-text-brand__extra-media {
	flex: 0 0 auto;
	line-height: 0;
	margin: 0;
	max-width: 72px;
}

.dilumek-image-text-brand__extra-image {
	display: block;
	height: auto;
	max-height: 56px;
	max-width: 72px;
	object-fit: contain;
	width: auto;
}

.dilumek-image-text-brand__bold {
	color: #0f0f0f;
	flex: 1 1 auto;
	font-family: "DM Sans", sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
	min-width: 0;
	vertical-align: middle;
}

.dilumek-image-text-brand__actions {
	display: flex;
	justify-content: center;
	margin-top: auto;
	padding-top: 8px;
	width: 100%;
}

.dilumek-image-text-brand__button {
	align-items: center;
	background: var(--dilumek-image-text-brand-btn);
	border: 0;
	border-radius: 4px;
	box-sizing: border-box;
	color: #ffffff !important;
	cursor: pointer;
	display: inline-flex;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	gap: 10px;
	height: 50px;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	min-width: 179px;
	padding: 16px 32px;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color 0.2s ease, opacity 0.2s ease;
	width: auto;
}

.dilumek-image-text-brand__button:hover,
.dilumek-image-text-brand__button:focus {
	background: #0f3a7a;
	color: #ffffff !important;
	opacity: 1;
	text-decoration: none !important;
}

.dilumek-image-text-brand__button--disabled {
	cursor: default;
	opacity: 0.7;
	pointer-events: none;
}

@media (max-width: 960px) {
	.dilumek-image-text-brand {
		padding: 40px 0 36px;
	}

	.dilumek-image-text-brand__inner {
		gap: 28px;
		grid-template-columns: 1fr;
		padding: 28px 0;
	}

	.dilumek-image-text-brand__media {
		justify-self: center;
		max-width: 579px;
		width: 100%;
	}

	.dilumek-image-text-brand__image {
		height: auto;
		max-height: none;
	}

	.dilumek-image-text-brand__brand-logo {
		max-height: 120px;
		max-width: min(380px, 100%);
	}

	.dilumek-image-text-brand__texture {
		height: 85%;
		right: -48px;
		top: -72px;
		width: 100%;
	}

	.dilumek-image-text-brand__text {
		max-width: none;
	}
}

@media (max-width: 480px) {
	.dilumek-image-text-brand {
		padding: 28px 0;
	}

	.dilumek-image-text-brand__inner {
		border-radius: 12px;
		gap: 20px;
		padding: 20px 0;
	}

	.dilumek-image-text-brand__texture {
		height: 80%;
		right: -24px;
		top: -48px;
		width: 95%;
	}

	.dilumek-image-text-brand__text {
		font-size: 15px;
	}

	.dilumek-image-text-brand__button {
		width: 100%;
	}
}
