/* ============================================
   MEDIA CENTRE — video cards, press grid,
   infographics, contacts layout
   ============================================ */

/* Video card — thumbnail + title below */
.video-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--who-radius-sm);
  overflow: hidden;
  transition: transform var(--who-transition);
}
.video-card:hover { transform: translateY(-3px); }
.video-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--who-gray-200) center / cover no-repeat;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
}
.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(0, 59, 115, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--who-transition);
  flex-shrink: 0;
}
.play-btn svg { margin-left: 3px; } /* optical centre for play triangle */
.video-card:hover .play-btn { transform: scale(1.1); }

.video-card-body {
  padding: 12px 4px 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.video-card-body .pub-card-date {
  font-size: 12px;
  color: var(--who-gray-600);
  margin-bottom: 4px;
}
.video-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--who-navy);
}
.video-card-title a {
  color: inherit;
  text-decoration: none;
}
.video-card-title a:hover { color: var(--who-blue); }

/* Per-card "Read more" link under the title */
.video-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--who-blue);
  text-decoration: none;
}
.video-card-more:hover { text-decoration: underline; }

/* ── Videos band — full-black video section ──────────────────────────────────
   Same treatment as the RC session page's .rc-videos-band (contrast overrides
   follow the .section-navy convention in homepage.css). */
.videos-band { background: #000; }
.videos-band .section-header { border-bottom-color: rgba(255, 255, 255, .2); }
.videos-band .section-header h2 { color: var(--who-white); }
.videos-band .see-all { color: rgba(255, 255, 255, .7); }
.videos-band .see-all:hover { color: var(--who-white); }
.videos-band .video-thumb { background-color: #111; }
.videos-band .video-card-body .pub-card-date { color: rgba(255, 255, 255, .6); }
.videos-band .video-card-title { color: var(--who-white); }
.videos-band .video-card-title a:hover { color: var(--who-blue); }

/* =============================================================================
   Multimedia detail page
   ========================================================================== */
.content-layout--2-1 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
@media (max-width: 900px) {
  .content-layout--2-1 { grid-template-columns: 1fr; }
}

/* ── Common ── */
.mm-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--who-navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.mm-meta {
  margin-bottom: 24px;
  font-size: .875rem;
  color: var(--who-gray-600);
}
.mm-body {
  margin-bottom: 32px;
}

/* ── B. Video — featured full-width row ── */
.mm-video-hero {
  background: #000;
  padding: 32px 0;
}
.mm-video-featured {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--who-radius-md);
  overflow: hidden;
}
.mm-video-featured iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Extra videos inside the 2/3 column */
.mm-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--who-radius-md);
  overflow: hidden;
}
.mm-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mm-extra-video {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--who-gray-200);
}
.mm-extra-video.mm-extra-first {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

/* ── A. Photo — gallery thumbnails ── */
.mm-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.mm-gallery-item {
  margin: 0;
}
.mm-gallery-item .img-credits-wrap {
  position: relative;
  border-radius: var(--who-radius-sm);
  overflow: hidden;
}
.mm-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .mm-gallery { grid-template-columns: 1fr; }
}

/* ── C. Audio — stacked players ── */
.mm-audio-list {
  margin-bottom: 32px;
}
.mm-audio-item {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--who-gray-200);
}
.mm-audio-item.mm-audio-first {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}
.mm-audio-player {
  display: block;
  width: 100%;
  margin-bottom: 8px;
}
.mm-audio-name {
  font-size: .875rem;
  color: var(--who-gray-600);
  line-height: 1.4;
}

/* Press Conferences — 2-column grid */
.mc-press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Publications row — 4-column pub-card grid */
.mc-pub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .mc-pub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .mc-pub-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Category tag on highlight-card overlay (white on dark) */
.mc-highlight-tag {
  display: inline-block;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--who-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Media Contacts split layout */
.mc-contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.mc-contacts-main h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--who-navy);
  margin: 0 0 16px;
}
.mc-contacts-main > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--who-gray-600);
  margin-bottom: 20px;
}
.mc-contact-card {
  background: var(--who-gray-50);
  border: 1px solid var(--who-gray-100);
  padding: 20px 24px;
  border-radius: var(--who-radius-md);
}
.mc-contact-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--who-gray-700);
  margin: 0 0 8px;
}
.mc-contact-card p:last-child { margin-bottom: 0; }
.mc-contact-card a { color: var(--who-blue); }

