/* Alternative homepage only. No global or shared-shell selectors. */
#contenido.ep-home{--ep-ink:#173c32;--ep-muted:#56665d;--ep-line:#c8d1c6;--ep-paper:#f6f5ed;background:var(--ep-paper);color:var(--ep-ink);overflow-wrap:break-word}
#contenido.ep-home .ep-wrap{width:calc(100% - 64px);max-width:1320px;margin-inline:auto;min-width:0}
#contenido.ep-home h1,#contenido.ep-home h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em;line-height:1.08;color:inherit;background:none;margin:0;text-wrap:balance}
#contenido.ep-home h1{font-size:clamp(40px,4.7vw,68px);max-width:17ch}
#contenido.ep-home h2{font-size:clamp(32px,3.8vw,52px)}
#contenido.ep-home p{font-size:18px;line-height:1.7;margin:0 0 24px;max-width:46ch}
#contenido.ep-home .ep-kicker{font:600 12px/1.5 'Segoe UI',Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#875131;margin:0 0 22px}
#contenido.ep-home .ep-preview-bar{border-bottom:1px solid var(--ep-line);background:#ecefe7}
#contenido.ep-home .ep-preview-bar>.ep-wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-block:10px;font-size:12px;line-height:1.5;color:var(--ep-muted)}
#contenido.ep-home .ep-preview-bar a{color:inherit;text-underline-offset:3px}
#contenido.ep-home .ep-hero{padding-block:54px 0}
#contenido.ep-home .ep-hero-heading{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:64px;margin-bottom:38px}
#contenido.ep-home .ep-hero-aside{padding-bottom:4px}
#contenido.ep-home .ep-motto{font:italic 30px/1.25 Georgia,serif;color:#875131;margin-bottom:20px;max-width:none}
#contenido.ep-home .ep-hero-aside>p:not(.ep-motto){font-size:17px;max-width:43ch}
#contenido.ep-home .ep-links{display:flex;gap:14px 28px;flex-wrap:wrap;align-items:center}
#contenido.ep-home .ep-link{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-height:44px;padding-block:10px;color:inherit;font-size:16px;font-weight:600;text-decoration:none;border-bottom:1px solid currentColor;line-height:1.4}
#contenido.ep-home .ep-link--primary{padding:13px 20px;border:1px solid var(--ep-ink);background:var(--ep-ink);color:#fffdf6}
#contenido.ep-home .ep-link:hover{color:#875131}
#contenido.ep-home .ep-link--primary:hover{color:white;background:#34584a}
#contenido.ep-home a:focus-visible{outline:2px solid #b87950;outline-offset:5px}
#contenido.ep-home .ep-photo{position:relative;display:block;width:100%;margin:0;min-width:0;border:1px solid #aebbaf;background:#dce2d8;overflow:hidden}
#contenido.ep-home .ep-photo::before,#contenido.ep-home .ep-photo::after{content:"";position:absolute;top:50%;left:50%;background:#abb8aa;transform:translate(-50%,-50%)}
#contenido.ep-home .ep-photo::before{width:24px;height:1px}
#contenido.ep-home .ep-photo::after{width:1px;height:24px}
#contenido.ep-home .ep-photo-label{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-top:1px solid #bac5b8;font:500 11px/1.4 'Segoe UI',Arial,sans-serif;letter-spacing:.08em;color:#4e6053}
#contenido.ep-home .ep-photo>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
#contenido.ep-home .ep-photo--hero{aspect-ratio:16/9;background:#d7ded3}
#contenido.ep-home .ep-photo--school{aspect-ratio:4/5;background:#e3ded4;border-top-right-radius:clamp(32px,5vw,64px)}
#contenido.ep-home .ep-photo--history{aspect-ratio:3/2;background:#cfd9cd}
#contenido.ep-home .ep-photo--facilities{aspect-ratio:21/9;background:#deded4;border-top-right-radius:clamp(32px,5vw,64px);overflow:hidden}
#contenido.ep-home .ep-photo--sport{aspect-ratio:3/2;background:#d9dfd5}
#contenido.ep-home .ep-school{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(36px,7vw,100px);align-items:center;padding-block:100px}
#contenido.ep-home .ep-school>.ep-photo{max-width:490px}
#contenido.ep-home .ep-school-copy{max-width:540px;padding-block:26px}
#contenido.ep-home .ep-school-copy h2{margin-bottom:28px;max-width:20ch}
#contenido.ep-home .ep-history{background:var(--ep-ink);color:#fffdf6;padding-block:72px}
#contenido.ep-home .ep-history .ep-kicker{color:#d4b499}
#contenido.ep-home .ep-history-heading{display:grid;grid-template-columns:1.25fr 1fr;align-items:end;gap:64px;margin-bottom:38px}
#contenido.ep-home .ep-history-heading h2{max-width:21ch}
#contenido.ep-home .ep-history-heading p:not(.ep-kicker){color:#e2e8df}
#contenido.ep-home .ep-history .ep-link:hover{color:#e5bd9d}
#contenido.ep-home .ep-history-photo{position:relative;width:76%;margin-left:auto}
#contenido.ep-home .ep-history-date{position:absolute;left:-26%;bottom:0;font:clamp(28px,3vw,40px)/1.1 Georgia,serif;color:#a0b2a5;writing-mode:vertical-rl;transform:rotate(180deg);letter-spacing:-.02em}
#contenido.ep-home .ep-facilities{padding-block:92px}
#contenido.ep-home .ep-facilities-caption{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;margin-top:30px;align-items:start}
#contenido.ep-home .ep-facilities-caption h2{max-width:17ch}
#contenido.ep-home .ep-sport{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);align-items:center;gap:56px;border-top:1px solid var(--ep-line);padding-block:44px 92px}
#contenido.ep-home .ep-sport-copy{padding-right:20px}
#contenido.ep-home .ep-sport h2{max-width:17ch;margin-bottom:26px}
#contenido.ep-home .ep-sport-links{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
#contenido.ep-home .ep-close{background:#e4e9de;border-top:1px solid #c8d1c1;padding-block:64px}
#contenido.ep-home .ep-close-inner{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:center}
#contenido.ep-home .ep-close h2{font-size:clamp(32px,3.8vw,52px)}
#contenido.ep-home .ep-close p{max-width:43ch}
@media(max-width:1000px){
#contenido.ep-home .ep-hero-heading,#contenido.ep-home .ep-history-heading,#contenido.ep-home .ep-facilities-caption,#contenido.ep-home .ep-close-inner{gap:32px}
#contenido.ep-home .ep-school{gap:40px;padding-block:72px}
#contenido.ep-home .ep-sport{gap:32px;grid-template-columns:1fr 1.1fr}
#contenido.ep-home .ep-motto{font-size:26px}
#contenido.ep-home .ep-history-photo{width:84%}
#contenido.ep-home .ep-history-date{left:-17%}
}
@media(max-width:700px){
#contenido.ep-home .ep-wrap{width:calc(100% - 40px)}
#contenido.ep-home .ep-preview-bar>.ep-wrap{align-items:flex-start;flex-direction:column;gap:4px}
#contenido.ep-home .ep-hero{padding-top:32px}
#contenido.ep-home .ep-hero-heading,#contenido.ep-home .ep-history-heading,#contenido.ep-home .ep-facilities-caption,#contenido.ep-home .ep-close-inner{grid-template-columns:minmax(0,1fr);gap:24px}
#contenido.ep-home h1{font-size:clamp(38px,9vw,54px)}
#contenido.ep-home h2{font-size:clamp(32px,8vw,44px)}
#contenido.ep-home p{font-size:17px}
#contenido.ep-home .ep-kicker{margin-bottom:16px}
#contenido.ep-home .ep-hero-heading{margin-bottom:26px}
#contenido.ep-home .ep-motto{font-size:26px}
#contenido.ep-home .ep-photo-label{padding:10px;font-size:10px;letter-spacing:.03em;gap:8px}
#contenido.ep-home .ep-school{grid-template-columns:minmax(0,1fr);gap:28px;padding-block:54px}
#contenido.ep-home .ep-school-copy{grid-row:1;padding:0}
#contenido.ep-home .ep-school>.ep-photo{width:86%;max-width:420px;margin-inline:auto}
#contenido.ep-home .ep-school-copy h2{max-width:20ch;margin-bottom:20px}
#contenido.ep-home .ep-history{padding-block:48px}
#contenido.ep-home .ep-history-photo{width:100%}
#contenido.ep-home .ep-history-date{display:none}
#contenido.ep-home .ep-history-heading{margin-bottom:28px}
#contenido.ep-home .ep-facilities{padding-block:54px}
#contenido.ep-home .ep-facilities-caption{margin-top:24px}
#contenido.ep-home .ep-sport{grid-template-columns:minmax(0,1fr);gap:28px;padding-block:32px 54px}
#contenido.ep-home .ep-sport-copy{padding:0}
#contenido.ep-home .ep-sport-links{flex-direction:row;flex-wrap:wrap;gap:12px 24px}
#contenido.ep-home .ep-close{padding-block:44px}
#contenido.ep-home .ep-close h2{font-size:clamp(32px,8vw,44px)}
}
#contenido.ep-home .ep-photo--loaded::before,#contenido.ep-home .ep-photo--loaded::after{display:none}

