/*
 * Coches10 1.2 — capa de diseño compartida (web pública y editor de bloques).
 * Tokens, fuente local y clases .c10-* para usar en bloques (Avanzado > Clases CSS adicionales).
 *
 * Los selectores de componentes empiezan por "body": en la web pesan lo justo para ganar
 * a Kadence, y en el editor WordPress convierte "body" en ".editor-styles-wrapper".
 */

/* 01. Fuente: Archivo variable (peso 400–800, ancho 100–125), subconjunto latino. SIL OFL 1.1. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-c10.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 101.7%;
  ascent-override: 86.4%;
  descent-override: 20.7%;
  line-gap-override: 0%;
}

/* 02. Tokens */
:root {
  --c10-ink: #1a1d21;        /* Asfalto: texto, fondos oscuros */
  --c10-ink-2: #3a414b;      /* Asfalto claro: líneas sobre oscuro */
  --c10-text-2: #5a6270;     /* Texto secundario (6,1:1 sobre blanco) */
  --c10-grey: #eef0f2;       /* Gris arcén: bandas y tarjetas */
  --c10-line: #d5dae1;       /* Bordes */
  --c10-on-dark: #c9ced6;    /* Texto secundario sobre oscuro */
  --c10-white: #ffffff;
  --c10-yellow: #ffcc00;     /* Amarillo baliza: llamadas a la acción */
  --c10-yellow-2: #e6b800;
  --c10-blue: #0a4fa6;       /* Azul autovía: enlaces */
  --c10-blue-2: #083b7d;

  --c10-font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --c10-wrap: 1280px;
  --c10-gutter: clamp(20px, 4vw, 48px);
  --c10-radius: 6px;
  --c10-radius-lg: 8px;
  --c10-band: clamp(48px, 7vw, 96px);
  --c10-shadow: 0 2px 0 rgba(26, 29, 33, .08), 0 18px 40px rgba(26, 29, 33, .16);

  --c10-ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  --c10-ico-ruler: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15.5L15.5 3 21 8.5 8.5 21z'/%3E%3Cpath d='M7 11.5l2 2M10 8.5l2 2M13 5.5l2 2'/%3E%3C/svg%3E");
  --c10-ico-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l9-9M17 6l3 3M15 8l2 2'/%3E%3C/svg%3E");
  --c10-ico-wrench: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6.5a4 4 0 0 0 5 5L12 19a2.1 2.1 0 0 1-3-3z'/%3E%3Cpath d='M14.5 6.5L17 4l3 3-2.5 2.5'/%3E%3C/svg%3E");
}

/* 03. Contenedor y bandas (Grupo, alineación "Ancho completo").
 * c10-band + variante de color; dentro, un Grupo c10-wrap centra el contenido. */
body .c10-wrap { max-width: var(--c10-wrap); margin-inline: auto; padding-inline: var(--c10-gutter); box-sizing: border-box; }
body .c10-band { padding-block: var(--c10-band); margin-block: 0; }
body .c10-band--grey { background: var(--c10-grey); }
body .c10-band--dark { background: var(--c10-ink); color: var(--c10-white); }
body .c10-band--yellow { background: var(--c10-yellow); color: var(--c10-ink); }
body .c10-band--dark :where(h1, h2, h3, h4, strong) { color: var(--c10-white); }
body .c10-band--dark :where(p, li) { color: var(--c10-on-dark); }
body .c10-band--dark :where(a:not(.wp-block-button__link)) { color: var(--c10-white); }
body .c10-band--yellow :where(h1, h2, h3, h4, p, li, a:not(.wp-block-button__link)) { color: var(--c10-ink); }
body .c10-band--flush-top { padding-block-start: 0; }
body .c10-band > :first-child, body .c10-wrap > :first-child { margin-block-start: 0; }
body .c10-band > :last-child, body .c10-wrap > :last-child { margin-block-end: 0; }

