/*
Theme Name: EP Forum Child
Template: twentytwentyfour
Version: 1.1
Description: Child theme bbPress – style tableau beige/gris façon phpBB (capture fournie)
Author: ChatGPT
*/

/* Import du style parent */
@import url("../twentytwentyfour/style.css");

/* Palette de couleurs calquée sur la capture */
:root {
  --ep-border: #736d86;        /* contours violets/gris */
  --ep-header-bg: #d7c79e;     /* bandeau haut & bas, beige */
  --ep-row-bg: #bdb8a0;        /* rangées principales, gris‑taupe */
  --ep-row-bg-alt: #c9c3ab;    /* rangées alternées, un ton plus clair */
  --ep-link: #2e5aac;          /* liens bleus */
}

/* --------------------
 * Mise en page forum
 * -------------------- */
#bbpress-forums {
  background: var(--ep-row-bg-alt);
  border: 2px solid var(--ep-border);
  font-size: 0.9375rem; /* 15px env. */
}

/* En‑tête & pied */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  background: var(--ep-header-bg);
  color: #000;
  font-weight: 700;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--ep-border);
}

/* Lignes du corps */
#bbpress-forums li.bbp-body li {
  background: var(--ep-row-bg);
  border-bottom: 1px solid var(--ep-border);
  padding: 0.35rem 0.6rem;
}
#bbpress-forums li.bbp-body li:nth-child(even) {
  background: var(--ep-row-bg-alt);
}

/* Alignement colonnes numériques */
#bbpress-forums .bbp-forum-topic-count,
#bbpress-forums .bbp-forum-reply-count,
#bbpress-forums .bbp-topic-voice-count,
#bbpress-forums .bbp-topic-reply-count {
  text-align: center;
  width: 70px;
}

/* Colonne "Derniers messages" */
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness {
  width: 240px;
}

/* Liens */
#bbpress-forums .bbp-topic-title a,
#bbpress-forums .bbp-forum-title a {
  color: var(--ep-link);
  text-decoration: none;
}
#bbpress-forums .bbp-topic-title a:hover,
#bbpress-forums .bbp-forum-title a:hover {
  text-decoration: underline;
}

/* Breadcrumbs & tags inutiles ici */
.bbp-breadcrumb,
.bbp-topic-tags {
  display: none;
}

/* Notice interne */
.notice.ep-info {
  background: #e8f0ff;
  border-left: 4px solid var(--ep-link);
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  font-style: italic;
}
