/* Press Release template -- Downloads area ([mcnc_press_downloads]).
   A full-width grey band (the client asked for less all-white pages) holding white document
   rows and image cards. All buttons inside are the global secondary button (see
   mcnc_download_button()), so nothing here styles a button. Thumbnails reuse the carousel
   corner motif (top-left + bottom-right rounded, other two square). */
.pr-dl {
  background: var(--neutral-100, #f2f2f2);
  padding: 80px 0 96px;
}

.pr-dl__inner {
  max-width: var(--container, 1380px);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.pr-dl__title {
  margin: 0 0 12px;
  font-family: var(--font-base), "Roboto", sans-serif;
  font-size: var(--text-h2, 25px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black, #000);
}

.pr-dl__lead {
  margin: 0 0 48px;
  font-family: var(--font-base), "Roboto", sans-serif;
  font-size: var(--text-body, 16px);
  line-height: 1.5;
  color: var(--neutral-700, #666);
}

.pr-dl__sub {
  margin: 0 0 20px;
  font-family: var(--font-base), "Roboto", sans-serif;
  font-size: var(--text-h3, 20px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black, #000);
}

.pr-dl__docs,
.pr-dl__imgs {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
}

.pr-dl__docs:last-child,
.pr-dl__imgs:last-child {
  margin-bottom: 0;
}

/* Documents: one white row per file, label left, button right. */
.pr-dl__docs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pr-dl__doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--neutral-300, #d9d9d9);
}

.pr-dl__doc-text,
.pr-dl__img-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pr-dl__doc-name {
  font-family: var(--font-base), "Roboto", sans-serif;
  font-size: var(--text-body, 16px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-black, #000);
  overflow-wrap: anywhere;
}

.pr-dl__meta {
  font-family: var(--font-base), "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.3;
  color: var(--neutral-700, #666);
}

/* Images: three-up grid of white cards. */
.pr-dl__imgs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.pr-dl__img {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--neutral-300, #d9d9d9);
  border-top-left-radius: 20px; /* card follows the thumbnail corner (img-mask motif), no white gap */
  overflow: hidden;
}

.pr-dl__thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--neutral-100, #f2f2f2);
  border-radius: 19px 0 20px 0; /* 19 = card radius 20 minus its 1px border */
}

.pr-dl__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-dl__img-body {
  align-items: flex-start;
  padding: 20px 24px 24px;
}

.pr-dl__img-body .button-atom {
  margin-top: 12px;
}

@media (max-width: 1023px) {
  .pr-dl { padding: 64px 0 72px; }
  .pr-dl__imgs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (max-width: 767px) {
  .pr-dl { padding: 48px 0 56px; }
  .pr-dl__lead { margin-bottom: 32px; }
  .pr-dl__imgs { grid-template-columns: minmax(0, 1fr); }
  .pr-dl__doc { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .pr-dl__doc .button-atom { align-self: flex-start; }
}
