/* Encountri homepage: programme editorial layout
   Scoped to homepage; leaves SEO headings, metadata, and other routes intact. */
body.home-page #expeditions{
  background:#f7f5ef;
  padding-top:88px;
  padding-bottom:110px;
}
body.home-page #expeditions .section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,410px);
  gap:6%;
  align-items:end;
  margin-bottom:42px;
}
body.home-page #expeditions .section-head h2{
  font-size:clamp(40px,4.9vw,68px);
  line-height:1.06;
  letter-spacing:-.055em;
  font-weight:700;
  max-width:850px;
}
body.home-page #expeditions .section-head .section-intro{
  max-width:410px;
  font-size:15px;
  line-height:1.75;
  color:#45615a;
}
body.home-page #expeditions .home-programme-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:23px;
  align-items:stretch;
  max-width:1320px;
  margin-left:auto;
  margin-right:auto;
}
body.home-page #expeditions .country{
  min-width:0;
  border:1px solid #d6e3da;
  background:#e9efeb;
  box-shadow:none;
  transform:none;
  display:flex;
  flex-direction:column;
}
body.home-page #expeditions .country:hover{
  box-shadow:0 13px 25px rgba(10,60,55,.07);
  transform:translateY(-3px);
}
body.home-page #expeditions .country .country-photo{
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  min-height:0;
  flex:none;
  background-size:cover;
  background-position:center;
}
body.home-page #expeditions .country .country-info{
  padding:27px 27px 30px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  flex:1;
  min-width:0;
}
body.home-page #expeditions .country .country-meta{
  color:#377269;
  font-size:10px;
  line-height:1.45;
  letter-spacing:.1em;
  font-weight:700;
  gap:10px;
  width:100%;
}
body.home-page #expeditions .country .country-meta span:last-child{
  text-align:right;
  color:#718880;
}
body.home-page #expeditions .country h3{
  font:700 clamp(26px,2.6vw,35px)/1.12 'Manrope',sans-serif;
  letter-spacing:-.045em;
  margin:15px 0 10px;
}
body.home-page #expeditions .country .country-info>p:not(.country-question){
  font:400 13px/1.6 'DM Sans',sans-serif;
  color:#5e726b;
  margin:0 0 10px;
}
body.home-page #expeditions .country .country-question{
  font:400 14px/1.7 'DM Sans',sans-serif;
  color:#294c45;
  margin:12px 0 25px;
}
body.home-page #expeditions .country .text-link{
  display:inline-flex;
  align-items:center;
  width:auto;
  margin-top:auto;
  padding-bottom:8px;
  border-bottom:1px solid #0b7a78;
  color:#093f3d;
  font-size:13px;
  line-height:1.35;
  font-weight:700;
  text-decoration:none;
}
body.home-page #expeditions .country .text-link span{display:none!important}
/* Featured, confirmed Accra programme */
body.home-page #expeditions .country-featured-ghana{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,47%) minmax(0,53%);
  background:#dfebe5;
  min-height:495px;
  overflow:hidden;
  border:0;
  box-shadow:none;
}
body.home-page #expeditions .country-featured-ghana .country-photo{
  height:100%;
  min-height:495px;
  aspect-ratio:auto;
  background:none!important;
  position:relative;
  overflow:hidden;
}
body.home-page #expeditions .country-featured-ghana .country-photo img{
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  object-fit:cover;
  object-position:50% 45%;
  transition:transform .5s ease;
}
body.home-page #expeditions .country-featured-ghana:hover .country-photo img{
  transform:scale(1.025);
}
body.home-page #expeditions .country-featured-ghana .country-info{
  background:#dfebe5;
  justify-content:center;
  padding:48px clamp(30px,5vw,75px);
}
body.home-page #expeditions .country-featured-ghana .country-meta{
  color:#0b7a78;
  border-bottom:1px solid #b2cec1;
  padding-bottom:17px;
  margin-bottom:17px;
}
body.home-page #expeditions .country-featured-ghana .programme-type{
  font:700 11px/1.4 'DM Sans',sans-serif!important;
  letter-spacing:.13em;
  color:#34796e!important;
  margin:2px 0 12px!important;
}
body.home-page #expeditions .country-featured-ghana h3{
  font:700 clamp(38px,4vw,62px)/1.02 'Manrope',sans-serif;
  color:#083f3c;
  letter-spacing:-.057em;
  margin:0 0 12px;
}
body.home-page #expeditions .country-featured-ghana .programme-topic{
  font:600 clamp(18px,1.7vw,24px)/1.38 'Manrope',sans-serif!important;
  letter-spacing:-.035em;
  color:#123f3b!important;
  margin:0 0 12px!important;
}
body.home-page #expeditions .country-featured-ghana .programme-location{
  font:600 12px/1.6 'DM Sans',sans-serif!important;
  color:#50786f!important;
  margin:0 0 8px!important;
}
body.home-page #expeditions .country-featured-ghana .country-question{
  max-width:500px;
  font:400 14px/1.65 'DM Sans',sans-serif;
  margin:8px 0 12px;
}
body.home-page #expeditions .country-featured-ghana .programme-academic{
  font:400 12px/1.65 'DM Sans',sans-serif!important;
  color:#496a62!important;
  max-width:490px;
  margin:0 0 26px!important;
}
body.home-page #expeditions .country-featured-ghana .text-link{
  margin-top:0;
  background:#0b7a78;
  padding:14px 20px;
  border:1px solid #0b7a78;
  color:white;
  font-weight:700;
  width:max-content;
  max-width:100%;
  transition:background .2s ease;
}
body.home-page #expeditions .country-featured-ghana .text-link:hover{
  background:#075c59;
  border-color:#075c59;
}
/* Separate the confirmed programme from the exploratory destinations */
body.home-page #expeditions .home-planned-programmes{
  grid-column:1/-1;
  margin-top:30px;
  padding:0 0 17px;
  border-bottom:1px solid #bfd1c8;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:20px;
}
body.home-page #expeditions .home-planned-programmes span{
  color:#0b6965;
  letter-spacing:.14em;
  font:700 11px/1.4 'DM Sans',sans-serif;
}
body.home-page #expeditions .home-planned-programmes p{
  margin:0;
  font:400 13px/1.5 'DM Sans',sans-serif;
  color:#5a7168;
}
/* Small editorial improvements, protecting existing site copy and interactions */
@media (min-width:761px){
  body.home-page .quorum-home-spotlight{padding-bottom:55px!important}
  body.home-page .quorum-home-spotlight .quorum-home-heading{margin-bottom:34px}
  body.home-page .quorum-home-spotlight .home-quorum-feature{
    box-shadow:none!important;
    border:1px solid rgba(10,77,70,.12)
  }
  body.home-page #services .section-head{margin-bottom:45px}
}
@media (max-width:960px) and (min-width:701px){
  body.home-page #expeditions .section-head{grid-template-columns:1fr;gap:15px}
  body.home-page #expeditions .country-featured-ghana{grid-template-columns:minmax(0,45%) minmax(0,55%)}
  body.home-page #expeditions .country-featured-ghana .country-info{padding:35px}
  body.home-page #expeditions .country-featured-ghana h3{font-size:clamp(36px,4.5vw,50px)}
  body.home-page #expeditions .country h3{font-size:27px}
  body.home-page #expeditions .country .country-info{padding:22px}
}
@media (max-width:700px){
  body.home-page #expeditions{padding:56px 7% 75px!important}
  body.home-page #expeditions .section-head{
    display:block!important;
    margin-bottom:26px!important;
  }
  body.home-page #expeditions .section-head h2{
    font-size:clamp(33px,8.4vw,43px)!important;
    letter-spacing:-.045em!important;
    line-height:1.11!important;
    margin-bottom:18px!important;
  }
  body.home-page #expeditions .section-head .section-intro{
    max-width:100%!important;
    padding:0!important;
    font-size:13px!important;
    line-height:1.7!important;
  }
  body.home-page #expeditions .home-programme-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    max-width:520px!important;
    gap:19px!important;
    margin-inline:auto!important;
  }
  body.home-page #expeditions .country,
  body.home-page #expeditions .country-featured-ghana{
    display:flex!important;
    flex-direction:column!important;
    grid-column:1/-1!important;
    min-width:0!important;
    overflow:hidden!important;
    background:#e9efeb!important;
    border-radius:15px!important;
    box-shadow:none!important;
    border:0!important;
    padding:0!important;
  }
  body.home-page #expeditions .country .country-photo{
    aspect-ratio:16/9!important;
    height:auto!important;
    width:100%!important;
    min-height:0!important;
    flex:none!important;
    margin:0!important;
  }
  body.home-page #expeditions .country .country-info{
    padding:23px 23px 25px!important;
    min-height:0!important;
    width:100%!important;
    background:#e9efeb!important;
  }
  body.home-page #expeditions .country .country-meta{
    display:flex!important;
    font-size:9px!important;
    letter-spacing:.085em!important;
    justify-content:space-between!important;
    margin:0!important;
  }
  body.home-page #expeditions .country h3{
    font-size:29px!important;
    line-height:1.12!important;
    letter-spacing:-.04em!important;
    margin:16px 0 10px!important;
  }
  body.home-page #expeditions .country .country-question{
    font-size:13px!important;
    line-height:1.65!important;
    margin:9px 0 20px!important;
  }
  body.home-page #expeditions .country .text-link{
    font-size:12px!important;
    margin-top:6px!important;
    color:#0c4a44!important;
    border-color:#0b7a78!important;
  }
  body.home-page #expeditions .country-featured-ghana{
    background:#dfebe5!important;
  }
  body.home-page #expeditions .country-featured-ghana .country-photo{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/10!important;
    background:none!important;
    position:relative!important;
  }
  body.home-page #expeditions .country-featured-ghana .country-photo img{
    position:absolute!important;
    height:100%!important;
    width:100%!important;
    object-fit:cover!important;
  }
  body.home-page #expeditions .country-featured-ghana .country-info{
    background:#dfebe5!important;
    padding:26px 23px 30px!important;
  }
  body.home-page #expeditions .country-featured-ghana .country-meta{
    margin:0 0 17px!important;
    padding-bottom:13px!important;
  }
  body.home-page #expeditions .country-featured-ghana .programme-type{
    display:block;
    font-size:10px!important;
    margin:0 0 10px!important;
  }
  body.home-page #expeditions .country-featured-ghana h3{
    font-size:clamp(37px,9.5vw,48px)!important;
    line-height:1.03!important;
    margin:0 0 13px!important;
  }
  body.home-page #expeditions .country-featured-ghana .programme-topic{
    font-size:19px!important;
    line-height:1.35!important;
    margin:0 0 13px!important;
  }
  body.home-page #expeditions .country-featured-ghana .programme-location{
    font-size:12px!important;
    margin:0 0 8px!important;
  }
  body.home-page #expeditions .country-featured-ghana .programme-academic{
    font-size:12px!important;
    margin:0 0 18px!important;
  }
  body.home-page #expeditions .country-featured-ghana .text-link{
    background:#0b7a78!important;
    color:white!important;
    border:1px solid #0b7a78!important;
    padding:13px 18px!important;
    width:max-content!important;
    max-width:100%!important;
    margin:4px 0 0!important;
  }
  body.home-page #expeditions .home-planned-programmes{
    grid-column:1/-1!important;
    display:block!important;
    padding:0 0 15px!important;
    margin-top:20px!important;
  }
  body.home-page #expeditions .home-planned-programmes span{display:block;font-size:10px}
  body.home-page #expeditions .home-planned-programmes p{margin-top:6px;font-size:12px}
  body.home-page .quorum-home-spotlight{padding-bottom:48px!important}
}
@media(prefers-reduced-motion:reduce){
  body.home-page #expeditions .country,
  body.home-page #expeditions .country-featured-ghana .country-photo img{
    transition:none!important;
  }
}