/* YGLN Top 100: programme page, honourees, profiles and certificate.
   Colours come from the website's own palette where it is loaded. */
.page-hero.t1-hero{min-height:460px;background:radial-gradient(120% 90% at 85% 10%,#5C3B12 0%,#2E1B10 45%,#171C26 100%)}
.page-hero.t1-hero .veil{background:linear-gradient(180deg,rgba(23,28,38,.05),rgba(23,28,38,.55))}
.page-hero.t1-hero-sm{min-height:220px}
/* the site's text shade is made for photo banners; on this plain gradient its edges would show */
.page-hero.t1-hero .inner .wrap::before{display:none}
/* the moving map of Africa in the banner */
.t1-sky{position:absolute;inset:0;width:100%;height:100%;z-index:1;display:block;pointer-events:none}
.t1-hero .inner{z-index:2}
.t1-sky-note{position:absolute;z-index:2;transform:translateX(-50%);margin:0;font-size:12px;font-weight:600;line-height:1.45;letter-spacing:.04em;text-align:center;color:#D6CBB4;text-shadow:0 1px 8px rgba(8,10,15,.9);pointer-events:none;width:max-content}
.t1-hero.t1-sky-top .inner{padding-top:var(--t1-sky-top,110px)}
.t1-sky-tip{position:absolute;z-index:3;min-width:180px;max-width:260px;background:rgba(18,21,29,.94);border:1px solid rgba(233,199,126,.55);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.45);overflow:hidden}
.t1-sky-tip a{display:flex;flex-direction:column;gap:2px;padding:11px 14px;color:#fff;text-decoration:none}
.t1-sky-tip b{font-family:var(--font-display,'Spectral',Georgia,serif);font-size:17px;font-weight:600;line-height:1.25;color:#fff}
.t1-sky-tip span{font-size:12.5px;line-height:1.4;color:#E9C77E}
.t1-sky-tip span+span{color:#C9CED8}
.t1-sky-tip a:focus-visible{outline:2px solid #E9C77E;outline-offset:-4px}
.t1-kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#E9C77E;margin:6px 0 10px}
.t1-hero h1{max-width:18ch}
.t1-lede{color:#D8DBE2;max-width:60ch;margin-top:14px;font-size:17px}
.t1-when{color:#E9C77E;font-weight:700;margin-top:14px}
.t1-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.t1-p{margin-top:16px;color:#39404E;max-width:62ch}
.t1-who h3{margin-top:4px}
.t1-ticks{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.t1-ticks li{position:relative;padding-left:32px;font-size:15.5px;line-height:1.55;color:#2B303B}
.t1-ticks li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:#F1E8D6 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%238A6418" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/11px no-repeat}
.t1-cats{list-style:none;counter-reset:t1;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px}
.t1-cats li{counter-increment:t1;display:flex;gap:14px;align-items:center;background:#fff;border:1px solid rgba(23,28,38,.12);border-radius:14px;padding:16px 18px;font-weight:700;font-size:16px;color:#171C26}
.t1-cats li::before{content:counter(t1);flex:0 0 38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#2E1B10;color:#E9C77E;font-weight:800;font-size:15px}
.t1-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:26px}
.t1-steps .card h3{font-size:18px}
.t1-crit{width:100%;border-collapse:collapse;margin-top:20px;background:#fff;border-radius:14px;overflow:hidden;border:1px solid rgba(23,28,38,.12)}
.t1-crit th,.t1-crit td{text-align:left;padding:12px 16px;border-bottom:1px solid rgba(23,28,38,.08);vertical-align:top}
.t1-crit th{background:#F1E8D6;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#5C3B12}
.t1-crit td b{display:block;color:#171C26}
.t1-crit td span{display:block;font-size:14px;color:#5D6470;margin-top:2px}
.t1-crit td:last-child{font-weight:800;color:#8A6418;white-space:nowrap;width:1%}
.t1-time{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.t1-time li{border-top:4px solid #D9A441;background:#fff;border-radius:0 0 14px 14px;padding:16px;box-shadow:0 10px 30px rgba(23,28,38,.06)}
.t1-time b{display:block;font-size:16px;color:#171C26}
.t1-time span{display:block;font-size:14px;color:#5D6470;margin-top:4px}
.t1-cta h2{color:#fff;font-size:28px}
.t1-cta p{color:#EADCC4;margin-top:8px}
.t1-fine{font-size:13.5px;color:#5D6470;margin-top:16px}
.t1-fine a{color:#8A6418;font-weight:600}
.t1-center{text-align:center}
.t1-filter{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 22px}
.t1-chip{font:inherit;font-size:13.5px;font-weight:700;border:1px solid rgba(23,28,38,.15);background:#fff;color:#171C26;border-radius:999px;padding:7px 14px;cursor:pointer}
.t1-chip.on{background:#2E1B10;border-color:#2E1B10;color:#fff}
.t1-chip:focus-visible{outline:2px solid #8A6418;outline-offset:2px}
.t1-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}
.t1-card{display:flex;flex-direction:column;background:#fff;border:1px solid rgba(23,28,38,.10);border-radius:16px;overflow:hidden;color:#171C26;transition:transform .16s,box-shadow .16s}
.t1-card:hover,.t1-card:focus-visible{transform:translateY(-3px);box-shadow:0 18px 40px rgba(23,28,38,.12)}
.t1-card[hidden]{display:none}
.t1-cphoto{display:block;aspect-ratio:4/5;background:#F1E8D6;overflow:hidden}
.t1-cphoto img{width:100%;height:100%;object-fit:cover}
.t1-card b{display:block;padding:12px 14px 0;font-size:16px;line-height:1.3}
.t1-card span:not(.t1-cphoto):not(.t1-initials){display:block;padding:2px 14px 0;font-size:13.5px;color:#5D6470}
.t1-card small{display:block;padding:6px 14px 14px;font-size:12px;font-weight:700;color:#8A6418;letter-spacing:.02em}
.t1-initials{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-family:var(--font-display,Georgia,serif);font-size:44px;color:#5C3B12}
.t1-profile{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:48px;align-items:start}
.t1-pphoto{border-radius:20px;overflow:hidden;aspect-ratio:4/5;background:#F1E8D6;box-shadow:0 24px 60px rgba(23,28,38,.16)}
.t1-pphoto img{width:100%;height:100%;object-fit:cover}
.t1-pbody h1{font-family:var(--font-display,Georgia,serif);font-size:clamp(32px,4.6vw,48px);line-height:1.12;margin:10px 0 8px;color:#171C26}
.t1-prole{font-size:18px;color:#39404E}
.t1-pfacts{display:flex;flex-wrap:wrap;gap:12px 36px;margin:22px 0}
.t1-pfacts dt{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8A6418}
.t1-pfacts dd{margin:4px 0 0;font-weight:700;color:#171C26}
.t1-cite{font-size:17px;line-height:1.75;color:#2B303B;max-width:62ch;border-left:4px solid #D9A441;padding-left:18px}
.t1-cite p{margin:0 0 12px}
.t1-pact{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.t1-pact button{font-family:inherit;cursor:pointer}
.t1-pact .t1-out{background:#fff;color:#171C26;border:2px solid rgba(23,28,38,.18)}
.t1-pact .t1-out:hover,.t1-pact .t1-out:focus-visible{border-color:#D9A441;color:#8A6418}
.t1-backlink{display:inline-block;margin-top:34px;font-weight:700;color:#8A6418}
.t1-busy{opacity:.7;pointer-events:none}
@media (max-width:1000px){.t1-time{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){
  .t1-profile{grid-template-columns:minmax(0,1fr);gap:28px}
  .t1-pphoto{max-width:300px}
  .t1-cats{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){
  .t1-time{grid-template-columns:minmax(0,1fr)}
  .t1-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .t1-card b{font-size:15px}
}

/* ---------------- certificate ---------------- */
.t1-certbody{margin:0;background:#E9E3D8;font-family:'Public Sans',Arial,sans-serif;color:#2E1B10}
.t1-certbar{display:flex;gap:16px;align-items:center;justify-content:center;padding:14px 16px;background:#2E1B10}
.t1-certbar button{font:inherit;font-weight:700;background:#D9A441;color:#2E1B10;border:0;border-radius:8px;padding:10px 18px;cursor:pointer}
.t1-certbar a{color:#F1E8D6;font-weight:600}
.t1-cert{width:297mm;height:210mm;max-width:100%;margin:24px auto;background:#FFFDF8;box-shadow:0 20px 50px rgba(46,27,16,.18);position:relative;overflow:hidden;box-sizing:border-box;padding:12mm}
.t1-cert::before{content:"";position:absolute;inset:6mm;border:2px solid #CB8B1E;pointer-events:none}
.t1-cert::after{content:"";position:absolute;inset:8mm;border:1px solid rgba(46,27,16,.25);pointer-events:none}
.t1-cert-in{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:6mm 16mm 7mm}
.t1-cert-logo{height:24mm;width:auto;margin:auto 0 7mm}
.t1-cert-kick{font-size:13px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:#8E5F0E;margin:0 0 6mm}
.t1-cert-small{font-family:'Spectral',Georgia,serif;font-style:italic;font-size:19px;margin:0;color:#5C3B12}
.t1-cert h1{font-family:'Spectral',Georgia,serif;font-weight:600;font-size:56px;line-height:1.15;margin:4mm 0 5mm;color:#2E1B10}
.t1-cert h2{font-family:'Spectral',Georgia,serif;font-weight:600;font-size:31px;margin:3mm 0 2mm;color:#17634A}
.t1-cert-cat{font-size:17px;font-weight:700;margin:2mm 0 0}
.t1-cert-why{font-size:15px;color:#5C3B12;margin:3mm 0 0;max-width:150mm}
.t1-cert-foot{display:flex;justify-content:space-between;align-items:flex-end;width:100%;margin-top:auto;gap:20mm}
.t1-cert-sign,.t1-cert-meta{display:flex;flex-direction:column;font-size:12.5px;line-height:1.5;text-align:left}
.t1-cert-meta{text-align:right}
.t1-cert-line{display:block;width:60mm;border-top:1px solid #2E1B10;margin-bottom:2mm}
.t1-cert-sign b,.t1-cert-meta b{font-size:14px}
@page{size:A4 landscape;margin:0}
@media print{
  .t1-certbody{background:#fff}
  .t1-certbar{display:none}
  .t1-cert{margin:0;box-shadow:none;width:297mm;height:210mm}
}
@media screen and (max-width:900px){
  .t1-cert{height:auto;min-height:150mm;margin:12px;max-width:calc(100% - 24px)}
  .t1-cert h1{font-size:32px}
  .t1-cert h2{font-size:20px}
  .t1-cert-in{padding:6mm 4mm}
  .t1-cert-logo{margin-top:0}
  .t1-cert-foot{flex-direction:column;align-items:center;gap:6mm;margin-top:8mm}
  .t1-cert-sign,.t1-cert-meta{text-align:center;align-items:center}
}
