.journal-v2-wrapper {
  max-width: 1300px;
  margin: 4rem auto;
  padding: 0 1rem;
  font-family: 'Playfair Display', serif;
}

.journal-v2-header {
  text-align: center;
  margin-bottom: 3rem;
}

.journal-v2-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.journal-v2-header p {
  font-size: 1.1rem;
  color: #444;
}

.journal-v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.journal-v2-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.journal-v2-card.featured {
  grid-column: span 2;
}

.journal-v2-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.journal-v2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.journal-v2-card:hover img {
  transform: scale(1.03);
}

.journal-v2-card .content {
  padding: 1.5rem;
}

.journal-v2-card .category {
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.journal-v2-card h2 {
  font-size: 1.4rem;
  margin: 0.4rem 0;
  font-weight: 700;
}

.journal-v2-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

.journal-v2-card .cta {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: #000;
  text-decoration: underline;
  transition: color 0.2s;
}

.journal-v2-card:hover .cta {
  color: #444;
}

/* -------- Article Page Styling -------- */

.article-wrapper {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
  font-family: 'Playfair Display', serif;
  line-height: 1.8;
  color: #222;
}

.journal-article h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.journal-article h2 {
  font-size: 1.7rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #111;
}

.journal-article h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.journal-article p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.journal-article ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.journal-article li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.journal-article li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #3a3;
  font-weight: bold;
}

.journal-article a {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.journal-article a:hover {
  color: #555;
}


.article-image {
  margin: 2rem 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.article-image figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #777;
}






/* -------- Article Page Styling -------- */

.article-header {
  text-align: center;
  margin-bottom: 2rem;
}

.article-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.article-intro {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #444;
}

.back-to-journal {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border 0.2s ease;
}

.back-to-journal:hover {
  border-color: #333;
}

.article-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.article-date {
  font-size: 0.95rem;
  color: #999;
  margin-bottom: 1.5rem;
}

.article-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

.back-to-journal.fixed {
  position: fixed;
  top: 90px; /* <- ajusté pour passer sous le header */
  left: 20px;
  background: #fff;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 1001; /* <- plus élevé que celui du header */
  color: #111;
  text-decoration: none;
  transition: background 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.back-to-journal.fixed:hover {
  background: #f5f5f5;
  opacity: 1;
}

/* Share button */
.share-buttons {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.share-buttons a img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s;
}

.share-buttons a:hover img {
  transform: scale(1.1);
}
