/*
Theme Name: Caritas Austria
Theme URI: https://khidaat-at.org
Author: Ijaz
Description: Original theme for Caritas Austria — a humanitarian aid organisation designed as a live "help interface". Warm-white, deep pine green and coral, Fraunces serif display. Built on the themeWASHNet structure.
Version: 2.0
Text Domain: Caritas-austria
*/

/* =========================================================
   Identity — "Help Interface"
   bg (warm white)  #fdfcfa
   cream            #f4f1ea   alt sections
   ink              #15181d   text
   pine (brand)     #17513f   dark blocks, primary
   pine-2           #2e7d5b   bright green accent
   coral (accent)   #f0603e   CTAs, highlights
   sand             #e7ddc9   soft dividers/tints
   Fonts: Fraunces (display serif) · Inter (body)
   ========================================================= */

:root {
  --bg: #fdfcfa;
  --cream: #f4f1ea;
  --ink: #15181d;
  --pine: #17513f;
  --pine-2: #2e7d5b;
  --coral: #f0603e;
  --coral-deep: #d34e2f;
  --sand: #e7ddc9;
  --muted: #5c6470;
  --line: rgba(21, 24, 29, .12);
  --line-light: rgba(255, 255, 255, .16);

  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', Arial, sans-serif;

  --r: 16px;
  --r-lg: 24px;
  --max: 1200px;
}
.brand-logo {
    width: 95px;
    height: 95px;
    object-fit: contain;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); background: var(--bg); color: var(--ink);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(240, 96, 62, .22); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
:where(a, button):focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 44px, var(--max)); margin-inline: auto; }
.section { padding: 100px 0; }
.section-cream { background: var(--cream); }
section { scroll-margin-top: 90px; }
.anchor-only { display: block; height: 0; scroll-margin-top: 90px; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
p { margin: 0; color: var(--muted); line-height: 1.75; }
.display { font-size: clamp(2.9rem, 7vw, 5.4rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }

.eyebrow {
  font-family: var(--body); font-size: .74rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--coral); margin: 0 0 16px;
}
.eyebrow-dark { color: var(--pine); }
.eyebrow-light { color: var(--coral); }
.lead { max-width: 60ch; margin-top: 14px; font-size: 1.05rem; }
.sec-head, .finder-head { max-width: 720px; margin-bottom: 46px; }

.link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pine); transition: gap .2s ease;
}
.link:hover { gap: 14px; color: var(--coral); }

/* ---------- Pills / buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill-accent { background: var(--coral); color: #fff; }
.pill-accent:hover { background: var(--coral-deep); box-shadow: 0 10px 24px rgba(240, 96, 62, .3); }
.pill-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.pill-ghost-light:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--pine); color: #fff; font-size: .88rem; }
.ribbon-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.ribbon p { color: rgba(255, 255, 255, .92); margin: 0; }
.ribbon-tag {
  display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.ribbon-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.ribbon-actions a { color: #fff; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.ribbon-close { background: none; border: 0; color: rgba(255, 255, 255, .8); font-size: 1.3rem; cursor: pointer; line-height: 1; }

/* ---------- Masthead ---------- */
.mast { position: sticky; top: 0; z-index: 60; background: var(--bg); transition: box-shadow .2s ease, background .2s ease; }
.mast.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(21, 24, 29, .06); }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 78px; position: relative; }
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; }
.wm-name { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.wm-dot { color: var(--coral); }
.wm-tag { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.wordmark-light .wm-name, .wordmark-light .wm-tag { color: #fff; }
.wordmark-light .wm-tag { color: rgba(255, 255, 255, .6); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .92rem; font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--coral); transition: width .2s ease; }
.nav a:hover { color: var(--pine); }
.nav a:hover::after { width: 100%; }

.mast-actions { display: flex; align-items: center; gap: 12px; }
.ghost { font-weight: 700; font-size: .92rem; color: var(--pine); }
.ghost:hover { color: var(--coral); }
.mast-actions .pill { padding: 11px 22px; background: var(--pine); color: #fff; }
.mast-actions .pill:hover { background: var(--pine-2); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding: 0 0 66px; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 40, 33, .35) 0%, rgba(20, 33, 28, .55) 55%, rgba(15, 26, 22, .9) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 120px; }
.hero .eyebrow { color: #ffd9cd; }
.hero-lede { color: rgba(255, 255, 255, .9); max-width: 54ch; margin-top: 22px; font-size: 1.12rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.live-line {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 38px;
  padding: 12px 20px; border-radius: 999px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); font-size: .92rem;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(240, 96, 62, .6); animation: pulse 2s infinite; }
.live-rotator { transition: opacity .3s ease; }
.live-rotator b { color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 96, 62, .55); } 70% { box-shadow: 0 0 0 10px rgba(240, 96, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 96, 62, 0); } }

/* ---------- Help finder ---------- */
.finder-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.finder-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 18px 18px;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg);
  font-weight: 600; font-size: .98rem; color: var(--ink); cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.chip i { color: var(--pine); font-size: 1.1rem; width: 22px; text-align: center; }