/* 04. Tipografía de impacto. */
body .c10-display {
  font-family: var(--c10-font);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.5rem, 1.2rem + 6vw, 6.75rem);
  line-height: .92;
  letter-spacing: -.025em;
  max-width: 13ch;
  margin-block: 0 .3em;
  text-wrap: balance;
}
body .c10-display--md { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); max-width: 16ch; line-height: .96; }
body .c10-lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.45; max-width: 46ch; color: #3a414b; }
body .c10-band--dark .c10-lead { color: var(--c10-on-dark); }
body .c10-band--yellow .c10-lead { color: var(--c10-ink); }
body .c10-note { font-size: .875rem; line-height: 1.5; color: var(--c10-text-2); }
body .c10-band--dark .c10-note { color: var(--c10-on-dark); }
body .c10-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-block-end: 1.5rem; }
body .c10-head-row > * { margin: 0; }
body .c10-head-row a { font-weight: 700; }

/* 05. Listas: c10-checks (con marca de verificación) y c10-chips (enlaces en píldora). */
body .c10-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
body .c10-checks > li { position: relative; margin: 0; padding-inline-start: 2rem; }
body .c10-checks > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .15em;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--c10-check, var(--c10-blue));
  -webkit-mask: var(--c10-ico-check) center / contain no-repeat;
  mask: var(--c10-ico-check) center / contain no-repeat;
}
body .c10-band--dark .c10-checks { --c10-check: var(--c10-yellow); }
body .c10-band--yellow .c10-checks { --c10-check: var(--c10-ink); }
body .c10-checks--inline { flex-direction: row; flex-wrap: wrap; gap: .6rem 1.5rem; font-weight: 600; font-size: .9375rem; }
body .c10-checks--ruled { gap: 0; border-block-start: 1px solid var(--c10-ink-2); }
body .c10-checks--ruled > li { padding-block: .85rem; padding-inline-start: 2.1rem; border-block-end: 1px solid var(--c10-ink-2); }
body .c10-checks--ruled > li::before { top: 1rem; }
body .c10-checks--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .9rem 2rem; }

body .c10-chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; }
body .c10-chips > li { margin: 0; }
body .c10-chips > li:not(:has(a)) { color: var(--c10-text-2); font-weight: 600; margin-inline-end: .25rem; }
body .c10-chips a { display: inline-flex; align-items: center; min-height: 34px; padding: .3rem .8rem; border-radius: 999px; background: var(--c10-grey); color: var(--c10-ink); font-weight: 600; text-decoration: none; }
body .c10-chips a:hover { background: var(--c10-yellow); }
body .c10-band--grey .c10-chips a { background: var(--c10-white); }
body .c10-band--grey .c10-chips a:hover { background: var(--c10-yellow); }
body .c10-console .c10-chips a { background: var(--c10-grey); }
body .c10-console .c10-chips a:hover { background: var(--c10-yellow); }

