/* Mithrall France V5 — SEO, partenaires et monétisation */

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.article-byline span,
.article-byline time { display: inline-flex; align-items: center; gap: 7px; }
.article-byline span + time::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}

.ad-zone-wrap {
  width: min(1440px, calc(100% - 48px));
  margin: clamp(36px, 6vw, 82px) auto;
}
.ad-slot {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(241,168,58,.055), transparent 48%),
    rgba(255,255,255,.025);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}
.ad-slot[hidden] { display: none !important; }
.ad-slot--leaderboard,
.ad-slot--inline,
.ad-slot--footer { min-height: 112px; }
.ad-slot--sidebar { min-height: 250px; }
.ad-slot__label {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 9px;
  padding: 3px 7px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(5,8,11,.74);
  color: #8e979d;
  font-size: .56rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ad-slot__body { min-height: inherit; }
.ad-slot__direct {
  display: grid;
  grid-template-columns: minmax(160px, 310px) minmax(0, 1fr) auto;
  min-height: inherit;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding: clamp(22px, 3.2vw, 38px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.ad-slot__direct:hover { background: rgba(255,255,255,.035); }
.ad-slot__image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.1);
  background: #0b1014;
}
.ad-slot__copy small {
  display: block;
  margin-bottom: 7px;
  color: var(--v4-amber, var(--accent));
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ad-slot__copy strong {
  display: block;
  color: #f4f2ec;
  font-family: "Arial Narrow", "Franklin Gothic Medium", "Segoe UI", sans-serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.05;
}
.ad-slot__copy p { max-width: 760px; margin: 9px 0 0; color: #aeb6bb; }
.ad-slot__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ad-slot__adsense { min-height: inherit; padding: 26px 12px 10px; }
.ad-slot__preview {
  display: grid;
  min-height: inherit;
  place-items: center;
  padding: 28px;
  color: #89939a;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
}
.article-content > .ad-slot { margin: 42px 0; }
.article-sidebar > .ad-slot { margin-top: 22px; }
.article-sidebar .ad-slot__direct {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  padding: 24px;
}
.article-sidebar .ad-slot__image { aspect-ratio: 4 / 3; }
.article-sidebar .ad-slot__cta { margin-top: 8px; }
.related-section > .ad-zone-wrap { margin-top: 0; }
.site-footer .ad-zone-wrap { margin-top: 0; margin-bottom: 44px; }
.site-footer .ad-slot { background: rgba(255,255,255,.02); }

.partner-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 11vw, 164px) 0 clamp(68px, 8vw, 112px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 82% 22%, rgba(241,168,58,.14), transparent 28rem),
    radial-gradient(circle at 10% 2%, rgba(91,201,255,.09), transparent 30rem),
    #080d11;
}
.partner-hero h1 { max-width: 980px; margin-bottom: 22px; }
.partner-hero p { max-width: 760px; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.partner-card {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.025);
}
.partner-card span {
  color: var(--v4-amber, var(--accent));
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.partner-card h2 { margin-top: 12px; font-size: clamp(1.55rem, 2.4vw, 2.35rem); }
.partner-card ul { padding-left: 18px; color: #c7cbd0; }
.partner-card li + li { margin-top: 8px; }
.partner-ethics {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.partner-ethics .legal-content { margin-top: 0; }
.partner-form-panel {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.13);
  background: #0d141a;
}
.partner-disclosure {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--v4-amber, var(--accent));
  background: rgba(241,168,58,.055);
  color: #b8c0c5;
  font-size: .88rem;
}

.cookie-status {
  display: grid;
  gap: 15px;
  margin: 28px 0;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.025);
}
.cookie-status strong { color: #f2f0ea; }
.cookie-status span { color: #aab2b8; }

.footer-bottom a[href="/partenaires/"],
.footer-bottom a[href="/cookies/"] { color: #cfd4d7; }

@media (max-width: 920px) {
  .ad-slot__direct { grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); }
  .ad-slot__cta { grid-column: 2; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-ethics { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .ad-zone-wrap { width: min(100% - 28px, 1440px); margin-block: 34px; }
  .ad-slot__direct { display: flex; flex-direction: column; align-items: stretch; padding: 24px 20px; }
  .ad-slot__image { aspect-ratio: 16 / 8; }
  .ad-slot__cta { margin-top: 4px; }
  .article-byline { align-items: flex-start; flex-direction: column; gap: 5px; }
  .article-byline span + time::before { display: none; }
}

.story-grid > .ad-slot,
.guide-grid > .ad-slot { grid-column: 1 / -1; }