/* Contacts links column */
.mc-contacts-links { padding-top: 8px; }
.mc-resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--who-gray-200);
  font-size: 14px;
  min-width: 0;
}
.mc-resource-link > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-weight: 500;
  color: var(--who-navy);
  text-decoration: none;
  transition: background var(--who-transition);
}
.mc-resource-link:hover { background: var(--who-gray-50); }
.mc-resource-arrow { color: var(--who-gray-400); }

@media (max-width: 900px) {
  .mc-press-grid { grid-template-columns: 1fr; }
  .mc-contacts-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* =============================================================================
   Feature Stories page
   ============================================================================= */

/* Two-column layout: 2fr content + 1fr sidebar */
.fs-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Sticky sidebar — reuses .pub-sidebar, extra top spacing */
.fs-sidebar {
  position: sticky;
  top: 80px;
}

/* Results count below the form */
.fs-results-count {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  padding: 0 4px;
}

/* Horizontal feature story card */
.fs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fs-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--who-gray-200);
}
.fs-item:first-child { border-top: none; padding-top: 0; }

/* Image as a background-image block */
.fs-item-img {
  display: block;
  width: 220px;
  height: 150px;
  background: var(--who-gray-100) center/cover no-repeat;
  border-radius: var(--who-radius-sm);
  flex-shrink: 0;
  transition: opacity var(--who-transition);
}
.fs-item:hover .fs-item-img { opacity: 0.9; }

/* Multimedia listing — play button overlay on thumbnail */
.mm-fs-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-fs-thumb .play-btn {
  position: absolute;
  width: 44px;
  height: 44px;
}

/* Text side */
.fs-item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fs-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.fs-item-date {
  font-size: 13px;
  color: var(--who-gray-500);
}

.fs-item-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.fs-item-title a {
  color: var(--who-navy);
  text-decoration: none;
}
.fs-item-title a:hover { color: var(--who-blue); }

.fs-item-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--who-gray-600);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fs-read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--who-blue);
  text-decoration: none;
  margin-top: 4px;
}
.fs-read-more:hover { gap: 8px; }

/* Meta separator */
.fs-item-meta .meta-sep { color: var(--who-gray-300); font-size: 13px; }

/* Topic badge links in meta */
.fs-item-meta .type-tag,
.nl-country-card-meta .type-tag {
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.fs-item-meta .type-tag:hover,
.nl-country-card-meta .type-tag:hover { opacity: 0.8; }

/* ── "From countries" section ─────────────────────────────── */
.nl-country-section {
  padding: 64px 0 72px;
}
.nl-country-section .section-header {
  margin-bottom: 24px;
}
.nl-country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}
.nl-country-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: start;
}
.nl-country-card-img {
  display: block;
  width: 110px;
  height: 75px;
  background: var(--who-gray-100) center/cover no-repeat;
  border-radius: var(--who-radius-sm);
  flex-shrink: 0;
  transition: opacity var(--who-transition);
}
.nl-country-card:hover .nl-country-card-img { opacity: 0.9; }
.nl-country-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nl-country-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nl-country-card-meta .meta-sep { color: var(--who-gray-300); font-size: 12px; }
.nl-country-card-country {
  font-size: 12px;
  font-weight: 600;
  color: var(--who-navy);
}
.nl-country-card-date {
  font-size: 12px;
  color: var(--who-gray-500);
}
.nl-country-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.nl-country-card-title a {
  color: var(--who-navy);
  text-decoration: none;
}
.nl-country-card-title a:hover { color: var(--who-blue); }

/* Responsive */
@media (max-width: 1024px) {
  .fs-layout { grid-template-columns: 1fr; }
  .fs-sidebar { position: static; }
}
@media (max-width: 600px) {
  .fs-item { grid-template-columns: 1fr; }
  .fs-item-img { width: 100%; height: 200px; }
  .nl-country-grid { grid-template-columns: 1fr; }
  .nl-country-card { grid-template-columns: 1fr; }
  .nl-country-card-img { width: 100%; height: 140px; }
}