.chip:hover { border-color: var(--pine); transform: translateY(-2px); }
.chip.is-active { border-color: var(--coral); background: #fff; box-shadow: 0 0 0 3px rgba(240, 96, 62, .12); }
.chip.is-active i { color: var(--coral); }

.finder-result {
  position: sticky; top: 96px; min-height: 220px; display: flex; align-items: center;
  background: var(--pine); color: #fff; border-radius: var(--r-lg); padding: 36px;
}
.fr-hint { color: rgba(255, 255, 255, .7); font-size: 1.02rem; }
.fr-card { width: 100%; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.fr-card.show { opacity: 1; transform: none; }
.fr-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ffd9cd; margin-bottom: 10px; }
.fr-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: 12px; }
.fr-text { color: rgba(255, 255, 255, .88); margin-bottom: 20px; }
.fr-cta { margin-bottom: 18px; }
.fr-line { font-size: .9rem; color: rgba(255, 255, 255, .8); border-top: 1px solid var(--line-light); padding-top: 16px; }
.fr-line i { color: var(--coral); margin-right: 6px; }
.fr-line b { color: #fff; }

/* ---------- Appeals goal cards ---------- */
.appeals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.goal { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; padding: 0 0 26px; display: flex; flex-direction: column; }
.goal-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.goal h3 { margin: 22px 26px 0; }
.goal > p { margin: 8px 26px 0; font-size: .95rem; }
.goal-bar { height: 10px; margin: 20px 26px 0; background: var(--sand); border-radius: 999px; overflow: hidden; }
.goal-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pine-2), var(--pine)); border-radius: 999px; transition: width 1.2s cubic-bezier(.22, 1, .36, 1); }
.goal-meta { margin: 12px 26px 0; font-size: .9rem; color: var(--muted); }
.goal-meta b { color: var(--ink); font-size: 1.05rem; }
.goal .link { margin: 18px 26px 0; }

/* ---------- Programs explorer ---------- */
.explorer { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.exp-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.exp-item {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 22px 6px; background: none; border: 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: color .2s ease, padding .2s ease;
}
.exp-item span { font-family: var(--body); font-size: .85rem; font-weight: 700; color: var(--muted); }
.exp-item i { margin-left: auto; color: var(--coral); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.exp-item:hover { color: var(--pine); padding-left: 12px; }
.exp-item.is-active { color: var(--pine); }
.exp-item.is-active span { color: var(--coral); }
.exp-item.is-active i { opacity: 1; transform: none; }

.exp-panel { display: none; }
.exp-panel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.exp-media { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; }
.exp-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.exp-panel h3 { font-size: 1.7rem; margin-bottom: 12px; }
.exp-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.exp-points li { position: relative; padding-left: 26px; color: var(--ink); font-weight: 500; }
.exp-points li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--pine-2); font-size: .82rem; top: 3px; }

/* ---------- By the numbers ---------- */
.section-dark { background: var(--pine); color: #fff; }
.figures { padding: 84px 0; }
.fig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 8px; }
.fig b { display: block; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.fig b::after { content: "+"; color: var(--coral); }
.fig span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .78); line-height: 1.5; }

