@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#112a36;--mint:#a4e6d2;--peach:#f8c7ad;--paper:#f5f7f4;--muted:#637079}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--navy);font-family:'DM Sans',sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:3px solid #438e9b;outline-offset:5px}h1,h2,h3{font-family:'Manrope',sans-serif}p{line-height:1.65}header{height:100px;max-width:1360px;margin:auto;padding:0 5%;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:800;letter-spacing:-1px}.brand-mark{width:43px;height:43px;background:var(--navy);color:var(--mint);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:27px;position:relative}.brand-mark span{font-size:17px;align-self:flex-start}.brand-light{font-weight:400}.brand small{font-size:8px;letter-spacing:1.8px;display:block;margin-top:3px}.header nav{display:flex;gap:26px;align-items:center;font-size:12px;font-weight:600}.header nav button{padding:8px 0}.insta-nav{display:flex;align-items:center;gap:7px;border-left:1px solid #d7deda;padding-left:24px}.menu-toggle{display:none}main{max-width:1360px;margin:auto;padding:0 5%}.hero{border-radius:26px;background:var(--navy);color:white;padding:46px 5% 26px;min-height:495px;display:grid;grid-template-columns:1.1fr 1fr;gap:24px;overflow:hidden;position:relative}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;display:flex;align-items:center;gap:9px}.hero .eyebrow{color:var(--mint)}.eyebrow>span{width:6px;height:6px;background:var(--mint);border-radius:50%}h1{font-size:clamp(60px,6vw,86px);letter-spacing:-4px;line-height:1.06;margin:24px 0;position:relative;font-weight:800}h1 em{font-style:normal;color:var(--mint)}.title-spark{font-size:55px;color:var(--peach);position:absolute;left:330px;top:70px;font-weight:400}.hero-copy>p{font-size:15px;max-width:365px;color:#c8d4d8;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:29px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:15px;background:var(--mint);color:var(--navy);padding:14px 18px;border-radius:7px;font-size:12px;font-weight:700}.text-link{font-size:11px;display:flex;align-items:center;gap:6px}.hero-note{display:flex;gap:19px;font-size:8px;letter-spacing:1.6px;color:#9db0b8;margin-top:28px}.hero-art{position:relative;min-height:360px}.art-grid{position:absolute;inset:0;background-image:radial-gradient(#5a7886 1px,transparent 1px);background-size:24px 24px;opacity:.35;mask-image:radial-gradient(black,transparent 75%)}.orbit{position:absolute;border:1px solid #46616b;border-radius:50%;width:345px;height:345px;top:38px;left:30px;transform:rotate(-20deg)}.orbit-two{width:450px;height:200px;top:135px;left:-25px;transform:rotate(-42deg)}.central-tile{position:absolute;width:248px;height:280px;top:42px;left:72px;background:#e9f1e8;color:var(--navy);border-radius:15px;transform:rotate(-7deg);padding:18px;box-shadow:15px 20px 0 #091e2870}.tile-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;font-weight:700;letter-spacing:1.3px}.tile-drawing{height:172px;position:relative}.cube{position:absolute;width:72px;height:72px;border:2px solid var(--navy);background:var(--mint);transform:skewY(-25deg);box-shadow:13px 11px 0 var(--navy)}.cube-a{left:39px;top:47px}.cube-b{width:50px;height:50px;left:106px;top:24px;background:var(--peach)}.cube-c{width:39px;height:39px;left:129px;top:99px;background:#aac7e4}.draw-star{position:absolute;left:4px;top:10px;font-size:42px}.tile-bottom{border-top:1px solid #bbc9c4;padding-top:12px;font-size:17px;line-height:1.35}.tile-bottom svg{float:right;margin-top:-22px}.floating{position:absolute;display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:9px;font-size:11px;font-weight:700;box-shadow:0 9px 25px #0002}.tag-ai{background:var(--mint);color:var(--navy);top:26px;left:150px;transform:rotate(6deg)}.tag-project{background:var(--peach);color:var(--navy);top:251px;left:-3px;transform:rotate(-8deg)}.tag-teach{background:#30505e;color:white;bottom:4px;left:132px;transform:rotate(4deg);white-space:nowrap}.art-label{position:absolute;right:0;top:-12px;font-size:8px;letter-spacing:1.7px;color:#b8cbcb}.art-plus{position:absolute;right:0;top:195px;color:var(--mint);font-size:45px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:26px}.section-heading .eyebrow{font-size:9px;color:#657780}h2{font-size:32px;letter-spacing:-1.2px;margin:10px 0 0;font-weight:800}.section-heading>p{font-size:12px;color:var(--muted);margin-bottom:4px}.areas{padding:68px 0 55px}.area-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.area{background:#fff;border:1px solid #dfe5df;border-radius:12px;padding:26px 24px 20px}.area-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.area-top>svg{padding:10px;width:50px;height:50px;border-radius:11px;background:#dbf1e8}.area.peach .area-top>svg{background:#fce5d7}.area.blue .area-top>svg{background:#e0eaf3}.area-top>span{color:#84918f;font-size:11px}.area h3{margin:0;font-size:19px;letter-spacing:-.7px}.area h3 button{padding:0;display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left}.area p{font-size:12px;color:var(--muted);margin:12px 0 20px;max-width:230px}.category-links{border-top:1px solid #e7ebe7;padding-top:14px;display:flex;gap:7px;flex-wrap:wrap}.category-links button{padding:6px 9px;background:#f4f6f3;border-radius:4px;font-size:10px;display:flex;align-items:center;gap:9px}.posts-section{padding:22px 0 65px;border-top:1px solid #dfe4df}.posts-section .section-heading{margin-top:30px}.dot{color:#4dba9c}.toolbar{display:flex;align-items:center;justify-content:space-between;margin:30px 0 25px;gap:15px}.filters{display:flex;gap:6px;flex-wrap:wrap}.filters button{font-size:11px;border:1px solid #dce3de;border-radius:6px;padding:10px 13px}.filters .active{background:var(--navy);color:white;border-color:var(--navy)}.search{display:flex;align-items:center;gap:8px;border:1px solid #dce3de;background:#fff;padding:10px 12px;border-radius:6px;color:#819089}.search input{width:140px;border:0;outline:0;background:none;font-size:11px}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.post{border:1px solid #dfe5df;border-radius:12px;overflow:hidden;background:white}.post-visual{width:100%;height:205px;display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:19px 22px;position:relative;background:#d9eee6;color:var(--navy);overflow:hidden}.post-visual.peach{background:#f4dfd0}.post-visual.blue{background:#dbe6ee}.post-visual:after{content:'';width:200px;height:200px;border:1px solid #132b3620;border-radius:50%;position:absolute;right:-25px;top:0;box-shadow:0 0 0 23px #ffffff18,0 0 0 47px #ffffff18}.visual-small{font-size:7px;letter-spacing:1.7px;font-weight:700;z-index:1}.visual-symbol{margin:auto;transform:rotate(-10deg);z-index:1}.visual-symbol svg{width:67px;height:67px;stroke-width:1.2}.visual-caption{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;z-index:1}.visual-caption svg{width:18px}.post-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2}.post-info{padding:23px}.post-meta{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#8b969b}.post-meta button{background:#edf4ee;border-radius:4px;padding:5px 8px;font-size:9px;color:#315f51}.post h3{font-size:18px;line-height:1.45;letter-spacing:-.5px;margin:14px 0 9px}.post h3 button{text-align:left;padding:0}.post-info>p{font-size:12px;color:var(--muted);margin:0 0 20px}.read{display:flex;align-items:center;gap:10px;padding:0;font-size:11px;font-weight:700}.edit-link{font-size:10px;text-decoration:underline;margin-top:12px}.instagram-banner{display:flex;gap:25px;align-items:center;padding:36px;background:#e5ede6;border-radius:15px;margin-bottom:50px}.instagram-icon{border:1px solid #b5c9bd;border-radius:17px;padding:17px}.instagram-icon svg{width:30px;height:30px}.instagram-banner .eyebrow{font-size:8px;color:#4d7063}.instagram-banner h2{font-size:23px;margin-top:8px;letter-spacing:-.7px}.instagram-banner p{font-size:12px;color:var(--muted);margin:6px 0 0}.instagram-banner>a{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:11px;font-weight:700;border-bottom:1px solid #9bae9e;padding-bottom:7px;white-space:nowrap}footer{max-width:1360px;padding:25px 5% 35px;margin:auto;border-top:1px solid #dce3de;display:flex;justify-content:space-between;align-items:center}.footer-brand{font-size:18px;font-weight:800;letter-spacing:-.8px}.footer-brand span{font-weight:400}footer p,footer>a:last-child{font-size:10px;color:var(--muted);display:flex;gap:6px;align-items:center}.modal-backdrop{position:fixed;inset:0;background:#071e2ac9;z-index:20;display:flex;align-items:flex-start;justify-content:center;padding:35px 20px;overflow-y:auto;backdrop-filter:blur(5px)}.modal{position:relative;background:var(--paper);border-radius:18px;padding:48px;max-width:760px;width:100%;box-shadow:0 25px 100px #0004}.close{position:absolute;right:15px;top:15px;padding:6px}.modal h2{font-size:32px;line-height:1.3;margin-top:17px}.intro{color:var(--muted);border-bottom:1px solid #d6dfd6;padding-bottom:22px}.article-content{white-space:pre-wrap;line-height:1.72;font-size:15px;margin:22px 0;max-width:68ch}.article-actions{display:flex;gap:15px;flex-wrap:wrap}.article-actions>*{display:flex;align-items:center;gap:7px;border:1px solid #bbcdbf;padding:10px;border-radius:6px;font-size:12px}.article-image{width:100%;max-height:400px;object-fit:contain}.editor label{display:block;font-size:12px;font-weight:600;margin:20px 0}.editor input:not([type=checkbox]),.editor textarea,.editor select{display:block;width:100%;margin-top:8px;border:1px solid #b8c8bd;background:white;border-radius:5px;padding:11px;font-size:14px}.editor textarea{resize:vertical}.editor .check{display:flex;align-items:center;gap:10px}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.editor input[type=file]{font-size:10px}.delete{color:#a03636;margin-left:20px;font-size:12px}.notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:50;background:var(--navy);color:white;padding:15px 20px;border-radius:8px;display:flex;align-items:center;gap:20px;max-width:90%;font-size:13px}.notice button{color:white}.empty{text-align:center;padding:60px 20px;border:1px dashed #bccdc0;border-radius:12px}.empty>svg{color:#73a48b}.empty h3{font-size:21px}.empty p{color:var(--muted);font-size:13px}.empty button{display:inline-flex;gap:10px;font-size:12px}.subfilter{display:flex;gap:15px;font-size:12px;margin-bottom:20px}.admin-status{display:flex;gap:20px;background:#fff;border:1px solid #dce3de;padding:30px;border-radius:12px;margin:0 0 45px}.admin-status h2{font-size:22px;margin:0}.admin-status p,.admin-status a{font-size:13px}.admin-status p{color:var(--muted)}.admin-status a{text-decoration:underline}button:hover,a:hover{opacity:.8}button:disabled{opacity:.5;cursor:wait}
@media(min-width:1500px){header,main,footer{max-width:1400px}}@media(max-width:1050px){.header nav{gap:15px;font-size:10px}.insta-nav{padding-left:13px}.hero{padding:36px 4% 24px;gap:10px;min-height:455px}.hero-actions{gap:12px;flex-wrap:wrap}.central-tile{left:40px;top:42px}.tag-ai{left:80px}.tag-teach{left:65px}.title-spark{left:280px}.area{padding:20px 17px}.area h3{font-size:16px}.toolbar{align-items:flex-start}.filters button{font-size:10px;padding:10px}.instagram-banner{padding:28px;gap:20px}.instagram-banner>a{font-size:10px}.instagram-banner h2{font-size:20px}}
@media(max-width:760px){header{height:83px;padding:0 6%;position:relative}.brand{font-size:19px}.menu-toggle{display:block}.header nav{display:none;position:absolute;top:75px;left:6%;right:6%;background:white;border:1px solid #dce3de;padding:20px;z-index:10;border-radius:10px;box-shadow:0 15px 30px #1232;font-size:13px}.header nav.open{display:flex;flex-direction:column;align-items:flex-start}.insta-nav{border-left:0;padding-left:0}main{padding:0 5%}.hero{grid-template-columns:1fr;padding:26px 8% 20px;border-radius:20px;gap:5px;min-height:auto}.hero h1{font-size:60px;letter-spacing:-3px;margin:20px 0 14px}.title-spark{left:255px;top:48px;font-size:38px}.hero-copy>p{font-size:14px}.hero-actions{gap:16px}.hero-note{margin-top:20px;font-size:7px;gap:15px}.hero-art{min-height:330px;width:330px;max-width:100%;margin:14px auto 0}.central-tile{left:35px;top:42px;width:228px;height:258px}.tile-drawing{height:145px}.tag-ai{left:115px;top:16px;font-size:10px;padding:10px}.tag-project{left:-13px;top:214px;font-size:10px}.tag-teach{left:87px;bottom:3px;font-size:9px;padding:10px}.art-label{font-size:6px}.orbit-one{width:280px;height:280px;left:16px}.orbit-two{width:320px;left:-15px}.art-plus{right:-10px;top:118px}.areas{padding:43px 0 35px}.section-heading{align-items:flex-start;gap:15px;flex-direction:column}h2{font-size:27px}.section-heading>p{margin:0}.area-grid{grid-template-columns:1fr;gap:13px}.area{padding:20px 23px}.area-top{margin-bottom:18px}.area h3{font-size:21px}.area p{max-width:none;margin-bottom:15px}.category-links button{font-size:11px}.toolbar{flex-direction:column;margin:24px 0}.search{width:100%}.search input{width:100%}.filters{gap:5px}.post-grid{grid-template-columns:1fr;gap:22px}.post-visual{height:220px}.post-info{padding:24px}.post h3{font-size:21px}.post-info>p{font-size:13px}.posts-section{padding-bottom:40px}.instagram-banner{flex-wrap:wrap;padding:27px;gap:18px;margin-bottom:35px}.instagram-icon{padding:13px}.instagram-banner>div:nth-child(2){flex:1;min-width:170px}.instagram-banner h2{font-size:22px}.instagram-banner>a{margin-left:0;font-size:12px}footer{flex-wrap:wrap;gap:14px;padding:24px 6%}footer p{order:3;width:100%;margin:0}.modal{padding:40px 24px}.modal h2{font-size:27px}.modal-backdrop{padding:18px 12px}.article-content{font-size:14px}.upload-grid{grid-template-columns:1fr}.admin-status{padding:22px}.header .brand small{font-size:7px}.eyebrow{font-size:8px}.hero .eyebrow{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.access-panel{max-width:800px;margin:40px auto 20px;padding:30px 35px;border:1px solid #ccdcd1;background:#fff;border-radius:16px}.access-back{font-size:12px;color:var(--muted)}.access-title{display:flex;align-items:center;gap:17px;margin-top:25px}.access-title>svg{background:var(--mint);padding:12px;width:50px;height:50px;border-radius:10px}.access-title h1{font-size:28px;letter-spacing:-1px;margin:8px 0}.access-panel p{font-size:14px;color:var(--muted)}.access-panel form{max-width:450px}.access-panel label{display:block;font-size:13px;margin:18px 0}.access-panel input{width:100%;display:block;border:1px solid #b7c9bf;border-radius:6px;padding:13px;margin-top:7px}.access-panel small{font-size:11px;color:var(--muted)}.access-actions{display:flex;align-items:center;gap:18px;margin-top:22px;flex-wrap:wrap}.access-actions>button{display:flex;align-items:center;gap:7px;font-size:12px}.access-panel .auth-error{color:#a13931;background:#fceae7;padding:12px;border-radius:7px}@media(max-width:760px){.access-panel{margin:20px 5%;padding:25px 22px}.access-title h1{font-size:22px}}
.source-links{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.source-links a{display:flex;align-items:center;gap:9px;background:var(--navy);color:white;border-radius:7px;padding:12px 15px;font-size:12px}.source-links a:first-child{background:var(--mint);color:var(--navy)}.post-gallery{margin:30px 0}.post-gallery h3{font-size:20px}.post-gallery h3 span{font-family:'DM Sans',sans-serif;font-size:11px;font-weight:400;color:var(--muted);margin-left:10px}.post-gallery>p{font-size:12px;color:var(--muted)}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.gallery-grid button{padding:0;position:relative;border-radius:7px;overflow:hidden;line-height:0}.gallery-grid img{width:100%;height:auto;display:block}.gallery-grid span{position:absolute;right:6px;bottom:6px;padding:8px;background:#102a36e8;color:white;border-radius:4px;font-size:10px;line-height:1}.image-viewer{position:fixed;inset:0;z-index:40;background:#07151cef;color:white;display:flex;flex-direction:column}.viewer-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 24px;font-size:13px}.viewer-bar button{color:white}.viewer-content{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;gap:20px;padding:0 18px}.viewer-content img{max-width:calc(100% - 100px);max-height:100%;object-fit:contain}.viewer-content button{color:white;font-size:45px;padding:12px}.viewer-original{text-align:center;font-size:12px;padding:15px}.post-visual:has(img){background:#dce7e0}.post-visual img{object-fit:contain}.image-viewer button:focus-visible{outline:2px solid var(--mint)}@media(max-width:760px){.gallery-grid{grid-template-columns:repeat(2,1fr)}.viewer-content{gap:0;padding:0 3px}.viewer-content img{max-width:calc(100% - 65px)}.viewer-content button{padding:7px;font-size:32px}.source-links{flex-direction:column}.source-links a{justify-content:center}}

/* Submenú IA: escritorio, teclado y móvil */
.header nav .nav-dropdown{position:relative;display:flex;align-items:center;min-height:44px}
.header nav .nav-dropdown-trigger{display:flex;align-items:center;gap:7px;white-space:nowrap}
.header nav .nav-chevron{font-size:17px;line-height:1;opacity:.7;transition:transform .18s ease}
.header nav .nav-submenu{position:absolute;left:-13px;top:calc(100% - 3px);z-index:30;min-width:175px;padding:8px;display:flex;flex-direction:column;align-items:stretch;gap:1px;background:#fff;border:1px solid #dce3de;border-radius:10px;box-shadow:0 14px 30px #112a3622;opacity:0;visibility:hidden;transform:translateY(5px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease}
.header nav .nav-submenu button{font-size:12px;text-align:left;padding:12px 14px;border-radius:6px;width:100%;color:var(--navy)}
.header nav .nav-submenu button:hover,.header nav .nav-submenu button:focus-visible{background:#e7f6ef;opacity:1}
.header nav .nav-dropdown:hover .nav-submenu,.header nav .nav-dropdown:focus-within .nav-submenu{opacity:1;visibility:visible;transform:translateY(0)}
.header nav .nav-dropdown:hover .nav-chevron,.header nav .nav-dropdown:focus-within .nav-chevron{transform:rotate(180deg)}
@media(max-width:760px){.header nav .nav-dropdown{display:block;width:100%;min-height:0}.header nav .nav-dropdown-trigger{font-weight:700}.header nav .nav-submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-left:2px solid #9bddca;border-radius:0;margin:3px 0 8px 10px;padding:0 0 0 12px;min-width:0;background:transparent;transition:none}.header nav .nav-submenu button{font-size:13px;padding:9px 12px}.header nav .nav-chevron{display:none}}
/* Visualización oficial de los posts de Instagram que no tienen imágenes locales */
.instagram-embed-section{margin:26px 0 15px;max-width:560px}
.instagram-embed-section h3{font-size:19px;margin:0 0 8px}
.instagram-embed-section p{font-size:12px;color:var(--muted);margin:0 0 14px}
.instagram-embed-frame{display:block;width:100%;height:635px;max-height:75vh;min-height:400px;border:1px solid #dfe5df;border-radius:10px;background:#fff}
@media(max-width:760px){.instagram-embed-frame{height:560px;max-height:70vh}}

/* V15: lectura compacta y estructurada en la ventana de cada publicación. */
.article-content{white-space:normal;line-height:1.58;font-size:15px;margin:16px 0 22px;max-width:68ch}
.article-content p{margin:0 0 10px}
.article-content h3{font-family:'DM Sans',sans-serif;font-size:13px;font-weight:800;letter-spacing:.045em;line-height:1.35;margin:19px 0 8px;color:var(--navy)}
.article-content h3:first-child{margin-top:0}
.article-content ul,.article-content ol{margin:3px 0 13px;padding-left:24px}
.article-content li{padding-left:2px;margin:2px 0;line-height:1.48}
.article-content li::marker{color:#0d747d;font-weight:700}
.modal h2{margin-bottom:10px}
.modal p.intro{line-height:1.55;margin:8px 0 14px;padding-bottom:13px}
.source-links{margin:16px 0 22px}
.post-gallery{margin:23px 0}
@media(max-width:760px){.article-content{font-size:14px;line-height:1.55;margin-top:12px}.article-content h3{font-size:12px;margin-top:14px}}

/* V17: portada más compacta; organización visual de tarjetas */
@media (min-width:1061px){
  .hero{min-height:405px;padding:24px 4.5% 18px;gap:16px;align-items:center}
  .hero h1{font-size:clamp(57px,5.4vw,72px);line-height:1.05;margin:15px 0 14px;letter-spacing:-3px}
  .hero-copy>p{font-size:14px;line-height:1.57}
  .hero-actions{margin-top:22px}
  .hero-note{margin-top:18px}
  .hero-art{min-height:340px;transform:scale(.84);transform-origin:center center}
  .title-spark{font-size:45px;left:285px;top:50px}
}
@media (min-width:761px) and (max-width:1060px){
  .hero{min-height:390px;padding:22px 4% 18px;align-items:center;gap:6px}
  .hero h1{font-size:clamp(49px,6.1vw,62px);margin:12px 0;line-height:1.06}
  .hero-copy>p{font-size:13px;line-height:1.55}
  .hero-actions{margin-top:18px}
  .hero-note{margin-top:14px}
  .hero-art{min-height:330px;transform:scale(.79);transform-origin:center center}
  .title-spark{font-size:40px;left:265px;top:45px}
}
@media (max-width:760px){
  .hero{padding:24px 7% 12px;gap:0}
  .hero h1{font-size:clamp(43px,10.2vw,58px);line-height:1.06;margin:14px 0 13px}
  .hero-copy>p{line-height:1.55}
  .hero-actions{margin-top:19px}
  .hero-note{margin-top:16px}
  .hero-art{min-height:270px;transform:scale(.81);transform-origin:center top;margin:14px auto -16px}
  .title-spark{left:clamp(205px,57vw,260px);top:45px;font-size:35px}
}
.post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.post{display:flex;flex-direction:column}
.post-info{display:flex;flex-direction:column;flex:1}
.post-info .read{margin-top:auto}
@media (max-width:760px){.post-grid{grid-template-columns:1fr;gap:19px}}
@media (min-width:761px) and (max-width:900px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V21 · Identidad de TecnologíaInsti y portada algo más compacta. */
.brand-mark{width:54px;height:54px;flex:0 0 54px;background:transparent;border-radius:50%;color:inherit;overflow:visible;font-size:initial}
.brand-mark img{width:100%;height:100%;display:block;object-fit:contain}
@media (min-width:1061px){
 .hero{min-height:355px;padding:20px 4.5% 14px;gap:12px}
 .hero h1{font-size:clamp(52px,5vw,65px);margin:11px 0 11px;line-height:1.05}
 .hero-copy>p{font-size:13px;line-height:1.55}
 .hero-actions{margin-top:18px}
 .hero-note{margin-top:15px}
 .hero-art{min-height:313px;transform:scale(.76);transform-origin:center center}
 .title-spark{font-size:40px;left:260px;top:43px}
}
@media (min-width:761px) and (max-width:1060px){
 .hero{min-height:350px;padding:20px 4% 14px;gap:7px}
 .hero h1{font-size:clamp(47px,5.8vw,59px);margin:11px 0}
 .hero-copy>p{font-size:12px;line-height:1.5}
 .hero-actions{margin-top:16px}
 .hero-note{margin-top:12px}
 .hero-art{min-height:310px;transform:scale(.73);transform-origin:center center}
 .title-spark{font-size:36px;left:245px;top:40px}
}
@media (max-width:760px){
 .brand-mark{width:47px;height:47px;flex-basis:47px}
 .hero{padding:21px 7% 11px}
 .hero h1{font-size:clamp(40px,9.6vw,55px);margin:12px 0 11px}
 .hero-actions{margin-top:16px}
 .hero-note{margin-top:13px}
 .hero-art{min-height:248px;transform:scale(.75);transform-origin:center top;margin:10px auto -15px}
 .title-spark{font-size:31px;left:clamp(196px,54vw,250px);top:43px}
}

/* V23 · vídeo de lapbooks, reproducible en la propia ficha */
.post-video{display:block;width:100%;max-width:850px;height:auto;max-height:70vh;aspect-ratio:4/3;object-fit:contain;background:#071d29;border-radius:12px;margin:16px auto 20px;box-shadow:0 8px 25px #112a3620}
.post-video:focus-visible{outline:3px solid #31bcb7;outline-offset:4px}
@media(max-width:760px){.post-video{max-height:55vh;margin:12px auto 14px}}

/* V24 · Reproductor vertical para el proyecto del puente de folios */
.post-video[src*="DdcH1mGR8W4"]{display:block;width:min(100%,430px);aspect-ratio:9/16;max-height:70vh;object-fit:contain;margin:16px auto 20px}
@media(max-width:760px){.post-video[src*="DdcH1mGR8W4"]{width:min(100%,360px);max-height:65vh}}


/* V26 · Navegación de proyectos por curso y canal de YouTube */
.header nav{gap:17px}
.header nav .youtube-nav{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;background:#fff1eb;border:1px solid #f1c7b6;border-radius:8px;white-space:nowrap;color:#9a3027;font-size:12px;font-weight:800;transition:background .2s ease}
.header nav .youtube-nav:hover{background:#ffe2d6;opacity:1}
.header nav .youtube-nav svg{flex:none}
.project-subsections{display:flex;flex-wrap:wrap;gap:9px;align-items:center;background:#e9eee8;border:1px solid #d6e2d9;border-radius:12px;padding:15px 18px;margin:-7px 0 24px}
.project-subsections-title{font-size:10px;letter-spacing:.13em;font-weight:800;color:#4a675f;margin-right:7px}
.project-subsections button{padding:10px 16px;border-radius:8px;border:1px solid #c1d5cb;background:white;font-size:12px;font-weight:700;transition:background .2s ease}
.project-subsections button.active,.project-subsections button[aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}
.project-subsections button:not(.active):hover{background:#d6f0e5;opacity:1}
.social-banner{gap:20px;flex-wrap:wrap}
.social-banner>div:nth-child(2){min-width:260px;flex:1}
.social-banner>a{margin-left:0;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;border-bottom:1px solid #9bae9e;padding:8px 0;white-space:nowrap}
.social-banner>a:first-of-type{margin-left:auto}
.social-banner .youtube-banner-link{color:#9d3025;border-bottom-color:#c59886}
.social-banner .youtube-banner-link svg{flex:none}
footer .footer-youtube{font-size:11px;color:#a23d2c;font-weight:700;display:flex;gap:7px;align-items:center}
@media(max-width:1100px){.header nav{gap:10px}.header nav .youtube-nav{font-size:10px;padding:8px}.social-banner>div:nth-child(2){flex-basis:100%}.social-banner>a:first-of-type{margin-left:0}}
@media(max-width:760px){.header nav .youtube-nav{font-size:13px;padding:11px 13px;width:max-content;max-width:100%}.project-subsections{padding:13px;gap:7px}.project-subsections-title{width:100%}.project-subsections button{font-size:11px;padding:9px 11px}.social-banner{align-items:flex-start;gap:12px}.social-banner>div:nth-child(2){min-width:0;flex-basis:calc(100% - 100px)}.social-banner>a{font-size:12px;min-width:0;width:100%;padding:10px 0}.social-banner>a:first-of-type{margin-left:0}footer .footer-youtube{font-size:12px}}


/* V29 — Menú siempre visible y marca al final de la navegación (tras YouTube) */
.header{gap:17px}
.header-menu{position:relative;z-index:60;flex:0 0 auto}
.header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:13px 17px;min-height:46px;border:1px solid #efbd8c;border-radius:12px;background:#ffdbad;box-shadow:0 3px 0 #d99a72;color:#183041;font-family:'Manrope',sans-serif;font-size:13px;font-weight:800;white-space:nowrap;transition:background .15s ease,transform .15s ease}
.header .menu-toggle:hover,.header .menu-toggle[aria-expanded="true"]{background:#ffcc91;opacity:1}
.header .menu-toggle:active{transform:translateY(1px);box-shadow:0 2px 0 #d99a72}
.header .brand{order:3;flex:0 0 auto;gap:7px;font-size:18px;white-space:nowrap}
.header .brand .brand-mark{width:52px;height:52px;flex-basis:52px}
.header nav{order:2;flex:1;justify-content:flex-end;min-width:0;gap:14px}
.header-menu-panel{position:absolute;top:calc(100% + 12px);left:0;width:440px;max-width:calc(100vw - 24px);max-height:min(78vh,700px);overflow:auto;background:#fff;border:1px solid #d7dfd8;border-radius:16px;padding:19px;box-shadow:0 22px 50px #112a3640;color:var(--navy);font-size:13px}
.menu-panel-top{display:flex;flex-direction:column;gap:4px;padding:2px 3px 15px;border-bottom:1px solid #e2e9e3}
.menu-panel-top strong{font-size:17px;font-family:'Manrope',sans-serif}
.menu-panel-top span{font-size:11px;color:var(--muted)}
.menu-panel-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}
.menu-panel-quick button{font-weight:800;border-radius:9px;padding:11px;background:#e3f5ee;text-align:center;font-size:12px}
.menu-panel-quick button:first-child{background:var(--navy);color:#fff}
.menu-panel-groups{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.menu-panel-group{background:#f6f8f6;border:1px solid #e2e9e4;border-radius:10px;padding:10px}
.menu-panel-group h3{font-family:'Manrope',sans-serif;font-size:11px;letter-spacing:.02em;margin:2px 0 7px;line-height:1.3}
.menu-panel-group button{display:block;width:100%;font-size:11px;text-align:left;padding:8px 9px;margin:2px 0;border-radius:7px;line-height:1.4}
.menu-panel-group button:hover,.menu-panel-group button:focus-visible{background:#dff3eb;opacity:1}
.menu-panel-social{display:flex;align-items:center;gap:10px;justify-content:space-between;border-top:1px solid #e2e9e3;padding-top:13px;margin-top:14px;font-size:12px;font-weight:700}
.menu-panel-social a{background:#f3f7f4;border-radius:7px;padding:9px 12px;flex:1;text-align:center}
@media(max-width:1220px){.header{gap:13px;padding:0 3%}.header nav{gap:9px;font-size:11px}.header .brand>span:not(.brand-mark){display:none}.header .brand .brand-mark{width:48px;height:48px;flex-basis:48px}.header nav .insta-nav{padding-left:10px}.header nav .youtube-nav{padding:8px 9px}}
@media(max-width:920px){.header nav{gap:6px;font-size:10px}.header nav .insta-nav{font-size:0;gap:0;padding-left:8px}.header nav .insta-nav svg:last-child{display:none}.header nav .youtube-nav{font-size:0;gap:0;padding:11px}.header nav .youtube-nav svg:last-child{display:none}}
@media(max-width:760px){.header{height:83px;padding:0 6%;display:flex;justify-content:space-between;gap:10px}.header nav,.header nav.open{display:none}.header .brand{order:2}.header .brand .brand-mark{width:49px;height:49px;flex-basis:49px}.header-menu-panel{width:min(430px,88vw);max-height:calc(100dvh - 106px);top:calc(100% + 13px);padding:14px}.menu-panel-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.menu-panel-group{padding:8px}.menu-panel-group button{padding:8px 5px}.menu-panel-top strong{font-size:15px}}
@media(max-width:380px){.header-menu-panel{width:calc(100vw - 35px)}.menu-panel-groups{grid-template-columns:1fr}.header .menu-toggle{font-size:12px;padding:11px 13px}}


/* V30: Barra y megamenú inspirados en la navegación azul de RoboMisión LAB.
   Sólo apariencia y accesibilidad; se conservan rutas, filtros y publicaciones. */
:root { --menu-azul:#152749; --menu-azul-profundo:#102344; --menu-texto:#f8fbff; --menu-menta:#43dfc3; --menu-melocoton:#ffdcaf; --menu-tarjeta:#fff; --menu-opcion:#f2f6fb; }
html { scroll-padding-top:84px; }
header.header {
  position:sticky; top:0; z-index:65; box-sizing:border-box;
  width:100%; height:70px; max-width:none; margin:0;
  padding:0 max(26px,calc((100vw - 1210px)/2));
  display:flex; justify-content:flex-start; align-items:center; gap:16px;
  background:linear-gradient(100deg,#142548 0%,#152a4d 62%,#17354d 100%);
  color:var(--menu-texto); border-bottom:1px solid rgba(190,210,236,.28);
  box-shadow:0 3px 12px rgba(13,29,57,.09);
}
.header .header-menu { position:static; flex:0 0 auto; z-index:auto; }
.header .menu-toggle {
  display:inline-flex; align-items:center; justify-content:center; gap:11px;
  min-height:46px; padding:11px 18px; border:1px solid #f1c496;
  border-bottom:3px solid #d9a274; border-radius:12px;
  background:var(--menu-melocoton); color:#15294b;
  font-family:'Manrope',sans-serif; font-size:14px; font-weight:800;
  box-shadow:0 2px 0 rgba(0,0,0,.1); transition:background .18s ease,transform .18s ease;
}
.header .menu-toggle:hover,.header .menu-toggle[aria-expanded=true] { background:#ffe7c5; }
.header .menu-toggle:focus-visible { outline-color:var(--menu-menta); }
.header nav { order:2; display:flex; flex:1; min-width:0; align-items:center; justify-content:flex-start; gap:5px; font-size:12px; color:#eef6ff; font-weight:800; }
.header nav>button,.header nav>.nav-dropdown>.nav-dropdown-trigger {
  min-height:43px; padding:10px 13px; display:inline-flex; align-items:center;
  justify-content:center; border-radius:9px; font-size:12px; font-weight:800;
  color:#f3f7ff; line-height:1.2; white-space:nowrap;
}
.header nav>button:hover,.header nav>.nav-dropdown>.nav-dropdown-trigger:hover,
.header nav>.nav-dropdown:focus-within>.nav-dropdown-trigger { background:#273f67; color:#fff; }
.header nav .nav-home { background:var(--menu-menta); color:#102849; border-radius:10px; }
.header nav .nav-home:hover { background:#78f2dc; color:#102849; }
.header nav .nav-dropdown { min-height:43px; }
.header nav .nav-chevron { color:#acecdd; opacity:.9; font-size:17px; }
.header nav .nav-submenu { top:calc(100% + 3px); border-radius:12px; border-color:#cddce9; box-shadow:0 18px 38px #0a213e55; }
.header nav .nav-submenu button { font-weight:700; }
.header nav .insta-nav { margin-left:auto; color:#eff8ff; border-left:1px solid #52647a; padding:8px 12px; border-radius:9px; font-size:12px; white-space:nowrap; }
.header nav .insta-nav:hover { background:#243c5b; }
.header nav .youtube-nav {
  display:inline-flex; align-items:center; gap:7px; margin-left:3px;
  padding:10px 12px; background:#fff8f3; border:1px solid #ecc9b9; border-radius:10px;
  color:#a63331; font-family:'Manrope',sans-serif; font-weight:800; font-size:12px;
  white-space:nowrap;
}
.header nav .youtube-nav:hover { background:#ffe4d4; }
.header .brand { order:3; margin-left:4px; flex:0 0 auto; color:#faffff; gap:8px; font-family:'Manrope',sans-serif; font-size:17px; letter-spacing:-.7px; }
.header .brand .brand-mark { width:48px; height:48px; flex:0 0 48px; border:1.5px solid #56dac8; border-radius:14px; background:#173451; padding:3px; overflow:hidden; }
.header .brand .brand-mark img { width:100%; height:100%; object-fit:contain; }
.header .brand small { color:#acd6d5; font-size:7px; letter-spacing:1.3px; }
.header .brand-light { color:#c2e9e8; font-weight:700; }

/* Megamenú de cuatro tarjetas, con la misma jerarquía visual que la referencia. */
.header .header-menu-panel {
  position:fixed; top:70px; left:0; right:0; width:100%; max-width:none; max-height:calc(100dvh - 70px);
  overflow:auto; margin:0; z-index:65;
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:14px; row-gap:16px;
  padding:29px max(24px,calc((100vw - 1300px)/2)) 25px;
  border:0; border-top:1px solid #405875; border-bottom:1px solid #405875;
  border-radius:0; background:var(--menu-azul); color:#17314f;
  box-shadow:0 24px 50px rgba(10,21,42,.34);
}
.menu-panel-top { grid-column:1/-1; flex-direction:row; flex-wrap:wrap; align-items:baseline; gap:14px; border:0; padding:0 0 6px; color:white; }
.menu-panel-top strong { color:#fff; font-size:24px; font-weight:800; letter-spacing:-.6px; }
.menu-panel-top span { color:#cbdcf1; font-size:12px; }
.header .menu-panel-quick,
.header .menu-panel-group {
  display:flex; flex-direction:column; gap:4px; min-width:0; margin:0;
  padding:23px 15px 18px; border-radius:16px; border:1px solid #d5e2ec;
  background:var(--menu-tarjeta); box-shadow:0 5px 0 rgba(10,27,52,.07);
}
.header .menu-panel-quick { grid-column:auto; align-self:stretch; }
.menu-panel-quick::before,.menu-panel-group::before { display:block; font-size:9px; line-height:1.2; font-weight:900; letter-spacing:.14em; color:#008b8b; font-family:'Manrope',sans-serif; }
.menu-panel-quick::before { content:'01 · PRIMEROS PASOS'; }
.menu-panel-group:nth-child(1)::before { content:'02 · INTELIGENCIA ARTIFICIAL'; }
.menu-panel-group:nth-child(2)::before { content:'03 · APRENDER HACIENDO'; }
.menu-panel-group:nth-child(3)::before { content:'04 · RECURSOS'; }
.header .menu-panel-quick h3,.header .menu-panel-group h3 { font-family:'Manrope',sans-serif; font-size:17px; font-weight:900; margin:5px 0 10px; letter-spacing:-.5px; line-height:1.25; color:#142b4c; }
.menu-panel-groups { display:contents; }
.header .menu-panel-quick button,.header .menu-panel-group button {
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  width:100%; min-height:58px; padding:11px 12px; margin:0;
  text-align:left; font-family:'Manrope',sans-serif; font-weight:800; font-size:12px;
  color:#15304e; line-height:1.3; border:1px solid transparent; border-radius:11px;
  background:var(--menu-opcion); transition:background .13s ease,border-color .13s ease,transform .13s ease;
}
.header .menu-panel-quick button:hover,.header .menu-panel-group button:hover { background:#d9f6eb; border-color:#8ce7cf; transform:translateY(-1px); }
.header .menu-panel-quick button:first-of-type { background:#d4f4e9; border-color:#42d6bc; }
.header .menu-panel-quick button::after,.header .menu-panel-group button::after { display:block; margin-top:4px; font-size:10px; font-family:'DM Sans',sans-serif; line-height:1.35; color:#596f86; font-weight:600; }
.header .menu-panel-quick button:nth-of-type(1)::after { content:'Portada de TecnologíaInsti'; }
.header .menu-panel-quick button:nth-of-type(2)::after { content:'Todas las ideas publicadas'; }
.header .menu-panel-group:nth-child(1) button:nth-of-type(1)::after { content:'Ideas y experiencias con IA'; }
.header .menu-panel-group:nth-child(1) button:nth-of-type(2)::after { content:'Ejemplos listos para adaptar'; }
.header .menu-panel-group:nth-child(1) button:nth-of-type(3)::after { content:'Recursos visuales y didácticos'; }
.header .menu-panel-group:nth-child(2) button:nth-of-type(1)::after { content:'Todos los proyectos del aula'; }
.header .menu-panel-group:nth-child(2) button:nth-of-type(n+2)::after { content:'Actividades y proyectos por curso'; }
.header .menu-panel-group:nth-child(3) button:nth-of-type(1)::after { content:'Herramientas para docentes'; }
.header .menu-panel-group:nth-child(3) button:nth-of-type(2)::after { content:'Evaluación y seguimiento'; }
.header .menu-panel-group:nth-child(3) button:nth-of-type(3)::after { content:'Utilidades del entorno Séneca'; }
.menu-panel-social { grid-column:1/-1; justify-content:flex-end; border:0; margin:0; padding:0; gap:10px; }
.header .menu-panel-social a { flex:0 0 auto; background:#233d61; border:1px solid #56708b; border-radius:9px; padding:11px 16px; color:#f8fdff; font-weight:800; }
.header .menu-panel-social a:hover { background:#30547e; }

@media(max-width:1270px) {
 header.header { padding:0 3%; gap:10px; }
 .header nav { gap:1px; }
 .header nav>button,.header nav>.nav-dropdown>.nav-dropdown-trigger { font-size:11px; padding:8px 9px; }
 .header .brand>span:not(.brand-mark) { display:none; }
 .header .header-menu-panel { padding-inline:3%; }
}
@media(max-width:1010px){
 .header nav .insta-nav { font-size:0; padding:9px 10px; border:0; }
 .header nav .insta-nav svg:last-child { display:none; }
 .header nav .youtube-nav { font-size:0; padding:10px 12px; }
 .header nav .youtube-nav svg:last-child { display:none; }
 .header .header-menu-panel { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .menu-panel-top,.menu-panel-social { grid-column:1/-1; }
}
@media(max-width:760px){
 header.header { position:sticky; height:66px; padding:0 5%; justify-content:space-between; gap:8px; }
 .header nav,.header nav.open { display:none; }
 .header .brand { order:2; margin-left:auto; }
 .header .brand .brand-mark { width:45px; height:45px; flex-basis:45px; }
 .header .menu-toggle { min-height:41px; padding:8px 13px; font-size:13px; }
 .header .header-menu-panel { top:66px; max-height:calc(100dvh - 66px); grid-template-columns:repeat(2,minmax(0,1fr)); padding:22px 4% 24px; gap:11px; }
 .menu-panel-top { gap:5px; flex-direction:column; padding-bottom:2px; }
 .menu-panel-top strong { font-size:21px; }
 .menu-panel-top span { font-size:11px; }
 .header .menu-panel-quick,.header .menu-panel-group { padding:15px 10px 12px; border-radius:13px; }
 .header .menu-panel-quick h3,.header .menu-panel-group h3 { font-size:14px; margin:5px 0 8px; }
 .menu-panel-quick::before,.menu-panel-group::before { letter-spacing:.08em; font-size:8px; }
 .header .menu-panel-quick button,.header .menu-panel-group button { min-height:46px; font-size:11px; padding:9px 8px; }
 .header .menu-panel-quick button::after,.header .menu-panel-group button::after { font-size:9px; }
 .header .menu-panel-social a { font-size:11px; }
}
@media(max-width:420px){
 .header .header-menu-panel { grid-template-columns:1fr; }
 .menu-panel-top { grid-column:1; }
 .header .menu-panel-quick,.header .menu-panel-group { padding:15px; }
 .header .menu-panel-quick h3,.header .menu-panel-group h3 { font-size:16px; }
 .menu-panel-social { grid-column:1; }
}
@media(prefers-reduced-motion:reduce){.header .menu-panel-quick button,.header .menu-panel-group button{transition:none;transform:none}}


/* V31 · Menú de tres columnas, sin primeros pasos ni rótulos de numeración. */
:root {
  --navy:#152749;           /* Mismo azul noche en cabecera, portada y botones */
  --mint:#43dfc3;           /* Mismo turquesa de la navegación */
  --peach:#ffdcaf;          /* Mismo melocotón del botón Menú */
  --paper:#f4f7f9;          /* Fondo claro neutro y uniforme */
  --muted:#617287;
  --menu-azul:#152749;
  --menu-azul-profundo:#152749;
  --menu-menta:#43dfc3;
  --menu-melocoton:#ffdcaf;
  --menu-opcion:#f0f5fa;
}
header.header { background:var(--navy); }
.hero { background:var(--navy); }
.header .header-menu-panel {
  background:var(--navy);
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.header .menu-panel-group { padding:23px 20px 22px; }
.header .menu-panel-group h3 { margin:0 0 13px; font-size:19px; }
/* Remove the extra tiny phrases above each card, leaving just its actual title. */
.menu-panel-group::before,.menu-panel-quick::before { display:none !important; content:none !important; }
/* Only three real cards are retained in the panel. */
.menu-panel-groups { display:contents; }
.menu-panel-top,.menu-panel-social { grid-column:1 / -1; }
/* Consistent brand palette across the rest of the site, not just the menu. */
body { background:var(--paper); color:var(--navy); }
.area,.post { background:#fff; border-color:#dbe5ec; }
.area .area-top>svg,.area.peach .area-top>svg,.area.blue .area-top>svg { background:#dbf8f1; }
.post-visual,.post-visual.peach,.post-visual.blue { background:#ddf4ef; }
.post-visual:has(img) { background:#e6f1f6; }
.post-meta button { background:#e1f5ee; color:var(--navy); }
.instagram-banner,.social-banner { background:#e5f3f0; }
.project-subsections { background:#eaf1f7; border-color:#d8e3ed; }
.project-subsections button { border-color:#ccdce7; }
.project-subsections button.active,.project-subsections button[aria-pressed=true] { background:var(--navy); }
.category-links button { background:#eef4f8; }
.filters button,.search { border-color:#d8e3ed; }
.posts-section { border-top-color:#dbe5ec; }
.modal { background:var(--paper); }
.source-links a:first-child,.primary { background:var(--mint); color:var(--navy); }
footer { background:var(--navy); color:#f5fbff; border:0; max-width:none;
         padding:27px max(5%,calc((100vw - 1220px)/2)); }
footer p,footer>a:last-child,footer .footer-youtube { color:#d7e7f3; }
footer a:hover { color:var(--mint); }
@media(max-width:1010px){
  .header .header-menu-panel{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:760px){
  .header .header-menu-panel{grid-template-columns:1fr; gap:10px;}
  .header .menu-panel-group{padding:16px;}
  .header .menu-panel-group h3{font-size:16px; margin:0 0 8px;}
  .header .menu-panel-group button{min-height:45px;}
  footer{padding:24px 6%;}
}

/* V34 · Herramientas docentes en la barra superior: desplegable como IA y Proyectos. */
.header nav .nav-dropdown-tools .nav-submenu{min-width:210px}
.header nav .nav-dropdown-tools .nav-submenu button{white-space:nowrap}
@media(max-width:760px){.header nav .nav-dropdown-tools .nav-submenu{min-width:0}.header nav .nav-dropdown-tools .nav-submenu button{white-space:normal}}


/* V42 · Navegación estable: elimina la zona sin interacción entre el botón
   y las opciones desplegadas. El solapamiento evita cierres por zoom/subpíxeles. */
@media (min-width:761px) {
  .header nav .nav-dropdown .nav-submenu {
    top:calc(100% - 2px);
  }
}

/* V45 · Menú configurable desde /admin/, sin puentes invisibles entre botón y desplegable */
.header nav .nav-dynamic .nav-submenu {top:calc(100% - 3px);min-width:185px;max-width:min(310px,90vw);}
.header nav .nav-dynamic .nav-submenu button {white-space:normal;line-height:1.45;}
.area-grid {grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));}
.area .category-links button {text-align:left;}
@media(max-width:1280px){.header nav .nav-dynamic .nav-dropdown-trigger{font-size:11px;padding-inline:8px}}

/* V45: cualquier número de apartados sin textos descriptivos heredados en tarjetas */
.header .header-menu-panel{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));}
.header .menu-panel-group button::after{display:none!important;content:none!important;}
@media(max-width:1010px){.header .header-menu-panel{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.header .header-menu-panel{grid-template-columns:1fr;}}

/* V51 · Navegación anidada hasta tercer nivel, ratón, teclado y tacto. */
.ti-branch{position:relative;display:flex;align-items:center;min-width:190px;gap:0}
.ti-branch>.ti-branch-link,.ti-branch>.ti-leaf{flex:1;min-width:0}
.ti-branch-toggle{flex:0 0 34px;min-height:36px;border:0;background:transparent;color:#17656b;font-size:19px;cursor:pointer;border-radius:7px}
.ti-branch-toggle:hover,.ti-branch-toggle:focus-visible{background:#d9f7ee}
.ti-submenu{display:none;position:absolute;top:-7px;left:calc(100% - 2px);min-width:214px;max-width:min(295px,90vw);padding:7px;border:1px solid #d8e5ee;border-radius:12px;background:white;box-shadow:0 14px 32px #092e4b38;z-index:101;flex-direction:column;gap:3px}
.ti-branch:hover>.ti-submenu,.ti-branch:focus-within>.ti-submenu,.ti-branch.ti-expanded>.ti-submenu{display:flex}
.ti-submenu .ti-leaf,.ti-submenu .ti-branch-link{display:block;width:100%;text-align:left;padding:11px;border-radius:8px;background:transparent;border:0;color:#153351;font-weight:530;font-size:12.5px;white-space:normal;line-height:1.35;text-decoration:none;cursor:pointer}
.ti-submenu .ti-leaf:hover,.ti-submenu .ti-branch-link:hover{background:#d9f7ee}
.ti-panel-branch{padding-left:0;min-width:0}
.ti-panel-branch>summary{cursor:pointer;padding:10px 13px;font-size:13px;color:#153351;font-weight:650;background:#eaf8f6;border-radius:8px;list-style:revert}
.ti-panel-nested{padding-left:13px;border-left:2px solid #a1e6d9;margin:6px 0 8px 9px;display:flex;flex-direction:column;gap:5px}
.ti-panel-branch .ti-panel-all{font-size:12px;background:#f5f9fd;margin:5px 0}
.ti-panel-leaf{margin:2px 0;font-weight:500}
@media(max-width:1190px){.ti-submenu{left:auto;right:calc(100% - 2px)}}

/* Tarjetas del botón «Menú»: jerarquía visible, sin texto decorativo dependiente del orden. */
.header .menu-panel-group .ti-panel-nested button{font-weight:520;min-height:37px;padding:9px 11px}
.header .menu-panel-group .ti-panel-branch{margin:5px 0}
.header .menu-panel-group .ti-panel-branch summary{font-family:inherit}
.header nav .nav-submenu .ti-branch{display:flex}
.header nav .nav-submenu .ti-branch .ti-submenu button{white-space:normal}

/* V51: Tablón de novedades de toda TecnologíaInsti */
.posts-section .news-subtitle{max-width:580px;color:#52647b;font-size:14px;line-height:1.55;margin:9px 0 0}
.post.news-video .post-visual{position:relative;overflow:hidden;background:#0d2342}
.post.news-video .post-visual img{object-fit:cover;aspect-ratio:16/9}
.news-play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:62px;height:42px;border-radius:15px;background:#f45f61;color:white;display:grid;place-items:center;box-shadow:0 6px 24px #00172f75;font-size:22px;line-height:1;pointer-events:none}
.news-kind{font-size:10px;color:#008c86;font-weight:800;letter-spacing:.09em;margin:3px 0 7px}
.news-embed{position:relative;width:100%;aspect-ratio:16/9;background:#102445;border-radius:12px;overflow:hidden;margin:18px 0}
.news-embed iframe{display:block;border:0;width:100%;height:100%}
.posts-section .filters{flex-wrap:wrap}
@media(max-width:600px){.news-play-icon{width:54px;height:37px;border-radius:11px}.posts-section .news-subtitle{font-size:13px}}
/* Los diálogos deben cubrir también la cabecera fija: cerrar pulsando fuera. */
.modal-backdrop{z-index:1200}
.image-viewer{z-index:1300}

.news-stats{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.news-stats span{font-size:11px;letter-spacing:.01em;color:#264665;border:1px solid #c8d9e5;border-radius:50px;padding:6px 10px;background:#f9fcff;font-weight:650}

/* V52 · Texto enriquecido y enlaces seguros dentro de las publicaciones. */
.article-content a{color:#057e8f;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.article-content a:hover{color:#114f72}
.article-content strong{font-weight:800}
.article-content em{font-style:italic}
.article-content h2{font-family:'DM Sans',sans-serif;font-size:18px;font-weight:800;margin:22px 0 10px}
.article-content u{text-decoration:underline;text-decoration-color:#08a898;text-underline-offset:3px}

/* V53 · Menú progresivo: segundo y tercer nivel cerrados inicialmente. */
.ti-panel-branch:not([open]) > :not(summary){display:none!important}
.ti-panel-branch > summary{user-select:none;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px}
.ti-panel-branch > summary::-webkit-details-marker{display:none}
.ti-panel-branch > summary::after{content:"⌄";font-weight:700;font-size:15px;color:#13766e;transition:transform .16s ease}
.ti-panel-branch[open] > summary::after{transform:rotate(180deg)}
.ti-panel-branch > summary:hover,.ti-panel-branch > summary:focus-visible{background:#d8f7ee;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.ti-panel-branch > summary::after{transition:none}}

/* V54 · Portada editable y filtro temático integrado. */
.hero-art.hero-photo{background-size:cover;background-position:center;background-repeat:no-repeat;overflow:hidden}
.hero-art.hero-photo>*{display:none!important}
.tag-filter{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px;font-weight:650;color:#173b52}
.tag-filter select{border:1px solid #bfd6d8;border-radius:9px;padding:9px 11px;background:white;color:#15385a;max-width:190px}
@media(max-width:650px){.tag-filter{width:100%}.tag-filter select{flex:1;max-width:100%}}

/* V55: el símbolo sigue al titular editable sin superponerse a palabras largas. */
.hero h1 .title-spark{position:relative;left:auto;top:auto;display:inline-block;vertical-align:super;font-size:.42em;line-height:1;margin-left:.10em}
