/* Portada del instituto */
body{--gutter:clamp(20px,5vw,88px);background:#fff;color:#002d62}
header.top{padding-inline:var(--gutter)}
header .nav .btn.out,.mobile-aula{background:#002d62;color:white;border-color:#002d62}
.hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:46% 54%;background:#002d62;min-height:clamp(380px,35vw,570px);height:auto}
.herotext{z-index:1;padding:clamp(36px,4vw,75px) 0 clamp(36px,4vw,75px) var(--gutter)}
.hero h1,.home-section h2,.wrapcat h2,.cc h3,.blog-grid h3{font-family:system-ui,sans-serif;font-weight:730;letter-spacing:-.04em}
.hero h1{font-size:clamp(46px,5.1vw,86px);line-height:1.01;color:#fff;text-wrap:balance}
.hero .portada-mensajes p{font-size:clamp(16px,1.38vw,21px);border:0;padding:0;margin:18px 0 26px;line-height:1.48;color:#fff}
.hero .row{flex-wrap:wrap;gap:10px}
.hero .btn{padding:12px 18px;border-radius:30px}
.hero .btn.red{background:#ce1126}
.hero .btn.out{background:transparent;color:white;border-color:#ffffff75}
.portada-fotos{min-width:0;align-self:stretch;overflow:visible;background:#002d62}
.portada-fotos:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#002d62 0%,transparent 18%)}
.portada-controles:not([hidden]){z-index:1;bottom:16px;right:20px}
.wrapcat,.home-section{padding:clamp(36px,4.5vw,72px) var(--gutter)}
.wrapcat:has(+.home-stats){padding-bottom:clamp(30px,4vw,65px)}
.wrapcat h2,.home-section h2{font-size:clamp(34px,3.4vw,54px);line-height:1.1;color:#002d62}
.wrapcat>.between{flex-wrap:wrap;gap:16px}
.catalog-filters .input{border-radius:24px;background:#fff;border-color:#002d6233;max-width:100%}
.wrapcat .grid3{gap:clamp(14px,2vw,30px);align-items:stretch}
.cc{display:flex;flex-direction:column;overflow:hidden;border:1px solid #002d6233;border-radius:14px;background:#fff;box-shadow:0 8px 24px #1b344009}
.cc[hidden]{display:none}
.cc .editorial-cover{display:none}
.cc .pad{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:clamp(18px,2vw,30px)}
.cc .kicker,.blog-grid .kicker{color:#ce1126;letter-spacing:.075em;font-size:11px}
.cc h3,.blog-grid h3{font-size:clamp(22px,2vw,31px);line-height:1.14}
.cc .pad>a{margin-top:auto;padding-top:14px;color:#002d62}
.cc .pad>a:after{content:' →'}
.home-stats{margin:0 var(--gutter) clamp(32px,4vw,64px);padding:22px clamp(16px,3vw,48px);border-radius:14px;background:#002d62}
.home-section{border-top:1px solid #002d6233}
#blog{background:#fff}
.blog-grid{max-width:none;gap:24px}
.blog-grid .card{background:transparent;box-shadow:none;border:0;border-top:2px solid #ce1126;border-radius:0;padding:18px 0}
.blog-grid h3 a{text-decoration:none}
.blog-grid h3 a:hover{text-decoration:underline}
.home-propose{background:#002d62}
.home-propose h2{color:white}
@media(max-width:760px){
  .hero{grid-template-columns:1fr;min-height:0}
  .portada-fotos{grid-row:1;aspect-ratio:2/1;min-height:0;overflow:hidden}
  .portada-fotos:after{background:linear-gradient(0deg,#002d62,transparent 18%)}
  .herotext{padding:12px var(--gutter) 28px}
  .hero h1{font-size:clamp(36px,8vw,52px)}
  .hero .portada-mensajes p{margin:10px 0 18px}
  .portada-controles:not([hidden]){right:12px;bottom:12px}
  .home-stats{padding:16px}
  .catalog-filters{max-width:100%;gap:8px}
  .catalog-filters .input{min-width:0;flex:1}
  #contacto .row{flex-wrap:wrap}
}

body{--navy:#002d62;--red:#ce1126;--blue:#002d62}.area-foto{display:block;width:100%;aspect-ratio:2/1;object-fit:cover}.cc .pad p{margin-top:8px}.home-stats h2{border-color:#ce1126}.portada-controles:not([hidden]){background:#002d62}.home-section,.wrapcat{color:#002d62}.home-propose{color:white}.home-faq summary::marker{color:#ce1126}

.noticia-punto-enlace{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:clamp(1rem,3vw,3rem);color:inherit;text-decoration:none}.noticia-punto-enlace img{display:block;width:100%;height:auto;border-radius:12px}.noticia-punto-enlace h2{line-height:1.15}.noticia-punto-enlace:hover strong{text-decoration:underline}@media(max-width:700px){.noticia-punto-enlace{grid-template-columns:1fr}}
