/* Historial editorial público: Comunidad, Sociedad, Deportes y Cultura. */
.news-history {
  --nh-navy:#071d36;
  --nh-blue:#075f9f;
  --nh-sky:#4db9ff;
  --nh-ink:#102942;
  --nh-muted:#64778a;
  --nh-line:#d4e0ea;
  width:100%;
  margin-top:clamp(42px,6vw,72px);
  color:var(--nh-ink);
}
.news-history,.news-history *{box-sizing:border-box}
.news-history__disclosure{
  overflow:clip;
  border:1px solid #c7d7e5;
  border-radius:24px;
  background:#fff;
  box-shadow:0 24px 68px rgba(5,31,58,.12);
}
.news-history__summary{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto auto;
  align-items:center;
  gap:20px;
  min-height:124px;
  padding:25px 30px;
  overflow:hidden;
  list-style:none;
  background:radial-gradient(circle at 88% -15%,rgba(74,183,255,.34),transparent 35%),radial-gradient(circle at 8% 135%,rgba(15,114,181,.38),transparent 40%),linear-gradient(124deg,#06172d 0%,#092f55 55%,#07598e 100%);
  color:#fff;
  cursor:pointer;
  user-select:none;
}
.news-history__summary::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  opacity:0;
  background:linear-gradient(100deg,rgba(255,255,255,.09),transparent 42%);
  transition:opacity .22s ease;
}
.news-history__summary::after{
  content:"";
  position:absolute;
  right:28px;
  bottom:0;
  left:28px;
  height:1px;
  opacity:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);
}
.news-history__summary:hover::before,.news-history__disclosure[open] .news-history__summary::after{opacity:1}
.news-history__summary::-webkit-details-marker{display:none}
.news-history__summary::marker{content:""}
.news-history__summary-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:17px;
  background:rgba(255,255,255,.09);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
  color:#91d8ff;
}
.news-history__summary-icon svg{width:27px;height:27px}
.news-history__summary-copy{display:grid;min-width:0;gap:3px}
.news-history__summary-copy small{
  color:#8fd8ff;
  font-size:.63rem;
  font-weight:900;
  letter-spacing:.17em;
}
.news-history__summary-copy strong{
  color:#fff;
  font:800 clamp(26px,3vw,38px)/1.08 var(--serif,Georgia,serif);
  letter-spacing:-.035em;
}
.news-history__summary-copy em{
  overflow:hidden;
  color:#c4d9e9;
  font-size:.78rem;
  font-style:normal;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.news-history__summary-count{
  display:grid;
  min-width:118px;
  padding:4px 22px;
  border-inline:1px solid rgba(255,255,255,.19);
  text-align:center;
}
.news-history__summary-count b{color:#fff;font:800 27px/1 var(--serif,Georgia,serif)}
.news-history__summary-count small{margin-top:5px;color:#bfd3e3;font-size:.6rem;line-height:1.25}
.news-history__summary-action{display:flex;align-items:center;gap:11px;white-space:nowrap}
.news-history__summary-action b{
  color:#fff;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.news-history__summary-action i{
  position:relative;
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:50%;
  background:rgba(255,255,255,.06);
  transition:transform .25s ease,background .2s ease;
}
.news-history__summary-action i::before,.news-history__summary-action i::after{
  content:"";
  position:absolute;
  top:15px;
  left:10px;
  width:12px;
  border-top:2px solid #fff;
}
.news-history__summary-action i::after{transform:rotate(90deg);transition:opacity .2s ease}
.news-history__summary:hover .news-history__summary-action i{background:rgba(255,255,255,.14)}
.news-history__disclosure[open] .news-history__summary-action i{transform:rotate(180deg)}
.news-history__disclosure[open] .news-history__summary-action i::after{opacity:0}
.news-history__panel{
  padding:clamp(20px,3vw,32px);
  border-top:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,#f2f7fb 0,#fff 210px);
  animation:news-history-panel-in .24s ease both;
}
.news-history__panel-header{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:20px;
}
.news-history__panel-header>div{min-width:0}
.news-history__panel-header span{color:#0769b5;font-size:.62rem;font-weight:900;letter-spacing:.15em}
.news-history__panel-header h3{
  margin:4px 0 0;
  color:var(--nh-ink);
  font:800 clamp(23px,3vw,33px)/1.1 var(--serif,Georgia,serif);
  letter-spacing:-.025em;
}
.news-history__panel-header p{max-width:480px;margin:0;color:var(--nh-muted);font-size:.79rem;line-height:1.55}
.news-history__filters{
  display:grid;
  grid-template-columns:minmax(250px,1fr) 125px 150px auto auto;
  align-items:end;
  gap:11px;
  margin:0 0 18px;
  padding:17px;
  border:1px solid var(--nh-line);
  border-radius:15px;
  background:rgba(255,255,255,.95);
  box-shadow:0 9px 25px rgba(7,40,71,.05);
}
.news-history__filters label{display:grid;min-width:0;gap:6px;color:#344d64;font-size:.68rem;font-weight:850}
.news-history__filters input,.news-history__filters select{
  width:100%;
  min-width:0;
  min-height:44px;
  margin:0;
  padding:10px 12px;
  border:1px solid #c5d3df;
  border-radius:9px;
  outline:0;
  background:#fff;
  color:#152c43;
  font:600 .75rem/1.3 var(--sans,Arial,sans-serif);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.news-history__filters input::placeholder{color:#7c8995}
.news-history__filters input:focus,.news-history__filters select:focus{
  border-color:#197bc2;
  box-shadow:0 0 0 3px rgba(25,123,194,.14);
}
.news-history__filters select:disabled{background:#edf2f6;color:#8795a2;cursor:not-allowed}
.news-history__filters button,.news-history__filters>a{
  display:inline-grid;
  place-items:center;
  min-height:44px;
  margin:0;
  padding:10px 16px;
  border:1px solid transparent;
  border-radius:9px;
  font-size:.7rem;
  font-weight:900;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
}
.news-history__filters button{
  background:linear-gradient(135deg,#083d6c,#075fa4);
  box-shadow:0 8px 18px rgba(7,78,137,.18);
  color:#fff;
  cursor:pointer;
}
.news-history__filters>a{border-color:#d3dee7;background:#edf2f6;color:#29435a}
.news-history__filters button:hover{background:linear-gradient(135deg,#062f55,#086dbb)}
.news-history__filters>a:hover{border-color:#b8c9d7;background:#e3ebf1}
.news-history__filters.is-loading{opacity:.68;pointer-events:none}
.news-history__loading{
  margin:-5px 0 17px;
  padding:10px 13px;
  border:1px solid #cce2f3;
  border-radius:9px;
  background:#eaf5fd;
  color:#095995;
  font-size:.72rem;
  font-weight:750;
}
.news-history__view{position:relative}
.news-history__mode{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  opacity:0;
  white-space:nowrap;
}
.news-history__view-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  margin:0 0 15px;
}
.news-history__view-toolbar>span{
  margin-right:4px;
  color:#6c7d8e;
  font-size:.64rem;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.news-history__view-toolbar label{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:8px 12px;
  border:1px solid #d0dbe4;
  border-radius:9px;
  background:#fff;
  color:#506477;
  font-size:.67rem;
  font-weight:850;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.news-history__view-toolbar label svg{fill:currentColor}
.news-history__mode--grid:checked~.news-history__view-toolbar label[for$="-grid"],
.news-history__mode--list:checked~.news-history__view-toolbar label[for$="-list"]{
  border-color:#0a5e9e;
  background:#0a5e9e;
  box-shadow:0 6px 15px rgba(10,94,158,.22);
  color:#fff;
}
.news-history__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.news-history-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #d7e2eb;
  border-radius:15px;
  background:#fff;
  box-shadow:0 9px 27px rgba(8,38,67,.065);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.news-history-card:hover{
  border-color:#abc6da;
  box-shadow:0 18px 38px rgba(8,42,73,.12);
  transform:translateY(-3px);
}
.news-history-card__link{display:block;height:100%;color:inherit;text-decoration:none}
.news-history-card__media{display:block;overflow:hidden;background:#e8eff5}
.news-history-card__media img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  filter:saturate(.9) contrast(1.02);
  transition:transform .36s ease,filter .36s ease;
}
.news-history-card:hover .news-history-card__media img{filter:saturate(1) contrast(1.03);transform:scale(1.035)}
.news-history-card__fallback{
  display:grid!important;
  place-items:center;
  align-content:center;
  gap:3px;
  width:100%;
  min-height:155px;
  aspect-ratio:16/9;
  background:linear-gradient(145deg,#e7eef4,#f8fafc);
  color:#60758a;
}
.news-history-card__fallback b{font:900 1.25rem var(--serif,Georgia,serif)}
.news-history-card__fallback small{font-size:.58rem;font-weight:700}
.news-history-card__body{display:block;padding:17px}
.news-history-card__meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.news-history-card__badge{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 8px;
  border-radius:999px;
  background:#fff0d9;
  color:#8d5100;
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.news-history-card time{color:#708194;font-size:.67rem}
.news-history-card__title{
  display:block;
  margin:10px 0 7px;
  color:var(--nh-ink);
  font:750 21px/1.2 var(--serif,Georgia,serif);
}
.news-history-card__excerpt{display:block;color:#64748b;font-size:.79rem;line-height:1.55}
.news-history-card__read{
  display:flex;
  align-items:center;
  gap:6px;
  width:max-content;
  margin-top:13px;
  color:var(--nh-blue);
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.news-history-card__read i{font-size:1rem;font-style:normal;transition:transform .2s ease}
.news-history-card:hover .news-history-card__read i{transform:translateX(3px)}
.news-history__mode--list:checked~.news-history__grid{grid-template-columns:1fr;gap:12px}
.news-history__mode--list:checked~.news-history__grid .news-history-card__link{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  min-height:154px;
}
.news-history__mode--list:checked~.news-history__grid .news-history-card__media,
.news-history__mode--list:checked~.news-history__grid .news-history-card__media img,
.news-history__mode--list:checked~.news-history__grid .news-history-card__fallback{
  height:100%;
  min-height:154px;
  aspect-ratio:auto;
}
.news-history__mode--list:checked~.news-history__grid .news-history-card__body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:19px 23px;
}
.news-history__mode--list:checked~.news-history__grid .news-history-card__title{margin-block:7px 5px;font-size:20px}
.news-history__mode--list:checked~.news-history__grid .news-history-card__read{margin-top:9px}
.news-history__empty{
  padding:34px 24px;
  border:1px dashed #b8c9d7;
  border-radius:13px;
  background:#f8fafc;
  color:#617487;
  font-size:.8rem;
  line-height:1.5;
  text-align:center;
}
.news-history__empty.is-error{border-color:#e2b5bd;background:#fff5f6;color:#8a2b3a}
.news-history__pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid #e2e9ef;
}
.news-history__pagination a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 13px;
  border:1px solid #c9d8e4;
  border-radius:8px;
  background:#fff;
  color:#075b9a;
  font-size:.7rem;
  font-weight:850;
  text-decoration:none;
}
.news-history__pagination a:hover{border-color:#8eafc8;background:#eef6fb}
.news-history__pagination span{color:#66798b;font-size:.72rem}
.news-history__summary:focus-visible,
.news-history__view-toolbar label:focus-within,
.news-history-card__link:focus-visible,
.news-history__filters button:focus-visible,
.news-history__filters>a:focus-visible,
.news-history__pagination a:focus-visible{outline:3px solid var(--nh-sky);outline-offset:3px}
@keyframes news-history-panel-in{
  from{opacity:.25;transform:translateY(-7px)}
  to{opacity:1;transform:none}
}
@media(max-width:1040px){
  .news-history__filters{grid-template-columns:minmax(240px,1fr) 125px 145px}
  .news-history__filters button,.news-history__filters>a{min-width:130px}
}
@media(max-width:850px){
  .news-history__summary{grid-template-columns:52px minmax(0,1fr) auto;gap:15px;min-height:112px;padding:22px}
  .news-history__summary-icon{width:52px;height:52px}
  .news-history__summary-count{display:none}
  .news-history__panel-header{align-items:flex-start;flex-direction:column;gap:10px}
  .news-history__mode--list:checked~.news-history__grid .news-history-card__link{grid-template-columns:170px minmax(0,1fr)}
}
@media(max-width:680px){
  .news-history__summary-action b{display:none}
  .news-history__filters{grid-template-columns:1fr 1fr}
  .news-history__search-field{grid-column:1/-1}
  .news-history__filters button,.news-history__filters>a{min-width:0}
}
@media(max-width:520px){
  .news-history{margin-top:38px}
  .news-history__disclosure{border-radius:18px}
  .news-history__summary{grid-template-columns:44px minmax(0,1fr) 31px;gap:11px;min-height:96px;padding:17px 15px}
  .news-history__summary-icon{width:44px;height:44px;border-radius:13px}
  .news-history__summary-icon svg{width:23px;height:23px}
  .news-history__summary-copy strong{font-size:23px}
  .news-history__summary-copy em{display:none}
  .news-history__summary-action i{width:31px;height:31px}
  .news-history__summary-action i::before,.news-history__summary-action i::after{top:14px;left:9px;width:11px}
  .news-history__panel{padding:17px 13px}
  .news-history__panel-header h3{font-size:23px}
  .news-history__panel-header p{font-size:.74rem}
  .news-history__filters{padding:13px}
  .news-history__filters button,.news-history__filters>a{grid-column:1/-1}
  .news-history__view-toolbar{justify-content:stretch}
  .news-history__view-toolbar>span{display:none}
  .news-history__view-toolbar label{flex:1}
  .news-history__mode--list:checked~.news-history__grid .news-history-card__link{grid-template-columns:106px minmax(0,1fr);min-height:132px}
  .news-history__mode--list:checked~.news-history__grid .news-history-card__media,
  .news-history__mode--list:checked~.news-history__grid .news-history-card__media img,
  .news-history__mode--list:checked~.news-history__grid .news-history-card__fallback{min-height:132px}
  .news-history__mode--list:checked~.news-history__grid .news-history-card__body{padding:12px}
  .news-history__mode--list:checked~.news-history__grid .news-history-card__title{font-size:16px}
  .news-history__mode--list:checked~.news-history__grid .news-history-card__excerpt,
  .news-history__mode--list:checked~.news-history__grid .news-history-card__read{display:none}
}
@media(prefers-reduced-motion:reduce){
  .news-history__panel,.news-history__summary::before,.news-history__summary-action i,
  .news-history-card,.news-history-card__media img,.news-history-card__read i{animation:none;transition:none}
}
