

/* ==========================================================
   BLOG FLOWFLAMINGO · HERO
   ========================================================== */

body .ff-blog-hero {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: #f9f7f1;
	color: #0f1115;
}

/* Contenedor interior */

body .ff-blog-hero .ff-blog-hero__inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* Etiqueta superior */

.ff-blog-hero .ff-blog-hero__kicker {
	margin: 0 0 25.6px;
	font-family: "Inter", sans-serif;
	font-size: 20.8px;
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: 2.1312px;
	text-transform: uppercase;
	color: #0f11159e;
}

/* Título principal */

.ff-blog-hero .ff-blog-hero__title {
	max-width: 15ch;
	margin: 0;
	font-family: "Inter Tight", sans-serif;
	font-size: clamp(38.4px, 6vw, 70.4px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
	color: #0f1115;
}

/* Descripción */

.ff-blog-hero .ff-blog-hero__description {
	max-width: 54ch;
	margin: 28.8px 0 0;
	font-family: "Inter", sans-serif;
	font-size: clamp(16.8px, 1.5vw, 20.8px);
	font-weight: 400;
	line-height: 1.55;
	color: rgba(15, 17, 21, 0.62);
}

/* ==========================================================
   BLOG FLOWFLAMINGO · ARTÍCULO DESTACADO
   ========================================================== */

body .ff-blog-featured-section {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 40px;
	background: #f9f7f1;
	color: #0f1115;
	box-sizing: border-box;
}

/* Contenedor generado por Gutenberg */

body .ff-blog-featured-section > .wp-block-shortcode {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

/* Artículo */

.ff-blog-featured-section .ff-blog-featured {
	width: 100%;
	margin: 0 0 88px;
	padding-top: 40px;
	border-top: 1px solid #0f1115;
}

/* Enlace y distribución */

.ff-blog-featured .ff-blog-featured__link {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: stretch;
	width: 100%;
	color: inherit;
	text-decoration: none;
}

/* ==========================================================
   IMAGEN
   ========================================================== */

.ff-blog-featured .ff-blog-featured__image {
	position: relative;
	order: 2;
	aspect-ratio: 520 / 300;
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #ece5d3;
}

.ff-blog-featured .ff-blog-featured__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s
		cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-blog-featured__link:hover
	.ff-blog-featured__image img {
	transform: scale(1.03);
}

/* Imagen de reserva */

.ff-blog-featured .ff-blog-featured__placeholder {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background:
		linear-gradient(
			135deg,
			rgba(176, 54, 29, 0.04) 25%,
			transparent 25%,
			transparent 50%,
			rgba(176, 54, 29, 0.04) 50%,
			rgba(176, 54, 29, 0.04) 75%,
			transparent 75%
		),
		#ece5d3;
	background-size: 10px 10px;
}

.ff-blog-featured .ff-blog-featured__placeholder::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 10%;
	width: 75%;
	height: 1px;
	background: rgba(176, 54, 29, 0.45);
	transform: translateY(-50%);
}

.ff-blog-featured .ff-blog-featured__placeholder span {
	position: absolute;
	top: 50%;
	right: 12%;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #b0361d;
	transform: translateY(-50%);
}

/* ==========================================================
   CONTENIDO
   ========================================================== */

.ff-blog-featured .ff-blog-featured__body {
	order: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: 48px;
}

/* Categoría */

.ff-blog-featured .ff-blog-featured__category {
	display: block;
	margin-bottom: 17.6px;
	font-family: "Inter", sans-serif;
	font-size: 11.2px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1.568px;
	text-transform: uppercase;
	color: #b0361d;
}

/* Título */

.ff-blog-featured .ff-blog-featured__title {
	max-width: 18ch;
	margin: 0 0 17.6px;
	font-family: "Inter Tight", sans-serif;
	font-size: clamp(27.2px, 3vw, 41.6px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.032em;
	color: #0f1115;
}

/* Extracto */

.ff-blog-featured .ff-blog-featured__excerpt {
	max-width: 46ch;
	margin: 0 0 25.6px;
	font-family: "Inter", sans-serif;
	font-size: clamp(16px, 1.3vw, 18.4px);
	font-weight: 400;
	line-height: 1.6;
	color: rgba(15, 17, 21, 0.62);
}

/* Metadatos */

.ff-blog-featured .ff-blog-featured__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6.4px;
	margin: 0 0 25.6px;
	font-family: "Inter", sans-serif;
	font-size: 13.12px;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(15, 17, 21, 0.58);
}

/* Acción */

.ff-blog-featured .ff-blog-featured__action {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	padding-bottom: 2px;
	border-bottom: 1px solid #0f1115;
	font-family: "Inter Tight", sans-serif;
	font-size: 15.2px;
	font-weight: 500;
	line-height: 1.2;
	color: #0f1115;
	transition:
		gap 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		color 0.25s ease,
		border-color 0.25s ease;
}

.ff-blog-featured .ff-blog-featured__action svg {
	width: 15px;
	height: 15px;
	flex: none;
}

.ff-blog-featured__link:hover
	.ff-blog-featured__action {
	gap: 13.6px;
	color: #b0361d;
	border-bottom-color: #b0361d;
}

/* Eliminar subrayados dentro del artículo destacado */

.ff-blog-featured .ff-blog-featured__link,
.ff-blog-featured .ff-blog-featured__link:hover,
.ff-blog-featured .ff-blog-featured__link:focus,
.ff-blog-featured .ff-blog-featured__link:visited,
.ff-blog-featured .ff-blog-featured__link * {
	text-decoration: none !important;
}

/* ==========================================================
   BLOG FLOWFLAMINGO · ÚLTIMOS ARTÍCULOS
   ========================================================== */

body .ff-blog-latest {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 40px;
	background: #f9f7f1;
	color: #0f1115;
	box-sizing: border-box;
}

body .ff-blog-latest > .wp-block-shortcode {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

/* ==========================================================
   CABECERA
   ========================================================== */

.ff-blog-latest .ff-blog-latest__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	width: 100%;
	margin: 0 0 35.2px;
}

.ff-blog-latest .ff-blog-latest__heading {
	margin: 0;
	font-family: "Inter Tight", sans-serif;
	font-size: 18.4px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #0f1115;
}

/* ==========================================================
   GRILLA
   ========================================================== */

.ff-blog-latest .ff-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px 38.4px;
	width: 100%;
	margin: 0;
	padding: 0 0 96px;
}

