/* Creative Tunisia 2.0 - v3 inner pages (loaded after v3.css, scoped to body.rd).
   Same rounded system as the v3 home. Brand red/ink/off-white; each programme page keeps its own palette
   through the .ax-* class on <main>. Barlow Condensed + Barlow only. */

.rd { --panel: var(--tint); --r: var(--r-md); }
.rd .section--tight { padding-block: clamp(56px, 7vw, 100px); }
.rd .bg-paper { background: var(--tint); }
.rd .lead { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.5; color: var(--ink); max-width: 60ch; }
.rd .prose { max-width: 66ch; color: var(--ink-2); }
.rd .prose p + p { margin-top: 1.1em; }
.rd h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 500; letter-spacing: -.02em; line-height: .96; }

/* programme palette (adds the large display tone to the .ax-* tokens of v3.css) */
.ax-formation { --mid: #C33C19; }
.ax-incubation { --mid: #0F42B7; }
.ax-niveau { --mid: #369E87; }
.ax-diaspora { --mid: #71277C; }

/* buttons: brand/axis red by default inside pages */
.rd main .btn { --bg: var(--red); }
.rd main .btn:hover { background: var(--red-d); }
.rd main .btn--white { --bg: #fff; --fg: var(--red); }
.rd main .btn--white:hover { background: var(--ink); --fg: #fff; color: #fff; }
.rd main .btn--ghost { --bg: transparent; --fg: var(--ink); }
.rd main .btn--ghost:hover { --bg: var(--ink); --fg: #fff; background: var(--ink); }

/* ---------- page head ---------- */
.phead { position: relative; overflow: hidden; isolation: isolate; margin: 12px var(--pad) 0; background: var(--tint); border-radius: var(--r-xl); padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 76px); }
.phead .crumb { font-size: .95rem; color: var(--mute); margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.phead .crumb a:hover { color: var(--red); }
.phead h1 { font-size: clamp(3rem, 7vw, 6.8rem); max-width: 14ch; }
.phead .lead { margin-top: 28px; }
.phead .leaf { position: absolute; z-index: -1; right: var(--pad); bottom: -30px; height: 118%; width: auto; opacity: .1; pointer-events: none; }

/* sub navigation (A propos) */
.tabs { position: sticky; top: var(--header-h); z-index: 50; background: transparent; padding-block: 18px 6px; pointer-events: none; }
.tabs .wrap { pointer-events: none; }
.tabs ul { display: flex; gap: 8px; overflow-x: auto; width: fit-content; max-width: 100%; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); pointer-events: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: block; padding: .6em 1.25em; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1; white-space: nowrap; transition: background .3s, color .3s; }
.tabs a:hover { background: var(--tint); }
.tabs a[aria-current="page"] { background: var(--red); color: #fff; }

/* ---------- about ---------- */
.lede { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 6vw, 100px); }
.lede .lead { max-width: none; font-size: clamp(1.3rem, 1.9vw, 1.75rem); }
.imgband { height: clamp(260px, 38vw, 520px); overflow: hidden; margin-inline: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); border-radius: var(--r-xl); }
.imgband img { width: 100%; height: 100%; object-fit: cover; }
.imgband--video { position: relative; background: var(--ink, #141414); }
.imgband--video { container-type: size; }
.imgband--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.imgband--video iframe { position: absolute; top: 50%; left: 50%; border: 0; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); pointer-events: none; }
.imgband--play { position: relative; }
.imgband--play .hubvideo { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.imgband--play .hubvideo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 3; }
.effects { display: grid; gap: 12px; }
.effects li { display: grid; grid-template-columns: clamp(64px, 9vw, 120px) 1fr; gap: 20px; align-items: center; padding: 22px clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.effects b { font-family: var(--display); font-weight: 500; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: .85; color: var(--mid, var(--red)); }
.effects span { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.4; max-width: 46ch; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px clamp(14px, 2vw, 24px); }
.checks li { display: flex; gap: 16px; align-items: center; padding: 20px clamp(18px, 2vw, 28px); border-radius: var(--r); background: var(--soft, #fff); box-shadow: var(--shadow); font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.05; color: var(--deep, var(--ink)); }
.checks i { color: var(--red); font-size: 32px; flex: none; }
.banner { margin-inline: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); background: var(--red); color: #fff; border-radius: var(--r-xl); padding-block: clamp(40px, 5vw, 70px); }
.banner .wrap { max-width: none; padding-inline: clamp(30px, 4vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.banner h2 { color: #fff; max-width: 22ch; font-size: clamp(1.9rem, 3.2vw, 3rem); }
.facts { display: flex; gap: clamp(28px, 6vw, 96px); flex-wrap: wrap; }
.facts b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: .9; color: #fff; }
.facts span { display: block; margin-top: 8px; max-width: 22ch; line-height: 1.3; color: #f6dcdc; }

/* partners page */
.funders { display: grid; gap: 14px; }
.funder { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(20px, 5vw, 80px); padding: clamp(24px, 3vw, 44px); background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow); align-items: center; }
.funder .lg { display: flex; align-items: center; justify-content: center; min-height: 110px; padding: 18px; border-radius: var(--r); background: var(--bg); }
.funder .lg img { max-height: 72px; max-width: 220px; width: auto; object-fit: contain; }
.funder h3 { margin-bottom: 14px; }
.funder p { color: var(--ink-2); max-width: 68ch; }

/* hubs page */
.hubmap { display: grid; grid-template-columns: 6fr 5fr; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
#map { min-height: 620px; height: 100%; background: #e9e5e0; }
.hlist li { border-bottom: 1px solid var(--line); }
.hlist li:last-child { border-bottom: 0; }
.hlist a { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px; align-items: center; padding: 26px clamp(18px, 3vw, 40px); transition: background .25s, color .25s; }
.hlist a:hover, .hlist a.on { background: var(--red); color: #fff; }
.hlist small { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .1em; color: var(--red); transition: color .2s; }
.hlist a:hover small, .hlist a.on small { color: #f2c9c9; }
.hlist b { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; }
.hlist span { font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.pin { background: var(--red); border: 3px solid #fff; border-radius: 50%; width: 18px; height: 18px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.pin-label { font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .02em; padding: 3px 10px; border: 0; border-radius: 99px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.pin-label::before { display: none; }
.leaflet-container { font-family: var(--text); }
.hubvideo { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 7; background: var(--ink); color: #fff; border-radius: var(--r-xl); }
.hubvideo img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1s var(--ease); }
.hubvideo:hover img { transform: scale(1.03); }
.hubvideo .play { position: absolute; inset: 0; display: grid; place-items: center; }
.hubvideo .play i { width: 96px; height: 96px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 42px; transition: transform .3s var(--ease); }
.hubvideo:hover .play i { transform: scale(1.1); }
.hubvideo figcaption { position: absolute; left: 28px; bottom: 22px; font-family: var(--display); font-weight: 600; font-size: 1.8rem; z-index: 2; }

/* ---------- offers overview ---------- */
.pick { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.picklist { display: grid; gap: 12px; }
.picklist li { border-radius: var(--r-lg); background: var(--soft, var(--tint)); }
.picklist a { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 24px clamp(20px, 2.4vw, 34px); color: var(--deep, var(--ink)); transition: padding .4s var(--ease); }
.picklist h3 { font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.02; }
.picklist p { color: var(--deep, var(--mute)); opacity: .82; margin-top: 8px; max-width: 46ch; font-size: 1rem; }
.picklist i { font-size: 34px; transition: transform .4s var(--ease); }
.picklist a:hover, .picklist a.on { padding-left: clamp(30px, 3.2vw, 46px); }
.picklist a:hover i, .picklist a.on i { transform: translateX(8px); }
.pickview { position: sticky; top: calc(var(--header-h) + 28px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); }
.pickview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .5s, transform 1s var(--ease); }
.pickview img.on { opacity: 1; transform: none; }

/* ---------- offer pages ---------- */
.ohero { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(8px, 2vw, 32px); min-height: min(calc(100dvh - var(--header-h)), 720px); padding-block: 12px; }
.ohero .t { padding: clamp(40px, 6vw, 90px) clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; max-width: 820px; margin-left: auto; width: 100%; }
.ohero h1 { font-size: clamp(2.8rem, 5.6vw, 5.6rem); }
.ohero .lead { margin-top: 24px; }
.ohero .cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.ohero .m { position: relative; min-height: 380px; overflow: hidden; border-radius: var(--r-xl); margin: 4px var(--pad) 4px 0; }
.ohero .m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ohero--left { grid-template-columns: 5fr 6fr; }
.ohero--left .m { order: -1; margin: 4px 0 4px var(--pad); }
.ohero--left .t { margin-left: 0; margin-right: auto; }
.ohero--full { display: block; position: relative; margin: 12px var(--pad) 0; padding: 0; min-height: min(calc(100dvh - var(--header-h)), 720px); color: #fff; background: var(--ink); border-radius: var(--r-xl); overflow: hidden; }
.ohero--full .m { position: absolute; inset: 0; margin: 0; border-radius: 0; }
.ohero--full .m::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--deep, #141414) 92%, transparent) 8%, color-mix(in srgb, var(--deep, #141414) 35%, transparent) 70%); }
.ohero--full .t { position: relative; z-index: 2; min-height: min(calc(100dvh - var(--header-h)), 720px); max-width: none; margin-inline: 0; padding-inline: clamp(28px, 5vw, 80px); }
.ohero--full h1 { color: #fff; max-width: 16ch; }
.ohero--full .lead { color: #f1f1ee; max-width: 36ch; }
.rd main .ohero--full .btn { --bg: #fff; --fg: var(--deep, var(--ink)); }
.rd main .ohero--full .btn:hover { --bg: var(--hi, #fff); --fg: var(--hi-on, var(--ink)); background: var(--hi, #fff); color: var(--hi-on, var(--ink)); }
.ohero--stack { display: block; padding-block: 0; }
.ohero--stack .t { max-width: var(--max); margin-inline: auto; padding: clamp(48px, 7vw, 100px) var(--pad) clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.ohero--stack .m { min-height: 0; height: clamp(300px, 46vw, 580px); margin-inline: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); }
.ohero--stack .t .side { display: grid; gap: 24px; }
.ohero--stack h1 { max-width: 12ch; }

.body2 { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 6vw, 100px); }
.body2 .prose { max-width: 62ch; }
.factbig { font-family: var(--display); font-weight: 500; font-size: clamp(5rem, 11vw, 10rem); line-height: .85; color: var(--mid, var(--red)); }
.factbig + p { margin-top: 12px; font-size: 1.1rem; max-width: 16ch; line-height: 1.3; }

.twin { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.twin > article { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; gap: 22px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 2px var(--soft, var(--line)); }
.twin > article + article { background: var(--soft, var(--tint)); box-shadow: none; }
.twin h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1.02; }
.ticks li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.ticks li:first-child { border-top: 0; }
.ticks i { color: var(--red); font-size: 22px; flex: none; margin-top: 2px; }
.twin .cta { margin-top: auto; padding-top: 12px; }
.dur { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--deep, #141414) 35%, transparent); }
.dur b { font-family: var(--display); font-weight: 500; font-size: 3.4rem; line-height: .9; color: var(--mid, var(--red)); min-width: 2.2ch; }
.dur span { font-size: 1.05rem; }

.steps { display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: clamp(80px, 12vw, 180px) 1fr; gap: 20px; align-items: center; padding: clamp(18px, 2.4vw, 30px) clamp(20px, 3vw, 40px); border-radius: var(--r-xl); background: var(--soft, #fff); }
.steps b { font-family: var(--display); font-weight: 500; font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: .85; color: var(--mid, var(--red)); }
.steps span { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.02; color: var(--deep, var(--ink)); }

.split2 { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 100px); align-items: start; }
.split2 .pic { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-xl); position: sticky; top: calc(var(--header-h) + 24px); }
.split2 .pic img { width: 100%; height: 100%; object-fit: cover; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(210px, auto); gap: clamp(12px, 1.4vw, 18px); }
.bento > * { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border-radius: var(--r-xl); }
.bento h3 { font-size: clamp(1.7rem, 2.4vw, 2.4rem); }
.bento p { color: inherit; opacity: .9; }
.bento ul li { padding: 12px 0; border-top: 1px solid rgba(20, 20, 20, .18); }
.bento ul li:first-child { border-top: 0; }
.bento .b1 { grid-column: span 7; grid-row: span 2; background: var(--soft, var(--tint)); color: var(--deep, var(--ink)); }
.bento .b2 { grid-column: span 5; background: var(--deep, var(--ink)); color: #fff; }
.bento .b3 { grid-column: span 5; background: var(--hi, var(--red)); color: var(--hi-on, #fff); }
.bento .b4 { grid-column: span 7; background: var(--soft, var(--tint)); color: var(--deep, var(--ink)); }
.bento .b5 { grid-column: span 5; padding: 0; position: relative; overflow: hidden; min-height: 260px; }
.bento .b5 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento .num { font-family: var(--display); font-weight: 500; font-size: clamp(3.6rem, 6vw, 6rem); line-height: .85; }
.others { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.others .link { padding: .6em 1.2em; border-radius: 999px; background: none; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); transition: background .3s, color .3s; }
.others .link:hover { background: var(--red); color: #fff; }

/* ---------- press, resources, news, apply, contact ---------- */
.press { display: grid; gap: 10px; }
.press a { display: grid; grid-template-columns: 170px 240px 1fr auto; gap: 24px; align-items: center; padding: 22px 26px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); transition: transform .4s var(--ease), color .2s; }
.press time { color: var(--mute); }
.press .src { font-family: var(--display); font-weight: 600; letter-spacing: .02em; color: var(--red); font-size: 1.3rem; }
.press h3 { font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.12; }
.press i { font-size: 28px; transition: transform .35s var(--ease); }
.press a:hover { transform: translateX(8px); color: var(--red); }
.press a:hover i { transform: translate(4px, -4px); }

.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.docs a { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease), color .2s; }
.docs a:hover { color: var(--red); transform: translateY(-3px); }
.docs i { font-size: 36px; color: var(--red); flex: none; }
.docs b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.05; }
.docs span { color: var(--mute); font-size: .95rem; }
.note { border: 2px dashed var(--mute); border-radius: var(--r); padding: 18px 22px; color: var(--ink-2); font-size: .98rem; max-width: 80ch; background: rgba(255, 255, 255, .7); }
.note b { font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-right: 8px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.grid3 .post .img, .grid3 .post:first-child .img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }

.pgrid { display: grid; gap: 12px; }
.pgrid a { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 26px clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--soft, var(--tint)); color: var(--deep, var(--ink)); transition: padding .4s var(--ease); }
.pgrid h3 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.02; }
.pgrid p { color: var(--deep, var(--mute)); opacity: .82; margin-top: 6px; }
.pgrid i { font-size: 32px; transition: transform .35s var(--ease); }
.pgrid a:hover { padding-left: clamp(32px, 4vw, 54px); }
.pgrid a:hover i { transform: translateX(6px); }

.contact { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(30px, 7vw, 120px); align-items: start; }
.form { display: grid; gap: 26px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--display); font-weight: 600; letter-spacing: .02em; font-size: 1.2rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 14px 18px; width: 100%; transition: box-shadow .2s, border-color .2s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(160, 40, 40, .18); }
.field .help { font-size: .92rem; color: var(--mute); }
.field .err { font-size: .95rem; color: var(--red-d); font-weight: 600; display: none; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--red); }
.field.bad .err { display: block; }
.form .done { display: none; border-radius: var(--r); background: var(--tint); box-shadow: inset 6px 0 0 var(--red); padding: 22px 28px; font-weight: 500; }
.form.sent .done { display: block; }
.form.sent .go { display: none; }
.cside { display: grid; gap: 30px; align-content: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--tint); }
.cside h3 { margin-bottom: 8px; }
.cside p { color: var(--ink-2); }

/* partner panel above the footer on inner pages */
.rd .pp-wrap { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 100px); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes orise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes owipe { from { clip-path: inset(0 0 0 100% round var(--r-xl)); } to { clip-path: inset(0 0 0 0 round var(--r-xl)); } }
  @keyframes ozoom { from { scale: 1.16; } to { scale: 1; } }
  .ohero .t > *, .ohero--stack .t > div > *, .phead .wrap > * { animation: orise .9s var(--ease) both; }
  .ohero .t > :nth-child(2), .phead .wrap > :nth-child(2) { animation-delay: .1s; }
  .ohero .t > :nth-child(3), .phead .wrap > :nth-child(3) { animation-delay: .2s; }
  .ohero .t > :nth-child(4) { animation-delay: .3s; }
  .ohero:not(.ohero--full) .m { animation: owipe 1.1s var(--ease) both; }
  .ohero .m img { animation: ozoom 1.6s var(--ease) both; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .lede, .body2, .split2, .pick, .contact, .hubmap { grid-template-columns: 1fr; }
  .funder { grid-template-columns: 1fr; gap: 14px; }
  #map { min-height: 380px; }
  .pickview { display: none; }
  .ohero, .ohero--left { grid-template-columns: 1fr; min-height: 0; }
  .ohero .m, .ohero--left .m { min-height: 300px; order: 2; margin: 4px var(--pad); }
  .ohero--full .m { margin: 0; order: 0; }
  .ohero .t { margin: 0; max-width: none; }
  .ohero--stack .t { grid-template-columns: 1fr; }
  .twin { grid-template-columns: 1fr; }
  .split2 .pic { position: static; aspect-ratio: 4 / 3; }
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .checks { grid-template-columns: 1fr; }
  .press a { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .press time, .press .src, .press h3 { grid-column: 1; }
  .press i { grid-column: 2; grid-row: 1 / 4; }
  .docs { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }

}
@media (max-width: 560px) {
  .hlist a { grid-template-columns: 44px 1fr auto; }
  .twin .btn, .ohero .btn { white-space: normal; text-align: left; }
  .phead h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
}

/* breathing room around full-width blocks (banner, tinted bands, image bands) */
.banner { margin-top: clamp(48px, 6vw, 96px); }
.section + .banner, .section--tight + .banner { margin-top: 0; }
.bg-paper + .banner { margin-top: clamp(48px, 6vw, 96px); }


/* ---------- programme pages: main, deep, accent, tint and mid colours all in play ---------- */
main[class*="ax-"] .ohero h1 { color: var(--deep); }
main[class*="ax-"] .ohero--full h1 { color: #fff; }
main[class*="ax-"] .ohero h1::after { content: ""; display: block; width: 84px; height: 8px; margin-top: 20px; border-radius: 99px; background: var(--hi); }
main[class*="ax-"] .ohero:not(.ohero--full) .btn i, main[class*="ax-"] .twin .btn i { display: grid; place-items: center; width: 1.75em; height: 1.75em; margin: -.4em -.75em -.4em 0; border-radius: 50%; background: var(--hi); color: var(--hi-on, #14161c); font-size: .95em; }
main[class*="ax-"] .banner { background: var(--deep); }
main[class*="ax-"] .banner .btn--white { --bg: #fff; --fg: var(--deep); }
main[class*="ax-"] .banner .btn--white:hover { background: var(--hi); color: var(--hi-on, #14161c); }
main[class*="ax-"] .factbig::after { content: ""; display: block; width: 100%; max-width: 3.2ch; height: 10px; margin-top: 16px; border-radius: 99px; background: var(--hi); }
main[class*="ax-"] .checks li { background: var(--soft); }
main[class*="ax-"] .checks i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--hi); color: var(--hi-on, #14161c); font-size: 26px; }
main[class*="ax-"] .steps li { background: var(--soft); box-shadow: inset 10px 0 0 var(--hi); padding-left: clamp(30px, 3.4vw, 50px); }
main[class*="ax-"] .twin > article:first-child { box-shadow: inset 0 0 0 3px var(--soft); }
main[class*="ax-"] .twin > article:first-child h2 { color: var(--deep); }
main[class*="ax-"] .twin > article + article h2 { color: var(--deep); }
main[class*="ax-"] .ticks i { color: var(--mid, var(--red)); }
main[class*="ax-"] .others .link { color: var(--deep); box-shadow: inset 0 0 0 2px var(--soft); background: color-mix(in srgb, var(--soft) 40%, transparent); }
main[class*="ax-"] .others .link:hover { background: var(--hi); color: var(--hi-on, #14161c); box-shadow: none; }
main[class*="ax-"] .split2 h2, main[class*="ax-"] .body2 h2, main[class*="ax-"] .lede h2 { color: var(--deep); }

/* offers overview and apply list: tint rows, deep titles, accent arrow chips */
.picklist i, .pgrid i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--hi); color: var(--hi-on, #14161c); font-size: 26px; }
.picklist a:hover i, .pgrid a:hover i { background: var(--red); color: #fff; }
.picklist h3, .pgrid h3 { color: var(--deep); }

/* accent colour appears on hover: buttons fill with the accent, the arrow chip turns deep */
.rd main[class*="ax-"] .btn:not(.btn--ghost):not(.btn--white):hover { background: var(--hi); color: var(--hi-on, #14161c); }
.rd main[class*="ax-"] .btn:not(.btn--ghost):not(.btn--white):hover i { background: var(--deep); color: #fff; }
.rd main[class*="ax-"] .btn--ghost:hover { background: var(--hi); --fg: var(--hi-on, #14161c); color: var(--hi-on, #14161c); }

/* ---------- mobile audit fixes ---------- */
@media (max-width: 960px) {
  .tabs { position: static; padding-block: 16px 0; }
  .tabs ul { flex-wrap: wrap; width: 100%; border-radius: 26px; overflow: visible; }
  .tabs li { flex: 1 1 calc(50% - 8px); }
  .tabs a { text-align: center; padding: .7em .6em; }
  .hlist span { font-size: 0; gap: 0; }
  .hlist span i { font-size: 24px; }
  .phead .crumb a { padding-block: 8px; }
}

/* v4: filters, tags, placeholders */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.chip { padding: .65em 1.3em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.chip:hover, .chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tagc { display: inline-block; margin: 14px 0 6px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--red); }
.post .tagc + time { display: block; }
.docimg { display: grid; place-items: center; background: var(--tint); aspect-ratio: 4 / 3; }
.docimg i { font-size: 64px; color: var(--red); }
.todo { display: inline-block; margin-left: 12px; padding: .2em .8em; border-radius: 999px; background: var(--tint); color: var(--ink-2); font-family: var(--body, inherit); font-size: .8rem; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.ph-p { color: var(--mute); margin-top: 6px; }
[data-filter-grid] > [hidden] { display: none !important; }
.steps span.todo { font-family: inherit; font-size: .8rem; line-height: 1.4; color: var(--ink-2); }

/* v4: latest opportunity per programme */
.opps--list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.opps--list .opp { display: grid; grid-template-columns: 250px minmax(0, 1fr) 170px 200px; gap: clamp(14px, 2.4vw, 36px); align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.opps--list .opp .prog { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--deep, var(--ink-2)); }
.opps--list .opp .prog .dot { width: 12px; height: 12px; margin: 0; flex: none; background: var(--hi, var(--red)); }
.opps--list .opp h3 { justify-self: start; text-align: left; margin: 0; font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.12; color: var(--ink); transition: color .25s var(--ease); }
.opps--list .opp .date { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); white-space: nowrap; }
.opps--list .opp .date i { font-size: 1.15rem; color: var(--deep, var(--red)); }
.opps--list .opp .go { justify-self: end; display: inline-flex; align-items: center; gap: 10px; padding: .75em 1.3em; border-radius: 999px; background: var(--deep, var(--red)); color: #fff; font-weight: 600; white-space: nowrap; transition: transform .25s var(--ease); }
.opps--list .opp:hover h3 { color: var(--deep, var(--red)); }
.opps--list .opp:hover .go { transform: translateX(4px); }
@media (max-width: 900px) { .opps--list .opp { grid-template-columns: 1fr auto; row-gap: 8px; } .opps--list .opp .prog, .opps--list .opp h3 { grid-column: 1 / -1; } .opps--list .opp .date { grid-column: 1; } .opps--list .opp .go { grid-column: 2; grid-row: 3; } }

/* opportunities: card layout (alternative to the list) */
.opps--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.opps--cards .opp { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); border-top: 6px solid var(--hi, var(--red)); color: var(--ink); }
.opps--cards .opp .prog { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--deep, var(--ink-2)); }
.opps--cards .opp .prog .dot { width: 12px; height: 12px; margin: 0; flex: none; background: var(--hi, var(--red)); }
.opps--cards .opp h3 { font-size: clamp(1.4rem, 1.8vw, 1.7rem); line-height: 1.1; color: var(--deep, var(--ink)); margin: 0; }
.opps--cards .opp .date { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.opps--cards .opp .date i { font-size: 1.2rem; color: var(--deep, var(--red)); }
.opps--cards .opp .go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: .75em 1.3em; border-radius: 999px; background: var(--deep, var(--red)); color: #fff; font-weight: 600; }

/* success story: single page */
.story-tag { display: inline-block; margin-bottom: 18px; }
.story-body .imgband { margin-inline: 0; margin-bottom: clamp(32px, 4vw, 56px); height: clamp(280px, 44vw, 600px); }
.story-prose { max-width: 72ch; margin-inline: auto; font-size: 1.1rem; line-height: 1.7; color: var(--ink-2); }
.story-prose p + p { margin-top: 1.1em; }
.story-prose h2, .story-prose h3 { margin: 1.6em 0 .5em; color: var(--ink); }
.story-prose img, .story-prose video, .story-prose iframe { max-width: 100%; border-radius: var(--r-lg); }
.story-prose figure { margin: 1.6em 0; }
.story-prose .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.story-prose .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 4px solid var(--hi, var(--red)); font-size: 1.25em; color: var(--ink); }
.story-back { max-width: 72ch; margin: 48px auto 0; }
.story-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: var(--hi, var(--red)); color: var(--hi-on, #fff); }
.story-cta h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: inherit; }
.story-cta p { margin-top: 8px; color: inherit; opacity: .9; }
.rd main .story-cta .btn { --bg: #fff; --fg: var(--deep, var(--ink)); background: #fff; color: var(--deep, var(--ink)); }

/* success story: two columns (photo or video on the left, title and text on the right) */
.smag-crumb .crumb { font-size: .95rem; color: var(--mute); margin: 22px 0 14px; display: flex; gap: 10px; align-items: center; }
.smag-crumb .crumb a:hover { color: var(--red); }
.story-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.story-media { position: sticky; top: calc(var(--header-h, 100px) + 24px); }
.story-media .imgband { position: relative; height: auto; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-xl); background: var(--ink); }
.story-media .imgband:has(.hubvideo) { aspect-ratio: 16 / 9; }
.story-media .imgband img { width: 100%; height: 100%; object-fit: cover; }
.story-media .hubvideo img { opacity: 1; }
.story-main { padding-block: clamp(0px, 1vw, 16px); }
.story-main h1 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: 1.02; max-width: none; text-wrap: balance; }
.story-main .story-tag { margin-bottom: 18px; }
.story-role { margin-top: 14px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-2); }
.story-main .story-prose { max-width: none; margin: clamp(24px, 3vw, 40px) 0 0; font-size: 1.1rem; }
.story-main .story-prose > p:first-child { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--ink); }
.story-main .story-prose blockquote { margin: 1.6em 0; padding: 0 0 0 1.1em; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; border-left: 5px solid var(--hi, var(--red)); }
.story-main .story-back { max-width: none; margin-top: 40px; }
@media (max-width: 900px) { .story-cols { grid-template-columns: 1fr; } .story-media { position: static; } }

/* Success story cards: show the whole visual (they carry text and logos), no cropping */
.grid3 .post.story .img, .grid3 .post.story:first-child .img { aspect-ratio: auto; background: transparent; }
.post.story .img img { height: auto; object-fit: contain; display: block; }
.elementor .post.story .img img, .rd .post.story .img img { width: 100%; height: auto; object-fit: contain; }

/* Mosaïque en « lignes numérotées » : bande photo / chiffre / accompagnement, puis chaque appui sur une ligne */
.bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "ph num acc" "l1 l1 l1" "l2 l2 l2"; grid-auto-rows: auto; counter-reset: bl; }
.bento .b5 { grid-area: ph; min-height: 280px; }
.bento .b3 { grid-area: num; min-height: 280px; }
.bento .b2 { grid-area: acc; min-height: 280px; }
.bento .b1, .bento .b4 { display: grid; grid-template-columns: clamp(56px, 7vw, 96px) minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; gap: clamp(16px, 3vw, 48px); counter-increment: bl; }
.bento .b1 { grid-area: l1; }
.bento .b4 { grid-area: l2; }
.bento .b1::before, .bento .b4::before { content: counter(bl, decimal-leading-zero); font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 4vw, 4rem); line-height: .9; opacity: .45; }
.bento .b1 ul, .bento .b4 p { margin: 0; align-self: center; }
@media (max-width: 900px) {
  .bento { grid-template-areas: none; grid-template-columns: 1fr; }
  .bento > * { grid-area: auto !important; }
  .bento .b1, .bento .b4 { grid-template-columns: 1fr; }
  .bento .b1::before, .bento .b4::before { font-size: 2.2rem; }
}

/* Mosaïque en « trois colonnes égales » : 3 appuis numérotés, puis photo large et chiffre clé */
.bento { grid-template-areas: "l1 l2 acc" "ph ph num"; }
.bento .b1, .bento .b4 { display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; counter-increment: none; }
.bento .b1 ul, .bento .b4 p { align-self: auto; }
.bento .b1, .bento .b4, .bento .b2 { min-height: 340px; justify-content: flex-start; }
.bento .b2 { gap: 18px; }
.bento .b1::before, .bento .b4::before, .bento .b2::before { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 4vw, 4rem); line-height: .9; opacity: .45; }
.bento .b1::before { content: "01"; }
.bento .b4::before { content: "02"; }
.bento .b2::before { content: "03"; }
.bento .b5, .bento .b3 { min-height: 300px; }
@media (max-width: 900px) { .bento .b1, .bento .b4, .bento .b2 { min-height: 0; } }

/* ---------- programme pages: image cards, companies table, catalogue, hub contacts ---------- */
.icards { display: grid; gap: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icard { display: flex; flex-direction: column; gap: 12px; }
.icard .pic { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--soft, var(--tint)); outline: 3px solid transparent; outline-offset: 0; transition: outline-color .3s var(--ease), outline-offset .35s var(--ease); }
.icard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.elementor .icard .pic img { max-width: none; }
.icard a.pic:hover, .icard a.pic:focus-visible { outline-color: var(--mid, var(--red)); outline-offset: 3px; }
.icard a.pic:hover img { transform: scale(1.06); }
.icard .ph-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: var(--deep, var(--ink)); opacity: .35; }
.icard h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.15; }
.icard p { color: var(--ink-2); font-size: .98rem; line-height: 1.4; }
@media (max-width: 960px) { .icards, .icards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .icards, .icards--4 { grid-template-columns: 1fr; } }

.ctable-wrap { overflow-x: auto; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 2px var(--soft, var(--line)); }
.ctable { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.ctable th, .ctable td { padding: 18px clamp(16px, 2vw, 28px); text-align: left; vertical-align: top; }
.ctable thead th { font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; background: var(--soft, var(--tint)); color: var(--deep, var(--ink)); }
.ctable tbody th { font-weight: 600; }
.ctable tbody tr + tr > * { border-top: 1px solid var(--line); }
.ctable tbody tr:hover > * { background: color-mix(in srgb, var(--soft, var(--tint)) 35%, #fff); }
.ctable .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ctable tfoot th, .ctable tfoot td { border-top: 2px solid var(--deep, var(--ink)); font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
@media (max-width: 720px) {
  .ctable thead { position: absolute; left: -9999px; }
  .ctable, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; width: 100%; }
  .ctable tbody tr { padding: 14px 0; }
  .ctable tbody tr + tr { border-top: 1px solid var(--line); }
  .ctable tbody tr + tr > * { border-top: 0; }
  .ctable th, .ctable td { padding: 4px 20px; }
  .ctable td[data-label]::before { content: attr(data-label) " : "; color: var(--mute); font-size: .88rem; }
  .ctable .num { text-align: left; }
  .ctable tfoot tr { display: flex; justify-content: space-between; padding: 14px 20px; }
  .ctable tfoot th, .ctable tfoot td { width: auto; padding: 0; }
}

.catalogue { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: var(--soft, var(--tint)); color: var(--deep, var(--ink)); }
.cat-cover { display: grid; place-items: center; align-content: center; gap: 4px; width: clamp(120px, 14vw, 180px); aspect-ratio: 3 / 4; border-radius: var(--r-md); background: #fff; box-shadow: 0 18px 36px -18px rgba(20, 20, 20, .4); font-family: var(--display); font-weight: 600; letter-spacing: .1em; overflow: hidden; transform: rotate(-3deg); }
.cat-cover i { font-size: 3.4rem; color: var(--mid, var(--red)); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; }
.catalogue h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.05; }
.catalogue p { margin-top: 12px; max-width: 56ch; opacity: .9; }
.cat-act { margin-top: 24px; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.cat-act small { opacity: .75; }
.catalogue .btn { display: inline-flex; align-items: center; gap: .6em; background: var(--deep, var(--ink)); color: #fff; }
.catalogue .btn:hover { background: var(--hi, var(--red)); color: var(--hi-on, #fff); }
.catalogue .btn.is-off { opacity: .45; cursor: not-allowed; pointer-events: none; }
@media (max-width: 640px) { .catalogue { grid-template-columns: 1fr; } .cat-cover { width: 110px; } }

.hcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.hcard { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 2px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.hcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--red); }
.hcard .hnum { font-family: var(--display); font-weight: 500; font-size: 2.6rem; line-height: .9; color: var(--red); opacity: .55; }
.hcard h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
.hcard ul { display: grid; gap: 10px; }
.hcard li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); }
.hcard li i { color: var(--red); flex: none; transform: translateY(2px); }
.hcard li a { text-decoration: underline; text-underline-offset: 3px; }
.hcard li.empty { color: var(--mute); font-style: italic; }
.hcard .link { margin-top: auto; }
.hcard .link + .link { margin-top: 0; }
@media (max-width: 960px) { .hcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hcards { grid-template-columns: 1fr; } }
.section.flow { padding-block: clamp(32px, 4vw, 60px); }
.elementor-section:has(.imgband) + .elementor-section:has(.imgband) { margin-top: clamp(16px, 2vw, 28px); }

/* Contact: side panel on the left (details + hubs), wide form on the right */
.contact--side { grid-template-columns: 4fr 7fr; }
.contact--side .cside { order: -1; }
.contact--side .form { padding-top: clamp(0px, 1vw, 12px); }
.chubs h3 { margin-bottom: 6px; }
.chubs ol { list-style: none; margin: 0; padding: 0; }
.chubs li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1.5px solid rgba(20,20,20,.12); }
.chubs li:last-child { border-bottom: 1.5px solid rgba(20,20,20,.12); }
.chubs .n { font-family: var(--display); font-weight: 500; font-size: 1.35rem; color: var(--red); opacity: .6; min-width: 1.8em; }
.chubs .t { flex: 1; min-width: 0; display: grid; }
.chubs .t b { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.1; }
.chubs .t small { color: var(--ink-2); font-size: .9rem; overflow-wrap: anywhere; }
.chubs .go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20,20,20,.15); transition: background .25s, color .25s; }
.chubs .go:hover { background: var(--red); color: #fff; }
@media (max-width: 900px) { .contact--side { grid-template-columns: minmax(0, 1fr); } .contact--side .cside { order: 1; } }
.chubs .t .tel { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: .95rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.chubs .t .tel i { color: var(--red); }
.chubs li { gap: 12px; padding: 12px 0; }
.chubs .t { gap: 1px; }
.chubs .t .tel { font-size: .9rem; white-space: nowrap; }
.chubs .t .tel.mail { font-size: .8rem; white-space: nowrap; }
.chubs .go { width: 34px; height: 34px; flex: none; }
@media (max-width: 400px) { .chubs .t .tel.mail { white-space: normal; overflow-wrap: anywhere; } }
.chubs .hl { width: 112px; height: auto; flex: none; box-sizing: border-box; padding: 6px 8px; background: #fff; border-radius: 12px; }
.chubs .t b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hubs map: logos in the list, optional colour map */
.hlist a:has(.hl) { grid-template-columns: 1fr auto; padding-block: 18px; }
.hlist .hl { width: clamp(150px, 16vw, 210px); height: auto; box-sizing: border-box; padding: 10px 16px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(20,20,20,.08); }
.hlist .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hubs map: governorates, hub regions in the colour of their logo */
.tnmap { position: relative; min-height: 620px; background: #dce9ee; overflow: hidden; }
.tnmap .nb path { fill: #f3ebe4; stroke: #f3ebe4; stroke-width: 3.5; stroke-linejoin: round; }
.tnmap .geo text { opacity: 1; stroke: none; font-family: var(--display); font-weight: 600; font-size: calc(13px / var(--z, 1)); letter-spacing: .22em; fill: #b3a59b; }
.tnmap .geo text.sea { font-weight: 500; font-style: italic; letter-spacing: .06em; fill: #8aa5b0; font-size: calc(14px / var(--z, 1)); }
.tnmap svg { --z: 1; position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tnmap .rg { fill: #fff; stroke: #e4d3cb; stroke-width: .8; stroke-linejoin: round; }
.tnmap .rg.hub { fill: var(--c); stroke: #fff; stroke-width: 1.2; opacity: .85; cursor: pointer; transition: opacity .25s, filter .25s; }
.tnmap .rg.hub.on, .tnmap .rg.hub:hover { opacity: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.tnmap .hp { cursor: pointer; }
.tnmap .dot { fill: #fff; stroke: var(--ink); stroke-width: calc(2px / var(--z, 1)); r: calc(4.5px / var(--z, 1)); }
.tnmap .ring { fill: var(--c, var(--red)); opacity: 0; transform-box: fill-box; transform-origin: center; }
.tnmap text { font-family: var(--display); font-weight: 600; font-size: calc(15px / var(--z, 1)); fill: var(--ink); opacity: 0; paint-order: stroke; stroke: #fff; stroke-width: 4px; transition: opacity .2s; pointer-events: none; }
.tnmap .hp.on text, .tnmap .hp:hover text { opacity: 1; }
.tnmap .hp.on .ring { animation: tn-ping 1.4s ease-out infinite; }
@keyframes tn-ping { 0% { opacity: .4; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
@media (prefers-reduced-motion: reduce) { .tnmap .hp.on .ring { animation: none; opacity: .25; } }
@media (max-width: 960px) { .tnmap { min-height: 380px; } }
