/* Encountri brand-flyer layout translation: MOBILE HERO + LEADERSHIP QUORUM.
   Informed by supplied Encountri flyers: asymmetrical portrait/text composition,
   restrained gold corner marks, teal field, oversized editorial type, faint brand letter.
   Scoped to mobile homepage; preserve original HTML/SEO. */
@media(max-width:700px){
  body.home-page main>.hero{
    display:block!important;
    position:relative!important;
    isolation:isolate!important;
    height:min(820px,100svh)!important;
    min-height:700px!important;
    max-height:none!important;
    padding:0!important;
    background:linear-gradient(145deg,#075f5c,#0b7a78)!important;
    overflow:hidden!important;
    color:#fff!important;
  }
  body.home-page .hero .hero-bg,
  body.home-page .hero.hero-scroll-active .hero-bg{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    overflow:hidden!important;
    background:transparent!important;
    transform:none!important;
    animation:none!important;
    z-index:0!important;
  }
  body.home-page .hero .hero-bg::before,
  body.home-page .hero.hero-scroll-active .hero-bg::before{
    content:""!important;
    position:absolute!important;
    display:block!important;
    inset:0!important;
    background-image:url('/images/encountri-services-hero-optimised.webp')!important;
    background-repeat:no-repeat!important;
    background-size:cover!important;
    background-position:49% 43%!important;
    opacity:1!important;
    filter:saturate(.92) contrast(1.035)!important;
    transform:none!important;
    animation:none!important;
  }
  body.home-page .hero .hero-bg::after,
  body.home-page .hero.hero-scroll-active .hero-bg::after{
    content:""!important;
    position:absolute!important;
    display:block!important;
    inset:0!important;
    background:linear-gradient(90deg,#064a47 0%,rgba(6,74,71,.97) 28%,rgba(6,74,71,.53) 55%,rgba(6,74,71,.06) 88%),
      linear-gradient(0deg,#064a47 0%,rgba(6,74,71,.09) 35%,rgba(6,74,71,.32) 100%)!important;
    z-index:1!important;
    pointer-events:none!important;
  }
  body.home-page .hero .hero-second-photo,
  body.home-page .hero.hero-scroll-active .hero-second-photo{display:none!important}
  body.home-page main>.hero::before{
    content:"e"!important;
    display:block!important;
    position:absolute!important;
    top:17%!important;
    right:-5%!important;
    left:auto!important;
    z-index:1!important;
    width:auto!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:none!important;
    font:800 clamp(210px,63vw,330px)/1 'Manrope',sans-serif!important;
    color:rgba(189,232,220,.11)!important;
    text-shadow:none!important;
    pointer-events:none!important;
  }
  body.home-page main>.hero::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    top:18%!important;
    left:6.5%!important;
    right:auto!important;
    bottom:auto!important;
    width:41px!important;
    height:39px!important;
    background:transparent!important;
    border-left:1px solid rgba(245,227,161,.85)!important;
    border-top:1px solid rgba(245,227,161,.85)!important;
    border-radius:22px 0 0 0!important;
    z-index:3!important;
    pointer-events:none!important;
  }
  body.home-page .hero .hero-content,
  body.home-page .hero.hero-scroll-active .hero-content{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
    position:absolute!important;
    top:27%!important;
    left:6.5%!important;
    right:auto!important;
    bottom:auto!important;
    width:65%!important;
    max-width:300px!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    transform:none!important;
    animation:none!important;
    text-align:left!important;
    z-index:3!important;
  }
  body.home-page .hero .hero-content::before{
    content:"EXECUTIVE LEARNING  /  AFRICA"!important;
    position:static!important;
    display:block!important;
    margin:0 0 23px!important;
    padding:0!important;
    background:none!important;
    border:0!important;
    color:#f5e3a1!important;
    font:700 10px/1.45 'DM Sans',sans-serif!important;
    letter-spacing:.11em!important;
  }
  body.home-page .hero h1,
  body.home-page .hero.hero-scroll-active h1{
    display:block!important;
    margin:0 0 17px!important;
    padding:0!important;
    width:100%!important;
    font:700 clamp(35px,9.15vw,48px)/1.09 'Manrope',sans-serif!important;
    letter-spacing:-.063em!important;
    color:#fff!important;
    text-shadow:0 1px 8px rgba(3,48,45,.23)!important;
    text-wrap:normal!important;
    text-align:left!important;
  }
  body.home-page .hero h1 span{color:#f5e3a1!important}
  body.home-page .hero .hero-copy,
  body.home-page .hero .hero-copy span{
    color:#ecf6f1!important;
    font:400 12px/1.6 'DM Sans',sans-serif!important;
    max-width:28ch!important;
    text-align:left!important;
  }
  body.home-page .hero .hero-copy{margin:0 0 22px!important}
  body.home-page .hero .hero-actions{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:8px!important;
    width:100%!important;
    max-width:260px!important;
    margin:0!important;
    padding:0!important;
  }
  body.home-page .hero .hero-actions .button-yellow{
    display:inline-flex!important;
    width:100%!important;
    min-height:48px!important;
    justify-content:center!important;
    background:#f5e3a1!important;
    color:#084541!important;
    font:700 12px/1.3 'DM Sans',sans-serif!important;
    padding:14px 12px!important;
    border:0!important;
    border-radius:0!important;
  }
  body.home-page .hero .hero-actions .button-outline{
    width:auto!important;
    min-height:43px!important;
    display:inline-flex!important;
    justify-content:flex-start!important;
    padding:9px 0!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    border-bottom:1px solid rgba(245,243,238,.72)!important;
    font:600 11px/1.35 'DM Sans',sans-serif!important;
  }
  body.home-page .hero .hero-foot{display:none!important}

  /* At the narrowest widths, keep the person visible and avoid overlong text. */
  body.home-page #leadership-quorum .quorum-home-heading{
    padding:0 7% 31px!important;
  }
  body.home-page #leadership-quorum .quorum-editorial-cover{
    position:relative!important;
    border:0!important;
  }
  body.home-page #leadership-quorum .quorum-cover-city{
    height:350px!important;
    min-height:350px!important;
  }
  body.home-page #leadership-quorum .quorum-cover-city>img{
    object-position:51% 45%!important;
  }
  body.home-page #leadership-quorum .quorum-cover-city::after{
    content:""!important;
    position:absolute!important;
    right:6%!important;
    top:13%!important;
    height:35px!important;
    width:43px!important;
    border-right:1px solid rgba(245,227,161,.9)!important;
    border-top:1px solid rgba(245,227,161,.9)!important;
    border-radius:0 19px 0 0!important;
    z-index:3!important;
    pointer-events:none!important;
  }
  body.home-page #leadership-quorum .quorum-cover-brand{
    bottom:32px!important;
  }
  body.home-page #leadership-quorum .quorum-cover-session{
    grid-template-columns:56% 44%!important;
    min-height:155px!important;
    height:155px!important;
  }
  body.home-page #leadership-quorum .quorum-cover-session>img,
  body.home-page #leadership-quorum .quorum-cover-date{height:155px!important}
  body.home-page #leadership-quorum .quorum-cover-date{
    background:#f5e3a1!important;
  }
}
@media(max-width:375px){
  body.home-page .hero .hero-content,
  body.home-page .hero.hero-scroll-active .hero-content{
    width:69%!important;
    top:25%!important;
  }
  body.home-page .hero h1,
  body.home-page .hero.hero-scroll-active h1{
    font-size:clamp(32px,9vw,38px)!important;
  }
  body.home-page .hero .hero-bg::before,
  body.home-page .hero.hero-scroll-active .hero-bg::before{
    background-position:49% 43%!important;
    background-size:cover!important;
  }
}
@media(min-width:701px) and (max-width:1100px){
  body.home-page #leadership-quorum .quorum-cover-city::after{display:none!important}
}