/* Portal Híades: navegación y adaptación sin cambiar el contenido. */
html{width:100%!important;min-width:0!important;max-width:100%!important}
body.hiades-responsive{box-sizing:border-box;width:100%!important;margin:0;min-width:0;overflow-wrap:break-word}
.hiades-responsive *{box-sizing:border-box}
.hiades-responsive img{max-width:100%;height:auto}
.hiades-responsive iframe,.hiades-responsive object,.hiades-responsive embed,.hiades-responsive video{max-width:100%}
.hiades-menu-comun{clear:both;position:relative;display:block;width:100%;background:#762e3e;border-top:3px solid #a56d78;padding:0 16px;font-family:Arial,sans-serif;z-index:10}
.hiades-menu-comun ul{display:flex;flex-wrap:wrap;gap:0 22px;list-style:none;max-width:1160px;margin:0 auto;padding:0}
.hiades-menu-comun li{display:block;float:none;padding:0;margin:0;border:0}
.hiades-menu-comun a{display:flex;align-items:center;min-height:34.5px;padding:5.25px 0;color:#fff!important;text-decoration:none;font-size:16px;line-height:1.4;background:none!important}
.hiades-menu-comun a:hover,.hiades-menu-comun a[aria-current]{color:#ffdfaa!important;text-decoration:underline;text-underline-offset:5px}
.hiades-responsive a:focus-visible{outline:3px solid #c68b16;outline-offset:3px}
.hiades-responsive .hiades-menu-comun a:focus-visible{outline-color:#ffe0a0}
/* Portada: las tres columnas dejan de depender de anchuras y desplazamientos fijos. */
.hiades-inicio .main,.hiades-inicio .header,.hiades-inicio .header_resize,.hiades-inicio .fbg,.hiades-inicio .fbg_resize,.hiades-inicio .footer,.hiades-inicio .footer_resize{float:none!important;position:relative!important;left:auto!important;top:auto!important;width:100%!important;max-width:1200px!important;margin-left:auto!important;margin-right:auto!important;height:auto!important;min-width:0!important}
.hiades-inicio .header_resize{padding:18px 16px!important;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.hiades-inicio .logo,.hiades-inicio .logo2{float:none!important;position:static!important;left:auto!important;top:auto!important;width:auto!important;height:auto!important;max-width:100%;padding:0!important;margin:0!important}
.hiades-inicio .portalhiades{font-size:clamp(22px,4vw,36px)!important;line-height:1.25!important}
.hiades-inicio .portalhiades small{font-size:clamp(15px,2vw,19px)!important}
.hiades-inicio .header_resize>.borde{width:100%;height:auto;flex-basis:100%}
.hiades-inicio .hiades-portada-columnas{display:grid;grid-template-columns:minmax(170px,210px) minmax(0,1fr) minmax(170px,210px);gap:22px;max-width:1200px;margin:20px auto;padding:0 16px;align-items:start}
.hiades-inicio .mainbar,.hiades-inicio .sidebar,.hiades-inicio .sidebar_right{position:static!important;float:none!important;inset:auto!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;height:auto!important}
.hiades-inicio .article,.hiades-inicio .gadget,.hiades-inicio .gadget_2,.hiades-inicio .gadget_3,.hiades-inicio .gadget_4,.hiades-inicio .post_content{width:auto!important;max-width:100%;height:auto!important;min-width:0!important;float:none!important;margin-left:0!important;margin-right:0!important}
.hiades-inicio .article{display:flow-root;padding:14px 0!important}
.hiades-inicio .mainbar .img{float:left!important;width:auto!important;max-width:38%;height:auto!important;margin:0 16px 12px 0!important}
.hiades-inicio .mainbar .img img{display:block}
.hiades-inicio .gadget_4 img{max-width:100%;max-height:350px;object-fit:contain;width:auto}
.hiades-inicio .fbg_resize{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:22px 16px!important}
.hiades-inicio .fbg_resize>.clr{display:none}
.hiades-inicio .fbg .col{float:none!important;width:auto!important;padding:0!important}
.hiades-inicio .epigrafes,.hiades-inicio .titulos{line-height:1.3!important;max-width:100%}
.hiades-inicio #apDiv25{position:static!important;width:auto!important;height:auto!important}
/* Documentos interiores: flujo de lectura, sin paneles colocados con coordenadas. */
.hiades-interior{font-size:16px!important;line-height:1.6!important}
.hiades-interior .hiades-documento{width:calc(100% - 32px);max-width:1100px;margin:20px auto;display:flow-root;min-height:0}
.hiades-interior .hiades-documento div,.hiades-interior .hiades-documento section,.hiades-interior .hiades-documento main{position:static!important;inset:auto!important;float:none!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:0!important;transform:none!important}
.hiades-interior .hiades-documento [id^="apDiv"]{margin:14px 0!important;padding:0!important}
.hiades-interior .hiades-documento .hiades-separador-antiguo{display:none!important}
.hiades-interior .hiades-documento #wrap,.hiades-interior .hiades-documento #wrapper,.hiades-interior .hiades-documento #main,.hiades-interior .hiades-documento #content{width:100%!important;max-width:100%;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
.hiades-interior .hiades-documento table{max-width:100%!important;width:100%!important;height:auto!important;table-layout:auto}
.hiades-interior .hiades-documento td,.hiades-interior .hiades-documento th{height:auto!important;overflow-wrap:anywhere;vertical-align:top;max-width:100%}
.hiades-interior .hiades-documento p,.hiades-interior .hiades-documento li,.hiades-interior .hiades-documento td{font-size:16px!important;line-height:1.6!important}
.hiades-interior .hiades-documento p{max-width:100%}
.hiades-interior .hiades-documento img{object-fit:contain;max-width:100%!important;height:auto!important}
.hiades-interior .hiades-documento h1,.hiades-interior .hiades-documento h2{line-height:1.3!important;height:auto!important;overflow-wrap:break-word}
@media(max-width:1000px){.hiades-inicio .hiades-portada-columnas{grid-template-columns:minmax(165px,210px) minmax(0,1fr)}.hiades-inicio .sidebar_right{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(max-width:700px){.hiades-inicio .hiades-portada-columnas{display:flex;flex-direction:column}.hiades-inicio .mainbar{order:0;width:100%!important}.hiades-inicio .sidebar{order:1;width:100%!important}.hiades-inicio .sidebar_right{order:2;display:block;width:100%!important}.hiades-inicio .fbg_resize{grid-template-columns:1fr}.hiades-inicio .mainbar .img{max-width:35%}.hiades-inicio .article p,.hiades-interior .hiades-documento p{text-align:start!important}.hiades-menu-comun ul{gap:0 18px}.hiades-menu-comun a{font-size:15px}.hiades-interior .hiades-documento table,.hiades-interior .hiades-documento tbody,.hiades-interior .hiades-documento tr,.hiades-interior .hiades-documento td,.hiades-interior .hiades-documento th{display:block!important;width:100%!important;max-width:100%!important}.hiades-interior .hiades-documento td:empty,.hiades-interior .hiades-documento th:empty{display:none!important}.hiades-interior .hiades-documento #menu,.hiades-interior .hiades-documento #nbar ul{display:flex;flex-wrap:wrap;height:auto!important;padding:0;gap:12px}.hiades-interior .hiades-documento #menu a,.hiades-interior .hiades-documento #nbar a{height:auto!important;min-height:44px;display:block}.hiades-inicio .epigrafes{font-size:22px!important}}

/* Etiquetas del menú un 20 % menores. */
.hiades-menu-comun a{font-size:12.8px!important}
@media(max-width:700px){.hiades-menu-comun a{font-size:12px!important}}
/* Franjas celestes: centrado horizontal y vertical y altura flexible. */
.hiades-inicio .infopost{display:flex!important;flex-wrap:wrap;align-items:center!important;justify-content:center!important;text-align:center!important;height:auto!important;min-height:34px;padding:7px 12px!important;text-indent:0!important;line-height:1.4!important;gap:3px 6px}
.hiades-inicio .infopost .date{float:none!important;position:static!important;margin:0!important;padding:0!important;text-align:center!important}

.hiades-inicio .header_resize>img.hiades-hospital-compacto{width:80%!important;max-width:80%!important;flex-basis:auto!important;height:auto!important;margin:0 auto!important}
