
  header [aria-current="page"] { text-decoration: underline; }
  .editorial-page { max-width: 875px; }
  .editorial-intro { padding-block: 16px 19px; }
  .editorial-intro h1 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); }
  .editorial-intro .lead { max-width: 76ch; margin: 5px 0 0; font-size: 1rem; line-height: 1.45; }
  .editorial-article {
    margin-bottom: 36px;
    padding: clamp(17px, 3vw, 30px);
    border-top: 3px solid #AE8457;
    border-radius: 0 0 8px 8px;
    background: white;
  }
  .editorial-article h2 { font-size: clamp(1.65rem, 3.6vw, 2.45rem); max-width: 30ch; }
  .editorial-article p { max-width: 65ch; }
  .editorial-cover { display:block; width:100%; max-height: 155px; object-fit:cover; border-radius: 6px; margin: 14px 0; }
  .editorial-article ol { padding-inline-start: 1.4rem; max-width: 67ch; }
  .editorial-article li + li { margin-top: 8px; }
  .editorial-note { padding: 10px 14px; background: #E8DFD2; border-radius: 6px; }

.editorial-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:36px; }
.editorial-tile { display:block; overflow:hidden; text-decoration:none; border-radius:7px; border-top:3px solid #AE8457; background:#E8DFD2; }

.editorial-tile > div { padding:15px; }
.editorial-tile img { display:block; width:100%; height:105px; object-fit:cover; }
.editorial-tile h2, .editorial-tile h3 { font-size:1.32rem; line-height:1.16; letter-spacing:-.025em; margin:0; }
.editorial-tile p:last-child { margin:8px 0 0; color:var(--muted); }
.editorial-tile:hover :is(h2, h3) { text-decoration:underline; text-underline-offset:3px; }
.editorial-back { margin:20px 0 12px; }
.editorial-article h1 { font-size:clamp(1.8rem, 4.4vw, 2.85rem); }
@media (max-width:680px) { .editorial-grid { grid-template-columns:1fr; } }

.editorial-tile.editorial-tile-news,
.editorial-news {
  background: #FFFCF5;
  border: 1px solid #D8CBBB;
  border-top: 4px double #173645;
  border-radius: 0;
}
.editorial-tile-news .eyebrow,
.editorial-news .eyebrow {
  border-bottom: 1px solid #D8CBBB;
  padding-bottom: 6px;
}
.editorial-tile-news h2,
.editorial-news h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.editorial-tile-news h2 { font-size: 1.55rem; }
.editorial-news p:not(.eyebrow),
.editorial-news li {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.65;
}


.editorial-tile.editorial-tile-news,
.editorial-news {
  background: linear-gradient(#fffcf5a6, #fffcf5a6), #FFFCF5 url("/pulso-papel.webp") center / cover;
}

.editorial-nav {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 22px;
  border-bottom: 1px solid #D8CBBB;
}
.editorial-nav a {
  display: block;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 700;
  background: #E8DFD2;
  text-decoration: none;
}
.editorial-nav a:first-child { background: #D6E5E2; border-radius: 5px 0 0 0; }
.editorial-nav a:last-child { background: #E7D5C1; border-radius: 0 5px 0 0; }
.editorial-nav a:hover { text-decoration: underline; }
.editorial-section { scroll-margin-top: 14px; }
.editorial-section > h2 { font-size: 1.45rem; margin-bottom: 12px; letter-spacing: -.02em; }
#noticias > h2 { font-family: Georgia, "Times New Roman", serif; }
#opinion .editorial-tile { grid-column: 1 / -1; }

.ffep-card { background: #FFFCF5; border: 1px solid #D8CBBB; border-top: 3px solid #AE8457; padding: clamp(15px, 3vw, 24px); border-radius: 6px; margin-bottom: 30px; }
.ffep-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.ffep-heading h1 { font-size: 1.38rem; margin: 0; line-height: 1.2; }
.ffep-card .eyebrow, .ffep-heading p { margin: 0 0 5px; }
.ffep-value strong, .ffep-value span { display: block; }
.ffep-value strong { font-size: 2.15rem; line-height: 1.1; color: #173645; }
.ffep-value span, .ffep-period dt { color: var(--muted); font-size: .9rem; }
.ffep-period { display: flex; flex-wrap: wrap; gap: 10px 24px; border-block: 1px solid #D8CBBB; padding: 10px 0; }
.ffep-period dd { margin: 0; font-weight: 700; }
.ffep-card > p { margin: 8px 0 0; }

.monthly-values table { width: 100%; border-collapse: collapse; margin: 16px 0 25px; }
.monthly-values :is(th, td) { text-align: left; padding: 7px 9px; border-bottom: 1px solid #D8CBBB; }
.monthly-values thead { background: #E8DFD2; }
.monthly-values tbody th { font-weight: 550; }
.monthly-values :is(th, td):last-child { text-align: right; white-space: nowrap; }

.agenda-date { display: block; margin-top: 8px; color: var(--muted); font-size: .8125rem; }

.editorial-tile-news .news-cover { height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }

.editorial-tile .agenda-cover { height: auto; aspect-ratio: 2 / 1; object-fit: cover; }

#menu-pulso { scroll-margin-top: 16px; }
.editorial-section .editorial-grid { margin-bottom: 10px; }
.editorial-return { display: flex; justify-content: flex-end; margin: 0 0 22px; }
.editorial-return a {
  padding: 4px 8px;
  color: #30666B;
  font-size: .875rem;
  font-weight: 650;
  text-underline-offset: 3px;
}

.agenda-flyer { display: block; width: 100%; max-width: 620px; height: auto; margin: 20px auto 0; border-radius: 6px; }

.agenda-grid .agenda-pinned { order: -1; }

/* Las noticias se agregan al principio de la grilla. */
#noticias .editorial-grid > :nth-child(n + 11 of .editorial-tile) {
  display: none;
}

@media (max-width: 600px) {
  .editorial-page { width: calc(100% - 32px); }
  .editorial-intro { padding-block: 12px; }
  .editorial-nav {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    margin-bottom: 12px;
  }
  .editorial-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #30666B;
    font-size: .875rem;
    line-height: 1.2;
  }
  .editorial-nav a:first-child,
  .editorial-nav a:last-child { background: transparent; border-radius: 0; }
  .editorial-section > h2 { font-size: 1.3rem; margin-bottom: 8px; }
  .editorial-section .editorial-grid { gap: 9px; margin-bottom: 4px; }
  .editorial-tile > div { padding: 10px 12px; }
  .editorial-tile :is(h2, h3) { font-size: 1.18rem; line-height: 1.2; }
  .editorial-tile p { margin-block: 6px; line-height: 1.4; }
  .editorial-tile :is(.agenda-cover, .news-cover) { max-height: 120px; }
  .editorial-tile .news-cover { margin-bottom: 8px; }
  .editorial-return { margin-bottom: 12px; }
}
