/*
 * Press Release download card — shown at the end of the article body on
 * single posts that have a `press_release_pdf` attached. Self-contained
 * (enqueued only when a PDF exists). Brand: primary red #BC1830.
 */

.press-release-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 0.5rem;
  padding: 1.2rem 1.4rem;
  background: #f7f7f7;
  border-left: 4px solid #BC1830;
  border-radius: 2px;
}

.press-release-download__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.press-release-download__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #BC1830;
}

.press-release-download__filename {
  font-size: 0.9rem;
  color: #555555;
  word-break: break-all;
}

.press-release-download__size {
  color: #999999;
  white-space: nowrap;
}

.press-release-download__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 1.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: #BC1830;
  border: 1px solid #BC1830;
  border-radius: 2px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.press-release-download__icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: no-repeat center / contain;
          mask: no-repeat center / contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 16l-5-5 1.41-1.41L11 12.17V4h2v8.17l2.59-2.58L17 11l-5 5zm-7 2h14v2H5v-2z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 16l-5-5 1.41-1.41L11 12.17V4h2v8.17l2.59-2.58L17 11l-5 5zm-7 2h14v2H5v-2z'/%3E%3C/svg%3E");
}

.press-release-download__btn:hover,
.press-release-download__btn:focus {
  background: #9a1327;
  border-color: #9a1327;
  color: #ffffff;
}

@media (max-width: 480px) {
  .press-release-download {
    flex-direction: column;
    align-items: stretch;
  }
  .press-release-download__btn {
    justify-content: center;
  }
}