/* Tarjeta */

.ff-blog-latest .ff-blog-card {
	display: flex;
	width: 100%;
	min-width: 0;
	margin: 0;
}

/* Enlace completo */

.ff-blog-latest .ff-blog-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	color: inherit;
	text-decoration: none !important;
}

.ff-blog-latest .ff-blog-card__link:hover,
.ff-blog-latest .ff-blog-card__link:focus,
.ff-blog-latest .ff-blog-card__link:visited,
.ff-blog-latest .ff-blog-card__link * {
	text-decoration: none !important;
}

/* ==========================================================
   IMAGEN
   ========================================================== */

.ff-blog-latest .ff-blog-card__image {
	position: relative;
	aspect-ratio: 520 / 300;
	margin: 0 0 20.8px;
	overflow: hidden;
	border-radius: 14px;
	background: #ece5d3;
}

.ff-blog-latest .ff-blog-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s
		cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-blog-latest .ff-blog-card__link:hover
	.ff-blog-card__image img {
	transform: scale(1.04);
}

/* Imagen de reserva */

.ff-blog-latest .ff-blog-card__placeholder {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background:
		linear-gradient(
			135deg,
			rgba(176, 54, 29, 0.04) 25%,
			transparent 25%,
			transparent 50%,
			rgba(176, 54, 29, 0.04) 50%,
			rgba(176, 54, 29, 0.04) 75%,
			transparent 75%
		),
		#ece5d3;
	background-size: 10px 10px;
}

.ff-blog-latest .ff-blog-card__placeholder::before,
.ff-blog-latest .ff-blog-card__placeholder::after {
	content: "";
	position: absolute;
	top: 50%;
	height: 1px;
	background: rgba(176, 54, 29, 0.45);
	transform-origin: left;
}

.ff-blog-latest .ff-blog-card__placeholder::before {
	left: 12%;
	width: 43%;
	transform: translateY(-18px) rotate(8deg);
}

.ff-blog-latest .ff-blog-card__placeholder::after {
	left: 43%;
	width: 43%;
	transform: translateY(18px) rotate(-8deg);
}