/* Pasos numerados (contenido que sí es una secuencia). */
body .c10-steps { list-style: none; counter-reset: c10step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
body .c10-steps > li { counter-increment: c10step; margin: 0; padding: 1.4rem 1.4rem 1.5rem; background: var(--c10-grey); border-radius: var(--c10-radius); font-size: 1rem; }
body .c10-steps > li::before { content: counter(c10step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-block-end: .9rem; border-radius: 50%; background: var(--c10-yellow); color: var(--c10-ink); font-weight: 800; font-size: 1.25rem; }
body .c10-band--grey .c10-steps > li { background: var(--c10-white); }
body .c10-steps strong { display: block; font-size: 1.1875rem; margin-block-end: .25rem; }

/* 06. Portada: imagen grande y consola de búsqueda que se monta encima. */
body .c10-hero-img { margin: 0; }
body .c10-hero-img img { display: block; width: 100%; height: clamp(260px, 40vw, 540px); object-fit: cover; object-position: 72% 60%; border-radius: var(--c10-radius); }
body .c10-console {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: -150px clamp(0px, 3vw, 40px) 0;
  background: var(--c10-white);
  color: var(--c10-ink);
  border-radius: var(--c10-radius-lg);
  box-shadow: var(--c10-shadow);
}
body .c10-console--padded { padding: clamp(18px, 3vw, 32px); }
@media (max-width: 760px) { body .c10-console { margin-top: -48px; margin-inline: 0; } }

/* Pestañas de Kadence Blocks dentro de la consola (Pestañas con la clase c10-tabs). */
body .c10-tabs.wp-block-kadence-tabs { margin: 0; }
body .c10-tabs .kt-tabs-wrap > .kt-tabs-title-list { display: flex; flex-wrap: nowrap; margin: 0; padding: 0; border: 0; border-radius: var(--c10-radius-lg) var(--c10-radius-lg) 0 0; overflow: hidden; }
body .c10-tabs .kt-tabs-wrap > .kt-tabs-title-list > li { flex: 1 1 0; margin: 0; padding: 0; border: 0; list-style: none; }
body .c10-tabs .kt-tabs-wrap > .kt-tabs-title-list > li > a.kt-tab-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 60px;
  margin: 0;
  padding: 0 1rem;
  border: 0;
  border-radius: 0;
  background: #e3e6ea;
  color: #4a515c;
  box-shadow: inset 0 -1px 0 var(--c10-line);
  font-family: var(--c10-font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
body .c10-tabs .kt-tabs-wrap > .kt-tabs-title-list > li > a.kt-tab-title::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--c10-ico-ruler) center / contain no-repeat;
  mask: var(--c10-ico-ruler) center / contain no-repeat;
}
body .c10-tabs .kt-tabs-wrap > .kt-tabs-title-list > li.kt-title-item-2 > a.kt-tab-title::before { -webkit-mask-image: var(--c10-ico-key); mask-image: var(--c10-ico-key); }
body .c10-tabs .kt-tabs-wrap > .kt-tabs-title-list > li.kt-title-item-3 > a.kt-tab-title::before { -webkit-mask-image: var(--c10-ico-wrench); mask-image: var(--c10-ico-wrench); }
body .c10-tabs .kt-tabs-wrap > .kt-tabs-title-list > li > a.kt-tab-title:hover { color: var(--c10-ink); background: #edf0f3; }
body .c10-tabs .kt-tabs-wrap > .kt-tabs-title-list > li.kt-tab-title-active > a.kt-tab-title { background: var(--c10-white); color: var(--c10-ink); box-shadow: inset 0 5px 0 var(--c10-yellow); }
body .c10-tabs .kt-tabs-wrap > .kt-tabs-content-wrap { border: 0; background: transparent; }
/* Solo se ve el panel activo (Kadence cambia la clase kt-active-tab-N al pulsar). */
body:not(.editor-styles-wrapper) .c10-tabs .kt-tabs-wrap > .kt-tabs-content-wrap > .wp-block-kadence-tab { display: none; }
body .c10-tabs .kt-tabs-wrap.kt-active-tab-1 > .kt-tabs-content-wrap > .kt-inner-tab-1,
body .c10-tabs .kt-tabs-wrap.kt-active-tab-2 > .kt-tabs-content-wrap > .kt-inner-tab-2,
body .c10-tabs .kt-tabs-wrap.kt-active-tab-3 > .kt-tabs-content-wrap > .kt-inner-tab-3,
body .c10-tabs .kt-tabs-wrap.kt-active-tab-4 > .kt-tabs-content-wrap > .kt-inner-tab-4,
body .c10-tabs .kt-tabs-wrap.kt-active-tab-5 > .kt-tabs-content-wrap > .kt-inner-tab-5,
body .c10-tabs .kt-tabs-wrap.kt-active-tab-6 > .kt-tabs-content-wrap > .kt-inner-tab-6 { display: block; }
body .c10-tabs .kt-tabs-wrap > .kt-tabs-content-wrap > .wp-block-kadence-tab > .kt-tab-inner-content-inner { padding: clamp(18px, 3vw, 32px); border: 0; background: transparent; }
body .c10-tabs .kt-tab-inner-content-inner > :first-child { margin-block-start: 0; }
body .c10-tabs .kt-tab-inner-content-inner > :last-child { margin-block-end: 0; }
@media (max-width: 480px) {
  body .c10-tabs .kt-tabs-wrap > .kt-tabs-title-list > li > a.kt-tab-title { flex-direction: column; gap: .2rem; font-size: .8125rem; min-height: 64px; padding: 0 .4rem; }
}

/* Consola sin Kadence Blocks: Columnas con la clase c10-actions (tres acciones). */
body .c10-actions { gap: 0 !important; margin: 0; }
body .c10-actions > .wp-block-column { padding: clamp(18px, 2.4vw, 26px); border-inline-start: 1px solid var(--c10-line); }
body .c10-actions > .wp-block-column:first-child { border-inline-start: 0; box-shadow: inset 0 5px 0 var(--c10-yellow); }
body .c10-actions :where(h2, h3) { display: flex; align-items: center; gap: .55rem; margin: 0 0 .75rem; font-size: 1.1875rem; font-stretch: 100%; }
body .c10-actions :where(h2, h3)::before { content: ""; flex: none; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--c10-ico-ruler) center / contain no-repeat; mask: var(--c10-ico-ruler) center / contain no-repeat; }
body .c10-actions > .wp-block-column:nth-child(2) :where(h2, h3)::before { -webkit-mask-image: var(--c10-ico-key); mask-image: var(--c10-ico-key); }
body .c10-actions > .wp-block-column:nth-child(3) :where(h2, h3)::before { -webkit-mask-image: var(--c10-ico-wrench); mask-image: var(--c10-ico-wrench); }
@media (max-width: 781px) {
  body .c10-actions > .wp-block-column { border-inline-start: 0; border-block-start: 1px solid var(--c10-line); }
  body .c10-actions > .wp-block-column:first-child { border-block-start: 0; }
}

/* Buscador grande: bloque Buscar con la clase c10-search. */
body .c10-search .wp-block-search__label { display: block; margin-block-end: .4rem; font-size: .875rem; font-weight: 700; }
body .c10-search .wp-block-search__inside-wrapper { display: flex; flex-wrap: wrap; gap: .75rem; border: 0; padding: 0; }
body .c10-search .wp-block-search__input {
  flex: 1 1 16rem;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0 .9rem;
  border: 1.5px solid #a9b0ba;
  border-radius: var(--c10-radius);
  background: var(--c10-white);
  color: var(--c10-ink);
  font-family: var(--c10-font);
  font-size: 1.0625rem;
}
body .c10-search .wp-block-search__input:focus { border-color: var(--c10-ink); outline: 3px solid var(--c10-blue); outline-offset: 1px; }
body .c10-search .wp-block-search__button {
  flex: 0 1 12rem;
  height: 52px;
  margin: 0;
  padding: 0 1.4rem;
  border: 0;
  border-radius: var(--c10-radius);
  background: var(--c10-yellow);
  color: var(--c10-ink);
  font-family: var(--c10-font);
  font-size: 1.125rem;
  font-weight: 800;
  cursor: pointer;
}
body .c10-search .wp-block-search__button:hover { background: var(--c10-yellow-2); }
@media (max-width: 560px) { body .c10-search .wp-block-search__button { flex: 1 1 100%; } }

/* 07. Tarjetas de acceso: Grupo c10-tile con Imagen + Grupo + Título con enlace.
 * El enlace del título cubre toda la tarjeta (un clic en cualquier punto). */
body .c10-tile { position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; background: var(--c10-grey); border-radius: var(--c10-radius); overflow: hidden; }
body .c10-tile > .wp-block-image { margin: 0; }
body .c10-tile > .wp-block-image img { display: block; width: 100%; height: 190px; object-fit: cover; }
body .c10-tile--big > .wp-block-image { position: relative; flex: 1 1 auto; min-height: 360px; }
body .c10-tile--big > .wp-block-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 70%; }
body .c10-tile__body { padding: 1.15rem 1.4rem 1.3rem; }
body .c10-tile--big .c10-tile__body { padding: 1.5rem 1.75rem 1.6rem; }
body .c10-tile__body > :first-child { margin-block-start: 0; }
body .c10-tile__body > :last-child { margin-block-end: 0; }
body .c10-tile :where(h2, h3) { margin: 0 0 .3rem; font-size: 1.5rem; line-height: 1.05; }
body .c10-tile--big :where(h2, h3) { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); }
body .c10-tile :where(h2, h3) a { color: var(--c10-ink); text-decoration: none; }
body .c10-tile :where(h2, h3) a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
body .c10-tile :where(h2, h3) a:focus-visible { outline: none; }
body .c10-tile:has(:where(h2, h3) a:focus-visible) { outline: 3px solid var(--c10-blue); outline-offset: 3px; }
body .c10-tile :where(p) { margin: 0 0 .6rem; color: #3a414b; font-size: 1rem; }
body .c10-tile__cta { font-weight: 800; color: var(--c10-blue) !important; }
body .c10-tile:hover .c10-tile__cta { text-decoration: underline; }
body .c10-tile__cta--button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.25rem; border-radius: var(--c10-radius); background: var(--c10-yellow); color: var(--c10-ink) !important; }
body .c10-tile:hover .c10-tile__cta--button { text-decoration: none; background: var(--c10-yellow-2); }

