/* Bloque "Entradas recientes" compartido por todas las páginas */
.pl-recent {
	margin: 0 0 20px;
	padding: 18px;
	border: 1px solid #e6ebf1;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 18px rgb(24 38 74 / 5%);
}

.pl-recent-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
}

.pl-recent .pl-recent-head h2 {
	margin: 0;
	padding: 0;
	color: #18264a;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}

.pl-recent-head a {
	color: #17a88b;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.pl-recent ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pl-recent li {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid #edf1f6;
}

.pl-recent-thumb {
	display: block;
	width: 58px;
	height: 44px;
	overflow: hidden;
	border-radius: 8px;
	background: #e8eef6;
}

.pl-recent-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pl-recent .pl-recent-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	color: #18264a;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.pl-recent .pl-recent-title:hover {
	color: #17a88b;
}

.pl-recent time {
	display: block;
	margin-top: 3px;
	color: #758398;
	font-size: 11px;
}

/* Sustituye al widget de WordPress; en el pie no se muestra ninguno */
.widget_cool_tag_cloud:not(.fwidget) {
	display: none !important;
}

.widget_recent_entries,
#footer-widgets .widget_recent_entries,
#main-footer .widget_recent_entries,
.fwidget.widget_recent_entries {
	display: none !important;
}

/* Tarjeta "Descarga la app": banner verde con el móvil a la derecha */
body:is(.single-post, .pl-cities-page) #sidebar section.pl-single-app {
	position: relative;
	display: block;
	box-sizing: border-box;
	min-height: 215px;
	margin: 0 0 20px;
	padding: 22px 0 22px 20px;
	overflow: hidden;
	border: 0;
	border-radius: 16px;
	background:
		radial-gradient(90% 80% at 100% 100%, rgb(120 226 196 / 70%) 0%, rgb(120 226 196 / 0%) 70%),
		linear-gradient(120deg, #eefbf7 0%, #dcf6ee 60%, #c9f1e5 100%);
	box-shadow: 0 2px 14px rgb(24 38 74 / 6%);
}

body:is(.single-post, .pl-cities-page) #sidebar section.pl-single-app .pl-single-app-copy {
	position: relative;
	z-index: 1;
	width: 58%;
}

body:is(.single-post, .pl-cities-page) #sidebar section.pl-single-app h2 {
	margin: 0 0 6px;
	padding: 0;
	color: #0b2a5b;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.05;
}

body:is(.single-post, .pl-cities-page) #sidebar section.pl-single-app p {
	margin: 0 0 14px;
	padding: 0;
	color: #2d4a73;
	font-size: 13px;
	line-height: 1.35;
}

body:is(.single-post, .pl-cities-page) #sidebar section.pl-single-app .pl-single-app-stores {
	display: grid;
	gap: 7px;
}

body:is(.single-post, .pl-cities-page) #sidebar section.pl-single-app .pl-single-app-stores a,
body:is(.single-post, .pl-cities-page) #sidebar section.pl-single-app .pl-single-app-stores img {
	display: block;
	width: 100%;
	max-width: 122px;
	height: auto;
}

body:is(.single-post, .pl-cities-page) #sidebar section.pl-single-app .pl-single-app-phone {
	position: absolute;
	top: 22px;
	right: -4px;
	width: 38%;
}

body:is(.single-post, .pl-cities-page) #sidebar section.pl-single-app .pl-single-app-phone img {
	display: block;
	width: 100%;
	max-height: none;
	margin: 0;
	border-radius: 16px 16px 0 0;
	border-radius: 0;
	box-shadow: none;
	filter: drop-shadow(-6px 8px 14px rgb(11 42 91 / 22%));
}

/* Ciudades: el fondo de la cabecera pasa de menta clara a verde por la derecha, igual que el banner, para que no se note el corte */
body.pl-cities-page #main-content .container::after {
	display: none !important;
}

body.pl-cities-page #page-container #main-content::before {
	height: 420px;
	background: linear-gradient(180deg, #d4f4ea 0%, #e7f8f2 55%, #f4fbf8 100%);
}

body.pl-cities-page #content-area {
	position: relative;
	z-index: 1;
}

/* Ciudades: banner real (texto, botones y móvil por separado) sobre el degradado de la página, a la altura del título */
body.pl-cities-page #sidebar section.pl-single-app {
	container-type: inline-size;
	position: relative;
	aspect-ratio: 1056 / 484;
	width: 100%;
	min-height: 0;
	margin: 0 0 16px;
	padding: 0;
	overflow: visible;
	border-radius: 0;
	background: radial-gradient(closest-side at 62% 50%, rgb(37 199 165 / 40%) 0%, rgb(37 199 165 / 0%) 100%);
	box-shadow: none;
}