.ff-blog-latest .ff-blog-card__placeholder span {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #b0361d;
	transform: translate(-50%, -50%);
}

/* ==========================================================
   CONTENIDO DE LA TARJETA
   ========================================================== */

/* Categoría */

.ff-blog-latest .ff-blog-card__category {
	display: block;
	margin-bottom: 9.6px;
	font-family: "Inter", sans-serif;
	font-size: 10.88px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1.4144px;
	text-transform: uppercase;
	color: #b0361d;
}

/* Título */

.ff-blog-latest .ff-blog-card__title {
	margin: 0 0 9.6px;
	font-family: "Inter Tight", sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.22;
	letter-spacing: -0.025em;
	color: #0f1115;
	transition: color 0.25s ease;
}

.ff-blog-latest .ff-blog-card__link:hover
	.ff-blog-card__title {
	color: #b0361d;
}

/* Extracto */

.ff-blog-latest .ff-blog-card__excerpt {
	flex-grow: 1;
	margin: 0 0 16px;
	font-family: "Inter", sans-serif;
	font-size: 14.72px;
	font-weight: 400;
	line-height: 1.55;
	color: rgba(15, 17, 21, 0.62);
}

/* Metadatos */

.ff-blog-latest .ff-blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5.6px;
	margin: auto 0 0;
	font-family: "Inter", sans-serif;
	font-size: 12.48px;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(15, 17, 21, 0.58);
}

/* ==========================================================
   BLOG FLOWFLAMINGO · CTA FINAL
   ========================================================== */

body .ff-blog-cta {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 40px 96px;
	background: #f9f7f1;
	color: #0f1115;
	box-sizing: border-box;
}

/* Contenedor oscuro */

.ff-blog-cta .ff-blog-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 54.4px 48px;
	border-radius: 22px;
	background: #0f1115;
	color: #f9f7f1;
	box-sizing: border-box;
}

/* Título */

.ff-blog-cta .ff-blog-cta__title {
	max-width: 20ch;
	margin: 0;
	font-family: "Inter Tight", sans-serif;
	font-size: clamp(24px, 2.6vw, 33.6px);
	font-weight: 500;
	line-height: 1.14;
	letter-spacing: -0.03em;
	color: #f9f7f1;
}

/* Botón */

.ff-blog-cta .ff-blog-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	gap: 9.6px;
	min-height: 44px;
	padding: 13.6px 25.6px;
	border: 1px solid #f9f7f1;
	border-radius: 100px;
	font-family: "Inter Tight", sans-serif;
	font-size: 15.2px;
	font-weight: 500;
	line-height: 1;
	color: #0f1115;
	background: #f9f7f1;
	text-decoration: none !important;
	transition:
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-blog-cta .ff-blog-cta__button:hover,
.ff-blog-cta .ff-blog-cta__button:focus,
.ff-blog-cta .ff-blog-cta__button:visited {
	text-decoration: none !important;
}

.ff-blog-cta .ff-blog-cta__button:hover {
	color: #f9f7f1;
	background: #b0361d;
	border-color: #b0361d;
	transform: translateX(4px);
}

/* Flecha */

.ff-blog-cta .ff-blog-cta__button svg {
	width: 14px;
	height: 14px;
	flex: none;
	transition: transform 0.3s
		cubic-bezier(0.22, 1, 0.36, 1);
}

.ff-blog-cta .ff-blog-cta__button:hover svg {
	transform: translateX(3px);
}

/* Eliminar el centrado automático de Gutenberg solo en el H1 del hero */

body .is-layout-constrained > h1.hero-title,
body .is-layout-constrained > .hero-title {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 767px) {

    /* Destacado en una columna */
    body .ff-blog-featured .ff-blog-featured__link {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    body .ff-blog-featured .ff-blog-featured__image,
    body .ff-blog-featured .ff-blog-featured__body {
        width: 100%;
        min-width: 0;
        max-width: none;
        box-sizing: border-box;
    }

    /* Grilla en una columna */
    body .ff-blog-latest .ff-blog-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

@media (max-width: 767px) {

    body .ff-blog-featured .ff-blog-featured__body {
        padding-right: 0;
    }

    body .ff-blog-featured .ff-blog-featured__title {
        max-width: none;
    }

    body .ff-blog-cta .ff-blog-cta__inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}