/**
 * @brief AltoWithCSS3, a theme for Dotclear 2
 *
 * @package Dotclear
 * @subpackage Theme
 *
 * @author Pierre Van Glabeke
 * @copyright http://creativecommons.org/licenses/by-nc/2.0/fr/
 */

* { margin: 0; padding: 0; border: 0; }

body {

font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
font-size: 0.8em;
line-height: 1.6em;
}

/* Structure */
#page {
	margin: 40px auto;
	padding: 0;
	position: relative;
	box-shadow: 5px 5px 5px grey;
}

#top {
  height: 185px;
  margin: 0;
  padding: 0;
	z-index: 0;
}

#banner {
	display : block;
	position : absolute;
	background-color: transparent;
	height: 150px;
	top : 29px;
	left : 29px;
	z-index: 1;
	padding: 0;
}

#top h1 {
	position : absolute;
	top: 100px;
  line-height: 1.3em;
  margin: 0;
  padding: 0;
	z-index: 2;
}
#top h1 a {
  margin-left: 15px;
}

#prelude {
	position: absolute;
	top: 5px;
	right: 70px;
	padding: 0 10px;
	font-size: 0.6em;
}

#prelude a { color: #bcbcbc;}

#wrapper {
	margin: 0;
}

#main {
	float: left;
	overflow: visible;
}
#breadcrumb {margin:0 0 20px;padding:0 0 0 30px;}
#content {
	margin-left: 30px;
	overflow: visible;
}

#sidebar {
	float: right;
	width: 210px;
	margin-bottom: 30px;
}

#blognav, #blogextra {
	margin-right: 30px;
}

#footer {
	height: 70px;
}

#footer p {
	padding: 20px 100px 10px 100px;
	font-size: 0.8em;
	text-align: center;
}

/* Styles communs */
h1, h2, h3, h4, h5, .post-title {
	font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	line-height: 24px;
	letter-spacing: -1px;
	font-style: normal;
	font-weight: 500;
}

h1{font-size: 28px;}
h2{font-size: 13px; }
h3{font-size: 1.6em;}
h4{font-size: 1.4em;}
h5{font-size: 1.2em;}
h6{font-size: 1em;}

li { list-style: none; }

blockquote {
	text-align:left;
	margin: 6px 20px 6px 20px;
}

html>body blockquote {
	padding-left:10px;
}

abbr { cursor: help; text-decoration: underline; }

pre {
	text-align:left;
	overflow: scroll;
	width: 475px;
	border-left : 3px solid #008ACF;
	font-family : "Trebuchet MS", Verdana, Arial, sans-serif;
	color : #0273b9;
	font-size : 12px;
	margin : 10px;
	line-height :14px;
}

html>body pre {
	width: auto;
}

code {
	font-family : "Trebuchet MS", Verdana, Arial, sans-serif;
	color : #0273b9;
	font-size : 12px;
	margin : 0px;
	text-align : left;
	padding :  1px 5px 1px 5px;
	line-height :14px;
}

a.feed {
  background: transparent url("img/rss.png") no-repeat scroll 0 50%;
  padding: 5px 0 5px 22px;
}
/*input { text-transform: lowercase; }*/

.left { float: left; }

.right { float: right; }

img {
  border : none;
}

.error {
	border: 1px dashed #fff;
	padding: 5px 10px;
	margin: 20px 0;
	color: #fff;
	background: #E2001A;
}

.message {
	padding: 10px 0;
	margin: 0;
}

.post, .post-content, .footnotes, .postend, .attachments, .post-info-co, #comments, #footer, .pagination, #navlinks {
  clear: both;
}

/* Couleurs */
body { background: #ccc; color: #000; }

h1, h2, h3, h4, h5, .post-title, .day-date { color: #333333; }

a {
	color: #000;
	text-decoration : none;
}
#page {
	background: #fff;
}
#top h1 {
  background: #000 none repeat scroll 0 0;
  opacity: 0.7;
}
#top a {
	color: #fff;
}

