/* ══════════════════════════════════════════════════════════════
   JOURNALISTS — Front-page teaser + Listing page + Profile page
   ══════════════════════════════════════════════════════════════ */

/* ── Shared ── */
.jn-breadcrumb,
.jnp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 20px;
  font-family: 'Source Sans 3', sans-serif;
}
.jn-breadcrumb a, .jnp-breadcrumb a { color: #6b7280; text-decoration: none; }
.jn-breadcrumb a:hover, .jnp-breadcrumb a:hover { color: var(--red, #c00); }

.jn-empty, .jnp-empty {
  text-align: center;
  color: #888;
  padding: 40px 0;
  font-family: 'Source Sans 3', sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   FRONT-PAGE — Notre équipe section (full dark navy, like hero)
   ══════════════════════════════════════════════════════════════ */
.jn-fp-section {
  padding: 52px 0 48px;
  background: linear-gradient(135deg, #0a1628 0%, #0d2040 60%, #0a1628 100%);
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow like the hero */
.jn-fp-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(0,174,239,.1) 0%, transparent 65%);
  pointer-events: none;
}

/* Override triptych colours for dark background */
.jn-fp-section .triptych-header { position: relative; z-index: 1; }
.jn-fp-section .triptych-rule   { background: rgba(255,255,255,.2); }
.jn-fp-section .triptych-title  { color: #fff; }
.jn-fp-section .triptych-title a {
  color: #00AEEF;
  text-decoration: none;
  transition: color .2s;
}
.jn-fp-section .triptych-title a:hover { color: #4fd1f5; }

.jn-fp-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border-left: none;
  position: relative;
  z-index: 1;
}

.jn-fp-teaser-text {
  font-size: 15px;
  color: #9ca3af;
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.7;
  margin: 0;
  flex: 1;
  max-width: 600px;
}

.jn-fp-more {
  display: inline-block;
  padding: 12px 28px;
  background: #00AEEF;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Source Sans 3', sans-serif;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.jn-fp-more:hover { background: #0090c8; }

/* Front-page journalist grid — 4 cards on dark navy */
.jn-fp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.jn-fp-footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .jn-fp-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .jn-fp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .jn-fp-section { padding: 40px 0 36px; }
  .jn-fp-more { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   HÔTELS & BUSINESS KINSHASA — Advertising section
   ══════════════════════════════════════════════════════════════ */
.kinhbiz-section {
  padding: 52px 0 56px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.kinhbiz-subtitle {
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  font-family: 'Source Sans 3', sans-serif;
  margin: -16px 0 32px;
  font-style: italic;
}

.kinhbiz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kinhbiz-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .22s, box-shadow .22s;
}
.kinhbiz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.kinhbiz-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f4f8;
}
.kinhbiz-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s;
}
.kinhbiz-card:hover .kinhbiz-card-img-wrap img { transform: scale(1.05); }

/* Placeholder state (before real partner images are added) */
.kinhbiz-card--placeholder .kinhbiz-card-img-wrap {
  background: linear-gradient(135deg, #0d1a2e 0%, #0d2a4a 100%);
}
.kinhbiz-placeholder-img {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  padding: 20px;
  border: 2px dashed rgba(0,174,239,.3);
}
.kinhbiz-placeholder-img span {
  font-size: 12px; font-weight: 700;
  color: rgba(0,174,239,.6);
  font-family: 'Source Sans 3', sans-serif;
  text-transform: uppercase; letter-spacing: 1px;
  text-align: center;
}

.kinhbiz-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.kinhbiz-cat {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  color: #00AEEF;
  font-family: 'Source Sans 3', sans-serif;
}
.kinhbiz-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 14px; font-weight: 700;
  color: #0d1a2e; line-height: 1.4; margin: 0;
}
.kinhbiz-desc {
  font-size: 12px; color: #6b7280;
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.6; margin: 0; flex: 1;
}
.kinhbiz-cta {
  font-size: 12px; font-weight: 700;
  color: #00AEEF;
  font-family: 'Source Sans 3', sans-serif;
  margin-top: auto;
}
.kinhbiz-card:hover .kinhbiz-cta { color: #0090c8; }

.kinhbiz-footer {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.kinhbiz-contact-btn {
  display: inline-block;
  padding: 13px 32px;
  background: #0d1a2e;
  color: #fff;
  font-size: 14px; font-weight: 700;
  font-family: 'Source Sans 3', sans-serif;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid #0d1a2e;
  transition: background .2s, color .2s;
}
.kinhbiz-contact-btn:hover {
  background: #00AEEF;
  border-color: #00AEEF;
  color: #fff;
}

@media (max-width: 860px) {
  .kinhbiz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .kinhbiz-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   LISTING PAGE — /nos-journalistes/
   ══════════════════════════════════════════════════════════════ */
.jn-page { background: #f8f9fa; min-height: 60vh; }

/* Hero */
.jn-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d2040 60%, #0a1628 100%);
  padding: 56px 0 48px;
  border-bottom: 4px solid #00AEEF;
  position: relative;
  overflow: hidden;
}
.jn-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,174,239,.12) 0%, transparent 65%);
  pointer-events: none;
}
.jn-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.jn-hero-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #00AEEF;
  border: 1px solid rgba(0,174,239,.4);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-family: 'Source Sans 3', sans-serif;
}
.jn-hero-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}
.jn-hero-title span { color: #00AEEF; }
.jn-hero-intro {
  font-size: 16px;
  color: #9ca3af;
  line-height: 1.7;
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  max-width: 600px;
}

/* Wrap */
.jn-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* Alphabet nav */
.jn-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.jn-alpha-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
  transition: background .15s, color .15s;
}
.jn-alpha-link:hover { background: #0d1a2e; color: #fff; }

/* Alphabetical group */
.jn-group { margin-bottom: 48px; }
.jn-group-letter {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 28px;
  font-weight: 900;
  color: #0d1a2e;
  border-bottom: 2px solid #0d1a2e;
  padding-bottom: 8px;
  margin-bottom: 24px;
  line-height: 1;
}

/* Cards grid */
.jn-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* ── Card: photo top + solid navy info bar bottom ── */
.jn-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  background: #0d1a2e;
  box-shadow: 0 3px 12px rgba(0,0,0,.22);
  transition: transform .22s, box-shadow .22s;
}
.jn-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0,0,0,.32);
}

/* Photo area — fills top 76% of card */
.jn-card-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  background: #0d1a2e;       /* navy shows through transparent areas */
  flex-shrink: 0;
}

