/* In Côte d'Ivoire — public website (Bootstrap 5.3 theme) */
:root {
  --ici-ink: #17201b;
  --ici-ink-2: #46524b;
  --ici-ink-3: #6f7c75;
  --ici-paper: #ffffff;
  --ici-mist: #eef2ef;
  --ici-line: #d9e0db;
  --ici-orange: #e2680f;
  --ici-orange-dark: #b9520a;
  --ici-orange-soft: #fdeee2;
  --ici-green: #0d7a4e;
  --ici-green-dark: #0a5a3a;
  --ici-green-soft: #e3f2ea;
  --ici-gold: #b98a14;
  --ici-serif: "Montserrat", "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ici-sans: "Montserrat", "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --bs-body-font-family: var(--ici-sans);
  --bs-body-color: var(--ici-ink);
  --bs-link-color: var(--ici-ink);
  --bs-link-color-rgb: 23, 32, 27;
  --bs-link-hover-color: var(--ici-green);
  --bs-link-hover-color-rgb: 13, 122, 78;
  --bs-border-color: var(--ici-line);
  --bs-primary: var(--ici-green);
  --bs-primary-rgb: 13, 122, 78;
  --bs-focus-ring-color: rgba(226, 104, 15, .35);
}
body { -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
a:hover { color: var(--ici-green); }
h1, h2, h3, h4 { font-family: var(--ici-sans); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.serif { font-family: var(--ici-serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
.text-ink-3 { color: var(--ici-ink-3) !important; }
.fs-7 { font-size: .85rem; }
.fs-8 { font-size: .78rem; }
:focus-visible { outline: 2px solid var(--ici-orange); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Buttons */
.btn { --bs-btn-font-weight: 600; --bs-btn-border-radius: 6px; }
.btn-ink { --bs-btn-color: #fff; --bs-btn-bg: var(--ici-ink); --bs-btn-border-color: var(--ici-ink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ici-green-dark); --bs-btn-hover-border-color: var(--ici-green-dark); --bs-btn-active-bg: var(--ici-green-dark); }
.btn-orange { --bs-btn-color: #fff; --bs-btn-bg: var(--ici-orange); --bs-btn-border-color: var(--ici-orange); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ici-orange-dark); --bs-btn-hover-border-color: var(--ici-orange-dark); --bs-btn-active-bg: var(--ici-orange-dark); }
.btn-green { --bs-btn-color: #fff; --bs-btn-bg: var(--ici-green); --bs-btn-border-color: var(--ici-green); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ici-green-dark); --bs-btn-hover-border-color: var(--ici-green-dark); }
.btn-outline-ink { --bs-btn-color: var(--ici-ink); --bs-btn-border-color: var(--ici-line); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ici-ink); --bs-btn-hover-border-color: var(--ici-ink); }

/* Top bar & masthead */
.topbar { background: var(--ici-ink); color: #cfd9d3; font-size: .82rem; }
.topbar a { color: #cfd9d3; }
.topbar a:hover { color: #fff; }
.topbar .social a { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.08); }
.flag-band { display: flex; height: 5px; }
.flag-band span { flex: 1; }
.flag-band span:nth-child(1) { background: var(--ici-orange); }
.flag-band span:nth-child(2) { background: #fff; }
.flag-band span:nth-child(3) { background: var(--ici-green); }
.masthead { padding: 22px 0 18px; }
.brand { display: inline-flex; align-items: baseline; gap: .35rem; font-family: var(--ici-sans); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.035em; line-height: 1; color: var(--ici-ink); white-space: nowrap; }
.brand .in { color: var(--ici-orange); font-style: italic; font-weight: 600; }
.brand-logo { display: block; height: 110px; width: auto; }
@media (max-width: 575.98px) { .brand-logo { height: 80px; } }
.brand:hover { color: var(--ici-ink); }
.brand-tagline { color: var(--ici-ink-3); font-size: .86rem; max-width: 260px; line-height: 1.35; border-left: 1px solid var(--ici-line); padding-left: 14px; }

/* Main navigation */
.main-nav { background: #fff; border-top: 1px solid var(--ici-line); border-bottom: 3px solid var(--ici-ink); z-index: 1030; }
.main-nav .nav-link { font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ici-ink); padding: .85rem .55rem !important; white-space: nowrap; transition: color .2s ease; }
.main-nav .nav { flex-wrap: nowrap; }
.main-nav .nav-link.active, .main-nav .nav-link:hover { color: var(--ici-orange); }
.main-nav .nav-link.active { box-shadow: inset 0 -3px 0 var(--ici-orange); }
.main-nav .dropdown-menu { border: 0; border-top: 3px solid var(--ici-orange); border-radius: 0 0 8px 8px; box-shadow: 0 16px 34px rgba(23,32,27,.14); padding: .75rem; margin-top: 0; }
.main-nav .dropdown-menu.mega { min-width: 420px; display: none; column-count: 2; column-gap: 18px; }
.main-nav .dropdown-menu.mega.show { display: block; }
.main-nav .dropdown-item { border-radius: 4px; font-size: .9rem; padding: .4rem .6rem; }
.main-nav .dropdown-item:hover { background: var(--ici-mist); color: var(--ici-green); }
.main-nav .dropdown-header { column-span: all; color: var(--ici-ink-3); font-size: .78rem; padding: 0 .6rem .4rem; }
@media (min-width: 992px) {
  .main-nav .dropdown:hover > .dropdown-menu.mega { display: block; }
}
.search-box { position: relative; }
.search-box .form-control { min-width: 240px; padding-right: 2.4rem; }
.search-box .btn-search { position: absolute; right: 2px; top: 2px; bottom: 2px; border: 0; background: transparent; padding: 0 .7rem; color: var(--ici-ink-2); }
.suggest { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--ici-line); border-radius: 8px; box-shadow: 0 12px 30px rgba(23,32,27,.15); z-index: 1050; overflow: hidden; }
.suggest a { display: flex; justify-content: space-between; gap: 10px; padding: .55rem .8rem; font-size: .9rem; border-bottom: 1px solid var(--ici-mist); }
.suggest a:hover, .suggest a.active { background: var(--ici-mist); }
.suggest small { color: var(--ici-ink-3); white-space: nowrap; }

/* Breaking ticker */
.breaking { background: var(--ici-orange-soft); border-bottom: 1px solid #f4d5bd; }
.breaking .label { background: var(--ici-orange); color: #fff; font-size: .76rem; font-weight: 700; padding: .25rem .6rem; border-radius: 3px; white-space: nowrap; }
.ticker { overflow: hidden; flex: 1; min-width: 0; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: inline-block; padding-left: 100%; animation: ticker 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a { margin-right: 3rem; font-size: .92rem; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* Section headings */
.section { padding-top: 2rem; padding-bottom: 2rem; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 3px solid var(--ici-ink); padding-top: .6rem; margin-bottom: 1.2rem; }
.sec-head h2 { font-size: 1.45rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin: 0; }
.sec-head a.more { font-size: .88rem; font-weight: 600; color: var(--ici-green); }
.sec-head.orange { border-color: var(--ici-orange); }
.sec-head.green { border-color: var(--ici-green); }

/* Pictures */
.pic { position: relative; display: block; border-radius: 8px; overflow: hidden; background: var(--ici-mist); }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
a:hover > .pic img, .pic:hover img { transform: scale(1.03); }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-card { aspect-ratio: 16 / 10; }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-square { aspect-ratio: 1; }
.pic .badge-format { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.95); color: var(--ici-ink); font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 3px; }

/* Story units */
.kicker { display: inline-block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ici-green); margin: .6rem 0 .25rem; }
.kicker.sponsored { color: var(--ici-gold); }
.story h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.story h3 a:hover { color: var(--ici-green); }
.story p { color: var(--ici-ink-2); font-size: .95rem; margin-bottom: .4rem; }
.meta { font-size: .8rem; color: var(--ici-ink-3); }
.story-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ici-line); }
.story-row .kicker { margin-top: 0; }
.story-row h3 { font-size: 1.07rem; }
.story-mini { padding: .7rem 0; border-bottom: 1px solid var(--ici-line); }
.story-mini .kicker { margin-top: 0; }
.story-mini h3 { font-family: var(--ici-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; margin: 0 0 .2rem; }
@media (max-width: 575.98px) { .story-row { grid-template-columns: 110px minmax(0, 1fr); } }

/* Hero carousel: text below the picture */
.hero-carousel { border: 1px solid var(--ici-line); border-radius: 10px; overflow: hidden; background: #fff; }
.hero-carousel .carousel-item .pic { border-radius: 0; }
/* Smooth crossfade instead of the basic slide + slow zoom on the picture */
.hero-carousel .carousel-item { transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1), transform 1.1s cubic-bezier(.4, 0, .2, 1); }
.hero-carousel .carousel-item img { transform: scale(1.06); }
.hero-carousel .carousel-item.active img { animation: hero-zoom 7s cubic-bezier(.22, .61, .36, 1) forwards; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* Caption content rises in with a stagger once the slide is active */
.hero-carousel .caption > * { opacity: 0; transform: translateY(16px); }
.hero-carousel .carousel-item.active .caption > * { animation: hero-rise .8s cubic-bezier(.22, .61, .36, 1) forwards; }
.hero-carousel .carousel-item.active .caption > *:nth-child(2) { animation-delay: .1s; }
.hero-carousel .carousel-item.active .caption > *:nth-child(3) { animation-delay: .2s; }
.hero-carousel .carousel-item.active .caption > *:nth-child(4) { animation-delay: .3s; }
@keyframes hero-rise { to { opacity: 1; transform: none; } }
.hero-carousel .caption { padding: 1rem 1.4rem 4.4rem; }
.hero-carousel .caption h2 { font-size: clamp(1.5rem, 2.7vw, 2.3rem); margin: 0 0 .5rem; }
.hero-carousel .caption p { color: var(--ici-ink-2); font-size: 1.03rem; max-width: 62ch; margin-bottom: .4rem; }
.hero-controls { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1rem; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.hero-controls .ctl { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ici-line); background: #fff; color: var(--ici-ink); display: grid; place-items: center; font-size: 1.1rem; }
.hero-controls .ctl:hover { background: var(--ici-ink); color: #fff; border-color: var(--ici-ink); }
.hero-carousel .carousel-indicators { position: static; margin: 0; gap: 6px; }
.hero-carousel .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ici-ink-3); background: transparent; opacity: 1; margin: 0; transition: width .25s; }
.hero-carousel .carousel-indicators .active { background: var(--ici-orange); border-color: var(--ici-orange); width: 26px; border-radius: 6px; }
.hero-progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.35); z-index: 3; }
.hero-progress i { display: block; height: 100%; width: 0; background: var(--ici-orange); }
.latest-list { list-style: none; padding: 0; margin: 0; }
.latest-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--ici-line); font-size: .92rem; }
.latest-list time { font-weight: 700; color: var(--ici-orange); font-size: .8rem; padding-top: 2px; }
.side-title { font-family: var(--ici-sans); font-size: .95rem; font-weight: 700; border-bottom: 2px solid var(--ici-orange); padding-bottom: .4rem; margin-bottom: .2rem; }
@media (min-width: 992px) { .latest-col { border-left: 1px solid var(--ici-line); } }

/* Most read */
.rank { list-style: none; padding: 0; margin: 0; counter-reset: r; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: .6rem 0; border-bottom: 1px solid var(--ici-line); font-weight: 600; font-size: .93rem; }
.rank li::before { content: counter(r); font-family: var(--ici-serif); font-size: 1.5rem; color: var(--ici-orange); line-height: 1; }

/* Word of the day */
.wotd { background: var(--ici-green-soft); border-radius: 12px; padding: 1.6rem 1.8rem; }
.wotd .word { font-family: var(--ici-serif); font-style: italic; font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ici-green-dark); line-height: 1.05; }
.wotd .tag { font-size: .8rem; font-weight: 700; color: var(--ici-green); }

/* Person of the week */
.potw blockquote { font-family: var(--ici-serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; border-left: 3px solid var(--ici-orange); padding-left: 1rem; margin-bottom: 1rem; }

/* Jobs & events */
.logo-sq { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.logo-sq.lg { width: 84px; height: 84px; font-size: 1.5rem; border-radius: 14px; }
.job-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--ici-line); }
.job-row h3 { font-family: var(--ici-sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 .15rem; }
.chip { display: inline-block; font-size: .74rem; font-weight: 600; padding: .15rem .55rem; border-radius: 20px; background: var(--ici-mist); color: var(--ici-ink-2); margin: .15rem .25rem .15rem 0; }
.chip.o { background: var(--ici-orange-soft); color: #a24a08; }
.chip.g { background: var(--ici-green-soft); color: var(--ici-green-dark); }
.chip.y { background: #fbf1d8; color: #8a6608; }
.chip.r { background: #fbe5e1; color: #b02a15; }
.event-row { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--ici-line); }
.datebox { border: 2px solid var(--ici-ink); border-radius: 8px; text-align: center; line-height: 1.05; padding: .35rem 0; }
.datebox b { display: block; font-family: var(--ici-serif); font-size: 1.6rem; }
.datebox span { font-size: .7rem; font-weight: 700; color: var(--ici-orange); }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--ici-line); border-radius: 8px; overflow: hidden; }
.calendar .dh { background: var(--ici-mist); font-size: .75rem; font-weight: 700; padding: .4rem; text-align: center; }
.calendar .d { min-height: 92px; border-top: 1px solid var(--ici-line); border-left: 1px solid var(--ici-line); padding: .3rem .4rem; font-size: .78rem; }
.calendar .d:nth-child(7n+1) { border-left: 0; }
.calendar .d.out { background: #fafbfa; color: var(--ici-ink-3); }
.calendar .d.today .num { background: var(--ici-orange); color: #fff; border-radius: 50%; padding: 1px 6px; }
.calendar .d a { display: block; background: var(--ici-green-soft); color: var(--ici-green-dark); border-radius: 3px; padding: 1px 4px; margin-top: 3px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Directory */
.dir-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .9rem; padding: 1rem; border: 1px solid var(--ici-line); border-radius: 10px; height: 100%; color: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
.dir-card:hover { border-color: var(--ici-green); box-shadow: 0 8px 24px rgba(13,122,78,.08); color: inherit; }
.dir-card.premium { border-color: var(--ici-gold); box-shadow: inset 4px 0 0 var(--ici-gold); }
.dir-card .logo-sq { width: 64px; height: 64px; font-size: 1.1rem; }
.dir-card h3 { font-family: var(--ici-sans); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; margin: 0 0 .15rem; }
.stars { color: var(--ici-gold); letter-spacing: 1px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--ici-line); font-size: .93rem; }
.info-list li > span:first-child { color: var(--ici-ink-3); font-weight: 600; }
.map-frame { border: 1px solid var(--ici-line); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Page head */
.page-head { padding: 2rem 0 1.2rem; border-bottom: 1px solid var(--ici-line); margin-bottom: 1.6rem; }
.page-head .lead { color: var(--ici-ink-2); max-width: 760px; font-size: 1.08rem; }
.breadcrumb { font-size: .82rem; --bs-breadcrumb-divider-color: var(--ici-ink-3); }
.breadcrumb a { color: var(--ici-green); }
.subnav { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.subnav a { padding: .3rem .8rem; border: 1px solid var(--ici-line); border-radius: 20px; font-size: .85rem; font-weight: 600; }
.subnav a.on, .subnav a:hover { background: var(--ici-ink); color: #fff; border-color: var(--ici-ink); }
.filters { background: var(--ici-mist); border-radius: 10px; padding: 1rem; margin-bottom: 1.4rem; }

/* Article */
.article-body { font-family: var(--ici-serif); font-size: 1.18rem; line-height: 1.72; }
.article-body p { margin-bottom: 1.15em; }
.article-body h2 { font-size: 1.55rem; margin: 1.6em 0 .6em; }
.article-body blockquote { border-left: 3px solid var(--ici-orange); padding-left: 1rem; font-size: 1.3rem; font-style: italic; color: var(--ici-ink-2); margin: 1.4em 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; }
.article-body a { color: var(--ici-green); text-decoration: underline; }
.standfirst { font-family: var(--ici-serif); font-size: 1.32rem; line-height: 1.45; color: var(--ici-ink-2); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; padding: .9rem 0; border-top: 1px solid var(--ici-line); border-bottom: 1px solid var(--ici-line); margin: 1rem 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--ici-green); flex: none; }
.share-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--ici-line); border-radius: 50%; color: var(--ici-ink); background: #fff; }
.share-btn:hover { background: var(--ici-ink); color: #fff; }
.note-sponsored { background: #fbf1d8; border-left: 3px solid var(--ici-gold); padding: .7rem 1rem; font-size: .9rem; border-radius: 0 6px 6px 0; }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--ici-orange); width: 0; z-index: 2000; }
.newsletter-box { background: var(--ici-green-soft); border-radius: 12px; padding: 1.3rem 1.5rem; }

/* Ads */
.ad-slot { margin: 1.4rem auto; text-align: center; }
.ad-slot .ad-label { display: block; font-size: .7rem; color: var(--ici-ink-3); text-align: left; margin-bottom: 4px; }
.ad-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; width: 100%; margin: 0 auto; border-radius: 8px; padding: 1rem; color: #fff; text-align: center; background: var(--ad-color, var(--ici-green)); background-image: linear-gradient(125deg, rgba(255,255,255,.08), rgba(0,0,0,.18)); }
.ad-box:hover { color: #fff; filter: brightness(1.05); }
.ad-box small { opacity: .85; }
.ad-box strong { font-family: var(--ici-serif); font-size: 1.3rem; line-height: 1.2; }
.ad-box .cta { background: #fff; color: var(--ici-ink); padding: .25rem .9rem; border-radius: 20px; font-size: .8rem; font-weight: 700; }
.ad-box.house { color: var(--ici-ink-3); border: 1px dashed #b9c4be; background: repeating-linear-gradient(135deg, #f6f8f7 0 12px, #fff 12px 24px); }
.ad-box.house:hover { color: var(--ici-green); }
.ad-box img { max-width: 100%; height: auto; border-radius: 4px; }
.ad-leader .ad-box { max-width: 970px; min-height: 110px; }
.ad-rect .ad-box { max-width: 300px; min-height: 250px; }
.ad-half .ad-box { max-width: 300px; min-height: 600px; }
@media (max-width: 991.98px) { .ad-half .ad-box { min-height: 250px; } }
.ad-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--ici-line); padding: 6px 48px 6px 8px; margin: 0; }
.ad-sticky .ad-label, .ad-sticky small { display: none; }
.ad-sticky .ad-box { flex-direction: row; min-height: 50px; max-width: 360px; padding: .3rem .8rem; gap: .7rem; }
.ad-sticky .ad-box strong { font-family: var(--ici-sans); font-size: .9rem; }
.ad-sticky .btn-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }

/* Learn English quiz */
.quiz-q { border: 1px solid var(--ici-line); border-radius: 10px; padding: 1.1rem; margin-bottom: .9rem; }
.quiz-q .opt { text-align: left; }
.quiz-q .opt.right { background: var(--ici-green-soft); border-color: var(--ici-green); color: var(--ici-green-dark); }
.quiz-q .opt.wrong { background: #fbe5e1; border-color: #c2341c; color: #8c1f0d; }

/* Stats band (advertise, invest) */
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; margin: 1.4rem 0 2rem; }
.stat-band div { border-top: 3px solid var(--ici-orange); padding-top: .5rem; color: var(--ici-ink-2); font-size: .92rem; }
.stat-band b { display: block; font-family: var(--ici-serif); font-size: 2.1rem; color: var(--ici-ink); line-height: 1.1; }
@media (max-width: 767.98px) { .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.format-card { border: 1px solid var(--ici-line); border-radius: 10px; padding: 1rem; height: 100%; }
.format-card .shape { background: var(--ici-mist); border: 1px dashed #b9c4be; border-radius: 4px; margin: .6rem 0; display: grid; place-items: center; font-size: .75rem; color: var(--ici-ink-3); max-height: 110px; }

/* Footer */
.site-footer { background: var(--ici-ink); color: #cfd9d3; margin-top: 3rem; }
.site-footer a { color: #cfd9d3; }
.site-footer a:hover { color: #ffb67f; }
.site-footer h4 { font-family: var(--ici-sans); font-size: .95rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .9rem; }
.site-footer .brand { color: #fff; }
.site-footer .base { border-top: 1px solid #33403a; font-size: .8rem; color: #9fb0a7; }

/* Cookie banner & toasts */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; z-index: 1060; background: #fff; border: 1px solid var(--ici-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(23,32,27,.2); padding: 1rem 1.2rem; }
mark { background: #ffe2c9; padding: 0 2px; border-radius: 2px; }
.empty-state { text-align: center; color: var(--ici-ink-3); padding: 2.5rem 1rem; }
.prose p { font-size: 1.08rem; line-height: 1.65; }

/* Scroll reveal: sections fade up as they enter the viewport */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Micro-interactions: gentle lift on cards and rows */
.story, .dir-card, .format-card, .quiz-q { transition: transform .25s ease, box-shadow .25s ease, border-color .2s, background .2s; }
.story:hover, .format-card:hover { transform: translateY(-3px); }
.dir-card:hover { transform: translateY(-3px); }
.job-row, .event-row, .latest-list li, .rank li { transition: background .2s ease, padding-left .2s ease; }
.job-row:hover, .event-row:hover, .latest-list li:hover { background: var(--ici-mist); }
.story img { will-change: transform; }

/* Gutters: keep rows inside the viewport on small screens */
.container { --bs-gutter-x: 2rem; }
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
.masthead .search-box .form-control { min-width: 280px; }

/* Fluidity & motion pack */
html { scroll-behavior: smooth; }
a { transition: color .18s ease; }
.btn { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.story-row { transition: background .2s ease, transform .2s ease; }
.main-nav { position: sticky; top: 0; }
.masthead { transition: padding .35s ease; }
.brand-logo { transition: height .35s ease; }
body.scrolled .masthead { padding: 8px 0 6px; }
body.scrolled .brand-logo { height: 64px; }
.main-nav .dropdown-menu.mega.show { animation: iciDrop .22s ease-out; }
@keyframes iciDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
#main { animation: iciPage .35s ease-out; }
@keyframes iciPage { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
img { transition: opacity .4s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #main, .main-nav .dropdown-menu.mega.show { animation: none; }
  body.scrolled .masthead { padding: 22px 0 18px; }
  body.scrolled .brand-logo { height: 110px; }
}
