/**
 * @file
 * Fiche actualité (frontend) — wireframe Actualidade Detail.png.
 *
 * Sections (de haut en bas) :
 *   - Header : badge category + date + reading time, gros titre Fraunces
 *     avec <em> framboise italic, lead descriptif.
 *   - Hero image avec caption italic Caveat dessous.
 *   - Body text long.
 *   - Galerie 2 cols.
 *   - CTA encadré bordé pointillé framboise.
 *   - Documents joints (boutons download).
 *   - Tags en footer.
 */

.news-full {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* ─────────── Meta header (badge + date + reading) ─────────── */
.news-full__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 1.5rem;
  font-family: var(--ocdm-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ocdm-text-muted);
}
.news-full__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--ocdm-framboise-soft, rgba(201,53,122,0.10));
  color: var(--ocdm-framboise);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}
.news-full__badge .field,
.news-full__badge .field__item { display: contents; }
.news-full__date::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--ocdm-text-subtle);
}
.news-full__reading {
  font-style: italic;
  color: var(--ocdm-text-muted);
  font-weight: 500;
}
.news-full__reading::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--ocdm-text-subtle);
  font-style: normal;
}

/* ─────────── Titre + lead ─────────── */
.news-full__title {
  font-family: var(--ocdm-font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ocdm-text-strong);
  margin: 0 0 1rem;
}
.news-full__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--ocdm-framboise);
  font-variation-settings: "opsz" 144;
}

.news-full__lead {
  font-family: var(--ocdm-font-body);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ocdm-text);
  margin: 0 0 2.5rem;
  max-width: 38em;
}

/* ─────────── Hero image ─────────── */
.news-full__hero {
  margin: 0 0 2rem;
}
.news-full__hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ocdm-radius-lg, 14px);
  border: 1.5px solid var(--ocdm-border, #d9c9c5);
}
.news-full__hero .field,
.news-full__hero .field__item { display: contents; }

.news-full__hero-caption {
  font-family: var(--ocdm-font-hand);
  font-size: 1.15rem;
  text-align: center;
  color: var(--ocdm-framboise);
  margin: 0.75rem 0 0;
  line-height: 1.3;
}

/* ─────────── Body text long ─────────── */
.news-full__body {
  font-family: var(--ocdm-font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ocdm-text);
}

.news-full__body h2 {
  font-family: var(--ocdm-font-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 2.5rem 0 1rem;
  color: var(--ocdm-text-strong);
}
.news-full__body h3 {
  font-family: var(--ocdm-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 2rem 0 0.5rem;
}
.news-full__body p { margin: 0 0 1.25rem; }
.news-full__body p:last-child { margin-bottom: 0; }
.news-full__body a {
  color: var(--ocdm-framboise);
  text-decoration: underline;
  text-decoration-color: var(--v7-blue, #b8d0db);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.news-full__body img,
.news-full__body figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ocdm-radius-md, 10px);
}
.news-full__body blockquote {
  border-left: 3px solid var(--v7-blue, #b8d0db);
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-family: var(--ocdm-font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ocdm-text-strong);
}
.news-full__body ul,
.news-full__body ol {
  margin: 0 0 1.25rem 1.5rem;
  padding: 0;
}
.news-full__body li {
  margin-bottom: 0.4rem;
}

/* ─────────── Galerie ─────────── */
.news-full__gallery {
  margin: 3rem 0 2rem;
}
.news-full__gallery-title {
  font-family: var(--ocdm-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.news-full__gallery .field--name-field-news-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.news-full__gallery .field__item {
  display: block;
  border-radius: var(--ocdm-radius-md, 10px);
  overflow: hidden;
  border: 1.5px solid var(--ocdm-border);
}
.news-full__gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
@media (max-width: 480px) {
  .news-full__gallery .field--name-field-news-gallery {
    grid-template-columns: 1fr;
  }
}

/* ─────────── Vidéo ─────────── */
.news-full__video {
  margin: 2.5rem 0;
}
.news-full__video iframe,
.news-full__video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ocdm-radius-md, 10px);
  border: 1.5px solid var(--ocdm-border);
}

/* ─────────── CTA box (bordé pointillé framboise) ─────────── */
.news-full__cta {
  margin: 3rem 0 2rem;
  padding: 1.75rem 2rem;
  background: var(--ocdm-bg-sunken);
  border: 1.5px dashed var(--ocdm-framboise);
  border-radius: var(--ocdm-radius-lg, 14px);
  text-align: center;
}
.news-full__cta a,
.news-full__cta .field__item a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 28px;
  background: var(--ocdm-framboise);
  color: #fff !important;
  border: 1px solid var(--ocdm-framboise);
  border-radius: 999px;
  font-family: var(--ocdm-font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.news-full__cta a:hover {
  background: var(--ocdm-framboise-dark);
  transform: translateY(-1px);
}
.news-full__cta .field,
.news-full__cta .field__item { display: contents; }

/* ─────────── Documents joints ─────────── */
.news-full__docs {
  margin: 2.5rem 0;
}
.news-full__docs-title {
  font-family: var(--ocdm-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 0 1rem;
}
.news-full__docs .field--name-field-news-documents {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.news-full__docs .field__item a,
.news-full__docs .file a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 16px;
  border: 1px solid var(--ocdm-border);
  border-radius: 8px;
  text-decoration: none !important;
  color: var(--ocdm-text);
  font-size: 0.95rem;
  font-weight: 500;
}
.news-full__docs .field__item a:hover {
  border-color: var(--ocdm-framboise);
  color: var(--ocdm-framboise);
}
.news-full__docs .file-icon { margin-right: 0.4rem; }

/* ─────────── Tags footer ─────────── */
.news-full__tags {
  margin: 3rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--ocdm-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ocdm-font-body);
  font-size: 0.85rem;
}
.news-full__tags-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ocdm-text-muted);
}
.news-full__tags .field--name-field-news-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.news-full__tags .field__item a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--ocdm-border);
  color: var(--ocdm-text-muted);
  text-decoration: none !important;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.15s ease;
}
.news-full__tags .field__item a:hover {
  border-color: var(--ocdm-framboise);
  color: var(--ocdm-framboise);
}
