/*
Theme Name: geolibre2
Theme URI: https://georezo.net/
Description: Thème du blog geolibre (« Le coin de l'open-source géo… ») des GéoBlogs de GeoRezo, compatible WordPress 7 / PHP 8.2. Trois colonnes sur grand écran, mise en page responsive, menu déroulant accessible, listes déroulantes des catégories et archives, commentaires et rétroliens séparés. Basé sur le thème Corpgreen (Corp WordPress theme) de Jai Nischal Verma (blogohblog.com), traduction niss.fr.
Version: 2.3.1
Requires at least: 5.3
Tested up to: 7.1
Requires PHP: 7.4
Author: Yves Jacolin
Author URI: https://georezo.net/
License: Creative Commons (licence du thème Corp d'origine, blogohblog.com)
Update URI: false
Tags: blog, three-columns, left-sidebar, right-sidebar, fluid-layout, custom-menu, featured-images, threaded-comments, accessibility-ready, editor-style

Thème d'origine : Corpgreen, Jai Nischal Verma - http://www.blogohblog.com
Fork geolibre : Jérôme Andrieux - GeoRezo
Adaptation geolibre2 (2026) : GeoRezo
*/

/* ==========================================================================
   Variables (couleurs reprises de l'ancien thème)
   ========================================================================== */

:root {
	--green-950: #263800;
	--green-900: #2f4600;
	--green-800: #3d5900;   /* ancien menu #415F00 */
	--green-700: #4f7700;
	--green-600: #5c8a00;   /* ancien bandeau / liens d'accueil */
	--green-500: #769f1d;   /* ancien cadre de recherche */
	--green-100: #eef4e0;
	--green-50:  #f6f9ee;
	--olive:     #5f5f00;   /* ancien lien #666600, un peu plus contrasté */
	--cream:     #faf8da;   /* ancien encadré des métadonnées */
	--sand:      #efe7cb;

	/* Couleurs du portail GeoRezo */
	--grz-orange:      #ef7103;
	--grz-orange-dark: #c25a00;
	--grz-blue:        #456baa;
	--grz-blue-dark:   #2c4a7e;
	--grz-teal:        #13c8ca;
	--grz-green:       #8fc002;

	--text:      #2b2f26;
	--text-soft: #5b6352;
	--bg:        #f4f5ef;
	--surface:   #ffffff;
	--border:    #dde2d0;

	--radius:    10px;
	--radius-sm: 6px;
	--shadow:    0 1px 2px rgba(38, 56, 0, .06), 0 4px 16px rgba(38, 56, 0, .06);
	--gap:       clamp(1rem, 2.5vw, 2rem);
	--content-w: 1320px;

	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 1.0625rem/1.65 var(--font-sans);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-900); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--green-500);
	outline-offset: 2px;
	border-radius: 3px;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--green-950);
	line-height: 1.25;
	margin: 1.6em 0 .6em;
	font-weight: 700;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p, ul, ol, dl, blockquote, pre, figure, table { margin: 0 0 1.1em; }

abbr[title] { text-decoration: underline dotted; cursor: help; }

blockquote {
	margin-left: 0;
	padding: .6em 1.2em;
	border-left: 4px solid var(--green-500);
	background: var(--green-50);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--text-soft);
	font-style: italic;
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite { display: block; margin-top: .4em; font-size: .9em; font-style: normal; }

code, kbd, pre { font-family: var(--font-mono); font-size: .9em; }
code { background: var(--green-50); padding: .1em .35em; border-radius: 4px; }
pre {
	overflow-x: auto;
	padding: 1em 1.2em;
	background: #1f2a12;
	color: #e7f0d6;
	border-radius: var(--radius-sm);
	line-height: 1.5;
}
pre code { background: none; padding: 0; color: inherit; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: .5em .7em; border-bottom: 1px solid var(--border); text-align: left; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: .5rem; left: .5rem; z-index: 1000;
	padding: .6em 1em; background: #fff; color: var(--green-900); font-weight: 700;
	border-radius: var(--radius-sm); box-shadow: var(--shadow);
}

.container {
	width: min(100% - 2 * var(--gap), var(--content-w));
	margin-inline: auto;
}

/* ==========================================================================
   Boutons et formulaires
   ========================================================================== */

