/* Poet · Secciones v3 — estilo de la web de referencia */
:root {
  --poet-fondo: #F5F2EE;
  --poet-arena: #EDE5DB;
  --poet-linea: #D9CBBB;
  --poet-beige: #CBB9A7;
  --poet-tierra: #584237;
  --poet-tierra-suave: #7A6656;
  --poet-acento: #916445;
  --poet-ocre: #C2A25A;
  --poet-rosa: #C9A19A;
  --poet-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --poet-sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}
body:has(.poet-s) { overflow-x: clip; }

/* ---------- Secciones a todo el ancho ---------- */
.poet-s {
  font-family: var(--poet-sans); font-weight: 300; font-size: 1rem; line-height: 1.65;
  color: var(--poet-tierra); background: var(--poet-fondo);
  padding-top: clamp(3.5rem, 7vw, 6.5rem); padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  box-sizing: border-box;
}
.poet-s.alignfull {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important; margin-bottom: 0 !important;
}
.poet-s > .alignwide {
  width: 100%; max-width: 1360px; margin-left: auto !important; margin-right: auto !important;
  padding-left: clamp(1.25rem, 2.2vw, 2rem); padding-right: clamp(1.25rem, 2.2vw, 2rem); box-sizing: border-box;
}
.poet-s > .alignwide > * { margin-top: 0; margin-bottom: 0; }
.poet-s > .alignwide > * + * { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.poet-s--hero { border-bottom: 1px solid var(--poet-linea); padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.poet-s--sand { background: linear-gradient(180deg, var(--poet-arena), var(--poet-fondo)); }
.poet-s--line { border-top: 1px solid var(--poet-linea); border-bottom: 1px solid var(--poet-linea); padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.poet-s a { color: inherit; }
.poet-s p { margin-top: 0; }
.poet-s strong { font-weight: 600; }
.poet-s .wp-block-columns { gap: clamp(1.25rem, 2.5vw, 2.5rem); margin-bottom: 0; }

/* ---------- Tipografía ---------- */
.poet-s .poet-eyebrow {
  font-size: .6875rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  color: var(--poet-tierra-suave); margin: 0 0 clamp(1.5rem, 3vw, 2.25rem) !important;
}
.poet-s .poet-h1 {
  font-family: var(--poet-serif); font-weight: 400;
  font-size: clamp(2.75rem, 5.2vw, 5.5rem); line-height: 1.05; letter-spacing: -0.005em;
  color: var(--poet-tierra); margin: 0 !important;
}
.poet-s .poet-h2 {
  font-family: var(--poet-serif); font-weight: 400;
  font-size: clamp(2.25rem, 3.8vw, 3.5rem); line-height: 1.08; color: var(--poet-tierra); margin: 0;
}
.poet-s .poet-h3 {
  font-family: var(--poet-serif); font-weight: 400;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.2; color: var(--poet-tierra); margin: 0 0 1.5rem;
}
.poet-s em { font-style: italic; }
.poet-hero-cols { align-items: flex-end !important; }
.poet-s .poet-lead { font-size: clamp(.95rem, 1.1vw, 1.0625rem); line-height: 1.7; color: var(--poet-tierra-suave); margin: 0; max-width: 30rem; }
.poet-body { font-size: 1.0625rem; line-height: 1.8; color: var(--poet-tierra-suave); margin-bottom: 1.25rem !important; }

/* ---------- Filas (servicios, sectores, expertise) ---------- */
.poet-rows > * { border-top: 1px solid var(--poet-linea); margin: 0 !important; }
.poet-rows > *:last-child { border-bottom: 1px solid var(--poet-linea); }
.poet-row { position: relative; padding: 1.75rem .5rem; align-items: center !important; transition: background .5s ease; }
.poet-row:hover { background: rgba(203, 185, 167, .18); }
.poet-row p { margin: 0; }
.poet-s .poet-row-title { font-family: var(--poet-serif); font-weight: 400; font-size: clamp(1.75rem, 2.7vw, 2.6rem); line-height: 1.12; }
.poet-row-title a { text-decoration: none; }
.poet-row-title a::after { content: ""; position: absolute; inset: 0; }
.poet-row:hover .poet-row-title { font-style: italic; }
.poet-row-text { font-size: .875rem; line-height: 1.65; color: var(--poet-tierra-suave); max-width: 26rem; }
.poet-plus { text-align: right; font-size: 1.5rem; font-weight: 200; color: var(--poet-tierra-suave); transition: transform .4s ease; }
.poet-row:hover .poet-plus { transform: rotate(90deg); }
.poet-row--link .poet-row-title { font-family: var(--poet-sans); font-size: 1.125rem; }
.poet-row--link .poet-row-title strong { font-weight: 600; }

/* Cuadraditos de color */
.poet-rows--marks .poet-row-title::before,
.poet-mark-title::before {
  content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: 1.25rem;
  vertical-align: middle; background: var(--poet-tierra);
}
.poet-row--sector .poet-row-title::before { display: none; }
.poet-rows--marks > *:nth-child(4n+2) .poet-row-title::before, .poet-values > *:nth-child(4n+2) .poet-mark-title::before { background: var(--poet-ocre); }
.poet-rows--marks > *:nth-child(4n+3) .poet-row-title::before, .poet-values > *:nth-child(4n+3) .poet-mark-title::before { background: var(--poet-rosa); }
.poet-rows--marks > *:nth-child(4n+4) .poet-row-title::before, .poet-values > *:nth-child(4n+4) .poet-mark-title::before { background: var(--poet-beige); }

/* Sectores */
.poet-row--sector { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.poet-idx { font-size: .6875rem; letter-spacing: .2em; color: var(--poet-tierra-suave); }
.poet-idx::after { content: ""; display: inline-block; width: .35rem; height: .35rem; margin-left: .6rem; vertical-align: middle; background: var(--poet-tierra); }
.poet-s .poet-row-title--big { font-size: clamp(1.9rem, 3vw, 2.8rem); }

/* ---------- Imágenes ---------- */
.poet-img { margin: 0 !important; overflow: hidden; }
.poet-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.poet-r43 img { aspect-ratio: 4/3; }
.poet-r45 img { aspect-ratio: 4/5; }
.poet-r169 img { aspect-ratio: 16/9; }
.poet-row:hover .poet-img img, .poet-card:hover .poet-img img { transform: scale(1.04); }

/* ---------- Metodología y casos en zigzag ---------- */
.poet-steps > * + * { margin-top: clamp(4rem, 8vw, 7.5rem) !important; }
.poet-zigzag { align-items: center !important; }
.poet-step { max-width: 34rem; }
.poet-step > * { margin: 0 !important; }
.poet-s .poet-step-num {
  font-family: var(--poet-serif); font-weight: 300; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1;
  color: var(--poet-beige); padding-bottom: 1rem !important; border-bottom: 1px solid var(--poet-linea); margin-bottom: 1.5rem !important;
}
.poet-s .poet-item-title { font-family: var(--poet-serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.15; color: var(--poet-tierra); margin: 0 0 .75rem !important; }
.poet-item-text { font-size: .9375rem; line-height: 1.7; color: var(--poet-tierra-suave); }
.poet-fases > * { border-top: 1px solid var(--poet-linea); margin: 0 !important; padding: .9rem 0; }
.poet-fases > *:last-child { border-bottom: 1px solid var(--poet-linea); }
.poet-fase-row { align-items: baseline !important; }
.poet-fase-row p { margin: 0; }
.poet-fase { font-size: .8125rem; color: var(--poet-acento); }
.poet-fases .poet-row-text { font-size: .8125rem; }

/* ---------- Nosotros ---------- */
.poet-media-cols { align-items: flex-start !important; }
.poet-names { gap: .5rem 2.25rem !important; }
.poet-s .poet-name { font-family: var(--poet-serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.3; margin: 0; }
.poet-s .poet-name--small { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.poet-items { column-gap: clamp(1.5rem, 3vw, 3rem) !important; row-gap: 2.5rem !important; }
.poet-item { border-top: 1px solid var(--poet-linea); padding-top: 1.5rem; }
.poet-item > * { margin: 0 !important; }
.poet-values { column-gap: clamp(2rem, 5vw, 5rem) !important; row-gap: 0 !important; margin-top: clamp(2rem, 4vw, 3rem) !important; }
.poet-value { border-top: 1px solid var(--poet-linea); padding: 1.75rem 0; }
.poet-value > * { margin: 0 !important; }
.poet-s .poet-mark-title { font-family: var(--poet-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; margin-bottom: .5rem !important; }
.poet-value .poet-item-text { padding-left: 1.75rem; font-size: .875rem; }

/* ---------- Insights ---------- */
.poet-card { position: relative; }
.poet-card > * { margin: 0 0 .75rem !important; }
.poet-card .poet-img { margin-bottom: 1.25rem !important; }
.poet-s .poet-meta { margin: 0 0 .5rem !important; color: var(--poet-acento); }
.poet-s .poet-card-title { font-family: var(--poet-serif); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin: 0; }
.poet-card-title a { text-decoration: none; }
.poet-card-title a::after { content: ""; position: absolute; inset: 0; }
.poet-card:hover .poet-card-title { font-style: italic; }

/* ---------- Botones ---------- */
.poet-s .wp-block-button__link, .poet-form input[type="submit"], .poet-form button {
  border-radius: 0 !important; border: 1px solid var(--poet-tierra); background: var(--poet-tierra); color: var(--poet-fondo);
  font-family: var(--poet-sans); font-size: .75rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  padding: 1.15rem 3rem; text-decoration: none; cursor: pointer; transition: background .3s ease;
}
.poet-s .wp-block-button__link:hover, .poet-form input[type="submit"]:hover, .poet-form button:hover { background: var(--poet-acento); border-color: var(--poet-acento); }

/* ---------- Formulario (Contact Form 7, WPForms…) ---------- */
.poet-form input[type="text"], .poet-form input[type="email"], .poet-form input[type="tel"], .poet-form input[type="url"], .poet-form select, .poet-form textarea {
  width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid var(--poet-beige); border-radius: 0; background: transparent;
  padding: 1rem 0; font-family: var(--poet-sans); font-size: .9375rem; font-weight: 300; color: var(--poet-tierra); box-shadow: none;
}
.poet-form textarea { min-height: 8rem; resize: vertical; }
.poet-form input::placeholder, .poet-form textarea::placeholder { color: #9C968C; }
.poet-form input:focus, .poet-form textarea:focus, .poet-form select:focus { outline: none; border-bottom-color: var(--poet-tierra); }
.poet-form p { margin: 0 0 1.75rem; }
.poet-placeholder { border: 1px dashed var(--poet-beige); padding: 1.5rem; font-size: .9rem; }

/* ---------- Móvil ---------- */
@media (max-width: 781px) {
  .poet-s .wp-block-column[style*="flex-basis:6%"], .poet-s .wp-block-column[style*="flex-basis:8%"], .poet-s .wp-block-column[style*="flex-basis:20%"] { display: none; }
  .poet-row--sector .wp-block-column[style*="flex-basis:6%"] { display: block; }
  .poet-plus { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .poet-row, .poet-img img, .poet-plus { transition: none; }
}

/* ---------- v3.2 · Ajustes para que el tema no anule márgenes ---------- */
.poet-s.alignfull > .wp-block-group.alignwide {
  width: 100% !important; max-width: 1280px !important;
  margin-left: auto !important; margin-right: auto !important;
  padding-left: clamp(1.5rem, 4vw, 3.5rem) !important; padding-right: clamp(1.5rem, 4vw, 3.5rem) !important;
  box-sizing: border-box !important;
}
.poet-s .wp-block-columns { gap: clamp(2rem, 4vw, 4.5rem) !important; }

/* Por si el tema mantiene la caja interna de los grupos */
.poet-s .wp-block-group__inner-container, .poet-s.wp-block-group > .wp-block-group__inner-container { display: contents; }
.poet-s.alignfull .wp-block-group.alignwide { width: 100% !important; max-width: 1280px !important; margin-left: auto !important; margin-right: auto !important; padding-left: clamp(1.5rem, 4vw, 3.5rem) !important; padding-right: clamp(1.5rem, 4vw, 3.5rem) !important; box-sizing: border-box !important; }

/* Metodología: zigzag que empieza con el texto a la izquierda; foto más pequeña */
.poet-steps .poet-zigzag:nth-child(odd) > .wp-block-column:has(.poet-step) { order: 1; }
.poet-steps .poet-zigzag:nth-child(odd) > .wp-block-column:has(.poet-img) { order: 3; }
.poet-steps .poet-zigzag:nth-child(even) > .wp-block-column:has(.poet-img) { order: 1; }
.poet-steps .poet-zigzag:nth-child(even) > .wp-block-column:has(.poet-step) { order: 3; }
.poet-zigzag:has(.poet-step) > .wp-block-column:not(:has(.poet-step)):not(:has(.poet-img)) { order: 2; }
@media (min-width: 782px) {
  .poet-zigzag:has(.poet-step) > .wp-block-column:has(.poet-step) { flex: 1 1 0 !important; }
  .poet-zigzag:has(.poet-step) > .wp-block-column:has(.poet-img) { flex: 0 0 36% !important; }
  .poet-zigzag:has(.poet-step) > .wp-block-column:not(:has(.poet-step)):not(:has(.poet-img)) { flex: 0 0 6% !important; }
  .poet-steps .poet-zigzag:nth-child(even) .poet-step { margin-left: auto; }
}
@media (max-width: 781px) {
  .poet-zigzag:has(.poet-step) > .wp-block-column:has(.poet-step) { order: 1 !important; }
  .poet-zigzag:has(.poet-step) > .wp-block-column:has(.poet-img) { order: 3 !important; }
}
.poet-s .poet-step { max-width: 34rem; }
.poet-s .poet-step .poet-step-num { font-size: clamp(2rem, 3vw, 2.75rem); }
.poet-s .poet-step .poet-item-title { font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.1; margin-bottom: 1rem !important; }
.poet-s .poet-step .poet-item-text { font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.75; }
.poet-steps > * + *, .poet-steps .poet-zigzag + .poet-zigzag { margin-top: clamp(4rem, 7vw, 6.5rem) !important; }

/* ---------- Metodología en culebrita ---------- */
.poet-snake { --row: 8.5rem; position: relative; counter-reset: poetnode; }
.poet-snake .poet-node { margin: 0 !important; counter-increment: poetnode; border: 0; }
.poet-snake .poet-node > summary {
  list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .9rem;
  font-family: var(--poet-serif); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.15;
  color: var(--poet-tierra-suave); text-align: center; transition: color .3s ease;
}
.poet-snake .poet-node > summary::-webkit-details-marker { display: none; }
.poet-snake .poet-node > summary::before {
  content: counter(poetnode, decimal-leading-zero); display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--poet-beige); background: var(--poet-fondo);
  font-family: var(--poet-sans); font-size: .75rem; letter-spacing: .1em; color: var(--poet-tierra-suave);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.poet-snake .poet-node > summary:hover { color: var(--poet-tierra); }
.poet-snake .poet-node > summary:hover::before { border-color: var(--poet-tierra); }
.poet-snake .poet-node[open] > summary { color: var(--poet-tierra); font-style: italic; }
.poet-snake .poet-node[open] > summary::before { background: var(--poet-tierra); border-color: var(--poet-tierra); color: var(--poet-fondo); }
.poet-node-panel { align-items: center !important; }
.poet-node-panel p, .poet-node-panel h3 { margin-top: 0; }

@media (min-width: 782px) {
  .poet-snake {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: var(--row) var(--row);
    padding-bottom: 30rem;
  }
  /* la línea que serpentea: arriba 01→03, curva, abajo 04→06 */
  .poet-snake::before {
    content: ""; position: absolute; z-index: 0;
    top: 1.5rem; left: 16.666%; width: 66.666%; height: var(--row);
    border: 1px solid var(--poet-beige); border-left: 0; border-radius: 0 calc(var(--row) / 2) calc(var(--row) / 2) 0;
  }
  .poet-snake::after {
    content: ""; position: absolute; z-index: 0; top: calc(1.5rem + var(--row)); left: 4%; width: 12.666%;
    border-top: 1px dashed var(--poet-beige);
  }
  .poet-snake .poet-node { position: static; z-index: 1; }
  .poet-snake .poet-node > summary { position: relative; z-index: 1; }
  .poet-snake .poet-node:nth-child(1) { grid-column: 1; grid-row: 1; }
  .poet-snake .poet-node:nth-child(2) { grid-column: 2; grid-row: 1; }
  .poet-snake .poet-node:nth-child(3) { grid-column: 3; grid-row: 1; }
  .poet-snake .poet-node:nth-child(4) { grid-column: 3; grid-row: 2; }
  .poet-snake .poet-node:nth-child(5) { grid-column: 2; grid-row: 2; }
  .poet-snake .poet-node:nth-child(6) { grid-column: 1; grid-row: 2; }
  .poet-snake .poet-node > .poet-node-panel {
    position: absolute; left: 0; right: 0; top: calc(var(--row) * 2 + 2.5rem);
    padding-top: 2.5rem; border-top: 1px solid var(--poet-linea);
    animation: poet-fade .5s ease both;
  }
}
@media (max-width: 781px) {
  .poet-snake { border-left: 1px solid var(--poet-beige); margin-left: 1.5rem !important; }
  .poet-snake .poet-node { padding: 0 0 1.5rem 0; }
  .poet-snake .poet-node > summary { flex-direction: row; text-align: left; margin-left: -1.55rem; }
  .poet-snake .poet-node > .poet-node-panel { padding: 1.25rem 0 0 1.5rem; }
}
@keyframes poet-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .poet-snake .poet-node > .poet-node-panel { animation: none; } }
@media (max-width: 781px) {
  .poet-snake { max-width: calc(100% - 1.5rem); box-sizing: border-box; }
  .poet-snake .poet-node > .poet-node-panel { padding-right: .5rem; }
}

/* ---------- Culebrita dentro del editor: lista vertical para editar cómodo ---------- */
.editor-styles-wrapper .poet-snake {
  display: block !important; padding-bottom: 0 !important;
  border-left: 1px solid var(--poet-beige); margin-left: 1.5rem !important;
}
.editor-styles-wrapper .poet-snake::before, .editor-styles-wrapper .poet-snake::after { display: none !important; }
.editor-styles-wrapper .poet-snake .poet-node { padding: 0 0 1.5rem 0; }
.editor-styles-wrapper .poet-snake .poet-node > summary { flex-direction: row !important; text-align: left !important; margin-left: -1.55rem; }
.editor-styles-wrapper .poet-snake .poet-node > .poet-node-panel {
  position: static !important; top: auto !important; animation: none !important;
  padding: 1.25rem 0 1.5rem 1.5rem !important; border-top: 0 !important;
}

/* ---------- Home actual (tema Poet): Expertise sin números ni flechas, en negrita y con enlace ---------- */
body.poet-home-on #expertise .exp-card .num, body.poet-home-on #expertise .exp-card .arr { display: none !important; }
body.poet-home-on #expertise .exp-card h3 { font-weight: 600 !important; }
body.poet-home-on #expertise .exp-card { position: relative; cursor: pointer; }
body.poet-home-on #expertise .exp-card .poet-exp-link { position: absolute; inset: 0; z-index: 2; }
body.poet-home-on #expertise .exp-card:hover h3 { color: #916445; }
body.poet-home-on #expertise .exp-card .poet-exp-link:focus-visible { outline: 2px solid #916445; outline-offset: 4px; }

/* ---------- Servicios con desplegables de color ---------- */
.poet-hero-media { align-items: center !important; }
.poet-s .poet-statement { max-width: 24ch; font-size: clamp(2rem, 3.6vw, 3.25rem); margin-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.poet-accs { margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.poet-acc { cursor: pointer; transition: background .6s ease; }
.poet-acc .poet-acc-head { margin: 0 !important; }
.poet-acc .poet-acc-head:hover { background: transparent; }
.poet-acc:hover { background: rgba(203, 185, 167, .14); }
.poet-acc:focus-visible { outline: 2px solid var(--poet-acento); outline-offset: 2px; }
.poet-acc .poet-plus { transition: transform .4s ease; }
.poet-acc.is-open .poet-plus { transform: rotate(45deg); }
.poet-acc.is-open .poet-row-title { font-style: italic; }
.poet-acc-panel { display: none; margin: 0 !important; padding: 0 .5rem 2.25rem; }
.poet-acc.is-open .poet-acc-panel { display: block; animation: poet-fade .5s ease both; }
.poet-s .poet-acc-text { font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.75; color: var(--poet-tierra); max-width: 38rem; margin: 0; }
@media (min-width: 782px) {
  .poet-acc-panel { padding-left: calc(44% + clamp(2rem, 4vw, 4.5rem) + .5rem); padding-right: 8%; }
}
/* un degradado distinto para cada servicio al abrirlo */
.poet-accs > .poet-acc.is-open:nth-child(7n+1) { background: linear-gradient(100deg, rgba(88,66,55,.16), rgba(245,242,238,0) 75%); }
.poet-accs > .poet-acc.is-open:nth-child(7n+2) { background: linear-gradient(100deg, rgba(194,162,90,.30), rgba(245,242,238,0) 75%); }
.poet-accs > .poet-acc.is-open:nth-child(7n+3) { background: linear-gradient(100deg, rgba(201,161,154,.34), rgba(245,242,238,0) 75%); }
.poet-accs > .poet-acc.is-open:nth-child(7n+4) { background: linear-gradient(100deg, rgba(203,185,167,.50), rgba(245,242,238,0) 75%); }
.poet-accs > .poet-acc.is-open:nth-child(7n+5) { background: linear-gradient(100deg, rgba(145,100,69,.22), rgba(245,242,238,0) 75%); }
.poet-accs > .poet-acc.is-open:nth-child(7n+6) { background: linear-gradient(100deg, rgba(156,150,140,.30), rgba(245,242,238,0) 75%); }
.poet-accs > .poet-acc.is-open:nth-child(7n+7) { background: linear-gradient(100deg, rgba(220,196,150,.38), rgba(245,242,238,0) 75%); }
/* en el editor se ven siempre abiertos para poder editar el texto */
.editor-styles-wrapper .poet-acc-panel { display: block !important; }

/* ---------- v3.6.1 · Ajustes de Servicios ---------- */
:root { --poet-rosa: #A08166; }
.poet-accs > .poet-acc.is-open:nth-child(7n+3) { background: linear-gradient(100deg, rgba(122,90,64,.26), rgba(245,242,238,0) 75%); }
.poet-s .poet-acc-text { font-family: var(--poet-sans); font-size: .875rem; line-height: 1.65; font-weight: 300; color: var(--poet-tierra-suave); max-width: 26rem; }
.poet-s .poet-statement { max-width: none; font-size: clamp(1.75rem, 2.7vw, 2.6rem); line-height: 1.2; }

/* ---------- v3.6.2 · Contacto: columnas y Contact Form 7 ---------- */
@media (min-width: 782px) {
  .poet-s .wp-block-columns:has(.poet-form) > .wp-block-column:has(.poet-form) { flex: 0 0 56% !important; }
  .poet-s .wp-block-columns:has(.poet-form) > .wp-block-column:not(:has(.poet-form)):not(:has(p)) { flex: 0 0 6% !important; }
  .poet-s .wp-block-columns:has(.poet-form) > .wp-block-column:has(p):not(:has(.poet-form)) { flex: 1 1 0 !important; }
}
@media (max-width: 781px) {
  .poet-s .wp-block-columns:has(.poet-form) > .wp-block-column:not(:has(.poet-form)):not(:has(p)) { display: none; }
}
.poet-s .wp-block-columns:has(.poet-form) .poet-h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.25; overflow-wrap: normal; word-break: normal; hyphens: none; }
.poet-s .wp-block-columns:has(.poet-form) .poet-row-text a { text-decoration: none; border-bottom: 1px solid var(--poet-beige); }

/* Contact Form 7 (y otros) dentro de cualquier sección Poet */
.poet-s .wpcf7 input[type="text"], .poet-s .wpcf7 input[type="email"], .poet-s .wpcf7 input[type="tel"], .poet-s .wpcf7 textarea {
  width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid var(--poet-beige); border-radius: 0; background: transparent;
  padding: 1rem 0; font-family: var(--poet-sans); font-size: .9375rem; font-weight: 300; color: var(--poet-tierra); box-shadow: none;
}
.poet-s .wpcf7 textarea { min-height: 8rem; height: 8rem; resize: vertical; }
.poet-s .wpcf7 input::placeholder, .poet-s .wpcf7 textarea::placeholder { color: #9C968C; }
.poet-s .wpcf7 input:focus, .poet-s .wpcf7 textarea:focus { outline: none; border-bottom-color: var(--poet-tierra); }
.poet-s .wpcf7 p { margin: 0 0 1.5rem; }
.poet-s .wpcf7 .poet-cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 600px) { .poet-s .wpcf7 .poet-cf7-row { grid-template-columns: 1fr; gap: 0; } }
.poet-s .wpcf7 .wpcf7-acceptance { font-size: .8125rem; color: var(--poet-tierra-suave); }
.poet-s .wpcf7 .wpcf7-acceptance input { accent-color: var(--poet-tierra); margin-right: .5rem; }
.poet-s .wpcf7 input[type="submit"] {
  border-radius: 0; border: 1px solid var(--poet-tierra); background: var(--poet-tierra); color: var(--poet-fondo);
  font-family: var(--poet-sans); font-size: .75rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  padding: 1.15rem 3rem; cursor: pointer; transition: background .3s ease;
}
.poet-s .wpcf7 input[type="submit"]:hover { background: var(--poet-acento); border-color: var(--poet-acento); }
.poet-s .wpcf7 .wpcf7-not-valid-tip { font-size: .75rem; color: var(--poet-acento); margin-top: .35rem; }
.poet-s .wpcf7 .wpcf7-response-output { border: 1px solid var(--poet-beige) !important; margin: 1.5rem 0 0 !important; padding: 1rem 1.25rem !important; font-size: .875rem; }
.poet-s .wpcf7 .wpcf7-spinner { margin-left: 1rem; }

/* ---------- v3.7 · Formulario propio de Poet ---------- */
.poet-cform form { margin: 0; }
.poet-cform p { margin: 0 0 1.5rem; }
.poet-cform .poet-cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 600px) { .poet-cform .poet-cf7-row { grid-template-columns: 1fr; gap: 0; } }
.poet-cform input[type="text"], .poet-cform input[type="email"], .poet-cform input[type="tel"], .poet-cform textarea {
  width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid var(--poet-beige); border-radius: 0; background: transparent;
  padding: 1rem 0; font-family: var(--poet-sans); font-size: .9375rem; font-weight: 300; color: var(--poet-tierra); box-shadow: none;
}
.poet-cform textarea { min-height: 8rem; height: 8rem; resize: vertical; }
.poet-cform input::placeholder, .poet-cform textarea::placeholder { color: #9C968C; }
.poet-cform input:focus, .poet-cform textarea:focus { outline: none; border-bottom-color: var(--poet-tierra); }
.poet-cform .poet-cform-ok-box { font-size: .8125rem; color: var(--poet-tierra-suave); }
.poet-cform .poet-cform-ok-box input { accent-color: var(--poet-tierra); margin-right: .5rem; }
.poet-cform button[type="submit"] {
  border-radius: 0; border: 1px solid var(--poet-tierra); background: var(--poet-tierra); color: var(--poet-fondo);
  font-family: var(--poet-sans); font-size: .75rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  padding: 1.15rem 3rem; cursor: pointer; transition: background .3s ease;
}
.poet-cform button[type="submit"]:hover { background: var(--poet-acento); border-color: var(--poet-acento); }
.poet-cform .poet-cform-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.poet-cform .poet-cform-msg { border: 1px solid var(--poet-beige); padding: 1rem 1.25rem; font-size: .9rem; color: var(--poet-tierra); }
.poet-cform .poet-cform-ok { font-family: var(--poet-serif); font-size: 1.5rem; font-style: italic; border: 0; padding: 0; }
.poet-cform .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- v3.7.1 · Mensaje de gracias del formulario ---------- */
.poet-cform-gracias { border-top: 1px solid var(--poet-beige); padding-top: 2rem; animation: poet-fade .6s ease both; }
.poet-cform .poet-cform-gracias p { margin: 0; }
.poet-cform-gracias-eyebrow { font-size: .6875rem; letter-spacing: .26em; text-transform: uppercase; color: var(--poet-acento); }
.poet-cform-gracias-title { margin-top: 0 !important; font-family: var(--poet-serif); font-weight: 400; font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.08; color: var(--poet-tierra); margin-top: 1.25rem !important; }
.poet-cform-gracias-title em { font-style: italic; }
.poet-cform-gracias-text { font-size: 1rem; line-height: 1.75; color: var(--poet-tierra-suave); max-width: 30rem; margin-top: 1.5rem !important; }
.poet-cform-gracias-link { margin-top: 2rem !important; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.poet-cform-gracias-link a { text-decoration: none; border-bottom: 1px solid var(--poet-beige); padding-bottom: .25rem; }
.poet-cform-gracias-link a:hover { color: var(--poet-acento); border-color: var(--poet-acento); }

/* ---------- v3.8 · Nosotros: texto continuo y clientes en movimiento ---------- */
.poet-media-mid { align-items: center !important; }
.poet-s .poet-continuo {
  font-family: var(--poet-serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.4;
  color: var(--poet-tierra-suave); max-width: none; margin-top: clamp(3rem, 6vw, 5rem) !important;
  padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--poet-linea);
}
.poet-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.poet-marquee-track { display: flex !important; flex-wrap: nowrap; width: max-content; gap: 0; animation: poet-scroll 35s linear infinite; }
.poet-marquee:hover .poet-marquee-track { animation-play-state: paused; }
.poet-marquee-track > .poet-name { white-space: nowrap; margin: 0 !important; padding-right: 4rem; position: relative; }
.poet-marquee-track > .poet-name::after { content: ""; position: absolute; right: 1.85rem; top: 50%; width: .35rem; height: .35rem; background: var(--poet-beige); }
@keyframes poet-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .poet-marquee-track { animation: none; flex-wrap: wrap; width: auto; } }
/* en el editor, los nombres quietos y en varias líneas para poder editarlos */
.editor-styles-wrapper .poet-marquee { -webkit-mask-image: none; mask-image: none; }
.editor-styles-wrapper .poet-marquee-track { animation: none !important; flex-wrap: wrap !important; width: auto !important; }
/* v3.8.1 · varios párrafos de texto continuo */
.poet-continuo-wrap { margin-top: clamp(3rem, 6vw, 5rem) !important; padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--poet-linea); }
.poet-continuo-wrap .poet-continuo { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
.poet-continuo-wrap .poet-continuo + .poet-continuo { margin-top: 1.5rem !important; }
/* v3.8.2 · Nosotros: título encima de la frase y sin línea antes del texto */
.poet-hero-stack .poet-lead { margin-top: clamp(1.5rem, 3vw, 2.25rem) !important; max-width: 40rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.poet-continuo-wrap { border-top: 0 !important; padding-top: 0 !important; }

/* v3.8.3 · Logos de clientes dentro de la franja en movimiento */
.poet-marquee-track > .wp-block-image { flex: 0 0 auto; margin: 0 4.5rem 0 0 !important; display: flex; align-items: center; }
.poet-marquee-track > .wp-block-image img {
  height: clamp(2.25rem, 3.2vw, 3rem); width: auto !important; max-width: 12rem; object-fit: contain;
  filter: grayscale(1) sepia(.35) brightness(.75) contrast(.9); opacity: .8; transition: filter .4s ease, opacity .4s ease;
}
.poet-marquee-track > .wp-block-image img:hover { filter: none; opacity: 1; }
.poet-marquee-track { align-items: center; }
.editor-styles-wrapper .poet-marquee-track > .wp-block-image img { height: 3rem; }

/* ---------- v3.9 · Valores: solo el nombre, clic para la explicación ---------- */
.poet-s .poet-valores { margin-top: clamp(1.5rem, 3vw, 2rem) !important; gap: clamp(2rem, 5vw, 5rem) !important; align-items: flex-start !important; }
.poet-valores-col > .poet-val { border-top: 1px solid var(--poet-linea); margin: 0 !important; padding: 0 .75rem; }
.poet-valores-col > .poet-val:last-child { border-bottom: 1px solid var(--poet-linea); }
.poet-val .poet-val-head { padding: 1.5rem 0; margin: 0 !important; }
.poet-val .poet-val-head p { margin: 0 !important; }
.poet-s .poet-val .poet-mark-title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.poet-val.is-open .poet-mark-title { font-style: italic; }
.poet-val .poet-acc-panel { padding: 0 0 1.75rem 1.75rem !important; }
@media (min-width: 782px) { .poet-val .poet-acc-panel { padding-left: 1.75rem !important; padding-right: 2rem !important; } }
.poet-val .poet-mark-title::before { background: var(--poet-tierra); }
.poet-valores > .wp-block-column:nth-child(1) .poet-val:nth-child(2) .poet-mark-title::before { background: var(--poet-ocre); }
.poet-valores > .wp-block-column:nth-child(1) .poet-val:nth-child(3) .poet-mark-title::before { background: #A08166; }
.poet-valores > .wp-block-column:nth-child(2) .poet-val:nth-child(1) .poet-mark-title::before { background: var(--poet-beige); }
.poet-valores > .wp-block-column:nth-child(2) .poet-val:nth-child(2) .poet-mark-title::before { background: var(--poet-acento); }
.poet-valores > .wp-block-column:nth-child(2) .poet-val:nth-child(3) .poet-mark-title::before { background: var(--poet-gris, #9C968C); }
.poet-valores > .wp-block-column:nth-child(1) .poet-val.is-open:nth-child(1) { background: linear-gradient(100deg, rgba(88,66,55,.16), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(1) .poet-val.is-open:nth-child(2) { background: linear-gradient(100deg, rgba(194,162,90,.30), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(1) .poet-val.is-open:nth-child(3) { background: linear-gradient(100deg, rgba(122,90,64,.26), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(2) .poet-val.is-open:nth-child(1) { background: linear-gradient(100deg, rgba(203,185,167,.50), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(2) .poet-val.is-open:nth-child(2) { background: linear-gradient(100deg, rgba(145,100,69,.22), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(2) .poet-val.is-open:nth-child(3) { background: linear-gradient(100deg, rgba(156,150,140,.30), rgba(245,242,238,0) 80%); }
/* v3.9 · texto "Detrás de cada estrategia…" un poco más pequeño (se puede cambiar en el editor: Tipografía → Tamaño) */
.poet-s .poet-continuo { font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.45; }
/* Paleta Poet: por si el tema no genera las clases de color */
.has-poet-fondo-color{color:#F5F2EE!important}.has-poet-arena-color{color:#EDE5DB!important}.has-poet-beige-color{color:#CBB9A7!important}.has-poet-tierra-color{color:#584237!important}.has-poet-tierra-suave-color{color:#7A6656!important}.has-poet-acento-color{color:#916445!important}.has-poet-ocre-color{color:#C2A25A!important}.has-poet-cafe-color{color:#A08166!important}.has-poet-oscuro-color{color:#2A201A!important}
.has-poet-fondo-background-color{background-color:#F5F2EE!important}.has-poet-arena-background-color{background-color:#EDE5DB!important}.has-poet-beige-background-color{background-color:#CBB9A7!important}.has-poet-tierra-background-color{background-color:#584237!important}.has-poet-tierra-suave-background-color{background-color:#7A6656!important}.has-poet-acento-background-color{background-color:#916445!important}.has-poet-ocre-background-color{background-color:#C2A25A!important}.has-poet-cafe-background-color{background-color:#A08166!important}.has-poet-oscuro-background-color{background-color:#2A201A!important}

/* ---------- v3.10 · Sectores en dos columnas, sin números ---------- */
.poet-s .poet-sectores { gap: clamp(2rem, 5vw, 5rem) !important; align-items: flex-start !important; }
.poet-sector-col > .poet-sector { border-top: 1px solid var(--poet-linea); margin: 0 !important; padding: 1.75rem 0; align-items: center !important; gap: 1.75rem !important; transition: background .5s ease; }
.poet-sector-col > .poet-sector:last-child { border-bottom: 1px solid var(--poet-linea); }
.poet-sector p { margin: 0; }
.poet-sector .poet-row-title { margin-bottom: .5rem !important; }
.poet-sector:hover .poet-row-title { font-style: italic; }
.poet-sector:hover .poet-img img { transform: scale(1.04); }
@media (max-width: 781px) {
  .poet-sector-col > .poet-sector { flex-wrap: nowrap !important; }
  .poet-sector-col > .poet-sector > .wp-block-column:first-child { flex: 0 0 28% !important; }
}

/* ---------- v3.11 · Insights: tarjetas automáticas de las entradas ---------- */
.poet-posts .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem) !important; }
@media (max-width: 960px) { .poet-posts .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .poet-posts .wp-block-post-template { grid-template-columns: 1fr; } }
.poet-posts .wp-block-post-template > li { margin: 0 !important; }
.poet-posts .poet-card { position: relative; }
.poet-posts .poet-card > * { margin: 0 0 .75rem !important; }
.poet-posts .wp-block-post-featured-image { margin-bottom: 1.25rem !important; overflow: hidden; }
.poet-posts .wp-block-post-featured-image img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.poet-posts .poet-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.poet-posts .poet-meta, .poet-posts .poet-meta a { font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--poet-acento); text-decoration: none; position: relative; z-index: 2; }
.poet-posts .poet-card-title { font-family: var(--poet-serif); font-weight: 400; font-size: clamp(1.4rem, 1.8vw, 1.7rem); line-height: 1.2; }
.poet-posts .poet-card-title a { text-decoration: none; color: var(--poet-tierra); }
.poet-posts .poet-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.poet-posts .poet-card:hover .poet-card-title { font-style: italic; }
.poet-posts .poet-card-excerpt, .poet-posts .poet-card-excerpt p { font-size: .875rem; line-height: 1.65; color: var(--poet-tierra-suave); margin: 0; }
.poet-posts .wp-block-post-excerpt__more-link { display: none; }

/* ---------- v3.12 · Bloque de newsletter llamativo ---------- */
.poet-nl {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(110deg, #E7DACA 0%, #EDE5DB 45%, #F5F2EE 100%);
  border: 1px solid var(--poet-linea);
}
@media (max-width: 781px) { .poet-nl { grid-template-columns: 1fr; } }
.poet-nl p { margin: 0; }
.poet-nl-eyebrow { font-size: .6875rem; letter-spacing: .26em; text-transform: uppercase; color: var(--poet-acento); }
.poet-nl-title { font-family: var(--poet-serif); font-weight: 400; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.12; color: var(--poet-tierra); margin-top: .75rem !important; }
.poet-nl-text { font-size: .9rem; line-height: 1.65; color: var(--poet-tierra-suave); margin-top: .75rem !important; max-width: 30rem; }
.poet-nl-row { display: flex; gap: 0; border-bottom: 1px solid var(--poet-tierra); }
.poet-nl-row input[type="email"] {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 1.1rem 0; font-family: var(--poet-sans); font-size: 1rem; font-weight: 300; color: var(--poet-tierra);
}
.poet-nl-row input[type="email"]::placeholder { color: #9C968C; }
.poet-nl-row input[type="email"]:focus { outline: none; }
.poet-nl-row button {
  border: 0; border-radius: 0; background: var(--poet-tierra); color: var(--poet-fondo); cursor: pointer;
  font-family: var(--poet-sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; padding: 0 1.75rem; margin-bottom: -1px;
  transition: background .3s ease;
}
.poet-nl-row button:hover { background: var(--poet-acento); }
.poet-nl-legal { font-size: .75rem; line-height: 1.5; color: var(--poet-tierra-suave); margin-top: 1rem !important; }
.poet-nl-legal input { accent-color: var(--poet-tierra); margin-right: .4rem; }
.poet-nl-error { font-size: .8rem; color: var(--poet-acento); margin-bottom: .75rem !important; }
.poet-nl-gracias { grid-column: 1 / -1; animation: poet-fade .6s ease both; }
.poet-nl-gracias .poet-nl-title { font-style: italic; }
.poet-nl .poet-cform-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.poet-nl .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* v3.12.1 · Newsletter compacta para que las entradas se vean antes */
.poet-nl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(1.5rem, 3vw, 2rem); }
.poet-nl .poet-nl-text { display: none; }
.poet-nl .poet-nl-title { font-size: clamp(1.25rem, 1.8vw, 1.6rem); margin-top: .35rem !important; }
.poet-nl .poet-nl-row input[type="email"] { padding: .8rem 0; font-size: .9rem; }
.poet-nl .poet-nl-row button { padding: 0 1.25rem; font-size: .6875rem; }
.poet-nl .poet-nl-legal { font-size: .6875rem; margin-top: .6rem !important; }
.poet-nl .poet-nl-gracias .poet-nl-text { display: block; }
.poet-hero-stack:has(.poet-nl) { padding-bottom: clamp(2rem, 4vw, 3rem); }
/* v3.13 · Newsletter en una línea: etiqueta + email + botón */
.poet-nl { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.poet-nl .poet-nl-copy .poet-nl-eyebrow { font-size: .75rem; margin: 0; }
@media (min-width: 782px) { .poet-nl .poet-nl-form { max-width: 34rem; margin-left: auto; width: 100%; } }
.poet-nl .poet-nl-copy .poet-nl-eyebrow { font-family: var(--poet-serif); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: 0; text-transform: none; color: var(--poet-tierra); }
/* v3.13.1 · Newsletter más discreta: sin fondo ni recuadro, solo líneas finas */
.poet-nl { background: transparent !important; border: 0 !important; border-top: 1px solid var(--poet-linea) !important; border-bottom: 1px solid var(--poet-linea) !important; padding: 1rem 0 !important; }
.poet-nl .poet-nl-copy .poet-nl-eyebrow { font-size: clamp(1.2rem, 1.6vw, 1.4rem); color: var(--poet-tierra-suave); }
.poet-nl .poet-nl-row { border-bottom-color: var(--poet-beige); }
.poet-nl .poet-nl-row button { background: transparent; color: var(--poet-tierra); padding: 0 0 0 1rem; }
.poet-nl .poet-nl-row button:hover { background: transparent; color: var(--poet-acento); }
.poet-nl .poet-nl-gracias .poet-nl-title { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-top: .25rem !important; }
.poet-nl .poet-nl-gracias .poet-nl-text { margin-top: .35rem !important; font-size: .85rem; }

/* v3.13.2 · Botón «Quiero» en marrón claro */
.poet-nl .poet-nl-row { border-bottom-color: var(--poet-beige); }
.poet-nl .poet-nl-row button { background: var(--poet-beige) !important; color: var(--poet-tierra) !important; padding: 0 1.4rem !important; margin-bottom: -1px; }
.poet-nl .poet-nl-row button:hover { background: var(--poet-acento) !important; color: var(--poet-fondo) !important; }

/* v3.13.2 · Gracias de Contacto: título más contenido y que siempre haga salto de línea */
.poet-cform-gracias, .poet-cform-gracias p { white-space: normal !important; overflow-wrap: break-word; max-width: 100%; }
.poet-cform .poet-cform-gracias-title { font-size: clamp(1.9rem, 3vw, 2.6rem) !important; line-height: 1.12; }
.poet-cform .poet-cform-gracias-text { font-size: .95rem; }
/* v3.13.4 · Newsletter apilada: la palabra arriba y el email debajo, a la izquierda */
.poet-nl { grid-template-columns: 1fr !important; gap: .75rem !important; padding: 1.25rem 0 1.5rem !important; }
.poet-nl .poet-nl-form { margin-left: 0 !important; max-width: 34rem !important; width: 100%; }

/* ---------- v3.14 · Artículos del blog con estilo editorial ---------- */
body.single-post { background: var(--poet-fondo); }
.poet-post-hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.poet-post-hero-cols { align-items: flex-start !important; }
.poet-s .poet-post-title { font-size: clamp(2.6rem, 5vw, 4.75rem); line-height: 1.05; margin-bottom: clamp(2rem, 4vw, 3rem) !important; }
.poet-s .poet-post-title em { color: var(--poet-acento); }
.poet-s .poet-post-intro { font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.8; color: var(--poet-tierra); max-width: 36rem; margin: 0 0 1.25rem !important; }
/* collage de dos fotos */
.poet-collage { position: relative; padding-bottom: 22%; margin-top: clamp(1rem, 4vw, 4.5rem) !important; }
.poet-collage .poet-collage-big { width: 78%; margin: 0 0 0 auto !important; }
.poet-collage .poet-collage-small { position: absolute !important; left: 0; bottom: 0; width: 46%; margin: 0 !important; border: 10px solid var(--poet-fondo); box-sizing: border-box; }
.poet-collage .poet-collage-small img { aspect-ratio: 1/1; }
@media (max-width: 781px) { .poet-collage { padding-bottom: 30%; margin-top: 2rem !important; } }
.editor-styles-wrapper .poet-collage .poet-collage-small { position: relative !important; width: 60%; margin-top: 1rem !important; }
.editor-styles-wrapper .poet-collage { padding-bottom: 0; }
/* cuerpo del artículo */
.poet-article { max-width: 44rem; margin-left: auto !important; margin-right: auto !important; }
.poet-article > * { margin-top: 0; margin-bottom: 1.35rem; }
.poet-s .poet-article p, .poet-s .poet-article li { font-size: clamp(1rem, 1.15vw, 1.0625rem); line-height: 1.85; color: var(--poet-tierra); }
.poet-s .poet-article h2 { font-family: var(--poet-serif); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.15; color: var(--poet-tierra); margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem; }
.poet-s .poet-article h3 { font-family: var(--poet-serif); font-weight: 400; font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.poet-s .poet-article ul { padding-left: 1.25rem; }
.poet-s .poet-article li::marker { color: var(--poet-acento); }
.poet-s .poet-article a { color: var(--poet-acento); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.poet-s .poet-article figure { margin: 2.5rem 0 !important; }
.poet-s .poet-article figure img { width: 100%; height: auto; }
.poet-s .poet-article figcaption { font-size: .8rem; color: var(--poet-tierra-suave); margin-top: .6rem; }
.poet-s .poet-article strong { font-weight: 600; }
.poet-s .poet-article .has-small-font-size { font-size: .8125rem !important; line-height: 1.6; color: var(--poet-tierra-suave); }
.poet-s .poet-article blockquote { border-left: 2px solid var(--poet-beige); padding-left: 1.5rem; margin-left: 0; font-family: var(--poet-serif); font-size: 1.5rem; font-style: italic; }
/* v3.14 · ajustes del collage y del ritmo del artículo */
.poet-post-hero-cols > .wp-block-column:last-child { flex: 1 1 0 !important; }
.poet-collage .poet-collage-big { width: 86%; }
.poet-collage .poet-collage-small { width: 52%; }
.poet-post-hero + .poet-s { padding-top: clamp(1rem, 2vw, 1.5rem); }
.poet-s .poet-article p, .poet-s .poet-article li { font-size: clamp(1.0625rem, 1.2vw, 1.125rem); }
@media (min-width: 782px) { .poet-post-hero-cols > .wp-block-column:nth-child(2) { display: none; } .poet-post-hero-cols > .wp-block-column:first-child { flex: 0 0 48% !important; } }

/* ---------- v3.15 · Letra de artículos más contenida ---------- */
.poet-s .poet-post-title { font-size: clamp(2.1rem, 3.6vw, 3.4rem) !important; line-height: 1.08; }
.poet-s .poet-post-intro, .poet-s .poet-post-lead { font-size: clamp(.98rem, 1.05vw, 1.0625rem) !important; line-height: 1.75; }
.poet-s .poet-article p, .poet-s .poet-article li { font-size: clamp(.98rem, 1.05vw, 1.0625rem) !important; line-height: 1.8; }
.poet-s .poet-article h2 { font-size: clamp(1.6rem, 2.2vw, 2rem) !important; }
.poet-s .poet-article h3 { font-size: 1.35rem !important; }
.poet-article { max-width: 42rem; }

/* ---------- Plantilla 2 · Portada con imagen grande ---------- */
.poet-center { text-align: center; margin-left: auto !important; margin-right: auto !important; }
.poet-post-head-center { max-width: 50rem; margin: 0 auto !important; }
.poet-s .poet-post-head-center .poet-post-title { margin-bottom: 1.5rem !important; }
.poet-s .poet-post-lead.poet-center { max-width: 38rem; color: var(--poet-tierra-suave); }
.poet-post-cover { margin-top: clamp(2rem, 4vw, 3.5rem) !important; }
.poet-post-cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.poet-s .poet-pull { border: 0 !important; border-top: 1px solid var(--poet-linea) !important; border-bottom: 1px solid var(--poet-linea) !important; padding: 2rem 0 !important; margin: 2.75rem 0 !important; text-align: center; }
.poet-s .poet-pull p { font-family: var(--poet-serif) !important; font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem) !important; line-height: 1.3 !important; color: var(--poet-acento) !important; margin: 0; }

/* ---------- Plantilla 3 · Ensayo con puntos clave ---------- */
.poet-essay-cols { align-items: flex-end !important; }
.poet-keypoints { background: var(--poet-arena); padding: 1.75rem 2rem; border-top: 2px solid var(--poet-acento); }
.poet-keypoints .poet-eyebrow { margin-bottom: 1rem !important; }
.poet-keypoints ul { margin: 0; padding-left: 1.1rem; }
.poet-keypoints li { font-size: .9375rem; line-height: 1.6; color: var(--poet-tierra); margin-bottom: .6rem; }
.poet-keypoints li::marker { color: var(--poet-acento); }
.poet-post-hero--essay { border-bottom: 1px solid var(--poet-linea); }
.poet-conclusion { background: var(--poet-arena); padding: 1.75rem 2rem; margin-top: 2.5rem !important; border-left: 2px solid var(--poet-acento); }
.poet-conclusion .poet-eyebrow { margin-bottom: .75rem !important; }
.poet-s .poet-article .poet-conclusion-text { font-family: var(--poet-serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important; line-height: 1.4 !important; margin: 0; }

/* ---------- Cierre de artículo con newsletter ---------- */
.poet-post-end { padding-top: 1rem; }

/* ---------- v3.16 · Plantilla 3 «Revista» ---------- */
.poet-post-hero--split { padding-top: clamp(2rem, 4vw, 3rem); }
.poet-s .poet-split { gap: 0 !important; align-items: stretch !important; }
.poet-split .poet-split-img { height: 100%; }
.poet-split .poet-split-img img { height: 100%; min-height: 26rem; aspect-ratio: auto; object-fit: cover; }
.poet-split > .wp-block-column:last-child { display: flex; }
.poet-split-text { background: var(--poet-arena); padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; width: 100%; box-sizing: border-box; }
.poet-split-text > * { margin-top: 0; margin-bottom: 0; }
.poet-s .poet-split-text .poet-post-title { margin: 0 0 1.5rem !important; }
.poet-s .poet-split-text .poet-post-lead { color: var(--poet-tierra-suave); max-width: 32rem; }
.poet-s .poet-article .poet-dropcap::first-letter {
  font-family: var(--poet-serif); float: left; font-size: 4.6em; line-height: .82; padding: .32rem .6rem 0 0; color: var(--poet-acento);
}
.poet-s .poet-article .poet-float-right { float: right; width: 42%; margin: .4rem 0 1.25rem 2rem !important; }
.poet-s .poet-article .poet-float-right img { aspect-ratio: 4/5; object-fit: cover; }
.poet-s .poet-article h2 { clear: both; }
@media (max-width: 600px) { .poet-s .poet-article .poet-float-right { float: none; width: 100%; margin: 1.5rem 0 !important; } }
.poet-s .poet-article .poet-closing {
  clear: both; font-family: var(--poet-serif) !important; font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important; line-height: 1.35 !important;
  color: var(--poet-tierra) !important; border-top: 1px solid var(--poet-linea); padding-top: 1.75rem; margin-top: 2.5rem !important;
}
.editor-styles-wrapper .poet-s .poet-article .poet-float-right { float: none; width: 50%; }
.poet-s:has(.poet-post-end) { padding-top: clamp(1rem, 2vw, 1.5rem) !important; }

/* ---------- v3.18 · Ajustes del artículo publicado ---------- */
/* cursiva del título siempre en Cormorant, aunque el tema la cambie */
.poet-s .poet-post-title em, .poet-s .poet-h1 em, .poet-s .poet-h2 em { font-family: var(--poet-serif) !important; font-weight: 400 !important; font-style: italic !important; letter-spacing: 0; }
/* foto de la cabecera más grande */
.poet-collage .poet-collage-big { width: 92%; }
.poet-collage:not(:has(.poet-collage-small)) { padding-bottom: 0 !important; }
.poet-collage:not(:has(.poet-collage-small)) .poet-collage-big { width: 100%; }
.poet-collage { margin-top: 0 !important; }
@media (min-width: 782px) { .poet-post-hero-cols > .wp-block-column:first-child { flex: 0 0 46% !important; } }
/* menos espacio entre cabecera y texto, y entre párrafos */
.poet-s.poet-post-hero { padding-bottom: clamp(1rem, 2vw, 1.5rem) !important; }
.poet-post-hero + .poet-s { padding-top: clamp(1.5rem, 3vw, 2.5rem) !important; }
.poet-s .poet-post-intro { margin-bottom: 1rem !important; line-height: 1.7 !important; }
.poet-article > * { margin-bottom: 1rem !important; }
.poet-s .poet-article p, .poet-s .poet-article li { line-height: 1.7 !important; }
.poet-s .poet-article h2 { margin-top: 2.25rem !important; margin-bottom: .85rem !important; }
.poet-s .poet-article figure { margin: 1.75rem 0 !important; }
/* fotos de apoyo: opción ancha y a la derecha/izquierda */
.poet-s .poet-article .alignwide { margin-left: -12% !important; margin-right: -12% !important; max-width: none; width: auto; }
.poet-s .poet-article .alignright { float: right; width: 45%; margin: .3rem 0 1rem 1.75rem !important; }
.poet-s .poet-article .alignleft { float: left; width: 45%; margin: .3rem 1.75rem 1rem 0 !important; }
.poet-s .poet-article h2, .poet-s .poet-article .poet-closing { clear: both; }
@media (max-width: 781px) { .poet-s .poet-article .alignwide { margin-left: 0 !important; margin-right: 0 !important; } .poet-s .poet-article .alignright, .poet-s .poet-article .alignleft { float: none; width: 100%; margin: 1.5rem 0 !important; } }
.poet-s .poet-article .poet-rwide img, .poet-s .poet-article .alignwide img { aspect-ratio: 21/9; object-fit: cover; }

/* ===== v3.21 · Diagnóstico de webs ===== */
.poet-diag-eyebrow { font-family: var(--poet-sans, Manrope, sans-serif); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #916445; font-weight: 600; margin: 0 0 .9rem; }
.poet-diag-url { display: flex; gap: .6rem; max-width: 35rem; margin: 1.6rem 0 0; }
.poet-diag-url input[type=text] { flex: 1; min-width: 0; padding: .95rem 1.1rem; border: 1px solid #D9CBBB; background: #fff; font: 400 .95rem Manrope, sans-serif; color: #584237; border-radius: 2px; box-shadow: none; }
.poet-diag-url input[type=text]:focus { outline: 2px solid #A08166; outline-offset: 1px; }
.poet-diag-url button, .poet-diag-leadform button { background: #584237; color: #F5F2EE; border: 0; padding: .95rem 1.6rem; font: 600 .875rem Manrope, sans-serif; letter-spacing: .04em; cursor: pointer; border-radius: 2px; white-space: nowrap; transition: background .3s; }
.poet-diag-url button:hover { background: #916445; }
.poet-diag-url button:disabled, .poet-diag-leadform button:disabled { opacity: .6; cursor: wait; }
.poet-diag-small { font-size: .8rem !important; color: #7A6656; margin: .75rem 0 0 !important; }
.poet-diag-error { color: #8e4a33; font-size: .9rem; margin: .75rem 0 0; }
.poet-diag-form { margin: 0; }
/* lista de lo que se mide */
.poet-diag-checks > * { border-top: 1px solid #D9CBBB; margin: 0 !important; padding: .9rem 0; display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.poet-diag-checks > *:last-child { border-bottom: 1px solid #D9CBBB; }
.poet-diag-checks em { font-style: normal; color: #A08166; font-size: .82rem; }
/* resultado */
.poet-diag-res-sec { padding-top: 0 !important; padding-bottom: 0 !important; }
.poet-diag-res { padding: 1rem 0 5rem; }
.poet-diag-res[hidden], .poet-diag-res [hidden] { display: none !important; }
.poet-diag-loading { text-align: center; color: #7A6656; padding: 3rem 0; }
.poet-diag-bar { height: 3px; background: #D9CBBB; max-width: 22rem; margin: 1rem auto 0; overflow: hidden; }
.poet-diag-bar i { display: block; height: 100%; width: 0; background: #A08166; }
.poet-diag-score { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center; background: #fff; border: 1px solid #D9CBBB; padding: 2.75rem 3rem; scroll-margin-top: 110px; }
.poet-diag-ring { width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; background: #EDE5DB; }
.poet-diag-ring > div { width: 138px; height: 138px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.poet-diag-ring strong { font: 500 2.75rem/1 'Cormorant Garamond', serif; display: block; color: #584237; }
.poet-diag-ring small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #7A6656; }
.poet-diag-headline { font: 500 clamp(1.9rem, 3.2vw, 2.6rem)/1.1 'Cormorant Garamond', serif; color: #584237; margin: 0; }
.poet-diag-headline em { font-style: italic; color: #916445; font-family: 'Cormorant Garamond', serif; }
.poet-diag-sub { color: #7A6656; margin: .9rem 0 1.1rem; max-width: 35rem; }
.poet-diag-lvl { display: inline-block; padding: .25rem .9rem; border-radius: 30px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.poet-diag-lvl.is-alto { background: #e4ead9; color: #55663a; }
.poet-diag-lvl.is-medio { background: #f3e8cf; color: #8a6d22; }
.poet-diag-lvl.is-bajo { background: #f1dcd3; color: #8e4a33; }
.poet-diag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1.1rem; }
.poet-diag-card { background: #fff; border: 1px solid #D9CBBB; padding: 1.6rem 1.5rem; }
.poet-diag-card p { margin: 0; }
.poet-diag-card-t { font: 600 .95rem Manrope, sans-serif; color: #584237; }
.poet-diag-n { font: 500 2.4rem/1 'Cormorant Garamond', serif !important; color: #584237; margin: .75rem 0 .5rem !important; }
.poet-diag-m { height: 4px; background: #EDE5DB; margin-bottom: .9rem; }
.poet-diag-m i { display: block; height: 100%; }
.poet-diag-card-x { font-size: .875rem; color: #7A6656; margin-top: .7rem !important; line-height: 1.6; }
.poet-diag-lead { margin-top: 2.5rem; background: #584237; color: #F5F2EE; padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.poet-diag-lead-title { font: 500 clamp(1.9rem, 3vw, 2.5rem)/1.1 'Cormorant Garamond', serif; color: #F5F2EE; margin: 0; }
.poet-diag-lead-title em { color: #CBB9A7; font-style: italic; font-family: 'Cormorant Garamond', serif; }
.poet-diag-lead-text { color: #E3D6C8; margin: .9rem 0 0; }
.poet-diag-leadform { display: grid; gap: .6rem; }
.poet-diag-leadform input[type=text], .poet-diag-leadform input[type=email] { padding: .9rem 1rem; border: 1px solid #7A6656; background: #4a372d; color: #fff; font: 400 .95rem Manrope, sans-serif; border-radius: 2px; }
.poet-diag-leadform input::placeholder { color: #CBB9A7; }
.poet-diag-leadform button { background: #A08166; }
.poet-diag-leadform button:hover { background: #C2A25A; }
.poet-diag-legal { font-size: .78rem; color: #CBB9A7; display: block; }
.poet-diag-legal input { margin: 0 .4rem 0 0; vertical-align: -2px; }
.poet-diag-legal a { color: #F5F2EE; }
.poet-diag-lead-error { color: #f1c9b8; font-size: .85rem; margin: 0; }
.poet-diag-note { font-size: .75rem; color: #7A6656; margin-top: 1.1rem; }
/* franja (home y donde se ponga) */
.poet-diag-strip { background: #EDE5DB; border-top: 1px solid #D9CBBB; border-bottom: 1px solid #D9CBBB; padding: 4.5rem 0; }
.poet-diag-strip-in { max-width: 1240px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.poet-diag-strip-title { font: 500 clamp(1.9rem, 3.4vw, 2.75rem)/1.1 'Cormorant Garamond', serif; color: #584237; margin: 0; }
.poet-diag-strip-title em { font-style: italic; color: #916445; font-family: 'Cormorant Garamond', serif; }
.poet-diag-strip-text { color: #7A6656; margin: 1rem 0 0; max-width: 29rem; font-size: .95rem; }
.poet-diag-strip .poet-diag-url { margin-top: 0; }
@media (max-width: 860px) {
  .poet-diag-strip-in, .poet-diag-lead, .poet-diag-score { grid-template-columns: 1fr; gap: 2rem; }
  .poet-diag-score, .poet-diag-lead { padding: 2rem 1.5rem; }
  .poet-diag-grid { grid-template-columns: 1fr 1fr; }
  .poet-diag-url { flex-direction: column; }
}
@media (max-width: 520px) { .poet-diag-grid { grid-template-columns: 1fr; } }
/* En el editor: que se vea el bloque de resultado como aviso */
.editor-styles-wrapper .poet-diag-res-sec .wp-block-shortcode { opacity: .7; }

/* ===== v3.22 · Home: sin «Resultados que hablan», Insights reales, franja diagnóstico ===== */
body.poet-home-on #about { display: none !important; }
.poet-home-insights-pronto { color: #7A6656; font-size: .95rem; padding: 1.5rem 0; margin: 0; }
/* Expertise en dos columnas (página Diagnóstico) */
.poet-exp-2col { gap: 4rem !important; margin-top: 2.5rem; }
.poet-exp-2col .poet-rows > * { padding: 1.5rem .5rem; }
.poet-exp-2col .poet-row-title { margin-bottom: .4rem !important; }
.poet-exp-2col .poet-row-text { max-width: none; }
@media (max-width: 781px) { .poet-exp-2col { gap: 0 !important; } .poet-exp-2col .poet-rows + .poet-rows, .poet-exp-2col > .wp-block-column + .wp-block-column .poet-rows > *:first-child { border-top: 0; } }
/* Menú: botón destacado «Diagnóstico gratuito» (mismo color que el botón principal) */
.poet-nav nav ul li.poet-nav-cta a { background: #916445; color: #F5F2EE !important; padding: .6rem 1.1rem; border-radius: 2px; letter-spacing: .06em; transition: background .3s; white-space: nowrap; }
.poet-nav nav ul li.poet-nav-cta a:hover { background: #584237; }
.poet-nav nav ul li.poet-nav-cta a::after { display: none !important; }
.poet-nav nav ul li.is-current > a { color: #916445; }

/* ===== v3.24 · Home: sin Filosofía ni Casos destacados, sin «Est. 2024», menú con franja beige ===== */
body.poet-home-on.home .phil, body.poet-home-on.home #cases { display: none !important; }
body.poet-home-on .hero .hero-meta { display: none !important; }
body.poet-home-on .poet-nav { background: #EDE5DB !important; border-bottom: 1px solid #D9CBBB; box-shadow: 0 1px 0 rgba(88, 66, 55, .04); }
body.poet-home-on .poet-nav nav ul li a { color: #584237; }
body.poet-home-on .poet-nav nav ul li.poet-nav-cta a { color: #F5F2EE !important; }

/* ===== v3.25 · Menos hueco arriba en las páginas ===== */
.poet-s--hero { padding-top: clamp(2rem, 3.5vw, 3rem) !important; padding-bottom: clamp(2.25rem, 4vw, 3.5rem) !important; }
.poet-s--hero .poet-eyebrow { margin-bottom: .75rem !important; }
.poet-s--hero .poet-hero-cols { gap: clamp(1.5rem, 3vw, 3rem) !important; }
.poet-s--hero > .alignwide > * + * { margin-top: clamp(1rem, 2vw, 1.5rem); }
.poet-s--hero + .poet-s { padding-top: clamp(2.5rem, 4.5vw, 4rem); }
body.poet-home-on .poet-nav .wrap, body.poet-home-on .poet-nav nav ul { align-items: center !important; }
/* Pie: aviso legal de la newsletter */
.poet-foot .poet-foot-legal { display: block; font-size: .75rem; opacity: .75; margin-top: .75rem; }
.poet-foot .poet-foot-legal input { margin: 0 .4rem 0 0; vertical-align: -2px; }
.poet-foot .poet-foot-legal a { color: inherit; text-decoration: underline; }
.poet-foot .poet-foot-error { font-size: .8rem; color: #f1c9b8; margin-top: .5rem; }
.poet-foot .poet-cform-hp { position: absolute; left: -9999px; }
/* Menú: la sección en la que estás y al pasar el ratón, en el marrón del botón Diagnóstico */
body.poet-home-on .poet-nav nav ul li:not(.poet-nav-cta) > a { transition: color .25s; }
body.poet-home-on .poet-nav nav ul li:not(.poet-nav-cta) > a:hover,
body.poet-home-on .poet-nav nav ul li.is-current:not(.poet-nav-cta) > a { color: #916445 !important; }
body.poet-home-on .poet-nav nav ul li.is-current:not(.poet-nav-cta) > a { font-weight: 600; box-shadow: inset 0 -2px 0 #916445; padding-bottom: .35rem; }
body.poet-home-on .poet-nav nav ul li.poet-nav-cta.is-current a { background: #584237; }

/* ===== v4.0 · Textos nuevos, home editable y encabezados SEO ===== */
/* Los títulos que ahora son H2/H3 se ven igual que antes */
.poet-s h2.poet-row-title, .poet-s h3.poet-row-title, .poet-s h2.poet-item-title, .poet-s h3.poet-item-title,
.poet-s h3.poet-mark-title, .poet-s h2.poet-eyebrow { margin-top: 0; letter-spacing: normal; text-transform: none; }
.poet-s h2.poet-eyebrow { font-family: var(--poet-sans); font-weight: 400; font-size: .6875rem; line-height: 1.5; letter-spacing: .26em; text-transform: uppercase; }
.poet-s h3.poet-row-title a { color: inherit; }
.poet-s .poet-row--link h3.poet-row-title { font-family: var(--poet-sans); font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
.poet-s .poet-acc-head h2.poet-row-title { margin: 0; }
/* Home: lema grande y H1 */
.poet-s .poet-lema { font-family: var(--poet-serif); font-weight: 300; font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: .98; color: var(--poet-tierra); margin: 0 0 1.5rem !important; letter-spacing: -.01em; }
.poet-s .poet-lema em { font-style: italic; color: var(--poet-acento); }
.poet-s h1.poet-home-h1 { font-family: var(--poet-sans); font-weight: 500; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.45; color: var(--poet-tierra); margin: 0 0 1rem !important; max-width: 34rem; }
.poet-home-hero .wp-block-buttons { margin-top: 1.75rem; gap: .75rem; }
/* Botón de borde */
.poet-s .is-style-outline .wp-block-button__link { background: transparent; color: var(--poet-tierra); border-color: var(--poet-linea); }
.poet-s .is-style-outline .wp-block-button__link:hover { background: var(--poet-arena); color: var(--poet-tierra); border-color: var(--poet-beige); }
/* Franja diagnóstico dentro de la home de bloques */
.poet-s.poet-s--strip { padding: 0 !important; background: #EDE5DB; }
.poet-s--strip .poet-diag-strip { border: 0; }
.poet-s--strip .poet-diag-strip-in { padding-left: 0; padding-right: 0; }
/* Rejillas de 3 y 4 columnas */
.poet-3col, .poet-4col { gap: clamp(1.5rem, 3vw, 3rem) !important; margin-top: clamp(2rem, 4vw, 3rem) !important; }
.poet-3col > .wp-block-column, .poet-4col > .wp-block-column { border-top: 1px solid var(--poet-linea); padding-top: 1.5rem; }
.poet-s .poet-3col .poet-item-title, .poet-s .poet-4col .poet-item-title { font-size: clamp(1.4rem, 1.9vw, 1.7rem); }
.poet-s .poet-3col .poet-meta { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.poet-s .poet-more { margin-top: 2rem !important; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.poet-s .poet-more a { text-decoration: none; border-bottom: 1px solid var(--poet-beige); padding-bottom: .25rem; }
.poet-s .poet-more a:hover { color: var(--poet-acento); border-color: var(--poet-acento); }
.poet-s .poet-metodo-line { margin-top: 2.5rem !important; max-width: 52rem; color: var(--poet-tierra-suave); }
/* Cierre con llamada a la acción */
.poet-cierre { text-align: center; max-width: 46rem; margin: 0 auto; }
.poet-cierre .poet-lead { margin: 1rem auto 0 !important; }
.poet-cierre .wp-block-buttons { justify-content: center; margin-top: 2rem; gap: .75rem; }
.poet-s--cierre { background: var(--poet-arena); }
/* Sectores: servicio recomendado */
.poet-s .poet-sector-serv { font-size: .8rem; letter-spacing: .06em; margin-top: .5rem !important; }
.poet-s .poet-sector-serv a { color: var(--poet-acento); text-decoration: none; }
/* Metodología: qué recibes */
.poet-s .poet-recibes { margin-top: .75rem !important; padding-top: .75rem; border-top: 1px solid var(--poet-linea); }
.poet-s .poet-recibes strong { color: var(--poet-acento); }
/* Contacto: qué pasa después */
.poet-pasos-mini { margin: 1.25rem 0 2rem !important; }
.poet-paso-mini { border-top: 1px solid var(--poet-linea); padding: 1rem 0; }
.poet-s .poet-paso-mini .poet-item-title { font-size: 1.35rem; margin-bottom: .25rem !important; }
.poet-s .poet-paso-mini .poet-step-num { margin-bottom: .25rem !important; }
@media (max-width: 781px) { .poet-cierre { text-align: left; } .poet-cierre .wp-block-buttons { justify-content: flex-start; } }
.poet-s .wp-block-buttons .wp-block-button__link { display: inline-block; white-space: nowrap; }
.poet-home-hero .wp-block-button__link, .poet-cierre .wp-block-button__link { padding: 1.05rem 1.75rem; }
@media (max-width: 520px) { .poet-s .wp-block-buttons .wp-block-button__link { white-space: normal; } }
.poet-s .poet-val-head { display: flex !important; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 1rem; } .poet-s .poet-val-head > * { margin: 0 !important; }
.poet-s .poet-media-cols .poet-h2 + .poet-lead { margin-top: 1.25rem !important; }
/* Nosotros: equipo (6 fichas) */
.poet-s .poet-team-intro { max-width: 46rem; margin-top: 1rem !important; }
.poet-team { gap: clamp(1.5rem, 3vw, 2.5rem) !important; margin-top: clamp(2rem, 4vw, 3rem) !important; }
.poet-team + .poet-team { margin-top: clamp(1.5rem, 3vw, 2.5rem) !important; }
.poet-s .poet-team .poet-team-foto { margin: 0 0 1.1rem !important; }
.poet-s .poet-team .poet-team-foto img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.poet-s .poet-team .poet-item-title { font-size: clamp(1.4rem, 1.9vw, 1.7rem); margin-bottom: .25rem !important; }
.poet-s .poet-team .poet-meta { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem !important; }
.poet-s .poet-team + .poet-continuo-wrap, .poet-s .poet-team ~ .poet-continuo-wrap { margin-top: clamp(3rem, 6vw, 4.5rem) !important; }
.poet-s.poet-s--valores { padding-top: clamp(1rem, 2vw, 1.5rem) !important; }
/* Textos justificados en todas las páginas (los títulos y los cierres centrados no) */
.poet-s p.poet-lead, .poet-s p.poet-continuo, .poet-s p.poet-item-text, .poet-s p.poet-row-text, .poet-s p.poet-acc-text,
.poet-article p, .poet-s .poet-post-intro { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.poet-cierre p.poet-lead { text-align: center; hyphens: manual; }
@media (max-width: 520px) { .poet-s p.poet-lead, .poet-s p.poet-continuo, .poet-s p.poet-item-text, .poet-s p.poet-row-text, .poet-s p.poet-acc-text, .poet-article p { text-align: left; } }
/* En Nosotros: los valores se ven abiertos en la vista previa */
.poet-s .poet-h1 + .poet-lead { margin-top: 1.5rem !important; }
.poet-s .poet-rows--marks .poet-row-title { padding-left: 1.35em; text-indent: -1.35em; }
.poet-s .poet-4col p.poet-item-text { text-align: left; hyphens: manual; }
/* Metodología en tarjetas */
.poet-pasos-cards > .wp-block-column { background: #fff; border: 1px solid var(--poet-linea) !important; padding: clamp(1.5rem, 2.5vw, 2.25rem) !important; }
.poet-s .poet-pasos-cards .poet-step-num { font-family: var(--poet-serif); font-size: 2.6rem; line-height: 1; color: var(--poet-beige); margin: 0 0 1rem !important; }
.poet-s .poet-pasos-cards .poet-item-title { font-size: clamp(1.6rem, 2.1vw, 1.9rem); margin-bottom: .6rem !important; }
.poet-pasos-cards + .poet-pasos-cards { margin-top: clamp(1.5rem, 3vw, 3rem) !important; }
.poet-s .poet-pasos-cards p.poet-item-text { text-align: left; hyphens: manual; }
/* Tarjetas de metodología: al pasar por encima, el título en cursiva */
.poet-pasos-cards > .wp-block-column { transition: border-color .3s ease, transform .3s ease; }
.poet-s .poet-pasos-cards .poet-item-title { transition: color .3s ease; }
.poet-pasos-cards > .wp-block-column:hover { border-color: var(--poet-beige) !important; transform: translateY(-3px); }
.poet-s .poet-pasos-cards > .wp-block-column:hover .poet-item-title { font-style: italic; color: var(--poet-acento); }
.poet-s .poet-pasos-cards > .wp-block-column:hover .poet-step-num { color: var(--poet-acento); }
@media (prefers-reduced-motion: reduce) { .poet-pasos-cards > .wp-block-column:hover { transform: none; } }
/* Justificado también en tarjetas y columnas estrechas (petición de Poet) */
.poet-s .poet-4col p.poet-item-text, .poet-s .poet-pasos-cards p.poet-item-text { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 520px) { .poet-s .poet-4col p.poet-item-text, .poet-s .poet-pasos-cards p.poet-item-text { text-align: left; } }
/* Sectores: nombre en cursiva al pasar el ratón */
.poet-s .poet-sector .poet-row-title { transition: color .3s ease; }
.poet-s .poet-sector:hover .poet-row-title { font-style: italic; color: var(--poet-acento); }
/* Contacto: pasos compactos y dirección sin justificar */
.poet-s .poet-paso-mini .poet-step-num { font-family: var(--poet-sans); font-size: .75rem !important; letter-spacing: .16em; color: var(--poet-acento); border: 0 !important; padding: 0 !important; margin: 0 0 .35rem !important; line-height: 1.4; }
.poet-s .poet-paso-mini .poet-step-num::after, .poet-s .poet-paso-mini .poet-step-num::before { display: none !important; }
.poet-s .poet-paso-mini { padding: 1.1rem 0 !important; }
.poet-s .poet-pasos-mini + p.poet-item-title + p.poet-row-text, .poet-s .poet-pasos-mini ~ p.poet-row-text { text-align: left; hyphens: manual; }
/* Gracias del formulario: últimas lecturas */
.poet-cform-lecturas { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--poet-linea); }
.poet-cform-lecturas-lbl { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--poet-tierra-suave); margin: 0 0 .75rem; }
.poet-cform-lecturas ul { list-style: none; margin: 0; padding: 0; }
.poet-cform-lecturas li { border-bottom: 1px solid var(--poet-linea); }
.poet-cform-lecturas li a { display: block; padding: .85rem 0; font-family: var(--poet-serif); font-size: 1.25rem; line-height: 1.3; color: var(--poet-tierra); text-decoration: none; transition: color .25s; }
.poet-cform-lecturas li a:hover { color: var(--poet-acento); font-style: italic; }
/* Gracias del formulario: centrado y sin la columna «¿Qué pasa después?» */
.wp-block-columns.poet-con-gracias > .wp-block-column:not(.poet-col-gracias) { display: none !important; }
.wp-block-columns.poet-con-gracias > .wp-block-column.poet-col-gracias { flex-basis: 100% !important; max-width: 46rem; margin: 0 auto !important; }
.poet-col-gracias .poet-cform-gracias { text-align: center; border-top: 0; padding-top: 0; }
.poet-col-gracias .poet-cform-gracias-text { margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
.poet-col-gracias .poet-cform-lecturas { text-align: left; }
.poet-col-gracias .poet-cform-gracias-link { text-align: left; }
/* Gracias: mensaje en el centro; «Mientras tanto» pegado a la izquierda */
.wp-block-columns.poet-con-gracias > .wp-block-column.poet-col-gracias { max-width: none !important; margin: 0 !important; }
.poet-col-gracias .poet-cform-gracias-title, .poet-col-gracias .poet-cform-gracias-text { max-width: 46rem; margin-left: auto !important; margin-right: auto !important; }
.poet-col-gracias .poet-cform-lecturas, .poet-col-gracias .poet-cform-gracias-link { max-width: 40rem; margin-left: 0 !important; margin-right: auto !important; text-align: left; }
.poet-col-gracias .poet-cform-lecturas { margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.wp-block-columns.poet-con-gracias > .wp-block-column.poet-col-gracias { flex: 0 0 100% !important; width: 100% !important; }
.poet-col-gracias .poet-form, .poet-col-gracias .poet-cform, .poet-col-gracias .poet-cform-gracias { max-width: none !important; width: 100% !important; }
.poet-s .wp-block-columns.poet-con-gracias:has(.poet-form) > .wp-block-column.poet-col-gracias { flex: 0 0 100% !important; width: 100% !important; }
.poet-cform .poet-cform-gracias .poet-cform-gracias-sub { font-family: var(--poet-serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; color: var(--poet-acento); margin: .5rem 0 0 !important; }
.poet-s .poet-card-excerpt p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; } @media (max-width: 520px) { .poet-s .poet-card-excerpt p { text-align: left; } }
.poet-nl .poet-nl-copy .poet-nl-text { display: block; margin-top: .35rem !important; font-size: .9rem; }
/* Casos de éxito: zigzag foto izquierda / derecha */
.poet-casos > * + * { margin-top: clamp(4rem, 7vw, 6.5rem) !important; }
.poet-casos .poet-zigzag { align-items: center !important; gap: 0 !important; }
.poet-casos .poet-zigzag > .wp-block-column { flex: 1 1 0 !important; }
.poet-casos .poet-zigzag > .wp-block-column:has(.poet-img) { flex: 0 0 46% !important; }
.poet-casos .poet-zigzag > .wp-block-column[style*="flex-basis:6%"] { flex: 0 0 6% !important; }
@media (max-width: 781px) { .poet-casos .poet-zigzag > .wp-block-column:has(.poet-img) { order: -1; } }
/* Home: últimas lecturas en lista compacta */
.poet-lecturas-cols { align-items: flex-start !important; }
.poet-posts-lista .wp-block-post-template { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--poet-linea); }
.poet-posts-lista .wp-block-post-template > li { margin: 0; border-bottom: 1px solid var(--poet-linea); }
.poet-lista-item { position: relative; padding: 1.25rem 0; }
.poet-s .poet-lista-item .poet-meta { margin: 0 0 .35rem !important; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.poet-s .poet-lista-title { font-family: var(--poet-serif); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.25; margin: 0 !important; }
.poet-lista-title a { text-decoration: none; color: var(--poet-tierra); transition: color .25s; }
.poet-lista-title a::after { content: ""; position: absolute; inset: 0; }
.poet-lista-item:hover .poet-lista-title a { color: var(--poet-acento); font-style: italic; }
/* Valores siempre abiertos, con su color */
.poet-val--abierto { padding: 1.5rem 1rem 1.75rem !important; }
.poet-s .poet-val--abierto .poet-mark-title { margin: 0 0 .6rem !important; }
.poet-s .poet-val--abierto .poet-acc-text { margin: 0 !important; padding-left: 1.75rem; }
.poet-valores > .wp-block-column:nth-child(1) .poet-val--abierto:nth-child(1) { background: linear-gradient(100deg, rgba(88,66,55,.16), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(1) .poet-val--abierto:nth-child(2) { background: linear-gradient(100deg, rgba(194,162,90,.30), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(1) .poet-val--abierto:nth-child(3) { background: linear-gradient(100deg, rgba(122,90,64,.26), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(2) .poet-val--abierto:nth-child(1) { background: linear-gradient(100deg, rgba(203,185,167,.50), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(2) .poet-val--abierto:nth-child(2) { background: linear-gradient(100deg, rgba(145,100,69,.22), rgba(245,242,238,0) 80%); }
.poet-valores > .wp-block-column:nth-child(2) .poet-val--abierto:nth-child(3) { background: linear-gradient(100deg, rgba(156,150,140,.30), rgba(245,242,238,0) 80%); }
.poet-val--abierto + .poet-val--abierto { margin-top: .75rem !important; border-top: 0 !important; }
.poet-valores-col > .poet-val--abierto:last-child { border-bottom: 0; }
.poet-valores-col > .poet-val--abierto { border-top: 0; }
/* Logo de Poet más grande en el menú */
body.poet-home-on .poet-nav .wrap > a img, body.poet-home-on .poet-nav a[aria-label] img { height: 52px !important; width: auto !important; max-height: none !important; max-width: none !important; }
@media (max-width: 781px) { body.poet-home-on .poet-nav .wrap > a img, body.poet-home-on .poet-nav a[aria-label] img { height: 40px !important; } }
/* Valores: todos los rectángulos del mismo tamaño */
.poet-s .poet-valores { align-items: stretch !important; }
.poet-valores > .wp-block-column { display: flex; flex-direction: column; }
.poet-valores .poet-valores-col { display: flex !important; flex-direction: column; flex: 1 1 auto; gap: .75rem; }
.poet-valores .poet-valores-col > .poet-val--abierto { flex: 1 1 0; margin: 0 !important; min-height: 8.5rem; box-sizing: border-box; }

/* v5.2.2 · Newsletter del pie: botón visible "Suscribirme" + sin fondo azul del autorrelleno */
.poet-foot .foot-form .row{display:flex;align-items:stretch;gap:.75rem;border-bottom:0!important;padding-bottom:0}
.poet-foot .foot-form .row input[type=email]{flex:1 1 auto;min-width:0;background:transparent;border:0;border-bottom:1px solid rgba(245,242,238,.45);color:#F5F2EE;padding:.7rem 0;font-size:.95rem;outline:none}
.poet-foot .foot-form .row input[type=email]:focus{border-bottom-color:#F5F2EE}
.poet-foot .foot-form .row input[type=email]::placeholder{color:rgba(245,242,238,.6)}
.poet-foot .foot-form .row input:-webkit-autofill,
.poet-foot .foot-form .row input:-webkit-autofill:hover,
.poet-foot .foot-form .row input:-webkit-autofill:focus{-webkit-text-fill-color:#F5F2EE;-webkit-box-shadow:0 0 0 1000px #584237 inset;caret-color:#F5F2EE;transition:background-color 9999s}
.poet-foot .foot-form .row button.poet-foot-btn{flex:0 0 auto;background:#916445;color:#F5F2EE;border:0;border-radius:2px;padding:.7rem 1.3rem;font-family:inherit;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;white-space:nowrap;transition:background .3s}
.poet-foot .foot-form .row button.poet-foot-btn:hover,.poet-foot .foot-form .row button.poet-foot-btn:focus-visible{background:#C2A25A;color:#584237}
.poet-foot .foot-form .row button.poet-foot-btn span{margin-left:.4rem}
@media (max-width:520px){.poet-foot .foot-form .row{flex-direction:column}.poet-foot .foot-form .row button.poet-foot-btn{width:100%;padding:.85rem}}
.poet-nl-aviso{margin:.6rem 0 0;font-size:.8rem;color:#B4412E;font-weight:500}
.poet-foot .poet-nl-aviso{color:#F2B8A8}
.poet-nl-gracias--live .poet-nl-title{font-family:var(--poet-serif,'Cormorant Garamond',serif);font-size:1.6rem;margin:0 0 .4rem}
.poet-nl-gracias--live .poet-nl-text{margin:0;font-size:.9rem;line-height:1.6}
.poet-foot .poet-nl-gracias--live .poet-nl-title{color:#F5F2EE}
.poet-foot .poet-nl-gracias--live .poet-nl-text{color:#D9CBBB}
button[aria-busy="true"]{opacity:.6;cursor:wait}
.poet-foot .foot-form .poet-nl-gracias--live p.poet-nl-title{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:2rem;line-height:1.15;color:#F5F2EE;margin:0 0 .5rem!important;max-width:none}
.poet-foot .foot-form .poet-nl-gracias--live p.poet-nl-text{font-size:.9rem;line-height:1.6;color:#D9CBBB;margin:0!important;max-width:30rem}
.poet-foot .foot-form p.poet-nl-aviso{color:#F2B8A8;font-size:.8rem;margin-top:.6rem}

/* v5.2.5 · Trampa antispam oculta en TODOS los formularios (también el del diagnóstico) */
.poet-cform-hp{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;margin:0!important;padding:0!important}

/* v5.3.3 · Páginas legales y enlaces legales del pie */
.poet-legal-hero .poet-h1{font-size:clamp(2.4rem,5vw,4rem)}
.poet-legal .poet-article h2{margin-top:2.4rem!important;margin-bottom:.6rem!important}
.poet-legal .poet-article ul{padding-left:1.2rem;line-height:1.75}
.poet-legal .poet-article a{color:#916445}
.poet-foot .foot-base .poet-foot-legales a{color:inherit;text-decoration:none;opacity:.85}
.poet-foot .foot-base .poet-foot-legales a:hover{opacity:1;text-decoration:underline}

/* v5.3.6 · Home: foto de la cabecera grande y ENTERA (sin recortes), alineada con el texto */
@media (min-width: 782px) {
  .poet-s--hero .poet-home-hero.wp-block-columns { align-items: flex-start !important; }
  .poet-home-hero > .wp-block-column[style*="flex-basis:54%"] { flex-basis: 50% !important; }
  .poet-home-hero > .wp-block-column[style*="flex-basis:6%"] { flex-basis: 2% !important; }
  .poet-home-hero > .wp-block-column:last-child { padding-top: .6rem; }
  .poet-home-hero > .wp-block-column:last-child img { aspect-ratio: auto !important; width: 100%; height: auto !important; object-fit: contain; }
}

/* v5.3.7 · Logos en la franja de clientes: sin pie de foto, fondo blanco fundido y separador como los nombres */
.poet-marquee-track > .wp-block-image figcaption { display: none !important; }
.poet-marquee-track > .wp-block-image { position: relative; margin: 0 !important; padding-right: 4rem; }
.poet-marquee-track > .wp-block-image::after { content: ""; position: absolute; right: 1.85rem; top: 50%; width: .35rem; height: .35rem; background: var(--poet-beige); }
.poet-marquee-track > .wp-block-image img { mix-blend-mode: multiply; }

/* v5.3.8 · Logos de clientes con su color original (sin filtro) */
.poet-marquee-track > .wp-block-image img { filter: none !important; opacity: 1 !important; }

/* v5.3.9 · Franja de clientes: separación y cuadradito tras CUALQUIER elemento (logo, logo centrado, etc.) */
.poet-marquee-track > *:not(.poet-name) { position: relative; flex: 0 0 auto; margin: 0 !important; padding-right: 4rem !important; display: flex; align-items: center; }
.poet-marquee-track > *:not(.poet-name)::after { content: ""; position: absolute; right: 1.85rem; top: 50%; width: .35rem; height: .35rem; background: var(--poet-beige); }
.poet-marquee-track > *:not(.poet-name) figure { margin: 0 !important; }
.poet-marquee-track > *:not(.poet-name) img { height: clamp(2.25rem, 3.2vw, 3rem) !important; width: auto !important; max-width: 12rem; object-fit: contain; filter: none !important; opacity: 1 !important; mix-blend-mode: multiply; }
.poet-marquee-track figcaption { display: none !important; }
.poet-marquee-track > p:empty { display: none !important; }

/* v5.4.0 · Logos de clientes desde «Textos fijos e imágenes → Clientes»: tamaño óptico por logo */
.poet-marquee-track > .poet-cli img { height: var(--poet-cli-h, 40px) !important; width: auto !important; max-width: none !important; }
.poet-marquee-track > .poet-cli a { display: flex; align-items: center; }
.poet-marquee-track > .poet-name a { color: inherit; text-decoration: none; }

/* v5.4.3 · Nosotros: todas las fotos del equipo iguales (4:5), aunque se hayan cambiado o redimensionado en el editor */
.poet-s .poet-team > .wp-block-column { flex: 1 1 0 !important; min-width: 0; }
.poet-s .poet-team .wp-block-image { width: 100% !important; max-width: 100% !important; margin: 0 0 1.1rem !important; overflow: hidden; }
.poet-s .poet-team .wp-block-image img { width: 100% !important; height: auto !important; max-width: 100% !important; aspect-ratio: 4 / 5 !important; object-fit: cover !important; object-position: 50% 25%; display: block; }
@media (max-width: 781px) { .poet-s .poet-team > .wp-block-column { flex-basis: 100% !important; } }

/* v5.4.4 · Artículos: subtítulos (H2) a todo el ancho de la página; el texto sigue en su columna de lectura */
.poet-s .poet-article { max-width: none !important; }
.poet-s .poet-article > :not(h2):not(.alignwide):not(.alignfull):not(.alignright):not(.alignleft) { max-width: 44rem; margin-left: auto !important; margin-right: auto !important; }
.poet-s .poet-article > .alignright { margin-right: max(0px, calc((100% - 44rem) / 2)) !important; }
.poet-s .poet-article > .alignleft { margin-left: max(0px, calc((100% - 44rem) / 2)) !important; }
.poet-s .poet-article > h2 { max-width: none; width: 100%; margin-left: 0 !important; margin-right: 0 !important; }
.poet-s .poet-article > h2 + * { margin-top: 0 !important; }
@media (min-width: 782px) {
  .poet-s .poet-article > .alignright { width: calc(44rem * .45); margin-left: 1.75rem !important; }
  .poet-s .poet-article > .alignleft { width: calc(44rem * .45); margin-right: 1.75rem !important; }
}

/* v5.4.5 · Artículos: el texto empieza en la misma línea que los subtítulos (alineado a la izquierda), con su ancho de lectura */
@media (min-width: 782px) {
  .poet-s .poet-article > :not(h2):not(.alignwide):not(.alignfull):not(.alignright):not(.alignleft) { margin-left: 0 !important; margin-right: auto !important; max-width: 52rem; }
  .poet-s .poet-article > .alignright { margin-right: max(0px, calc(100% - 52rem)) !important; width: calc(52rem * .42); }
  .poet-s .poet-article > .alignleft { margin-left: 0 !important; width: calc(52rem * .42); }
}
