/* Encountri portfolio hierarchy refinement · v330
   Calm, legible programme identity across homepage, listings and Rwanda hero.
   Never affects the Nigeria/Ghana programme detail page curricula. */

/* Distinct, sentence-case ISEP category. The subject remains the only card headline. */
body.home-page #expeditions .country-featured-nigeria .programme-type,
body.home-page #expeditions .country-featured-ghana .programme-type{
  display:block!important;
  font:600 clamp(13px,1.12vw,15px)/1.48 'DM Sans',sans-serif!important;
  letter-spacing:-.005em!important;
  text-transform:none!important;
  margin:0 0 13px!important;
  color:#165b54!important;
}
body.home-page #expeditions .country-featured-nigeria h3,
body.home-page #expeditions .country-featured-ghana h3{
  margin-top:0!important;
  margin-bottom:16px!important;
}
body.home-page #expeditions .country-featured-nigeria .isep-heading-subject,
body.home-page #expeditions .country-featured-ghana .isep-heading-subject{
  display:block!important;
  text-transform:none!important;
}
/* Strong, equally readable date and place. The city gets its own emphasis. */
body.home-page #expeditions .country-featured-nigeria .country-meta,
body.home-page #expeditions .country-featured-ghana .country-meta{
  display:flex!important;
  align-items:baseline!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  column-gap:22px!important;
  row-gap:6px!important;
  padding-bottom:16px!important;
  margin-bottom:19px!important;
  border-bottom:1px solid #9bbfb2!important;
}
body.home-page #expeditions .country-featured-nigeria .country-meta span,
body.home-page #expeditions .country-featured-ghana .country-meta span{
  display:inline-block!important;
  color:#245c54!important;
  font:700 clamp(12px,1vw,14px)/1.45 'DM Sans',sans-serif!important;
  letter-spacing:.025em!important;
  text-transform:none!important;
}
body.home-page #expeditions .country-featured-nigeria .country-meta .country-city,
body.home-page #expeditions .country-featured-ghana .country-meta .country-city{
  color:#083e39!important;
  font:800 clamp(16px,1.38vw,19px)/1.32 'Manrope',sans-serif!important;
  letter-spacing:-.025em!important;
  text-transform:none!important;
  text-align:right;
}
/* The Quorum's actual delivery format now has the same visibility as ISEP category labels. */
body.home-page #leadership-quorum .quorum-cover-programme-kind{
  display:block;
  font:700 clamp(17px,1.53vw,21px)/1.35 'Manrope',sans-serif!important;
  letter-spacing:-.025em!important;
  color:#0a4842!important;
  margin:0 0 13px!important;
}
body.home-page #leadership-quorum .quorum-cover-status{
  margin-bottom:11px!important;
}

/* Programme directory: city first, clear identity, then subject. */
body.programmes-page .pr-confirmed-grid .destination-card .card-status{
  font:700 clamp(11px,1vw,13px)/1.5 'DM Sans',sans-serif!important;
  letter-spacing:.03em!important;
  text-transform:none!important;
  color:#3a675d!important;
  margin:0 0 8px!important;
}
body.programmes-page .pr-confirmed-grid .destination-card .destination-city{
  display:block!important;
  font:800 clamp(20px,2.05vw,25px)/1.2 'Manrope',sans-serif!important;
  letter-spacing:-.035em!important;
  text-transform:none!important;
  color:#0c4c46!important;
  margin:0 0 17px!important;
}
body.programmes-page .pr-confirmed-grid .destination-card .programme-kind{
  display:block;
  font:600 clamp(13px,1.12vw,15px)/1.45 'DM Sans',sans-serif!important;
  letter-spacing:-.003em!important;
  text-transform:none!important;
  color:#237166!important;
  margin:0 0 10px!important;
}
body.programmes-page .pr-confirmed-grid .destination-card h3{
  margin-top:0!important;
  margin-bottom:18px!important;
}
body.programmes-page .pr-quorum .pr-residency-kind{
  display:block;
  font:700 clamp(16px,1.6vw,21px)/1.35 'Manrope',sans-serif!important;
  letter-spacing:-.018em!important;
  color:#0b665d!important;
  margin:0 0 8px!important;
}
body.programmes-page .pr-quorum .pr-quorum-logo{margin-bottom:17px!important}