.button, button, input[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	padding: .55em 1.1em;
	border: 0;
	border-radius: 999px;
	background: var(--green-700);
	color: #fff;
	font: 600 .95rem/1.2 var(--font-sans);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease;
}
.button:hover, button:hover, input[type="submit"]:hover { background: var(--green-900); color: #fff; }

input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
	width: 100%;
	padding: .6em .75em;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--text);
	font: inherit;
	font-size: 1rem;
}
input:focus, textarea:focus, select:focus { border-color: var(--green-500); }
label { display: block; margin-bottom: .25em; font-weight: 600; font-size: .95rem; }

/* Recherche */
.search-form { display: flex; align-items: stretch; max-width: 22rem; }
.search-form__field {
	border-radius: 999px 0 0 999px !important;
	border-right: 0 !important;
	min-width: 0;
}
.search-form__submit {
	border-radius: 0 999px 999px 0;
	padding: 0 .9em;
	background: var(--green-800);
}

/* ==========================================================================
   En-tête
   ========================================================================== */

.site-header {
	background: linear-gradient(120deg, var(--green-600) 0%, var(--green-700) 55%, var(--green-800) 100%);
	color: #fff;
}
.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.4rem;
}
.site-title {
	margin: 0;
	font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
}
.site-title a { color: #fff; text-decoration: none; }
.site-title a:hover { color: var(--cream); }
.site-description { margin: .25rem 0 0; color: rgba(255, 255, 255, .85); font-size: 1rem; }

.site-search .search-form__field { border-color: transparent; }
.site-search .search-form__submit { background: var(--green-950); }
.site-search .search-form__submit:hover { background: #000; }

/* ==========================================================================
   Menu principal
   ========================================================================== */

.main-nav { background: var(--green-800); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a, .main-nav .menu-label {
	display: block;
	padding: .8em 1em;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: .97rem;
	cursor: pointer;
}
.main-nav a:hover, .main-nav .menu-label:hover,
.main-nav .current_page_item > a, .main-nav .current-menu-item > a,
.main-nav .current_page_ancestor > a, .main-nav .current-menu-ancestor > a {
	background: var(--green-950);
	color: #fff;
}

.menu-toggle {
	display: none;
	margin: .5rem 0;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .5);
}
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after {
	display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; }
.menu-toggle__icon::before { top: -6px; }
.menu-toggle__icon::after { top: 6px; }

.submenu-toggle {
	display: none;
	padding: 0;
	width: 2.6rem;
	background: transparent;
	border-radius: 0;
}
.submenu-toggle::after {
	content: "";
	display: block;
	margin: auto;
	width: .5rem; height: .5rem;
	border-right: 2px solid #fff; border-bottom: 2px solid #fff;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .15s ease;
}
.is-open > .submenu-toggle::after { transform: rotate(-135deg) translate(-2px, -2px); }

/* Grand écran : menu horizontal, sous-menus déroulants (survol, clavier ou bouton). */
@media (min-width: 801px) {
	.main-nav .menu { display: flex; flex-wrap: wrap; }
	.main-nav li { position: relative; }
	.main-nav .menu-item-has-children > a, .main-nav .menu-item-has-children > .menu-label { padding-right: 1.6em; }
	.main-nav .menu-item-has-children > a::after, .main-nav .menu-item-has-children > .menu-label::after {
		content: "";
		position: absolute; right: .7em; top: 50%;
		width: .4rem; height: .4rem; margin-top: -.3rem;
		border-right: 2px solid rgba(255, 255, 255, .8); border-bottom: 2px solid rgba(255, 255, 255, .8);
		transform: rotate(45deg);
	}
	.main-nav li li .menu-item-has-children > a::after { transform: rotate(-45deg); }
	.main-nav .submenu-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; display: block; opacity: 0; }
	.main-nav .submenu-toggle:focus-visible { opacity: 1; width: 1.6rem; height: 100%; right: 0; top: 0; }

	.main-nav li ul {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 100;
		min-width: 15rem;
		padding: .35rem 0;
		background: var(--green-900);
		border-radius: 0 0 var(--radius-sm) var(--radius-sm);
		box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
		visibility: hidden;
		opacity: 0;
		transform: translateY(4px);
		transition: opacity .15s ease, transform .15s ease, visibility .15s;
	}
	.main-nav li li ul { top: 0; left: 100%; border-radius: var(--radius-sm); }
	.main-nav li:hover > ul, .main-nav li:focus-within > ul, .main-nav li.is-open > ul {
		visibility: visible;
		opacity: 1;
		transform: none;
	}
	.main-nav li li a { padding: .55em 1.1em; font-weight: 500; }
}

/* Petit écran : menu repliable, sous-menus en accordéon. */
@media (max-width: 800px) {
	.menu-toggle { display: inline-flex; }
	.main-nav .menu { display: none; padding-bottom: .6rem; }
	.main-nav.is-open .menu { display: block; }
	.main-nav li { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); }
	.main-nav li > a, .main-nav li > .menu-label { flex: 1; }
	.main-nav .submenu-toggle { display: block; }
	.main-nav li ul { display: none; width: 100%; background: var(--green-900); }
	.main-nav li.is-open > ul { display: block; }
	.main-nav li li a { padding-left: 2em; }
	.main-nav li li li a { padding-left: 3em; }
}