/* Duotone blue effect — pure filter, works inside overflow:hidden/border-radius */
.jn-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  /* grayscale → sepia gives warm tones → hue-rotate 185° pushes into blue range
     saturate intensifies the blue, brightness keeps it from going too dark */
  filter: grayscale(100%) sepia(80%) hue-rotate(185deg) saturate(2.5) brightness(0.75);
  transition: transform .35s ease, filter .35s ease;
}
.jn-card:hover .jn-card-photo {
  transform: scale(1.05);
  filter: grayscale(100%) sepia(80%) hue-rotate(185deg) saturate(3) brightness(0.85);
}

/* Blue shimmer overlay — sits on top of the already-blue photo */
.jn-card-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 174, 239, 0.18) 0%,
    rgba(13,  26,  46, 0.35) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Remove the old mix-blend-mode ::after — no longer needed */
.jn-card-photo-wrap::after {
  content: none;
}

/* Initials fallback — centred in photo area, shown via JS onerror */
.jn-card-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255,255,255,.15);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  z-index: 3;
}
.jn-card-photo-wrap.jn-photo-failed .jn-card-initials { opacity: 1; }

/* ── Solid navy info bar ── */
.jn-card-info {
  background: #0d1a2e;
  padding: 13px 14px 15px;
  border-top: 2px solid #00AEEF;   /* CongoPresse blue accent line */
  flex-shrink: 0;
}
.jn-card-name {
  display: block;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 4px;
  letter-spacing: .1px;
}
.jn-card-role {
  display: block;
  font-size: 11px;
  color: #8fb3cc;
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.45;
  font-style: italic;
}

