/* Loaded by the footprint block alone (FootprintMap in cms/src/frontend/blocks),
   so the pages without one do not carry it. */
/* ============================================================
   THE FOOTPRINT (2026-09-24), from the "Rooted in Africa" mockup
   ============================================================
   Heading and intro across the top, the markets as photographed cards under
   them, and down the right the map with the number tiles over its foot. */
.fp .container.fp-grid{width:min(100% - 9rem,1640px);max-width:none}
.fp-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,25%);grid-template-areas:"head side" "cards side";column-gap:clamp(24px,3vw,52px);row-gap:clamp(28px,3vw,44px);align-items:start}
.fp-head{grid-area:head;display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(24px,3vw,48px);align-items:center}
.fp-head h2{margin-top:14px;max-width:13ch;font-family:var(--font-head);line-height:1.02;color:#35004f}
.fp-intro{margin:0;max-width:30rem;padding-left:clamp(20px,2.4vw,36px);border-left:1px solid rgba(53,0,79,.16);color:#625b7f;font-size:var(--fs-body);line-height:1.6}
.fp-cards{grid-area:cards;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.fp-card{position:relative;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid rgba(53,0,79,.08);border-radius:16px;box-shadow:0 14px 34px rgba(53,0,79,.08);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.fp-card:hover{transform:translateY(-4px);border-color:rgba(143,198,65,.7);box-shadow:0 20px 40px rgba(53,0,79,.13)}
.fp-photo{position:relative;margin:0;aspect-ratio:2/1;overflow:hidden;background:#eef6e0}
.fp-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.fp-card:hover .fp-photo img{transform:scale(1.04)}
/* The credit the photograph's licence asks for, small but on it. */
.fp-photo figcaption{position:absolute;z-index:2;right:6px;bottom:6px;max-width:calc(100% - 12px);padding:1px 7px;border-radius:999px;background:rgba(53,0,79,.55);color:#fff;font-size:10px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fp-card-body{display:flex;flex:1;flex-direction:column;padding:20px 20px 20px}
.fp-card-title{position:relative;display:flex;align-items:flex-start;gap:14px;padding-bottom:16px}
.fp-card-title::after{content:"";position:absolute;left:0;bottom:0;width:40px;height:2px;background:#8fc641}
.fp-flag{flex:none;width:38px;height:26px;margin-top:3px;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.fp-card h3{margin:0;font-family:var(--font-head);font-size:var(--fs-h3);line-height:1.15;color:#35004f}
.fp-card-title p{margin:4px 0 0;color:#625b7f;font-size:var(--fs-small);line-height:1.35}
.fp-visit{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:18px;color:#35004f;font-weight:800;text-decoration:none}
/* The whole card opens the market. */
.fp-visit::before{content:"";position:absolute;inset:0;z-index:1}
.fp-visit:focus-visible{outline:none}
.fp-card:has(.fp-visit:focus-visible){outline:3px solid #8fc641;outline-offset:3px}
.fp-go{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#eef6e0;color:#35004f;transition:background .2s ease,transform .2s ease}
.fp-card:hover .fp-go{background:#8fc641;transform:translateX(3px)}
.fp-side{grid-area:side;display:flex;flex-direction:column;align-self:start}
.fp-map{display:block;width:100%;max-width:460px;height:auto;margin:0 auto;filter:drop-shadow(0 18px 28px rgba(53,0,79,.08))}
.fp-stats{position:relative;display:grid;gap:10px;margin:-60px 0 0;padding:0;list-style:none}
.fp-stats a,.fp-stats div{display:grid;grid-template-columns:44px auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 16px;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(53,0,79,.08);border-radius:14px;box-shadow:0 10px 26px rgba(53,0,79,.08);color:#35004f;text-decoration:none;transition:border-color .2s ease,transform .2s ease}
.fp-stats a:hover{border-color:#8fc641;transform:translateX(-3px)}
.fp-stat-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--lime);color:var(--plum)}
.fp-stats b{font-family:var(--font-head);font-size:var(--fs-num);line-height:1;font-weight:700}
.fp-stat-label{color:#625b7f;font-size:var(--fs-label);font-weight:800;letter-spacing:.12em;line-height:1.3;text-transform:uppercase}
/* Laptops keep the desktop arrangement (the user, 2026-09-24), a little tighter. */
@media (min-width:1024px) and (max-width:1299px){
  .fp .container.fp-grid{width:min(100% - 64px,1640px)}
  .fp-grid{grid-template-columns:minmax(0,1fr) minmax(230px,24%);column-gap:28px}
  .fp-cards{gap:14px}
  .fp-card-body{padding:16px 16px 18px}
  .fp-flag{width:32px;height:22px}
  .fp-card-title{gap:10px}
  .fp-stats a,.fp-stats div{grid-template-columns:38px auto minmax(0,1fr) auto;gap:10px;padding:10px 12px}
  .fp-stat-icon{width:38px;height:38px}
}
/* Too narrow for four across beside the map: two by two, still beside it. */
@media (min-width:1024px) and (max-width:1199px){
  .fp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  .fp .container.fp-grid{width:min(100% - 48px,1640px)}
  .fp-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "side" "cards"}
  .fp-side{flex-direction:row;align-items:center;gap:32px;align-self:stretch}
  .fp-map{flex:none;width:min(340px,40%);margin:0}
  .fp-stats{flex:1;margin:0}
}
@media (max-width:980px){
  .fp-head{grid-template-columns:minmax(0,1fr);gap:16px}
  .fp-intro{padding-left:0;border-left:0}
  .fp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  .fp .container.fp-grid{width:min(100% - 32px,1640px)}
  .fp-side{flex-direction:column;align-items:stretch;gap:16px}
  .fp-map{width:min(100%,300px);margin:0 auto}
  .fp-cards{grid-template-columns:minmax(0,1fr)}
}