/* Columna con varias tarjetas apiladas: Grupo c10-stack. */
body .c10-stack { display: flex; flex-direction: column; gap: 20px; height: 100%; }
body .c10-stack > * { flex: 1 1 auto; margin: 0 !important; }

/* Ilustración suelta con esquinas redondeadas: Imagen con la clase c10-art. */
body .c10-art { margin: 0; }
body .c10-art img { display: block; width: 100%; height: auto; border-radius: var(--c10-radius); }

/* Carril horizontal de categorías: Grupo c10-rail con Grupos c10-type (Imagen + Párrafo con enlace). */
body .c10-rail { display: flex; flex-wrap: nowrap; gap: 1rem; overflow-x: auto; padding-block-end: .5rem; scroll-snap-type: x proximity; }
body .c10-rail > * { margin: 0 !important; }
body .c10-type { position: relative; flex: 0 0 200px; scroll-snap-align: start; }
body .c10-type .wp-block-image { margin: 0 0 .6rem; }
body .c10-type .wp-block-image img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: var(--c10-radius); }
body .c10-type p { margin: 0; font-weight: 800; font-size: 1.125rem; }
body .c10-type p a { color: var(--c10-ink); text-decoration: none; }
body .c10-type p a::after { content: ""; position: absolute; inset: 0; }
body .c10-type:hover p a { text-decoration: underline; }

