.texto-1 {
	font-size: 1.9rem;
	margin-top:1.3rem;
	color: #598141 !important;
	line-height: 2.5rem;
	background: hsla(0, 0%, 100%, .6);
	border-radius: var(--rs-radius-1) !important;
}
.texto-2 {
	font-size: 2.9rem;
	margin-top:1.0rem;
	line-height: 3.3rem;
	font-weight: 600;
	color: #598141 !important;
	background: hsla(0, 0%, 100%, .6);
	border-radius: var(--rs-radius-1) !important;
}
.texto-3 {
	font-size: 1.1rem;
	margin-top: 10px;
}
.texto-4 {
	font-size: 1.2rem;
	color:#000;
	margin-top:0.7rem;
	margin-bottom:1.4rem;
}
.r-banner {
	display: flex;
	flex-direction: column;
	justify-content: center; 
	align-items: center; 

	border: 1px solid #eeeeee;
	height: 100%;
	text-align: center !important;
	background: none;
	background-color: #fff;
	min-height: 350px;
	padding: 1.5rem;
}

.btn-banner {
	margin-top: 0px !important;
	padding: 0.2rem 1rem !important;
}

.banner-fondo-empresa {
	background: #598141;
}

.banner-boton-empresa {
	gap: 1rem;
	padding: 0.55rem 1.5rem;
	border-radius: 999px;
	max-width: 92%;
	margin: 0.5rem auto 1rem;
}

.banner-empresa-desktop {
	gap: 1rem;
}

.banner-empresa-icon {
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.banner-empresa-icon img {
	max-height: 48px;
}

.banner-empresa-title {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.banner-empresa-subtitle {
	font-size: 1.1rem;
}

.banner-empresa-action .btn {
	font-size: 1.05rem;
	border-radius: 999px;
	padding: 0.35rem 1.25rem;
}

#modal-empresa .empresa-form {
	background: #f6ede3;
	border-radius: var(--rs-radius-1);
	padding: 1rem 1.25rem 1.25rem;
}

#modal-empresa .empresa-form .pop-header {
	justify-content: center;
}

#modal-empresa .empresa-form .pop-header .badge {
	border-radius: 999px;
}

#modal-empresa .empresa-form .step-transition {
	padding: 0.75rem 0.75rem 1rem;
}

.busqueda-residencias {
	margin-bottom: 0.75rem !important;
}

.busqueda-categoria {
	display: flex;
	justify-content: flex-start;
	margin: 0.25rem 0 0.75rem;
}

.busqueda-categoria .dropdown {
	max-width: 260px;
	width: 100%;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.busqueda-categoria .form-select {
	border-radius: 10px;
}




@media only screen and (min-width: 992px) {
	.banner-fondo {
		background-image: url(/img/banner-inicio.webp), url(/img/banner-centros-de-dia.webp);
	}
	.banner-fondo-empresa {
		min-height: 200px !important;
		background-color: #598141 !important;
	}
	.banner-boton-empresa {
		min-height: unset !important;
		background-color: var(--rs-color-3) !important;
	}
	.banner-fondo-empleo {
		background-image: url(/img/banner-inicio.webp), url(/img/banner-anuncios-de-empleo.webp);
	}
	.banner-fondo-articulos {
		background-image: url(/img/banner-inicio.webp), url(/img/banner-venta-de-articulos-segunda-mano.webp);
	}
	.banner-fondo-venta {
		background-image: url(/img/banner-inicio.webp), url(/img/banner-compra-venta-residencias-de-mayores.webp);
	}

	.banner-fondo,
	.banner-fondo-empresa,
	.banner-fondo-empleo,
	.banner-fondo-articulos,
	.banner-fondo-venta {
		background-color: rgba(255, 255, 255, 0.1); 
		background-blend-mode: overlay;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: left, right;
	}

	.texto-0 {
		margin-right: 15%;
		padding: 7% 0;
	}
}

@media only screen and (max-width: 992px) { 
	.r-banner {
		min-height: 150px;
	}
	.banner-fondo-empresa {
		padding: 1.25rem 1rem;
	}
	.banner-fondo-empresa h2 {
		font-size: 1.6rem !important;
		line-height: 2rem;
		margin-bottom: 0.5rem !important;
	}
	.banner-fondo-empresa > div:first-of-type {
		font-size: 1rem !important;
		margin-bottom: 0.5rem !important;
	}
	.banner-fondo-empresa > div:last-of-type {
		font-size: 0.9rem !important;
	}
	.banner-boton-empresa {
		min-height: unset;
		background: transparent !important;
		border: none;
		padding: 0.75rem 0;
	}
	.banner-empresa-mobile {
		justify-content: center;
	}
	.banner-empresa-mobile .btn {
		font-size: 1rem;
		width: auto;
		min-width: 220px;
		max-width: 280px;
		margin: 0 auto;
	}
	.busqueda-categoria {
		display: none;
	}
	.busqueda-residencias.visible + .busqueda-categoria {
		display: flex;
	}
	.busqueda-categoria .dropdown {
		max-width: 100%;
	}
}


.card-header.bg-info-empleo-oferta, .card-header.bg-info-empleo-demanda, .card-header.bg-info-articulo, .card-header.bg-info-venta {
	border-radius: var(--rs-radius-2) var(--rs-radius-2) !important;
	padding: 0.7rem 0.9rem !important;
}

/* Fichas con alto uniforme por fila (patron similar a card + h-100 del listado de mapa) */
.cards-results {
	display: flex;
}

.cards-results .card.card-ficha,
.cards-results .card.card-ficha-empresa {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid #e4ebf2;
	border-radius: 14px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 8px 20px rgba(9, 30, 66, 0.08);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cards-results .card.card-ficha .card-body,
.cards-results .card.card-ficha-empresa .card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.cards-results .card.card-ficha .btn-ficha,
.cards-results .card.card-ficha-empresa .btn-ficha {
	margin-top: auto;
}

@media (hover: hover) and (pointer: fine) {
	.cards-results .card.card-ficha:hover,
	.cards-results .card.card-ficha-empresa:hover {
		transform: translateY(-2px);
		border-color: #ccd9e6;
		box-shadow: 0 14px 28px rgba(9, 30, 66, 0.14);
	}
}

a.dropdown-item.nav-menu.p-2 {
    border: solid 1px #777777;
}

.em-contenedor-icono {
	padding:0.7rem 0.8rem 0.7rem 0.9rem;
	width:100%;
	height:auto;
	background: linear-gradient(135deg, #0b3a53 0%, #006696 100%); 
	border-radius: 14px; 
	box-shadow: 0 4px 10px rgba(11, 58, 83, 0.25);
}

.em-icono { 
	font-size: 1rem;
	color: #f2f0e8;
}

.em-titulo {
	font-size: 21px;
	font-weight: 600;
	margin-bottom:0px;
	line-height: 1.8rem;
}

.em-textos {
	font-size: 1rem !important;
	color:black;
}