/* ══════════════════════════════════════════════
   EDITORIAL.CSS — pages articles, tomes, parcours
   ══════════════════════════════════════════════ */

/* ── Page layout ── */
.editorial-hero {
  background: #0a0600;
  padding: 100px 24px 64px;
  border-bottom: 1px solid rgba(240,180,60,0.12);
  position: relative;
  overflow: hidden;
}
.editorial-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,134,10,0.08), transparent 70%);
  pointer-events: none;
}
.editorial-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.editorial-eyebrow {
  font-family: 'Cinzel', 'Bebas Neue', serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0b43c;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.editorial-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: #f0b43c;
}
.editorial-hero h1 {
  font-family: 'Bebas Neue', 'Cinzel', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  color: #f0e6d0;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}
.editorial-hero .lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #c8b896;
  max-width: 640px;
  margin: 0;
}
.editorial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-size: 0.85rem;
  color: #a09070;
}
.editorial-meta span { display: flex; align-items: center; gap: 6px; }

/* ── Main content area ── */
.editorial-body {
  background: #0d0800;
  padding: 72px 24px 100px;
}
.editorial-content {
  max-width: 760px;
  margin: 0 auto;
}
.editorial-content h2 {
  font-family: 'Bebas Neue', 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #f0e6d0;
  margin: 64px 0 20px;
  letter-spacing: 0.03em;
  line-height: 1.1;
  border-left: 3px solid #f0b43c;
  padding-left: 20px;
}
.editorial-content h2:first-child { margin-top: 0; }
.editorial-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #f0b43c;
  margin: 40px 0 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.editorial-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #c8b896;
  margin: 0 0 24px;
}
.editorial-content p strong {
  color: #f0e6d0;
  font-weight: 600;
}
.editorial-content p em {
  color: #d4c08a;
}
.editorial-content blockquote {
  border-left: 3px solid #f0b43c;
  margin: 32px 0;
  padding: 20px 28px;
  background: rgba(240,180,60,0.05);
  border-radius: 0 6px 6px 0;
}
.editorial-content blockquote p {
  font-size: 1.1rem;
  font-style: italic;
  color: #d4c08a;
  margin: 0;
}

/* ── Tome cover layout ── */
.tome-editorial-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
.tome-cover-block img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.tome-cover-block .tome-buy-btn {
  display: block;
  margin-top: 16px;
  background: linear-gradient(135deg, #c8860a, #f0b43c);
  color: #0a0600;
  text-align: center;
  padding: 12px 16px;
  border-radius: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.tome-cover-block .tome-buy-btn:hover { opacity: 0.88; }
.tome-infos { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.tome-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(240,180,60,0.1);
  padding-bottom: 8px;
  font-size: 0.88rem;
}
.tome-info-row span:first-child { color: #a09070; }
.tome-info-row span:last-child { color: #f0e6d0; font-weight: 600; }

/* ── Arc badge ── */
.arc-badge {
  display: inline-block;
  background: rgba(240,180,60,0.12);
  border: 1px solid rgba(240,180,60,0.3);
  color: #f0b43c;
  font-size: 0.78rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-top: 8px;
}

/* ── Event timeline card ── */
.event-timeline {
  position: relative;
  padding-left: 32px;
  margin: 40px 0;
}
.event-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #f0b43c, rgba(240,180,60,0.1));
}
.event-item {
  position: relative;
  margin-bottom: 56px;
}
.event-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f0b43c;
  box-shadow: 0 0 10px rgba(240,180,60,0.5);
}
.event-year {
  font-family: 'Bebas Neue', serif;
  font-size: 1.8rem;
  color: #f0b43c;
  line-height: 1;
  margin-bottom: 4px;
}
.event-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: #f0e6d0;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.event-item p {
  font-size: 1rem;
  line-height: 1.8;
  color: #c8b896;
  margin: 0 0 12px;
}

/* ── Navigation entre pages ── */
.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 24px;
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid rgba(240,180,60,0.1);
  gap: 16px;
}
.page-nav a {
  color: #f0b43c;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.page-nav a:hover { color: #f0e6d0; }
.page-nav-center {
  text-align: center;
  font-size: 0.85rem;
  color: #a09070;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.82rem;
  color: #a09070;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: #f0b43c; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: 0.5; }

/* ── Articles list page ── */
.articles-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.article-card {
  background: rgba(240,180,60,0.04);
  border: 1px solid rgba(240,180,60,0.12);
  border-radius: 8px;
  padding: 28px 24px;
  text-decoration: none;
  color: #f0e6d0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s, background 0.25s;
}
.article-card:hover {
  border-color: rgba(240,180,60,0.4);
  background: rgba(240,180,60,0.08);
}
.article-card-cat {
  font-size: 0.72rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0b43c;
}
.article-card h3 {
  font-family: 'Bebas Neue', serif;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #f0e6d0;
  margin: 0;
}
.article-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #c8b896;
  margin: 0;
  flex: 1;
}
.article-card-arrow {
  font-size: 0.85rem;
  color: #f0b43c;
  font-weight: 600;
  margin-top: 4px;
}

/* ── Tomes list page ── */
.tomes-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
}
.tome-list-card {
  text-decoration: none;
  color: #f0e6d0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tome-list-card img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.55);
  transition: transform 0.25s ease, box-shadow 0.25s;
}
.tome-list-card:hover img {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.7);
}
.tome-list-card h3 {
  font-family: 'Bebas Neue', serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin: 0;
  color: #f0e6d0;
}
.tome-list-card p {
  font-size: 0.82rem;
  color: #a09070;
  margin: 0;
}

/* ── Back to top / site nav ── */
.back-to-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f0b43c;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.back-to-site:hover { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .tome-editorial-layout {
    grid-template-columns: 1fr;
  }
  .tome-cover-block {
    max-width: 200px;
    margin: 0 auto;
  }
}
