/* Scoped inner-page image layout; homepage and form styling remain separate. */
.page-hero.ebu-page-hero3 {
  padding: 34px 0;
  background: var(--ebu3-navy, #112b42);
}

.ebu-page-hero3-inner {
  display: grid;
  align-items: center;
  gap: 24px;
}

.ebu-page-hero3-copy {
  min-width: 0;
}

.ebu-page-hero3-copy h1 {
  margin: 0 0 12px;
  line-height: 1.14;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.ebu-page-hero3-copy > :last-child {
  margin-bottom: 0;
}

.ebu-page-hero3 .breadcrumb-wrap,
.ebu-page-hero3 .rank-math-breadcrumb {
  margin: 0 0 16px;
  color: #d6e1e9;
  font-size: .82rem;
  line-height: 1.6;
}

.ebu-page-hero3 .rank-math-breadcrumb p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.ebu-page-hero3 .breadcrumb-wrap a,
.ebu-page-hero3 .rank-math-breadcrumb a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ebu-page-hero3 .breadcrumb-wrap a:focus-visible,
.ebu-page-hero3 .rank-math-breadcrumb a:focus-visible {
  outline: 3px solid #ffba8c;
  outline-offset: 4px;
}

.ebu-page-media3 {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.ebu-page-media3 picture {
  display: block;
}

.ebu-page-media3 .ebu-page-image3 {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: #e9e5df;
}

.ebu-page-media3 figcaption {
  margin-top: 8px;
  color: #d6e1e9;
  font-size: .76rem;
  line-height: 1.5;
}

.ebu-page-content3 {
  padding-top: 48px;
}

.page-hero.ebu-page-hero3--compact {
  padding-top: 24px;
  padding-bottom: 24px;
}

.ebu-page-hero3--compact .ebu-page-media3 .ebu-page-image3 {
  max-height: 180px;
}

.ebu-page-content3--compact {
  padding-top: 28px;
}

@media (min-width: 800px) {
  .ebu-page-hero3--with-image .ebu-page-hero3-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(32px, 4vw, 64px);
  }

  .ebu-page-media3 {
    max-width: 440px;
    justify-self: end;
  }

  .ebu-page-media3 .ebu-page-image3 {
    max-height: none;
  }

  .ebu-page-hero3--compact .ebu-page-media3 {
    max-width: 330px;
  }

  .ebu-page-hero3--compact .ebu-page-media3 .ebu-page-image3 {
    max-height: 220px;
  }
}
