/**
 * NairobiCity landing page ("/", index.landing.tpl) - the page's own layer
 * on top of nairobicity.css (cards, rails, section heads).
 *
 * Search first, then admin-managed hero banners, one compact row of quick
 * links, and a few image-led sections built from real listings. Until
 * 2026-10-25 this lived in ~750 lines of inline <style>, most of it for
 * sections that are gone (galleries, "Nairobi at a glance", stats, CTA).
 */

*, *::before, *::after { box-sizing: border-box; }
:root {
  --navy: #0b2a5b;
  --navy-d: #08213f;
  --blue: #1e5bd6;
  --orange: #ff6a1a;
  --orange-l: #ff8a2a;
  --orange-ink: #c2410c;
  --green: #15a06b;
  --text: #46556f;
  --text-lt: #66748e;
  --bg: #f7f9fd;
  --surface: #fff;
  --border: rgba(11, 42, 91, .1);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px;
  --sh-sm: 0 4px 14px rgba(11, 42, 91, .06);
  --sh-md: 0 10px 30px rgba(11, 42, 91, .12);
  --nav-h: 64px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body.nc-landing { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; padding-top: var(--nav-h); }
.nc-landing a { text-decoration: none; color: inherit; }
.nc-landing img { display: block; max-width: 100%; }
.nc-landing h1, .nc-landing h2, .nc-landing h3, .nc-landing p, .nc-landing ul { margin: 0; }
.nc-landing ul { padding: 0; list-style: none; }
.nc-landing :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.nc-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nc-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff !important; font-weight: 700; }
.nc-skip:focus { top: 10px; }
/* sale countdown strip under the nav (nairobicity.css styles it); ".nc-landing a" above would turn its button text white */
.nc-landing .nc-campaign__cta, .nc-landing .nc-campaign__cta:hover { color: var(--bf-ink); }

