/* ===== WIRCO-CI FOOTER ===== */

div.copyright.wirco-footer {
  background: #2c2c2c !important;
  text-align: left !important;
  border-top: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wirco-footer .wirco-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2rem !important;
  padding: 2.5rem 2rem 1.5rem !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.wirco-footer .wirco-col {
  display: block !important;
  float: none !important;
}

.wirco-footer .wirco-col h4 {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: 2px solid #1a9fd4 !important;
  padding-bottom: 6px !important;
  display: inline-block !important;
  margin: 0 0 1rem !important;
}

.wirco-footer .wirco-col p {
  font-size: 13px !important;
  color: #bbb !important;
  line-height: 1.8 !important;
  margin: 3px 0 !important;
}

.wirco-brand {
  font-size: 22px !important;
  color: #fff !important;
  font-weight: 700 !important;
  display: block !important;
  margin-bottom: 2px !important;
}

.wirco-brand span {
  color: #1a9fd4 !important;
}

.wirco-sub {
  font-size: 11px !important;
  color: #888 !important;
  letter-spacing: 1px !important;
  display: block !important;
  margin-bottom: 12px !important;
}

.wirco-hours {
  border: none !important;
  background: none !important;
  width: auto !important;
}

.wirco-hours td {
  font-size: 13px !important;
  color: #bbb !important;
  padding: 3px 12px 3px 0 !important;
  border: none !important;
  background: none !important;
}

.wirco-hours td:last-child {
  color: #fff !important;
}

.wirco-closed {
  color: #e57373 !important;
}

.wirco-footer a {
  color: #bbb !important;
  text-decoration: none !important;
}

.wirco-footer a:hover {
  color: #1a9fd4 !important;
}

.wirco-social {
  display: flex !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

.wirco-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #555 !important;
  border-radius: 4px !important;
  color: #ccc !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.wirco-social a:hover {
  border-color: #1a9fd4 !important;
  color: #1a9fd4 !important;
}

.wirco-footer-bottom {
  border-top: 1px solid #444 !important;
  padding: 1rem 2rem !important;
  text-align: center !important;
  font-size: 12px !important;
  color: #666 !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Responsive : 2 colonnes sur tablette */
@media (max-width: 768px) {
  .wirco-footer .wirco-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 480px) {
  .wirco-footer .wirco-footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== WIRCO-CI TOPBAR ===== */
.wirco-topbar {
  background: #f8f8f8 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  padding: 8px 0 !important;
  font-size: 13px !important;
  color: #555 !important;
  width: 100% !important;
}

.wirco-topbar .wirco-container {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
}

.wirco-topbar span {
  color: #555 !important;
  font-size: 13px !important;
}

/* ===== HEADER PRINCIPAL ===== */
#page-header .headerbar {
  background: #ffffff !important;
  border-bottom: 2px solid #e8e8e8 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

#page-header .headerbar .inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 12px 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Logo et titre */
#site-description.site-description {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 !important;
}

#site-description.site-description h1 {
  color: #1a1a1a !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

#site-description.site-description p {
  color: #666 !important;
  font-size: 12px !important;
  margin: 0 !important;
}

/* Barre de navigation */
#page-header .navbar {
  background: #1a9fd4 !important;
  border: none !important;
}

#page-header .navbar .inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
}

/* Liens de navigation */
#page-header .navbar ul li a {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
  text-decoration: none !important;
}

#page-header .navbar ul li a:hover {
  background: rgba(0,0,0,0.15) !important;
  color: #ffffff !important;
}

/* Inscription / Connexion */
#page-header .navbar .rightside a {
  color: #ffffff !important;
}

/* Recherche */
#search-box {
  margin-left: auto !important;
}

#search-box .inputbox {
  border: 1px solid #ddd !important;
  border-radius: 4px 0 0 4px !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
}

#search-box .button-search {
  background: #1a9fd4 !important;
  border: 1px solid #1a9fd4 !important;
  color: #fff !important;
  border-radius: 0 4px 4px 0 !important;
}

/* ===== CORRECTIONS HEADER ===== */

/* Topbar alignée à droite */
.wirco-topbar .wirco-container {
  justify-content: flex-end !important;
  gap: 2rem !important;
}