/* Flat grid for < 10 journalists — cards auto-size, max 220px wide, row centred */
.jn-grid--flat {
  grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
  justify-content: start;
  gap: 20px;
}

@media (max-width: 1024px) { .jn-grid:not(.jn-grid--flat) { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .jn-grid:not(.jn-grid--flat) { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 700px)  { .jn-grid--flat { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }
@media (max-width: 480px)  { .jn-grid:not(.jn-grid--flat) { grid-template-columns: repeat(2, 1fr); } }


/* ══════════════════════════════════════════════════════════════
   PROFILE PAGE — /author/{slug}/  (Le Soir style)
   ══════════════════════════════════════════════════════════════ */
.jnp-page { background: #f4f4f4; min-height: 60vh; }

/* White profile banner */
.jnp-banner {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 32px 0 36px;
}
.jnp-banner-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Profile row */
.jnp-profile-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 32px;
  align-items: flex-start;
}

/* Photo */
.jnp-photo-col { flex-shrink: 0; }
.jnp-photo {
  width: 180px;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

/* Info */
.jnp-info-col { flex: 1; min-width: 0; }
.jnp-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 28px;
  font-weight: 900;
  color: #0d1a2e;
  margin: 0 0 6px;
  line-height: 1.2;
}
.jnp-role {
  font-size: 15px;
  color: var(--red, #c00);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  margin: 0 0 16px;
  font-style: italic;
}
.jnp-bio {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
  font-family: 'Source Sans 3', sans-serif;
  margin: 0 0 16px;
  max-width: 540px;
}
.jnp-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #9ca3af;
  font-family: 'Source Sans 3', sans-serif;
  margin: 0;
}

/* Action button top-right */
.jnp-action-col { padding-top: 2px; }
.jnp-all-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0d1a2e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Source Sans 3', sans-serif;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s;
}
.jnp-all-btn:hover { background: #1a3a5c; }

/* Articles section */
.jnp-articles-wrap {
  padding: 36px 0 60px;
}
.jnp-articles-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Articles grid — 4 columns */
.jnp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.jnp-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  transition: box-shadow .2s;
}
.jnp-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }

.jnp-card-img-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8e8e8;
}
.jnp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.jnp-card:hover .jnp-card-img { transform: scale(1.04); }

.jnp-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.jnp-card-cat {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red, #c00);
  font-family: 'Source Sans 3', sans-serif;
}
.jnp-card-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: #0d1a2e;
  line-height: 1.4;
  margin: 0;
}
.jnp-card-title a { color: inherit; text-decoration: none; }
.jnp-card-title a:hover { color: var(--red, #c00); }
.jnp-card-excerpt {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
  font-family: 'Source Sans 3', sans-serif;
  margin: 0;
  flex: 1;
}
.jnp-card-date {
  font-size: 11px;
  color: #9ca3af;
  font-family: 'Source Sans 3', sans-serif;
  margin-top: auto;
}

/* Pagination */
.jnp-pagination { margin-top: 36px; display: flex; justify-content: center; }
.jnp-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.jnp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: 4px; font-size: 14px; font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  color: #374151; text-decoration: none;
  background: #fff; border: 1px solid #e5e7eb;
  transition: background .15s, color .15s;
}
.jnp-pagination .page-numbers.current,
.jnp-pagination .page-numbers:hover { background: #0d1a2e; color: #fff; border-color: #0d1a2e; }
.jnp-pagination .page-numbers.dots { border: none; background: none; }

/* Responsive profile */
@media (max-width: 860px) {
  .jnp-profile-row { grid-template-columns: 130px 1fr; grid-template-rows: auto auto; }
  .jnp-action-col { grid-column: 1 / -1; }
  .jnp-photo { width: 130px; height: 160px; }
  .jnp-name { font-size: 22px; }
  .jnp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .jnp-profile-row { grid-template-columns: 1fr; }
  .jnp-photo { width: 100px; height: 125px; }
  .jnp-grid { grid-template-columns: 1fr; }
}
