/*
Theme Name: El Laboratorio Editorial
Version: 0.1.0
Requires PHP: 8.1
Text Domain: elc-editorial
Description: Adaptación del prototipo aprobado para el WordPress privado de pruebas.
*/
/* latin-ext */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/lexend-deca-latin-ext-919ae9f94875.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/lexend-deca-latin-763d21aa9286.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/lexend-deca-latin-ext-919ae9f94875.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/lexend-deca-latin-763d21aa9286.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/lexend-deca-latin-ext-919ae9f94875.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/lexend-deca-latin-763d21aa9286.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/lexend-deca-latin-ext-919ae9f94875.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/lexend-deca-latin-763d21aa9286.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{--ink:#242424;--aqua:#54c9cd;--light:#90dcdf;--yellow:#ffca39}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);font-family:'Lexend Deca',Arial,sans-serif;font-size:17px;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #165c7d;outline-offset:5px}.review{background:#242424;color:white;padding:9px 5%;font-size:13px;display:flex;justify-content:space-between;gap:20px}header{padding:30px 5%;display:flex;justify-content:space-between;align-items:center;gap:32px}.brand{font-size:14px;line-height:1.2;font-weight:800;letter-spacing:-.5px;flex-shrink:0}.brand>span{display:block;font-size:25px}.brand-dot{color:#16878b}nav{display:flex;gap:25px;font-size:14px}nav a{padding:8px 0;border-bottom:2px solid transparent}nav a:hover,nav a[aria-current]{border-color:var(--aqua)}.menu{display:none}.hero{margin:0 2%;background:var(--aqua);padding:65px 5% 0;display:grid;grid-template-columns:1.3fr 1fr;column-gap:7%;overflow:hidden}.eyebrow{font-size:12px;letter-spacing:1.6px;font-weight:600;margin:0 0 28px}h1{font-size:clamp(48px,6.8vw,102px);line-height:1.05;letter-spacing:-5px;margin:0;font-weight:700}h1 span{font-size:.79em;letter-spacing:-4px}.intro{margin:30px 0;font-size:18px;line-height:1.75}.button{background:var(--yellow);display:inline-flex;align-items:center;justify-content:space-between;gap:32px;padding:16px 24px;font-size:15px;font-weight:600}.button:hover{background:#ffec3d}.button span{font-size:23px}.hero figure{margin:0;align-self:center;transform:rotate(3deg);position:relative;width:100%;max-width:365px;justify-self:center}.hero img{display:block;width:100%;height:430px;object-fit:cover;object-position:center;border:9px solid white}.hero figcaption{background:white;padding:8px 14px;font-size:15px;text-align:center;margin-top:-1px}.hero-foot{grid-column:1/-1;border-top:1px solid #24242440;margin-top:54px;padding:19px 0;display:flex;justify-content:space-between;gap:20px;font-size:12px}.section{padding:85px 7%;scroll-margin-top:20px}h2{font-size:clamp(32px,3.5vw,52px);line-height:1.15;letter-spacing:-2px;margin:0;font-weight:600}p{margin:0 0 20px}.activity{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center}.activity-copy>p:first-child{font-size:23px;line-height:1.5}.muted{color:#575757}.projects{background:#f5f5f3}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:40px}.section-heading>p{font-size:15px;margin:0}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.project{padding:36px}.marathon{background:var(--light)}.solidarity{background:#ffdc73}.tag{font-size:12px;letter-spacing:1px}.project-number{font-size:clamp(38px,4.2vw,64px);font-weight:700;line-height:1.04;letter-spacing:-3px;padding:40px 0 45px;min-height:220px}h3{font-size:26px;letter-spacing:-1px;margin:0 0 15px}.project p{font-size:16px}.project details{margin-top:28px}details{border-top:1px solid #24242455;padding-top:15px}summary{cursor:pointer;font-size:14px;font-weight:500}details p{font-size:15px;margin-top:18px}details[open] summary{margin-bottom:18px}.training{display:grid;grid-template-columns:1fr 2fr;gap:5%;border-bottom:1px solid #ddd}.training>div{max-width:710px}.training h2{margin-bottom:25px}.training p{max-width:600px}.about{display:grid;grid-template-columns:1fr 1fr;gap:10%}.large{font-size:23px;line-height:1.5}.team{list-style:none;padding:0;margin:35px 0 0}.team li{padding:17px 0;border-top:1px solid #ccc;font-size:20px}.team span{font-size:12px;margin-right:25px;color:#626262}.contact{background:var(--aqua);margin:0 2%;text-align:center;padding:65px 7%}.contact h2{margin-bottom:25px}.contact-note{font-size:14px;max-width:550px;margin:25px auto 0}footer{display:flex;justify-content:space-between;gap:30px;align-items:center;padding:40px 5%;font-size:12px}footer .brand{font-size:10px}footer .brand>span{font-size:18px}@media(min-width:1550px){body{max-width:1550px;margin:auto}}@media(max-width:1000px){nav{gap:13px;font-size:12px}.hero{gap:4%;padding-top:45px}h1{letter-spacing:-3px}.hero img{height:350px}.hero figure{max-width:280px}.intro{font-size:16px}.section{padding:60px 6%}}@media(max-width:760px){.review{font-size:12px}.review span{display:none}header{padding:22px 6%;position:relative}.menu{display:block;border:1px solid #aaa;background:white;padding:8px 15px;font-size:14px}nav{display:none;position:absolute;z-index:5;top:100%;left:0;right:0;background:white;padding:20px 6%;box-shadow:0 12px 20px #0002;font-size:16px}nav.open{display:flex;flex-direction:column}.hero{grid-template-columns:1fr;padding:35px 6% 0;margin:0 3%}.eyebrow{font-size:12px;letter-spacing:1px;margin-bottom:22px}h1{font-size:clamp(43px,11vw,76px);letter-spacing:-2.5px}h1 span{letter-spacing:-2px}.hero figure{margin-top:36px;max-width:100%;width:100%;transform:none}.hero img{height:310px;object-position:center 43%;border:6px solid white}.hero figcaption{font-size:13px}.hero-foot{margin-top:25px;font-size:12px}.hero-foot>span{max-width:190px}.hero-foot>a{white-space:nowrap}.activity,.about,.training{grid-template-columns:1fr;gap:28px}.section-heading{display:block}.section-heading>p{margin-top:20px}.project-grid{grid-template-columns:1fr}.project{padding:28px}.project-number{min-height:0;padding:35px 0;font-size:52px}.activity-copy>p:first-child,.large{font-size:20px}.contact{margin:0 3%;padding:50px 6%}footer{align-items:start;flex-direction:column;padding:35px 6%;gap:20px}.section{padding:50px 6%}h2{letter-spacing:-1.3px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Páginas y ventanas de imagen: fase de estructura y contenidos. */
body{font-size:1.0625rem;color:#3c3c3c}h1,h2,h3,.brand{color:#242424}nav{flex-wrap:wrap}nav a{font-size:.875rem}.review a{text-decoration:underline;text-underline-offset:3px}.skip{position:absolute;left:12px;top:-80px;z-index:20;padding:12px;background:#ffca39}.skip:focus{top:10px}.actions{display:flex;gap:12px;flex-wrap:wrap}.button{border:0;line-height:1.45;min-height:48px}.button.secondary{background:transparent;border:1px solid #3c3c3c}.hero{align-items:center}.hero .intro{max-width:580px}.hero>.image-window{margin:0;min-width:0}.hero-foot{font-size:.875rem}.image-window{aspect-ratio:16/10;min-height:160px;background:#e8eeed;border:1px dashed #718480;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:22px;text-align:center;gap:10px;color:#465651;overflow:hidden}.image-window>span{font-size:.75rem;letter-spacing:1.5px}.image-window>strong{font-size:1rem;line-height:1.4;font-weight:500}.image-window>small{font-size:.75rem}.image-window.portrait{aspect-ratio:4/5}.image-window.poster{aspect-ratio:2/3;max-width:360px;width:100%;justify-self:center}.hero .image-window{background:#ffffff55;border-color:#3c7779;max-height:440px}.project .image-window{margin-bottom:30px;background:#ffffff70;min-height:150px}.project h3{line-height:1.3}.text-link{display:inline-block;text-decoration:underline;text-underline-offset:5px;font-size:1rem;font-weight:500}.text-link:hover{color:#165c7d}.spaced{margin-top:26px}.measure{max-width:740px}.center{margin-left:auto;margin-right:auto}.page-intro{background:var(--aqua);margin:0 2%;padding:55px 5%}.page-intro h1{font-size:clamp(2.5rem,5.2vw,4.8rem);line-height:1.12;letter-spacing:-2.5px;max-width:1050px}.lead{font-size:1.25rem;line-height:1.65;max-width:850px;margin:25px 0 0}.compact{padding-top:45px;padding-bottom:45px}.split{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:start}.prose{max-width:800px}.prose h2{font-size:2rem;letter-spacing:-1px;margin:35px 0 22px}.prose h2:first-child{margin-top:0}.prose p{line-height:1.8}.editor-note{border-left:3px solid #d8a41c;background:#fff7d9;padding:18px 22px;margin:28px 0;max-width:800px;font-size:.9375rem}.editor-note strong{font-size:.8125rem;text-transform:uppercase;letter-spacing:.5px}.editor-note p{margin:7px 0 0}.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px 7%;margin-top:40px}.editorial-grid h3{font-size:1.5rem;line-height:1.3}.editorial-grid article{border-top:2px solid #54c9cd;padding-top:23px}.people{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:35px}.people h3{font-size:1.125rem;letter-spacing:0;margin-top:18px;line-height:1.4}.people .image-window{min-height:200px}.people .image-window small{display:none}.small-title{font-size:1.65rem;letter-spacing:-.7px;margin-bottom:25px}form{border:1px solid #ccc;padding:30px;background:#f8f8f7}label{display:block;margin:17px 0 7px;font-size:.9375rem}input,textarea{display:block;width:100%;padding:12px;font:inherit;color:inherit;border:1px solid #8f9695;border-radius:0;background:white}textarea{resize:vertical}input:focus,textarea:focus{outline:2px solid #165c7d;outline-offset:2px}form .muted{font-size:.875rem}form>p{margin:20px 0}.button:disabled{background:#ddd;color:#555;cursor:not-allowed}.facts{background:#f5f5f3;padding:28px}dt{font-size:.875rem;font-weight:600;margin-top:19px}dd{margin:5px 0 0;padding-bottom:15px;border-bottom:1px solid #ccc;color:#666;font-size:1rem}.field-placeholder{border-left:3px solid #bbb;padding-left:18px;color:#606060}footer{align-items:flex-start;font-size:.875rem}footer p{margin:14px 0 0}.footer-links{display:flex;gap:22px;flex-wrap:wrap;justify-content:flex-end}.footer-links a{text-decoration:underline;text-underline-offset:4px}.prose a{ text-decoration:underline}summary{font-size:1rem}.contact .button{margin-top:12px}
@media(max-width:1000px){.people{grid-template-columns:1fr 1fr}.hero h1{font-size:clamp(2.7rem,6.7vw,5rem)}.hero h1 span{letter-spacing:-2px}.hero-foot{font-size:.75rem}}
@media(max-width:760px){.split,.editorial-grid{grid-template-columns:1fr;gap:30px}.page-intro{padding:35px 6%;margin:0 3%}.page-intro h1{font-size:2.5rem;letter-spacing:-1.5px}.lead{font-size:1.125rem}.hero>.image-window{margin-top:30px;aspect-ratio:16/10}.hero h1{font-size:clamp(2.65rem,10vw,4.5rem)}.hero-foot{flex-wrap:wrap}.hero-foot>span{max-width:none}.hero .intro{font-size:1.0625rem}.review{gap:12px;align-items:center}.review span{display:block;font-size:.75rem;max-width:200px}.review a{font-size:.75rem}.people{gap:16px}.people .image-window{min-height:170px;padding:12px}.people .image-window>strong{font-size:.875rem}.footer-links{flex-direction:column;gap:14px}.prose h2{font-size:1.75rem}form{padding:22px}.facts{padding:22px}.small-title{font-size:1.5rem}.image-window{min-height:160px}.project .image-window{min-height:130px}.lead,.intro,p{overflow-wrap:break-word}}
/* Logotipos originales, sin firma, conservando sus proporciones. */
header{padding-top:10px;padding-bottom:10px}header .brand{display:block;width:190px;line-height:0}header .brand img{display:block;width:100%;height:auto}footer .brand{display:block;width:150px;line-height:0}footer .brand img{display:block;width:100%;height:auto}footer{align-items:center}@media(max-width:1000px){header .brand{width:165px}}@media(max-width:760px){header{padding-top:8px;padding-bottom:8px}header .brand{width:155px}footer{align-items:flex-start}footer .brand{width:145px}}
.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.archive-card{background:white;border:1px solid #ddd;display:flex;flex-direction:column;min-width:0}.archive-card .image-window{aspect-ratio:16/9;min-height:120px;border:0;border-bottom:1px dashed #9aa6a3}.archive-card .image-window strong,.archive-card .image-window small{display:none}.archive-card-content{padding:25px;display:flex;flex-direction:column;align-items:flex-start;flex:1}.archive-card h3{font-size:1.35rem;line-height:1.3;letter-spacing:-.5px}.archive-card h3 a:hover{text-decoration:underline}.archive-card p{font-size:.9375rem;margin-bottom:12px}.archive-card .archive-date{font-size:.875rem;color:#345c5d}.archive-card .text-link{margin-top:auto;padding-top:15px}.audience{font-size:.875rem}.review-badge{background:#fff2bf;padding:4px 9px;font-size:.75rem;margin-bottom:10px}.year-links,.pagination{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}.year-links a,.pagination a{padding:9px 15px;border:1px solid #aaa;background:white;font-size:1rem}.year-links a[aria-current],.pagination a[aria-current]{background:#54c9cd;border-color:#36777a}.pagination{position:static;box-shadow:none}.archive-status{margin:25px 0 0;font-size:.9375rem}.source-note{border-top:1px solid #ddd;font-size:.875rem}.issue{border-top:1px solid #ccc;padding:25px 0}.issue h3{font-size:1.25rem}.issue li{margin-bottom:12px}@media(max-width:1050px){.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.archive-grid{grid-template-columns:1fr}.pagination{display:flex;position:static;padding:0;background:transparent;box-shadow:none}.archive-card .image-window{min-height:110px;aspect-ratio:2.3}.archive-card-content{padding:22px}}

/* Integración: una única tarjeta de proyecto, sin huecos. */
.project-grid:has(>article:only-child){grid-template-columns:1fr}.project-grid>article:only-child{max-width:none}
.elc-image{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}.elc-image.portrait{aspect-ratio:4/5}.elc-image.poster{aspect-ratio:2/3;max-width:360px;justify-self:center}.hero>.elc-image{max-height:440px}.project>.elc-image{margin-bottom:30px}.people .elc-image{aspect-ratio:4/5}nav ul{display:flex;gap:25px;list-style:none;margin:0;padding:0;flex-wrap:wrap}nav a[aria-current="page"]{border-color:var(--aqua)}@media(max-width:1000px){nav ul{gap:13px}}@media(max-width:760px){nav ul{flex-direction:column;gap:13px}.hero>.elc-image{margin-top:30px;aspect-ratio:16/10}}