/* ------------------------------------------------------------------ nav */
.nc-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
/* once the page has scrolled (nc-landing.js adds is-glass) the bar turns see-through: the page shows through, blurred */
.nc-nav { transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.nc-nav.is-glass { background: rgba(255, 255, 255, .5); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); border-bottom-color: rgba(255, 255, 255, .45); box-shadow: 0 6px 24px rgba(11, 42, 91, .06); }
.nc-nav.is-glass .nc-hamburger { background: rgba(255, 255, 255, .6); }
@media (prefers-reduced-motion: reduce) { .nc-nav { transition: none; } }
.nc-nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.nc-logo { display: flex; align-items: center; flex-shrink: 0; }
.nc-logo__img { height: 38px; width: auto; }
.nc-logo__wordmark { font-weight: 800; color: var(--navy); }
.nc-nav__links { display: flex; flex: 1; justify-content: center; gap: 20px; margin-left: 18px; align-items: center; }
.nc-nav__links > a, .nc-nav-menu__toggle { font: 600 14.5px var(--sans); padding: 8px 12px; border-radius: var(--r-sm); color: var(--text); display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; cursor: pointer; }
.nc-nav__links > a:hover, .nc-nav-menu__toggle:hover { background: rgba(11, 42, 91, .06); color: var(--navy); }
.nc-nav-menu { position: relative; }
.nc-nav-menu__chevron { font-size: 11px; transition: transform .2s; }
.nc-nav-menu__panel { position: absolute; top: calc(100% + 8px); left: 0; width: 380px; padding: 12px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--sh-md); display: none; z-index: 35; }
.nc-nav-menu:focus-within .nc-nav-menu__panel, .nc-nav-menu.open .nc-nav-menu__panel { display: block; }
.nc-nav-menu.open .nc-nav-menu__chevron { transform: rotate(180deg); }
.nc-nav-menu__section { padding: 12px; }
.nc-nav-menu__item-title { font-size: 15px; font-weight: 700; color: var(--navy); display: block; }
.nc-nav-menu__item-copy { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--text-lt); }
.nc-nav-menu__tags { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.nc-nav-menu__tag { padding: 9px 11px; border-radius: 10px; background: rgba(11, 42, 91, .04); color: var(--navy); font-size: 13px; font-weight: 700; }
.nc-nav-menu__tag:hover { background: rgba(30, 91, 214, .1); color: var(--blue); }
/* mega menus: the panel spans the bar's content, logo to Sign Up, and ends in a preview card that follows the hovered item */
.nc-nav__inner { position: relative; }
.nc-nav-menu--mega { position: static; }
.nc-nav-menu--mega:focus-within .nc-nav-menu__panel { display: none; }
.nc-nav-menu--mega.open .nc-nav-menu__panel { display: grid; }
.nc-nav-menu--mega.open .nc-nav-menu__toggle { background: rgba(11, 42, 91, .06); color: var(--navy); }
.nc-mega { left: 24px; right: 24px; top: 100%; width: auto; margin-top: 6px; padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(11, 42, 91, .18); grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
.nc-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nc-mega__cols { display: flex; gap: 32px; min-width: 0; }
.nc-mega__col { flex: 1; min-width: 0; }
.nc-mega__title { font: 800 11.5px var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--text-lt); padding: 0 12px 10px; }
.nc-mega__list { display: grid; gap: 2px; }
.nc-mega__col:only-child .nc-mega__list { grid-template-columns: 1fr 1fr; column-gap: 12px; }
.nc-mega__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; transition: background-color .15s; }
.nc-mega__item:hover, .nc-mega__item:focus-visible, .nc-mega__item.is-on { background: rgba(30, 91, 214, .08); }
.nc-mega__ico { flex: 0 0 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 106, 26, .12); color: var(--orange-ink); font-size: 15px; }
.nc-mega__item.is-on .nc-mega__ico, .nc-mega__item:hover .nc-mega__ico { background: var(--orange); color: #fff; }
.nc-mega__text { min-width: 0; }
.nc-mega__text strong { display: block; font-size: 14.5px; color: var(--navy); line-height: 1.3; }
.nc-mega__text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--text-lt); }
.nc-mega__preview { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); align-self: start; }
.nc-mega__plink { display: flex; flex-direction: column; }
.nc-mega__cats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 16px 16px; transition: opacity .18s ease; }
.nc-mega__cats[hidden] { display: none; }
.nc-mega__cats [data-mega-catlist] { display: contents; }
.nc-mega__preview.is-swap .nc-mega__cats { opacity: 0; }
.nc-mega__catlabel { flex-basis: 100%; font: 800 11px var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--text-lt); }
.nc-mega__cat { display: inline-block; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--navy); }
.nc-mega__cat:hover, .nc-mega__cat:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.nc-mega__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: rgba(11, 42, 91, .06); transition: opacity .18s ease; }
.nc-mega__preview.is-swap .nc-mega__img, .nc-mega__preview.is-swap .nc-mega__pbody { opacity: 0; }
.nc-mega__pbody { display: block; padding: 14px 16px 14px; transition: opacity .18s ease; }
.nc-mega__pbody strong { display: block; font: 600 20px/1.2 var(--serif); color: var(--navy); }
.nc-mega__pbody small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--text-lt); }
.nc-mega__go { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .nc-mega__img, .nc-mega__pbody, .nc-mega__item { transition: none; } }
.nc-nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nc-btn-ghost { font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: var(--r-sm); color: var(--navy); }
.nc-btn-ghost:hover { background: rgba(11, 42, 91, .06); }
.nc-btn-primary { padding: 10px 18px; border-radius: var(--r-sm); background: linear-gradient(135deg, var(--orange-l), var(--orange)); color: #fff !important; font-weight: 700; font-size: 14px; box-shadow: 0 6px 18px rgba(255, 106, 26, .28); }
.nc-hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--border); background: #fff; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.nc-hamburger span { width: 18px; height: 2px; border-radius: 2px; background: var(--navy); }
.nc-mobile-menu { display: none; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 8px 20px 18px; border-top: 1px solid var(--border); background: #fff; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
.nc-mobile-menu.open { display: grid; }
.nc-mobile-menu a { padding: 11px 6px; font-weight: 600; color: var(--navy); border-bottom: 1px solid rgba(11, 42, 91, .06); display: flex; gap: 10px; align-items: center; }
.nc-mobile-menu a i { width: 18px; color: var(--orange); }

/* --------------------------------------------------------------- search */
.nc-l-search { padding: 22px 0 14px; }
.nc-l-search__title { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 32px); font-weight: 600; color: var(--navy); line-height: 1.15; margin-bottom: 12px; }
.nc-l-search__form { position: relative; display: flex; align-items: center; max-width: 760px; background: #fff; border: 1.5px solid rgba(11, 42, 91, .14); border-radius: 999px; box-shadow: var(--sh-sm); padding: 5px 5px 5px 46px; }
.nc-l-search__form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 91, 214, .14); }
.nc-l-search__icon { position: absolute; left: 18px; color: var(--text-lt); font-size: 16px; }
.nc-l-search__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 16px var(--sans); color: var(--navy); padding: 10px 6px; }
.nc-l-search__input::placeholder { color: #8692a8; }
.nc-l-search__btn { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 11px 22px; background: var(--navy); color: #fff; font: 700 14.5px var(--sans); cursor: pointer; min-height: 44px; }
.nc-l-search__btn:hover { background: var(--blue); }
.nc-l-search__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; }
.nc-l-search__hints-label { font-size: 13px; color: var(--text-lt); font-weight: 600; }
.nc-l-search__hint { font-size: 13px; font-weight: 600; color: var(--navy); padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); min-height: 32px; display: inline-flex; align-items: center; }
.nc-l-search__hint:hover { border-color: var(--blue); color: var(--blue); }