/* Logo + titre en colonne */
#site-description.site-description {
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
}

#site-description.site-description a.logo {
  flex-shrink: 0 !important;
}

#site-description.site-description h1,
#site-description.site-description p {
  display: block !important;
}

/* Regrouper titre + description dans un bloc vertical */
#site-description.site-description {
  flex-wrap: nowrap !important;
}

/* Wrapper titre/description */
#site-description h1 {
  color: #1a1a1a !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 2px 0 !important;
  line-height: 1.2 !important;
}

#site-description p:not(.skiplink) {
  color: #666 !important;
  font-size: 12px !important;
  margin: 0 !important;
}

/* Cacher le skiplink visuellement */
p.skiplink {
  position: absolute !important;
  left: -9999px !important;
}

/* Recherche à droite */
#search-box {
  flex-shrink: 0 !important;
  margin-left: 1rem !important;
}

/* Titre + description en colonne sous le logo */
.wirco-site-title {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.wirco-site-title h1 {
  color: #1a1a1a !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 3px 0 !important;
  line-height: 1.2 !important;
}

.wirco-site-title p {
  color: #666 !important;
  font-size: 12px !important;
  margin: 0 !important;
}
/* ===== STYLE MODERNE DES FORUMS ===== */

/* Conteneur général */
#page-body {
  background: #f0f4f8 !important;
  padding: 10px !important;
}

/* Catégories (barres de titre) */
.forabg {
  border-radius: 10px !important;
  overflow: hidden !important;
  margin-bottom: 16px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  border: none !important;
}

/* Barre de titre de catégorie */
.forabg .header {
  background: linear-gradient(135deg, #0d85b5, #1a9fd4) !important;
  border-radius: 10px 10px 0 0 !important;
  padding: 10px 16px !important;
  border: none !important;
}

.forabg .header a,
.forabg .header span {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* En-tête colonnes (SUJETS, MESSAGES, DERNIER MESSAGE) */
.forabg .header.sub-header {
  background: #e8f4fa !important;
  border-top: 1px solid #c8e4f0 !important;
}

.forabg .header.sub-header span {
  color: #1a9fd4 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

/* Lignes de forums */
.forabg ul.topiclist li.row {
  background: #ffffff !important;
  border-bottom: 1px solid #eef2f7 !important;
  transition: background 0.15s !important;
}

.forabg ul.topiclist li.row:last-child {
  border-bottom: none !important;
  border-radius: 0 0 10px 10px !important;
}

.forabg ul.topiclist li.row:hover {
  background: #f5fafd !important;
}

/* Titres des forums dans les lignes */
.forabg ul.topiclist li.row .forumtitle a {
  color: #1a6e99 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.forabg ul.topiclist li.row .forumtitle a:hover {
  color: #1a9fd4 !important;
}

/* Description des forums */
.forabg ul.topiclist li.row .forumtitle p {
  color: #888 !important;
  font-size: 12px !important;
}

/* Colonnes stats (sujets/messages) */
.forabg ul.topiclist li.row .posts,
.forabg ul.topiclist li.row .topics {
  color: #1a9fd4 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

/* Dernier message */
.forabg ul.topiclist li.row .lastpost {
  color: #666 !important;
  font-size: 12px !important;
}

.forabg ul.topiclist li.row .lastpost a {
  color: #1a9fd4 !important;
}

/* Icône forum non lu */
.forabg ul.topiclist li.row .forumicon {
  color: #1a9fd4 !important;
}

/* Breadcrumb */
#nav-breadcrumb {
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
  border: 1px solid #e8eef4 !important;
}

/* Barre date/heure */
.post-wrap,
#wrap > .postbody {
  border-radius: 8px !important;
}

/* Topbar toujours visible */
.wirco-topbar {
  display: block !important;
  position: relative !important;
  z-index: 100 !important;
}

/* Séparation plus nette entre forums */
.forabg ul.topiclist li.row {
  border-left: 3px solid transparent !important;
  padding: 4px 0 !important;
}

.forabg ul.topiclist li.row:hover {
  border-left: 3px solid #1a9fd4 !important;
  background: #f0f8fc !important;
}