/* Kit média — logos, bannières, affiches pour assos et médias */

.kit-wire {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--pad) 64px;
  color: var(--ink);
}

.kit-head {
  max-width: 42rem;
  margin-bottom: 36px;
}

.kit-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.kit-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

.kit-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.kit-section {
  margin: 40px 0 0;
}

.kit-section h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 8px;
}

.kit-section > p {
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.kit-card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
}

.kit-card__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 140px;
  padding: 20px;
}

.kit-card__preview img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}
.kit-card__preview--mark {
  min-height: 140px;
}
.kit-card__preview--mark img {
  width: 96px;
  height: 96px;
}
.kit-card__preview--asset {
  padding: 0;
  min-height: 0;
  display: block;
  background: #0e0f12;
}
.kit-card__preview--asset.kit-card__preview--light {
  background: #fff;
}
.kit-card__preview--asset img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.kit-card__preview--wide img {
  width: 56px;
  height: 56px;
}

.kit-card__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 48;
}
.kit-card__preview--wordmark {
  padding: 0;
  min-height: 96px;
  background: #0e0f12;
}
.kit-card__preview--wordmark.kit-card__preview--light {
  background: #fff;
}
.kit-card__preview--wordmark img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  object-position: left center;
}

.kit-card__preview--dark {
  background: #0e0f12;
  color: #f1f2f4;
}

.kit-card__preview--light {
  background: #fff;
  color: #16181c;
  border-bottom: 1px solid var(--rule);
}

.kit-card__preview--banner {
  min-height: 110px;
  justify-content: flex-start;
  padding: 18px 20px;
}

.kit-card__body {
  padding: 12px 14px 14px;
}

.kit-card__label {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 0.95rem;
}

.kit-card__meta {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.kit-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kit-dl a {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--rule));
  border-radius: 999px;
  padding: 4px 10px;
}

.kit-dl a:hover { text-decoration: underline; }

.kit-cta { margin: 0 0 18px; }
.kit-cta__btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 18px;
}
.kit-cta__btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
  color: #fff;
}
.kit-campus-lead {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.kit-campus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.kit-campus a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--bg-soft);
}
.kit-campus a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.kit-grid--poster {
  max-width: none;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.kit-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.kit-card__link:hover .kit-card__label {
  color: var(--accent);
}

.kit-card__preview--photo {
  padding: 0;
  min-height: 0;
  display: block;
  background: #0e0f12;
}

.kit-card__preview--photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 11 / 17;
  object-fit: cover;
  display: block;
}

@media (min-width: 700px) {
  .kit-grid--poster > .kit-card--feature {
    grid-column: span 2;
  }
}

@media (min-width: 1100px) {
  .kit-card__preview--poster {
    min-height: 200px;
  }
}
