/*
Theme Name: Maison des Aînés
Theme URI: https://mda2.marche.be
Author: MDA Marche-en-Famenne
Author URI: https://mda2.marche.be
Description: Thème WordPress pour la Maison des Aînés de Marche-en-Famenne. Un lieu de rencontre convivial pour les personnes de plus de 50 ans.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mda-theme
Tags: full-site-editing, block-patterns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, translation-ready, wide-blocks
*/

/* Link styles */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .15em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
	outline-color: var(--wp--preset--color--primary);
}

/* Smooth text rendering */
body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/* Sticky header */
.wp-block-template-part[data-slug="header"],
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

/* Navigation hover effects */
.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--secondary) !important;
}

/* Card hover effect for latest posts */
.mda-post-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mda-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