a:hover {
	color: #0273B9;
	text-decoration : underline;
}

#top a:hover {
	color: #ccc;
	text-decoration : none;
}

input, textarea, select { border: 1px solid #999; background: #fff; color: #333333; }

#comment-form textarea {border: 1px solid #999;}

blockquote, pre { border-left : 3px solid #008ACF; }

code { color : #0273b9; }

.post, #comment-form .hidecomment-form, .content-inner ul, .dc-archive-month .content-inner {
  background: #f0f2f5;
  -webkit-border-radius: 9px;
  border-radius: 9px;
}

.pagination, #navlinks { color: #c6c6c6; }

/* Arrondis */
#sidebar .tags ul, #sidebar .selected ul, #sidebar .feed ul, .dc-tags ul.tags, #sidebar .pages ul,
#sidebar .links ul, #sidebar .langs ul, #sidebar .authors ul,
#sidebar .syndicate ul, #sidebar .syndicate a, #sidebar .lastposts ul, #attachments ul, #sidebar #related ul,
#sidebar .categories ul, #sidebar .lastcomments ul, #sidebar #galleries ul,
#sidebar div ul,
#comment-form .hidecomment-form,
#attachments ul,
#pr dd {
  -webkit-border-radius: 9px;
  border-radius: 9px;
}
#comments dt, #pings dt {
  -webkit-border-radius:  9px 9px 0 0;
  border-radius: 9px 9px 0 0;
}
#comments dd, #pings dd {
  -webkit-border-radius:  0 0 9px 9px;
  border-radius: 0 0 9px 9px;
}
/* Choix des couleurs pour les éléments arrondis */
#sidebar .tags ul, #sidebar .selected ul, #sidebar .feed ul, .dc-tags ul.tags, #sidebar .pages ul {
   background: #dbdbdb ; jaune orangé doux, lumineux mais pas agressif
}

#sidebar .links ul, #sidebar .langs ul, #sidebar .authors ul {
  background: #B9E566;
}

#sidebar .syndicate ul, #sidebar .syndicate a/* le fond des liens RSS est blanc sinon */, #sidebar .lastposts ul, #attachments ul, #sidebar #related ul {
  background: #A8E4FF;
}

#sidebar .categories ul, #sidebar .lastcomments ul, #sidebar #galleries ul {
  background: #ECFA65;
}

/*les autres */
#sidebar div ul {background:#f7dfe6;}
/* Pour Safari, ajouter les divisions contenant les élements arrondis */
#content, #topnav, #sidebar .tags, #sidebar .selected, #sidebar .feed, div.content-inner, #sidebar .links, #sidebar .langs, #sidebar .authors, #sidebar .syndicate, #sidebar .lastposts, #attachments, dl, #sidebar .categories, #sidebar .lastcomments, #sidebar #galleries, #comment-form, #sidebar .pages/*, div#sidebar */{
  background: #fff;
}

input:hover {
	color: #0273B9;
}

#blognav dd, #blognav dt,
#blogextra dd, #blogextra dt,
dd, dt {
	background: #F7DFE6;
}

#comment-form p.form-help { color: #999999; }


/* Post */
.post {
  padding: 10px;
  margin-bottom: 50px;
	position: relative;
	font-size: 1em;
	overflow: visible;
}
.post-excerpt a, .post-content a {
	color: #0273B9;
}
.post p {
	padding: 0 0 5px 0;
	text-align: justify;
}
.post embed, .post iframe {max-width:100%;}
.read-it {
  padding: 5px 0;
}

.footnotes {
	font-size:0.9em;
}
.footnotes-title {
	font-size:1.1em;
	margin-top : 1em;
}
.footnotes p {
	margin-top : 0; text-indent : 0;
}
.dc-post .post-content {margin:0.6em 0 0 0;}
.post-excerpt p img, .post-content p img {
  max-width:100%;
}
.post-content ul, .post-excerpt ul, .post-content ol, .post-excerpt ol  {
  padding: 0;
	margin: 0 0 0 20px;
}