/* ---------- Transparency ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.trust-copy p { margin-top: 16px; max-width: 48ch; }
.trust-note { margin-top: 18px; font-weight: 600; color: var(--pine); }
.alloc { display: flex; flex-direction: column; gap: 24px; }
.alloc-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.alloc-label span { font-weight: 600; color: var(--ink); }
.alloc-label b { font-family: var(--display); font-size: 1.4rem; color: var(--pine); }
.alloc-bar { height: 14px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.alloc-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--pine); transition: width 1.3s cubic-bezier(.22, 1, .36, 1); }
.alloc-row:nth-child(1) .alloc-fill { background: var(--pine); }
.alloc-row:nth-child(2) .alloc-fill { background: var(--pine-2); }
.alloc-row:nth-child(3) .alloc-fill { background: var(--coral); }

/* ---------- Reach grid ---------- */
.reach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reach-card { padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); transition: transform .2s ease, border-color .2s ease; }
.reach-card:hover { transform: translateY(-3px); border-color: var(--pine); }
.reach-card b { font-family: var(--display); font-size: 1.35rem; display: block; }
.reach-card span { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; }

/* ---------- Stories carousel ---------- */
.stories-head { display: flex; justify-content: space-between; align-items: flex-end; max-width: 100%; }
.stories-nav { display: flex; gap: 10px; }
.snav { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.snav:hover { background: var(--pine); color: #fff; border-color: var(--pine); }
.stories-viewport { margin-top: 8px; }
.stories-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -ms-overflow-style: none; scrollbar-width: none; }
.stories-track::-webkit-scrollbar { display: none; }
.story { scroll-snap-align: start; flex: 0 0 clamp(280px, 42%, 460px); background: var(--cream); border-radius: var(--r-lg); padding: 34px; }
.story-quote { font-family: var(--display); font-size: 1.3rem; line-height: 1.4; color: var(--ink); font-weight: 500; }
.story-name { margin-top: 20px; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pine); }

