/* public_html/css/editions.css */
/* ===============================
   EDITIONS — Page Specific
   =============================== */

.page-hero{ padding: clamp(42px, 6vw, 78px) 0 10px; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: }

.crumbs{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
}
.crumbs a{ color: var(--muted); border-bottom:1px solid transparent; }
.crumbs a:hover{ color: var(--text); border-bottom-color: rgba(255,255,255,.18); }

/* slab */
.ed-slab{
  margin-top: 18px;
  border-radius: 28px;
  padding: 22px;
  background:
    radial-gradient(620px 240px at 18% 20%, rgba(124,240,255,.16), transparent 60%),
    radial-gradient(620px 240px at 85% 18%, rgba(185,194,255,.14), transparent 62%),
    rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.ed-slab-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: stretch;
}
.slab-title{ margin:0 0 8px; }
.slab-desc{ margin:0; }

/* search */
.searchbar{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
.input{
  flex: 1 1 260px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7,8,12,.35);
  color: var(--text);
  outline: none;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.input::placeholder{ color: rgba(255,255,255,.45); }

/* chips */
.chips{ display:flex; gap: 10px; flex-wrap:wrap; margin-top: 14px; }
.chip{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  user-select:none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.chip:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: var(--text);
}
.chip.active{
  background: linear-gradient(135deg, rgba(124,240,255,.22), rgba(185,194,255,.18));
  border-color: rgba(255,255,255,.18);
  color: var(--text);
}

/* stats */
.ed-stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.stat{
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.stat strong{ display:block; color: var(--text); font-weight:650; margin-bottom: 2px; }

/* section */
.ed-section{ padding-top: 26px; }

/* grid */
.ed-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

/* card */
.ed-card{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 46px rgba(0,0,0,.35);
  overflow:hidden;
  position:relative;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  min-height: 420px;
  display:flex;
  flex-direction:column;
}
.ed-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
}

/* cover */
.ed-cover{
  position:relative;
  height: 176px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display:block;
  background:
    radial-gradient(120px 120px at 28% 30%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg, rgba(124,240,255,.18), rgba(185,194,255,.14)),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));
}
.ed-cover::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(340px 180px at 70% 65%, rgba(255,255,255,.08), transparent 62%),
    repeating-linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.06) 1px, transparent 1px, transparent 7px);
  opacity:.35;
  mix-blend-mode: overlay;
  pointer-events:none;
}

/* badges */
.ed-badges{
  position:absolute; left:14px; top:14px;
  display:flex; gap:8px; flex-wrap:wrap;
  max-width: calc(100% - 28px);
}
.badge{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(7,8,12,.55);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size:12px;
  color: var(--muted);
  letter-spacing:.10em;
  text-transform:uppercase;
  white-space:nowrap;
}

/* body */
.ed-body{
  padding: 16px 16px 18px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  flex: 1 1 auto;
}
.ed-top{
  display:flex; align-items:center; gap:10px;
  color: var(--muted2);
  font-size: 13px;
}
.ed-dot{
  width:6px; height:6px; border-radius:999px;
  background: linear-gradient(135deg, var(--a2), var(--a1));
  box-shadow: 0 0 0 6px rgba(124,240,255,.10);
}
.ed-title{
  margin:0;
  font-size: 16px;
  letter-spacing: .01em;
  line-height: 1.25;
}
.ed-excerpt{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.ed-tags{ display:flex; gap: 8px; flex-wrap:wrap; margin-top: 4px; }
.tag{
  font-size: 12px;
  color: rgba(255,255,255,.72);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.ed-actions{
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding-top: 6px;
}

.hidden{ display:none !important; }

/* responsive */
@media (max-width: 980px){
  .ed-slab-grid{ grid-template-columns: 1fr; }
  .ed-grid{ grid-template-columns: 1fr; }
  .ed-stats{ grid-template-columns: 1fr; }
}
.ed-card img {
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
}
.ed-body {
  display: flex;
  flex-direction: column;
}

.ed-top {
  min-height: 42px;
}

.ed-title {
  min-height: 48px;
}
/* Zone image identique pour toutes les cards */
.ed-card img{
  width: 100%;
  max-width: 240px;
  height: 320px;         /* fixe */
  object-fit: contain;   /* pas de déformation */
  display: block;
  margin: 15px auto;
}
/* ===== CASE IMAGE (comme productions) ===== */
.ed-media{
  margin: 10px 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.ed-media .ed-img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ===== TAGS EN BAS DE LA CARTE ===== */
.ed-body{
  display:flex;
  flex-direction:column;
  height:100%;
}

.ed-tags{
  margin-top: auto;
  padding-top: 10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
body{ outline:6px solid lime !important; }
body{ outline:6px solid lime !important; }
/* --- mini-cases (comme Productions/Univers) --- */
.ed-meta-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.ed-meta-grid .m{
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.ed-meta-grid .m strong{
  display:block;
  color: var(--text);
  font-weight:650;
  margin-bottom: 2px;
}