/* The Rwanda landing hero identifies the experience without a duplicate label. */
body.quorum-page .q-hero h1 .q-hero-heading-intro{
  display:block!important;
  font:600 clamp(19px,1.9vw,26px)/1.37 'Figtree',sans-serif!important;
  letter-spacing:-.01em!important;
  color:#f5e3a1!important;
  text-transform:none!important;
  margin:0 0 11px!important;
}

/* Tablet and mobile: maintain the city hierarchy and protect contrast. */
@media(max-width:900px){
  body.home-page #expeditions .country-featured-nigeria .country-meta .country-city,
  body.home-page #expeditions .country-featured-ghana .country-meta .country-city{
    font-size:17px!important;
  }
}
@media(max-width:700px){
  body.home-page #expeditions .country-featured-nigeria .country-meta,
  body.home-page #expeditions .country-featured-ghana .country-meta{
    row-gap:7px!important;
    margin-bottom:16px!important;
    padding-bottom:13px!important;
    align-items:baseline!important;
  }
  body.home-page #expeditions .country-featured-nigeria .country-meta span,
  body.home-page #expeditions .country-featured-ghana .country-meta span{
    font-size:11px!important;
    letter-spacing:0!important;
  }
  body.home-page #expeditions .country-featured-nigeria .country-meta .country-city,
  body.home-page #expeditions .country-featured-ghana .country-meta .country-city{
    font-size:16px!important;line-height:1.32!important;
  }
  body.home-page #expeditions .country-featured-nigeria .programme-type,
  body.home-page #expeditions .country-featured-ghana .programme-type{
    font-size:13px!important;
    margin-bottom:11px!important;
    line-height:1.5!important;
  }
  body.home-page #leadership-quorum .quorum-cover-programme-kind{
    font-size:17px!important;
    line-height:1.35!important;
    margin:0 0 9px!important;
  }
  body.programmes-page .pr-confirmed-grid .destination-card .destination-city{
    font-size:21px!important;margin:2px 0 13px!important;
  }
  body.programmes-page .pr-confirmed-grid .destination-card .programme-kind{
    font-size:13px!important;
    line-height:1.5!important;
  }
  body.programmes-page .pr-quorum .pr-residency-kind{
    font-size:17px!important;
  }
  body.quorum-page .q-hero h1 .q-hero-heading-intro{
    font-size:19px!important;line-height:1.4!important;
  }
}
@media(max-width:450px){
  body.home-page #expeditions .country-featured-nigeria .country-meta,
  body.home-page #expeditions .country-featured-ghana .country-meta{
    justify-content:flex-start!important;
  }
  body.home-page #expeditions .country-featured-nigeria .country-meta .country-city,
  body.home-page #expeditions .country-featured-ghana .country-meta .country-city{
    text-align:left!important;
  }
}
/* Ghana mobile uses the established faded-mint card, so all card text needs dark contrast. */
@media(max-width:700px){
  body.home-page #expeditions .country-featured-ghana .country-meta{
    border-bottom-color:#a7c3b8!important;
  }
  body.home-page #expeditions .country-featured-ghana .country-meta span{
    color:#245c54!important;
  }
  body.home-page #expeditions .country-featured-ghana .country-meta .country-city{
    color:#083e39!important;
  }
  body.home-page #expeditions .country-featured-ghana .programme-type{
    color:#165b54!important;
  }
}
/* Ghana's longer subject needs a controlled editorial scale on the homepage. */
@media(min-width:1051px){
  body.home-page #expeditions .country-featured-ghana h3{
    font-size:clamp(34px,3.45vw,50px)!important;
    line-height:1.095!important;
    letter-spacing:-.047em!important;
  }
}
@media(max-width:700px){
  /* Correct the inherited white text on Ghana's faded-mint mobile panel. */
  body.home-page #expeditions .country-featured-ghana h3{
    font:700 clamp(29px,7.8vw,38px)/1.13 'Manrope',sans-serif!important;
    letter-spacing:-.047em!important;
    color:#083f3c!important;
    margin:0 0 15px!important;
  }
  body.home-page #expeditions .country-featured-ghana .isep-heading-subject{
    color:#083f3c!important;
    font:inherit!important;
    line-height:inherit!important;
  }
  body.home-page #expeditions .country-featured-ghana .programme-topic{
    font-size:clamp(14px,3.9vw,16px)!important;
    line-height:1.42!important;
  }
}