/*   
Theme Name: ThreatToCreativity 2026
Theme URI: http://maxisnow.com/
Description: Thème modernisé et mis à jour pour 2026, maintenu par l'administration communale de Floreffe. Damier coloré aléatoire, menu aligné et design de commentaires lisible.
Version: 3.5
Author: Max is NOW!
Tags: custom-colors, two-columns, fixed-width, right-sidebar
*/

body { background: #ededed; color: #000000; font-family: "Arial"; font-size: .75em; display: block; margin: 0; padding: 0; }
.contentpost p { text-align: left; clear: both; }
h2 { font-size: 1.2em; text-transform: uppercase; }
a { color: #000000; text-decoration: none; }
.entry a { color: #333333; text-decoration: underline; }
.entry ul li { padding: 3px; }
.entry ul { list-style-position:inside; }
a:hover { color: #ff0000; }

blockquote {
    background: #f4f4f4;
    border-left: 8px solid #ff7e00;
    margin: 1.5em 10px;
    padding: 1em 10px 1em 20px;
    font-style: italic;
    position: relative;
    border-radius: 0 4px 4px 0;
}

#navlink { margin: 30px 0; }
#topbar { border-bottom: 1px solid #a9a9a9; padding: 30px 0 35px 0; width: 800px; }
.blogtitle { color: #ff7e00; font-weight: bold; font-size: 85px; text-transform: uppercase; position:relative; line-height:58px; margin-top:55px; float:left; overflow: visible; }
.blogdescription { color: #ffffff; text-transform: uppercase; position: relative; width: 533px; margin: 0 0 0 6px; padding: 1px 0 0 5px; float:left; }

#contentwrap { width: 930px; margin: 0 auto; overflow: hidden; }
#content { width: 690px; float: left; }
#aligner { margin: 0; width: 100%; display: flex; flex-wrap: wrap; }
#content2 { width: 640px; margin: 0 5px 0 11px; float: left; }
#contentpost { margin: 0 auto; width: 640px; background: #eeeeee; padding-right:8px; }

/* ALIGNEMENT STRICT DE LA SIDEBAR SUR LE HAUT DU DAMIER */
#sidebar { width: 230px; float: right; margin-top: 0 !important; padding-top: 0 !important; }
#sidebar .widget { margin-bottom: 20px; }
#sidebar .widget:first-child h2.widgettitle, 
#sidebar .widget:first-of-type h2.widgettitle { margin-top: 0 !important; }
#sidebar h2 { color: #ffffff; font-weight: normal; text-transform: uppercase; font-size: 30px; }
#sidebar h2.small, #sidebar h2.widgettitle { color: #ffffff; font-size: 16px; font-weight: bold; margin: 0 0 5px 0; padding: 5px 20px 5px 0; letter-spacing: -1px; text-transform: uppercase; text-align: right; }
#sidebar ul { list-style: none; margin: 0; padding: 0; }
#sidebar ul li { background: #cccccc; margin: 3px 0 3px 10px; text-align: right; padding: 5px; }
#sidebar ul li a { display: block; }

.post { position: relative; width: 230px; padding: 15px; height: 185px; overflow: hidden; box-sizing: border-box; }
.post_single { width: 620px; margin: 0 20px 20px 20px; }
.entry p img { border: 0px; margin: 4px; max-width: 100%; height: auto; }
.postdate { color: #000000; font-size: 16px; font-weight: bold; text-transform: uppercase; }
.postdate_single { color: #000000; font-size: 25px; font-weight: bold; text-transform: uppercase; }
.posttitle { font-size: 20px; font-weight: bold; text-transform: uppercase; line-height: 19px; }
.posttitle_single { font-size: 30px; font-weight: bold; text-transform: uppercase; }
.posttitle a { color: #ffffff; }
.posttitle a:hover { color: #000000; }
.postmetadatabottom { background: #a9a9a9; margin: 15px 0; padding: 3px; text-transform: uppercase; width: 100px; }
.postmetadatabottom a { color: #000000; }
.postmetadatabottom a:hover { color: #ffffff; }
.entry { padding-bottom: 10px; }

#search { border: solid 1px #ffffff; color: #ffffff; text-transform: uppercase; font-size:10px; font-weight:bold; background: transparent; padding-left: 20px; }
.searchform { color: #ffffff; text-transform: uppercase; font-size:11px; font-weight:bold; padding: 5px 0 0 5px; height: 25px; position: relative; }
.searchform::before { content: "\1F50D"; position: absolute; left: 10px; font-size: 14px; top: 8px; }

#footer { clear: both; color: #a9a9a9; padding: 20px 0 35px 0; text-align:center; }
#footer a { color: #000000; }
#header_left { width: 900px; margin: 0 auto; padding-bottom: 20px; overflow: hidden; }
.bg { height:185px; overflow:hidden; }
.post:hover { background: white !important; }
.post:hover .posttitle a { color: black !important; }

/* ==============================================================================
   STYLE MODERNE ET LISIBLE DES COMMENTAIRES
   ============================================================================== */
.comments-area { background: #ffffff; padding: 30px; margin: 30px 20px 20px 20px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.comments-title { margin-top: 0; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 25px; font-size: 1.5em; text-transform: uppercase; font-weight: bold; color: #333; }

.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list li.comment { background: #f9f9f9; padding: 20px; margin-bottom: 25px; border-radius: 6px; border-left: 6px solid #a9a9a9; position: relative; }
.comment-list li.bypostauthor { border-left-color: #ff7e00; background: #fffaf5; }

.comment-meta { font-size: 0.9em; color: #777; margin-bottom: 15px; border-bottom: 1px dashed #ddd; padding-bottom: 10px; display: flex; align-items: center; }
.comment-author .avatar { float: left; margin-right: 15px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.15); }
.comment-author cite { font-weight: bold; font-style: normal; font-size: 1.1em; color: #333; }
.comment-meta a { color: #777; text-decoration: none; }
.comment-meta a:hover { color: #ff7e00; }

.comment-content p { margin: 10px 0; line-height: 1.6; color: #444; }
.reply { text-align: right; margin-top: 15px; }
.reply a { background: #666; color: #fff !important; padding: 6px 12px; border-radius: 4px; text-decoration: none; display: inline-block; font-weight: bold; font-size: 0.9em; text-transform: uppercase; }
.reply a:hover { background: #ff7e00; }
.comment-list .children { margin-left: 40px; border-left: 2px solid #eee; padding-left: 20px; margin-top: 20px; }

.comment-respond { background: #f1f1f1; padding: 25px; border-radius: 8px; margin-top: 40px; border-top: 4px solid #ff7e00; }
.comment-respond h3#reply-title { margin-top: 0; font-size: 1.4em; text-transform: uppercase; font-weight: bold; color: #333; margin-bottom: 20px; }
.comment-form-author, .comment-form-email, .comment-form-url, .comment-form-comment { margin-bottom: 15px; }
.comment-respond label { display: block; font-weight: bold; margin-bottom: 5px; color: #555; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-family: inherit; }
.comment-respond input[type="text"]:focus, .comment-respond textarea:focus { border-color: #ff7e00; outline: none; }
.comment-respond input[type="submit"] { background: #333; color: white; border: none; padding: 12px 25px; cursor: pointer; border-radius: 4px; font-weight: bold; text-transform: uppercase; margin-top: 10px; transition: background 0.2s; }
.comment-respond input[type="submit"]:hover { background: #ff7e00; }
