:root {
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --surface: #ffffff;
  --border: #d1d8e0;
  --accent: #0a7d91;       /* PyData teal */
  --accent-hover: #085f6e;
  --accent-light: #e8f4f6;
  --accent2: #2563eb;      /* link blue */
  --accent3: #9b59b6;      /* purple for secondary */
  --text: #1a1a2e;
  --text-body: #2c2c2c;
  --muted: #5a6a7a;
  --heading-font: 'Source Sans 3', -apple-system, sans-serif;
  --body-font: 'Source Sans 3', -apple-system, sans-serif;
  --mono-font: 'Source Code Pro', 'Courier New', monospace;
  --nav-h: 56px;
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

body {
  color: var(--text-body);
  font-family: var(--body-font);
}

body.fullcontent {
  overflow-x: hidden;
}

/* ─── ANNOUNCEMENT BAR ───
body.fullcontent .announce-bar {
  background: var(--accent-light); border-bottom: 1px solid #b2d8e0;
  padding: 8px 2rem; text-align: center; font-size: 0.85rem;
  color: var(--accent); margin-top: var(--nav-h);
}
body.fullcontent .announce-bar a { color: var(--accent); font-weight: 600; } */
body.fullcontent .announce-bar {
  background: var(--accent-light);
  border-bottom: 1px solid #b2d8e0;
  padding: 8px 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent);

  margin-top: 0;      /* or remove entirely */
}
/* ─── HERO ─── */
body.fullcontent .hero {
  background: linear-gradient(160deg, #1a2744 0%, #0e3a56 55%, #0a7d91 100%);
  padding: 80px 2.5rem 72px;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative; overflow: hidden;
}
body.fullcontent .hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
body.fullcontent .hero-content { position: relative; z-index: 1; max-width: 720px; }
body.fullcontent .hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  color: #7dd9e8; padding: 4px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; margin-bottom: 1.75rem;
  font-family: var(--mono-font);
}
body.fullcontent .hero h1 {
  font-family: var(--heading-font); font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.15; color: #ffffff; margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
body.fullcontent .hero h1 em { color: #7dd9e8; font-style: normal; }
body.fullcontent .hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 600px;
  margin-bottom: 2.25rem; font-weight: 300; line-height: 1.75;
}
body.fullcontent .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
body.fullcontent .btn-primary {
  background: #ffffff; color: var(--accent);
  padding: 11px 28px; border-radius: 6px; font-weight: 700;
  text-decoration: none; font-size: 0.95rem; font-family: var(--body-font);
  transition: box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
body.fullcontent .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
body.fullcontent .btn-secondary {
  background: transparent; color: rgba(255,255,255,0.9);
  padding: 11px 28px; border-radius: 6px; font-weight: 500;
  text-decoration: none; font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.15s, background 0.15s;
}
body.fullcontent .btn-secondary:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.08); }

/* ─── STATS BAR ─── */
body.fullcontent .stats-bar {
  display: flex; gap: 0; border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
body.fullcontent .stat {
  flex: 1; padding: 1.5rem 2.5rem;
  border-right: 1px solid var(--border);
}
body.fullcontent .stat:last-child { border-right: none; }
body.fullcontent .stat-num { font-family: var(--heading-font); font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }
body.fullcontent .stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

/* ─── SECTIONS ─── */
body.fullcontent section { padding: 72px 2.5rem; }
body.fullcontent section.alt { background: var(--bg-secondary); }

body.fullcontent .section-eyebrow {
  display: inline-block; font-family: var(--mono-font); font-size: 0.72rem;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.75rem; font-weight: 500;
}
body.fullcontent .section-title {
  font-family: var(--heading-font); font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 0.75rem; color: var(--text);
  letter-spacing: -0.02em;
}
body.fullcontent .section-sub {
  color: var(--muted); max-width: 560px; font-weight: 400; line-height: 1.7;
  font-size: 1rem;
}

/* ─── WHAT IS OPENEO ─── */
body.fullcontent .what-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem;
  margin-top: 3rem; align-items: center;
}
body.fullcontent .feature-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
body.fullcontent .feature-item { display: flex; gap: 1rem; align-items: flex-start; }
body.fullcontent .feature-check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent-light);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0; margin-top: 1px; font-weight: 700;
  border: 1.5px solid #b2d8e0;
}
body.fullcontent .feature-item strong { display: block; font-size: 0.95rem; color: var(--text); font-weight: 600; }
body.fullcontent .feature-item span { font-size: 0.875rem; color: var(--muted); }