/* ---------- Donate band ---------- */
.give { background: var(--pine); color: #fff; padding: 96px 0; text-align: center; }
.give-inner { max-width: 640px; margin-inline: auto; }
.give h2 { color: #fff; }
.give .eyebrow { color: #ffd9cd; }
.give-sub { color: rgba(255, 255, 255, .82); margin-top: 12px; }
.give-freq { display: inline-flex; gap: 6px; margin: 28px 0 18px; padding: 5px; background: rgba(255, 255, 255, .1); border-radius: 999px; }
.freq { padding: 10px 22px; border-radius: 999px; border: 0; background: transparent; color: rgba(255, 255, 255, .8); font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease; }
.freq.is-active { background: #fff; color: var(--pine); }
.give-amounts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.amt { min-width: 92px; padding: 15px 18px; border-radius: var(--r); border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.amt:hover { border-color: #fff; }
.amt.is-active { background: var(--coral); border-color: var(--coral); }
.give-submit { padding: 16px 40px; font-size: 1.02rem; }
.give-iban { margin-top: 22px; font-size: .86rem; color: rgba(255, 255, 255, .65); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 820px; margin-inline: auto; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
  padding: 24px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink);
}
.faq-q i { color: var(--coral); font-size: .9rem; flex: 0 0 auto; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 24px; max-width: 62ch; }
.faq-item.open .faq-a { max-height: 260px; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 70px 0 26px; }
.foot-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.foot-brand p { margin: 18px 0 22px; color: rgba(255, 255, 255, .66); max-width: 40ch; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; color: #fff; transition: background .2s ease, border-color .2s ease; }
.foot-social a:hover { background: var(--coral); border-color: var(--coral); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot-col h4 { font-family: var(--body); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a, .foot-col p { color: rgba(255, 255, 255, .66); font-size: .92rem; line-height: 1.95; }
.foot-col a:hover { color: var(--coral); }
.foot-contact p { margin: 0 0 10px; }
.foot-iban { font-size: .82rem; color: rgba(255, 255, 255, .5); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.foot-bottom a:hover { color: var(--coral); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: .1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
  .pill:hover, .reach-card:hover, .chip:hover { transform: none; }
}

/* ========================================================= 
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  html, body { overflow-x: hidden; }
  .section { padding: 80px 0; }
  .finder-grid, .explorer, .trust-grid { grid-template-columns: 1fr; gap: 34px; }
  .finder-result { position: static; }
  .appeals-grid { grid-template-columns: 1fr 1fr; }
  .fig-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .reach-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-top: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .1); padding: 6px 22px 16px; z-index: 70;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .burger { display: inline-block; }
  .ghost { display: none; }
  .mast-inner { height: 66px; }

  .ribbon-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ribbon-close { position: absolute; right: 22px; top: 8px; }
  .ribbon { position: relative; }

  .hero { min-height: 80vh; padding-bottom: 48px; }
  .hero-inner { padding-top: 90px; }

  .finder-chips { grid-template-columns: 1fr; }
  .appeals-grid { grid-template-columns: 1fr; }
  .fig-grid { grid-template-columns: 1fr 1fr; }
  .reach-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .stories-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .story { flex-basis: 82%; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 60px 0; }
  .fig-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .exp-item { font-size: 1.05rem; }
  .give-amounts .amt { flex: 1 1 40%; }
}

/* ---------- Touch ---------- */
@media (hover: none) and (pointer: coarse) {
  .pill { min-height: 48px; }
  .pill:hover, .chip:hover, .reach-card:hover { transform: none; }
  .snav { width: 46px; height: 46px; }
}

/* =========================================================
   HID focus band (front page top signpost)
   ========================================================= */
.focus { background: var(--bg); border-top: 3px solid var(--coral); border-bottom: 1px solid var(--line); }
.focus-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: center; padding: 44px 0; }
.focus-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 8px 0 12px; }
.focus-copy > p { max-width: 58ch; }
.pill-dark { background: var(--pine); color: #fff; margin-top: 22px; }
.pill-dark:hover { background: var(--pine-2); box-shadow: 0 10px 24px rgba(23, 81, 63, .22); }
.focus-tags { display: flex; flex-direction: column; gap: 12px; }
.focus-tag {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r);
  font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--pine);
}
.focus-tag i { color: var(--coral); width: 24px; text-align: center; }

@media (max-width: 900px) {
  .focus-inner { grid-template-columns: 1fr; gap: 28px; padding: 38px 0; }
  .focus-tags { flex-direction: row; flex-wrap: wrap; }
  .focus-tag { flex: 1 1 auto; font-size: 1.02rem; padding: 14px 18px; }
}

/* =========================================================
   Human & Institutional Development (front page #hid)
   ========================================================= */
.hid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hid-step {
  padding: 30px 28px; background: var(--bg); border: 1px solid var(--line);
  border-top: 3px solid var(--coral); border-radius: var(--r);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hid-step:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21, 24, 29, .08); }
.hid-num { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--pine); margin-bottom: 10px; }
.hid-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.hid-step p { font-size: .95rem; }

.hid-tags {
  margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.hid-tags-label { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.tag {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  font-size: .88rem; font-weight: 600; color: var(--ink); transition: border-color .2s ease, color .2s ease;
}
.tag:hover { border-color: var(--pine); color: var(--pine); }

@media (max-width: 1024px) { .hid-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .hid-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Newsroom (template-newsroom.php)
   ========================================================= */
.news-intro { padding-top: 72px; padding-bottom: 12px; }
.news-intro .display { font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 8px 0 0; }
.news-intro .lead { margin-top: 18px; }

/* Meta row (shared) */
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chip-cat {
  padding: 5px 12px; border-radius: 999px; background: var(--pine); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.chip-sample {
  padding: 4px 11px; border-radius: 999px; border: 1px dashed var(--coral); color: var(--coral-deep);
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.news-meta time { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.news-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pine); transition: gap .2s ease;
}
.news-lead:hover .news-more, .news-card:hover .news-more { gap: 14px; color: var(--coral); }

.news-noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 200px; background: var(--sand); color: rgba(21, 24, 29, .3); font-size: 2rem; }

/* Lead */
.news-lead {
  display: grid; grid-template-columns: 1.05fr 1fr; margin-bottom: 40px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  color: var(--ink); transition: box-shadow .2s ease, transform .2s ease;
}
a.news-lead:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(21, 24, 29, .1); }
.news-lead-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.news-lead-body { padding: 42px; align-self: center; }
.news-lead-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.news-lead-ex { max-width: 50ch; }

/* Filter tabs */
.news-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 28px; }
.ntab {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent;
  color: var(--ink); font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ntab:hover { border-color: var(--pine); color: var(--pine); }
.ntab.is-active { background: var(--pine); border-color: var(--pine); color: #fff; }

/* Grid */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  display: flex; flex-direction: column; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(21, 24, 29, .1); }
.news-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1 1 auto; }
.news-card-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.news-card-ex { font-size: .95rem; flex: 1 1 auto; }
.news-card.is-hidden { display: none; }
.news-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .news-lead { grid-template-columns: 1fr; }
  .news-lead-media img { min-height: 220px; }
  .news-lead-body { padding: 30px; }
  .news-grid { grid-template-columns: 1fr; }
}