.ceca-info-box {
	position: relative;
	width: 540px;
	height: 410px;
	max-width: 100%;
	overflow: hidden;
	border-radius: var(--border-radius-default, 0);
	transition: box-shadow 0.4s ease;
}

/* Shadow on hover */
.ceca-info-box:hover {
	box-shadow: 0px 6px 14px 0px rgba(24, 39, 75, 0.12),
				0px 10px 32px 0px rgba(24, 39, 75, 0.1);
}

/* Background container */
.ceca-info-box__background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

/* Image styling */
.ceca-info-box__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}

/* Hover zoom effect when info box is a link */
a.ceca-info-box:hover .ceca-info-box__image {
	transform: scale(1.08);
}

a.ceca-info-box {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Overlay gradient for readability — default: bottom only */
.ceca-info-box__overlay {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(178.17deg, rgba(0, 0, 0, 0) 53.41%, rgba(3, 78, 103, 0.5) 72.88%, rgba(0, 0, 0, 0.6) 100%);
	z-index: 2;
	transition: background-image 0.4s ease, backdrop-filter 0.4s ease;
}

/* Overlay on hover — full card gradient + blur */
.ceca-info-box:hover .ceca-info-box__overlay {
	background-image: linear-gradient(180deg, rgba(3, 78, 103, 0.45) 0%, rgba(3, 78, 103, 0.7) 60%, rgba(0, 0, 0, 0.75) 100%);
	backdrop-filter: blur(4px);
}

/* ── Icon (hover only) ── */
.ceca-info-box__icon {
	position: absolute;
	top: 24%;
	left: 50%;
	transform: translateX(-50%) translateY(0);
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 86px;
	height: 86px;
	border-radius: 50%;
	border: 1px solid #fff;
	background: rgba(255, 255, 255, 0.2);
	opacity: 0;
	transition: opacity 0.4s ease, transform 0.4s ease;
	pointer-events: none;
}

.ceca-info-box__icon i,
.ceca-info-box__icon svg {
	font-size: 36px;
	color: #fff;
	fill: #fff;
	width: 36px;
	height: 36px;
}

.ceca-info-box:hover .ceca-info-box__icon {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Icon centered when no description */
.ceca-info-box--no-desc .ceca-info-box__icon {
	top: 50%;
	transform: translate(-50%, -50%);
}

.ceca-info-box--no-desc:hover .ceca-info-box__icon {
	transform: translate(-50%, -50%);
}

/* Content container */
.ceca-info-box__content {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 25px 30px;
	transition: justify-content 0.4s ease;
}

/* On hover, shift content to center-bottom area */
.ceca-info-box:hover .ceca-info-box__content {
	justify-content: flex-end;
}

/* Title styling */
.ceca-info-box__title {
	min-height: 40px;
	margin: 0;
	color: var(--ceca-white, #fff);
	font-family: var(--e-global-typography-primary-font-family, 'Encode Sans Expanded', sans-serif);
	font-size: 32px;
	line-height: 1.1;
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	transition: transform 0.4s ease;
}

/* Normal text part */
.ceca-info-box__title-main {
	font-weight: 500;
}

/* Italic text part */
.ceca-info-box__title-italic {
	font-weight: 200;
	font-style: italic;
}

/* ── Description (hover only) ── */
.ceca-info-box__description {
	margin: 10px 0 0;
	font-family: var(--e-global-typography-primary-font-family, 'Encode Sans Expanded', sans-serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	color: #fff;
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: opacity 0.4s ease 0.1s, max-height 0.4s ease 0.1s;
}

.ceca-info-box:hover .ceca-info-box__description {
	opacity: 1;
	max-height: 200px;
}

/* Mobile responsive */
@media (max-width: 767px) {
	.ceca-info-box {
		width: 100%;
		height: 320px;
	}
	
	.ceca-info-box__title {
		font-size: 26px;
	}

	.ceca-info-box__description {
		font-size: 16px;
	}

	.ceca-info-box__icon {
		width: 70px;
		height: 70px;
	}

	.ceca-info-box__icon i,
	.ceca-info-box__icon svg {
		font-size: 28px;
		width: 28px;
		height: 28px;
	}
}
