/*
Theme Name: Simplo (modernise 2026)
Description: Theme responsive modernise pour combattreladepression.com
*/

/* CSS VARIABLES
-------------------------------------------*/
:root {
	--color-primary: #1a8fd1;
	--color-primary-hover: #1476b0;
	--color-primary-light: #e8f4fb;
	--color-text: #2d3748;
	--color-text-light: #718096;
	--color-text-muted: #a0aec0;
	--color-bg: #f7f8fc;
	--color-white: #fff;
	--color-border: #e2e8f0;
	--color-border-light: #edf2f7;
	--color-categ-bg: #1a8fd1;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--radius: 6px;
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.1);
	--transition: 0.2s ease;
}

/* RESET & BASE
-------------------------------------------*/
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

img {
	max-width: 100%;
	height: auto;
	display: block;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	color: var(--color-text);
	line-height: 1.7;
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

ul { list-style: none; }

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover { color: var(--color-primary-hover); }
a:focus { outline: 2px solid var(--color-primary); outline-offset: 2px; }

p { margin: 1.2em 0; }

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-text);
	margin-bottom: 0.5em;
}

h1 {
	font-size: 1.9rem;
	letter-spacing: -0.5px;
}

h2 {
	font-size: 1.45rem;
	margin-top: 1.5em;
}

h3 {
	font-size: 1.15rem;
	margin-top: 1.2em;
}

/* LAYOUT
-------------------------------------------*/
#mainWrapper {
	max-width: 1040px;
	width: 100%;
	margin: 0 auto;
}

#wrapper {
	background: var(--color-white);
	margin: 20px 16px;
	padding: 30px 35px;
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

#header {
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 15px;
}

#content {
	margin-top: 25px;
	padding-top: 10px;
}

#colLeft {
	max-width: 780px;
}

#footer {
	max-width: 1040px;
	width: 100%;
	margin: 0 auto;
	padding: 20px 35px 30px;
	font-size: 0.85rem;
	color: var(--color-text-light);
	text-align: center;
}

#footer a {
	color: var(--color-text-light);
}

#footer a:hover {
	color: var(--color-primary);
}

/* HEADER / LOGO
-------------------------------------------*/
#logo {
	display: block;
}

#logo a img {
	border: none;
	max-height: 80px;
	width: auto;
}

/* TOP MENU (styles de base, le dropdown est dans ddsmoothmenu.css)
-------------------------------------------*/
#topMenu {
	border-bottom: 2px solid var(--color-border);
	padding-bottom: 0;
	margin-bottom: 5px;
}

#topMenu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

#topMenu ul li a {
	display: block;
	padding: 10px 16px;
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: var(--color-text);
	transition: color var(--transition), background var(--transition);
}

#topMenu ul li a:hover {
	color: var(--color-primary);
	background: var(--color-primary-light);
	text-decoration: none;
}

/* POST ITEMS (homepage listing)
-------------------------------------------*/
#archive-title {
	padding: 0 0 9px;
	margin: 0 0 20px;
	border-bottom: 2px solid var(--color-border);
}

.postItem {
	margin-bottom: 25px;
	padding-bottom: 25px;
	border-bottom: 1px solid var(--color-border-light);
}

.postItem:last-child {
	border-bottom: none;
}

.postItem a img {
	border: none;
	border-radius: var(--radius);
	margin: 10px 0;
}

.postItem .meta {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	padding-bottom: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.postItem .meta div {
	display: inline;
}

.postItem .meta .icoAuthor, .postItem .meta .icoComments {
	padding-left: 0;
}

.postItem h1 a, .postItem h2 a {
	color: var(--color-text);
}

.postItem h1 a:hover, .postItem h2 a:hover {
	color: var(--color-primary);
	text-decoration: none;
}

.postItem .categs {
	margin: 0 0 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.postItem .categs a {
	display: inline-block;
	font-size: 0.7rem;
	padding: 2px 10px;
	color: #fff;
	background: var(--color-categ-bg);
	border-radius: 3px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.3px;
}

.postItem .categs a:hover {
	opacity: 0.85;
	text-decoration: none;
}

/* ARTICLE CONTENT STYLING
-------------------------------------------*/
#colLeft blockquote {
	border-left: 4px solid var(--color-primary);
	background: var(--color-primary-light);
	margin: 1.5em 0;
	padding: 15px 20px;
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
	color: var(--color-text);
}

#colLeft ul:not(.menu),
#colLeft ol {
	margin: 1em 0;
	padding-left: 1.5em;
}

#colLeft ul:not(.menu) li {
	list-style: disc;
	margin-bottom: 0.4em;
	line-height: 1.6;
}

#colLeft ol li {
	list-style: decimal;
	margin-bottom: 0.4em;
	line-height: 1.6;
}

#colLeft table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 0.95rem;
}

#colLeft table th,
#colLeft table td {
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	text-align: left;
}

#colLeft table th {
	background: var(--color-bg);
	font-weight: 600;
}

#colLeft table tr:hover {
	background: var(--color-border-light);
}

/* PAGINATION
-------------------------------------------*/
.emm-paginate {
	padding: 15px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	clear: both;
}

.emm-paginate a {
	border: 1px solid var(--color-border);
	color: var(--color-text-light);
	padding: 6px 12px;
	text-align: center;
	text-decoration: none;
	border-radius: var(--radius);
	font-size: 0.85rem;
	transition: all var(--transition);
}

.emm-paginate .emm-title { color: var(--color-text-light); }
.emm-paginate .emm-gap { color: var(--color-text-muted); }

.emm-paginate a:hover,
.emm-paginate a:active,
.emm-paginate .emm-current {
	color: #fff;
	background: var(--color-primary);
	border-color: var(--color-primary);
}

/* HAMBURGER MENU TOGGLE
-------------------------------------------*/
.menu-toggle {
	display: none;
	background: var(--color-text);
	color: #fff;
	border: none;
	padding: 12px 16px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: var(--radius);
	transition: background var(--transition);
}

.menu-toggle:hover {
	background: var(--color-text-light);
}

/* RESPONSIVE - TABLET (max-width: 768px)
-------------------------------------------*/
@media only screen and (max-width: 768px) {
	#wrapper {
		padding: 20px;
		margin: 10px 8px;
	}

	#header {
		padding-bottom: 10px;
	}

	#logo a img {
		max-height: 60px;
	}

	#footer {
		padding: 15px 20px 25px;
	}

	.menu-toggle {
		display: block;
	}

	#topMenu {
		border-bottom: none;
	}

	#topMenu ul {
		display: none;
		flex-direction: column;
		background: var(--color-bg);
		border-radius: 0 0 var(--radius) var(--radius);
	}

	#topMenu ul.menu-open {
		display: flex;
	}

	#topMenu ul li a {
		padding: 12px 16px;
		border-bottom: 1px solid var(--color-border-light);
	}
}

/* RESPONSIVE - MOBILE (max-width: 480px)
-------------------------------------------*/
@media only screen and (max-width: 480px) {
	#wrapper {
		padding: 15px 12px;
		margin: 5px;
	}

	h1 {
		font-size: 1.5rem;
	}

	h2 {
		font-size: 1.25rem;
	}

	h3 {
		font-size: 1.05rem;
	}

	body {
		font-size: 15px;
	}

	.postItem .meta {
		flex-direction: column;
		gap: 4px;
	}

	.emm-paginate a {
		padding: 5px 8px;
		font-size: 0.8rem;
	}
}