/* ── Layout principal: flex, izquierda crece / derecha fija ──────────────── */
.wp-block-lodgify-editors-picks {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 56px clamp(1rem, 6.25%, 80px) 0;
	margin-top: 0;
	max-width: var(--wp--style--global--content-size);
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ── Columna izquierda ───────────────────────────────────────────────────── */
.editors-picks__left {
	flex: 1;
	min-width: 0;
	padding-bottom: 80px;
}

.editors-picks__heading {
	text-transform: uppercase;
	margin: 0 0 37px;
	font-size: var(--wp--preset--font-size--h-2);
}

.editors-picks__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Cada post: fila con avatar + contenido */
.editors-picks__post {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	text-decoration: none;
	color: inherit;
}

.editors-picks__post:hover .editors-picks__post-title {
	text-decoration: underline;
}

.editors-picks__post-avatar {
	flex-shrink: 0;
}

.editors-picks__avatar-img {
	width: 108px;
	height: 108px;
	border-radius: 12px;
	object-fit: cover;
	display: block;
}

.editors-picks__post-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-right: 32px;
}

.editors-picks__category {
	display: block;
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 500;
	letter-spacing: -0.4px;
	color: var(--wp--preset--color--black);
}

/* Fila título + botón flecha */
.editors-picks__title-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.editors-picks__post-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--h-5);
}

/* Flecha: círculo negro 22px con icono SVG */
.editors-picks__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--wp--preset--color--black);
	color: #fff;
}

.editors-picks__arrow svg {
	width: 11px;
	height: 11px;
}

.editors-picks__excerpt {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--black);
	line-height: 1.45;
}

/* ── Columna derecha: newsletter ─────────────────────────────────────────── */
.editors-picks__right {
	flex-shrink: 0;
	width: 413px;
}

.newsletter-banner {
	position: relative;
	height: 457px;
	border-radius: 28px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-color: #141313;
	display: flex;
	align-items: flex-start;
	padding: 28px 24px;
}

.newsletter-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(270deg, rgba(0, 0, 0, 0) 29%, rgba(0, 0, 0, 0.5) 75%);
	pointer-events: none;
}

.newsletter-banner__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.newsletter-banner__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--rl-aqva);
	font-size: 34px;
	font-weight: 500;
	line-height: 40px;
	letter-spacing: 0;
	color: #fff65b;
	max-width: 178px;
}

.newsletter-banner__text {
	margin: 0;
	font-family: var(--wp--preset--font-family--gt-maru);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: rgba(255, 255, 255, 0.85);
}

/* ── Formulario CF7 ── */
.newsletter-banner__form .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.newsletter-banner__form .wpcf7-form>p,
.newsletter-banner__form .wpcf7-form>div {
	margin: 0;
	width: 100%;
}

.newsletter-banner__form input[type="email"],
.newsletter-banner__form input[type="text"] {
	display: block;
	width: 100%;
	background: #f8fafb;
	border: 1.4px solid #ddebf3;
	border-radius: 11.2px;
	padding: 14px;
	font-family: var(--wp--preset--font-family--gt-maru);
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: -0.2px;
	color: #141313;
	box-sizing: border-box;
	transition: border-color 0.15s;
}

.newsletter-banner__form input[type="email"]::placeholder,
.newsletter-banner__form input[type="text"]::placeholder {
	color: #acacac;
}

.newsletter-banner__form input[type="email"]:focus,
.newsletter-banner__form input[type="text"]:focus {
	outline: none;
	border-color: #a8c4d8;
}

.newsletter-banner__form input[type="submit"],
.newsletter-banner__form button[type="submit"] {
	display: inline-block;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21'%3E%3Ccircle cx='10.5' cy='10.5' r='10.5' fill='%23fff65b'/%3E%3Cpath d='M6 10.5H15M11.5 7.5L15 10.5L11.5 13.5' stroke='%23141313' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: right 0 center;
	background-size: 21px 21px;
	border: none;
	padding: 2px 30px 2px 0;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--gt-maru);
	font-size: 14px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: -0.4px;
	color: #ffffff;
	transition: opacity 0.2s;
}

.newsletter-banner__form input[type="submit"]:hover,
.newsletter-banner__form button[type="submit"]:hover {
	opacity: 0.8;
}

.newsletter-banner__form .wpcf7-spinner {
	display: none !important;
}

.newsletter-banner__form .wpcf7-not-valid-tip {
	font-family: var(--wp--preset--font-family--gt-maru);
	font-size: 11px;
	color: #ff8080;
	margin-top: 4px;
}

.newsletter-banner__form .wpcf7-response-output {
	font-family: var(--wp--preset--font-family--gt-maru);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 4px;
	border: none !important;
	padding: 0 !important;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.wp-block-lodgify-editors-picks {
		flex-direction: column;
		padding: 30px 16px;
	}

	.editors-picks__heading {
		margin: 0 0 20px;
	}

	.editors-picks__left {
		padding-bottom: 0;
		width: 100%;
	}

	/* Lista: flex-wrap — 1 columna en móvil, 2 en tablet */
	.editors-picks__list {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0;
	}

	/* Cada post: ancho máximo 358px (una columna en móvil, dos en tablet) */
	.editors-picks__post {
		flex-direction: column;
		width: 358px;
		max-width: 100%;
		padding-top: 20px;
		padding-bottom: 20px;
		border-top: 1px solid #ddebf3;
	}

	.editors-picks__post:first-child {
		border-top: none;
		padding-top: 0;
	}

	.editors-picks__post:last-child {
		padding-bottom: 0;
	}

	/* Sin avatar en móvil */
	.editors-picks__post-avatar {
		display: none;
	}

	.editors-picks__post-content {
		padding-right: 32px;
		width: 100%;
	}

	/* Newsletter debajo de los picks */
	.editors-picks__right {
		width: 100%;
		margin-top: 32px;
	}

	.newsletter-banner {
		height: auto;
		min-height: 208px;
		padding: 28px 24px;
	}

	.newsletter-banner__title {
		font-size: 26px;
		line-height: 32px;
	}

	.newsletter-banner__content {
		max-width: 100%;
	}
}