/* ==========================================================================
   Message d'accueil
   ========================================================================== */

.intro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin-block: var(--gap);
	padding: 1.1rem 1.4rem;
	background: var(--cream);
	border: 1px solid #ece7b8;
	border-left: 5px solid var(--green-600);
	border-radius: var(--radius);
	color: #4a4a2a;
}
.intro__text { flex: 1 1 32rem; margin: 0; font-size: 1rem; }
.button--feed { background: var(--grz-orange); flex: none; }
.button--feed:hover { background: var(--grz-orange-dark); }

/* ==========================================================================
   Mise en page : contenu au centre, colonnes de part et d'autre
   ========================================================================== */

.site-content {
	display: grid;
	gap: var(--gap);
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "main" "left" "right";
	align-items: start;
	padding-bottom: calc(var(--gap) * 1.5);
}
.content-area { grid-area: main; min-width: 0; }
.sidebar--left { grid-area: left; }
.sidebar--right { grid-area: right; }

@media (min-width: 700px) {
	.site-content {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "main main" "left right";
	}
}
@media (min-width: 1100px) {
	.site-content {
		grid-template-columns: 14.5rem minmax(0, 1fr) 16rem;
		grid-template-areas: "left main right";
	}
	.sidebar { position: sticky; top: 1rem; }
}

/* ==========================================================================
   Articles
   ========================================================================== */

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: clamp(1.2rem, 1rem + 1.2vw, 2.2rem);
}
.post + .post { margin-top: var(--gap); }
.card > :first-child { margin-top: 0; }

.entry-header { margin-bottom: 1.2rem; }
.entry-title { margin: 0 0 .35rem; }
.entry-title a { color: var(--green-950); text-decoration: none; }
.entry-title a:hover { color: var(--green-700); }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .2rem 0;
	margin: 0;
	color: var(--text-soft);
	font-size: .9rem;
}
.entry-meta__item:not(:last-child)::after { content: "·"; margin: 0 .55em; color: var(--border); font-weight: 700; }
.entry-meta a { color: var(--olive); }
.entry-meta strong { color: var(--text); font-weight: 600; }

.entry-thumbnail { display: block; margin: 0 0 1.2rem; }
.entry-thumbnail img { display: block; width: 100%; border-radius: var(--radius-sm); }

.entry-content { max-width: 72ch; overflow-wrap: break-word; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 1.4rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .3em; }
.entry-content li::marker { color: var(--green-600); }
.entry-content .more-link {
	display: inline-block;
	margin-top: .3em;
	font-weight: 600;
	text-decoration: none;
}
.entry-content .more-link:hover { text-decoration: underline; }

.entry-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .8rem 1.5rem;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	font-size: .9rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.tags a {
	display: inline-block;
	padding: .15em .7em;
	background: var(--green-100);
	color: var(--green-800);
	border-radius: 999px;
	text-decoration: none;
	font-size: .85rem;
}
.tags a::before { content: "#"; opacity: .6; }
.tags a:hover { background: var(--green-700); color: #fff; }
.entry-actions { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-left: auto; }
.comments-link, .feed-link { color: var(--olive); }
.feed-link::before {
	content: "";
	display: inline-block;
	width: .7em; height: .7em;
	margin-right: .4em;
	border-radius: 2px;
	background: var(--grz-orange);
}
.entry-meta__edit a { font-weight: 600; }

/* Images et légendes de WordPress */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, figure { max-width: 100%; }
.wp-caption-text, figcaption { color: var(--text-soft); font-size: .88rem; text-align: center; margin-top: .4em; }
.entry-content img { border-radius: 4px; }
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) {
	/* Petit écran : les images flottantes ne coincent plus le texte dans une colonne étroite. */
	.entry-content .alignleft, .entry-content .alignright,
	.entry-content img.alignleft, .entry-content img.alignright { float: none; display: block; margin: 0 auto 1em; }
}

