/* ZiFPIM About — Organisational Profile CTA.
   Matched to the homepage "Read the Evidence Brief" link, and scoped only
   to this link. The Admin-managed PDF and same-tab viewer are unchanged. */
.page--about .about-profile-download {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(23px, 2.8vw, 34px);
  padding: 0 0 1rem;
  border: 0;
  color: var(--charcoal);
  background: none;
  text-decoration: none;
  text-align: left;
  font-size: clamp(.87rem, 1.2vw, 1rem);
  font-weight: 780;
  line-height: 1.55;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* Identical short gold rule to the featured-resource CTA. */
.page--about .about-profile-download::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 74px;
  height: 2px;
  background: var(--gold);
  transition: width .32s var(--ease, ease);
}

.page--about .about-profile-download[href]:hover::before,
.page--about .about-profile-download[href]:focus-visible::before {
  width: 110px;
}

.page--about .about-profile-download__label {
  min-width: 0;
}

.page--about .about-profile-download__arrow {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  transition: transform .34s cubic-bezier(.22,.78,.24,1);
}

.page--about .about-profile-download[href]:hover .about-profile-download__arrow,
.page--about .about-profile-download[href]:focus-visible .about-profile-download__arrow {
  transform: translate3d(5px,0,0);
}

.page--about .about-profile-download:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

/* Keep unpublished Admin-managed PDFs visibly unavailable without hiding
   the reference design or making the arrow into a separate action. */
.page--about .about-profile-download:not([href]) {
  opacity: .65;
  cursor: default;
}

@media (max-width: 700px) {
  .page--about .about-profile-download {
    margin-top: 24px;
    font-size: clamp(.83rem, 3.4vw, .96rem);
  }
}
