/* Correctifs de rendu appliqués à TOUS les thèmes d'époque.
   Ils ne changent pas l'apparence d'origine : ils réparent ce que le CSS de
   phpBB attend du DOM et que notre rendu doit fournir explicitement. */

/* 1. Les <dl> flottants font s'effondrer la hauteur des <li> : sans ça, les
      fonds des lignes et des bandeaux ne s'affichent pas. */
li.row, li.header { overflow: hidden; }
li.header { min-height: 26px; }

/* 2. Hauteur et typographie des bandeaux de catégorie. */
ul.topiclist li.header { padding: 7px 0 5px; }
ul.topiclist li.header dt,
ul.topiclist li.header dd { line-height: 1.2em; text-transform: uppercase; letter-spacing: .03em; font-weight: bold; }

/* 3. La colonne d'icônes : les styles anciens l'attendent à 45 px. */
dl.icon { min-height: 35px; }
dl.icon dt { padding-left: 45px; }

/* 4. Nos titres de page et le nom du forum dans le bandeau. */
.site-name { font-size: 1.6em; font-weight: bold; margin: 0; }
.page-h1 { font-size: 1.8em; font-weight: normal; margin: 10px 4px 6px; line-height: 1.2em; }
.cat-h2 { display: inline; margin: 0; font-size: 1em; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; }
.post-heading { margin: 0 0 4px; font-weight: bold; }
h2#who-is-online, h2#statistics { font-size: 1.05em; margin: 0 0 .4em; }

/* 5. Barre de date et pied de page. */
.datetime-bar { padding: 5px 4px; display: flex; justify-content: space-between; font-size: 1.05em; }
.stat-block { border-top: 1px solid #ccc; margin-top: 1em; padding-top: 1em; }
#page-footer .navbar .inner { text-align: right; }

/* 6. Le logo et la recherche dans l'en-tête. */
#logo img { max-height: 60px; width: auto; }
#site-description { min-height: 60px; }

/* pied de page : bloc de marque (logo + mentions + réseaux) */
.footer-brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 14px 6px; }
.fb-left { display: flex; align-items: center; gap: 12px; }
.fb-logo { max-height: 46px; width: auto; }
.fb-text { font-size: .95em; line-height: 1.5; color: #536482; }
.fb-right { display: flex; gap: 8px; }
.fb-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; color: #fff; text-decoration: none; }
.fb-fb { background: #4a6fa5; }
.fb-yt { background: #c4302b; }
.fb-icon:hover { opacity: .85; }

/* pied de page : titres de blocs et légende, comme dans phpBB */
.stat-block h2 { font-size: 1.1em !important; font-weight: bold !important; color: #28313F !important;
                 margin: 0 0 .4em !important; padding: 0 !important; border: 0 !important;
                 text-transform: none !important; letter-spacing: 0 !important; }
.stat-block p { font-size: 1em; line-height: 1.6; margin: .2em 0; color: #536482; }
.stat-block { border-top: 1px solid #cfdae3; margin-top: 14px; padding-top: 10px; }
.admincolour { color: #b82626; font-weight: bold; }
.modcolour { color: #2f8a2f; font-weight: bold; }
.legend { font-style: italic; }

/* sous-forums listés sous la description, comme dans phpBB */
.subforums { font-size: .92em; color: #536482; }
.subforums a { color: #105289; text-decoration: none; }
.subforums a:hover { text-decoration: underline; }

/* icône de section, comme dans phpBB */
.forum-image img { max-width: 46px; max-height: 46px; vertical-align: middle; margin-right: 8px; }
ul.forums dl.icon dt { min-height: 50px; }
.forum-image img { max-width: 58px; max-height: 58px; border-radius: 50%; border: 3px solid #cfdae3; background: #fff; }
ul.forums dl.icon dt { min-height: 64px; padding-left: 76px !important; }
ul.forums dl.icon dt::before, ul.forums dl.icon dt::after { display: none !important; }
