:root {
  --navy: #003399;
  --navy-2: #172d73;
  --teal: #18baa8;
  --teal-dark: #0b8176;
  --ink: #142033;
  --muted: #667085;
  --line: #dce3ec;
  --line-strong: #c8d2df;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --surface-blue: #f3f6fc;
  --max: 1180px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.98);
  border-top: 3px solid var(--teal);
  border-bottom: 1px solid var(--line);
}
.topbar {
  width: min(1380px, calc(100% - 40px));
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: #2fae9f;
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.brand::after {
  content: "";
  display: block;
  width: 1px;
  height: 26px;
  margin-left: 24px;
  background: var(--line);
}
.main-nav {
  display: flex;
  align-items: stretch;
  gap: 22px;
  flex: 1;
  min-width: 0;
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  text-decoration: none;
  color: #25406e;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.is-active { color: var(--navy); }
.main-nav a.is-active::after { background: var(--teal); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: #667085;
  padding: 5px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
}
.lang-switch button:hover,
.lang-switch button.is-active { color: var(--navy); }
.text-link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  font-weight: 750;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { background: #002b82; border-color: #002b82; }
.button-small { min-height: 38px; padding: 8px 13px; font-size: 12px; }
.button-outline { background: transparent; color: var(--navy); border-color: #aab9d1; }
.button-outline:hover { background: #f5f7fb; border-color: var(--navy); }
.button-light { background: #fff; color: var(--navy); border-color: #fff; }
.button-light:hover { background: #f4f7fb; border-color: #f4f7fb; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

/* Home hero */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.home-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../images/home-hero-approved-full.jpg") center center / cover no-repeat;
  pointer-events: none;
}
.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,.97) 0%,
    rgba(255,255,255,.94) 34%,
    rgba(255,255,255,.78) 52%,
    rgba(255,255,255,.34) 68%,
    rgba(255,255,255,.08) 100%);
  pointer-events: none;
}
.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 72px;
  align-items: center;
  min-height: 646px;
  padding: 58px 0;
}
.kicker,
.section-label,
.page-kicker {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.home-hero h1 {
  max-width: 800px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 760;
}
.home-hero-copy > p:not(.kicker) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #526176;
  font-size: 18px;
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.project-facts {
  border-top: 3px solid var(--navy);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(220,227,236,.92);
  box-shadow: 0 18px 42px rgba(23,45,115,.08);
  backdrop-filter: blur(5px);
  padding: 8px 24px 2px;
}
.project-fact {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.project-fact:last-child { border-bottom: 0; }
.project-fact dt {
  margin: 0;
  color: #758196;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-fact dd { margin: 0; color: var(--navy-2); font-size: 13px; font-weight: 700; }

.programme-bar { background: var(--navy); color: #fff; }
.programme-bar-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}
.programme-bar strong { font-weight: 750; }
.programme-bar span { color: #cfd9f1; }

/* Sections */
main { min-height: 62vh; }
.section { padding: 62px 0; }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-soft { background: var(--surface-soft); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}
.section-head h2,
.editorial-copy h2,
.info-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.section-head p,
.editorial-copy p,
.info-card p { margin: 8px 0 0; color: var(--muted); }
.section-head > a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid #9fb0cb;
  padding-bottom: 2px;
  white-space: nowrap;
}
.section-head > a:hover { border-color: var(--navy); }

.editorial-intro {
  display: grid;
  grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
  gap: 70px;
  align-items: start;
}
.editorial-copy p { font-size: 17px; max-width: 720px; line-height: 1.75; }
.editorial-points {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.editorial-point {
  padding: 22px 22px 6px 0;
  border-right: 1px solid var(--line);
}
.editorial-point + .editorial-point { padding-left: 22px; }
.editorial-point:last-child { border-right: 0; }
.editorial-point .index { color: var(--teal-dark); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.editorial-point h3 { margin: 8px 0 6px; color: var(--navy-2); font-size: 17px; }
.editorial-point p { margin: 0; color: var(--muted); font-size: 13px; }

/* Page intros */
.page-intro {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.page-intro-inner { padding: 58px 0 44px; }
.page-intro h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.page-intro p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.page-rule { width: 54px; height: 3px; margin-top: 26px; background: var(--teal); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.course-grid { gap: 22px; }
.content-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  transition: border-color .18s ease, transform .18s ease;
}
.content-card:hover { border-color: #b7c4d7; transform: translateY(-1px); }
.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e9eef5;
  border-bottom: 1px solid var(--line);
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-image-fallback {
  position: relative;
  background: #e9eef7;
}
.card-image-fallback::after {
  content: "ITC FOOD";
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}
.card-body { display: flex; flex-direction: column; min-height: 205px; padding: 20px; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  color: #6e7a8f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lang-badge, .type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid #c9e9e4;
  border-radius: 3px;
  background: #f0fbf9;
  color: var(--teal-dark);
}
.content-card h3 { margin: 0 0 9px; color: var(--navy-2); font-size: 18px; line-height: 1.32; }
.content-card p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.card-link {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.card-link::after { content: "↗"; float: right; font-weight: 600; }

/* Compact feeds on homepage */
.knowledge-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; }
.knowledge-column + .knowledge-column { border-left: 1px solid var(--line); padding-left: 44px; }
.compact-feed { display: grid; gap: 0; }
.compact-feed .content-card {
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.compact-feed .content-card:last-child { border-bottom: 1px solid var(--line); }
.compact-feed .content-card:hover { transform: none; border-color: var(--line-strong); }
.compact-feed .card-body { min-height: 0; padding: 17px 0; }
.compact-feed .card-meta { margin-bottom: 6px; }
.compact-feed .content-card h3 { font-size: 16px; margin-bottom: 5px; }
.compact-feed .content-card p { margin-bottom: 10px; }
.compact-feed .card-link { border-top: 0; padding-top: 0; }

/* Filters */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}
.filters input, .filters select {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}
.filters input:focus, .filters select:focus { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(0,51,153,.08); }
.filters input { flex: 1 1 300px; }
.filters select { min-width: 190px; }

.notice {
  margin-bottom: 22px;
  padding: 15px 18px;
  border-left: 3px solid var(--teal);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}
.status-box {
  grid-column: 1 / -1;
  padding: 36px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}
.status-box p { margin: 0 0 14px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.pager-label { color: var(--muted); font-size: 12px; }

/* About / Partners */
.info-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card {
  padding: 28px 0;
  border-top: 2px solid var(--navy);
  background: transparent;
}
.info-card h2 { font-size: 26px; }
.partner-list { border-top: 1px solid var(--line-strong); }
.partner-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.partner-row .num { color: #8b96a8; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.partner-row strong { color: var(--navy-2); font-size: 16px; }
.partner-row span:last-child { color: var(--muted); font-size: 12px; }

/* CTA */
.learning-cta {
  background: var(--navy);
  color: #fff;
}
.learning-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 42px 0;
}
.learning-cta h2 { margin: 0; font-size: 30px; line-height: 1.15; }
.learning-cta p { margin: 8px 0 0; color: #d5dff2; max-width: 720px; }

/* Footer */
.site-footer {
  margin-top: 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 50px;
  padding: 46px 0 34px;
}
.footer-brand strong { display: block; color: #2fae9f; font-size: 24px; letter-spacing: -.03em; }
.footer-brand p { max-width: 430px; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.footer-block h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-block a, .footer-block span { display: block; margin: 5px 0; color: #58667a; font-size: 12px; text-decoration: none; }
.footer-block a:hover { color: var(--navy); }
.footer-partners {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer-partners-line { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-partners-line strong {
  margin-right: 8px;
  color: var(--navy);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-partners-line span { color: #6d7889; font-size: 11px; }
.footer-legal {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  padding: 22px 0 34px;
  color: #7a8495;
  font-size: 10px;
  line-height: 1.6;
}
.footer-legal p { margin: 0 0 8px; }
.footer-legal a { color: var(--navy); font-weight: 700; text-decoration: none; }

@media (max-width: 1100px) {
  .topbar { width: min(100% - 28px, 1380px); gap: 16px; }
  .brand::after { margin-left: 16px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 12px; }
  .header-actions .text-link { display: none; }
  .home-hero-inner { gap: 44px; }
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .home-hero::before {
    inset: 0;
    width: auto;
    opacity: 1;
    background-position: 64% center;
  }
  .home-hero::after {
    background: linear-gradient(90deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.96) 56%,
      rgba(255,255,255,.84) 76%,
      rgba(255,255,255,.54) 100%);
  }
  .nav-toggle { display: block; }
  .brand::after { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 42px; border-bottom: 1px solid #eef2f6; }
  .main-nav a::after { display: none; }
  .header-actions { margin-left: 0; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .project-facts { max-width: 620px; }
  .editorial-intro { grid-template-columns: 1fr; gap: 38px; }
  .knowledge-layout { grid-template-columns: 1fr; gap: 38px; }
  .knowledge-column + .knowledge-column { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 34px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 680px) {
  .home-hero::before {
    width: 100%;
    opacity: .62;
    background-position: 66% center;
    background-size: cover;
  }
  .home-hero::after {
    background: linear-gradient(180deg,
      rgba(255,255,255,.84) 0%,
      rgba(255,255,255,.76) 44%,
      rgba(255,255,255,.68) 72%,
      rgba(255,255,255,.58) 100%);
  }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .topbar { min-height: 62px; }
  .brand { font-size: 23px; }
  .main-nav { top: 62px; }
  .header-actions .button { display: none; }
  .lang-switch { border-right: 0; padding-right: 0; }
  .home-hero-inner { padding: 48px 0 44px; }
  .home-hero h1 { font-size: 40px; }
  .home-hero-copy > p:not(.kicker) { font-size: 16px; }
  .programme-bar-inner { min-height: 64px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 2px; padding: 10px 0; }
  .section { padding: 44px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .editorial-points { grid-template-columns: 1fr; }
  .editorial-point, .editorial-point + .editorial-point { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .editorial-point:last-child { border-bottom: 0; }
  .page-intro-inner { padding: 42px 0 34px; }
  .grid { grid-template-columns: 1fr; }
  .filters { flex-direction: column; align-items: stretch; }
  .filters input, .filters select { width: 100%; min-width: 0; }
  .info-split { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: 46px 1fr; }
  .partner-row span:last-child { display: none; }
  .learning-cta-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-legal { grid-template-columns: 1fr; gap: 12px; }
  .pager { flex-wrap: wrap; }
}


@media (max-width: 430px) {
  .home-hero::before {
    opacity: .68;
    background-position: 70% center;
  }
  .home-hero::after {
    background: linear-gradient(180deg,
      rgba(255,255,255,.82) 0%,
      rgba(255,255,255,.74) 48%,
      rgba(255,255,255,.62) 100%);
  }
}
