/* One engraved border, printed in two inks at the scale of each piece. */
:root {
  --engraving: url('assets/guilloche.svg');
}

.hero-actions .ticket-link span,
.agenda-details,
#site-footer {
  position: relative;
}

.hero-actions .ticket-link span::before,
.hero-actions .ticket-link span::after,
.agenda-details::before,
.agenda-details::after,
#site-footer::before {
  content: '';
  position: absolute;
  pointer-events: none;
  mask: var(--engraving) center / auto 100% repeat-x;
}

.hero-actions .ticket-link span::before,
.hero-actions .ticket-link span::after {
  inset-inline: 4px;
  height: 7px;
  background: #8d6344;
}
.hero-actions .ticket-link span::before { top: 2px; }
.hero-actions .ticket-link span::after { bottom: 2px; }

.agenda-details::before,
.agenda-details::after {
  inset-inline: clamp(12px, 1.5vw, 26px);
  height: clamp(10px, 1vw, 16px);
  background: linear-gradient(90deg, #a58158, #825530 45%, #a58158);
}
.agenda-details::before { top: 7px; }
.agenda-details::after { bottom: 7px; }
.agenda-intro { border-top: 0; }

#site-footer {
  padding-top: 20px;
}
#site-footer::before {
  top: 6px;
  inset-inline: var(--edge);
  height: 16px;
  background: linear-gradient(90deg, #62513e, #bb9965 40%, #bb9965 60%, #62513e);
}

@media (max-width: 650px) {
  .agenda-details::before,
  .agenda-details::after {
    inset-inline: 7px;
    height: 8px;
  }
  .agenda-details::before { top: 3px; }
  .agenda-details::after { bottom: 3px; }
  #site-footer { padding-top: 14px; }
  #site-footer::before { height: 12px; }
}
