/* ----------------------------------------------------------------
	Custom CSS - Géraldine Hecky Naturopathe
-----------------------------------------------------------------*/

/* Ajouts spécifiques pour le site de naturopathie */

/* Contact buttons dans le header */
.header-misc .button {
	font-size: 14px;
	padding: 8px 20px;
}

/* Améliorations pour les feature boxes */
.feature-box.fbox-plain .fbox-content h3 {
	margin-bottom: 10px;
}

.feature-box.fbox-plain .fbox-content h4 {
	margin-bottom: 8px;
}

/* Stylisation du contenu des pages */
.entry-content p {
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

.entry-content ul,
.entry-content ol {
	margin-bottom: 1.5rem;
}

.entry-content li {
	margin-bottom: 0.5rem;
}

/* Améliorations pour les listes dans la sidebar */
.links-widget ul {
	list-style: none;
	padding: 0;
}

.links-widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(107, 142, 35, 0.1);
}

.links-widget ul li:last-child {
	border-bottom: none;
}

.links-widget ul li a {
	display: block;
	color: var(--cnvs-contrast-700);
	text-decoration: none;
	transition: all 0.3s ease;
}

.links-widget ul li a:hover {
	color: var(--cnvs-themecolor);
	padding-left: 10px;
}

/* Améliorations pour les posts récents */
.posts-sm .entry {
	margin-bottom: 15px;
}

.posts-sm .entry-image img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 5px;
}

.posts-sm .entry-title h4 {
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 5px;
}

.posts-sm .entry-meta {
	font-size: 12px;
}

.posts-sm .entry-meta ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Responsive improvements */
@media (max-width: 767.98px) {
	.feature-box.fbox-plain .fbox-icon {
		margin-bottom: 20px;
		text-align: center;
	}

	.posts-sm .entry-image {
		margin-bottom: 10px;
	}
}

/* Navigation dropdown améliorée */
.primary-menu ul.sub-menu-container {
	background-color: white;
	border: 1px solid rgba(107, 142, 35, 0.2);
	border-radius: 5px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.primary-menu ul.sub-menu-container li a {
	padding: 12px 20px;
	border-bottom: 1px solid rgba(107, 142, 35, 0.1);
}

.primary-menu ul.sub-menu-container li:last-child a {
	border-bottom: none;
}

/* Amélioration du style des adresses */
address {
	line-height: 1.6;
}

address strong {
	color: var(--cnvs-themecolor);
}

/* Styles pour les citations et témoignages */
blockquote {
	border-left: 4px solid var(--cnvs-themecolor);
	padding-left: 20px;
	margin: 20px 0;
	font-style: italic;
	color: var(--cnvs-contrast-700);
}

/* Tables styling si nécessaire */
table {
	width: 100%;
	margin-bottom: 20px;
}

table th {
	background-color: var(--cnvs-accent-color);
	color: var(--cnvs-themecolor);
	padding: 12px;
	text-align: left;
}

table td {
	padding: 12px;
	border-bottom: 1px solid rgba(107, 142, 35, 0.1);
}

.sidebar {
	margin-top: 2rem;
}

/* Print styles */
@media print {
	.header-misc,
	.primary-menu-trigger,
	.sidebar,
	#footer,
	#gotoTop {
		display: none !important;
	}

	.container {
		max-width: none !important;
	}

	a {
		color: black !important;
	}
}

#gotoTop {
	--cnvs-gotoTop-stroke-color: var(--cnvs-themecolor);
	--cnvs-gotoTop-stroke-width: 4px;
	--cnvs-gotoTop-scroll: 260;
	background-color: transparent !important;
}

#gotoTop::before {
	/* font-icons.css */
	content: "\F286";
	font-family: 'bootstrap-icons';

	position: absolute;
	left: 50%;
	top: 50%;
	width: calc(32px + calc(var(--cnvs-gotoTop-stroke-width) * .5));
	height: calc(32px + calc(var(--cnvs-gotoTop-stroke-width) * .5));
	line-height: calc(32px - 1px);
	font-size: 1rem;
	color: #222;
	transform: translate(-50%, -50%);
	border: 2px solid rgba(0,0,0,0.1);
	border-radius: 50%;
	z-index: -1;
}

#gotoTop circle {
	stroke: var(--cnvs-gotoTop-stroke-color);
	stroke-width: var(--cnvs-gotoTop-stroke-width);
	transform: rotate(-90deg);
	transform-origin: center;
	stroke-dashoffset: var(--cnvs-gotoTop-scroll);
	stroke-dasharray: 255 255;
	z-index: 1;
}