#contenido.ep-home .ep-history-caption{margin:12px 0 0;max-width:none;font-size:14px;line-height:1.6;color:#d9e2da;font-weight:400;text-align:left}

/* Justificación de los párrafos editoriales de la portada. */
#contenido.ep-home p:not(.ep-kicker):not(.ep-motto):not(.ep-history-caption){text-align:justify;text-align-last:left;hyphens:auto;-webkit-hyphens:auto;hyphenate-limit-chars:6 3 3}

/* Collage editorial con las fotografías originales completas. */
#contenido.ep-home .ep-sport-collage{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px 0 26px}
#contenido.ep-home .ep-sport-collage::before{content:"";position:absolute;z-index:-1;inset:0 8%;background:#e4e9de;border-radius:0 48px 0 48px}
#contenido.ep-home .ep-collage-column{display:flex;flex-direction:column;gap:16px;min-width:0}
#contenido.ep-home .ep-collage-column:nth-child(2){padding-top:40px}
#contenido.ep-home .ep-collage-photo{margin:0;padding:6px;background:#f8f6ef;box-shadow:0 5px 18px rgb(22 55 43 / 9%);overflow:hidden}
#contenido.ep-home .ep-collage-photo img{display:block;position:static;width:100%;height:auto;max-width:100%}
#contenido.ep-home .ep-collage-column:first-child .ep-collage-photo:first-child{border-radius:24px 0 0 0}
#contenido.ep-home .ep-collage-column:nth-child(2) .ep-collage-photo:last-child{border-radius:0 0 24px 0}
@media(max-width:700px){
#contenido.ep-home .ep-sport-collage{gap:10px;padding:12px 0 18px}
#contenido.ep-home .ep-collage-column{gap:10px}
#contenido.ep-home .ep-collage-column:nth-child(2){padding-top:26px}
#contenido.ep-home .ep-collage-photo{padding:4px}
}
/* Cabecera: título y lema forman una única unidad editorial. */
#contenido.ep-home .ep-hero-heading h1{max-width:12ch;line-height:1.04}
#contenido.ep-home .ep-hero-heading .ep-motto{margin:0 0 20px;font-size:clamp(23px,2vw,28px);line-height:1.3;text-wrap:balance}
#contenido.ep-home .ep-hero-aside{padding:0;max-width:480px}
#contenido.ep-home .ep-hero-aside>p{max-width:none}
@media(max-width:700px){
#contenido.ep-home .ep-hero-heading{gap:28px}
#contenido.ep-home .ep-hero-heading .ep-motto{margin-top:0;font-size:23px}
}
/* Ajuste editorial de la etiqueta y la fecha del club. */
#contenido.ep-home .ep-history .ep-kicker{font-size:16px}
#contenido.ep-home .ep-history-date{top:50%;bottom:auto;transform:translateY(-50%) rotate(180deg)}
/* Encabezado del club alineado arriba; fecha con 75% de transparencia. */
#contenido.ep-home .ep-history-heading{align-items:start}
#contenido.ep-home .ep-history-date{opacity:.25}