/* MailBridge hero study, based on the accepted institutional page. */
.ap-mailbridge .mb-hero-study { position: relative; isolation: isolate; color: #fff; background: #080808; padding-block: var(--space-7); }
.mb-hero-art { position: absolute; inset: 0; z-index: -1; margin: 0; pointer-events: none; }
.mb-hero-scene { position: absolute; right: 0; bottom: 0; width: min(100%, calc(var(--mb-hero-height, 100dvh) * 1672 / 941)); aspect-ratio: 1672 / 941; margin: 0; }
.mb-hero-art picture { display: block; width: 100%; height: 100%; }
.mb-hero-y2g { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }
.mb-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #080808 0%, rgba(8, 8, 8, .95) 25%, rgba(8, 8, 8, .7) 35%, rgba(8, 8, 8, .2) 45%, rgba(8, 8, 8, 0) 57%); }
.mb-hero-context { position: absolute; inset: 0; z-index: 1; color: #e5f1ef; font-family: "Consolas", "Liberation Mono", monospace; font-size: clamp(14px, 1.25vw, 18px); font-weight: 700; line-height: 1.4; letter-spacing: .06em; text-shadow: 0 1px 5px #000; }
.mb-hero-context-labels { position: absolute; top: 58.5%; left: 37.5%; width: 48.5%; display: grid; grid-template-columns: 42% 8% 50%; text-align: center; }
.mb-hero-context-labels > span:first-child { grid-column: 1; }
.mb-hero-context-labels > span:last-child { grid-column: 3; }
.mb-hero-date { position: absolute; top: 77%; left: 37.5%; width: 48.5%; font-size: clamp(18px, 1.65vw, 24px); letter-spacing: .14em; text-align: center; }
.mb-hero-layout { display: flex; align-items: center; }
.mb-hero-copy { width: 44%; max-width: 440px; min-width: 0; }
.mb-hero-logo { display: block; width: 300px; max-width: 100%; height: auto; margin-bottom: var(--space-6); }
.ap-mailbridge .mb-hero-study #mb-hero-title { margin: 0; color: #fff; font-size: var(--type-display); font-weight: var(--weight-semibold); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
.mb-hero-study #mb-hero-title > span { display: block; }
.mb-hero-study #mb-hero-title > span:last-child { color: #c4432a; }
.ap-mailbridge .mb-hero-study .mb-hero-lead { max-width: 490px; margin: var(--space-5) 0 0; color: #bcbcbc; font-size: var(--type-lead); line-height: var(--leading-lead); }
.mb-hero-conversion { display: inline-grid; grid-template-columns: minmax(0, 1fr); width: max-content; max-width: 100%; margin-top: var(--space-5); }
.mb-hero-actions { display: block; }
.mb-hero-actions a { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--cta-height); font-size: var(--type-body); font-weight: var(--weight-medium); line-height: 1.4; }
.mb-hero-primary { width: 100%; padding: var(--space-2) var(--space-3); border-radius: 999px; color: #080808; background: #fff; }
.mb-hero-primary:hover { background: #dedede; }
.mb-hero-study a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.ap-mailbridge .mb-hero-study .mb-hero-offer { margin: var(--space-3) 0 0; color: #fff; font-size: var(--type-subheading); font-weight: var(--weight-semibold); line-height: 1.3; text-align: left; }
.ap-mailbridge .mb-hero-study .mb-hero-partner { margin: var(--space-1) 0 0; font-size: 12px; line-height: 1.5; text-align: left; }
.mb-hero-partner a { display: inline-flex; align-items: center; min-height: 24px; color: #bcbcbc; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 901px) {
  .mb-hero-date { top: var(--mb-date-centre, 77%); transform: translateY(-50%); }
  .ap-mailbridge .mb-hero-study { --mb-hero-height: calc(100dvh - var(--mb-header-height, 73px)); --mb-hero-inset: clamp(24px, calc(var(--mb-hero-height) * .065), 64px); height: var(--mb-hero-height); padding-block: 0; }
  .mb-hero-layout { height: 100%; min-height: 0; padding-block: var(--mb-hero-inset); }
  .ap-mailbridge .mb-hero-study #mb-hero-title { font-size: clamp(36px, min(5vw, calc(var(--mb-hero-height) * .12)), 64px); }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .ap-mailbridge .mb-hero-study { position: sticky; top: var(--mb-header-height, 73px); z-index: 0; }
  .ap-mailbridge main > .mb-hero-study ~ section { position: relative; z-index: 1; }
  .ap-mailbridge main > .mb-hero-study ~ section:not(.mb-support) { background: var(--background); }
}
@media (min-width: 901px) and (max-height: 650px) {
  .mb-hero-context { font-size: 14px; }
  .mb-hero-date { font-size: 18px; }
  .mb-hero-logo { width: 230px; margin-bottom: var(--space-4); }
  .ap-mailbridge .mb-hero-study .mb-hero-lead { margin-top: var(--space-4); font-size: 17px; line-height: 1.5; }
  .mb-hero-conversion { margin-top: var(--space-4); }
  .mb-hero-actions a { font-size: 14px; }
  .mb-hero-primary { padding-inline: var(--space-3); }
  .ap-mailbridge .mb-hero-study .mb-hero-offer { margin-top: var(--space-2); font-size: 20px; }
}
@media (min-width: 901px) and (max-height: 520px) {
  .ap-mailbridge .mb-hero-study { --mb-hero-inset: 12px; }
  .mb-hero-logo { width: 160px; margin-bottom: var(--space-2); }
  .ap-mailbridge .mb-hero-study #mb-hero-title { font-size: clamp(30px, calc(var(--mb-hero-height) * .09), 40px); line-height: 1.04; }
  .ap-mailbridge .mb-hero-study .mb-hero-lead { margin-top: var(--space-2); font-size: 15px; line-height: 1.45; }
  .mb-hero-conversion { margin-top: var(--space-2); }
  .mb-hero-actions a { min-height: var(--cta-height-compact); font-size: 13px; }
  .mb-hero-primary { padding-inline: var(--space-2); }
}
@media (width < 901px) {
  .ap-mailbridge .mb-hero-study { padding-block: var(--space-6); }
  .mb-hero-layout { display: block; }
  .mb-hero-copy { width: 100%; max-width: 580px; }
  .mb-hero-art { position: relative; width: min(100%, 640px); height: auto; aspect-ratio: 1448 / 1086; margin: var(--space-3) auto calc(-1 * var(--space-6)); z-index: 0; }
  .mb-hero-scene { width: 100%; height: 100%; aspect-ratio: 1448 / 1086; }
  .mb-hero-y2g { object-position: center bottom; }
  .mb-hero-art::after { background: linear-gradient(180deg, #080808 0%, rgba(8, 8, 8, 0) 20%); }
  .mb-hero-context-labels { left: 18%; width: 62%; }
  .mb-hero-date { left: 18%; width: 62%; }
  .mb-hero-logo { width: 260px; margin-bottom: var(--space-5); }
}
@media (max-width: 480px) {
  .ap-mailbridge .mb-hero-study { padding-block: var(--space-5); }
  .mb-hero-art { margin-bottom: calc(-1 * var(--space-5)); }
  .mb-hero-logo { width: 220px; margin-bottom: var(--space-4); }
  .ap-mailbridge .mb-hero-study #mb-hero-title { font-size: clamp(36px, 10vw, 44px); }
  .ap-mailbridge .mb-hero-study .mb-hero-lead { margin-top: var(--space-4); font-size: 17px; }
  .mb-hero-conversion { display: grid; margin: var(--space-4) auto 0; }
  .mb-hero-actions a { font-size: 15px; }
  .ap-mailbridge .mb-hero-study .mb-hero-offer { font-size: var(--type-subheading); }
  .ap-mailbridge .mb-hero-study .mb-hero-offer, .ap-mailbridge .mb-hero-study .mb-hero-partner { text-align: center; }
  .mb-hero-context { font-size: 12px; letter-spacing: .025em; }
  .mb-hero-date { font-size: 16px; letter-spacing: .08em; }
}
