
/* PE1 · Design system — preserve the supplied wood image ASPECT RATIO */
:root{--pe-paper:#f5f0e5;--pe-ink:#292c25;--pe-moss:#36483a;--pe-line:#ded5c4;--pe-accent:#a66d38}
#teTopMenu{position:fixed!important;top:0!important;left:50%!important;transform:translateX(-50%)!important;width:min(98vw,1700px)!important;height:auto!important;z-index:30000!important;overflow:visible!important}
#teTopMenu .te-top-wood{position:relative!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:2038/320!important;padding:0!important;background:none!important;display:flex!important;align-items:flex-start!important;box-shadow:none!important}
#teTopMenu .te-top-wood::before{content:""!important;position:absolute!important;inset:0!important;background:url('./tabla_menu_original.png') center top/contain no-repeat!important;opacity:1!important;pointer-events:none!important;box-shadow:none!important}
#teTopMenu .te-top-brand{position:relative!important;flex:0 0 17%!important;margin:1.1% 0 0 2%!important;max-width:17%!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:center!important;height:42%!important}
#teTopMenu .te-top-brand img{display:block!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
#teTopMenu .te-top-links{position:relative!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:0!important;flex:1!important;margin:1% 2.4% 0 .8%!important;padding:0!important;height:52%!important;min-width:0!important;z-index:3!important;overflow:visible!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{position:relative!important;flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:2px 1px!important;height:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:1px!important;background:none!important;border:0!important;color:#f5e7cf!important;font-size:clamp(7px,.67vw,12px)!important;line-height:1.12!important;text-align:center!important;white-space:normal!important;text-shadow:0 1px 2px #25170d!important}
#teTopMenu .te-top-links>.te-nav-settings>button{display:flex!important;flex-direction:column!important;align-items:center!important;gap:1px!important;color:inherit!important;font-size:inherit!important;background:none!important;border:0!important;width:100%!important;padding:2px 0!important;min-height:0!important;line-height:1.12!important}
#teTopMenu .te-nav-icon{display:block!important;height:clamp(18px,2.6vw,39px)!important;width:clamp(18px,2.6vw,39px)!important;flex:none!important}
#teTopMenu .te-icon-wood{width:100%!important;height:100%!important;object-fit:contain!important}
#teTopMenu .te-pe-home{flex:0 0 7.5%!important;margin-right:1.2%!important;border-right:1px solid #c49d77!important}
#teTopMenu .te-pe-house{font-size:clamp(22px,3vw,44px)!important;line-height:.95!important;color:#e5bd80!important}
#teTopMenu .te-pe-settings{flex:0 0 12%!important;margin-left:1.5%!important;border-left:1px solid #c49d77!important}
#teTopMenu .te-top-home{display:none!important}
#teTopMenu .te-pe-clock{position:absolute;top:66%;left:50%;transform:translateX(-50%);width:25%;text-align:center;color:#f7e7cc;font-size:clamp(8px,.9vw,15px);font-weight:700;letter-spacing:.04em;white-space:nowrap;text-shadow:0 1px 2px #332215;z-index:4;pointer-events:none}
#teTopMenu .te-nav-submenu{position:absolute!important;top:95%!important;left:0!important;min-width:205px!important;z-index:31000!important;white-space:nowrap!important;background:rgba(17,21,17,.94)!important;color:white!important;border-radius:8px!important;padding:9px!important}
#teTopMenu .te-nav-submenu[hidden]{display:none!important}
#teTopMenu .te-nav-submenu button,#teTopMenu .te-nav-submenu a{color:#f6f0e7!important;display:block!important;padding:8px 10px!important;text-align:left!important;width:100%!important;box-sizing:border-box!important}
.te-pe-volume{display:block;padding:8px 10px;color:white;font-size:12px}.te-pe-volume input{width:100%}
.te-pe-sponsor{position:absolute;left:50%;bottom:clamp(80px,11vh,140px);transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;z-index:2;pointer-events:none}.te-pe-sponsor span{font-size:10px;letter-spacing:.15em;color:#f6efe5;text-shadow:0 2px 5px #000}.te-pe-sponsor img{width:clamp(64px,6vw,95px);height:auto;border-radius:7px}
.te-version-badge{position:fixed!important;left:8px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%) rotate(180deg)!important;writing-mode:vertical-rl!important;z-index:200!important;font-size:10px!important;white-space:nowrap!important}
.te-pe-editorial{position:fixed;inset:0;z-index:20000;display:flex;justify-content:center;align-items:stretch;pointer-events:none;padding-top:clamp(90px,12vw,185px);box-sizing:border-box}.te-pe-editorial[hidden]{display:none!important}
.te-pe-paper{width:min(1050px,82vw);height:100%;overflow-y:auto;overscroll-behavior:contain;pointer-events:auto;background:var(--pe-paper);color:var(--pe-ink);box-shadow:0 0 24px rgba(0,0,0,.28);border:1px solid rgba(100,75,44,.22)}
.te-pe-content{padding:clamp(24px,4vw,56px);font-family:Georgia,serif;font-size:15px;line-height:1.65}.te-pe-content h1{font-size:clamp(25px,2.6vw,37px);line-height:1.15;margin:0 0 18px;font-weight:600}.te-pe-content h2{font-size:20px;line-height:1.3}.te-pe-kicker{font:700 11px Arial,sans-serif;letter-spacing:.16em;color:var(--pe-accent);text-transform:uppercase}.te-pe-lead{font-size:16px;color:#5a594f}.te-pe-grid{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:28px}.te-pe-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:17px;padding:17px 0;border-bottom:1px solid var(--pe-line);cursor:pointer}.te-pe-card img{width:160px;height:115px;object-fit:cover}.te-pe-card h2{margin:4px 0 5px}.te-pe-card p{margin:0;color:#68665c;font-size:13px}.te-pe-card small{font:11px Arial,sans-serif;color:#847e70}.te-pe-sidebar{border-left:1px solid var(--pe-line);padding-left:22px}.te-pe-module{background:#eae4d7;padding:16px;margin:0 0 16px}.te-pe-module h3{font-size:15px;margin:0 0 10px}.te-pe-ad{border:1px dashed #b5a994;padding:28px 12px;text-align:center;color:#887b68;font:12px Arial,sans-serif}.te-pe-hero{width:100%;height:auto;max-height:440px;object-fit:cover;margin:16px 0}.te-pe-meta{color:#777;font:12px Arial,sans-serif}.te-pe-back{background:none;border:0;padding:0 0 20px;color:var(--pe-moss);cursor:pointer;font:700 13px Arial,sans-serif}.te-pe-pager{display:flex;gap:10px;margin-top:22px}.te-pe-pager button{padding:8px 15px;border:1px solid #a69c89;background:transparent;cursor:pointer}.te-pe-content img{max-width:100%;height:auto}.te-pe-content iframe{max-width:100%}
body.te-pe-reading .islands,body.te-pe-reading #teWelcomeWidgets,body.te-pe-reading #teCommuneOverlay,body.te-pe-reading #tourPanel,body.te-pe-reading #detailPanel,body.te-pe-reading #teAndrea,body.te-pe-reading #teMusicToggle,body.te-pe-reading #teReturn,body.te-pe-reading #welcome{visibility:hidden!important;pointer-events:none!important}body.te-pe-reading #map{pointer-events:none!important}
@media(max-width:900px){#teTopMenu{width:99vw!important}#teTopMenu .te-top-brand{flex-basis:13%!important}#teTopMenu .te-top-links{margin-right:1.4%!important}#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{font-size:7px!important}.te-pe-paper{width:95vw}.te-pe-grid{grid-template-columns:1fr}.te-pe-sidebar{display:none}}
@media(max-width:600px){#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{font-size:5px!important}#teTopMenu .te-nav-icon{width:14px!important;height:14px!important}#teTopMenu .te-pe-house{font-size:18px!important}.te-pe-editorial{padding-top:72px}.te-pe-content{padding:18px}.te-pe-card{grid-template-columns:95px 1fr}.te-pe-card img{width:95px;height:85px}}

/* PE1.3 — ajustes aprobados: madera al 80%, papel desde borde superior */
#teTopMenu{width:min(78.4vw,1360px)!important}
#teTopMenu .te-top-links{justify-content:center!important;gap:0!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{font-size:clamp(7px,.58vw,10px)!important}
#teTopMenu .te-nav-icon{width:clamp(18px,2vw,30px)!important;height:clamp(18px,2vw,30px)!important}
#teTopMenu .te-pe-house{font-size:clamp(20px,2.3vw,34px)!important}
#teTopMenu .te-pe-clock{font-family:Tahoma,Arial,sans-serif!important;font-size:clamp(8px,.75vw,12px)!important;width:34%!important;top:67%!important}
#teTopMenu .te-nav-submenu{background:rgba(13,17,15,.73)!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);border:1px solid rgba(245,235,213,.15)!important;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.te-pe-editorial{padding-top:0!important}
.te-pe-paper{background:#f7f0e6 url('./papel-artesanal.jpg') repeat!important;background-size:512px 512px!important;border:0!important;box-shadow:0 6px 25px rgba(0,0,0,.32)!important}
.te-pe-content{padding-top:clamp(170px,13.5vw,220px)!important;font-family:Tahoma,Arial,sans-serif!important;font-size:13px!important;line-height:1.55!important}
.te-pe-content h1,.te-pe-content h2,.te-pe-content h3{font-family:Museo,'Museo Sans',Tahoma,sans-serif!important}
.te-pe-content h1{font-size:clamp(24px,2.5vw,36px)!important}
.te-pe-content h2{font-size:clamp(16px,1.35vw,20px)!important;line-height:1.2!important}
.te-pe-lead{font-size:13px!important}
.te-pe-grid{grid-template-columns:minmax(0,1fr) 205px!important;gap:20px!important}
.te-pe-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-content:start}
.te-pe-card{display:block!important;padding:0 0 13px!important;min-width:0!important}
.te-pe-card img{display:block;width:100%!important;height:110px!important;object-fit:cover;margin-bottom:8px}
.te-pe-card h2{margin:5px 0!important}
.te-pe-card p{font-family:Tahoma,Arial,sans-serif!important;font-size:12px!important;line-height:1.42!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.te-pe-card small,.te-pe-meta,.te-pe-kicker{font-family:Tahoma,Arial,sans-serif!important}
.te-pe-module{background:rgba(232,220,202,.6)!important}
.te-version-badge{position:fixed!important;top:auto!important;left:12px!important;bottom:27px!important;transform:none!important;writing-mode:horizontal-tb!important;z-index:200!important;font-size:10px!important}
.te-pe-sponsor img{width:clamp(105px,10vw,145px)!important}
body.te-pe-reading #tePeEditorial{z-index:20000!important}
@media(max-width:900px){#teTopMenu{width:96vw!important}.te-pe-grid{grid-template-columns:minmax(0,1fr) 160px!important}.te-pe-content{padding-top:135px!important}.te-pe-cards{gap:12px}}
@media(max-width:600px){.te-pe-grid{grid-template-columns:1fr!important}.te-pe-cards{grid-template-columns:1fr 1fr!important}.te-pe-content{padding-top:95px!important}.te-pe-card img{height:90px!important}}

/* PE1.4: portada del mapa visible detrás del pop de bienvenida */
body.te-andrea-stage .te-widgets,body.te-andrea-stage .te-commune-overlay,body.te-andrea-stage .islands{visibility:visible!important}
/* Madera: conservar proporciones de la imagen original, compactar íconos. */
#teTopMenu{width:min(73vw,1260px)!important}
#teTopMenu .te-top-wood{overflow:visible!important}
#teTopMenu .te-top-links{margin-left:.2%!important;margin-right:2.2%!important;gap:0!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{flex:1 1 0!important;min-width:0!important;max-width:unset!important;transform:none!important;align-self:flex-start!important}
#teTopMenu .te-top-links>.te-nav-settings>button{transform:none!important;margin:0!important}
#teTopMenu .te-pe-settings{flex:0 0 12%!important;margin-left:.6%!important}
#teTopMenu .te-pe-home{flex:0 0 7.5%!important;margin-right:.6%!important}
#teTopMenu .te-nav-submenu{background:rgba(13,17,15,.75)!important;padding:10px 9px!important;min-width:215px!important;max-width:260px!important;box-sizing:border-box!important}
#teTopMenu .te-nav-submenu a,#teTopMenu .te-nav-submenu button{display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;gap:12px!important;font-family:Tahoma,Arial,sans-serif!important;font-size:12px!important;line-height:1.4!important;padding:9px 11px!important}
#teTopMenu .te-pe-settings .te-nav-submenu{left:auto!important;right:0!important}
#teTopMenu .te-pe-volume{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:9px 11px!important;text-align:left!important;font-family:Tahoma,Arial,sans-serif!important}
#teTopMenu .te-pe-volume input{display:block!important;max-width:100%!important;width:100%!important;margin:0!important;box-sizing:border-box!important;accent-color:#d9a66e!important}
.te-pe-sponsor{bottom:clamp(30px,6vh,75px)!important;pointer-events:auto!important}
.te-pe-sponsor a{display:block!important;cursor:pointer!important;pointer-events:auto!important}
.te-version-badge{position:fixed!important;left:12px!important;bottom:29px!important;top:auto!important;transform:none!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;white-space:nowrap!important;z-index:210!important;font-family:Tahoma,Arial,sans-serif!important;font-size:10px!important}
body.te-pe-reading .te-version-badge{visibility:visible!important}
@media(max-width:900px){#teTopMenu{width:96vw!important}}

/* PE1.5 — navegación compacta y perfectamente alineada */
#teTopMenu .te-top-brand{flex-basis:19%!important;max-width:19%!important;margin-left:1.2%!important}
#teTopMenu .te-top-brand img{width:100%!important;max-width:100%!important}
#teTopMenu .te-top-links{margin-left:0!important;margin-right:2%!important;align-items:flex-start!important;justify-content:flex-start!important;gap:0!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{flex:1 1 0!important;align-self:flex-start!important;margin-top:0!important;padding-top:0!important;height:49%!important;box-sizing:border-box!important}
#teTopMenu .te-top-links>.te-nav-settings>button{height:auto!important;padding-top:0!important;justify-content:flex-start!important}
#teTopMenu .te-pe-settings{flex:1.2 1 0!important;margin-left:0!important}
#teTopMenu .te-nav-media{flex:1 1 0!important}
#teTopMenu .te-nav-icon{margin:0 auto!important}
#teTopMenu .te-nav-submenu a,#teTopMenu .te-nav-submenu button{text-align:left!important;justify-content:flex-start!important}
#teTopMenu .te-pe-volume input{cursor:pointer!important;pointer-events:auto!important}

/* PE1.6: reactivar portada visual sin tocar madera aprobada */
body.te-active:not(.te-pe-reading):not(.te-exploring) #teWelcomeWidgets{display:block!important;visibility:visible!important;pointer-events:auto!important}
body.te-active:not(.te-pe-reading):not(.te-exploring) #teCommuneOverlay:not(.is-hidden){display:grid!important;visibility:visible!important;pointer-events:auto!important}
body.te-active:not(.te-pe-reading):not(.te-exploring) #welcome:not(.is-hidden){display:none!important}
body.te-active.te-pe-reading #teWelcomeWidgets,body.te-active.te-pe-reading #teCommuneOverlay{display:none!important}
/* Fichas turísticas: evitar choque con cabecera; papel artesanal y scroll interior */
body.te-active #detailPanel:not([hidden]){top:clamp(145px,14vw,210px)!important;bottom:clamp(20px,4vh,48px)!important;height:auto!important;max-height:none!important;overflow-y:auto!important;background:#f4eee2 url('./papel-artesanal.jpg') repeat!important;color:#292c25!important;box-shadow:0 14px 40px #0006!important;z-index:450!important}
body.te-active #detailPanel:not([hidden]) #detailContent{font-family:Tahoma,Arial,sans-serif!important;font-size:13px!important;line-height:1.55!important}
body.te-active #detailPanel:not([hidden]) h1,body.te-active #detailPanel:not([hidden]) h2,body.te-active #detailPanel:not([hidden]) h3{font-family:Museo,Tahoma,Arial,sans-serif!important}
#teTopMenu .te-pe-settings .te-nav-submenu,#teTopMenu .te-pe-settings .te-nav-submenu *{text-align:left!important}
@media(max-width:700px){body.te-active #detailPanel:not([hidden]){top:110px!important;bottom:15px!important;left:5vw!important;right:5vw!important;width:90vw!important}}

/* PE1.7 — tabla entregada por el usuario: proporción y sombra nativas, sin estirar. */
#teTopMenu .te-top-wood::before{background-image:url('./tabla_menu_2.png')!important;background-position:center top!important;background-size:contain!important}
#teTopMenu .te-top-brand{margin-top:2.2%!important;flex-basis:20%!important;max-width:20%!important}
#teTopMenu .te-top-brand img{max-height:100%!important}
#teTopMenu .te-top-links{margin-top:2.2%!important;margin-left:0!important;margin-right:3%!important;height:44%!important;justify-content:flex-start!important;align-items:flex-start!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{height:100%!important;padding-top:0!important;align-self:flex-start!important}
#teTopMenu .te-top-links>.te-nav-settings>button{padding-top:0!important;align-items:center!important}
#teTopMenu .te-nav-icon{width:clamp(17px,1.85vw,29px)!important;height:clamp(17px,1.85vw,29px)!important}
#teTopMenu .te-pe-clock{top:66%!important}
/* Ningún módulo del inicio debe anticiparse al aterrizaje. */
body.te-flight-in-progress #teWelcomeWidgets,body.te-flight-in-progress #teCommuneOverlay,body.te-flight-in-progress #welcome,body.te-flight-in-progress .islands,body.te-flight-in-progress #teAndrea{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
/* Andrea sobre el inicio; el fondo queda ligeramente difuminado solo durante la bienvenida. */
body.te-andrea-stage #teWelcomeWidgets,body.te-andrea-stage #teCommuneOverlay,body.te-andrea-stage #map{filter:blur(2px)!important;transition:filter .45s ease!important}
body.te-andrea-stage #teAndrea:not([hidden]){z-index:28000!important;visibility:visible!important;opacity:1!important}
body.te-andrea-stage #teShade{z-index:27000!important;background:rgba(8,12,17,.13)!important;backdrop-filter:blur(2px)!important}
body:not(.te-andrea-stage) #teWelcomeWidgets,body:not(.te-andrea-stage) #teCommuneOverlay{filter:none!important}
/* La ventana de Andrea debe tener prioridad sobre la navegación del mapa, pero no sobre el menú superior. */
#teTopMenu{z-index:30000!important}

/* PE1.8 — módulos debajo de la madera; conservar la nueva tabla. */
body.te-active #teWelcomeWidgets .te-widget.te-calendar,
body.te-active #teWelcomeWidgets .te-widget.te-news{}
/* La fila de comunas se alinea por JS con el calendario desplazado. */
#teTopMenu .te-top-brand{margin-top:1.2%!important;align-self:flex-start!important;height:51%!important}
#teTopMenu .te-top-brand img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important}
#teTopMenu .te-top-links{margin-right:5.2%!important;gap:0!important}
#teTopMenu .te-pe-clock{top:60.5%!important}
/* Desenfoque visual muy tenue durante Andrea, con madera e interfaz también suavizadas. */
body.te-andrea-stage #map,body.te-andrea-stage #teWelcomeWidgets,
body.te-andrea-stage #teCommuneOverlay,body.te-andrea-stage #teTopMenu,
body.te-andrea-stage .islands{filter:blur(1px)!important;transition:filter .4s ease!important}
body.te-andrea-stage #teShade{backdrop-filter:none!important;background:rgba(7,12,20,.035)!important}
body:not(.te-andrea-stage) #teTopMenu,body:not(.te-andrea-stage) .islands{filter:none!important}
body.te-flight-in-progress #teWelcomeWidgets,body.te-flight-in-progress #teCommuneOverlay,
body.te-flight-in-progress .islands{display:none!important}
@media(max-width:900px){}

/* PE2.0 — ajustes de alineación sin tocar la trayectoria PE1.9 */
#teTopMenu .te-top-brand{margin-top:.45%!important;height:58%!important;align-items:flex-start!important}
#teTopMenu .te-top-brand img{object-position:center top!important}
#teTopMenu .te-top-links{margin-left:-1.3%!important;margin-right:7.3%!important;gap:0!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{flex:0 0 10.65%!important}
#teTopMenu .te-top-links>.te-pe-settings{flex:0 0 12.4%!important}
#teTopMenu .te-top-links>.te-nav-media{flex:0 0 10.65%!important}
/* Las tarjetas deben ser interactivas una vez finalizado el vuelo. */
body.te-active:not(.te-flight-in-progress):not(.te-pe-reading):not(.te-exploring) #teCommuneOverlay:not(.is-hidden){visibility:visible!important;opacity:1!important;pointer-events:auto!important}
#teCommuneOverlay .te-test-commune-card{transition:filter .16s ease,transform .16s ease,box-shadow .16s ease!important}
#teCommuneOverlay .te-test-commune-card:hover,#teCommuneOverlay .te-test-commune-card:focus-visible{filter:brightness(1.22)!important;transform:translateY(-3px)!important;box-shadow:0 0 13px rgba(255,205,125,.6)!important}

/* PE2.1: ajuste fino de madera, marca y fecha. Sin alterar vuelo ni Andrea. */
#teTopMenu .te-top-brand{margin-top:-.35%!important;height:58%!important;flex-basis:20%!important;max-width:20%!important;z-index:4!important}
#teTopMenu .te-top-brand img{object-position:center top!important;transform:translateY(-2px)!important}
#teTopMenu .te-top-links{margin-left:-1.8%!important;margin-right:8.2%!important;justify-content:flex-start!important;gap:0!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{flex:0 0 10.1%!important}
#teTopMenu .te-top-links>.te-pe-settings{flex:0 0 11.6%!important}
#teTopMenu .te-top-links>.te-nav-media{flex:0 0 10.1%!important}
#teTopMenu .te-pe-clock{top:56.5%!important}
/* Los clics estaban bloqueados por pointer-events:none en el contenedor. */
#teCommuneOverlay:not(.is-hidden){pointer-events:auto!important}
#teCommuneOverlay .te-test-commune-card{pointer-events:auto!important;cursor:pointer!important}
body.te-pe-reading #teCommuneOverlay,body.te-exploring #teCommuneOverlay,body.te-flight-in-progress #teCommuneOverlay{pointer-events:none!important}
/* Museo requiere archivo de fuente real; se reserva su nombre, sin simular carga. */
.te-pe-content h1,.te-pe-content h2,.te-pe-content h3{font-family:'Museo',Tahoma,Arial,sans-serif!important}
.te-pe-content,.te-pe-content p,.te-pe-content small{font-family:Tahoma,Arial,sans-serif!important}

/* PE2.2 — Ajustes solicitados de alineación y tipografía; reloj sin cambios. */
@font-face{font-family:'Museo';src:url('./fonts/museo300-regular-webfont.woff2') format('woff2'),url('./fonts/museo300-regular-webfont.woff') format('woff');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Museo';src:url('./fonts/museo500-regular-webfont.woff2') format('woff2'),url('./fonts/museo500-regular-webfont.woff') format('woff');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Museo';src:url('./fonts/museo700-regular-webfont.woff2') format('woff2'),url('./fonts/museo700-regular-webfont.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
/* Desplazar marca y conjunto de navegación a la derecha, sin alterar la tabla. */
@media(min-width:901px){
#teTopMenu .te-top-brand{margin-left:3.3%!important;flex-basis:20%!important;max-width:20%!important}
#teTopMenu .te-top-links{margin-left:-.9%!important;margin-right:4.3%!important}
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{flex:0 0 10.1%!important}
#teTopMenu .te-top-links>.te-pe-settings{flex:0 0 11.6%!important}
#teTopMenu .te-top-links>.te-nav-media{flex:0 0 10.1%!important}
}
/* Submenús anclados al extremo derecho de su icono y contenidos alineados a la derecha. */
#teTopMenu .te-nav-media .te-nav-submenu,#teTopMenu .te-pe-settings .te-nav-submenu,#teTopMenu .te-nav-settings .te-nav-submenu{left:auto!important;right:0!important;text-align:right!important}
#teTopMenu .te-nav-submenu a,#teTopMenu .te-nav-submenu button{justify-content:flex-end!important;text-align:right!important;flex-direction:row!important}
#teTopMenu .te-nav-submenu .te-pe-volume{align-items:stretch!important;text-align:right!important}
/* Noticias: imágenes de listado más altas, manteniendo dos columnas y barra lateral. */
.te-pe-card img{height:185px!important;object-fit:cover!important}
.te-pe-card{align-items:start!important}
.te-pe-content h1,.te-pe-content h2,.te-pe-content h3,.te-pe-module h3{font-family:'Museo',Tahoma,Arial,sans-serif!important;font-weight:700!important}
.te-pe-content,.te-pe-content p,.te-pe-content small,.te-pe-card small{font-family:Tahoma,Arial,sans-serif!important}
@media(max-width:600px){.te-pe-card img{height:125px!important}}

/* PE2.3 — Marca más a la derecha, legible sobre la madera; portada Museo/Tahoma. */
@media(min-width:901px){
 #teTopMenu .te-top-brand{margin-left:4.6%!important;flex-basis:20%!important;max-width:20%!important}
 #teTopMenu .te-top-links{margin-left:-1.5%!important;margin-right:3.8%!important}
}
/* Oscurecer exclusivamente el sector del logotipo, sin alterar el dibujo de la tabla. */
#teTopMenu .te-top-brand::before{content:"";position:absolute;z-index:-1;inset:0 -3% 4%;border-radius:45%;background:radial-gradient(ellipse at center,rgba(16,9,5,.57) 0%,rgba(16,9,5,.36) 45%,transparent 76%);pointer-events:none}
#teTopMenu .te-top-brand img{position:relative!important;z-index:1!important;filter:drop-shadow(0 1px 2px rgba(0,0,0,.85))!important}
/* Tipografía editorial consistente también en el inicio (calendario, comunas y noticias). */
#teWelcomeWidgets h1,#teWelcomeWidgets h2,#teWelcomeWidgets h3,
#teWelcomeWidgets .te-widget-title,#teWelcomeWidgets strong,
#teCommuneOverlay .te-test-commune-card strong,
#teCommuneOverlay .te-test-commune-card .te-commune-name{
 font-family:'Museo',Tahoma,Arial,sans-serif!important;font-weight:700!important;
}
#teWelcomeWidgets,#teWelcomeWidgets p,#teWelcomeWidgets button,
#teWelcomeWidgets .te-news-tag,#teWelcomeWidgets .te-news-content,
#teCommuneOverlay,#teCommuneOverlay .te-test-commune-card{
 font-family:Tahoma,Arial,sans-serif!important;
}

/* PE2.4 — ajustes visuales solicitados; sin tocar vuelo, mapa, Andrea ni noticias. */
@media(min-width:901px){
 #teTopMenu .te-top-brand{margin-left:5.5%!important}
 #teTopMenu .te-top-links{margin-left:-.8%!important;margin-right:2.3%!important;gap:0!important;justify-content:flex-start!important}
 #teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings{flex:0 0 9.75%!important}
 #teTopMenu .te-top-links>.te-nav-media{flex:0 0 9.75%!important}
 #teTopMenu .te-top-links>.te-pe-settings{flex:0 0 11.2%!important}
}
/* Separar ligeramente el rótulo del pictograma, sin desplazar la fila. */
#teTopMenu .te-top-links>button,#teTopMenu .te-top-links>.te-nav-settings>button{gap:5px!important}
#teTopMenu .te-top-links .te-nav-icon{margin-bottom:2px!important}
/* Oscurecimiento localizado con halo envolvente, sin crear placa rectangular. */
#teTopMenu .te-top-brand::before{inset:-10% -6% -2%!important;background:radial-gradient(ellipse at 48% 46%,rgba(11,6,3,.82) 0%,rgba(16,8,3,.68) 40%,rgba(16,8,3,.22) 68%,transparent 83%)!important}
#teTopMenu .te-top-brand img{filter:drop-shadow(0 1px 2px rgba(0,0,0,.95)) drop-shadow(0 0 4px rgba(0,0,0,.75))!important}
/* El panel puede seguir anclado a la derecha; sus opciones se leen de izquierda a derecha. */
#teTopMenu .te-nav-submenu,#teTopMenu .te-nav-settings .te-nav-submenu{left:auto!important;right:0!important;text-align:left!important}
#teTopMenu .te-nav-submenu a,#teTopMenu .te-nav-submenu button{justify-content:flex-start!important;text-align:left!important;flex-direction:row!important}
#teTopMenu .te-nav-submenu .te-pe-volume,#teTopMenu .te-pe-settings .te-nav-submenu *{text-align:left!important}
/* Resaltar claramente las comunas al pasar el puntero y al enfocar con teclado. */
#teCommuneOverlay .te-test-commune-card{cursor:pointer!important;pointer-events:auto!important;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease,border-color .18s ease!important}
#teCommuneOverlay .te-test-commune-card:hover,#teCommuneOverlay .te-test-commune-card:focus-visible{filter:brightness(1.34) saturate(1.15)!important;transform:translateY(-5px) scale(1.025)!important;box-shadow:0 0 0 2px rgba(255,215,150,.85),0 0 24px rgba(255,181,85,.85),0 14px 28px rgba(0,0,0,.4)!important;border-color:#ffe2a8!important;outline:none!important}
