/* ENTRETENIMIENTO TOLIMA · Ajustes responsive finales v14 */
/* Botón principal del dashboard: texto siempre legible. */
.dash-primary-action,.dash-primary-action:link,.dash-primary-action:visited{color:#fff!important;text-decoration:none!important;font-weight:600!important}
.dash-primary-action:hover,.dash-primary-action:focus{color:#fff!important}

@media(max-width:900px){
  .admin-top{padding-inline:12px!important}
  .admin-user{min-width:0}
  .admin-top-actions{gap:7px!important}
  .portal-link{white-space:nowrap}
  .admin-content{width:100%!important;max-width:100%!important;margin:0 auto!important;padding:15px 12px 28px!important}
  .dash-head{align-items:center!important;text-align:center!important}
  .dash-head>div{width:100%}
  .dash-primary-action{justify-self:center!important;align-self:center!important}
}

@media(max-width:640px){
  body.admin-body{overflow-x:hidden}
  .admin-top{min-height:58px!important}
  .admin-user strong{font-size:.74rem!important}
  .admin-user small{font-size:.55rem!important}
  .portal-link{font-size:.68rem!important;padding-inline:7px!important}
  .admin-notification-button{width:38px!important;height:38px!important}
  .admin-content{padding:12px 10px 24px!important}
  .admin-content>*,.et-dashboard{width:100%;max-width:100%;margin-left:auto;margin-right:auto}
  .dash-head{display:grid!important;gap:12px!important;justify-items:center!important}
  .dash-head h1{font-size:1.8rem!important}
  .dash-head p{font-size:.76rem!important}
  .dash-primary-action{width:min(100%,260px)!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .dash-metric{text-align:center!important;min-width:0!important}
  .dash-main-grid,.dash-lower-grid{grid-template-columns:1fr!important}
  .dash-card{min-width:0!important}
  .dash-card-head{align-items:center!important;text-align:center!important}
  .dash-card-head>div{min-width:0}
  .dash-quick-grid{grid-template-columns:1fr!important}
  .dash-quick-link{text-align:left!important}
  .dash-recent-row{grid-template-columns:1fr!important;text-align:center!important;justify-items:center!important}
  .dash-recent-meta{justify-content:center!important}
}

@media(max-width:390px){.dash-metrics{grid-template-columns:1fr!important}}

/* Portal público: composición móvil centrada y sin cortes. */
@media(max-width:760px){
  .et212-ribbon-inner,.et212-header-inner{width:calc(100% - 24px)!important;margin-inline:auto!important}
  .et212-ribbon-inner{justify-content:center!important;text-align:center!important}
  .et212-social-block{padding-left:0!important;align-items:center!important}
  .et212-ribbon-copy{display:none!important}
  .et212-header-inner{grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;gap:14px!important;padding:16px 0!important}
  .et212-meta{justify-content:center!important;flex-wrap:wrap!important}
  .et212-brand{justify-self:center!important;max-width:100%!important}
  .et212-actions{justify-content:center!important;flex-wrap:wrap!important;width:100%!important}
  .et212-btn{min-width:0!important;flex:0 1 auto!important}
  .et212-nav-inner{padding-left:8px!important;padding-right:8px!important}
  .et-site-main{overflow:hidden}
  .home-shell,.news-shell,.category-shell,.article-shell,.authors-shell,.quote-shell{width:calc(100% - 24px)!important;margin-inline:auto!important}
  .et-footer-grid{text-align:center!important;justify-items:center!important}
}

@media(max-width:480px){
  .et212-brand-word{font-size:clamp(1.65rem,10vw,2.25rem)!important}
  .et212-brand-region{font-size:clamp(1.05rem,6vw,1.45rem)!important}
  .et212-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .et212-btn{width:100%!important;padding-inline:10px!important;font-size:.7rem!important}
}