.post-content ul li, .post-excerpt ul li, #attachments li {
	padding: 0 0 0 5px;
	list-style-type: disc;
	line-height:1.5em;
}

.post-content ol li, .post-excerpt ol li {
	padding: 0 0 5px 5px;
	list-style-type: decimal;
}

.day-date {
	margin-top: -3px;
	padding-bottom: 10px;
	color: #B1B1B1;
}

.post-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  line-height: 15px;
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.dc-post .post-title,
.dc-page .post-title {
	margin: 0 0 6px 0;
}

.post-info { font-family: Arial, Helvetica, "Trebuchet MS", sans-serif; padding: 10px 0; }

.post-tags { font-family: Arial, Helvetica, "Trebuchet MS", sans-serif; padding-bottom: 10px; }

.post-tags a { padding: 2px 0 2px 18px; background: transparent url(img/tag.png) no-repeat 0 50%; }

ul.post-tags li { margin-right:10px; }

ul.post-tags li:last-child { margin-right:0; }

.post-tags li {
  display: inline;
  white-space: nowrap;
}

.post-info-co {
	text-align: right;
	padding: 10px 0;
}

.post-info-co a:last-child:after { content: ''; }

.post-info-co a { padding: 2px 0 2px 18px; }

.comment_count { background: transparent url(img/commentaire.png) no-repeat 0 50%; }

.ping_count { background: transparent url(img/retrolien.png) no-repeat 0 50%; }

.attach_count { background: transparent url(img/attach.png) no-repeat 0 50%; }

.read-it {
	font-weight: bold;
	padding-bottom: 10px;
	clear: left;
	margin:0.9em 0 0 0;
}

.pagination, #navlinks {
	text-align: center;
	font-weight: bold;
}
.pagination { padding-bottom: 10px; }

#navlinks { padding-bottom: 20px; }

#attachments {
	clear: left;
	padding: 0;
	margin-bottom: 20px;
}

#attachments ul { margin: 20px 0; padding: 10px; }

#attachments li { list-style: none;padding: 2px 10px 2px 0;}
#attachments li.audio object {margin:0;vertical-align:bottom;}
/* Comment */
#comments, #pings {
  margin: 20px 0;
	font-size: 0.9em;
}

#comments dt, #pings dt {
	margin: 20px 0 0;
	padding: 10px;
  font-family:"century gothic", "gill sans", sans-serif;
}

#comments dd, #pings dd {
  padding: 10px;
	margin-bottom: 30px;
	text-align: justify;
}
#comments dd ul, #pings dd ul,
#comments dd ol, #pings dd ol {
	padding: 0 0 0 20px;
}
#comments dd ul li, #pings dd ul li {
	padding: 0 0 0 5px;
	list-style-type: disc;
	line-height:1.5em;
}

#comments dd ol li, #pings dd ol li {
	padding: 0 0 5px 5px;
	list-style-type: decimal;
}
#comments dd.me, #comments dt.me { background-color:#e6e6e6; }


#comments dt .comment-number, #pings dt .ping-number {
  font-size : 1.8em;
}

#comments-feed {
  margin-top : 10px;;
}

#ping-url {
  font-size: 0.85em;
	text-align: left;
	padding: 0;
}

/* Comments forms */
#pr p.buttons { margin: 0 0 20px 10px; font-size: 0.9em;}

#pr dd { margin: 20px 0; padding: 10px; }

#comment-form .hidecomment-form {
	padding: 10px;
  margin-bottom: 20px;
	font-size: 0.9em;
}

#comment-form h3 {margin-bottom: 20px;cursor:pointer;}

#comment-form fieldset p {padding: 5px 0;}

#comment-form fieldset p.field {padding: 7px 0; width: auto; margin: 0; }

#comment-form p.form-help {
  margin: 0;
  text-align: justify;
}

#comment-form p label {width: auto;}
#comment-form p.field label {
	font-weight: bold;
	display: block;
	padding: 0 4px 4px 0;
}

