/*
Theme Name:   GeneratePress Child
Template:     generatepress
Version:      1.0.0
Description:  Thème enfant pour GeneratePress
Author:       Eva Redon
Author URI:   https://www.linkedin.com/in/eva-redon-dev/
Text Domain:  generatepress
*/

/* === STYLE PARENT === */
@import url("../generatepress/style.css");

/* === POLICES === */
@font-face {
	/* 	font-family: Optima-Bold; src: url(https://psycho-pour-elles.fr//wp-content/themes/generatepress-child/fonts/Optima-Bold.woff2); font-weight: normal;
	font-family: Arvo-Bold; src: url(https://psycho-pour-elles.fr//wp-content/themes/generatepress-child/fonts/Arvo-Bold.woff); font-weight: normal; */
}

h1, h2, h3, h4, .main-navigation {
	text-transform:none;
}
/* .separate-containers .comments-area, .separate-containers .inside-article, .separate-containers .page-header, .separate-containers .paging-navigation, {
padding:0 40px;
} */
.site-content .content-area {
	width: 85% !important;
}
.widget-area .widget {
	padding:20px;
}

/* === Top Social Bar === */
.top-social-bar .container {
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	gap: 12px;
	padding: 0.5rem;
	flex-wrap: wrap;
	justify-content:flex-end;
}

.top-social-bar a {
	color: #333;
	font-size: 24px;
	text-decoration: none;
	border: 1px solid grey;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	transition: all 0.3s ease;
}
.top-social-bar a:hover,
.footer a:hover {
	color: #EE2552 !important;
	border-color: #EE2552;
}

/* === SUB HEADER BARRE NOIRE === */
.custom-header-bar {
	background-color: var(--contrast);
	padding: 10px;
	text-align: center;
	border-bottom: 1px solid #ddd;
}
.custom-header-bar a {
	font-family: 'Lora';
	font-style:italic;
	font-weight:600;
	color:white;
}
.custom-header-bar a:hover {
	color: var(--accent);
}

/* === Footer === */
.footer {
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-bar { display: none; }

.footer a {
	color: #f7f7f7 !important;
}

/* === Logo Bar === */
.custom-logo-bar {
	padding-top: 20px;
	text-align: center;
}

.inside-logo-bar {
	max-width: 1200px;
	margin: 0 auto;
}

.logo-link img {
	width: 250px;
	max-width: 100%;
	max-height: 150px;
	height: auto;
}

/* === Navigation === */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
	transition: box-shadow 0.3s ease;
}

.inside-header {
	padding: 10px 0;
}

.menu-toggle {
	background-color:transparent !important;
}

.main-navigation a {
	transition: color 0.3s ease;
}
/* === Sidebar === */
.aside-kiosque {
	padding:30px;
	border-radius:25px;
}
.inside-right-sidebar {
	position: sticky;
	top: 80px;
}
.social-links {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 10px 25px;
}
.social-links div {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #000;
}
.social-links i {
	font-size: 20px;
	padding-right:5px;
}
.social-links a {
	color:black;
	text-decoration:none !important;
}
.wp-block-latest-posts__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.wp-block-latest-posts.wp-block-latest-posts__list li {
	overflow: hidden;
	transition: transform 0.3s ease;
}
.wp-block-latest-posts__featured-image img {
	border-radius:5px;
}
.wp-block-latest-posts__post-title {
	color:black;
}
.wp-block-latest-posts__post-date {
	font-size: 0.865rem;
	color: var(--base);
	padding-top:8px;
}

/* === A lire aussi === */
.a-lire-aussi-box {
	position: relative;
	border: 2px solid #d0021b;
	border-radius: 12px;
	padding: 2em 1.5em 1.5em;
	margin: 2em 0;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.a-lire-aussi-box h4 {
	position: absolute;
	top: -0.5em;
	left: 1em;
	background: #fff;
	padding: 0 0.75em;
	margin: 0;
	z-index: 1;
}
.a-lire-aussi-box ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.a-lire-aussi-box li {
	margin-bottom: 0.75em;
}
.a-lire-aussi-box a {
	color: var(--contrast);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.a-lire-aussi-box a:hover {
	text-decoration-thickness: 2px;
}


/* === Responsive === */
@media (max-width: 768px) {
	.main-navigation ul {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.logo-link { display: none; }

	.top-social-bar .container {
		justify-content:center;
	}

	.top-social-bar a {
		font-size: 20px;
		width: 36px;
		height: 36px;
	}
	.custom-logo-bar {
		display:none;
	}
}
@media (max-width: 768px) {
	.container .site-content .content-area {
		width: 100% !important;
	}
	main {
		padding:0 !important;
	}
}
@media (max-width: 1024px) {
	.is-right-sidebar {
		width: 45% !important;
	}
}