/* Tarjeta blanca de llamada a la acción (sobre banda oscura o gris). */
body .c10-cta-card { background: var(--c10-white); color: var(--c10-ink); border-radius: var(--c10-radius-lg); padding: clamp(22px, 3vw, 32px); }
body .c10-cta-card :where(h2, h3, h4, p, li, strong) { color: var(--c10-ink); }
body .c10-cta-card .c10-note { color: var(--c10-text-2); }
body .c10-cta-card a:not(.wp-block-button__link), body .c10-band--dark .c10-cta-card a:not(.wp-block-button__link) { color: var(--c10-blue); }
body .c10-cta-card > :first-child { margin-block-start: 0; }
body .c10-cta-card > :last-child { margin-block-end: 0; }
body .c10-cta-card .wp-block-buttons, body .c10-cta-card .wp-block-button, body .c10-cta-card .wp-block-button__link { width: 100%; }

/* Precio destacado dentro de una tarjeta. */
body :where(.c10-card, .c10-cta-card) .wp-block-buttons { margin-block-start: 1.25rem; }
body .c10-price { font-stretch: 112%; font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; margin-block: .2rem .6rem; }

/* 08. Últimas fichas y guías: Bucle de consulta con la clase c10-posts (y c10-posts--list para la lista lateral). */
body .c10-posts .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
body .c10-posts .wp-block-post { position: relative; margin: 0; }
body .c10-posts .wp-block-post-featured-image { margin: 0 0 .9rem; }
body .c10-posts .wp-block-post-featured-image img { display: block; width: 100%; height: clamp(240px, 26vw, 360px); object-fit: cover; border-radius: var(--c10-radius); background: var(--c10-grey); }
body .c10-posts .wp-block-post-terms { margin: 0 0 .4rem; font-size: .875rem; font-weight: 700; }
body .c10-posts .wp-block-post-terms a { color: var(--c10-blue); text-decoration: none; position: relative; z-index: 2; }
body .c10-posts .wp-block-post-title { margin: 0; font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.05; }
body .c10-posts .wp-block-post-title a { color: var(--c10-ink); text-decoration: none; }
body .c10-posts .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
body .c10-posts .wp-block-post:hover .wp-block-post-title a { text-decoration: underline; text-decoration-thickness: 2px; }
body .c10-posts--list .wp-block-post-template { display: flex; flex-direction: column; gap: 1.5rem; }
body .c10-posts--list .wp-block-post { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1rem; align-content: start; }
body .c10-posts--list .wp-block-post-featured-image { grid-row: 1 / span 2; margin: 0; }
body .c10-posts--list .wp-block-post-featured-image img { height: 100px; }
body .c10-posts--list .wp-block-post-title { font-stretch: 100%; font-size: 1.1875rem; line-height: 1.15; }