/* En-têtes d'archives / recherche */
.archive-header { margin-bottom: var(--gap); }
.archive-header__kicker { margin: 0; color: var(--green-600); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.page-title { margin: .1em 0 0; }
.archive-header__description { color: var(--text-soft); }
.no-results .search-form { margin-top: 1rem; }

/* Pagination et navigation entre articles */
.pagination, .post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: var(--gap);
}
.pagination a {
	display: inline-block;
	padding: .55em 1.1em;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}
.pagination a:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.post-navigation > div { flex: 1 1 0; }
.post-navigation__next { text-align: right; }
.post-navigation a { text-decoration: none; font-weight: 600; }
.post-navigation__label { display: block; color: var(--text-soft); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.page-links { margin-top: 1.2em; font-weight: 600; }
.page-links a, .page-links > span { margin-left: .4em; }

/* ==========================================================================
   Colonnes et widgets
   ========================================================================== */

/* Une colonne ne doit jamais dépasser sa piste de grille (sinon elle passe sous le contenu). */
.sidebar { min-width: 0; }
.sidebar .widget { overflow-wrap: break-word; }
.sidebar img, .sidebar iframe, .sidebar video { max-width: 100%; height: auto; }

/* Calendrier (widget classique et bloc) : compact, 7 colonnes égales. */
.widget_calendar table, .wp-block-calendar table, .wp-calendar-table {
	width: 100%;
	table-layout: fixed;
	margin: 0;
	font-size: .85rem;
}
.widget_calendar caption, .wp-block-calendar caption {
	margin-bottom: .4em;
	color: var(--text-soft);
	font-weight: 600;
	text-align: center;
}
.widget_calendar th, .widget_calendar td,
.wp-block-calendar th, .wp-block-calendar td {
	padding: .3em 0;
	border: 0;
	text-align: center;
}
.widget_calendar th, .wp-block-calendar th { color: var(--green-800); font-weight: 700; }
.widget_calendar td a, .wp-block-calendar td a {
	display: block;
	border-radius: 4px;
	background: var(--green-100);
	color: var(--green-800);
	font-weight: 700;
	text-decoration: none;
}
.widget_calendar #today, .wp-block-calendar #today { outline: 2px solid var(--green-500); outline-offset: -2px; border-radius: 4px; }
.widget_calendar .wp-calendar-nav, .wp-block-calendar .wp-calendar-nav {
	display: flex;
	justify-content: space-between;
	margin-top: .5em;
	font-size: .9rem;
}

.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widgets { display: grid; gap: 1rem; }
.sidebar .widget {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem 1.1rem;
	font-size: .95rem;
}
.sidebar .widget-title, .sidebar .widget h2, .sidebar .wp-block-heading {
	margin: 0 0 .7rem;
	padding-bottom: .5rem;
	border-bottom: 2px solid var(--green-100);
	color: var(--green-800);
	font-size: .8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
}
.sidebar .widget li { padding: .35em 0; border-bottom: 1px solid #eef0e7; }
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget li ul { margin-top: .3em; padding-left: .8em; }
.sidebar .widget a { color: var(--text); text-decoration: none; }
.sidebar .widget a:hover { color: var(--green-700); text-decoration: underline; }
.sidebar select { font-size: .95rem; }
.sidebar .search-form { max-width: none; }

/* ==========================================================================
   Commentaires
   ========================================================================== */

.comments { margin-top: var(--gap); }
.comments-title { margin-top: 0; font-size: 1.3rem; }
.comments-title + .comment-list, .comments-title + .ping-list { margin-top: 1rem; }
.comment-list, .ping-list, .comment-list .children { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.comment-list .children { margin: 0 0 0 clamp(.8rem, 4vw, 3rem); }
.comment-body { padding: 1rem 0; border-top: 1px solid var(--border); }
.comment-list > li:first-child > .comment-body { border-top: 0; }
.comment-header { display: flex; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.comment-avatar { border-radius: 50%; flex: none; }
.comment-author, .comment-date { margin: 0; }
.comment-author { font-weight: 700; }
.comment-author a { color: var(--text); }
.comment-date { font-size: .85rem; color: var(--text-soft); }
.comment-date a { color: inherit; text-decoration: none; }
.bypostauthor > .comment-body .comment-author::after {
	content: "auteur";
	margin-left: .5em;
	padding: .05em .55em;
	background: var(--green-100);
	color: var(--green-800);
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 600;
}
.comment-content { overflow-wrap: break-word; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-awaiting-moderation { padding: .3em .7em; background: var(--cream); border-radius: var(--radius-sm); font-size: .9rem; }
.comment-reply { margin: .4rem 0 0; font-size: .9rem; }
.comment-reply a { font-weight: 600; }
.ping-list li { padding: .4em 0; border-top: 1px solid var(--border); }
.ping-list .comment-date { margin-left: .5em; }

.comment-respond { margin-top: 1.5rem; }
.comment-reply-title small { margin-left: .8em; font-size: .8rem; font-weight: 500; }
.comment-notes, .logged-in-as { color: var(--text-soft); font-size: .9rem; }
.comment-form { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.comment-form > p { margin-bottom: .9rem; }
.comment-form .comment-notes, .comment-form .logged-in-as, .comment-form .comment-form-comment,
.comment-form .comment-form-cookies-consent, .comment-form .form-submit { grid-column: 1 / -1; }
.comment-form .required { color: var(--text-soft); font-weight: 400; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; }
.comment-form-cookies-consent input { margin-top: .3em; }
.comment-form-cookies-consent label { font-weight: 400; }
.comments-closed { color: var(--text-soft); font-style: italic; }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .8); font-size: .92rem; }
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem 2rem;
	padding-block: 1.8rem;
}
.site-footer p { margin: 0 0 .3em; }
.site-footer__title { color: #fff; font-weight: 700; font-size: 1.05rem; }
.site-footer a { color: #d9eba7; }
.site-footer a:hover { color: #fff; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 0; list-style: none; }

.logo-print { display: none; }

/* ==========================================================================
   Préférences d'accessibilité
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Identité GeoRezo
   ========================================================================== */

.georezo-logo { display: block; height: auto; }

.button--georezo { background: var(--grz-orange); }
.button--georezo:hover { background: var(--grz-orange-dark); color: #fff; }

/* Encadré « Un blog GeoRezo » */
.sidebar .georezo-card {
	border-top: 4px solid var(--grz-orange);
	background: linear-gradient(180deg, #fff 0%, #fff7ef 100%);
	text-align: center;
}
.georezo-card__logo { display: inline-block; margin-bottom: .4rem; }
.georezo-card__kicker {
	margin: 0 0 .3rem;
	color: var(--grz-orange-dark);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.georezo-card__text { margin: 0 0 .7rem; font-size: .9rem; color: var(--text-soft); }
.sidebar .georezo-card__text a { color: var(--grz-blue-dark); text-decoration: underline; }
.sidebar .georezo-card__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin-bottom: .9rem; }
.sidebar .georezo-card__links li { padding: 0; border: 0; }
.sidebar .georezo-card__links a {
	display: inline-block;
	padding: .15em .7em;
	background: #eef2f9;
	border-radius: 999px;
	color: var(--grz-blue-dark);
	font-size: .82rem;
	font-weight: 600;
}
.sidebar .georezo-card__links a:hover { background: var(--grz-blue); color: #fff; text-decoration: none; }
.sidebar .georezo-card .button { color: #fff; text-decoration: none; }

/* Pied de page aux couleurs du portail : mu-plugins/georezo-bar/georezo-footer.css */
.site-footer-wrap { --georezo-footer-width: calc(var(--content-w) + 32px); }

/* Bandeau légal sous le pied de page GeoRezo */
.site-footer { background: #1e335a; }
.site-footer__inner { padding-block: 1rem; align-items: center; }
.site-footer__about p { margin: 0; }
