/*
 * Geometría final de las tarjetas seleccionables.
 * Se carga después del diseño y de su compatibilidad histórica.
 */

/* Fotografías que deben ser círculos geométricos, nunca óvalos. */
body.single-memorial:is(
    .communio-card-voices--editorial-abierta,
    .communio-card-voices--papel-luminoso,
    .communio-card-voices--cita-protagonista,
    .communio-card-voices--firma-pie
) .memorial-voz-card .memorial-voz-foto,
body.single-memorial:is(
    .communio-card-voices--editorial-abierta,
    .communio-card-voices--papel-luminoso,
    .communio-card-voices--cita-protagonista,
    .communio-card-voices--firma-pie
) .memorial-voz-card .memorial-voz-foto :is(.elementor-widget-container,picture,img) {
    aspect-ratio:1/1 !important;
    overflow:hidden !important;
    border-radius:50% !important;
    object-fit:cover !important;
    object-position:center !important;
}
body.single-memorial.communio-card-voices--editorial-abierta .memorial-voz-card .memorial-voz-foto,
body.single-memorial.communio-card-voices--editorial-abierta .memorial-voz-card .memorial-voz-foto :is(.elementor-widget-container,picture,img) {
    width:72px !important; height:72px !important; min-width:72px !important; min-height:72px !important; max-width:72px !important; max-height:72px !important;
}
body.single-memorial.communio-card-voices--cita-protagonista .memorial-voz-card .memorial-voz-foto,
body.single-memorial.communio-card-voices--cita-protagonista .memorial-voz-card .memorial-voz-foto :is(.elementor-widget-container,picture,img) {
    width:68px !important; height:68px !important; min-width:68px !important; min-height:68px !important; max-width:68px !important; max-height:68px !important;
}
body.single-memorial.communio-card-voices--firma-pie .memorial-voz-card .memorial-voz-foto,
body.single-memorial.communio-card-voices--firma-pie .memorial-voz-card .memorial-voz-foto :is(.elementor-widget-container,picture,img) {
    width:58px !important; height:58px !important; min-width:58px !important; min-height:58px !important; max-width:58px !important; max-height:58px !important;
}

/* Editorial abierta conserva su aire editorial, pero se reconoce como tarjeta. */
body.single-memorial.communio-card-voices--editorial-abierta .memorial-voz-card {
    border:1px solid var(--communio-card-border) !important;
    border-radius:18px !important;
    background:var(--communio-card-surface) !important;
    box-shadow:var(--communio-card-shadow) !important;
}

/*
 * Contraste estable para el nombre. Cada diseño declara la luminosidad de sus
 * superficies mediante esta variable; el nombre deja de heredar el color del
 * título de Elementor.
 */
body.single-memorial {
    --communio-card-name:#26343a;
}
body.single-memorial.memorial-design-02 {
    --communio-card-name:#f7f7f4;
}
body.single-memorial[class*="communio-card-voices--"] .memorial-voz-card :is(
    .memorial-voz-nombre,
    .communio-voz-nombre-generado
),
body.single-memorial[class*="communio-card-voices--"] .memorial-voz-card :is(
    .memorial-voz-nombre,
    .communio-voz-nombre-generado
) :is(.elementor-widget-container,.elementor-heading-title,p,span) {
    color:var(--communio-card-name) !important;
}
body.single-memorial.communio-card-voices--cita-protagonista .memorial-voz-card :is(
    .memorial-voz-nombre,
    .communio-voz-nombre-generado
),
body.single-memorial.communio-card-voices--cita-protagonista .memorial-voz-card :is(
    .memorial-voz-nombre,
    .communio-voz-nombre-generado
) :is(.elementor-widget-container,.elementor-heading-title,p,span) {
    color:var(--communio-card-on-accent) !important;
}

/*
 * Relación sin nombre: Elementor deja el campo fuera del contenedor de
 * identidad. Se normalizan también sus envoltorios para que nunca herede la
 * tipografía serif y grande del título del diseño.
 */
body.single-memorial[class*="communio-card-voices--"] .memorial-voz-card .memorial-voz-relacion,
body.single-memorial[class*="communio-card-voices--"] .memorial-voz-card .memorial-voz-relacion :is(
    .elementor-widget-container,
    .elementor-heading-title,
    p,
    span
) {
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    font-family:var(--communio-card-ui) !important;
    font-size:clamp(.72rem,1.3vw,.82rem) !important;
    font-style:normal !important;
    font-weight:350 !important;
    line-height:1.3 !important;
}

