#pm-home [data-pmi-pubs]>article[hidden],#pm-home .pmi-vacio[hidden]{display:none!important}
#pm-home [data-pmi-pubs] .iv-pub h3,#pm-home [data-pmi-docs] .iv-doc h3,#pm-home .id-doc__in b,#pm-home .id-pub h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
@media (max-width:1024px){#pm-home [data-pmi-pubs] .iv-pub h3,#pm-home .id-pub h3{-webkit-line-clamp:4}}
#pm-home [data-pmi-docs] .iv-doc__c{max-width:100%}
#pm-home [data-pmi-docs] .iv-doc__c p,#pm-home .id-doc__in small{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pm-home .iv-pub.pmi-vacio{justify-content:center;text-align:center}
#pm-home .iv-pub.pmi-vacio .iv-pub__t{align-items:center}
#pm-home .iv-doc.pmi-vacio .iv-doc__ty b{opacity:.6}
#pm-home .id-pub.pmi-vacio{align-items:center;justify-content:center;text-align:center}
#pm-home .id-pub.pmi-vacio .id-pub__t{align-items:center}

/* Selector de año */
#pm-home .pmi-pop{position:fixed;z-index:9999;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:16px;background:#23365f;box-shadow:0 16px 40px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.16);max-height:min(60vh,340px);overflow:auto;font-family:"Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif}
#pm-home .pmi-pop[hidden]{display:none}
#pm-home .pmi-pop__o{display:block;width:100%;text-align:left;padding:10px 14px;border-radius:10px;color:#fff;font-weight:600;font-size:15px;line-height:21px;white-space:nowrap;background:none;border:0;cursor:pointer}
#pm-home .pmi-pop__o:hover{background:rgba(255,255,255,.1)}
#pm-home .pmi-pop__o[aria-selected="true"]{background:var(--gold,#ecba33);color:#23365f}
#pm-home .pmi-pop__o:focus-visible{outline:none;box-shadow:0 0 0 3px #23365f,0 0 0 6px var(--gold,#ecba33)}

/* Todas las publicaciones */
#pm-home .pmi-modal{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(12,20,38,.76)}
#pm-home .pmi-modal[hidden]{display:none}
#pm-home .pmi-modal__box{position:relative;width:min(1200px,100%);max-height:calc(100vh - 48px);overflow:auto;overscroll-behavior:contain;padding:40px 40px 32px;border-radius:24px;color:#fff;background:linear-gradient(180deg,#23365f 0%,#1c2d4e 100%);box-shadow:0 24px 60px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.14)}
#pm-home .pmi-modal__h{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0 56px 28px;text-align:center}
#pm-home .pmi-modal__s{font-family:"Source Serif 4",Georgia,serif;font-size:16px;line-height:1.5;color:rgba(255,255,255,.75)}
#pm-home .pmi-modal__x{position:absolute;top:20px;right:20px;width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);cursor:pointer;transition:background-color .2s}
#pm-home .pmi-modal__x:hover{background:rgba(255,255,255,.22)}
#pm-home .pmi-modal__x .pm-i{width:22px;height:22px}
#pm-home .pmi-modal__l{display:flex;flex-direction:column;gap:16px}
@media (max-width:743px){
  #pm-home .pmi-modal{padding:0}
  #pm-home .pmi-modal__box{height:100%;max-height:100vh;border-radius:0;padding:76px 20px 24px}
  #pm-home .pmi-modal__h{margin:0 0 20px}
  #pm-home .pmi-modal__l{gap:12px}
  #pm-home .pmi-modal__x{top:16px;right:16px;width:44px;height:44px}
}