/* 09. Botón oscuro: Botón con la clase c10-btn-dark (para bandas amarillas). */
body .c10-btn-dark .wp-block-button__link, body .wp-block-button__link.c10-btn-dark { background: var(--c10-ink) !important; color: var(--c10-white) !important; }
body .c10-btn-dark .wp-block-button__link:hover, body .wp-block-button__link.c10-btn-dark:hover { background: #000000 !important; }
body .c10-link-strong a, body a.c10-link-strong { font-weight: 800; }

/* 10. Barra de accesos fija en móvil: Grupo c10-mbar con tres Párrafos con enlace. */
body .c10-mbar { display: none; }
@media (max-width: 767px) {
  body:not(.editor-styles-wrapper) .c10-mbar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 99;
    display: flex !important;
    margin: 0 !important;
    padding: 0 0 env(safe-area-inset-bottom);
    gap: 0;
    background: var(--c10-white);
    border-block-start: 1px solid var(--c10-line);
    box-shadow: 0 -6px 18px rgba(26, 29, 33, .1);
  }
  body:has(.c10-mbar) { padding-bottom: 64px; }
}
body .c10-mbar > p { flex: 1 1 0; margin: 0 !important; }
body .c10-mbar > p > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: var(--c10-ink); font-size: .75rem; font-weight: 700; text-decoration: none; }
body .c10-mbar > p > a::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--c10-ico-ruler) center / contain no-repeat; mask: var(--c10-ico-ruler) center / contain no-repeat; }
body .c10-mbar > p:nth-child(2) > a { background: var(--c10-yellow); }
body .c10-mbar > p:nth-child(2) > a::before { -webkit-mask-image: var(--c10-ico-key); mask-image: var(--c10-ico-key); }
body .c10-mbar > p:nth-child(3) > a::before { -webkit-mask-image: var(--c10-ico-wrench); mask-image: var(--c10-ico-wrench); }