#comment-form input, #comment-form textarea {
	padding: 4px;
	font: 1em Arial, Helvetica, sans-serif;
}

#comment-form input {width: 50%;}

#comment-form .remember input {
	width: auto;
	border: 0;
	margin: 0 5px 0 0;
}

#comment-form input.preview, #comment-form input.submit {
	width: auto;
	font-size: 1em;
	font-weight: bold;
  cursor:pointer;
}

/* Sidebar */
#sidebar {
  font-size: 0.85em;
	overflow: visible;
}

#sidebar h2 {
	font-family: Arial, Helvetica, "Trebuchet MS", sans-serif;
	font-size: 21px;
	padding: 5px 0 0;
}

#sidebar h3 {font-size: 1.2em;}

#sidebar p {margin: 5px 0;}

#sidebar .text {
  margin: 5px 0;
	overflow: visible;
}

#sidebar ul {
	margin: 10px 0;
	padding: 10px;
}

#sidebar ul li {
	margin: 0;
  font-size: 1em;
}
#sidebar ul ul {
	margin: 0;
	padding: 0 0 0 10px;
	border: none;
}
#sidebar li li {
	display: list-item;
	margin: 0;
	padding: 0;
	border: none;
}

#sidebar .categories li.category-current {font-weight: bold;}
#sidebar .categories li.category-current li {font-weight: normal;}
#topnav {
  text-align: center;
  margin: 0;
  padding: 5px 0;
}

#sidebar #topnav ul {margin: 0; padding: 10px;}
#sidebar #topnav li {display: inline;}
#sidebar .tags ul {font-size: 110%;}
#sidebar .tags ul li {display: inline;}

.tag0 { font-size: 75%; }
.tag10 { font-size: 80%; }
.tag20 { font-size: 85%; }
.tag30 { font-size: 90%; }
.tag40 { font-size: 100%; }
.tag50 { font-size: 110%; }
.tag60 { font-size: 120%; }
.tag70 { font-size: 130%; }
.tag80 { font-size: 140%; }
.tag90 { font-size: 150%; }
.tag100 { font-size: 160%; }

#sidebar .syndicate li {
    margin: 0;
    background: transparent url(img/rss.png) no-repeat 0px 50%;
    padding: 0 0 0 22px;
}
#sidebar img {max-width:100%;}

/* Sidebar forms */
#search input#q {
  padding: 2px 2px 2px 18px;
  margin: 0 5px 0 0;
  width: 125px;
  font-size: 0.9em;
	background: #fff url(img/q.png) no-repeat 4px center;
}
#search input[type=submit] {
  padding: 0;
  margin: 0;
}
#search input.submit {
  padding: 2px 4px;
  margin: 0;
  text-transform: lowercase;
}
#sidebar fieldset {
	display : block;
	border : none;
}
#sidebar fieldset p {margin-bottom : 1em;}
#sidebar input, #sidebar textarea, #sidebar select {
	font-size: 0.9em;
	margin: 5px 0;
	padding: 1px;
	line-height: 1.5em;
}
#sidebar select, #sidebar input.text {
  width: 175px;
  cursor:pointer;
}
#sidebar input[type=text]#sidebar {width: 175px;}
#sidebar #topnav .topnav-home a {padding-right:5px;}

/* Page */
#content-info {
	font-size: 1.2em;
	margin:0;
  padding: 5px 0;
}
#content-info h2, .content-inner h3 {padding-bottom: 10px;}