/* ─── CODE BLOCK ─── */
body.fullcontent .code-block {
  background: #1e2a3a; border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-md);
}
body.fullcontent .code-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: #151e2d; border-bottom: 1px solid #2d3d52;
}
body.fullcontent .code-file { font-family: var(--mono-font); font-size: 0.75rem; color: #8899aa; }
body.fullcontent .code-dots { display: flex; gap: 6px; }
body.fullcontent .code-dots span { width: 10px; height: 10px; border-radius: 50%; }
body.fullcontent .code-dots .red { background: #ff5f57; }
body.fullcontent .code-dots .yellow { background: #ffbd2e; }
body.fullcontent .code-dots .green { background: #28c840; }
body.fullcontent .copy-btn {
  background: none; border: 1px solid #2d3d52; color: #8899aa;
  font-family: var(--mono-font); font-size: 0.7rem; padding: 3px 10px;
  border-radius: 4px; cursor: pointer; transition: all 0.15s;
}
body.fullcontent .copy-btn:hover { border-color: var(--accent); color: #7dd9e8; }
body.fullcontent .code-body {
  padding: 1.25rem 1.5rem; font-family: var(--mono-font); font-size: 0.82rem;
  line-height: 1.85; overflow-x: auto; color: #cdd6e8;
}
body.fullcontent .kw { color: #c792ea; }
body.fullcontent .fn { color: #7dd9e8; }
body.fullcontent .str { color: #a8e6cf; }
body.fullcontent .cm { color: #546e7a; font-style: italic; }
body.fullcontent .num { color: #f9c74f; }

/* ─── CARDS GRID ─── */
body.fullcontent .cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
body.fullcontent .card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none; color: inherit; display: block;
}
body.fullcontent .card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10,125,145,0.12);
}
body.fullcontent .card-icon { font-size: 1.5rem; margin-bottom: 0.875rem; }
body.fullcontent .card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
body.fullcontent .card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
body.fullcontent .card-arrow { margin-top: 1rem; color: var(--accent2); font-size: 0.8rem; font-family: var(--mono-font); font-weight: 500; }

#news-listing {
  display: flex !important;
  flex-direction: column !important;
}

#news-listing-pagination {
  order: 100 !important;
}

#news-listing .list.grid {
  order: 0 !important;
}

#news-listing .listing-no-matching {
  order: 1 !important;
}

/* ─── FOOTER ─── */
body.fullcontent footer {
  background: #1a2744; border-top: 1px solid #2d3d60;
  padding: 3rem 2.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
body.fullcontent .footer-brand p { font-size: 0.875rem; color: #8899bb; margin-top: 0.75rem; max-width: 260px; line-height: 1.65; }
body.fullcontent .footer-logo { font-family: var(--heading-font); font-size: 1.15rem; font-weight: 700; color: #ffffff; }
body.fullcontent footer h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #8899bb; margin-bottom: 1rem; font-family: var(--mono-font); }
body.fullcontent footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
body.fullcontent footer ul a { color: #aabbd0; text-decoration: none; font-size: 0.875rem; transition: color 0.15s; }
body.fullcontent footer ul a:hover { color: #ffffff; }
body.fullcontent .footer-bottom {
  background: #131e36; border-top: 1px solid #2d3d60;
  font-size: 0.8rem; color: #6677aa; text-align: center;
  padding: 1.25rem 2.5rem;
}

@media (max-width: 900px) {
  body.fullcontent .what-grid { grid-template-columns: 1fr; }
  body.fullcontent footer { grid-template-columns: 1fr 1fr; }
  body.fullcontent .stats-bar { flex-direction: column; }
  body.fullcontent .stat { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ─── PEOPLE & SUPPORT CARDS ─── */
:root {
  --clr-bg:        #f4f6f9;
  --clr-surface:   #ffffff;
  --clr-primary:   #1a4f8a;
  --clr-accent:    #2da44e;
  --clr-accent2:   #e06c2b;
  --clr-text:      #1c2333;
  --clr-muted:     #6b7893;
  --clr-border:    #dde3ed;
  --radius:        14px;
  --shadow:        0 4px 24px rgba(26,79,138,.10);
  --shadow-hover:  0 10px 40px rgba(26,79,138,.18);
  --transition:    all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Section header ────────────────────────────────────── */
.psc-section-header {
  text-align: center;
  margin: 3rem 0 2rem;
}
.psc-section-header h2 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -.03em;
  margin-bottom: .4rem;
}
.psc-section-header p {
  color: var(--clr-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Card grid ─────────────────────────────────────────── */
.psc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 0 3rem;
}

/* ── Individual card ───────────────────────────────────── */
.psc-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.psc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  opacity: 0;
  transition: var(--transition);
}
.psc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--clr-primary);
}
.psc-card:hover::before { opacity: 1; }

/* Chair badge */
.psc-card.chair::before { opacity: 1; }
.psc-chair-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 20px;
  margin-bottom: .9rem;
}

/* ── Avatar ─────────────────────────────────────────────── */
.psc-avatar-wrap {
  position: relative;
  margin-bottom: 1rem;
}
.psc-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--clr-border);
  background: var(--clr-bg);
  display: block;
  transition: var(--transition);
}
.psc-card:hover .psc-avatar {
  border-color: var(--clr-primary);
}
.psc-avatar-fallback {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary) 0%, #3a7bd5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  border: 3px solid var(--clr-border);
  transition: var(--transition);
}
.psc-card:hover .psc-avatar-fallback {
  border-color: var(--clr-primary);
}

/* ── Text content ───────────────────────────────────────── */
.psc-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 .2rem;
}
.psc-org {
  font-size: .88rem;
  color: var(--clr-muted);
  margin: 0 0 1rem;
  font-style: italic;
}

/* ── Link buttons ───────────────────────────────────────── */
.psc-links {
  display: flex;
  gap: .55rem;
  margin-top: auto;
  flex-wrap: wrap;
  justify-content: center;
}
.psc-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .85rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 1.5px solid transparent;
}
.psc-btn-linkedin {
  background: #e8f0fb;
  color: var(--clr-primary);
  border-color: #c5d8f5;
}
.psc-btn-linkedin:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
  text-decoration: none;
}
.psc-btn-email {
  background: #eaf6ee;
  color: #1a7a3a;
  border-color: #b8e3c5;
}
.psc-btn-email:hover {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
  text-decoration: none;
}
.psc-btn-github {
  background: #f0f0f0;
  color: #333;
  border-color: #d0d0d0;
}
.psc-btn-github:hover {
  background: #24292e;
  color: #fff;
  border-color: #24292e;
  text-decoration: none;
}

/* ── Backend badges ──────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 4px;
  line-height: 1.4;
}
.badge-eodc        { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-sentinelhub { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-vito        { background: #fef9c3; color: #854d0e; border: 1px solid #fef08a; }
.badge-orfeo       { background: #f3e8ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.badge-card4l      { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.badge-experimental{ background: #fce7f3; color: #9d174d; border: 1px solid #fbcfe8; }

/* ── Badge key legend ────────────────────────────────────────── */
.badge-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.82em;
}
.badge-key strong {
  width: 100%;
  display: block;
  margin-bottom: 0.3rem;
  color: #475569;
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section header with badges ─────────────────────────────── */
.section-badges {
  margin-bottom: 0.6rem;
}

/* ── Process signature box ───────────────────────────────────── */
.process-box {
  background: #f1f5f9;
  border-left: 4px solid #6366f1;
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 1.1rem;
  margin: 1rem 0 1.4rem 0;
  font-family: monospace;
  font-size: 0.88em;
  color: #1e293b;
}
.process-box .proc-name {
  color: #4f46e5;
  font-weight: 700;
}
.process-box .proc-card4l {
  color: #c2410c;
  font-weight: 700;
}

/* Icon SVGs inline */
.btn-icon { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

@media (max-width: 600px) {
  .psc-grid { grid-template-columns: 1fr; }
}