/* 11. Contenido editorial: tablas de especificaciones, anuncios y avisos (de versiones anteriores, con el nuevo estilo). */
body .c10-specs { overflow-x: auto; margin: 1.5rem 0; }
body .c10-specs table { width: 100%; border-collapse: collapse; background: var(--c10-white); font-size: 1rem; font-variant-numeric: tabular-nums lining-nums; }
body .c10-specs :where(th, td) { padding: .7rem .9rem; border: 0; border-block-end: 1px solid var(--c10-line); text-align: end; }
body .c10-specs :where(th, td):first-child { text-align: start; color: var(--c10-text-2); }
body .c10-specs thead :where(th, td) { border-block-end: 2px solid var(--c10-ink); color: var(--c10-ink); font-weight: 800; background: none; }
body .c10-specs tbody td:not(:first-child) { color: var(--c10-ink); font-weight: 700; }
@media (max-width: 767px) { body .c10-specs :where(th, td):first-child { position: sticky; inset-inline-start: 0; background: var(--c10-white); } }

body .c10-ad { --c10-ad-h: 120px; position: relative; display: grid; place-items: center; min-height: calc(var(--c10-ad-h) + 2.25rem); margin-block: 2.25rem; padding: 2.25rem .75rem .75rem; border-block: 1px solid var(--c10-line); }
body .c10-ad::before { content: "Publicidad"; position: absolute; top: .6rem; inset-inline-start: 0; padding: .1rem .45rem; border-radius: 4px; background: var(--c10-yellow); color: var(--c10-ink); font-size: .8125rem; font-weight: 700; line-height: 1.4; }
body .c10-ad--banner { --c10-ad-h: 100px; }
body .c10-ad--rect { --c10-ad-h: 280px; }
@media (min-width: 768px) { body .c10-ad--banner { --c10-ad-h: 90px; } }
body .c10-ad :where(img, iframe, video) { max-width: 100%; height: auto; }
@supports selector(:has(a)) { body:not(.editor-styles-wrapper) .c10-ad:not(:has(iframe, img, ins, video, picture, object, a)) { display: none; } }

body .c10-disclosure { border-inline-start: 4px solid var(--c10-yellow); background: var(--c10-grey); border-radius: 0 var(--c10-radius) var(--c10-radius) 0; padding: .9rem 1rem; font-size: .95rem; }

/* Clases de la 1.0 (pueden seguir en contenido antiguo): mismo nombre, nuevo aspecto. */
body .c10-section { margin-block: var(--c10-band); }
body .c10-hero { padding-block: clamp(1.5rem, 4vw, 3.5rem); }
body .c10-hero :where(h1, h2) { font-stretch: 125%; font-weight: 800; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); line-height: .96; letter-spacing: -.02em; max-width: 16ch; }
body .c10-card { background: var(--c10-grey); border-radius: var(--c10-radius); padding: clamp(1rem, 2.7vw, 1.5rem); height: 100%; border: 0; box-shadow: none; }
body .c10-soft { background: var(--c10-grey); border-radius: var(--c10-radius); padding: clamp(1rem, 3vw, 2rem); }
body .c10-cta-band { background: var(--c10-ink); color: var(--c10-white); border-radius: var(--c10-radius-lg); padding: clamp(1.5rem, 4vw, 3rem); }
body .c10-cta-band :where(h2, h3, p) { color: var(--c10-white); }
body .c10-eyebrow { color: var(--c10-text-2); font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
body .c10-pill { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--c10-grey); font-size: .875rem; font-weight: 600; }
body .c10-muted { color: var(--c10-text-2); }
body .c10-rule { border-bottom: 1px solid var(--c10-line); }
body :where(.c10-card, .c10-soft, .c10-cta-band, .c10-disclosure, .c10-cta-card) > :first-child { margin-block-start: 0; }
body :where(.c10-card, .c10-soft, .c10-cta-band, .c10-disclosure, .c10-cta-card) > :last-child { margin-block-end: 0; }

@media (prefers-reduced-motion: reduce) {
  body .c10-rail { scroll-snap-type: none; }
}
