/* The archive separates documents, the event programme and the photographic record. */
body.wp-child-theme-cma.blog .cmaesp-news-archive {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(16px,2.8vw,44px);
  align-items: center; margin: clamp(24px,3vw,42px) 0 0; padding-bottom: clamp(20px,2vw,32px);
  border-bottom: 2px solid var(--skin-ink);
}
.cmaesp-news-archive .cmaesp-archive { margin: 0; }
.cmaesp-news-archive .cmaesp-archive img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; }
.cmaesp-news-archive figcaption { margin: 7px 0 0; font: 500 13px/1.45 var(--skin-font); }
.cmaesp-news-archive figcaption a { color: #374b67; text-decoration: underline; text-underline-offset: .17em; }
body.wp-child-theme-cma.blog .content .cmaesp-news-archive h2 {
  margin: 0; font: 670 clamp(28px,2.6vw,48px)/1.06 var(--skin-display); letter-spacing: -.047em;
  text-wrap: pretty; color: var(--skin-ink);
}
.cmaesp-news-archive h2 a { color: inherit; text-decoration: none; }
.cmaesp-news-archive h2 a:hover { text-decoration: underline; }
body.wp-child-theme-cma.blog .content .cmaesp-news-dateline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 12px;
  color: #384b69; font: 540 14px/1.5 var(--skin-font); font-variant-numeric: tabular-nums;
}
.cmaesp-news-dateline span { font-weight: 740; color: #203c68; }
body.wp-child-theme-cma.blog:not(.home) .content > article.cmaesp-item-edital {
  padding-block: clamp(18px,1.8vw,25px); border-bottom: 1px solid var(--skin-rule);
}
body.wp-child-theme-cma.blog:not(.home) .content .cmaesp-item-edital .entry-title {
  margin: 0; font: 650 clamp(21px,1.75vw,30px)/1.13 var(--skin-display); letter-spacing: -.032em;
}
body.wp-child-theme-cma.blog:not(.home) .content .cmaesp-item-edital .entry-meta { margin: 6px 0 0; }
body.wp-child-theme-cma.blog:not(.home) .content .cmaesp-item-edital .cmaesp-news-dateline { margin-bottom: 6px; }
body.wp-child-theme-cma.blog:not(.home) .content :is(.cmaesp-item-congresso,.cmaesp-item-noticia) .entry-title {
  font-family: var(--skin-display); letter-spacing: -.043em;
}
.cmaesp-news-archive a:focus-visible, .cmaesp-report-cover a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* The original 2024 report pairs its title with the auditorium and a later passage with the panel. */
.cmaesp-report-cover {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); align-items: center;
  color: #182d53; background: #dae5f6; border-bottom: 1px solid #9babbe;
}
.cmaesp-report-heading {
  padding: clamp(30px,4.5vw,64px) clamp(22px,3.8vw,62px);
  padding-left: max(var(--skin-gutter),calc((100vw - var(--skin-max)) / 2));
}
.cmaesp-report-heading .cmaesp-report-section {
  margin: 0 0 clamp(14px,2.2vw,34px); font: 650 15px/1.4 var(--skin-font); color: #274262;
}
body.wp-child-theme-cma.postid-17358 .cmaesp-report-cover .cmaesp-reading-headline,
body.wp-child-theme-cma.postid-17358 .cmaesp-report-cover .ptitle { padding: 0; margin: 0; min-height: 0; background: transparent; }
body.wp-child-theme-cma.postid-17358 .cmaesp-report-cover .ptitle h1 {
  font: 690 clamp(35px,3.65vw,66px)/1.025 var(--skin-display); letter-spacing: -.06em;
  color: #182d53; max-width: 21ch; text-wrap: pretty;
}
.cmaesp-report-cover .wp-block-image.cmaesp-report-photo { margin: 0; width: 100%; background: #162f55; }
.cmaesp-report-cover .cmaesp-report-photo img,
body.wp-child-theme-cma.postid-17358 .entry-content > .cmaesp-report-photo img {
  width: 100%; height: auto; display: block; aspect-ratio: 3/2;
}
.cmaesp-report-cover .cmaesp-report-photo figcaption {
  padding: 10px clamp(14px,1.5vw,24px); margin: 0; color: #f1f6ff; text-align: left; font: 500 14px/1.45 var(--skin-font);
}
.cmaesp-report-photo figcaption span { font-weight: 700; }
body.wp-child-theme-cma.postid-17358 .entry-content > .cmaesp-report-photo {
  width: min(100%, 780px); margin: clamp(24px,3vw,42px) 0;
}
body.wp-child-theme-cma.postid-17358 .entry-content > .cmaesp-report-photo figcaption { text-align: left; margin: 8px 0 0; }
@media(max-width:799px) {
  .cmaesp-report-cover { grid-template-columns: 1fr; }
  .cmaesp-report-heading { padding: 27px var(--skin-gutter) 23px; }
  .cmaesp-report-cover .cmaesp-report-photo figcaption { padding-inline: var(--skin-gutter); }
}
@media(max-width:580px) {
  body.wp-child-theme-cma.blog .cmaesp-news-archive { grid-template-columns: 1fr; gap: 13px; }
  .cmaesp-report-photo figcaption span { display: block; }
}
