/* Yujju design system — «Sobre nosotros» (M020, AboutLayout).
   Columna de lectura `yj-prose` (~680px): eyebrow, H1, entradilla, imagen, capítulos H2
   y cita `yj-quote`; cierra con la banda CTA común `yj-cta-band` (sections.css).
   El tema/Elementor fijan fuente y márgenes por widget, por eso algunas reglas llevan !important. */

/* ── Sección y columna ─────────────────────────────────────────────────────── */
.yj-ds .elementor[data-elementor-type="wp-page"] > .e-con.yj-about {
    padding: var(--yj-section-y) var(--yj-space-4) !important;
    background: var(--yj-white);
}
.yj-ds .elementor .yj-prose {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    gap: 0;
    --padding-top: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
    --padding-right: 0px;
}
.yj-ds .elementor .yj-prose > .elementor-widget { width: 100%; margin: 0; }

/* ── Apertura ──────────────────────────────────────────────────────────────── */
.yj-ds .elementor[data-elementor-type="wp-page"] .yj-prose__eyebrow .elementor-heading-title {
    font-family: var(--yj-font-body) !important;
    font-size: var(--yj-text-xs) !important;
    font-weight: 600 !important;
    letter-spacing: var(--yj-tracking-caps) !important;
    text-transform: uppercase !important;
    color: var(--yj-primary-strong);
}
.yj-ds .elementor[data-elementor-type="wp-page"] .yj-prose__title .elementor-heading-title {
    margin-top: var(--yj-space-3);
    font-size: var(--yj-h1) !important;
    color: var(--yj-ink);
}
.yj-ds .elementor[data-elementor-type="wp-page"] .yj-prose__lead {
    margin-top: var(--yj-space-5) !important;
    font-size: var(--yj-text-lg);
    line-height: var(--yj-leading);
    color: var(--yj-text);
}
.yj-ds .elementor .yj-prose__figure { margin-top: var(--yj-space-7) !important; }
.yj-ds .elementor .yj-prose__figure img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: var(--yj-radius);
}

/* ── Capítulos ─────────────────────────────────────────────────────────────── */
.yj-ds .elementor[data-elementor-type="wp-page"] .yj-prose__heading { margin-top: var(--yj-space-8) !important; }
.yj-ds .elementor[data-elementor-type="wp-page"] .yj-prose__heading .elementor-heading-title {
    font-size: clamp(24px, 1.2vw + 18px, 32px) !important;
    color: var(--yj-ink);
}
.yj-ds .elementor[data-elementor-type="wp-page"] .yj-prose__text { margin-top: var(--yj-space-4) !important; }
.yj-ds .elementor .yj-prose__text,
.yj-ds .elementor .yj-prose__lead { max-width: 65ch; }
.yj-ds .elementor .yj-prose__text p,
.yj-ds .elementor .yj-prose__lead p {
    margin: 0 0 var(--yj-space-4);
    font-size: inherit;
    line-height: var(--yj-leading);
}
.yj-ds .elementor .yj-prose__text { font-size: var(--yj-text-md); line-height: var(--yj-leading); }
.yj-ds .elementor .yj-prose__text p:last-child,
.yj-ds .elementor .yj-prose__lead p:last-child { margin-bottom: 0; }

/* ── Cita destacada ────────────────────────────────────────────────────────── */
.yj-ds .elementor[data-elementor-type="wp-page"] .yj-quote { margin: var(--yj-space-7) 0 0 !important; }
.yj-ds .elementor .yj-quote blockquote {
    margin: 0;
    padding: var(--yj-space-2) 0 var(--yj-space-2) var(--yj-space-5);
    border: 0;
    border-left: 3px solid var(--yj-primary);
    background: none;
}
.yj-ds .elementor .yj-quote blockquote p {
    margin: 0;
    font-family: var(--yj-font-display);
    font-size: clamp(22px, 1vw + 16px, 28px);
    font-style: italic;
    font-weight: 500;
    line-height: 1.35;
    color: var(--yj-ink);
}
.yj-ds .elementor .yj-quote blockquote::before { display: none; }

/* ── Banda CTA: el panel lo da sections.css (`yj-cta-band`); aquí solo la nota ── */
.yj-ds .elementor .yj-section .yj-cta-band__note p {
    margin: 0;
    font-size: var(--yj-text-sm);
    color: color-mix(in srgb, var(--yj-white) 70%, transparent);
}

@media (max-width: 767px) {
    .yj-ds .elementor .yj-prose__lead { font-size: var(--yj-text-md); }
    .yj-ds .elementor[data-elementor-type="wp-page"] .yj-prose__heading { margin-top: var(--yj-space-7) !important; }
    .yj-ds .elementor .yj-prose__figure img { max-height: 360px; }
}
