/* Cohete CW · Entrada editorial · v1.0.85
   Encola exclusivamente en entradas. Conserva los bloques Gutenberg / HTML.
   El CSS del sitio prevalece fuera del cuerpo editorial. */
body.single-post .cw-single-editorial {
  --cw-single-heading:var(--cw-pf-text,var(--e-global-color-text,#303336));
  --cw-single-soft-bg:var(--e-global-color-b5b6896,#f4f9fb);
  font-family:Montserrat,var(--e-global-typography-text-font-family),sans-serif;
}
body.single-post .cw-single-editorial .cw-single-title,
body.single-post .cw-single-editorial .cw-single-body :is(h2,h3,h4),
body.single-post .cw-single-editorial .cw-single-related__head h2,
body.single-post .cw-single-editorial .cw-single-related-card h3 a,
body.single-post .cw-single-editorial .cw-single-help__title {
  color:var(--cw-single-heading) !important;
  font-family:inherit !important;
}
body.single-post .cw-single-editorial .cw-single-title {
  font-size:clamp(36px,4.2vw,62px);font-weight:700;line-height:1.08;letter-spacing:-.042em;
  max-width:1000px;
}
body.single-post .cw-single-editorial .cw-single-hero .cw-single-back {
  display:inline-flex;margin-bottom:25px;color:var(--cw-single-accent);
  font-size:12px;font-weight:600;text-decoration:none;
}
body.single-post .cw-single-editorial .cw-single-hero .cw-single-back:hover {color:var(--cw-single-secondary);}
body.single-post .cw-single-editorial .cw-single-body > p:first-child {
  font-size:inherit !important;color:inherit !important;line-height:inherit !important;
}
body.single-post .cw-single-editorial .cw-single-body,
body.single-post .cw-single-editorial .cw-single-body :is(p,li) {
  overflow-wrap:break-word;
}
body.single-post .cw-single-editorial .cw-single-body h2 {font-size:clamp(27px,2.4vw,37px)!important;}
body.single-post .cw-single-editorial .cw-single-body h3 {font-size:clamp(23px,1.9vw,29px)!important;}
body.single-post .cw-single-editorial .cw-single-body h4 {font-size:clamp(20px,1.55vw,24px)!important;}
body.single-post .cw-single-editorial :is(.cw-single-featured,.cw-single-share,.cw-single-help,.cw-single-related-card) {
  box-shadow:none !important;
}
body.single-post .cw-single-editorial .cw-single-body :is(figure,.wp-block-image,.wp-block-video,.wp-block-gallery) {
  max-width:100%;min-width:0;
}
/* Imágenes individuales: preservan relación, no se estiran ni se recortan. */
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(figure.wp-block-image,figure.wp-caption,figure.wp-block-gallery,figure.wp-block-video) {
  margin-block:clamp(22px,3vw,38px);
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(figure.wp-block-image,figure.wp-caption) img,
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) > img {
  display:block;width:auto;max-width:100%;height:auto;border-radius:clamp(12px,1.5vw,20px);
  object-fit:contain;box-shadow:none;
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(.wp-element-caption,figcaption,.wp-caption-text) {
  margin:8px 0 0;color:var(--cw-single-muted,#758187);font-size:clamp(11px,.85vw,13px);line-height:1.5;
  font-style:normal;text-align:left;
}
/* Galería propia del editor, fotografías de proporciones heterogéneas. */
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(.wp-block-gallery,.blocks-gallery-grid) {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.3vw,18px);
  align-items:stretch;list-style:none;padding:0;width:100%;
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) .wp-block-gallery.columns-2 {grid-template-columns:repeat(2,minmax(0,1fr));}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) .wp-block-gallery.columns-4 {grid-template-columns:repeat(4,minmax(0,1fr));}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) .wp-block-gallery > :is(figure,.blocks-gallery-item),
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) .blocks-gallery-grid > .blocks-gallery-item {
  display:block;width:100%;max-width:none;min-width:0;margin:0;overflow:hidden;border-radius:clamp(12px,1.3vw,18px);
  background:var(--cw-single-soft-bg,#f4f9fb);aspect-ratio:4/5;
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(.wp-block-gallery,.blocks-gallery-grid) figure img,
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(.wp-block-gallery,.blocks-gallery-grid) .blocks-gallery-item img {
  display:block;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:inherit;margin:0;
}
/* Galerías clásicas [gallery]: no dependen de los bloques de Gutenberg. */
body.single-post :is(.cw-single-body,.entry-content,.elementor-widget-theme-post-content) .gallery {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.3vw,18px);
  align-items:start;max-width:100%;margin:clamp(22px,3vw,38px) 0;
}
body.single-post :is(.cw-single-body,.entry-content,.elementor-widget-theme-post-content) .gallery.gallery-columns-2 {grid-template-columns:repeat(2,minmax(0,1fr));}
body.single-post :is(.cw-single-body,.entry-content,.elementor-widget-theme-post-content) .gallery.gallery-columns-4 {grid-template-columns:repeat(4,minmax(0,1fr));}
body.single-post :is(.cw-single-body,.entry-content,.elementor-widget-theme-post-content) .gallery .gallery-item {
  width:100%;min-width:0;max-width:100%;float:none;margin:0;text-align:left;
}
body.single-post :is(.cw-single-body,.entry-content,.elementor-widget-theme-post-content) .gallery :is(.gallery-icon,.gallery-icon a) {
  display:block;width:100%;min-width:0;overflow:hidden;border-radius:clamp(12px,1.3vw,18px);
}
body.single-post :is(.cw-single-body,.entry-content,.elementor-widget-theme-post-content) .gallery .gallery-icon img {
  width:100%;height:auto;max-width:100%;margin:0;border:0;border-radius:inherit;
}
body.single-post :is(.cw-single-body,.entry-content,.elementor-widget-theme-post-content) .gallery .gallery-caption {
  color:var(--cw-single-muted,#758187);font-size:12px;line-height:1.45;padding-top:9px;
}
/* Vídeos, también cuando el editor mezcla dos verticales en columnas. */
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(.wp-block-video,.wp-video,figure:has(>video)) {
  width:100%;max-width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:6px;margin-block:clamp(22px,3vw,36px);
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) video {
  display:block;object-fit:contain;width:auto;max-width:100%;height:auto;
  max-height:min(76vh,720px);background:#0d181f;border-radius:clamp(12px,1.5vw,20px);
  box-shadow:none;
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) video.cw-pf-video-portrait {
  aspect-ratio:var(--cw-pf-video-ratio,9/16);max-width:min(100%,440px);
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) video.cw-pf-video-landscape {
  aspect-ratio:var(--cw-pf-video-ratio,16/9);max-width:100%;
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(.wp-block-columns,.elementor-container) {
  min-width:0;
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) .wp-block-columns:has(video) {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(14px,2.1vw,28px);
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) .wp-block-columns:has(video) > .wp-block-column {
  min-width:0;width:100%;margin:0;
}
body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(iframe,embed,object) {max-width:100%;}
body.single-post .cw-single-editorial .cw-single-body table {display:block;overflow-x:auto;}
body.single-post .cw-single-editorial .cw-single-body :is(ul,ol) {padding-inline-start:1.3em;}
body.single-post .cw-single-editorial .cw-single-body li::marker {color:var(--cw-single-accent);}
body.single-post .cw-single-editorial .cw-single-share__btn svg {fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
body.single-post .cw-single-editorial .cw-single-related-card__image {background:var(--cw-single-soft);}
body.single-post .cw-single-editorial .cw-single-related-card__image:empty {display:none;}
html[data-theme="dark"] body.single-post .cw-single-editorial,
body[data-theme="dark"].single-post .cw-single-editorial {
  --cw-single-soft-bg:color-mix(in srgb,var(--cw-pf-background,#081923) 90%,var(--cw-single-accent) 10%);
}
/* Compatibilidad: si Elementor sustituye la plantilla, las imágenes/vídeos mantienen el diseño. */
@media(max-width:900px){
  body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(.wp-block-gallery,.blocks-gallery-grid) {grid-template-columns:repeat(2,minmax(0,1fr));}
  body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) .wp-block-gallery.columns-4,
  body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) .gallery.gallery-columns-4 {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:600px){
  body.single-post .cw-single-editorial {padding:30px 16px 75px!important;}
  body.single-post .cw-single-editorial .cw-single-title {font-size:clamp(31px,8.3vw,41px)!important;}
  body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) :is(.wp-block-gallery,.blocks-gallery-grid) {gap:9px;}
  body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) .wp-block-columns:has(video) {grid-template-columns:1fr;gap:12px;}
  body.single-post :is(.cw-single-body, .entry-content, .elementor-widget-theme-post-content) video {max-height:min(72svh,600px);}
}
@media(prefers-reduced-motion:reduce){
  body.single-post .cw-single-editorial * {animation-duration:.01ms!important;transition-duration:.01ms!important;}
}

/* v1.0.86 · Identidad editorial: los titulares NO usan el color de acento. */
body.single-post .cw-single-editorial.cw-single {
  --cw-single-heading:var(--cw-pf-text, var(--e-global-color-text,#303438));
  --cw-single-button-a:var(--e-global-color-secondary,#00acf8);
  --cw-single-button-b:var(--e-global-color-primary,#00cfab);
  --cw-single-button-hover:var(--e-global-color-accent,#24c7af);
}
body.single-post .cw-single-editorial.cw-single :is(.cw-single-title,.cw-single-help__title,.cw-single-related__head h2,.cw-single-related-card h3 a),
body.single-post .cw-single-editorial.cw-single .cw-single-body :is(h2,h3,h4),
body.single-post .cw-single-editorial.cw-single .cw-single-related-card h3 a:link,
body.single-post .cw-single-editorial.cw-single .cw-single-related-card h3 a:visited {
  color:var(--cw-single-heading) !important;
}
body.single-post .cw-single-editorial .cw-single-body strong {
  color:inherit;
  font-weight:700;
}
/* Galería Gutenberg moderna: neutralizar anchos calculados de cada bloque hijo.
   Nunca comprimir seis fotos en tarjetas de 60px o aplicar ratio al contenedor global. */
body.single-post .cw-single-body .wp-block-gallery.has-nested-images,
body.single-post .cw-single-body .wp-block-gallery:not(.has-nested-images),
body.single-post .cw-single-body .gallery {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:clamp(10px,1.5vw,18px) !important;
  width:100% !important;max-width:100% !important;
  padding:0 !important;margin-block:clamp(22px,3vw,36px) !important;
  align-items:stretch !important;
}
body.single-post .cw-single-body .wp-block-gallery:is(.columns-1,.has-nested-images.columns-1),
body.single-post .cw-single-body .gallery.gallery-columns-1{grid-template-columns:1fr!important;}
body.single-post .cw-single-body .wp-block-gallery:is(.columns-2,.has-nested-images.columns-2),
body.single-post .cw-single-body .gallery.gallery-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.single-post .cw-single-body .wp-block-gallery:is(.columns-4,.has-nested-images.columns-4),
body.single-post .cw-single-body .gallery.gallery-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
body.single-post .cw-single-body .wp-block-gallery.has-nested-images > figure.wp-block-image,
body.single-post .cw-single-body .wp-block-gallery > figure,
body.single-post .cw-single-body .wp-block-gallery .blocks-gallery-item,
body.single-post .cw-single-body .gallery .gallery-item {
  display:block !important;flex:none!important;width:100%!important;
  max-width:none!important;min-width:0!important;
  height:auto!important;margin:0!important;padding:0!important;
  aspect-ratio:4/3!important;overflow:hidden;
  border-radius:14px!important;
  box-sizing:border-box;
}
body.single-post .cw-single-body .wp-block-gallery.has-nested-images > figure.wp-block-image > img,
body.single-post .cw-single-body .wp-block-gallery :is(figure,.blocks-gallery-item) img,
body.single-post .cw-single-body .gallery .gallery-item img {
  width:100%!important;min-width:0!important;max-width:none!important;
  height:100%!important;max-height:none!important;
  margin:0!important;display:block!important;position:static!important;
  object-fit:cover!important;border-radius:inherit!important;
}
body.single-post .cw-single-body .wp-block-gallery figure figcaption,
body.single-post .cw-single-body .gallery .gallery-caption {
  position:relative!important;inset:auto!important;
  padding:7px 8px!important;margin:0!important;
  font-size:11px!important;line-height:1.35!important;
  color:var(--cw-single-muted)!important;
  background:var(--cw-single-white)!important;
}
/* Los vídeos de Gutenberg aparecen con el mismo alto visual, sin deformarse.
   El par se agrupa progresivamente: ni reescribe bloques ni añade recursos. */
body.single-post .cw-single-body .cw-post-video-row {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,2vw,22px);align-items:stretch;
  width:100%;min-width:0;margin:clamp(24px,3vw,40px) 0;
}
body.single-post .cw-single-body .cw-post-video-row > .wp-block-video {
  margin:0!important;display:grid!important;place-items:center;
  height:clamp(260px,30vw,420px);min-height:0;
  overflow:hidden;border-radius:16px;
  background:#0e171c;
}
body.single-post .cw-single-body .cw-post-video-row video {
  width:100%!important;height:100%!important;max-height:100%!important;
  max-width:100%!important;object-fit:contain!important;
  aspect-ratio:auto!important;border-radius:0!important;
  background:#0e171c;
}
body.single-post .cw-single-body > figure.wp-block-video:not(.cw-post-video-row > figure) {
  max-width:100%;margin-inline:auto;
}
/* Controles sociales del sistema: geometría constante y feedback accesible. */
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn,
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn:is(:link,:visited) {
  flex:0 0 44px!important;width:44px!important;height:44px!important;
  border-radius:13px!important;border:1px solid var(--cw-single-line)!important;
  background:var(--cw-single-white)!important;color:var(--cw-single-heading)!important;
  padding:0!important;box-shadow:none!important;
  transform:none!important;transition:background .2s ease,color .2s ease,border-color .2s ease!important;
  cursor:pointer;
}
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn:hover,
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn:focus-visible {
  background:var(--cw-single-soft)!important;
  color:var(--cw-single-button-b)!important;
  border-color:var(--cw-single-button-b)!important;
  transform:none!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn svg {
  width:19px;height:19px;fill:none!important;stroke:currentColor!important;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
body.single-post .cw-single-editorial.cw-single .cw-single-share__label {
  color:var(--cw-single-heading)!important;font-weight:650;
}
body.single-post .cw-single-editorial.cw-single .cw-single-help__button,
body.single-post .cw-single-editorial.cw-single .cw-single-help__button:is(:link,:visited) {
  position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(105deg,var(--cw-single-button-a),var(--cw-single-button-b))!important;
  border:0!important;color:#fff!important;border-radius:999px!important;
  font-size:12px!important;font-weight:700!important;text-transform:uppercase;
  min-height:46px;box-shadow:none!important;
  transform:none!important;transition:transform .26s cubic-bezier(.22,.75,.22,1)!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-help__button::before {
  content:"";position:absolute;z-index:-1;inset:0;
  border-radius:inherit;
  background:linear-gradient(105deg,var(--cw-single-button-b),var(--cw-single-button-hover));
  opacity:0;transition:opacity .28s ease;pointer-events:none;
}
body.single-post .cw-single-editorial.cw-single .cw-single-help__button:hover::before,
body.single-post .cw-single-editorial.cw-single .cw-single-help__button:focus-visible::before {opacity:1;}
body.single-post .cw-single-editorial.cw-single .cw-single-help__button:hover {transform:translateY(-2px)!important;}
body.single-post .cw-single-editorial.cw-single .cw-single-help__button svg {transition:transform .25s ease;}
body.single-post .cw-single-editorial.cw-single .cw-single-help__button:hover svg {transform:translateX(2px);}
/* Firma profesional editable; sin tarjetas de sombra ni datos profesionales inventados. */
body.single-post .cw-single-editorial .cw-single-author {
  display:grid;grid-template-columns:112px minmax(0,1fr);gap:clamp(18px,3vw,32px);
  align-items:center;margin-top:clamp(50px,6vw,76px);padding:clamp(23px,3vw,35px);
  max-width:860px;border:1px solid var(--cw-single-line);border-radius:20px;
  background:var(--cw-single-soft-bg);box-shadow:none;
}
body.single-post .cw-single-editorial .cw-single-author__photo {
  width:112px;aspect-ratio:1;min-width:0;overflow:hidden;
  border-radius:17px;background:var(--cw-single-white);
  display:grid;place-items:center;
}
body.single-post .cw-single-editorial .cw-single-author__photo img {
  display:block;width:100%;height:100%;object-fit:cover;margin:0;border:0;border-radius:inherit;
}
body.single-post .cw-single-editorial .cw-single-author__initial {font-size:42px;font-weight:700;color:var(--cw-single-button-b);}
body.single-post .cw-single-editorial .cw-single-author__eyebrow {
  display:block;margin-bottom:8px;color:var(--cw-single-accent);
  font-size:10px;letter-spacing:.09em;font-weight:700;
}
body.single-post .cw-single-editorial .cw-single-author h2 {
  margin:0 0 5px;font:700 clamp(22px,2.1vw,27px)/1.16 Montserrat,sans-serif;
  color:var(--cw-single-heading);letter-spacing:-.035em;
}
body.single-post .cw-single-editorial .cw-single-author :is(p,.cw-single-author__bio) {
  margin:4px 0 0;color:var(--cw-single-muted);font-size:13px;line-height:1.55;
}
body.single-post .cw-single-editorial .cw-single-author .cw-single-author__role {
  color:var(--cw-single-heading);font-weight:600;
}
body.single-post .cw-single-editorial .cw-single-author__bio p {margin:7px 0 0;}
body.single-post .cw-single-editorial .cw-single-author__link {
  display:inline-flex;align-items:center;gap:7px;margin-top:12px;
  color:var(--cw-single-button-b);font-size:12px;font-weight:650;text-decoration:none;
}
body.single-post .cw-single-editorial .cw-single-author__link svg {width:15px;fill:none;stroke:currentColor;stroke-width:1.8;}
@media(max-width:900px){
  body.single-post .cw-single-body .wp-block-gallery.columns-4,
  body.single-post .cw-single-body .gallery.gallery-columns-4 {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:600px){
  body.single-post .cw-single-body .wp-block-gallery,
  body.single-post .cw-single-body .gallery,
  body.single-post .cw-single-body .wp-block-gallery.columns-4 {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
  }
  body.single-post .cw-single-body .cw-post-video-row {grid-template-columns:1fr;gap:14px;}
  body.single-post .cw-single-body .cw-post-video-row > .wp-block-video {height:min(76svh,440px);}
  body.single-post .cw-single-editorial .cw-single-author {grid-template-columns:76px minmax(0,1fr);gap:14px;padding:17px;}
  body.single-post .cw-single-editorial .cw-single-author__photo {width:76px;border-radius:13px;}
  body.single-post .cw-single-editorial .cw-single-author h2 {font-size:19px;}
  body.single-post .cw-single-editorial.cw-single .cw-single-share__btn {flex-basis:40px!important;width:40px!important;height:40px!important;}
}
@media(prefers-reduced-motion:reduce){
  body.single-post .cw-single-editorial .cw-single-help__button,
  body.single-post .cw-single-editorial .cw-single-help__button::before {transition:none!important;}
}

/* Vídeos agrupados con Gutenberg Columns: igual altura visual por columna. */
@media(min-width:601px){
  body.single-post .cw-single-body .wp-block-columns:has(video) > .wp-block-column {min-width:0;display:flex;flex-direction:column;}
  body.single-post .cw-single-body .wp-block-columns:has(video) .wp-block-video {width:100%!important;min-height:0;height:clamp(265px,30vw,430px);margin:0!important;display:grid!important;place-items:center;overflow:hidden;border-radius:16px;background:#0e171c;}
  body.single-post .cw-single-body .wp-block-columns:has(video) .wp-block-video video {width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;object-fit:contain!important;border-radius:0;}
}

/* Leyendas en fotografía, sin crear bandas que quiten altura a la imagen. */
body.single-post .cw-single-body .wp-block-gallery figure,
body.single-post .cw-single-body .gallery .gallery-item {position:relative!important;}
body.single-post .cw-single-body .wp-block-gallery figure figcaption,
body.single-post .cw-single-body .gallery .gallery-caption {
  position:absolute!important;left:0!important;right:0!important;bottom:0!important;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:22px 12px 10px!important;
  color:#fff!important;
  background:linear-gradient(transparent,rgba(7,24,27,.72))!important;
  text-align:left!important;
  pointer-events:none;
}

/* 1.0.87 · Sidebar editorial accesible y coherente en modos claro/oscuro. */
body.single-post .cw-single-editorial .cw-single-help {
  background: var(--cw-pf-surface, var(--e-global-color-b5b6896, #f4f9fb)) !important;
  border: 1px solid var(--cw-single-line) !important;
  box-shadow: none !important;
}
body.single-post .cw-single-editorial .cw-single-help__title {
  color: var(--cw-pf-text, var(--e-global-color-text, #303438)) !important;
}
body.single-post .cw-single-editorial .cw-single-help__eyebrow { color:var(--cw-pf-accent,var(--e-global-color-accent,#00c9ad)) !important; }
body.single-post .cw-single-editorial .cw-single-help__text { color:var(--cw-pf-text,var(--e-global-color-text,#303438)) !important; }
body.single-post .cw-single-editorial .cw-single-help__button,
body.single-post .cw-single-editorial .cw-single-help__button:link,
body.single-post .cw-single-editorial .cw-single-help__button:visited {
  background:linear-gradient(110deg,var(--e-global-color-secondary,#00acf8),var(--e-global-color-primary,#00cba9)) !important;
  border:0!important;
  color:#fff!important;
  transform:none!important;
  box-shadow:none!important;
  transition: background .24s ease, filter .24s ease!important;
}
body.single-post .cw-single-editorial .cw-single-help__button:hover,
body.single-post .cw-single-editorial .cw-single-help__button:focus-visible {
  background:linear-gradient(110deg,var(--e-global-color-primary,#00cba9),var(--e-global-color-accent,#29c9b4)) !important;
  color:#fff!important;
  transform:none!important;
  filter:none!important;
}
body.single-post .cw-single-editorial .cw-single-share {
  position:relative;
  border-color:var(--cw-single-line)!important;
  background:var(--cw-single-white)!important;
  box-shadow:none!important;
}
body.single-post .cw-single-editorial .cw-single-share__label { color:var(--cw-pf-text,var(--e-global-color-text,#303438))!important; }
body.single-post .cw-single-editorial .cw-single-share__buttons {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  justify-items:center;
  gap:9px;
  width:100%;
}
body.single-post .cw-single-editorial .cw-single-share__btn,
body.single-post .cw-single-editorial .cw-single-share__btn:link,
body.single-post .cw-single-editorial .cw-single-share__btn:visited {
  display:inline-grid!important;
  place-items:center!important;
  width:clamp(37px,3.3vw,43px)!important;
  min-width:0!important;
  height:clamp(37px,3.3vw,43px)!important;
  min-height:0!important;
  padding:0!important;
  line-height:1!important;
  border:1px solid var(--cw-single-line)!important;
  border-radius:50%!important;
  background:var(--cw-single-soft)!important;
  color:var(--cw-single-text)!important;
  text-decoration:none!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transform:none!important;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease!important;
}
body.single-post .cw-single-editorial .cw-single-share__btn:hover,
body.single-post .cw-single-editorial .cw-single-share__btn:focus-visible {
  color:var(--cw-single-accent)!important;
  border-color:var(--cw-single-accent)!important;
  background:var(--cw-single-soft)!important;
  outline-offset:3px;
}
body.single-post .cw-single-editorial .cw-single-share__btn svg,
body.single-post .cw-single-editorial .cw-single-share__btn:first-child svg {
  width:20px!important;height:20px!important;display:block!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.65!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
  transform:none!important;
}
body.single-post .cw-single-editorial .cw-single-share__btn--facebook svg path {
  fill:currentColor!important;stroke:none!important;
}
/* Respeta [hidden] incluso ante estilos de botones globales. */
body.single-post .cw-single-editorial .cw-single-share__native[hidden]{display:none!important;}
body.single-post .cw-single-editorial .cw-single-share__feedback {
  position:absolute;bottom:7px;left:16px;right:16px;
  width:max-content;max-width:calc(100% - 32px);
  padding:6px 10px;border-radius:7px;
  background:var(--cw-single-white);border:1px solid var(--cw-single-line);
  color:var(--cw-single-text);
  font-size:12px;line-height:1.3;
  opacity:0;pointer-events:none;transform:translateY(3px);
  transition:opacity .18s ease,transform .18s ease;
}
body.single-post .cw-single-editorial .cw-single-share__feedback:not(:empty){opacity:1;transform:none;}
body.single-post .cw-single-editorial .cw-single-related-card :is(h3,h3 a,h3 a:link,h3 a:visited,h3 a:hover),
body.single-post .cw-single-editorial .cw-single-body .wp-block-query .wp-block-post-title,
body.single-post .cw-single-editorial .cw-single-body .wp-block-query .wp-block-post-title a {
  color:var(--cw-pf-text,var(--e-global-color-text,#303438))!important;
  text-decoration:none!important;
}
@media (max-width: 767px) {
  body.single-post .cw-single-editorial .cw-single-share {display:block!important;}
  body.single-post .cw-single-editorial .cw-single-share__head {margin-bottom:12px!important;}
  body.single-post .cw-single-editorial .cw-single-share__buttons {grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}
  body.single-post .cw-single-editorial .cw-single-share__btn {width:42px!important;height:42px!important;}
}
@media(prefers-reduced-motion:reduce){
  body.single-post .cw-single-editorial .cw-single-share__btn,
  body.single-post .cw-single-editorial .cw-single-share__feedback {transition:none!important;}
}

/* v1.0.89 · Marcas reconocibles a escala sobria en targets táctiles accesibles. */
body.single-post .cw-single-editorial.cw-single .cw-single-help {
  background:var(--cw-single-white,var(--cw-pf-background,#fff))!important;
  border:1px solid var(--cw-single-line)!important;border-radius:19px!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn,
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn:is(:link,:visited) {
  width:42px!important;height:42px!important;flex:0 0 42px!important;
  border-radius:11px!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn svg,
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn:first-child svg {
  width:16px!important;height:16px!important;min-width:0!important;min-height:0!important;
  stroke-width:1.85!important;transform:none!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn:is(.cw-single-share__btn--linkedin,.cw-single-share__btn--whatsapp,.cw-single-share__btn--facebook,.cw-single-share__btn--x,.cw-single-share__btn--telegram) svg,
body.single-post .cw-single-editorial.cw-single .cw-single-share__btn:is(.cw-single-share__btn--linkedin,.cw-single-share__btn--whatsapp,.cw-single-share__btn--facebook,.cw-single-share__btn--x,.cw-single-share__btn--telegram) svg path {
  fill:currentColor!important;stroke:none!important;
}
/* Firma clínica: credenciales a la vista, fotografía limpia y texto a todo lo ancho. */
body.single-post .cw-single-editorial.cw-single .cw-single-author {
  width:100%!important;max-width:100%!important;min-width:0;
  display:grid!important;grid-template-columns:116px minmax(0,1fr)!important;
  align-items:center!important;gap:clamp(18px,3vw,30px)!important;
  margin:clamp(40px,5vw,62px) 0 0!important;
  padding:clamp(23px,3vw,34px)!important;
  border:1px solid color-mix(in srgb,var(--cw-single-line) 84%,var(--cw-single-accent) 16%)!important;
  border-radius:22px!important;box-shadow:none!important;
  background:linear-gradient(122deg,
    color-mix(in srgb,var(--cw-single-white) 92%,var(--cw-single-accent) 8%),
    color-mix(in srgb,var(--cw-single-white) 97%,var(--cw-single-button-a) 3%))!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-author__photo {
  width:116px!important;height:134px!important;min-width:0;overflow:hidden;
  border-radius:16px!important;
  background:var(--cw-single-white)!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-author__photo img {
  width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:center 20%;border-radius:inherit!important;margin:0!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-author__details {
  min-width:0!important;width:100%!important;max-width:none!important;
  display:block!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-author__eyebrow {
  display:block;color:var(--cw-single-accent)!important;
  font-size:10px!important;font-weight:750!important;letter-spacing:.105em!important;
  margin:0 0 7px!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-author__details h2 {
  font-size:clamp(22px,2.2vw,28px)!important;line-height:1.16!important;
  letter-spacing:-.025em!important;margin:0 0 7px!important;
  color:var(--cw-single-heading)!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-author__role {
  color:var(--cw-single-heading)!important;font-size:13px!important;
  font-weight:700!important;line-height:1.5!important;margin:0 0 4px!important;
  max-width:none!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-author__credentials {
  color:var(--cw-single-muted)!important;font-size:12px!important;
  line-height:1.5!important;margin:0 0 6px!important;max-width:none!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-author__bio,
body.single-post .cw-single-editorial.cw-single .cw-single-author__bio p {
  display:block;width:100%!important;max-width:none!important;
  color:var(--cw-single-muted)!important;font-size:13px!important;
  font-weight:400!important;line-height:1.68!important;
  text-wrap:pretty;margin:0!important;
}
body.single-post .cw-single-editorial.cw-single .cw-single-author__link {
  margin-top:11px!important;color:var(--cw-single-button-b)!important;
  text-decoration:none!important;
}
@media(max-width:600px){
  body.single-post .cw-single-editorial.cw-single .cw-single-author {
    grid-template-columns:80px minmax(0,1fr)!important;
    padding:18px!important;gap:14px!important;align-items:start!important;
    border-radius:17px!important;
  }
  body.single-post .cw-single-editorial.cw-single .cw-single-author__photo {
    width:80px!important;height:100px!important;border-radius:11px!important;
  }
  body.single-post .cw-single-editorial.cw-single .cw-single-author__details h2 {font-size:21px!important;}
}
/* The regular post image galleries use the EXACT SAME delegated modal as the CW Elementor Gallery.
   The Gutenberg / classic grid markup is preserved; only image links are added. */
body.single-post .cw-single-body .cw-post-editor-gallery {
  margin-block:clamp(22px,3vw,36px);
  --cw-gallery-radius:14px;
}
body.single-post .cw-single-body .cw-post-editor-gallery > :is(.wp-block-gallery,.gallery,.blocks-gallery-grid) {
  margin:0!important;
}
body.single-post .cw-single-body .cw-post-editor-gallery :is(figure.wp-block-image,.gallery-item,.blocks-gallery-item) .cw-gallery-item {
  position:relative!important;inset:auto!important;display:block!important;
  width:100%!important;height:100%!important;border:0!important;
  border-radius:inherit!important;overflow:hidden!important;
  background:transparent!important;cursor:zoom-in!important;
}
body.single-post .cw-single-body .cw-post-editor-gallery :is(figure.wp-block-image,.gallery-item,.blocks-gallery-item) .cw-gallery-item img {
  position:static!important;display:block!important;width:100%!important;height:100%!important;
  max-width:none!important;min-width:0!important;object-fit:cover!important;
  object-position:center!important;transform:none!important;border-radius:inherit!important;
}
body.single-post .cw-single-body .cw-post-editor-gallery .cw-gallery-item:focus-visible {
  outline:2px solid var(--cw-single-accent)!important;outline-offset:2px!important;
}
body.single-post .cw-single-body .cw-pf-post-videos {
  width:100%;max-width:100%;margin:clamp(26px,4vw,44px) 0;
  --cw-video-radius:15px;--cw-video-gap:15px;--cw-video-ratio:4/3;
}
body.single-post .cw-single-body .cw-pf-post-videos__heading {
  margin:0 0 18px!important;color:var(--cw-single-heading)!important;
  font-size:clamp(22px,2vw,28px)!important;line-height:1.25!important;
}
body.single-post .cw-single-body .cw-pf-post-videos .cw-videos-grid {
  display:grid!important;grid-template-columns:repeat(var(--cw-video-cols,2),minmax(0,1fr))!important;
}
body.single-post .cw-single-body .cw-pf-post-videos .cw-video-card {min-width:0;}
body.single-post .cw-single-body .cw-pf-post-videos :is(.cw-video-media,.cw-video-shade) {margin:0;}
body.single-post .cw-single-body .cw-pf-post-videos .cw-video-auto-poster {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-height:none!important;object-fit:cover!important;border-radius:0!important;
}
/* Multiple adjacent native Video blocks, any number; preserves all figure captions. */
body.single-post .cw-single-body .cw-post-video-row {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media(max-width:767px){
  body.single-post .cw-single-body .cw-post-video-row {grid-template-columns:1fr!important;}
  body.single-post .cw-single-body .cw-pf-post-videos .cw-videos-grid {grid-template-columns:1fr!important;}
  body.single-post .cw-single-body .cw-post-editor-gallery {--cw-gallery-radius:11px;}
}

/* v1.0.89 · Vista previa dinámica y modal compartido para editor + Gutenberg. */
body.single-post .cw-single-body .cw-pf-post-videos {
  --cw-video-play:56px;--cw-video-play-icon:51%;
}
body.single-post .cw-single-body .cw-post-video-row.cw-videos {
  --cw-video-radius:15px;--cw-video-play:56px;--cw-video-play-icon:51%;
  --cw-video-ratio:4/3;
}
body.single-post .cw-single-body figure.wp-block-video.cw-post-video-upgraded {
  --cw-video-radius:15px;--cw-video-play:56px;--cw-video-play-icon:51%;
  --cw-video-ratio:4/3;
  overflow:visible!important;background:transparent!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  display:block!important;margin-block:0!important;
  border-radius:0!important;
}
body.single-post .cw-single-body > figure.wp-block-video.cw-post-video-upgraded:not(.cw-post-video-row > figure) {
  margin-block:clamp(24px,3vw,40px)!important;
}
body.single-post .cw-single-body .cw-post-video-upgraded .cw-video-trigger,
body.single-post .cw-single-body .cw-post-video-upgraded .cw-video-trigger:hover {
  position:relative!important;display:block!important;width:100%!important;
  height:auto!important;min-height:0!important;
  aspect-ratio:var(--cw-video-ratio,4/3)!important;
  overflow:hidden!important;border-radius:var(--cw-video-radius)!important;
  margin:0!important;
}
body.single-post .cw-single-body .cw-post-video-upgraded .cw-video-media {
  position:absolute!important;inset:0!important;overflow:hidden!important;
}
body.single-post .cw-single-body .cw-post-video-upgraded video.cw-video-inline-preview {
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  min-width:0!important;max-width:none!important;
  max-height:none!important;aspect-ratio:auto!important;
  object-fit:cover!important;border-radius:0!important;
  background:transparent!important;pointer-events:none!important;
}
body.single-post .cw-single-body .cw-post-video-upgraded .cw-video-play,
body.single-post .cw-single-body .cw-pf-post-videos .cw-video-play {
  width:var(--cw-video-play)!important;height:var(--cw-video-play)!important;
  left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;
  margin-left:calc(var(--cw-video-play) / -2)!important;
  margin-top:calc(var(--cw-video-play) / -2)!important;
  transform:none!important;
}
body.single-post .cw-single-body .cw-post-video-upgraded figcaption {margin:8px 0 0!important;}
@media(max-width:600px){
 body.single-post .cw-single-body .cw-post-video-row.cw-videos{grid-template-columns:1fr!important}
 body.single-post .cw-single-body .cw-post-video-row > figure.wp-block-video.cw-post-video-upgraded{height:auto!important}
}

