/* JCSakura · Nosotros · diseño alineado con páginas interiores 2026.
   Solo afecta la página /nosotros/ y sus bloques; no modifica style.css. */
body.page .jc-nosotros-section{max-width:1120px;margin:0 auto 42px;padding:clamp(30px,4vw,52px);box-sizing:border-box}
body.page .jc-nosotros-section:not(.jc-nosotros-soft):not(.jc-nosotros-final){padding-inline:clamp(12px,3vw,28px)}
body.page .jc-nosotros-soft{background:#faf7f7;border-radius:18px}
body.page .jc-nosotros-section h2{font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.14;letter-spacing:-.035em;margin:0 0 20px}
body.page .jc-nosotros-section h3{font-size:clamp(1.2rem,1.8vw,1.7rem);line-height:1.3;margin:12px 0}
body.page .jc-nosotros-section p{line-height:1.65;margin:0 0 17px}
body.page .jc-nosotros-section .section-eyebrow{color:#e52222;text-transform:uppercase;letter-spacing:.09em;font-size:.78rem;font-weight:750;margin-bottom:16px}
body.page .jc-nosotros-section .jc-cards{gap:18px;margin-top:26px}
body.page .jc-nosotros-section .jc-card{height:100%;background:#fff;border:1px solid #e9e3e1;border-radius:17px;padding:24px;box-shadow:0 8px 22px rgba(0,0,0,.035)}
body.page .jc-nosotros-section .jc-card h3{margin:0 0 12px;font-size:1.2rem}
body.page .jc-nosotros-section .jc-card p{margin:0;color:#505050}
body.page .jc-nosotros-photo{min-height:260px;background:#e9e9e9;border:2px dashed #bcbcbc;border-radius:17px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:14px;padding:26px;margin:24px 0;color:#606060}
body.page .jc-nosotros-photo span{font-size:.77rem;letter-spacing:.08em;font-weight:800}
body.page .jc-nosotros-photo strong{font-size:clamp(1.4rem,2.2vw,2rem)}
body.page .jc-nosotros-photo small{font-size:.91rem}
body.page .jc-nosotros-final{background:#1d1d1d!important;color:white!important;border-radius:18px;padding:clamp(30px,5vw,62px)!important;margin-bottom:50px}
body.page .jc-nosotros-final h2,body.page .jc-nosotros-final p{color:white!important}
body.page .jc-nosotros-final .wp-block-button__link{background:#e52222;color:white;border-radius:999px}
@media(max-width:781px){
 body.page .jc-nosotros-section{margin-bottom:22px;padding:28px 24px}
 body.page .jc-nosotros-section:not(.jc-nosotros-soft):not(.jc-nosotros-final){padding:24px 4px}
 body.page .jc-nosotros-section h2{font-size:clamp(1.75rem,7vw,2.3rem);margin-bottom:16px}
 body.page .jc-nosotros-section h3{font-size:1.23rem}
 body.page .jc-nosotros-section p{line-height:1.55;margin-bottom:14px}
 body.page .jc-nosotros-section .jc-cards{gap:14px}
 body.page .jc-nosotros-section .jc-card{padding:21px}
 body.page .jc-nosotros-photo{min-height:215px;margin:18px 0;padding:22px}
 body.page .jc-nosotros-final{padding:32px 25px!important}
 body.page .jc-nosotros-final .wp-block-button,body.page .jc-nosotros-final .wp-block-button__link{width:100%;text-align:center}
}

/* Refinamiento editorial: mensaje, semblanza y equipo (octubre 2026). */
body.page .jc-nosotros-message{position:relative;padding-block:clamp(38px,5vw,70px)}
body.page .jc-nosotros-letter{max-width:730px;margin-inline:auto}
body.page .jc-nosotros-message .section-eyebrow{border-top:3px solid #e52222;padding-top:20px;display:table}
body.page .jc-nosotros-message h2{margin-bottom:26px}
body.page .jc-nosotros-letter>p{max-width:100%;line-height:1.76;margin-bottom:19px}
body.page .jc-nosotros-quote{border-left:4px solid #e52222;padding:5px 0 5px 23px;margin:29px 0 24px}
body.page .jc-nosotros-quote p{font-weight:750;font-size:clamp(1.18rem,1.8vw,1.5rem);line-height:1.4;letter-spacing:-.015em;margin:0}
body.page .jc-nosotros-signature{border-top:1px solid #e4dedd;padding-top:18px;margin-bottom:0!important;color:#555}
body.page .jc-nosotros-signature strong{color:#1d1d1d}
body.page .jc-nosotros-bio-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin: 1.5rem 0 0;
}
body.page .jc-nosotros-bio-grid > .wp-block-column { min-width: 0; }
body.page .jc-nosotros-bio-text-col { max-width: 66ch; }
body.page .jc-nosotros-bio-text-col p:last-child { margin-bottom: 0; }
body.page .jc-nosotros-photo--portrait{aspect-ratio:3/4;min-height:0;max-width:350px;margin:0;padding:20px}
body.page .jc-nosotros-bio-text-col h3{font-size:clamp(1.5rem,2.5vw,2.2rem);margin:0 0 18px}
body.page .jc-nosotros-bio-text-col .section-eyebrow{margin-bottom:8px}
body.page .jc-nosotros-team-grid{gap:clamp(25px,4vw,50px);margin:0}
body.page .jc-nosotros-team-grid>.wp-block-column:first-child{flex-basis:55%}
body.page .jc-nosotros-team-grid>.wp-block-column:last-child{flex-basis:45%}
body.page .jc-nosotros-photo--team{min-height:0;aspect-ratio:4/3;margin:0;padding:20px}
@media(max-width:781px){
 body.page .jc-nosotros-message{padding:32px 25px}
 body.page .jc-nosotros-message .section-eyebrow{padding-top:15px}
 body.page .jc-nosotros-letter>p{line-height:1.6}
 body.page .jc-nosotros-quote{padding-left:16px;margin:24px 0 20px}
 body.page .jc-nosotros-team-grid{gap:22px}
 body.page .jc-nosotros-photo--portrait{width:min(100%,310px);aspect-ratio:3/4;margin:0 auto}
 body.page .jc-nosotros-bio-text-col h3{font-size:1.65rem}
 body.page .jc-nosotros-photo--team{max-width:440px;aspect-ratio:4/3;margin:0 auto}
}

body.page .jc-nosotros-bio-portrait-col .wp-block-image {
    max-width: min(100%, 310px);
    margin: 0 auto;
}
body.page .jc-nosotros-bio-portrait-col img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 25%;
    border-radius: var(--jc-radius);
}
body.page .jc-nosotros-team-grid .wp-block-image { margin: 0; }
body.page .jc-nosotros-team-grid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--jc-radius);
}
@media (min-width: 782px) {
    body.page .jc-nosotros-bio-grid:has(.jc-nosotros-bio-portrait-col img) {
        grid-template-columns: minmax(0, 310px) minmax(0, 1fr);
    }
    body.page .jc-nosotros-team-grid > .wp-block-column:first-child {
        flex: 0 0 55%;
    }
    body.page .jc-nosotros-team-grid > .wp-block-column:last-child {
        flex: 1 1 0 !important;
        min-width: 0;
    }
}
