/* ============================================================
   css/inro-news.css  -  InRO News (3-column layout)
   Left: news cards | Right: sidebar menus, promo, links, quote
   Uses your variables: --navy, --gold
   ============================================================ */

.nw-banner, .nw-section {
  --nw-navy: var(--navy, #0b2352);
  --nw-navy-d: #071a3d;
  --nw-gold: var(--gold, #e1a80b);
  --nw-ink: #1f2a3d;
  --nw-muted: #66758f;
  --nw-line: #e1e7f1;
  --nw-bg: #f5f8fd;
  --nw-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw-section [hidden] { display: none !important; }

/* ================= BANNER ================= */
.page-banner.nw-banner {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: var(--nw-navy);
}
.nw-banner .banner-flex { max-width: none; width: 100%; height: 100%; margin: 0; padding: 0; position: relative; }

.nw-banner .banner-media { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.nw-banner .banner-photo { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.nw-banner .banner-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--nw-navy-d) 0%, var(--nw-navy) 36%, rgba(11,35,82,.6) 56%, rgba(11,35,82,0) 80%);
}

.nw-banner .banner-text {
  position: absolute; inset: 0 auto 0 0;
  z-index: 3;
  width: 62%;
  padding: 36px 40px 56px max(24px, calc((100vw - 1260px) / 2));
  background: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  display: flex; flex-direction: column; justify-content: center;
}
.nw-banner .banner-text::after { display: none; }

.banner-eyebrow {
  margin-bottom: 6px;
  font-size: 15px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--nw-gold);
}
.nw-banner .banner-text h1 {
  margin: 0 0 14px;
  font-family: var(--nw-serif);
  font-size: 54px; line-height: 1.1; font-weight: 700; letter-spacing: 0;
  color: #fff;
}
.nw-banner .banner-sub {
  margin: 0; max-width: 470px;
  font-size: 17px; line-height: 1.6; color: #eaf0fb;
}
.banner-rule { display: block; width: 56px; height: 3px; margin: 18px 0 16px; background: var(--nw-gold); }
.nw-banner .breadcrumb { font-size: 13px; gap: 8px; }

/* gold + white wave along the bottom edge */
.nw-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; z-index: 4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C300 0 520 54 820 32 C1100 12 1280 -2 1440 14 L1440 60 L0 60Z' fill='%23e1a80b'/%3E%3Cpath d='M0 42 C300 14 520 62 820 44 C1100 26 1280 12 1440 28 L1440 60 L0 60Z' fill='%23f5f8fd'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ================= LAYOUT ================= */
.nw-section { background: var(--nw-bg); padding: 30px 0 60px; }
.nw-wrap {
  max-width: 1300px; margin: 0 auto; padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas: "main aside";
  gap: 28px; align-items: start;
}
.nw-main  { grid-area: main; }
.nw-aside { grid-area: aside; }

/* ================= SIDEBAR MENUS (white, navy header) ================= */
.nw-aside .sidebar-menu {
  background: #fff; border: 1px solid #eee; border-radius: 8px;
  overflow: hidden; margin: 0; box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.nw-aside .sidebar-menu h3 {
  margin: 0; padding: 16px 20px;
  font-family: inherit; font-size: 16px; font-weight: 700; color: #fff;
  background: var(--nw-navy);
}
.nw-aside .sidebar-menu ul { list-style: none; margin: 0; padding: 0; }
.nw-aside .sidebar-menu ul li a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  font-size: 14px; font-weight: 500; line-height: 1.3;
  color: var(--nw-navy); background: #fff; text-decoration: none;
  border-top: 1px solid #f0f0f0;
  transition: background .25s ease, color .25s ease;
}
.nw-aside .sidebar-menu ul li:first-child a { border-top-color: rgba(255,255,255,.35); }
.nw-aside .sidebar-menu ul li a i:first-child { width: 18px; text-align: center; flex: none; color: var(--nw-navy); }
.nw-aside .sidebar-menu ul li a:hover { background: #f5f7fb; }
.nw-aside .sidebar-menu ul li.active a { background: var(--nw-navy); color: var(--nw-gold); font-weight: 700; }
.nw-aside .sidebar-menu ul li.active a i:first-child { color: var(--nw-gold); }
.nw-aside .sidebar-menu .arrow { margin-left: auto; font-size: 11px; color: var(--nw-gold); opacity: 0; transition: opacity .2s; }
.nw-aside .sidebar-menu li.active .arrow,
.nw-aside .sidebar-menu a:hover .arrow { opacity: 1; }
.nw-aside .sidebar-menu a:focus-visible { outline: 2px solid var(--nw-gold); outline-offset: -2px; }

/* ================= CENTRE ================= */
.nw-tools { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 14px; margin-bottom: 26px; }
.nw-search, .nw-year {
  position: relative; display: flex; align-items: center;
  height: 46px; background: #fff;
  border: 1px solid #d6deec; border-radius: 10px;
  box-shadow: 0 3px 10px rgba(11,35,82,.05);
}
.nw-search > i, .nw-year > i { position: absolute; left: 15px; color: var(--nw-navy); pointer-events: none; }
.nw-search input, .nw-year select {
  width: 100%; height: 100%;
  padding: 0 14px 0 42px;
  border: 0; border-radius: 10px; background: transparent;
  font: inherit; font-size: 14px; color: var(--nw-ink);
}
.nw-year select { font-weight: 600; cursor: pointer; appearance: auto; }
.nw-search:focus-within, .nw-year:focus-within { border-color: var(--nw-gold); box-shadow: 0 0 0 3px rgba(225,168,11,.25); }
.nw-search input:focus, .nw-year select:focus { outline: none; }

.nw-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.nw-head h2 {
  margin: 0; padding-left: 14px;
  font-family: var(--nw-serif); font-size: 36px; line-height: 1.1; font-weight: 700;
  color: var(--nw-navy);
  border-left: 6px solid var(--nw-gold);
}
.nw-count { font-size: 13px; font-weight: 700; color: var(--nw-navy); white-space: nowrap; }

.nw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.nw-chip {
  padding: 6px 15px;
  font: inherit; font-size: 13px; font-weight: 600;
  color: var(--nw-navy); background: #fff;
  border: 1px solid #cdd6e6; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.nw-chip:hover { border-color: var(--nw-navy); }
.nw-chip.is-on { background: var(--nw-navy); border-color: var(--nw-navy); color: #fff; }
.nw-chip:focus-visible { outline: 2px solid var(--nw-gold); outline-offset: 2px; }

/* ---------- cards (2 per row) ---------- */
.nw-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nw-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--nw-line); border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(11,35,82,.06);
  transition: box-shadow .25s, border-color .25s;
}
.nw-card:hover { border-color: #c5d0e4; box-shadow: 0 12px 28px rgba(11,35,82,.14); }
.nw-card:focus-within { box-shadow: 0 0 0 3px var(--nw-gold); }

.nw-thumb { position: relative; height: 150px; overflow: hidden; background: #e8edf6; }
.nw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nw-card:hover .nw-thumb img { transform: scale(1.04); }

.nw-date {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 11px;
  font-size: 12px; font-weight: 700; color: var(--nw-navy);
  background: #f9dc7a; border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.nw-date i { margin-right: 5px; }

.nw-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.nw-tag {
  align-self: flex-start;
  padding: 2px 10px; margin-bottom: 10px;
  font-size: 11px; font-weight: 600; color: #6b4e00;
  background: #fdf0c2; border-radius: 4px;
}
.nw-body h3 {
  margin: 0 0 8px;
  font-family: var(--nw-serif); font-size: 17px; line-height: 1.35; font-weight: 700;
  color: var(--nw-navy);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nw-excerpt {
  margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--nw-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nw-more {
  margin-top: auto; align-self: flex-start;
  font-size: 13px; font-weight: 700; color: var(--nw-navy); text-decoration: none;
}
.nw-more i { margin-left: 6px; font-size: 12px; transition: margin-left .2s; }
.nw-card:hover .nw-more i { margin-left: 10px; }
.nw-more::after { content: ""; position: absolute; inset: 0; }   /* whole card clickable */
.nw-more:focus-visible { outline: none; }

.nw-empty { text-align: center; padding: 36px; color: var(--nw-muted); }

/* ---------- pagination ---------- */
.nw-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.nw-pager button {
  min-width: 38px; height: 38px; padding: 0 10px;
  font: inherit; font-size: 14px; font-weight: 700;
  color: var(--nw-navy); background: #fff;
  border: 1px solid #cdd6e6; border-radius: 8px; cursor: pointer;
  transition: background .2s, color .2s;
}
.nw-pager button:hover:not(:disabled) { background: #eaf0fb; }
.nw-pager button.active { background: var(--nw-navy); border-color: var(--nw-navy); color: #fff; }
.nw-pager button:disabled { opacity: .4; cursor: default; }
.nw-pager button:focus-visible { outline: 2px solid var(--nw-gold); outline-offset: 2px; }

/* ================= RIGHT COLUMN ================= */
.nw-aside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 90px; }

/* promo + links + quote band under the cards */
.nw-extras {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin-top: 40px; align-items: stretch;
}
.nw-extras .nw-promo { min-height: 0; }
.nw-extras .nw-promo-body { padding: 20px 18px; }
.nw-extras .nw-promo h3 { font-size: 26px; }
.nw-extras .nw-quote { display: flex; flex-direction: column; justify-content: center; }
.nw-extras .nw-quote p { font-size: 17px; }

.nw-promo {
  display: flex; align-items: flex-end;
  min-height: 340px;
  border-radius: 12px; overflow: hidden;
  color: #fff; text-decoration: none;
  background:
    linear-gradient(180deg, rgba(7,26,61,.15) 0%, rgba(7,26,61,.92) 62%),
    url('../images/hero/International-Week-2026.jpg') center / cover no-repeat,
    linear-gradient(160deg, var(--nw-navy), #14377c);
  box-shadow: 0 10px 26px rgba(7,26,61,.25);
}
.nw-promo-body { padding: 24px 22px 22px; width: 100%; }
.nw-promo h3 { margin: 0 0 14px; font-family: var(--nw-serif); font-size: 32px; line-height: 1.15; font-weight: 700; color: #fff; }
.nw-promo p { margin: 0 0 20px; font-size: 15px; color: #fff; }
.nw-promo p i { color: var(--nw-gold); margin-right: 10px; }
.nw-promo-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px;
  font-size: 14px; font-weight: 700; color: var(--nw-navy);
  background: var(--nw-gold); border-radius: 8px;
  transition: background .2s;
}
.nw-promo:hover .nw-promo-btn { background: #fff; }
.nw-promo:focus-visible { outline: 3px solid var(--nw-gold); outline-offset: 3px; }

.nw-links { background: #fff; border: 1px solid var(--nw-line); border-radius: 12px; overflow: hidden; }
.nw-links h4 {
  display: flex; align-items: center; gap: 12px;
  margin: 0; padding: 16px 20px;
  font-size: 17px; font-weight: 700; color: var(--nw-navy);
  background: #eef3fb;
}
.nw-links h4 i { color: #1a5cb0; }
.nw-links ul { list-style: none; margin: 0; padding: 0; }
.nw-links li + li { border-top: 1px solid #edf0f6; }
.nw-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px;
  font-size: 14px; color: var(--nw-navy); text-decoration: none;
  transition: background .2s;
}
.nw-links a i { font-size: 11px; color: var(--nw-navy); }
.nw-links a:hover { background: #f5f8fd; }

.nw-quote {
  margin: 0; padding: 22px 22px 20px;
  background: #eef3fb; border: 1px solid var(--nw-line); border-radius: 12px;
}
.nw-quote > i { font-size: 26px; color: var(--nw-navy); }
.nw-quote p {
  margin: 10px 0 14px;
  font-family: var(--nw-serif); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--nw-navy);
}
.nw-quote p::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 14px; background: var(--nw-gold); }
.nw-quote footer { font-size: 12.5px; line-height: 1.5; color: var(--nw-navy); }

/* ================= PAGE BANNER ================= */
.page-banner {
  position: relative;
  width: 100%;
  height: 315px;
  overflow: hidden;
  background: #0b2352;
}
.banner-flex {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/* full hero image */
.banner-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.banner-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* left dark / blurred area */
.banner-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px 40px 70px;
  background: rgba(11, 35, 82, 0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
/* slanted transition */
.banner-text::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 150px;
  height: 100%;
  background: rgba(11, 35, 82, 0.88);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: -1;
}
.banner-text h1 {
  margin: 0 0 22px 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 1px;
}
.banner-text .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  background: none;
  padding: 0;
  margin: 0;
}
.banner-text .breadcrumb a { color: #fff; text-decoration: none; }
.banner-text .breadcrumb a:hover { color: var(--gold); }
.banner-text .breadcrumb .sep { color: #fff; }
.banner-text .breadcrumb .current { color: var(--gold); font-weight: 600; }
.banner-sub {
    color: #ffffff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .nw-wrap { grid-template-columns: 1fr; grid-template-areas: "main" "aside"; }
  .nw-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .nw-aside > * { flex: 1 1 280px; }
  .nw-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-extras .nw-promo { grid-column: 1 / -1; min-height: 260px; }
}
@media (max-width: 860px) {
  .page-banner.nw-banner { height: auto; min-height: 300px; }
  .nw-banner .banner-text { position: relative; width: 100%; padding: 40px 24px 70px; }
  .nw-banner .banner-media::after { background: linear-gradient(180deg, rgba(7,26,61,.92), rgba(11,35,82,.7)); }
  .nw-banner .banner-text h1 { font-size: 38px; }
}
@media (max-width: 600px) {
  .nw-cards, .nw-extras { grid-template-columns: 1fr; }
  .nw-tools { grid-template-columns: 1fr; }
  .nw-head h2 { font-size: 28px; }
  .nw-aside { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .nw-card, .nw-thumb img, .nw-more i, .nw-chip { transition: none; }
  .nw-card:hover .nw-thumb img { transform: none; }
}

/* ============================================================
   CATEGORY COLOURS  (keep this block at the END of the file)
   --c    strong colour (border, active chip)
   --c-bg light background
   --c-ink dark text
   To add a new category, copy one line and change the name/colours.
   ============================================================ */
[data-cat="partnerships"] { --c: #1a5cb0; --c-bg: #e3eefb; --c-ink: #0f3d7a; }  /* blue   */
[data-cat="events"]       { --c: #d98e04; --c-bg: #fdf0c2; --c-ink: #6b4e00; }  /* gold   */
[data-cat="visits"]       { --c: #1f8a5b; --c-bg: #def5ea; --c-ink: #11593a; }  /* green  */
[data-cat="programmes"]   { --c: #7a3fb5; --c-bg: #efe4fa; --c-ink: #4e2379; }  /* purple */

/* tag on card */
.nw-tag[data-cat] {
  color: var(--c-ink);
  background: var(--c-bg);
  border-left: 3px solid var(--c);
}

/* coloured accent on top of the card */
.nw-card[data-cat] { border-top: 4px solid var(--c); }

/* date badge on the image */
.nw-card[data-cat] .nw-date { background: var(--c-bg); color: var(--c-ink); }

/* filter chips ("All" has data-cat="" so it keeps the navy style) */
.nw-chip[data-cat]:not([data-cat=""]) {
  color: var(--c-ink);
  border-color: var(--c);
  background: var(--c-bg);
}
.nw-chip[data-cat]:not([data-cat=""]):hover { background: var(--c); color: #fff; }
.nw-chip[data-cat]:not([data-cat=""]).is-on {
  background: var(--c);
  border-color: var(--c);
  color: #fff;
}

.nw-promo {
    position: relative;
    overflow: hidden;
    background-color: #0b2352;
}

.nw-promo::before {
    content: "\f0ac"; /* Font Awesome globe icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 130px;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.nw-promo-body {
    position: relative;
    z-index: 1;
}