/* Integration Collective — IC Media page (Nov 14 2026). Wired theme tokens. */
.media-page { background: var(--steel-dark); min-height: 100vh; padding: 48px 0 64px; }
.media-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.media-back { display: inline-block; margin-bottom: 16px; font-size: 0.9rem; color: var(--w-b, #1f6feb); text-decoration: none; }
.media-back:hover { text-decoration: underline; }
.media-header h1 { margin-bottom: 6px; }
.media-lead { color: var(--text-mid); font-size: 1rem; max-width: 720px; }

.media-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.media-tab {
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--w-line, #e3e0d8);
  background: #fff; color: var(--w-ink, #111827); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
}
.media-tab[aria-pressed="true"] { background: var(--w-ink, #111827); border-color: var(--w-ink, #111827); color: #fff; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.media-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--w-line, #e3e0d8);
  border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.media-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12); }
.media-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--w-soft, #f3f1ea); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-thumb-blank { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2rem; }
.media-play {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: rgba(17, 24, 39, 0.75);
}
.media-play::after {
  content: ""; position: absolute; top: 50%; left: 50%; margin: -10px 0 0 -6px;
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.media-info { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1 1 auto; }
.media-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.media-tag--speakers { color: var(--w-b, #1f6feb); }
.media-tag--socials { color: #c2410c; }
.media-tag--zoom { color: #15803d; }
.media-tag--publications { color: var(--w-mut, #4b5563); }
.media-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--w-ink, #111827); }
.media-desc { font-size: 0.9rem; color: var(--text-mid); }
.media-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; font-size: 0.85rem; color: var(--text-dim); }
.media-action { font-weight: 700; color: var(--w-ink, #111827); }

.media-empty {
  padding: 48px 20px; text-align: center; border: 1.5px dashed var(--w-line, #e3e0d8); border-radius: 16px;
  color: var(--text-mid); font-size: 1rem; background: #fff;
}

@media (max-width: 480px) {
  .media-header h1 { font-size: 1.6rem; }
  .media-tab { flex: 1 1 calc(50% - 8px); text-align: center; }
  .media-grid { grid-template-columns: 1fr; }
}
