.ed-page { padding-top: 0; background: #fff; color: #16242e; }
.ed-container { width: min(calc(100% - 64px), 1280px); margin-inline: auto; }
.ed-page h1, .ed-page h2, .ed-page h3, .ed-page p { margin-top: 0; }
.ed-page :where(a) { color: inherit; }
.ed-page a:hover h3, .ed-page a:hover h2, .ed-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ed-page :is(a,button,input,select):focus-visible { outline: 3px solid #d5a900; outline-offset: 4px; }
.ed-kicker { margin: 0 0 10px; font-size: 10px; font-weight: 800; letter-spacing: .09em; line-height: 1.6; color: #426078; text-transform: uppercase; }
.ed-masthead { padding: 40px 0 26px; text-align: center; }
.ed-masthead h1 { margin: 0 0 8px; font-family: var(--pc-display); font-size: clamp(48px, 6vw, 80px); font-weight: 700; line-height: 1; letter-spacing: -.055em; color: #082e50; }
.ed-masthead > p:last-child { margin: 12px 0 0; color: #52616a; font-size: 13px; }
.ed-sections { display: flex; align-items: center; justify-content: center; gap: 24px; border-top: 1px solid #ccd3d8; border-bottom: 3px solid #102c44; overflow-x: auto; }
.ed-sections a { flex-shrink: 0; padding: 15px 0 12px; border-bottom: 3px solid transparent; font-size: 12px; font-weight: 800; white-space: nowrap; }
.ed-sections a:hover, .ed-sections a[aria-current] { border-color: #d9af00; }
.ed-front { padding: 48px 0 0; }
.ed-section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 22px; }
.ed-section-title h2 { margin: 0; color: #102c44; font-size: 19px; line-height: 1.2; font-weight: 900; letter-spacing: -.02em; }
.ed-section-title > :is(a,span) { color: #52616a; font-size: 11px; }
.ed-section-title > a { font-weight: 800; }
.ed-front__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.ed-front__main { min-width: 0; }
.ed-story { min-width: 0; }
.ed-story img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 12px; }
.ed-story h3 { margin: 0 0 12px; color: #172631; font-family: var(--pc-display); font-size: 20px; font-weight: 700; line-height: 1.22; letter-spacing: -.025em; }
.ed-story--lead h3 { font-size: clamp(27px, 2.8vw, 38px); line-height: 1.12; }
.ed-story--lead img { aspect-ratio: 16 / 10; object-fit: contain; background: #f3f5f6; }
.ed-story img[src*="actualidad-editorial/"] { object-fit: contain; background: #f3f5f6; }
.ed-story--lead img[src*="actualidad-editorial/"] { height: auto; aspect-ratio: auto; }
.ed-meta { display: flex; flex-wrap: wrap; gap: 5px 8px; margin: 0; color: #66747d; font-size: 10px; line-height: 1.6; }
.ed-front__secondary .ed-story + .ed-story { margin-top: 28px; }
.ed-front__secondary img { aspect-ratio: 16 / 9; }
.ed-front__latest { border-left: 1px solid #d5dade; padding-left: 22px; }
.ed-front__latest > h2 { margin: 0 0 20px; color: #52616a; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.ed-story--brief { padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid #d5dade; }
.ed-story--brief h3 { font-size: 20px; }
.ed-deck { margin: 18px 0; color: #52616a; font-size: 14px; line-height: 1.7; }
.ed-text-link { display: inline-block; color: #082e50; font-size: 12px; font-weight: 800; }
.ed-section { padding-block: 34px 48px; margin-top: 38px; border-top: 2px solid #102c44; }
.ed-news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ed-news-grid .ed-story:not(:last-child) { border-right: 1px solid #d5dade; padding-right: 24px; }
.ed-events-band { padding: 40px 0 48px; background: #f3f4f1; border-block: 1px solid #d5dade; scroll-margin-top: calc(var(--pc-header-h) + 16px); }
.ed-section-title--events { border-top: 3px solid #102c44; padding-top: 24px; margin-bottom: 12px; }
.ed-section-title--events h2 { font-family: var(--pc-display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.ed-events-intro { color: #52616a; font-size: 13px; margin: 0 0 28px; }
.ed-events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ed-event__image { position: relative; margin-bottom: 18px; }
.ed-event__image img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.ed-event__image img[src*="actualidad-editorial/"] { object-fit: contain; background: #fff; }
.ed-event__image time { position: absolute; bottom: 0; left: 0; display: grid; min-width: 76px; padding: 10px 14px; background: #102c44; color: #fff; text-align: center; }
.ed-event__image time b { font-size: 29px; line-height: 1; }
.ed-event__image time span { font-size: 10px; margin-top: 4px; text-transform: uppercase; }
.ed-event h3 { font-family: var(--pc-display); font-size: 24px; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 18px; }
.ed-event .ed-kicker { font-size: 9px; }
.ed-read { font-size: 11px; font-weight: 800; }
.ed-events-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 30px; }
.ed-events-list > a { display: grid; grid-template-columns: 78px minmax(0, 1fr) 15px; gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid #bfc8cc; }
.ed-events-list time { color: #52616a; font-size: 10px; line-height: 1.6; }
.ed-events-list h3 { font-family: var(--pc-display); font-size: 18px; line-height: 1.3; margin: 0; }
.ed-search { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(120px, .7fr) minmax(190px, 1.2fr) auto; gap: 16px; align-items: end; padding: 20px; background: #f3f5f6; }
.ed-search label { display: grid; gap: 8px; font-size: 11px; font-weight: 700; color: #425866; }
.ed-search :is(input,select) { width: 100%; min-width: 0; height: 43px; border: 1px solid #bac6cd; border-radius: 0; padding: 8px 10px; background: #fff; color: #172631; font: inherit; font-weight: 400; font-size: 13px; }
.ed-search button { height: 43px; padding: 0 16px; background: #fff; color: #102c44; border: 1px solid #bac6cd; cursor: pointer; font: inherit; font-size: 12px; }
.ed-results { font-size: 11px; color: #66747d; margin: 16px 0 10px; }
.ed-empty { padding: 34px 0; color: #52616a; }
.ed-archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.ed-archive-card { border-bottom: 1px solid #d5dade; padding: 22px 0; }
.ed-archive-card > a { display: grid; grid-template-columns: 130px minmax(0, 1fr) 14px; gap: 18px; align-items: start; }
.ed-archive-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ed-archive-card h3 { font-family: var(--pc-display); font-size: 20px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 12px; }
.ed-archive-card .ed-kicker { font-size: 9px; margin-bottom: 6px; }
.ed-archive-card__arrow { color: #52616a; }
.ed-more { display: block; margin: 30px auto 0; padding: 12px 28px; border: 1px solid #102c44; background: #fff; color: #102c44; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.ed-more:hover, .ed-search button:hover { background: #102c44; color: #fff; }
.ed-page [hidden] { display: none !important; }
.ed-connect { background: #082e50; color: #fff; padding: 44px 0; }
.ed-connect > .ed-container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.ed-connect .ed-kicker { color: #f5c400; }
.ed-connect h2 { font-family: var(--pc-display); font-size: 32px; letter-spacing: -.03em; margin-bottom: 12px; }
.ed-connect p:not(.ed-kicker) { font-size: 13px; color: #c2d2df; margin: 0; }
.ed-connect .pc-social { display: flex; flex-wrap: wrap; gap: 12px; }
.ed-connect .pc-social a { border: 1px solid #638095; width: 42px; height: 42px; }
.ed-page section { scroll-margin-top: calc(var(--pc-header-h) + 18px); }
@media (max-width: 1050px) {
  .ed-front__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .ed-front__latest { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-left: 0; border-top: 1px solid #d5dade; padding: 20px 0 0; }
  .ed-front__latest > h2, .ed-front__latest > a { grid-column: 1 / -1; margin: 0; }
  .ed-front__latest .ed-story { margin: 0; padding: 0 0 12px; }
  .ed-sections { justify-content: flex-start; gap: 20px; }
  .ed-news-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ed-news-grid .ed-story:nth-child(2) { border-right: 0; padding-right: 0; }
  .ed-search { grid-template-columns: 1fr 1fr; }
  .ed-archive-card > a { grid-template-columns: 90px minmax(0, 1fr); gap: 14px; }
  .ed-archive-card__arrow { display: none; }
  .ed-archive-card h3 { font-size: 18px; }
}
@media (max-width: 640px) {
  .ed-container { width: calc(100% - 32px); }
  .ed-masthead { padding: 28px 0 20px; }
  .ed-masthead .ed-kicker { font-size: 8px; }
  .ed-masthead > p:last-child { font-size: 12px; line-height: 1.6; max-width: 300px; margin-inline: auto; }
  .ed-sections a { font-size: 11px; }
  .ed-front { padding-top: 22px; }
  .ed-front__grid { display: flex; flex-direction: column; gap: 28px; }
  .ed-front__main { order: -1; }
  .ed-story--lead img { aspect-ratio: 16 / 10; }
  .ed-story--lead h3 { font-size: 30px; }
  .ed-front__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .ed-front__secondary .ed-story + .ed-story { border-top: 0; margin-top: 0; padding-top: 0; }
  .ed-front__secondary h3 { font-size: 18px; }
  .ed-front__latest { display: block; }
  .ed-front__latest > h2 { margin-bottom: 20px; }
  .ed-front__latest .ed-story { margin-bottom: 18px; padding-bottom: 18px; }
  .ed-section { padding-block: 24px 30px; margin-top: 30px; }
  .ed-section-title { gap: 12px; align-items: start; margin-bottom: 18px; }
  .ed-section-title > :is(a,span) { max-width: 110px; font-size: 10px; text-align: right; }
  .ed-news-grid { gap: 24px 16px; }
  .ed-news-grid .ed-story:not(:last-child) { border-right: 0; padding-right: 0; }
  .ed-news-grid h3 { font-size: 18px; }
  .ed-events-band { padding: 28px 0; }
  .ed-section-title--events { display: block; }
  .ed-section-title--events > a { display: inline-block; margin-top: 14px; max-width: none; }
  .ed-events-grid, .ed-events-list, .ed-archive-grid { grid-template-columns: 1fr; }
  .ed-event { border-bottom: 1px solid #cbd2d5; padding-bottom: 24px; }
  .ed-events-list { margin-top: 10px; }
  .ed-events-list > a { grid-template-columns: 66px minmax(0, 1fr) 12px; gap: 12px; }
  .ed-search { padding: 16px; gap: 12px; grid-template-columns: 1fr 1fr; }
  .ed-search__query { grid-column: 1 / -1; }
  .ed-search label { min-width: 0; }
  .ed-search button { grid-column: 1 / -1; height: 36px; }
  .ed-search :is(input,select) { font-size: 12px; }
  .ed-archive-card > a { grid-template-columns: 92px minmax(0, 1fr); }
  .ed-connect > .ed-container { display: block; }
  .ed-connect .pc-social { margin-top: 24px; gap: 10px; }
  .ed-connect h2 { font-size: 28px; }
}

.ed-page .pc-inner-hero { color: #fff; }
.ed-page .pc-inner-hero .pc-eyebrow { color: var(--pc-yellow, #f5c400); }

.ed-microsites { background: #fff; color: var(--pc-navy); }
.ed-microsites .pc-eyebrow { color: #526779; }
.ed-microsites .pc-microsite-card { color: #fff; }
.ed-story--lead img[src*="destacado-septiembre-"] { aspect-ratio: 16 / 9; object-fit: cover; }

/* Separacion antes de multimedia. */
#noticias { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid #ccd3d8; }
@media (max-width: 640px) {
  #noticias { padding-bottom: 24px; margin-bottom: 24px; }
}

.ed-microsites .pc-microsites { grid-template-columns: minmax(0, 1fr); }