.dc-categories .category {margin-bottom: 30px;}
.dc-categories .category img {max-width: 100%;}
.dc-archive-month .content-inner {padding: 10px;}
.dc-archive .content-inner ul {
	padding: 10px;
	margin-bottom: 30px;
}
.dc-archive .content-inner ul li {
	line-height: 2em;
}
#content-info img {
  max-width:100%;
}
#subcategories {
	padding: 5px 0 20px 0;
}
#subcategories h3 {
	margin: 0;
}
#subcategories ul {
	margin: 0.5em 0 0 0;
	padding: 0 0 0 20px;
	line-height: 1.4;
}
.dc-tags ul.tags {
  margin: 0;
  padding: 20px;
}
.dc-tags ul.tags li {
  display: inline;
  font-size: 1.5em;
  line-height: 1.8em;
}
#content-info p {
  padding: 10px 0;
  font-size: 0.85em;
}
.dc-category #content-info {
  text-align: justify;
}

/* divers */
.citations .auteur {font-style:italic;padding:0;margin-top:-10px;}
.center-text, .center-text p {text-align:center;}
table tr * {border:none;}
table td * {border:none;}

.calendar table{
	font-size: 9px;
	text-align: center;
	margin: 0 auto;
	border-collapse: collapse;
}
.calendar table caption{margin: 0 auto;}
.calendar table th {
	color: #333333;
	background: transparent;
	border: none !important;
}
.calendar table tr {border: none !important;}
.calendar table td {
	width: 14%;
	line-height: 2em;
	border: 0.1em solid #EEE;
}
.calendar table td a {
	display: block;
	background: #F7DFE6;
	color: #0273b9;
	font-weight: normal;
	text-decoration: none;
}
.calendar table td a:hover {
	background: #0273b9;
	color: #F7DFE6;
}

.post-content img.right {
  float: right;
  max-width: 40%;
  margin: 0 0 1.2em 1.2em;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  will-change: transform, box-shadow;
}

.post-content img.right:hover {
  animation: floatAnim 3s ease-in-out infinite;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

@keyframes floatAnim {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18));
  }
  50% {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.3));
  }
}


/* Conteneur général du widget */
#search {
  background-color: #ffffff;
  padding: 1.5em;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 2em;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.05em;
}

/* Titre du champ de recherche  */

#search h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 21px;
  line-height: 15px;
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Champ de recherche */
#search input[type="search"] {
  width: 70%;
  padding: 0.7em 1em;
  font-size: 1.05em;
  border: 1px solid #c3c7d1;
  border-radius: 10px;
  background-color: #f0f2f5;
  color: #4f5577;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effet focus du champ */
#search input[type="search"]:focus {
  border-color: #4f5577;
  box-shadow: 0 0 0 3px rgba(79, 85, 119, 0.15);
  outline: none;
}

/* Bouton de soumission */
#search input.submit {
  padding: 0.7em 1.4em;
  margin-left: 0.6em;
  font-size: 1.05em;
  font-weight: 600;
  color: #4f5577;
  background-color: #ecfa65;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover sur le bouton */
#search input.submit:hover {
  background-color: #d5e25a;
  transform: translateY(-2px);
}

#content-info h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  line-height: 15px;
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Contenu du pasteurdh uniquement - page d'accueil */
#pasteurdh-content {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1em;
    line-height: 1.8em;
    color: #2c3e50; /* bleu foncé pour harmoniser avec titres */
}

/* TITRES H1, H2, H3 */
#pasteurdh-content h1,
#pasteurdh-content h2,
#pasteurdh-content h3 {
    font-family: 'Georgia', serif;   /* élégant et lisible */
    color: #2c3e50;                  /* bleu foncé harmonisé */
    line-height: 1.3;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* H2 spécifique */
#pasteurdh-content h2 {
    
    border-left: 4px solid #ecfa65;  
    padding-left: 12px;
    transition: color 0.3s ease;
}

#pasteurdh-content h2:hover {
    color: #d4c85d; /* jaune un peu plus soutenu */
    cursor: pointer;
}


/* H3 spécifique */
#pasteurdh-content h3 {
    font-size: 1.6em;
}

/* BLOCS NOTES */
#pasteurdh-content .bloc-notes {
    background: #f5f5f5;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #0273b9;
    border-radius: 8px;
}

#pasteurdh-content .bloc-notes-versets {
    background: #fffbe6;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #008acf;
    border-radius: 8px;
}