/* Papel luminoso: retrato centrado fuera del flujo para no reservar una fila vacía. */
body.single-memorial.communio-card-voices--papel-luminoso .memorial-voz-card {
    margin-top:44px !important;
    overflow:visible !important;
}
body.single-memorial.communio-card-voices--papel-luminoso .memorial-voz-card > .e-con-inner {
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    justify-items:center !important;
    align-items:start !important;
    row-gap:2px !important;
    overflow:visible !important;
    padding:50px clamp(24px,5vw,46px) 28px !important;
}
body.single-memorial.communio-card-voices--papel-luminoso .memorial-voz-card > .e-con-inner > :is(.memorial-voz-foto,.elementor-element.memorial-voz-foto:first-child,.communio-voz-imagen-editor-host) {
    position:absolute !important;
    inset:-42px auto auto 50% !important;
    grid-column:auto !important;
    grid-row:auto !important;
    width:84px !important; height:84px !important; min-width:84px !important; min-height:84px !important; max-width:84px !important; max-height:84px !important;
    margin:0 !important;
    transform:translateX(-50%) !important;
}
body.single-memorial.communio-card-voices--papel-luminoso .memorial-voz-card .memorial-voz-foto :is(.elementor-widget-container,picture,img) {
    width:84px !important; height:84px !important; min-width:84px !important; min-height:84px !important; max-width:84px !important; max-height:84px !important;
}
body.single-memorial.communio-card-voices--papel-luminoso .memorial-voz-card .communio-voz-identidad-generada {
    grid-column:1 !important;
    grid-row:1 !important;
    align-items:center !important;
    justify-self:center !important;
    width:100% !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
}
body.single-memorial.communio-card-voices--papel-luminoso .memorial-voz-card .memorial-voz-mensaje {
    grid-column:1 !important;
    grid-row:2 !important;
    justify-self:center !important;
    margin:0 !important;
    padding-top:2px !important;
}

/* La relación siempre conserva su aspecto secundario, exista o no nombre. */
body.single-memorial.communio-card-voices--papel-luminoso .memorial-voz-card :is(
    .communio-voz-identidad-generada > .memorial-voz-relacion,
    .communio-voz-identidad-generada > .memorial-voz-relacion .elementor-widget-container,
    .communio-voz-identidad-generada > .memorial-voz-relacion .elementor-heading-title,
    .e-con-inner > .memorial-voz-relacion,
    .e-con-inner > .memorial-voz-relacion .elementor-widget-container,
    .e-con-inner > .memorial-voz-relacion .elementor-heading-title
) {
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    color:var(--communio-card-text-soft) !important;
    font-family:var(--communio-card-ui) !important;
    font-size:clamp(.72rem,1.3vw,.82rem) !important;
    font-style:normal !important;
    font-weight:350 !important;
    line-height:1.3 !important;
    text-align:center !important;
}

/* Retrato y testimonio sin imagen: identidad y cita usan todo el ancho. */
body.single-memorial.communio-card-voices--retrato-testimonio .memorial-voz-card:not(:has(.memorial-voz-foto img)) > .e-con-inner {
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    gap:12px !important;
    padding:clamp(24px,4vw,38px) !important;
}
body.single-memorial.communio-card-voices--retrato-testimonio .memorial-voz-card:not(:has(.memorial-voz-foto img)) > .e-con-inner > :is(.memorial-voz-foto,.communio-voz-imagen-editor-host) {
    display:none !important;
}
body.single-memorial.communio-card-voices--retrato-testimonio .memorial-voz-card:not(:has(.memorial-voz-foto img)) .communio-voz-identidad-generada {
    grid-column:1 !important;
    grid-row:1 !important;
    padding:0 !important;
}
body.single-memorial.communio-card-voices--retrato-testimonio .memorial-voz-card:not(:has(.memorial-voz-foto img)) .memorial-voz-mensaje {
    grid-column:1 !important;
    grid-row:2 !important;
    padding:0 !important;
}

@media (max-width:600px) {
    body.single-memorial.communio-card-voices--papel-luminoso .memorial-voz-card > .e-con-inner {
        padding:50px 20px 24px !important;
    }
}

