/*
 * Le Desîgn.com - Site local statique
 * Basé sur le thème SuperNews
 */

/* Reset et base */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #e9e9e9;margin:1em 0;padding:0}
input,select{vertical-align:middle}
sup{top:-.5em}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}

.aligncenter{display:block;margin-left:auto;margin-right:auto;clear:both}
.alignnone{display:block}
.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);display:none !important;position:absolute}
.sticky,.bypostauthor{background:inherit;color:inherit}
pre{margin:20px 0;padding:20px;background-color:#fafafa;border-bottom:1px solid #ededed;border-top:1px solid #ededed;color:#2080ad}
dl{margin:20px}
dt{font-weight:700}
dd{margin-bottom:20px}

/* Typographie */
body{background-color:#ffffff;color:#333333;font-family:'Open Sans', Arial, sans-serif;font-weight:400;font-size:13px;line-height:1.5}
h1,h2,h3,h4,h5,h6{color:#333333;font-weight:bold}
h1{font-size:2em}
h2{font-size:1.8em}
h3{font-size:1.6em}
h4{font-size:1.4em}
h5{font-size:1.2em}
h6{font-size:1em}
strong{font-weight:bold}

/* Clearfix */
.clearfix:before,.clearfix:after{content:"";display:table}
.clearfix:after{clear:both}
.clearfix{clear:both}

/* Alignements */
.alignleft{float:left;margin-right:1.5em;margin-bottom:1.5em}
.alignright{float:right;margin-left:1.5em;margin-bottom:1.5em}

/* Formulaires */
input{border:1px solid #e6e6e6;font-family:'Open Sans', Arial, sans-serif;height:36px;padding:0 10px}
input:focus,input:hover{outline:none}
button{border:none;height:32px;padding:0 15px}

/* Tableaux */
table{width:100%;margin-bottom:2.618em}
table th,table td{border-bottom:1px solid #e8e4e3;padding:1em;vertical-align:top;text-align:left}
table th{text-transform:uppercase;border-bottom:1px solid #e8e4e3}

/* Liens */
a:link,a:visited{text-decoration:none;color:#09c;-webkit-transition:background-color .2s ease, border .2s ease, color .2s ease, opacity .2s ease-in-out;-moz-transition:background-color .2s ease, border .2s ease, color .2s ease, opacity .2s ease-in-out;transition:background-color .2s ease, border .2s ease, color .2s ease, opacity .2s ease-in-out}
a:hover{text-decoration:none;color:#f64}
a:active{outline:none}

/* Font Open Sans via Google Fonts - chargée dans le HTML */

/* Font Awesome - chargée dans le HTML */

/* Font Awesome icons spacing */
.fa{font-family:'FontAwesome' !important;font-style:normal;font-weight:normal;display:inline-block}
.fa-home:before{content:"\f015"}
#secondary-nav .fa-home{margin-right:5px}

/* Structure principale */
#page{background:#fff;margin:0 auto;width:1270px}
.container{margin:0 auto;width:1270px;position:relative}

/* Header */
#masthead{background-color:#ffffff}
#logo{float:left;margin:35px 50px 35px 0}
.site-title{font-size:32px;padding:15px 0;font-weight:bold}
.site-title a,.site-title a:link,.site-title a:visited{color:#09c;font-weight:bold;text-decoration:none}
.site-title a:hover{color:#09c}
.site-title span{font-weight:bold}

/* Barre primaire */
#primary-bar{border-bottom:1px solid #e6e6e6;width:100%;height:40px}
#primary-nav{float:left}
#primary-nav ul{float:left;list-style:none;margin:0;padding:0}
#primary-nav ul li{float:left;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAoCAYAAAA/tpB3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeNpi+P//PwMDw8d/IAYCBgYGBgBeHQo/HNQX8gAAAABJRU5ErkJggg==') no-repeat right center}
#primary-nav ul li:first-child a{border-left:none;padding-left:0}
#primary-nav ul li a{color:#333;display:block;font-size:12px;line-height:40px;padding:0 20px}
#primary-nav ul li a:hover{color:#09c}

/* Barre secondaire */
#secondary-bar{background:#fff;border-top:2px solid #333;border-bottom:1px solid #e9e9e9;display:block;margin-bottom:0}
#secondary-nav{float:left;z-index:50;position:relative}
#secondary-nav ul{list-style:none;margin:0;padding:0}
#secondary-nav ul li{float:left;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAoCAYAAAA/tpB3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeNpi+P//PwMDw8d/IAYCBgYGBgBeHQo/HNQX8gAAAABJRU5ErkJggg==') no-repeat right center}
#secondary-nav ul li a{color:#333333;display:block;font-size:12px;font-weight:700;margin:6px;padding:8px 15px;text-transform:uppercase}
#secondary-nav ul li a:hover,#secondary-nav ul li.current_item a{background-color:#09c;color:#ffffff;text-decoration:none}
#secondary-nav ul li.home_item a{margin-left:0}
#secondary-nav ul li.home_item a i{margin-right:2px}

/* Menu mobile - caché par défaut */
#secondary-mobile-menu,#primary-mobile-menu{display:none}

/* Recherche header */
.header-search{float:right;position:relative;margin-top:13px}
.header-search .fa{color:#333333;font-style:normal;font-size:13px;cursor:pointer}
.header-search .fa-times{display:none}
.search-form{border:1px solid #e6e6e6;display:none;position:absolute;top:33px;right:0;padding:15px;width:225px;background:#fff;z-index:99;box-shadow:2px 3px 6px rgba(0,0,0,0.2)}
.search-form form{display:flex;gap:5px}
.search-form input{width:147px;height:32px;flex:1}
.search-form button{width:60px;height:32px;background-color:#09c;color:#fff;flex-shrink:0}

/* Contenu principal - Layout 3 colonnes */
.site-main{display:block;overflow:hidden;position:relative}
.site-main::after{content:"";display:table;clear:both}

/* Contenu principal (centre) */
.content-area{float:left;width:728px;height:auto;margin:25px 0 25px 200px;padding:0;box-sizing:border-box}
.content-area ul li{list-style:none}

/* Sidebar 1 (gauche) - Posts populaires */
.sidebar1{float:left;width:160px;margin:25px 0;margin-left:-928px;box-sizing:border-box;border-right:1px solid #e9e9e9;padding-right:19px;padding-bottom:9999px;margin-bottom:-9999px}

/* Sidebar 2 (droite) - Catégories */
.sidebar2{float:right;width:300px;margin:25px 0 0 0;padding:0 0 0 20px;border-left:1px solid #e9e9e9;padding-bottom:9999px;margin-bottom:-9999px}

/* Liste d'articles blog */
.blog-list .hentry{border-bottom:1px solid #e9e9e9;margin-bottom:20px;padding-bottom:20px}
.blog-list .entry-title{color:#333333;font-size:32px;margin-bottom:10px;line-height:1.3;font-weight:bold}
.blog-list .entry-title a{color:#333333;display:block;line-height:1.35;font-weight:bold}
.blog-list .entry-title a:hover{color:#09c}
.blog-list .entry-thumbnail{width:100%;margin-bottom:20px}
.blog-list .entry-meta{margin-bottom:20px;text-transform:none;display:none !important}
.blog-list .entry-content{word-wrap:break-word}
.blog-list .entry-content p{margin-bottom:15px;color:#333}

/* Métadonnées cachées */
.entry-meta{display:none !important}
.entry-footer{display:none !important}

/* Lire la suite */
.more-link{font-size:12px;margin-top:12px}
.more-link a{text-decoration:underline;color:#09c}
.more-link a:hover{color:#f64}
.widget{margin-bottom:25px;box-sizing:border-box}
.sidebar1 .widget{width:100%;max-width:160px}
.widget-title{color:#333;font-size:12px;line-height:1;margin-bottom:15px;padding-bottom:10px;text-transform:uppercase;position:relative;display:flex;align-items:center;width:100%}
.widget-title strong{font-weight:bold;white-space:nowrap;margin-right:10px;flex-shrink:0}
.widget-title::after{content:"";flex:1;height:12px;background:#f0f0f0;margin-left:0;min-width:0}

/* Posts populaires sidebar */
.posts-thumbnail-widget ul{list-style:none;margin:0;padding:0}
.posts-thumbnail-widget li{border-bottom:1px solid #e9e9e9;margin-bottom:15px;padding-bottom:15px;overflow:hidden}
.posts-thumbnail-widget li:last-child{border-bottom:none}
.posts-thumbnail-widget .entry-thumb{width:100%;height:auto;margin-bottom:10px;display:block}
.posts-thumbnail-widget .entry-thumb img{width:100%;height:auto;display:block}
.posts-thumbnail-widget .entry-title{font-size:13px;font-weight:bold;line-height:1.4;word-wrap:break-word;overflow-wrap:break-word}
.posts-thumbnail-widget .entry-title a{color:#333;font-weight:bold}
.posts-thumbnail-widget .entry-title a:hover{color:#09c}

/* Catégories sidebar */
.widget_categories ul{list-style:none;margin:0;padding:0}
.widget_categories li{padding:8px 0;border-bottom:1px dotted #e9e9e9}
.widget_categories li:last-child{border-bottom:none}
.widget_categories a{color:#09c}
.widget_categories a:hover{color:#f64}

/* Widget texte avancé */
.advanced_text .AdvancedText{line-height:1.6}
.advanced_text a{color:#09c}
.advanced_text a:hover{color:#f64}

/* Footer */
#footer{border-top:1px solid #e9e9e9;margin-top:25px;padding-top:25px}
#site-bottom{border-top:1px solid #e9e9e9;padding:20px 0;text-align:center}
.copyright{color:#999;font-size:12px}
.copyright a{color:#999}
.copyright a:hover{color:#09c}

/* Pagination */
.pagination{clear:both;margin:30px 0;text-align:center}
.pagination .page-numbers{background:#fff;border:1px solid #e9e9e9;color:#333;display:inline-block;font-size:13px;line-height:1;margin:0 5px 10px 0;padding:10px 15px;text-decoration:none}
.pagination .page-numbers:hover,.pagination .page-numbers.current{background:#09c;border-color:#09c;color:#fff}
.pagination .page-numbers.dots{background:transparent;border:none;color:#333}
.pagination .page-numbers.dots:hover{background:transparent;color:#333}

/* Pages statiques */
.page-title{font-size:28px;margin-bottom:20px;border-bottom:2px solid #333;padding-bottom:15px}
.entry-content{line-height:1.8}
.entry-content p{margin-bottom:15px}
.entry-content a{color:#09c}
.entry-content a:hover{color:#f64}

/* Layout 3 colonnes */
.layout-3c .content-area{margin-left:200px}
.layout-3c .sidebar1{width:180px;margin-right:20px}
.layout-3c .sidebar2{width:300px}

/* Images responsive */
img{max-width:100%;height:auto}
.entry-thumbnail img{width:100%;height:auto;display:block}

/* Responsive */
@media only screen and (min-width:1024px) and (max-width:1280px){
    #page{width:1000px !important}
    .container{width:960px !important}
    .content-area{width:520px;margin-left:180px}
    .sidebar1{margin-left:-720px}
    #logo{margin:30px 5px 30px 0}
}

@media only screen and (max-width:1023px){
    #primary-nav,#secondary-nav{display:none}
    body{background-color:#f0f0f0}
    #primary-mobile-menu{color:#333;display:inline-block;float:left;height:40px;line-height:40px;text-transform:uppercase;position:relative;z-index:99}
    #primary-mobile-menu .fa-bars{margin-right:5px}
    #secondary-bar{height:40px;line-height:40px}
    #secondary-mobile-menu{color:#333;display:inline-block;float:left;text-transform:uppercase}
    #secondary-mobile-menu .fa-bars{margin-right:5px}
    .header-search{margin-top:0}
    .header-search .search-form{line-height:1}
    #logo{margin-right:0}
    .content-area{margin-left:0 !important}
    .sidebar1,.sidebar2{display:none}
}

@media only screen and (min-width:768px) and (max-width:1023px){
    #page{width:768px !important}
    .container{width:728px !important}
    #logo{width:200px;height:auto;margin-top:20px}
}

@media only screen and (max-width:767px){
    #page{width:100% !important;padding:0 15px;box-sizing:border-box}
    .container,.content-area{width:100% !important}
    #logo{margin:15px 0 10px}
    .blog-list .entry-title{font-size:24px}
}

@media only screen and (max-width:479px){
    #page{width:100% !important;padding:0 10px}
    .container,.content-area{width:100% !important}
    #logo{margin:5px 0 0}
    .blog-list .entry-title{font-size:20px}
}

/* Related posts (articles similaires) */
.related-posts{margin-top:40px;border-top:1px solid #e9e9e9;padding-top:30px}
.related-posts h3{font-size:18px;margin-bottom:20px;font-weight:bold}
.related-posts ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;gap:15px}
.related-posts ul li{flex:1;min-width:0;overflow:hidden}
.related-posts ul li a{display:block;text-decoration:none}
.related-posts ul li img{width:100%;height:auto;display:block}
.related-posts ul li h2.entry-title{padding:10px 0;margin:0;font-size:12px;color:#333;font-weight:bold;line-height:1.3}

/* Utilitaires */
.column{display:block}
.no-js .js-hide{display:none}
.js .no-js-hide{display:none}

/* Slideshow WordPress - Forcer l'affichage des images */
.slideshow_container{height:auto !important;margin-bottom:20px}
.slideshow_content{display:block !important}
.slideshow_view{display:block !important;margin-bottom:15px}
.slideshow_slide{display:block !important}
.slideshow_slide img{max-width:100%;height:auto;display:block;margin:0 auto}
.slideshow_description_box{display:block !important;background:rgba(0,0,0,0.7);color:#fff;padding:10px;text-align:center}
.slideshow_title{font-size:12px}
.slideshow_loading_icon{display:none !important}
.slideshow_controlPanel,.slideshow_button,.slideshow_pagination{display:none !important}
