/* Linktree system: a single institutional header shared by internal screens.
   Root "/" uses the same official hero image and wordmark. Do not import in
   independent editorial landing pages like /moradia/ or /desertor/. */
html,body{background:#313e37!important}
.links-system-page .links-system-hero{
  position:relative;display:block;
  height:clamp(155px,46.8vw,225px);min-height:0;
  flex:0 0 auto;margin:0;padding:0;
  overflow:hidden;isolation:isolate;
  background:
    linear-gradient(90deg,rgba(24,33,29,.23) 0%,rgba(24,33,29,.06) 48%,transparent 76%),
    url("/assets/institutional/hero-subject.webp") center 38%/cover no-repeat,
    url("/assets/institutional/hero.webp") center 38%/cover no-repeat,#313e37;
  border:0;border-radius:0;
}
.links-system-page .links-system-hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(24,33,29,.08),transparent 46%);
  pointer-events:none;z-index:0;
}
.links-system-page .links-system-hero__brand{
  position:absolute;left:18px;bottom:23px;z-index:2;
  display:flex;flex-direction:column;align-items:stretch;
  width:clamp(158px,52%,218px);min-width:0;
  padding:12px 12px 11px;
  border:2px solid #313e37;border-radius:15px;
  background:rgba(246,250,217,.96);
  box-shadow:0 12px 28px rgba(24,33,29,.24);
  transform:rotate(-1deg);container-type:inline-size;
}
.links-system-page .links-system-hero__brand img{
  display:block;width:100%;height:auto;max-width:100%;
  margin:0;border:0;filter:none;object-fit:contain;
}
.links-system-page .links-system-hero__role{
  display:block;width:100%;margin:5px 0 0;padding:0;
  background:transparent;color:#313e37;
  font:700 clamp(12px,7.5cqw,16px)/1.16 Arial,"Helvetica Neue",sans-serif;
  letter-spacing:.06em;white-space:nowrap;text-align:left;
}
.links-system-page .links-system-hero__back{
  position:absolute;top:max(12px,env(safe-area-inset-top));right:14px;z-index:3;
  display:inline-flex;gap:7px;align-items:center;justify-content:center;
  min-height:38px;padding:8px 12px;border-radius:999px;
  border:1px solid rgba(49,62,55,.42);
  background:#f6fad9;color:#313e37;text-decoration:none;
  font:800 12px/1.2 Arial,"Helvetica Neue",sans-serif;
  box-shadow:0 3px 10px rgba(24,33,29,.18);
}
.links-system-page .links-system-hero__back span{font-size:17px;line-height:1}
.links-system-page .links-system-hero__back:hover{background:#f0d719}
.links-system-page .links-system-hero__back:focus-visible{
  outline:3px solid #f0d719;outline-offset:3px;
}
/* Form-specific headings live below the same common header, as content,
   never as a second independent page hero. */
.links-system-page .event-head,
.links-system-page .head{
  background:#f6fad9;border-bottom:1px solid rgba(49,62,55,.2);
  color:#313e37;box-shadow:none;overflow:visible;
}
.links-system-page .event-head::before{display:none}
.links-system-page .event-head{padding:19px 20px 18px}
.links-system-page .head{padding:20px 20px 22px}
.links-system-page .event-head .when{margin:1px 0 9px;color:#313e37;font-size:16px}
.links-system-page .event-head .headline{margin:0;gap:4px}
.links-system-page .event-head .headline span,
.links-system-page .head .headline span{
  background:#313e37;color:#f6fad9;
  font-size:clamp(25px,7.2vw,38px);line-height:1.02;
  letter-spacing:0;box-shadow:none;
}
.links-system-page .event-head .headline .small,
.links-system-page .head .headline .small{font-size:clamp(24px,6.7vw,35px)}
.links-system-page .event-head .zoom-pill{margin-top:9px;padding:6px 10px;background:#f0d719;color:#313e37}
.links-system-page .event-head .zoom-dot{background:#313e37;box-shadow:none}
.links-system-page .event-head .progress-wrap{margin-top:11px}
.links-system-page .event-head .progress-meta{color:#313e37}
.links-system-page .event-head .track{background:rgba(49,62,55,.16)}
.links-system-page .event-head .fill{background:#0734a3}
.links-system-page .head .tag{margin-top:0;background:#313e37;color:#f6fad9}
/* Agenda is a fixed-height step form. Let its existing sheet overlap the same
   banner by 24px; keep brand visible above the overlap. */
.links-system-page .links-system-hero + .form{min-height:0}
.links-system-page:has(#agendaForm) .links-system-hero__brand{bottom:39px}
@media(max-width:380px){
 .links-system-page .links-system-hero__brand{left:12px;width:157px;padding:10px 10px 9px}
 .links-system-page .links-system-hero__role{font-size:11px;letter-spacing:.052em}
 .links-system-page .links-system-hero__back{right:10px;padding:7px 10px}
 .links-system-page .event-head{padding:16px 15px}
}
@media(prefers-reduced-motion:reduce){
 .links-system-page .links-system-hero__back{transition:none}
}
