/* El Profe Que Aprende · páginas legales 2026.
   No reutilizar .resource-hero: el estilo legado rompe su contraste y tamaño. */
body.stem-playground:is(.page-terminos,.page-politica_privacidad){
 --epqa-legal-bg:#f2f7fe;--epqa-legal-panel:#fff;--epqa-legal-panel-soft:#edf5ff;
 --epqa-legal-title:#0b2a61;--epqa-legal-ink:#304e73;--epqa-legal-muted:#507091;
 --epqa-legal-stroke:#c8daf1;--epqa-legal-link:#0958be;
 --epqa-legal-shadow:0 12px 32px #0e396917;
}
body.stem-playground:is(.page-terminos,.page-politica_privacidad) .site-main{
 min-height:65vh;position:relative;z-index:1;
 background:linear-gradient(153deg,#f5f9ff,#eaf3ff)!important;
 color:var(--epqa-legal-ink)!important;padding:0 0 54px;
}
body.stem-playground:is(.page-terminos,.page-politica_privacidad) .epqa-legal-2026{
 width:min(1180px,calc(100% - 36px));margin:24px auto 36px;
 padding:0;position:relative;isolation:isolate;
 color:var(--epqa-legal-ink);font:600 15px/1.72 Nunito,system-ui,sans-serif;
}
body.stem-playground .epqa-legal-2026 *{box-sizing:border-box}
body.stem-playground .epqa-legal-2026__shell{max-width:100%}
body.stem-playground .epqa-legal-2026__breadcrumbs{
 display:flex;flex-wrap:wrap;align-items:center;gap:9px;
 margin:0 0 14px;font-size:12px;line-height:1.4;
 color:var(--epqa-legal-muted)!important;font-weight:850
}
body.stem-playground .epqa-legal-2026__breadcrumbs a,
body.stem-playground .epqa-legal-2026 a{
 color:var(--epqa-legal-link);text-decoration:none
}
body.stem-playground .epqa-legal-2026 a:hover{text-decoration:underline}
body.stem-playground .epqa-legal-2026__hero{
 position:relative;isolation:isolate;overflow:hidden;
 display:flex;justify-content:space-between;align-items:center;
 gap:24px;min-height:210px;padding:clamp(24px,4vw,40px);
 background:radial-gradient(ellipse at 87% 30%,#167ce3 0%,#0b4da6 42%,transparent 70%),
 linear-gradient(120deg,#071d49,#0b357b);
 border:1px solid #3d81df;border-radius:20px;
 box-shadow:0 12px 28px #05275e45
}
body.stem-playground .epqa-legal-2026__hero-copy{position:relative;z-index:2;min-width:0}
body.stem-playground .epqa-legal-2026__eyebrow{
 display:flex;align-items:center;gap:9px;margin:0 0 11px;
 font-size:11px;letter-spacing:.09em;font-weight:950;
 color:#a8ecff!important
}
body.stem-playground .epqa-legal-2026__eyebrow img{
 display:block;object-fit:contain;width:26px;height:26px;
 filter:brightness(0) invert(1)!important
}
body.stem-playground .epqa-legal-2026__hero h1{
 margin:0 0 11px!important;max-width:none!important;
 color:white!important;opacity:1!important;
 font:900 clamp(28px,4vw,46px)/1.16 Poppins,Nunito,sans-serif!important;
 letter-spacing:-.035em;overflow-wrap:anywhere;text-wrap:balance
}
body.stem-playground .epqa-legal-2026__lead{
 margin:0!important;max-width:620px;
 color:#e2efff!important;font-size:clamp(13px,1.2vw,16px);
 line-height:1.58;font-weight:700
}
body.stem-playground .epqa-legal-2026__hero-decoration{
 display:grid;place-items:center;flex:0 0 clamp(92px,16vw,170px);
 width:clamp(92px,16vw,170px);height:clamp(92px,16vw,170px);
 border:4px solid #6bddff80;border-radius:50%;
 background:#2f9efd2b;box-shadow:0 0 0 19px #73dfff15
}
body.stem-playground .epqa-legal-2026__hero-decoration img{
 display:block;width:60%;height:60%;object-fit:contain;
 filter:brightness(0) invert(1)!important;opacity:.9
}
body.stem-playground .epqa-legal-2026__layout{
 display:grid;grid-template-columns:minmax(195px,.7fr) minmax(0,2.3fr);
 align-items:start;gap:18px;margin-top:18px;
}
body.stem-playground .epqa-legal-2026__contents,
body.stem-playground .epqa-legal-2026__article{
 background:var(--epqa-legal-panel)!important;color:var(--epqa-legal-ink)!important;
 border:1px solid var(--epqa-legal-stroke);border-radius:17px;
 box-shadow:var(--epqa-legal-shadow);min-width:0;
}
body.stem-playground .epqa-legal-2026__contents{
 position:sticky;top:102px;display:flex;flex-direction:column;
 padding:18px 15px;gap:2px
}
body.stem-playground .epqa-legal-2026__contents strong{
 color:var(--epqa-legal-title)!important;font-size:13px;font-weight:950;
 margin-bottom:7px;padding:0 9px
}
body.stem-playground .epqa-legal-2026__contents a{
 display:block;border-radius:9px;padding:9px 10px;
 color:var(--epqa-legal-ink)!important;font-size:12px;font-weight:800;
 line-height:1.4
}
body.stem-playground .epqa-legal-2026__contents a:is(:hover,:focus-visible){
 background:var(--epqa-legal-panel-soft);color:var(--epqa-legal-link)!important;
 text-decoration:none
}
body.stem-playground .epqa-legal-2026__article{
 padding:clamp(20px,3vw,35px)
}
body.stem-playground .epqa-legal-2026__section{
 scroll-margin-top:115px;
 padding:0 0 21px;margin:0 0 21px;
 border-bottom:1px solid var(--epqa-legal-stroke)
}
body.stem-playground .epqa-legal-2026__section:last-of-type{
 margin-bottom:20px;padding-bottom:15px
}
body.stem-playground .epqa-legal-2026__section h2{
 margin:0 0 11px;color:var(--epqa-legal-title)!important;
 font:900 clamp(16px,2vw,21px)/1.35 Poppins,Nunito,sans-serif!important
}
body.stem-playground .epqa-legal-2026__section p{
 color:var(--epqa-legal-ink)!important;
 margin:0 0 10px;line-height:1.75;font-size:14px;font-weight:650
}
body.stem-playground .epqa-legal-2026__section p:last-child{margin-bottom:0}
body.stem-playground .epqa-legal-2026__section strong{color:var(--epqa-legal-title)!important}
body.stem-playground .epqa-legal-2026__help{
 display:flex;align-items:flex-start;gap:13px;
 background:var(--epqa-legal-panel-soft);border:1px solid var(--epqa-legal-stroke);
 border-radius:13px;padding:15px;margin-top:4px
}
body.stem-playground .epqa-legal-2026__help>img{
 display:block;width:29px;height:29px;flex:none;object-fit:contain
}
body.stem-playground .epqa-legal-2026__help strong{
 color:var(--epqa-legal-title)!important;font-size:14px;font-weight:950
}
body.stem-playground .epqa-legal-2026__help p{
 margin:4px 0 0;color:var(--epqa-legal-ink)!important;
 font-size:13px;line-height:1.5
}
body.stem-playground .epqa-legal-2026__help a,
body.stem-playground .epqa-legal-2026__related a{
 color:var(--epqa-legal-link)!important;font-weight:900
}
body.stem-playground .epqa-legal-2026__related{
 margin:18px 0 0;font-size:13px
}
body.stem-playground .epqa-legal-2026 :is(a,button):focus-visible{
 outline:3px solid #11b7fa;outline-offset:3px
}
html[data-theme="dark"] body.stem-playground:is(.page-terminos,.page-politica_privacidad){
 --epqa-legal-bg:#101f39;--epqa-legal-panel:#25354e;--epqa-legal-panel-soft:#1b2e4b;
 --epqa-legal-title:#f5f9ff;--epqa-legal-ink:#dfeafa;--epqa-legal-muted:#b7cee9;
 --epqa-legal-stroke:#586f93;--epqa-legal-link:#8ad8ff;
 --epqa-legal-shadow:0 13px 32px #030c2066
}
html[data-theme="dark"] body.stem-playground:is(.page-terminos,.page-politica_privacidad) .site-main{
 background:linear-gradient(147deg,#1b2a44,#14243e)!important
}
html[data-theme="dark"] body.stem-playground .epqa-legal-2026__hero{border-color:#74b6ff}
@media(max-width:800px){
 body.stem-playground .epqa-legal-2026__layout{grid-template-columns:1fr;gap:12px}
 body.stem-playground .epqa-legal-2026__contents{
  position:static;flex-direction:row;flex-wrap:wrap;
  align-items:center;gap:4px;padding:10px 12px
 }
 body.stem-playground .epqa-legal-2026__contents strong{flex:1 0 100%;margin:0 0 2px}
 body.stem-playground .epqa-legal-2026__contents a{padding:6px 10px}
 body.stem-playground .epqa-legal-2026__hero{min-height:183px}
}
@media(max-width:520px){
 body.stem-playground:is(.page-terminos,.page-politica_privacidad) .epqa-legal-2026{
  width:calc(100% - 20px);margin:13px auto 25px
 }
 body.stem-playground .epqa-legal-2026__hero{
  min-height:160px;padding:19px 17px;gap:10px;border-radius:15px
 }
 body.stem-playground .epqa-legal-2026__hero-decoration{
  flex-basis:65px;width:65px;height:65px;box-shadow:none;border-width:3px
 }
 body.stem-playground .epqa-legal-2026__hero h1{font-size:clamp(25px,6.6vw,34px)!important}
 body.stem-playground .epqa-legal-2026__eyebrow{font-size:10px}
 body.stem-playground .epqa-legal-2026__lead{font-size:12px}
 body.stem-playground .epqa-legal-2026__article{padding:17px}
 body.stem-playground .epqa-legal-2026__section{margin-bottom:18px;padding-bottom:18px}
 body.stem-playground .epqa-legal-2026__contents a{font-size:11px}
}