/* ---------------------------------------------------------- hero banners */
.nc-hero-banners { padding: 4px 0 6px; }
.nc-hb { position: relative; }
.nc-hb__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--r-lg); scrollbar-width: none; overscroll-behavior-x: contain; }
.nc-hb__track::-webkit-scrollbar { display: none; }
.nc-hb__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 21 / 8; min-height: 260px; max-height: 420px; overflow: hidden; background: var(--navy); isolation: isolate; }
.nc-hb__media, .nc-hb__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.nc-hb__media img { object-fit: cover; object-position: center; }
.nc-hb__slide--contain { background: #f45fc3; }
.nc-hb__slide--contain .nc-hb__media img { object-fit: contain; }
.nc-hb__slide--contain .nc-hb__shade { background: linear-gradient(0deg, rgba(8, 21, 45, .72) 0%, rgba(8, 21, 45, .08) 30%, transparent 52%); }
.nc-hb__slide--top .nc-hb__media img { object-position: center top; }
.nc-hb__slide--bottom .nc-hb__media img { object-position: center bottom; }
/* contrast for the words whatever the photo: dark from the bottom-left */
.nc-hb__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 21, 45, .82) 0%, rgba(8, 21, 45, .55) 42%, rgba(8, 21, 45, .08) 78%), linear-gradient(0deg, rgba(8, 21, 45, .55) 0%, rgba(8, 21, 45, 0) 55%); }
.nc-hb__body { position: absolute; left: 0; bottom: 0; z-index: 1; max-width: 620px; padding: 30px 34px 34px; color: #fff; }
.nc-hb__kind { display: inline-block; margin-bottom: 10px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nc-hb__title { font-family: var(--serif); font-size: clamp(26px, 4vw, 44px); font-weight: 600; line-height: 1.08; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.nc-hb__text { margin-top: 10px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .9); max-width: 46ch; }
.nc-hb__cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: linear-gradient(135deg, var(--orange-l), var(--orange)); color: #fff !important; font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px rgba(255, 106, 26, .4); }
.nc-hb__cta:hover { box-shadow: 0 16px 36px rgba(255, 106, 26, .52); }
.nc-hb__controls { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(8, 21, 45, .22); backdrop-filter: blur(10px); }
.nc-hb__btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 13px; }
.nc-hb__btn:hover { background: rgba(255, 255, 255, .2); }
.nc-hb__dots { display: flex; gap: 2px; }
.nc-hb__dot { width: 24px; height: 36px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.nc-hb__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 4px; background: rgba(255, 255, 255, .55); transition: width .2s, margin .2s; }
.nc-hb__dot.is-active::before { width: 20px; margin-left: -10px; background: #fff; }

/* ----------------------------------------------------------- quick links */
.nc-ql { padding: 12px 0 2px; }
.nc-ql__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.nc-ql__row::-webkit-scrollbar { display: none; }
.nc-ql__row li { flex: 0 0 auto; scroll-snap-align: start; }
.nc-ql__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--navy); font-weight: 700; font-size: 14px; box-shadow: var(--sh-sm); white-space: nowrap; }
.nc-ql__link i { color: var(--orange); font-size: 14px; }
.nc-ql__link:hover { border-color: rgba(30, 91, 214, .35); color: var(--blue); }
@media (min-width: 992px) { .nc-ql__row { flex-wrap: wrap; overflow: visible; } }

/* -------------------------------------------------------------- sections */
.nc-l-sec { padding: 34px 0; }
.nc-section--alt { background: #fff; }
.nc-landing .nc-section-head { margin-bottom: 14px; }
.nc-landing .nc-section-head__title { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; color: var(--navy); }
.nc-landing .nc-section-head__link { font-weight: 700; color: var(--blue); font-size: 14px; white-space: nowrap; }
.nc-l-scroller { display: grid; grid-auto-flow: column; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 12px; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%); }
.nc-l-scroller::-webkit-scrollbar { display: none; }
.nc-l-scroller > * { scroll-snap-align: start; }

