/* Decorative AFS accent. No text, interaction, or state depends on this rule. */
.afs-olive-accent {
  display: block;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  height: 5px;
  background: linear-gradient(90deg, #626a4b 0 30%, #a65339 30% 76%, #c49538 76% 100%);
  pointer-events: none;
}
.afs-olive-accent-host { position: relative; }
.afs-olive-accent--banner {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  margin: 0;
}
.afs-olive-accent--title {
  width: min(108px, 100%);
  margin: 0 0 14px;
  border-radius: 0;
}
@media (max-width: 760px) {
  .afs-olive-accent--title { width: min(84px, 100%); margin-bottom: 10px; }
}
@media (forced-colors: active), print {
  .afs-olive-accent { display: none; }
}

/* Align the Contact rule to the inset image inside its existing frame. */
.afs-contact-banner.afs-olive-accent-host > .afs-olive-accent--banner {
  inset: clamp(6px, 1vw, 14px) clamp(6px, 1vw, 14px) auto;
}
/* Design Resources becomes text-led when its photo moves below the controls. */
@media (max-width: 760px) {
  .resource-file-first.afs-olive-accent-host > .afs-olive-accent--banner {
    position: static;
    width: min(84px, 100%);
    margin: 0 0 10px;
  }
}
