/* Style only the tagged, existing top blocks; body/catalogue/gallery styles remain unchanged. */
.rha-hero[data-rha-hero] {
  box-sizing:border-box;
  container-name:rha;
  container-type:inline-size;
  background:radial-gradient(ellipse at 83% 47%,#3b5160 0%,transparent 51%),linear-gradient(116deg,#14212a,#283b49);
  color:#fff;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  padding:clamp(22px,4.1vw,52px) 0;
  margin-inline:0;
  margin-block-start:0;
}
.rha-hero[data-rha-hero].rha-compact {
  background:linear-gradient(116deg,#14212a,#283b49);
  padding:clamp(19px,3.15vw,40px) 0;
}
.rha-hero[data-rha-hero] .rha-layout {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(15px,4cqi,45px);
  align-items:center;
  margin:0 auto;
  width:min(1160px,calc(100% - clamp(30px,8.4cqi,104px)));
  max-width:none;
}
.rha-hero[data-rha-hero].rha-has-photo .rha-layout {grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}
.rha-hero[data-rha-hero].rha-contact .rha-layout {grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr)}
.rha-hero[data-rha-hero].rha-fit-large .rha-layout {grid-template-columns:minmax(0,.9fr) minmax(0,1.23fr)}
.rha-hero[data-rha-hero].rha-fit-tersa-block .rha-layout {grid-template-columns:minmax(0,1fr) minmax(0,.98fr)}
.rha-hero[data-rha-hero] .rha-layout .rha-copy {min-width:0;max-width:none;container-type:normal}
.rha-hero[data-rha-hero] .rha-layout .rha-copy > h1 {
  color:#fff;
  font-family:inherit;
  font-weight:720;
  font-size:var(--rha-heading-fit,clamp(24px,4.65cqi,53px));
  letter-spacing:-.035em;
  line-height:1.07;
  margin:0 0 9px !important; /* theme archive uses .mb-3 !important on its same H1 */
  max-width:none;
  overflow-wrap:anywhere; /* safe no-script fallback for unusually long compounds */
  word-break:normal;
  hyphens:manual;
  text-wrap:var(--rha-heading-wrap,balance);
}
.rha-hero[data-rha-hero] .rha-layout .rha-copy > h1[data-rha-fitted] {overflow-wrap:normal}
.rha-hero[data-rha-hero] .rha-layout .rha-copy > h1::before {content:none}
.rha-hero[data-rha-hero].rha-compact .rha-layout .rha-copy > h1 {font-size:var(--rha-heading-fit,clamp(23px,3.75cqi,45px))}
.rha-hero[data-rha-hero].rha-fit-tersa-block .rha-layout .rha-copy > h1 {font-size:var(--rha-heading-fit,clamp(24px,4.25cqi,49px))}
.rha-hero[data-rha-hero] .rha-heading-line {display:block}
.rha-hero[data-rha-hero] .rha-heading-line+.rha-heading-line {font-size:var(--rha-subtitle-fit,.85em);margin-top:.1em}
.rha-hero[data-rha-hero] .rha-unit {white-space:nowrap}
.rha-hero[data-rha-hero] .rha-layout .rha-copy > p {
  color:#e4edf1;
  font-family:inherit;
  font-size:clamp(.78rem,1.25cqi,.87rem);
  line-height:1.5;
  margin:7px 0 0;
  max-width:85ch;
  text-wrap:pretty;
  overflow-wrap:break-word;
}
.rha-hero[data-rha-hero] .rha-layout .rha-copy > p.rha-lead {
  font-size:clamp(.87rem,1.5cqi,1rem);
  margin:0;
  max-width:65ch;
}
.rha-hero[data-rha-hero] .rha-layout .rha-copy > .rha-eyebrow,
.rha-hero[data-rha-hero] .rha-layout .rha-copy > .rha-badge {
  color:#e0e6e9;
  margin:0 0 8px;
  font-family:inherit;
  font-size:.73rem;
  font-weight:840;
  letter-spacing:.08em;
  line-height:1.3;
  text-transform:uppercase;
}
.rha-hero[data-rha-hero] .rha-layout .rha-copy > .rha-badge {
  display:inline-flex;
  letter-spacing:.025em;
  text-transform:none;
  border:1px solid #bacbd57e;
  border-radius:4px;
  background:transparent;
  padding:4px 6px;
}
.rha-hero[data-rha-hero] .rha-layout .rha-copy a:not(.rha-primary){color:#ecf2f5}
.rha-hero[data-rha-hero] .rha-layout .rha-copy a:hover:not(.rha-primary){color:#fff}
.rha-hero[data-rha-hero] .rha-layout .rha-copy .rha-actions {
  display:flex;
  gap:7px 13px;
  flex-wrap:wrap;
  align-items:center;
  margin:12px 0 0;
}
.rha-hero[data-rha-hero] .rha-layout .rha-actions > :is(a,button),
.rha-hero[data-rha-hero] .rha-layout .rnp-contact-jump {
  box-sizing:border-box;
  font:760 clamp(.77rem,1.23cqi,.9rem)/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:36px;
  max-width:100%;
  background:transparent;
  color:#ecf2f5;
  text-decoration:underline;
  text-underline-offset:3px;
  border:0;
  padding:3px 0;
  border-radius:0;
  box-shadow:none;
  overflow-wrap:anywhere;
  white-space:normal;
}
.rha-hero[data-rha-hero] .rha-layout .rha-actions > .rha-primary {
  background:#b41a34;
  color:#fff;
  border:1px solid #c52b44;
  border-radius:6px;
  padding:7px 10px;
  text-decoration:none;
}
.rha-hero[data-rha-hero] .rha-layout .rha-actions > .rha-primary:hover {background:#951529;color:#fff}
.rha-hero[data-rha-hero] .rha-layout .rha-actions > .rha-outline {border:1px solid #bdc9d1;border-radius:6px;text-decoration:none;padding:7px 10px}
.rha-hero[data-rha-hero] .rha-layout .rha-actions > .rha-outline:hover {background:#ffffff17}
.rha-hero[data-rha-hero] .rha-layout .rnp-contact-jump {color:#e0e6e9;margin:2px 0 0}
.rha-hero[data-rha-hero] .rha-actions .rhp-play-label {position:static;inset:auto;background:none;color:inherit;box-shadow:none;padding:0;margin:0;transform:none}
.rha-hero[data-rha-hero] :is(a,button):focus-visible {outline:3px solid #f5cb76;outline-offset:3px}
.rha-hero[data-rha-hero] .rha-layout .rha-media {
  box-sizing:border-box;
  min-width:0;
  width:100%;
  max-width:none;
  min-height:0;
  height:auto;
  margin:0;
  padding:0;
  position:static;
  inset:auto;
  float:none;
  display:grid;
  justify-items:center;
  align-items:center;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
  aspect-ratio:auto;
}
.rha-hero[data-rha-hero] .rha-layout .rha-media img.rha-photo {
  display:block;
  width:auto;
  max-width:100%;
  min-width:0;
  height:auto;
  min-height:0;
  max-height:340px;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  position:static;
  inset:auto;
  float:none;
  margin:0 auto;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  transform:none;
  cursor:default;
}
.rha-hero[data-rha-hero] .rha-layout .rha-media.rha-transparent img.rha-photo {filter:drop-shadow(0 14px 17px #0008)}
.rha-hero[data-rha-hero] .rha-layout .rha-media.rha-opaque img.rha-photo {border-radius:9px;box-shadow:0 11px 20px #0008}
.rha-hero[data-rha-hero].rha-fit-wig .rha-layout .rha-media img.rha-photo {max-width:min(72%,208px);max-height:152px;border-radius:6px}
.rha-hero[data-rha-hero].rha-fit-large .rha-layout .rha-media img.rha-photo {max-height:292px;max-width:78%}
.rha-hero[data-rha-hero].rha-fit-tersa-block .rha-layout .rha-media img.rha-photo {max-height:280px;max-width:82%}
.rha-hero[data-rha-hero] .rha-layout .rha-media figcaption {margin:6px 0 0;font:.8rem/1.3 system-ui,-apple-system,sans-serif;text-align:center;color:#e0e6e9;background:transparent;padding:0}
.rha-hero[data-rha-hero] .rha-layout .rha-media figcaption strong {color:#fff;display:block}
.rha-hero[data-rha-hero].rha-contact .rha-layout .rha-media {justify-self:end;width:min(230px,100%)}
.rha-hero[data-rha-hero].rha-contact .rha-layout .rha-media img.rha-photo {max-width:min(198px,100%);max-height:256px}
.rha-heading-meter {position:fixed;inset:0 auto auto 0;display:inline-block;visibility:hidden;pointer-events:none;white-space:nowrap;max-width:none;contain:layout style}
/* Viewport fallback keeps the design usable when container queries are unavailable. */
@media(max-width:700px) {
  .rha-hero[data-rha-hero] {padding:20px 0}
  .rha-hero[data-rha-hero].rha-has-photo .rha-layout {grid-template-columns:minmax(0,1fr);gap:15px;width:calc(100% - 30px)}
  .rha-hero[data-rha-hero] .rha-layout .rha-copy > h1,
  .rha-hero[data-rha-hero].rha-fit-tersa-block .rha-layout .rha-copy > h1 {font-size:var(--rha-heading-fit,clamp(24px,7.55cqi,36px))}
  .rha-hero[data-rha-hero].rha-compact .rha-layout .rha-copy > h1 {font-size:var(--rha-heading-fit,clamp(22px,7.1cqi,33px))}
  .rha-hero[data-rha-hero] .rha-layout .rha-media img.rha-photo {max-height:205px}
  .rha-hero[data-rha-hero].rha-fit-wig .rha-layout .rha-media img.rha-photo {max-width:min(67%,159px);max-height:123px}
  .rha-hero[data-rha-hero].rha-fit-large .rha-layout .rha-media img.rha-photo {max-height:211px}
  .rha-hero[data-rha-hero].rha-fit-tersa-block .rha-layout .rha-media img.rha-photo {max-height:199px;max-width:74%}
  .rha-hero[data-rha-hero].rha-contact .rha-layout .rha-media {display:flex;align-items:center;justify-self:start;justify-content:flex-start;gap:10px;width:auto}
  .rha-hero[data-rha-hero].rha-contact .rha-layout .rha-media img.rha-photo {width:68px;height:88px;margin:0}
  .rha-hero[data-rha-hero].rha-contact .rha-layout .rha-media figcaption {text-align:left;margin:0}
}
@supports not (font-size: 1cqi) {
  .rha-hero[data-rha-hero] .rha-layout {width:calc(100% - 34px);gap:15px}
  .rha-hero[data-rha-hero] .rha-layout .rha-copy > h1 {font-size:var(--rha-heading-fit,clamp(24px,4.2vw,53px))}
}