/* cards: the universal card (.nc-ucard, nairobicity.css) - sized here, drawn there */
.nc-l-ucards { grid-auto-columns: min(44vw, 210px); gap: 10px; }

/* ------------------------------------------------------------- questions */
.nc-l-qa { padding: 34px 0; }
.nc-l-qa__panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 26px; padding: 32px; border-radius: var(--r-lg); color: #fff; background: radial-gradient(520px 260px at 0% 0%, rgba(255, 138, 42, .26), transparent 65%), linear-gradient(135deg, #0b2a5b 0%, #10224a 60%, #1b1440 100%); box-shadow: var(--sh-md); }
.nc-l-qa__eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ffc48a; }
.nc-l-qa__heading { margin-top: 10px; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; line-height: 1.08; }
.nc-l-qa__lede { margin-top: 10px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .8); max-width: 36ch; }
.nc-l-qa__actions { margin-top: 18px; }
.nc-l-qa__all { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 196, 138, .8); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nc-l-qa__list { display: grid; gap: 14px; }
.nc-l-q { position: relative; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.nc-l-q--lead { background: #fff; color: var(--text); border-color: transparent; }
.nc-l-q__sponsor { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.nc-l-q--lead .nc-l-q__sponsor { color: var(--text-lt); }
.nc-l-q__title { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; line-height: 1.2; }
.nc-l-q--lead .nc-l-q__title { color: var(--navy); }
.nc-l-q__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nc-l-q__summary { margin-top: 6px; font-size: 14px; line-height: 1.5; opacity: .85; }
.nc-l-q__answers { display: grid; gap: 8px; margin-top: 12px; }
.nc-l-q__answer { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.nc-l-q__answer img { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.nc-l-q__answer span { padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: rgba(11, 42, 91, .06); }
.nc-l-q:not(.nc-l-q--lead) .nc-l-q__answer span { background: rgba(255, 255, 255, .1); }
.nc-l-q__answer strong { font-weight: 800; margin-right: 4px; }
.nc-l-q__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.nc-l-q__count { font-size: 13px; font-weight: 700; opacity: .8; }
.nc-l-q__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; background: linear-gradient(135deg, var(--orange-l), var(--orange)); color: #fff !important; font-weight: 800; font-size: 14px; }
.nc-l-qa__empty { display: grid; gap: 14px; align-content: center; justify-items: start; padding: 22px; border-radius: var(--r-md); border: 1px dashed rgba(255, 255, 255, .3); font-size: 15px; }

/* ------------------------------------------------------------- advertise */
.nc-landing-ad { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nc-l-ad { padding: 10px 0 40px; }
.nc-l-ad__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 24px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); }
.nc-l-ad__title { font-size: 20px; font-weight: 800; color: var(--navy); }
.nc-l-ad__text { margin-top: 6px; font-size: 14.5px; line-height: 1.55; max-width: 62ch; }
.nc-l-ad__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.nc-l-ad__cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: var(--r-sm); background: var(--navy); color: #fff !important; font-weight: 800; font-size: 14.5px; }
.nc-l-ad__cta:hover { background: var(--blue); }
.nc-l-ad__link { font-weight: 700; color: var(--blue); }

/* ---------------------------------------------------------------- footer */
.nc-footer { background: var(--navy-d); color: rgba(255, 255, 255, .74); padding: 44px 0 24px; font-size: 14px; }
.nc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px 32px; }
.nc-footer__logo img { height: 36px; width: auto; }
.nc-footer__wordmark { font-weight: 800; color: #fff; }
.nc-footer__desc { margin-top: 12px; line-height: 1.6; max-width: 30ch; }
.nc-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nc-social { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff !important; font-size: 16px; }
.nc-social:hover { background: rgba(255, 255, 255, .22); }
.nc-ftitle { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; font-family: var(--sans); }
.nc-flinks { display: grid; gap: 4px; }
.nc-flinks a { display: inline-block; padding: 4px 0; color: rgba(255, 255, 255, .78); }
.nc-flinks a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.nc-footer__contact { margin-top: 14px; font-style: normal; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .7); }
.nc-footer__contact a { color: rgba(255, 255, 255, .85); }
.nc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.nc-footer__bottom a { color: #fff; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 991.98px) {
  .nc-nav__links { display: none; }
  .nc-hamburger { display: flex; }
  .nc-l-qa__panel { grid-template-columns: 1fr; padding: 24px 20px; }
  .nc-footer__grid { grid-template-columns: 1fr 1fr; }
  .nc-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --nav-h: 58px; }
  .nc-container, .nc-nav__inner, .nc-landing-ad { padding-left: 16px; padding-right: 16px; }
  .nc-nav__inner { gap: 8px; }
  .nc-logo__img { height: 32px; }
  .nc-btn-ghost { padding: 9px 10px; font-size: 13px; }
  .nc-btn-primary { padding: 9px 13px; font-size: 13px; }
  .nc-hamburger { width: 40px; height: 40px; }
  .nc-mobile-menu { grid-template-columns: 1fr; }
  .nc-l-search { padding: 14px 0 10px; }
  .nc-l-search__title { font-size: 22px; margin-bottom: 10px; }
  .nc-l-search__form { padding-left: 40px; }
  .nc-l-search__icon { left: 15px; }
  .nc-l-search__btn { padding: 10px 16px; }
  .nc-hb__track { border-radius: var(--r-md); }
  .nc-hb__slide { aspect-ratio: 5 / 4; min-height: 300px; max-height: 360px; }
  .nc-hb__shade { background: linear-gradient(0deg, rgba(8, 21, 45, .9) 0%, rgba(8, 21, 45, .55) 45%, rgba(8, 21, 45, .05) 75%); }
  .nc-hb__body { padding: 18px 18px 62px; }
  .nc-hb__text { font-size: 14.5px; }
  .nc-hb__cta { min-height: 46px; padding: 0 20px; font-size: 14.5px; }
  .nc-hb__controls { left: 12px; right: auto; bottom: 12px; }
  .nc-l-sec, .nc-l-qa { padding: 24px 0; }
  .nc-l-qa__panel { border-radius: var(--r-md); }
  .nc-l-q { padding: 15px 15px; }
  .nc-l-ad__box { padding: 20px; }
  .nc-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .nc-hb__track, .nc-ucard__photos { scroll-behavior: auto; }
  .nc-landing *, .nc-landing *::before, .nc-landing *::after { transition-duration: .01ms !important; animation: none !important; }
}


/* Every section opens on at least two rows of cards, so people see several
   items before they have to scroll. Phones and tablets swipe both rows
   together (cards flow down then across); from 992px it is a plain grid with
   no sideways scrolling at all. */
.nc-landing .nc-l-scroller { grid-template-rows: repeat(2, auto); grid-auto-flow: column; align-items: stretch; }
@media (min-width: 992px) {
  .nc-landing .nc-l-scroller { grid-auto-flow: row; grid-template-rows: none; grid-auto-columns: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .nc-landing .nc-l-ucards { gap: 14px; }
  .nc-landing .nc-l-ucards--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nc-landing .nc-l-ucards--dense { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Featured tenders (landing_featured.php): shortcut chips, then two rows of
   cards; category colour from --t-hue (nc_tender_category_style) */
.nc-l-tchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -4px 0 14px; padding: 2px 0; list-style: none; }
.nc-l-tchips::-webkit-scrollbar { display: none; }
.nc-l-tchip { display: inline-block; white-space: nowrap; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; }
.nc-l-tchip:hover { border-color: var(--navy); }
.nc-landing .nc-l-tenders { grid-auto-columns: min(78vw, 300px); }
.nc-l-tender { display: flex; flex-direction: column; gap: 6px; padding: 14px 15px; background: #fff; border: 1px solid var(--border); border-top: 4px solid hsl(var(--t-hue, 210) 55% 45%); border-radius: var(--r-md); box-shadow: var(--sh-sm); color: var(--text); min-width: 0; }
.nc-l-tender:hover { box-shadow: var(--sh-md); }
.nc-l-tender__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nc-l-tender__icon { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: hsl(var(--t-hue, 210) 60% 94%); color: hsl(var(--t-hue, 210) 55% 32%); font-size: 14px; }
.nc-l-tender__cat { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-lt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-l-tender__title { font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nc-l-tender__entity { font-size: 12.5px; color: var(--text-lt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-l-tender__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 4px; font-size: 12.5px; }
.nc-l-tender__close { color: var(--text); font-weight: 600; }
.nc-l-tender__close.is-urgent { color: #b42318; }
.nc-l-tender__tag { padding: 2px 8px; border-radius: 999px; background: #e7f6ec; color: #1b6b3a; font-size: 11.5px; font-weight: 700; }
.nc-l-tender__tag--agpo { background: #fff1e0; color: #8a4b00; }
@media (min-width: 992px) {
  .nc-landing .nc-l-tenders { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nc-l-tchips { flex-wrap: wrap; overflow: visible; }
}