#pasteurdh-content blockquote {
    background: #e6f0ff;
    padding: 10px 15px;
    margin: 15px 0;
    border-left: 4px solid #008acf;
    border-radius: 8px;
    color: #003366;
}

/* LIENS “Retour au sommaire” */
#pasteurdh-content .back-to-toc {
    margin-top: 20px;
    text-align: right;
}

#pasteurdh-content .back-to-toc a {
    color: #0273b9;
    text-decoration: none;
    transition: color 0.3s ease;
}

#pasteurdh-content .back-to-toc a:hover {
    text-decoration: underline;
    color: #008acf;
}

/* SOMMAIRE */
#pasteurdh-content .toc {
    background-color: #fef9f5;
    border-top: 4px solid #ecfa65;   /* accent jaune */
    border-bottom: 4px solid #ecfa65;
    padding: 30px 20px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

#pasteurdh-content .toc h3 {
    font-family: 'Georgia', serif;
    font-size: 1.8em; /* harmonisé avec H2/H3 */
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

/* Liste du sommaire sans puces */
#pasteurdh-content .toc ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

#pasteurdh-content .toc ul li {
    margin-bottom: 5px;
    padding-left: 0;
}

#pasteurdh-content .toc ul li a {
    text-decoration: none;
    color: #2c3e50; /* même ton que les titres */
    font-weight: 500;
    display: block;
    padding: 3px 5px;
    border-radius: 5px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

#pasteurdh-content .toc ul li a:hover {
    background-color: #e3e6eb;  /* hover gris clair */
    color: #2c3e50;
    transform: translateX(5px);
}

/* ======================================= */
/* Widget Categories Dotclear 2 - Moderne, Sobre & Lisible - Police plus grande, interligne réduit */
/* ======================================= */

.widget.categories {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 1.05em; /* un peu plus grand */
    color: #222;
    line-height: 1.3; /* interligne légèrement plus serré */
}

/* Espacement des niveaux */
.widget.categories ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.widget.categories li {
    margin: 3px 0; /* réduit l'espace vertical entre les items */
}

/* Liens */
.widget.categories li a {
    text-decoration: none;
    color: #222;
    display: block;
    padding: 6px 12px; /* légèrement réduit pour compacter */
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Hover sobre et lisible */
.widget.categories li a:hover {
    background: #f7f7f7;
    color: #1a73e8;
    font-weight: 600;
}

/* Branche active */
.widget.categories li.category-current > a {
    font-weight: 600;
    color: #1a73e8;
    background: #eaf2ff;
}

/* Indentation des sous-niveaux */
.widget.categories ul ul {
    margin-left: 18px; /* un peu moins pour compacter */
}

/* Sous-niveaux : lisibles et discrets */
.widget.categories ul ul li a {
    font-size: 1em; /* sous-niveaux un peu plus petits que le parent */
    color: #333;
    padding: 4px 12px; /* réduit le padding pour rapprocher les sous-niveaux */
}

/* Hover sous-niveaux */
.widget.categories ul ul li a:hover {
    background: #f0f0f0;
    color: #1a73e8;
    font-weight: 600;
}

/* Parents avec enfants */
.widget.categories li.has-children > a {
    font-weight: 500;
}

/* ======================================= */
/* H2 titre catégories */
/* ======================================= */


#content-info h2 {
    font-size: 18px;                     /* Taille agréable pour lecture */
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 1.3;                    /* Plus d'espace vertical entre les lignes */
    letter-spacing: 2px;                 /* Espacement plus large entre lettres */
    color: #222222;                      /* Couleur douce et lisible */
    margin-bottom: 15px;                 /* Espace sous le h2 */
    word-break: break-word;              /* Pour éviter que le texte dépasse */
}

#content-info h2 a {
    text-decoration: none;               /* Supprime le soulignement */
    color: inherit;                      /* Hérite de la couleur du h2 */
}