/*
 * 1.19.15 · Contrato visual del catálogo de Condolencias.
 * La estructura publicada reproduce la miniatura elegida. Los colores siguen
 * perteneciendo al diseño activo y no se duplican como configuración editable.
 */
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card {
    position:relative !important;
    width:min(100%,780px) !important;
    margin-inline:auto !important;
    padding:0 !important;
    overflow:hidden !important;
    isolation:isolate !important;
    box-sizing:border-box !important;
    color:var(--communio-card-text) !important;
    background:var(--communio-card-surface) !important;
    border:1px solid var(--communio-card-border) !important;
    border-radius:14px !important;
    box-shadow:var(--communio-card-shadow) !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card::before,
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card::after {
    content:none !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card > .e-con-inner {
    display:grid !important;
    grid-template-columns:52px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    gap:14px !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:clamp(24px,4vw,38px) !important;
    box-sizing:border-box !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card :is(.communio-acompanamiento-cabecera,.communio-acompanamiento-cabecera > .e-con-inner) {
    display:contents !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card :is(.communio-acompanamiento-gesto,.communio-acompanamiento-identidad,.communio-acompanamiento-mensaje) {
    position:relative !important;
    inset:auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    box-sizing:border-box !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-mensaje {
    grid-column:1/-1 !important;
    grid-row:1 !important;
    font-size:clamp(1.08rem,2.2vw,1.4rem) !important;
    text-align:left !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-identidad {
    grid-column:2 !important;
    grid-row:2 !important;
    align-self:center !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-identidad,
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-identidad > .e-con-inner {
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:3px !important;
    padding:0 !important;
    text-align:left !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-gesto {
    display:block !important;
    grid-column:1 !important;
    grid-row:2 !important;
    align-self:start !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-gesto,
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-gesto.elementor-widget,
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-gesto .elementor-widget-container,
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-gesto .communio-acomp-visual-card {
    width:52px !important;
    min-width:52px !important;
    max-width:52px !important;
    height:52px !important;
    min-height:52px !important;
    padding:0 !important;
    border-radius:50% !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-gesto .communio-acomp-visual-card img {
    display:block !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    border-radius:inherit !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card :is(h1,h2,h3,h4,h5,h6,p,span,div,time,strong,em,a) {
    color:inherit !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-mensaje,
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-mensaje :is(.elementor-widget-container,.communio-editable-acf-content,p) {
    color:inherit !important;
    font-family:var(--communio-card-serif) !important;
    font-style:normal !important;
    line-height:1.58 !important;
    text-align:inherit !important;
    border:0 !important;
    background:none !important;
    box-shadow:none !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-mensaje::before,
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-mensaje::after {
    display:none !important;
    content:none !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card .communio-acompanamiento-nombre {
    font-family:var(--communio-card-ui) !important;
    font-size:clamp(.98rem,1.6vw,1.12rem) !important;
    font-weight:700 !important;
    line-height:1.25 !important;
}
body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card :is(.communio-acompanamiento-relacion,.communio-acompanamiento-frase) {
    color:var(--communio-card-text-soft) !important;
    font-family:var(--communio-card-ui) !important;
    font-size:.78rem !important;
    line-height:1.35 !important;
}

/* 01 · Sobria minimal: tipografía, reglas finas y símbolo al pie. */
body.single-memorial.communio-card-condolences--sobria-minimal .communio-acompanamiento-card {
    border-width:1px 0 !important;
    border-radius:0 !important;
    background:color-mix(in srgb,var(--communio-card-surface) 76%,transparent) !important;
    box-shadow:none !important;
}
body.single-memorial.communio-card-condolences--sobria-minimal .communio-acompanamiento-card > .e-con-inner {
    gap:18px !important;
}
body.single-memorial.communio-card-condolences--sobria-minimal .communio-acompanamiento-identidad {
    padding-top:14px !important;
    border-top:1px solid var(--communio-card-border) !important;
}

/* 02 · Libro de firmas: página cálida, lomo, símbolo y firma. */
body.single-memorial.communio-card-condolences--libro-firmas .communio-acompanamiento-card {
    border-left:10px solid var(--communio-card-accent) !important;
    border-radius:3px !important;
    background:var(--communio-card-paper) !important;
    box-shadow:7px 8px 0 color-mix(in srgb,var(--communio-card-accent) 16%,transparent),var(--communio-card-shadow) !important;
}
body.single-memorial.communio-card-condolences--libro-firmas .communio-acompanamiento-card > .e-con-inner {
    gap:22px !important;
    padding:clamp(30px,5vw,48px) !important;
}
body.single-memorial.communio-card-condolences--libro-firmas .communio-acompanamiento-identidad {
    padding-top:15px !important;
    border-top:1px solid var(--communio-card-border) !important;
}

/* 03 · Sello botánico: imagen pequeña como sello lateral. */
body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-card {
    background:radial-gradient(circle at 7% 16%,color-mix(in srgb,var(--communio-card-accent) 22%,transparent),transparent 25%),var(--communio-card-surface) !important;
}
body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-card > .e-con-inner {
    grid-template-columns:46px minmax(0,1fr) !important;
    gap:12px 18px !important;
}
body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-gesto {
    display:block !important;
    grid-column:1 !important;
    grid-row:1/3 !important;
    align-self:start !important;
    justify-self:center !important;
    padding:4px !important;
    border:1px solid var(--communio-card-accent) !important;
}
body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-mensaje {
    grid-column:2 !important;
    grid-row:1 !important;
}
body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-identidad {
    grid-column:2 !important;
    grid-row:2 !important;
    padding-top:11px !important;
    border-top:1px solid var(--communio-card-border) !important;
}

/* 04 · Cinta lateral: mensaje arriba e imagen junto a la firma. */
body.single-memorial.communio-card-condolences--cinta-lateral .communio-acompanamiento-card {
    border-left:9px solid var(--communio-card-accent) !important;
    border-radius:5px 14px 14px 5px !important;
}
body.single-memorial.communio-card-condolences--cinta-lateral .communio-acompanamiento-card > .e-con-inner {
    grid-template-columns:52px minmax(0,1fr) !important;
    gap:18px 16px !important;
}
body.single-memorial.communio-card-condolences--cinta-lateral .communio-acompanamiento-gesto {
    display:block !important;
    grid-column:1 !important;
    grid-row:2 !important;
}
body.single-memorial.communio-card-condolences--cinta-lateral .communio-acompanamiento-identidad {
    grid-column:2 !important;
    grid-row:2 !important;
}

/* 05 · Cristal suave: imagen centrada y contenido en tres niveles. */
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-card {
    overflow:visible !important;
    border-color:color-mix(in srgb,var(--communio-card-border) 54%,transparent) !important;
    background:color-mix(in srgb,var(--communio-card-surface) 68%,transparent) !important;
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
}
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-card::before {
    content:"" !important;
    position:absolute !important;
    inset:10px -10px -10px 10px !important;
    z-index:-1 !important;
    border:1px solid color-mix(in srgb,var(--communio-card-border) 44%,transparent) !important;
    border-radius:inherit !important;
    background:color-mix(in srgb,var(--communio-card-surface) 42%,transparent) !important;
}
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-card > .e-con-inner {
    grid-template-rows:auto auto auto !important;
    justify-items:center !important;
    gap:13px !important;
    text-align:center !important;
}
body.single-memorial.communio-card-condolences--cristal-suave :is(.communio-acompanamiento-gesto,.communio-acompanamiento-gesto.elementor-widget,.communio-acompanamiento-gesto .elementor-widget-container,.communio-acompanamiento-gesto .communio-acomp-visual-card) {
    width:62px !important;
    min-width:62px !important;
    max-width:62px !important;
    height:62px !important;
    min-height:62px !important;
}
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-gesto {
    display:block !important;
    grid-column:1 !important;
    grid-row:1 !important;
    justify-self:center !important;
    box-shadow:0 9px 22px color-mix(in srgb,var(--communio-card-accent) 22%,transparent) !important;
}
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-mensaje {
    grid-column:1 !important;
    grid-row:2 !important;
    text-align:center !important;
}
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-identidad,
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-identidad > .e-con-inner {
    grid-column:1 !important;
    grid-row:3 !important;
    align-items:center !important;
    text-align:center !important;
}

/* 06 · Mensaje colectivo: bloque de acento, imagen y firma inferior. */
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-card {
    color:var(--communio-card-on-accent) !important;
    border-color:transparent !important;
    border-radius:14px !important;
    background:var(--communio-card-accent-strong) !important;
}
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-card > .e-con-inner {
    grid-template-columns:52px minmax(0,1fr) !important;
    gap:20px 16px !important;
}
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-mensaje {
    grid-column:1/-1 !important;
    grid-row:1 !important;
    font-size:clamp(1.16rem,2.6vw,1.62rem) !important;
}
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-gesto {
    display:block !important;
    grid-column:1 !important;
    grid-row:2 !important;
    border:1px solid color-mix(in srgb,currentColor 42%,transparent) !important;
}
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-identidad {
    grid-column:2 !important;
    grid-row:2 !important;
    padding-left:14px !important;
    border-left:1px solid color-mix(in srgb,currentColor 34%,transparent) !important;
}
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-card :is(.communio-acompanamiento-relacion,.communio-acompanamiento-frase) {
    color:inherit !important;
    opacity:.76;
}

@media (max-width:600px) {
    body.single-memorial[class*="communio-card-condolences--"] .communio-acompanamiento-card > .e-con-inner {
        padding:23px 20px !important;
    }
    body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-card > .e-con-inner {
        grid-template-columns:46px minmax(0,1fr) !important;
        gap:11px 14px !important;
    }
    body.single-memorial.communio-card-condolences--sello-botanico :is(.communio-acompanamiento-gesto,.communio-acompanamiento-gesto.elementor-widget,.communio-acompanamiento-gesto .elementor-widget-container,.communio-acompanamiento-gesto .communio-acomp-visual-card) {
        width:44px !important;
        min-width:44px !important;
        max-width:44px !important;
        height:44px !important;
        min-height:44px !important;
    }
}

/*
 * 1.19.16 · Autoridad final de fidelidad del catálogo.
 * La clase de estilo y la tarjeta forman juntas el selector para que ninguna
 * regla común de geometría pueda recuperar la composición genérica.
 */
body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-card > .e-con-inner {
    grid-template-columns:54px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
}
body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-card .communio-acompanamiento-gesto {
    display:block !important;
    grid-column:1 !important;
    grid-row:1/3 !important;
    align-self:start !important;
    justify-self:center !important;
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    height:44px !important;
    min-height:44px !important;
}
body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-card .communio-acompanamiento-mensaje {
    grid-column:2 !important;
    grid-row:1 !important;
}
body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-card .communio-acompanamiento-identidad {
    grid-column:2 !important;
    grid-row:2 !important;
}

body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-card > .e-con-inner {
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:auto auto auto !important;
}
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-card .communio-acompanamiento-gesto {
    display:block !important;
    grid-column:1 !important;
    grid-row:1 !important;
    justify-self:start !important;
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    height:44px !important;
    min-height:44px !important;
}
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-card .communio-acompanamiento-mensaje {
    grid-column:1 !important;
    grid-row:2 !important;
    text-align:center !important;
}
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-card .communio-acompanamiento-identidad,
body.single-memorial.communio-card-condolences--cristal-suave .communio-acompanamiento-card .communio-acompanamiento-identidad > .e-con-inner {
    grid-column:1 !important;
    grid-row:3 !important;
    align-items:center !important;
    text-align:center !important;
}

body.single-memorial.communio-card-condolences--mensaje-colectivo {
    --communio-condolence-collective-bg:linear-gradient(145deg,#354d55,#567077);
}
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-card {
    color:#fff !important;
    background:var(--communio-condolence-collective-bg) !important;
}
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-card .communio-acompanamiento-mensaje {
    grid-column:1/-1 !important;
    grid-row:1 !important;
}
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-card .communio-acompanamiento-gesto {
    grid-column:1 !important;
    grid-row:2 !important;
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    height:44px !important;
    min-height:44px !important;
}
body.single-memorial.communio-card-condolences--mensaje-colectivo .communio-acompanamiento-card .communio-acompanamiento-identidad {
    grid-column:2 !important;
    grid-row:2 !important;
}

@media (max-width:600px) {
    body.single-memorial.communio-card-condolences--sello-botanico .communio-acompanamiento-card > .e-con-inner {
        grid-template-columns:46px minmax(0,1fr) !important;
        gap:11px 14px !important;
    }
}

/* 1.19.17 · Paleta semántica de Condolencias para el Diseño 01. */
body.single-memorial.memorial-design-01[class*="communio-card-condolences--"] {
    --communio-card-surface:rgba(255,253,249,.94);
    --communio-card-surface-raised:#fffdfa;
    --communio-card-paper:#fffdfa;
    --communio-card-text:#34474d;
    --communio-card-text-soft:#6f7f7a;
    --communio-card-border:#a2b0aa;
    --communio-card-accent:#80968a;
    --communio-card-accent-strong:#526d66;
    --communio-card-on-accent:#fff;
    --communio-card-shadow:0 12px 30px rgba(54,77,70,.12);
}
body.single-memorial.memorial-design-01.communio-card-condolences--sobria-minimal .communio-acompanamiento-card {
    border-width:5px 0 1px !important;
    border-style:solid !important;
    border-top-color:var(--communio-card-accent-strong) !important;
    border-bottom-color:var(--communio-card-border) !important;
}