body.pl-cities-page #sidebar section.pl-single-app .pl-single-app-copy {
	position: absolute;
	top: 5cqw;
	left: 5cqw;
	z-index: 1;
	width: 56cqw;
}

body.pl-cities-page #sidebar section.pl-single-app h2 {
	margin: 0 0 1.6cqw;
	color: #18264a !important;
	font-size: 7.6cqw;
	line-height: 1.05;
}

body.pl-cities-page #sidebar section.pl-single-app p {
	margin: 0 0 3cqw;
	color: #53657b !important;
	font-size: 3.2cqw;
	line-height: 1.35;
}

body.pl-cities-page #sidebar section.pl-single-app .pl-single-app-stores {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 2cqw;
}

body.pl-cities-page #sidebar section.pl-single-app .pl-single-app-stores a {
	display: block;
	flex: 0 0 26cqw;
	width: 26cqw;
	max-width: none;
	line-height: 0;
	transition: transform .15s ease;
}

body.pl-cities-page #sidebar section.pl-single-app .pl-single-app-stores a:hover {
	transform: translateY(-2px);
}

body.pl-cities-page #sidebar section.pl-single-app .pl-single-app-stores img {
	display: block;
	width: 100%;
	max-width: none;
	height: 8.4cqw;
	object-fit: fill;
	border-radius: 10px;
}

body.pl-cities-page #sidebar section.pl-single-app .pl-single-app-phone {
	position: absolute;
	top: 0;
	right: 3cqw;
	width: 37cqw;
	height: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, #000 0, #000 68%, transparent 92%);
	mask-image: linear-gradient(180deg, #000 0, #000 68%, transparent 92%);
}

body.pl-cities-page #sidebar section.pl-single-app .pl-single-app-phone img {
	width: 100%;
	margin-top: 1cqw;
	filter: drop-shadow(-4px 6px 10px rgb(11 42 91 / 20%));
}

/* Pantallas anchas: el banner sube hasta el nivel del título, a la derecha */
@media (min-width: 1281px) {
	body.pl-cities-page #main-content #content-area #sidebar {
		padding-top: calc(min(46vw, 760px, min(100vw - 64px, 1280px) - 640px) * .458 - 60px) !important;
	}

	body.pl-cities-page #sidebar section.pl-single-app {
		position: absolute;
		top: -32px;
		right: 0;
		z-index: 1;
		width: min(46vw, 760px, calc(min(100vw - 64px, 1280px) - 640px));
		margin: 0;
	}
}

/* Entradas: mismo diseño que Ciudades (título grande, botones iguales, móvil) sobre fondo blanco, sin degradado */
body.single-post #sidebar section.pl-single-app {
	container-type: inline-size;
	position: relative;
	width: 100%;
	min-height: 0;
	margin: 0 0 20px;
	padding: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 2px 14px rgb(24 38 74 / 6%);
}

body.single-post #sidebar section.pl-single-app .pl-single-app-copy {
	position: relative;
	z-index: 1;
	width: 56cqw;
	margin: 7cqw 0 7cqw 6cqw;
}

body.single-post #sidebar section.pl-single-app h2 {
	margin: 0 0 2cqw;
	color: #18264a;
	font-size: 8.6cqw;
	line-height: 1.05;
}

body.single-post #sidebar section.pl-single-app p {
	margin: 0 0 5cqw;
	color: #53657b;
	font-size: 3.7cqw;
	line-height: 1.35;
}

body.single-post #sidebar section.pl-single-app .pl-single-app-stores {
	display: grid;
	justify-items: start;
	gap: 2.5cqw;
}

body.single-post #sidebar section.pl-single-app .pl-single-app-stores a {
	display: block;
	width: 38cqw;
	max-width: none;
	line-height: 0;
	transition: transform .15s ease;
}

body.single-post #sidebar section.pl-single-app .pl-single-app-stores a:hover {
	transform: translateY(-2px);
}

body.single-post #sidebar section.pl-single-app .pl-single-app-stores img {
	display: block;
	width: 100%;
	max-width: none;
	height: 12.2cqw;
	object-fit: fill;
	border-radius: 8px;
}

body.single-post #sidebar section.pl-single-app .pl-single-app-phone {
	position: absolute;
	top: 18cqw;
	right: 5cqw;
	width: 34cqw;
}

body.single-post #sidebar section.pl-single-app .pl-single-app-phone img {
	display: block;
	width: 100%;
	margin: 0;
	filter: none;
	box-shadow: none;
}

