/* ==========================================================================
   Francesca Toolkit — v3.2 (solo bloques core)
   Valores tomados del PDF de diseño (lienzo 1280 px, unidades = px reales):
   tipografías, pesos, colores, radios y espaciados medidos sobre el vectorial.
   ========================================================================== */

.ftk-root,
.editor-styles-wrapper {
	--ftk-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ftk-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--ftk-black: #000;          /* textos de párrafo */
	--ftk-text: #333;           /* títulos, etiquetas, filtros */
	--ftk-sage: #808c80;        /* "Filters", Clear All, barra plegada */
	--ftk-panel: #f5f7f5;       /* fondo del panel de filtros */
	--ftk-grey: #f2f2f2;        /* banda de relacionadas */
	--ftk-icon: #daebf1;        /* círculo de los iconos de recursos */
	--ftk-sticky-top: 24px;
	--ftk-indent: 127px;        /* círculo 109 + 18: sangría de título, pestañas y contenido */
}
/* --ftk-c = color fuerte de la fase · --ftk-s = color suave (fondo de tarjeta). Fallbacks si faltan. */
.ftk-root, .ftk-card, .ftk-opt, .editor-styles-wrapper {
	--ftk-c-safe: var(--ftk-c, #9faa9f);
	--ftk-s-safe: var(--ftk-s, color-mix(in srgb, var(--ftk-c, #9faa9f) 50%, #fff));
}
.ftk-root { flex: 1 1 100%; width: 100%; min-width: 0; color: var(--ftk-text); font-family: var(--ftk-sans); }
.ftk-container { margin-inline: auto; padding: 0; }
.ftk-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ftk-root :is(p, h1, h2, h3, h4, figure, ul, ol) { margin-block: 0; } /* el espaciado lo pone este CSS, no el tema */
.ftk-root :is(.ftk-landing, .ftk-archive, .ftk-tool, .ftk-related) { max-width: none !important; margin-inline: 0 !important; }
.ftk-root .wp-block-post-template { max-width: none; margin: 0; padding: 0; list-style: none; }
.ftk-root .wp-block-post-template > li { margin: 0; }

/* ==========================================================================
   LANDING
   ========================================================================== */
:is(.ftk-root, .editor-styles-wrapper) .ftk-landing { align-items: stretch; gap: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-landing__title,
.ftk-root .ftk-landing__title:hover {
	margin: 0 0 62px !important; /* sin margen superior (también frente al tema) */
	text-decoration: none; background: none; opacity: 1; transform: none; transition: none; cursor: auto;
	font-family: var(--ftk-serif); font-size: 35.8px; font-weight: 400; line-height: 38px;
	color: var(--ftk-text) !important; /* sin hover del tema */
}
.ftk-root .ftk-landing__title :is(a, span) { color: inherit !important; text-decoration: none !important; }

/* ---------- "?" junto al H1 + popup (diseño TOOL-KIT-2, págs. 1–2) ---------- */
.ftk-root .ftk-landing__head { display: flex; justify-content: flex-end; }
.ftk-root .ftk-landing__titlebox { position: relative; width: fit-content; max-width: 100%; }
.ftk-root .ftk-help {
	position: absolute; top: -18px; left: -29px;
	display: grid; place-items: center; width: 31px; height: 31px; min-height: 0; margin: 0; padding: 0;
	border: 0; border-radius: 50%; background: #f9d669 !important; color: #fff !important;
	font: 900 19.75px/1 var(--ftk-sans); cursor: pointer; box-shadow: none;
	transition: background-color .2s ease;
}
.ftk-root .ftk-help:hover, .ftk-root .ftk-help:focus-visible { background: color-mix(in srgb, #f9d669 85%, #000) !important; }
.ftk-root .ftk-help:focus-visible { outline: 2px solid var(--ftk-text); outline-offset: 2px; }
.ftk-root dialog.ftk-intro { /* gana a .is-layout-flex > * del núcleo */
	box-sizing: border-box; width: 530px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px);
	margin: auto; padding: 102px 63px 110px 63px; overflow: auto;
	border: 0; border-radius: 36px; background: #fcebb4; color: #1a1a1a;
	font-family: var(--ftk-sans); font-size: 14px; font-weight: 300; line-height: 16.8px;
}
.ftk-intro:focus { outline: none; }
.ftk-intro::backdrop { background: rgba(255, 255, 255, .75); }
.ftk-intro__close {
	position: absolute; top: 18px; right: 20px;
	display: grid; place-items: center; width: 43px; height: 43px; min-height: 0; margin: 0; padding: 0;
	border: 0; border-radius: 50%; background: #333 !important; color: #fff !important; cursor: pointer; box-shadow: none;
}
.ftk-intro__close:hover { background: #000 !important; }
.ftk-intro__close:focus-visible { outline: 2px solid #333; outline-offset: 2px; }
.ftk-intro__close:focus:not(:focus-visible) { outline: none; }
.ftk-intro__icon {
	position: absolute; top: 102px; left: 59px;
	display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%;
	background: #f9d669; color: #fff; font: 900 49.5px/1 var(--ftk-sans);
}
.ftk-intro .ftk-intro__title { margin: 93px 0 17px; font-family: var(--ftk-serif); font-size: 21px; font-weight: 400; line-height: 25px; color: #1a1a1a; }
.ftk-intro__body p { margin: 0 0 16.8px; font: inherit; line-height: inherit; color: inherit; }
.ftk-intro__body > :last-child { margin-bottom: 0; }
.ftk-intro__body a { color: inherit; text-decoration: underline; }

/* ---------- Filtros + rejilla ---------- */
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive {
	display: grid;
	grid-template-columns: 316px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin-bottom: 96px;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed { grid-template-columns: 35px minmax(0, 1fr); column-gap: 28px; }
.ftk-archive > script { display: none; }
.ftk-filters-form { position: static; margin: 0; } /* sin sticky (3.6.1): el panel baja con la página */

:is(.ftk-root, .editor-styles-wrapper) .ftk-filters {
	display: block; /* sin scroll interno (evita el doble scroll) */
	border-radius: 18px;
	background: var(--ftk-panel);
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-filters__bar { display: flex; align-items: center; gap: 0; padding: 12px 12px 10px 21px; border-bottom: 2px solid #fff; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-filters__label { margin: 0 auto 0 0; font-size: 14.2px; font-weight: 500; line-height: 21px; color: var(--ftk-sage); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-clear-wrap { gap: 0; margin: 0 12px 0 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-clear .wp-block-button__link.wp-element-button:is(a, div) {
	min-width: 76px; height: 21px; padding: 0 14px; border: 0; border-radius: 11px;
	background: var(--ftk-sage) !important; color: #fff !important;
	font-family: var(--ftk-sans); font-size: 10.2px; font-weight: 500; line-height: 21px; text-align: center; text-decoration: none;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-clear .wp-block-button__link.wp-element-button:is(a, div):hover,
:is(.ftk-root, .editor-styles-wrapper) .ftk-clear .wp-block-button__link.wp-element-button:is(a, div):focus { background: #6f7a6f !important; color: #fff !important; }
/* Botón plegar: triángulo 11 × 21 */
:is(.ftk-root, .editor-styles-wrapper) .ftk-filters .ftk-filters__bar .ftk-toggle {
	display: block; flex: none; width: 11px; height: 21px; min-height: 0;
	margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
	background: currentColor !important; color: var(--ftk-sage);
	clip-path: polygon(100% 0, 100% 100%, 0 50%);
	cursor: pointer; transition: transform .3s ease;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-filters .ftk-filters__bar .ftk-toggle:hover,
:is(.ftk-root, .editor-styles-wrapper) .ftk-filters .ftk-filters__bar .ftk-toggle:focus-visible { color: var(--ftk-text); }
.ftk-toggle svg { display: none; }
.ftk-archive:not(.is-js) .ftk-toggle { display: none !important; }

:is(.ftk-root, .editor-styles-wrapper) .ftk-filters__body { display: block; padding: 26px 21px 29px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-group { display: block; margin: 0 0 23px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-group:last-child { margin-bottom: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-group__title { margin: 0 0 9px; font-family: var(--ftk-sans); font-size: 14.2px; font-weight: 500; line-height: 17px; color: var(--ftk-text); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-filter .wp-block-term-template { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; padding: 0; list-style: none; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-filter .wp-block-term { display: flex; margin: 0 !important; padding: 0; line-height: 18px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-opt {
	position: relative; display: inline-flex; align-items: center; gap: 6px;
	margin: 0; padding: 0 0 0 4px;
	font-size: 14.2px; font-weight: 300; line-height: 18px; color: var(--ftk-text); cursor: pointer;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-opt:has(.ftk-dot) { padding-left: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-opt input[type="checkbox"] { /* oculto pero accesible; blindado frente al estilo de checkbox del tema */
	position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; appearance: none; pointer-events: none;
}
.ftk-dot { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ftk-c-safe); font-size: 12px; font-weight: 300; line-height: 1; color: var(--ftk-text); }
/* Seleccionado: píldora de 18 px en el color suave; en fases arranca en el centro del punto */
.ftk-opt .wp-block-term-name { margin: 0 0 0 -7px; padding: 0 8px 0 7px; border-radius: 9px; font: inherit; transition: background-color .15s; }
.ftk-opt:has(.ftk-dot) .wp-block-term-name { margin-left: -15px; padding-left: 15px; }
.ftk-opt:hover .wp-block-term-name { background: rgba(0, 0, 0, .04); }
.ftk-opt:has(input:checked) .wp-block-term-name { background: var(--ftk-s-safe); }
.ftk-opt:has(input:focus-visible) .wp-block-term-name { outline: 2px solid var(--ftk-sage); outline-offset: 1px; }
.ftk-apply { margin: 0 21px 21px; }
.ftk-archive.is-js .ftk-apply { display: none; }

/* Plegado: barra vertical de 35 px */
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-filters {
	position: relative; overflow: visible;
	height: min(748px, calc(100vh - 2 * var(--ftk-sticky-top)));
	border-radius: 18px; background: var(--ftk-sage);
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-filters__body,
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-clear-wrap { display: none; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-filters__bar { flex-direction: column; gap: 14px; padding: 17px 0; border: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-filters__label { order: 2; margin: 0; writing-mode: vertical-rl; color: var(--ftk-panel); font-size: 13px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-filters .ftk-filters__bar .ftk-toggle { order: 1; color: var(--ftk-panel); transform: rotate(180deg); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-toggle::after { content: ""; position: absolute; inset: -400px -20px; }

:is(.ftk-root, .editor-styles-wrapper) .ftk-results { display: block; min-width: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-empty { display: none; padding: 48px 0; font-size: 14.7px; font-weight: 300; text-align: center; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-empty .ftk-empty { display: block; }

/* ---------- Rejilla (post-template) ---------- */
:is(.ftk-root, .editor-styles-wrapper) .ftk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 29px 20px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; }
.ftk-grid > li { display: flex; min-width: 0; }
.ftk-grid > li[hidden], .ftk-grid > li.ftk-is-hidden { display: none; }

/* ---------- Tarjeta: TODO el bloque es un enlace (a.ftk-card-link) ---------- */
.ftk-root .ftk-card-link,
.ftk-root .ftk-card-link:hover,
.ftk-root .ftk-card-link:focus,
.ftk-root .ftk-card-link:visited { display: flex; flex: 1; min-width: 0; color: inherit; text-decoration: none; border-radius: 26px; }
.ftk-root .ftk-card-link:focus-visible { outline: 3px solid var(--ftk-text); outline-offset: 3px; }
.ftk-root .ftk-card-link * { text-decoration: none; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-card {
	position: relative;
	display: flex; flex: 1; flex-direction: row; flex-wrap: nowrap; align-items: flex-start; gap: 13px;
	min-width: 0; min-height: 284px;
	margin: 0; padding: 10px 30px 18px 12px;
	border-radius: 26px;
	background: var(--ftk-s-safe);
	font-family: var(--ftk-sans); color: var(--ftk-black);
	transition: background-color .2s ease;
}
/* Hover: sin sombra, el fondo se oscurece (−12 % hacia negro) */
.ftk-root .ftk-card-link:is(:hover, :focus-visible) .ftk-card { box-shadow: none; background: color-mix(in srgb, var(--ftk-s-safe) 88%, #000); }

.ftk-num {
	display: grid !important; place-items: center; flex: none;
	width: 65px; height: 65px; margin: 0 !important; padding: 0; border-radius: 50%;
	background: #fff; color: var(--ftk-c-safe);
	font-family: var(--ftk-sans); font-size: 30px !important; font-weight: 900; line-height: 1; letter-spacing: -.01em;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-card__body { position: static; display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 0; align-self: stretch; min-width: 0; padding-top: 3px; }
/* Título sin efecto hover (no es enlace: el enlace es la tarjeta entera) */
:is(.ftk-root, .editor-styles-wrapper) .ftk-card__title,
:is(.ftk-root, .editor-styles-wrapper) .ftk-card__title a,
.ftk-root .ftk-card-link:hover .ftk-card__title { position: static; margin: 0 0 13px; font-family: var(--ftk-serif); font-size: 22px; font-weight: 500; line-height: 23px; color: var(--ftk-text) !important; text-decoration: none !important; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-card__title a { margin: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-card__desc { margin: 0 0 18px; font-size: 14px; font-weight: 300; line-height: 16.8px; color: var(--ftk-black); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-card__desc p { margin: 0; font: inherit; line-height: inherit; color: inherit; }
/* Etiquetas: alineadas al texto, en fila; si no caben bajan de línea DENTRO de la tarjeta */
:is(.ftk-root, .editor-styles-wrapper) .ftk-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: 6px 9px; margin: auto 0 0 -3px; }
.ftk-tag { display: flex; flex: 0 1 auto; max-width: 100%; margin: 0; line-height: 1; }
.ftk-tag span { display: inline-block; max-width: 100%; height: 25px; padding: 0 12px; border-radius: 12.5px; background: #fff; font-size: 12px; font-weight: 300; line-height: 25px; color: var(--ftk-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ftk-tag--c span { background: var(--ftk-c-safe); }
.ftk-tag .wp-block-post-terms__separator { display: none; }

/* ==========================================================================
   FICHA DE HERRAMIENTA
   ========================================================================== */
:is(.ftk-root, .editor-styles-wrapper) .wp-block-columns.ftk-tool { gap: 48px; align-items: stretch !important; margin: 0; }
.ftk-root .ftk-tool > .ftk-tool__main { flex: 1 1 auto !important; min-width: 0; }
.ftk-root .ftk-tool > .ftk-tool__aside { position: relative; z-index: 1; flex: 0 0 295px !important; }

/* Cabecera: banda TRANSLÚCIDA a sangre completa (deja ver el fondo del sitio).
   Una sola banda: las pestañas se meten dentro con margen negativo, así no hay costuras ni dobles transparencias. */
:is(.ftk-root, .editor-styles-wrapper) .ftk-hero {
	--ftk-band: color-mix(in srgb, var(--ftk-c-safe) 35%, transparent);
	display: grid; grid-template-columns: 109px minmax(0, 1fr); column-gap: 18px; align-items: start;
	margin: 0 !important; padding: 39px 0 77px; /* 77 = 41 de aire + 36 de las pestañas */
	background: var(--ftk-band);
	box-shadow: 0 0 0 100vmax var(--ftk-band);
	clip-path: inset(0 -100vmax);
}
/* Degradado blanco → transparente desde lo alto de la página (0px) hasta la mitad de la banda.
   Capa con z-index -1: por encima del fondo del sitio (html/body) y POR DETRÁS de cabecera y banda.
   Altura = mitad de la banda medida en JS (--ftk-grad-h); sin JS no se pinta. */
body.single-ft_tool::before {
	content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0;
	height: var(--ftk-grad-h, 0px);
	background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0));
	pointer-events: none;
}
html.ftk-fade-layer body.single-ft_tool::before { display: none; }
.ftk-hero-fade { position: absolute; pointer-events: none; background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0)); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-num--xl { width: 109px; height: 109px; background: var(--ftk-c-safe); color: #fff; font-size: 50.8px !important; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-hero__body { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 0; }
.ftk-root .ftk-back,
.ftk-root .ftk-back:visited {
	display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
	height: 28px; margin: 0 0 12px; padding: 0 14px; border: 1px solid var(--ftk-text); border-radius: 14px;
	background: transparent; color: var(--ftk-text) !important;
	font-family: var(--ftk-sans); font-size: 12px; font-weight: 500; line-height: 1; text-decoration: none !important;
	transition: background-color .2s ease, color .2s ease;
}
.ftk-root .ftk-back:is(:hover, :focus-visible) { background: var(--ftk-text); color: #fff !important; }
.ftk-root .ftk-back:focus-visible { outline: 2px solid var(--ftk-text); outline-offset: 2px; }
.ftk-root .ftk-back + .ftk-eyebrow { margin-top: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-eyebrow { margin: 18px 0 1px; font-size: 9px; font-weight: 700; line-height: 11px; letter-spacing: 0; text-transform: uppercase; color: var(--ftk-black); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-hero__title { margin: 0 0 26px; font-family: var(--ftk-serif); font-size: 35.8px; font-weight: 400; line-height: 1.1; color: var(--ftk-text); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-lead { max-width: 503px; margin: 0 0 44px; font-size: 16px; font-weight: 300; line-height: 19.4px; /* mínimo 16px (antes 14/17) */ color: var(--ftk-black); white-space: pre-line; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-chips { display: flex; flex-wrap: wrap; gap: 9px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-chip { display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; height: 36px; margin: 0; padding: 0 11px; border-radius: 18px; background: #fff; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-chip--phase { padding: 0 10px 0 4px; background: var(--ftk-c-safe); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-chip--level { background: color-mix(in srgb, var(--ftk-l, #8cc63f) 25%, transparent); } /* identidad: color del nivel al 25 % */
:is(.ftk-root, .editor-styles-wrapper) .ftk-chip__dot { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin: 0; border-radius: 50%; background: #fff; color: var(--ftk-c-safe); font-size: 24.9px !important; font-weight: 700; line-height: 1; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-chip__txt { display: flex; flex-direction: column; gap: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-chip__k { margin: 0; font-size: 8px; font-weight: 600; line-height: 10px; color: var(--ftk-text); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-chip__v { margin: 0; font-size: 12px; font-weight: 300; line-height: 14px; color: var(--ftk-text); }

/* ---------- Pestañas (core/tabs) ---------- */
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs { margin: -36px 0 0 !important; position: relative; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list {
	display: flex; flex-wrap: nowrap; gap: 2px; margin: 0 0 0 calc(var(--ftk-indent) - 7px);
	background: none; box-shadow: none;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list [role="tab"] {
	height: 36px; min-height: 0; margin: 0; padding: 0 24px;
	border: 0 !important; border-radius: 22px 22px 0 0; box-shadow: none !important; outline-offset: -3px;
	background: var(--ftk-c-safe); color: #fff;
	font-family: var(--ftk-sans); font-size: 16.6px; font-weight: 700; line-height: 36px; text-decoration: none !important;
	cursor: pointer;
}
/* Sin la línea de color que core pinta bajo la pestaña activa */
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list [role="tab"]::before,
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list [role="tab"]::after { content: none !important; display: none !important; border: 0 !important; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list [role="tab"]:not([aria-selected="true"]):hover { background: var(--ftk-c-safe); color: var(--ftk-black); } /* = cabecera activa del acordeón */
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list [role="tab"][aria-selected="true"] { background: #fff; color: var(--ftk-c-safe); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list [role="tab"]:focus-visible { outline: 2px solid var(--ftk-text); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list [role="tab"]:focus:not(:focus-visible) { outline: none; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-panels { margin: 0; padding: 39px 0 72px var(--ftk-indent); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-panel {
	max-width: 596px; margin: 0; /* 548 × 16/14.7: mismo nº de caracteres por línea */
	font-size: 16px; font-weight: 300; line-height: 19.2px; color: var(--ftk-black);
}
.ftk-root .wp-block-tab-panel[hidden] { display: none; }
.ftk-root .wp-block-tab-panel:focus-visible { outline: 2px solid var(--ftk-c-safe); outline-offset: 8px; }
.ftk-root .wp-block-tab-panel > * + * { margin-top: 0; }
.ftk-root .wp-block-tab-panel :is(p, li, ul, ol):not([class*="ftk-"]) { font: inherit; line-height: inherit; color: inherit; } /* el tema no impone su interlineado */
.ftk-root .wp-block-tab-panel p:not([class*="ftk-"]) { margin: 0 0 19.2px; }
.ftk-root .wp-block-tab-panel :is(h2, h3, h4):not([class*="ftk-"]) { margin: 19.2px 0 0; font-family: var(--ftk-sans); font-size: 16px; font-weight: 600; line-height: 19.2px; color: var(--ftk-black); }
.ftk-root .wp-block-tab-panel > :first-child { margin-top: 0 !important; }
.ftk-root .wp-block-tab-panel :is(ul, ol):not(.ftk-steps) { margin: 0 0 19.2px; padding-left: 1.1em; }
.ftk-root .wp-block-tab-panel li { margin: 0; }
.ftk-root .wp-block-tab-panel img { max-width: 100%; height: auto; }

/* ---------- General Info como acordeón (opción "General Info as accordion"; render, sin tocar contenido) ---------- */
:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-panel.ftk-panel--acc { max-width: 603px; margin-left: -7px; } /* alineado con las pestañas */
.ftk-root .ftk-acc__intro { margin: 0 0 19.2px 7px; }
.ftk-root .ftk-acc { display: flex; flex-direction: column; gap: 6px; }
.ftk-root .ftk-acc__item { border-radius: 19px; background: var(--ftk-s-safe); }
.ftk-root .ftk-acc__item[open] { background: color-mix(in srgb, var(--ftk-s-safe) 35%, #fff); }
.ftk-root .ftk-acc__head {
	display: flex; align-items: center; min-height: 38px; padding: 0 15px;
	border-radius: 19px; list-style: none; cursor: pointer;
}
.ftk-root .ftk-acc__head::-webkit-details-marker { display: none; }
.ftk-root .ftk-acc__item[open] > .ftk-acc__head,
.ftk-root .ftk-acc__head:hover { background: var(--ftk-c-safe); }
.ftk-root .ftk-acc__head { transition: background-color .2s ease; }
.ftk-root .ftk-acc__head:focus-visible { outline: 2px solid var(--ftk-text); outline-offset: 2px; }
.ftk-root .ftk-acc__head:focus:not(:focus-visible) { outline: none; }
.ftk-root .wp-block-tab-panel .ftk-acc__head > :is(h2, h3, h4, h5, h6) { margin: 0 !important; font-family: var(--ftk-sans); font-size: 16px; font-weight: 600; line-height: 19.2px; color: var(--ftk-black); }
.ftk-root .ftk-acc__body { padding: 12px 15px 16px; }
.ftk-root .ftk-acc__body > :last-child { margin-bottom: 0; }

/* ---------- How to Use: grupo .ftk-steps con un grupo .ftk-step por paso (Título + Descripción) ---------- */
:is(.ftk-root, .editor-styles-wrapper) .ftk-steps { counter-reset: ftk-step; display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-step {
	counter-increment: ftk-step;
	position: relative; display: block; min-height: 35px; margin: 0; padding: 0 0 0 47px;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-step::before {
	content: counter(ftk-step);
	position: absolute; top: 0; left: 0;
	display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%;
	background: var(--ftk-c-safe); color: #fff;
	font-family: var(--ftk-sans); font-size: 25.1px; font-weight: 900; line-height: 1;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-step .ftk-step__title {
	margin: 0; padding-top: 7px;
	font-family: var(--ftk-sans); font-size: 16px; font-weight: 600; line-height: 19.2px; color: var(--ftk-black);
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-step .ftk-step__text {
	margin: 18px 0 0;
	font-family: var(--ftk-sans); font-size: 16px; font-weight: 300; line-height: 19.2px; color: var(--ftk-black);
}

/* ---------- Key Dimensions: carrusel (repeater: duplicar diapositiva) ---------- */
.ftk-carousel-wrap { position: relative; max-width: 596px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-carousel {
	counter-reset: ftk-dim;
	display: flex; flex-wrap: nowrap; gap: 0; align-items: stretch;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
	transition: height .25s ease; /* toolkit.js ajusta la altura a la diapositiva activa */
}
.ftk-root .ftk-carousel::-webkit-scrollbar { display: none; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-slide {
	counter-increment: ftk-dim;
	display: block; flex: 0 0 100%; min-width: 0; scroll-snap-align: start;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-slide__title {
	display: flex; align-items: center; gap: 11px; min-height: 50px; margin: 0; padding-right: 60px;
	font-family: var(--ftk-sans); font-size: 16px; font-weight: 600; line-height: 19.2px; color: var(--ftk-black);
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-slide__title::before {
	content: counter(ftk-dim);
	display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%;
	background: var(--ftk-c-safe); color: #fff; font-size: 35.2px; font-weight: 900; line-height: 1;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-slide__text { margin: 17px 0 0; font-size: 16px; font-weight: 300; line-height: 19.2px; color: var(--ftk-black); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-pill {
	display: inline-block; height: 23px; margin: 35px 0 0; padding: 0 9px; border-radius: 11.5px;
	background: var(--ftk-c-safe); color: var(--ftk-black);
	font-size: 10.3px; font-weight: 600; line-height: 23px;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-question { max-width: 360px; margin: 10px 0 0 4px; font-family: var(--ftk-serif); font-size: 21px; font-weight: 400; line-height: 25px; color: var(--ftk-text); }
.ftk-carousel__arrows { position: absolute; top: 13px; right: 6px; z-index: 1; display: flex; gap: 8px; }
.ftk-carousel-wrap:not(.is-js) .ftk-carousel__arrows,
.ftk-carousel-wrap.is-single .ftk-carousel__arrows { display: none; }
.ftk-root .ftk-carousel__arrows button {
	width: 16px; height: 23px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
	background: var(--ftk-c-safe) !important; cursor: pointer;
}
.ftk-root .ftk-carousel__prev { clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.ftk-root .ftk-carousel__next { clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ftk-root .ftk-carousel__arrows button:hover { background: color-mix(in srgb, var(--ftk-c-safe) 80%, #000) !important; }
.ftk-root .ftk-carousel__arrows button:focus-visible { outline: 2px solid var(--ftk-text); outline-offset: 2px; }
.ftk-carousel__dots { display: flex; gap: 4px; margin: 28px 0 0 1px; }
.ftk-root .ftk-carousel__dot {
	width: 14px; height: 14px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; box-shadow: none;
	background: var(--ftk-c-safe) !important; cursor: pointer;
}
.ftk-root .ftk-carousel__dot[aria-current="true"] { background: var(--ftk-text) !important; }
.ftk-root .ftk-carousel__dot:focus-visible { outline: 2px solid var(--ftk-text); outline-offset: 2px; }
.ftk-root :is(.ftk-carousel__arrows button, .ftk-carousel__dot, .ftk-toggle, .ftk-card-link):focus:not(:focus-visible) { outline: none; }

/* ---------- Recursos (grupo + botones core) ---------- */
:is(.ftk-root, .editor-styles-wrapper) .ftk-res {
	position: sticky; top: var(--ftk-sticky-top);
	display: flex; flex-direction: column; align-items: stretch; gap: 0;
	min-height: 413px; margin: 81px 0 0 !important; /* algunos temas anulan el margen del 1.er hijo de columna */ padding: 19px 19px 26px;
	border-radius: 30px; background: var(--ftk-c-safe);
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-res__title { margin: 0 0 15px; color: #fff; font-size: 9px; font-weight: 700; line-height: 11px; text-transform: uppercase; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-res__btns { flex-direction: column; align-items: flex-start; gap: 8px; margin: 0 0 10px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-res .wp-block-button { margin: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-res .wp-block-button .wp-block-button__link.wp-element-button:is(a, div) {
	display: inline-flex; align-items: center; gap: 7px;
	height: 36px; padding: 0 18px 0 3px; border: 0; border-radius: 18px;
	background: #fff !important; color: var(--ftk-text) !important;
	font-family: var(--ftk-sans); font-size: 12px; font-weight: 500; line-height: 1; text-align: left; text-decoration: none;
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-res .ftk-res__btn .wp-block-button__link.wp-element-button:is(a, div):hover,
:is(.ftk-root, .editor-styles-wrapper) .ftk-res .ftk-res__btn .wp-block-button__link.wp-element-button:is(a, div):focus { background: var(--ftk-s-safe) !important; color: var(--ftk-black) !important; box-shadow: none; }
.ftk-res__btn .wp-block-button__link::before {
	content: ""; flex: none; width: 31px; height: 31px; border-radius: 50%;
	background: var(--ftk-icon) no-repeat center / 17px 17px;
}
.ftk-ico-download .wp-block-button__link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0-4-4m4 4 4-4M5 19h14'/%3E%3C/svg%3E"); }
.ftk-ico-doc .wp-block-button__link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7zM14 3v5h5M12 11v6M12 9v.01'/%3E%3C/svg%3E"); }
.ftk-ico-board .wp-block-button__link::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M15.5 4h2.7l-2.6 7 3.4-7H22l-4 16h-2.7l2.4-9.6L14.6 20h-2.7l2.4-9.6L11.2 20H8.5l2.4-9.6L7.8 20H5.1l4-16h2.7l-2.6 7 3.4-7h2.7l-2.6 7z'/%3E%3C/svg%3E"); }
:is(.ftk-root, .editor-styles-wrapper) .ftk-res__preview { max-width: 213px; margin: 15px 0 0; }
.ftk-root .ftk-res:not(:has(.ftk-res__preview img)) { min-height: 0; } /* sin imagen destacada, su hueco no ocupa altura */
:is(.ftk-root, .editor-styles-wrapper) .ftk-res__preview img { display: block; width: 100%; height: auto; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-res__foot { margin: auto 0 0; padding-top: 19px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-res .ftk-res__back .wp-block-button__link.wp-element-button:is(a, div) { padding: 0 17px; border-radius: 16.7px; background: var(--ftk-text) !important; color: #fff !important; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-res .ftk-res__back .wp-block-button__link.wp-element-button:is(a, div):hover,
:is(.ftk-root, .editor-styles-wrapper) .ftk-res .ftk-res__back .wp-block-button__link.wp-element-button:is(a, div):focus { background: var(--ftk-s-safe) !important; color: var(--ftk-black) !important; }

/* ---------- Relacionadas: banda gris a sangre completa hasta la mitad de las tarjetas (::before) ---------- */
:is(.ftk-root, .editor-styles-wrapper) .ftk-related { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 32px; margin: 0 0 96px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-related__title {
	position: relative; z-index: 1;
	margin: 0; padding-top: 31px; /* 31 + 11 (línea) + 32 (gap) = 74 → top del ::before */
	font-family: var(--ftk-sans); font-size: 9px; font-weight: 700; line-height: 11px; text-transform: uppercase; color: var(--ftk-black);
}
:is(.ftk-root, .editor-styles-wrapper) .ftk-related__query { margin: 0; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-related__grid { position: relative; isolation: isolate; column-gap: 17px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ftk-root .ftk-related__grid::before {
	content: "";
	position: absolute; z-index: -1;
	top: -74px; bottom: 50%; left: 0; right: 0;
	background: var(--ftk-grey);
	box-shadow: 0 0 0 100vmax var(--ftk-grey);
	clip-path: inset(0 -100vmax);
}
/* Tarjeta relacionada = misma tarjeta a escala 0,91 (medidas del diseño) */
.ftk-related .ftk-card-link { border-radius: 23.5px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-related .ftk-card { min-height: 259px; gap: 9px; padding: 9px 26px 16px 10px; border-radius: 23.5px; }
.ftk-related .ftk-num { width: 59px; height: 59px; font-size: 27.4px !important; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-related .ftk-card__title,
.ftk-root .ftk-related .ftk-card-link:hover .ftk-card__title { margin-bottom: 12px; font-size: 20.1px; line-height: 21px; }
:is(.ftk-root, .editor-styles-wrapper) .ftk-related .ftk-card__desc { margin-bottom: 16px; font-size: 12.8px; line-height: 15.3px; }
.ftk-related .ftk-tag span { height: 23px; padding: 0 11px; border-radius: 11.5px; font-size: 11px; line-height: 23px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
	:is(.ftk-root, .editor-styles-wrapper) .ftk-archive { grid-template-columns: 280px minmax(0, 1fr); }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-card__title, .ftk-root .ftk-card-link:hover .ftk-card__title { font-size: 20px; line-height: 21px; }
	:is(.ftk-root, .editor-styles-wrapper) .wp-block-columns.ftk-tool { gap: 32px; }
	.ftk-root .ftk-tool > .ftk-tool__aside { flex-basis: 260px !important; }
}
@media (max-width: 899px) {
	.ftk-root { --ftk-indent: 97px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-archive, :is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed { grid-template-columns: minmax(0, 1fr); }
	.ftk-filters-form { position: static; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-filters { max-height: none; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-filters { height: auto; border-radius: 18px; overflow: hidden; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-filters__bar { flex-direction: row; padding: 12px 14px 12px 21px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-filters__label { order: 0; margin-right: auto; writing-mode: horizontal-tb; font-size: 14.2px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-filters .ftk-filters__bar .ftk-toggle { transform: rotate(90deg); }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-filters .ftk-filters__bar .ftk-toggle { transform: rotate(-90deg); }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-toggle::after { inset: -10px -2000px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-grid, :is(.ftk-root, .editor-styles-wrapper) .ftk-grid, :is(.ftk-root, .editor-styles-wrapper) .ftk-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-hero { grid-template-columns: 79px minmax(0, 1fr); padding-top: 32px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-num--xl { width: 79px; height: 79px; font-size: 36px !important; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-res { position: static; min-height: 0; margin: 40px 0 0 !important; }
}
@media (max-width: 781px) {
	.ftk-root .ftk-tool > .ftk-tool__aside { flex-basis: 100% !important; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-res { margin: 0 0 40px !important; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-res__preview { max-width: 100%; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-panels { padding-bottom: 40px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list { overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 599px) {
	.ftk-root .ftk-help { top: -16px; left: -24px; }
	.ftk-root dialog.ftk-intro { padding: 84px 28px 40px; border-radius: 28px; }
	.ftk-intro__icon { top: 24px; left: 24px; width: 50px; height: 50px; font-size: 32px; }
	.ftk-intro .ftk-intro__title { margin-top: 0; }
	.ftk-root { --ftk-indent: 0px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-archive.is-collapsed .ftk-grid, :is(.ftk-root, .editor-styles-wrapper) .ftk-grid, :is(.ftk-root, .editor-styles-wrapper) .ftk-grid--3 { grid-template-columns: minmax(0, 1fr); }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-card, :is(.ftk-root, .editor-styles-wrapper) .ftk-related .ftk-card { min-height: 0; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-landing__title { font-size: 30px; line-height: 33px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-hero { grid-template-columns: 60px minmax(0, 1fr); column-gap: 14px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-num--xl { width: 60px; height: 60px; font-size: 27px !important; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-eyebrow { margin-top: 6px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-hero__title { font-size: 28px; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-list [role="tab"] { flex: 0 0 auto; padding-inline: 16px; font-size: 16px; white-space: nowrap; scroll-snap-align: start; }
	:is(.ftk-root, .editor-styles-wrapper) .ftk-tabs .wp-block-tab-panels { padding-top: 28px; }
}
/* Móvil/tablet: pestañas deslizables en horizontal (sin barra visible). La activa se centra al pulsarla (toolkit.js). */
@media (max-width: 781px) {
	.ftk-root .ftk-tabs .wp-block-tab-list {
		overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
		scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	}
	.ftk-root .ftk-tabs .wp-block-tab-list::-webkit-scrollbar { display: none; }
	.ftk-root .ftk-tabs .wp-block-tab-list [role="tab"] { flex: 0 0 auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	.ftk-root .ftk-card, .ftk-toggle { transition: none; }
	.ftk-carousel { scroll-behavior: auto; }
}

/* ==========================================================================
   EDITOR: mismas reglas (arriba), sin banda a sangre ni sticky
   ========================================================================== */
.editor-styles-wrapper .ftk-hero { box-shadow: none !important; clip-path: none !important; border-radius: 16px 16px 0 0; padding-inline: 16px; padding-bottom: 24px; }
.editor-styles-wrapper .ftk-tabs { margin-top: 0 !important; }
.editor-styles-wrapper .ftk-res,
.editor-styles-wrapper .ftk-filters-form { position: static; }
.editor-styles-wrapper .ftk-archive .ftk-filters { max-height: none; }
.editor-styles-wrapper .wp-block.ftk-landing,
.editor-styles-wrapper .wp-block.ftk-tool,
.editor-styles-wrapper .wp-block.ftk-related { max-width: 1086px !important; }
.editor-styles-wrapper :is(.ftk-landing, .ftk-tool, .ftk-related) .wp-block { max-width: none !important; }
.editor-styles-wrapper .ftk-grid { list-style: none; padding: 0; }
.editor-styles-wrapper .ftk-filter .wp-block-term-template { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.editor-styles-wrapper .ftk-filter .wp-block-term-name { margin: 0; font-size: 14.2px; font-weight: 300; line-height: 18px; }
.editor-styles-wrapper .ftk-filter .wp-block-term-name a { color: inherit; text-decoration: none; }
/* Carrusel en el editor: diapositivas apiladas para editarlas todas */
.editor-styles-wrapper .ftk-carousel { display: flex; flex-direction: column; gap: 24px; overflow: visible; }
.editor-styles-wrapper .ftk-slide { flex: none; padding: 16px; border: 1px dashed #c3c4c7; border-radius: 12px; }
.editor-styles-wrapper .ftk-tool .ftk-tool__aside { flex: 0 0 295px !important; }

/* Editor: etiqueta visible de cada paso / diapositiva (el botón "Add step" / "Add dimension" está en la barra del bloque) */
.editor-styles-wrapper .ftk-steps { gap: 20px; }
.editor-styles-wrapper .ftk-step { padding-top: 22px; padding-bottom: 8px; border: 1px dashed #c3c4c7; border-radius: 12px; }
.editor-styles-wrapper .ftk-step::before { top: 22px; left: 8px; }
.editor-styles-wrapper .ftk-step { padding-left: 55px; }
.editor-styles-wrapper .ftk-slide { position: relative; padding-top: 30px; }
.editor-styles-wrapper :is(.ftk-step, .ftk-slide)::after {
	position: absolute; top: 4px; left: 10px;
	font: 600 10px/14px system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #757575;
}
.editor-styles-wrapper .ftk-step::after { content: "Step " counter(ftk-step); }
.editor-styles-wrapper .ftk-slide::after { content: "Dimension " counter(ftk-dim) " · front: carousel"; }
