/* Match the published Malta retirement signature hero and both share rails. */
#nbf-malta-page #antigua-analyse {
  --navy: #202134;
  --deep: #202134;
  --antigua-shell: min(1280px, calc(100% - 96px));

  & .hero { display: block; background: #202134; color: white; border-bottom: 1px solid #454453; }
  & .hero-grid {
    width: var(--antigua-shell); margin-inline: auto; display: grid; gap: 0;
    grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto; align-items: stretch; min-height: 472px;
  }
  & .hero-copy {
    min-width: 0; align-self: stretch; display: flex; flex-direction: column;
    justify-content: center; padding: clamp(30px, 3.2vw, 48px) clamp(19px, 3.22vw, 44px) 15px 0;
  }
  & .hero .overline, & .share-label {
    display: block; font-size: 11px; line-height: 1.4; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: #cfac84;
  }
  & .hero .overline { margin: 0 0 13px; }
  & .hero h1 {
    max-width: none; margin: 0 0 21px; font-family: var(--nbf-font-display);
    font-size: clamp(29px, 3.1vw, 46px) !important; font-weight: 500; line-height: 1.08;
    letter-spacing: -.022em; text-wrap: pretty; hyphens: none; overflow-wrap: normal; word-break: normal;
  }
  & .hero .dek { max-width: 63ch; margin: 0 0 21px; color: #eceaf0; font-size: clamp(16px, 1.44vw, 19px); line-height: 1.55; }
  & .hero .byline { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; font-size: 12px; line-height: 1.55; color: #d2ced8; }
  & .hero .byline a { color: #f1d6b6; font-weight: 400; text-decoration-color: currentColor; }
  & .hero-image { grid-column: 2; grid-row: 1 / 3; margin: 0; min-height: 0; }
  & .hero-image img { filter: none; object-fit: cover; object-position: 52% 50%; }
  & .hero-image::after { background: linear-gradient(90deg,#2021348c,transparent 15%),linear-gradient(0deg,#161726aa,transparent 21%); }
  & .hero-image figcaption { inset-inline: 14px; bottom: 14px; max-width: none; color: white; text-align: end; font-size: 11px; }
  & .fact-bar { background: #292a3f; }
  & .share { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 8px; min-width: 0; }
  & .share--top { grid-column: 1; grid-row: 2; margin: 0 clamp(19px,3.22vw,44px) clamp(24px,3.15vw,43px) 0; border-top: 1px solid #ffffff23; padding-top: 12px; }
  & .share--bottom { margin: 0; }
  & .share--bottom .share-label { color: #806246; }
  & .closing-tools > .share--bottom { grid-column: 1 / -1; width: 100%; padding-block: 12px 24px; border-top: 1px solid #d0c9c0; }
  & .share-actions, & .share-channels, & .share-utilities { display: grid; gap: 5px; min-width: 0; }
  & .share-channels, & .share-utilities { grid-template-columns: repeat(4,minmax(0,1fr)); }
  & .share-actions :is(a,button) {
    display: flex; justify-content: center; align-items: center; min-width: 0; min-height: 44px;
    margin: 0; padding: 7px 5px; border: 1px solid #c8c1b7; border-radius: 0; background: transparent; color: #202134;
    text-decoration: none; font: 500 12px/1.25 var(--nbf-font-text); text-align: center; text-wrap: balance; cursor: pointer;
  }
  & .share--top .share-actions :is(a,button) { min-height: 34px; border-color: #ffffff39; color: #f5f3f1; }
  & .share .share-channels [data-channel] { border-color: transparent; color: white; }
  & .share-channels [data-channel="LinkedIn"] { background: #175983; border-color: #567f9b; }
  & .share-channels [data-channel="XING"] { background: #1b615d; border-color: #5d8c83; }
  & .share-channels [data-channel="X"] { background: #16171a; border-color: #767680; }
  & .share-channels [data-channel="WhatsApp"] { background: #1a6155; border-color: #528777; }
  & .share-actions :is(a,button):hover { filter: brightness(.93); border-color: #b08e6b; }
  & .share-status, & [data-malta-format-status] { font-size: 12px; line-height: 1.3; }
  & [data-malta-format-status]:empty { display: none; }
  & .nbf-malta-formats { min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; font-size: 16px; }
  & .nbf-malta-formats summary { min-height: 24px; padding: 3px 0; color: inherit; font-size: inherit; }
  & .share :focus-visible { outline: 2px solid #b08e6b; outline-offset: 2px; }
}

@media (max-width: 1099px) {
  #nbf-malta-page #antigua-analyse { --antigua-shell: calc(100% - 66px); }
  #nbf-malta-page #antigua-analyse .hero-grid { min-height: 435px; }
  #nbf-malta-page #antigua-analyse .hero h1 { font-size: 36px !important; }
}
@media (max-width: 900px) {
  #nbf-malta-page #antigua-analyse .hero h1 { font-size: 32px !important; }
}
@media (max-width: 850px) {
  #nbf-malta-page #antigua-analyse { --antigua-shell: calc(100% - 48px); }
  #nbf-malta-page #antigua-analyse .share--top .share-actions :is(a,button) { min-height: 40px; }
  #nbf-malta-page #antigua-analyse .hero-grid { min-height: 405px; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); }
}
@media (max-width: 600px) {
  #nbf-malta-page #antigua-analyse { --antigua-shell: calc(100% - 36px); }
  #nbf-malta-page #antigua-analyse .hero-grid { display: block; min-height: 0; }
  #nbf-malta-page #antigua-analyse .hero-copy { padding: 24px 0 19px; }
  #nbf-malta-page #antigua-analyse .hero h1 { font-size: 28px !important; line-height: 1.1; margin-bottom: 14px; }
  #nbf-malta-page #antigua-analyse .hero .dek { font-size: 16px; line-height: 1.45; margin-bottom: 13px; }
  #nbf-malta-page #antigua-analyse .hero-image { aspect-ratio: 3/2; height: auto; min-height: 0; }
  #nbf-malta-page #antigua-analyse .hero-image figcaption { bottom: 8px; inset-inline: 9px; font-size: 10px; }
  #nbf-malta-page #antigua-analyse .share--top { margin: 17px 0 19px; }
  #nbf-malta-page #antigua-analyse .share-utilities { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #nbf-malta-page #antigua-analyse .share--top .share-actions :is(a,button) { min-height: 44px; }
}
@media (max-width: 360px) {
  #nbf-malta-page #antigua-analyse .hero h1 { font-size: 25px !important; }
}
@media (max-width: 350px) {
  #nbf-malta-page #antigua-analyse { --antigua-shell: calc(100% - 28px); }
  #nbf-malta-page #antigua-analyse .share .share-actions > [data-share-channels] { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