#content-info h2 a:hover {
    color: #1a73e8;                      /* Couleur différente au survol */
    text-decoration: underline;          /* Soulignement au survol */
}

/* ======================================= */
/* TAGS MODERNES widget & SOBRES Dotclear 2.36 - magazine pro avec dégradé et icône subtile */
/* ======================================= */

.widget.tags, .dc-tags {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 0.88em; 
    line-height: 1.15; /* interligne encore plus serré */
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0;
    padding: 0;
}

.widget.tags ul, .dc-tags ul.tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.widget.tags li, .dc-tags ul.tags li {
    display: inline-block;
}

.widget.tags li a, .dc-tags ul.tags li a {
    display: inline-flex; /* flex pour centrer icône + texte */
    align-items: center;
    padding: 3px 9px; /* padding réduit pour sobriété */
    font-size: 0.83em;
    font-weight: 500;
    color: #1a1a1a;
    background: linear-gradient(135deg, #fef9f5 0%, #ecfa65 100%);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover */
.widget.tags li a:hover, .dc-tags ul.tags li a:hover {
    color: #fff;
    background: linear-gradient(135deg, #1a73e8 0%, #4f92ff 100%);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* Tag actif */
.widget.tags li.current a, .dc-tags ul.tags li.current a {
    background: #1a73e8;
    color: #fff;
    font-weight: 600;
}

/* Variation de taille selon popularité */
.tag0 { font-size: 0.78em; }
.tag20 { font-size: 0.83em; }
.tag40 { font-size: 0.88em; }
.tag60 { font-size: 0.93em; }
.tag80 { font-size: 0.98em; }
.tag100 { font-size: 1.02em; }

/* Icône subtile sur les tags */
.widget.tags li a::before, .dc-tags ul.tags li a::before {
    content: "🏷️";
    display: inline-block;
    margin-right: 3px;
    font-size: 0.9em; /* un peu plus petit que le texte */
    vertical-align: middle;
    opacity: 0.7; /* plus discret */
}

/* Adaptation responsive */
@media (max-width: 768px) {
    .widget.tags li a, .dc-tags ul.tags li a {
        padding: 2px 7px;
        font-size: 0.78em;
    }
}

@media (max-width: 480px) {
    .widget.tags li a, .dc-tags ul.tags li a {
        padding: 2px 5px;
        font-size: 0.72em;
    }
}


/* ======================================= */
/* TAGS SOBRES DANS LES PUBLICATIONS Dotclear 2.36 - fond blanc arrondi - ultra compact + hover bleu */
/* ======================================= */

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1px 2px;       /* espace vertical 1px, horizontal 2px */
    margin-top: 0.4em;
    padding-left: 0;
    list-style: none;
    line-height: 1.05;
}

.post-tags li {
    display: inline-block;
}

.post-tags li a {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;         /* padding réduit */
    font-size: 0.78em;
    font-weight: 500;
    color: #555;
    background: #fff;          /* fond blanc */
    border-radius: 12px;       /* coins arrondis */
    border: 1px solid #ddd;    /* légère bordure */
    box-shadow: none;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

/* Hover bleu saturé */
.post-tags li a:hover {
    color: #fff;
    background: linear-gradient(135deg, #1a73e8 0%, #4f92ff 100%);
    transform: translateY(0) scale(1.02);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Icône plus grande */
.post-tags li a::before {
    content: "🏷️";
    display: inline-block;
    margin-right: 3px;
    font-size: 1.2em;
    vertical-align: middle;
    opacity: 0.7;
}

/* Tag actif éventuel */
.post-tags li a.current {
    background: #1a73e8;
    color: #fff;
    font-weight: 600;
    border-color: #0d47a1;
}

/* Responsive */
@media (max-width: 768px) {
    .post-tags li a {
        padding: 1px 5px;
        font-size: 0.72em;
    }

    .post-tags li a::before {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .post-tags li a {
        padding: 1px 4px;
        font-size: 0.68em;
    }

    .post-tags li a::before {
        font-size: 0.95em;
    }
}
