/* Les Réseauteurs — la fenêtre « Ajouter à mon agenda » (rzkev-agenda.js).
   Autonome : elle s'ouvre sur l'accueil (Flatsome) comme dans l'espace membre,
   d'où les remises à zéro face aux styles de boutons du thème. */
.rzk-cal-bloque { overflow: hidden; }
.rzk-cal[hidden] { display: none !important; }
.rzk-cal {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center;
	padding: 18px; box-sizing: border-box;
	background: rgba(29, 32, 36, .5);
	-webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
	opacity: 0; transition: opacity .22s ease;
	font-family: Lato, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px; line-height: 1.4; color: #24282d; text-align: left;
}
.rzk-cal--ouvert { opacity: 1; }
.rzk-cal-carte {
	position: relative; box-sizing: border-box;
	width: 100%; max-width: 430px; max-height: calc(100vh - 36px); overflow: auto;
	background: #fff; border-radius: 22px; padding: 26px 20px 16px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
	transform: translateY(14px) scale(.98); transition: transform .22s ease;
}
.rzk-cal--ouvert .rzk-cal-carte { transform: none; }

.rzk-cal .rzk-cal-titre {
	margin: 0 44px 6px 4px; padding: 0;
	font-family: Oswald, "Arial Narrow", Arial, sans-serif;
	font-size: 24px; font-weight: 600; line-height: 1.15; letter-spacing: .01em;
	text-transform: uppercase; color: #24282d;
}
.rzk-cal .rzk-cal-sous { margin: 0 4px 14px; padding: 0; font-size: 15px; color: #5d6268; }

.rzk-cal .rzk-cal-fermer {
	position: absolute; top: 14px; right: 14px;
	width: 38px; height: 38px; min-height: 0; margin: 0; padding: 0;
	display: grid; place-items: center;
	border: 0; border-radius: 50%; background: #f1efe9; color: #5d6268;
	box-shadow: none; line-height: 1; cursor: pointer;
}
.rzk-cal .rzk-cal-fermer:hover { background: #e7e3d9; color: #24282d; }

.rzk-cal .rzk-cal-ligne {
	display: flex; align-items: center; gap: 14px;
	width: 100%; box-sizing: border-box; min-height: 0;
	margin: 0; padding: 12px 10px;
	border: 0; border-top: 1px solid #ece8df; border-radius: 0;
	background: none; box-shadow: none; color: #24282d;
	font: inherit; font-weight: 400; line-height: 1.25; letter-spacing: normal;
	text-align: left; text-decoration: none; text-transform: none;
	cursor: pointer;
}
.rzk-cal .rzk-cal-ligne:first-child { border-top-color: transparent; }
.rzk-cal .rzk-cal-ligne:hover,
.rzk-cal .rzk-cal-ligne:focus-visible { background: #f4f1ea; border-radius: 12px; border-top-color: transparent; color: #24282d; }
.rzk-cal .rzk-cal-ligne:hover + .rzk-cal-ligne,
.rzk-cal .rzk-cal-ligne:focus-visible + .rzk-cal-ligne { border-top-color: transparent; }
.rzk-cal-ic {
	flex: 0 0 42px; height: 42px; display: grid; place-items: center;
	border-radius: 12px; background: #e7f0ea; color: #3f6a53;
}
.rzk-cal-ic svg { display: block; }
.rzk-cal-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rzk-cal-txt b { font-size: 16px; font-weight: 700; color: #24282d; }
.rzk-cal-txt span { font-size: 13.5px; color: #6b7076; }
.rzk-cal-go { flex: 0 0 auto; font-size: 24px; line-height: 1; color: #b3b6ba; }

.rzk-cal .rzk-cal-texte { margin: 0 4px 16px; padding: 0; font-size: 15px; color: #24282d; }
.rzk-cal .rzk-cal-bouton {
	display: block; width: 100%; box-sizing: border-box; min-height: 0;
	margin: 0 0 10px; padding: 13px 16px;
	border: 0; border-radius: 999px; background: #8db9a1; color: #1d2c25;
	box-shadow: none; font: inherit; font-weight: 700; line-height: 1.25; letter-spacing: normal;
	text-align: center; text-decoration: none; text-transform: none; cursor: pointer;
}
.rzk-cal .rzk-cal-bouton:hover { background: #7cae92; color: #1d2c25; }
.rzk-cal .rzk-cal-bouton--clair { background: #f1efe9; color: #24282d; }
.rzk-cal .rzk-cal-bouton--clair:hover { background: #e7e3d9; color: #24282d; }

.rzk-cal .rzk-cal-etat { margin: 10px 4px 0; padding: 0; font-size: 13.5px; font-weight: 700; color: #3f6a53; overflow-wrap: anywhere; }
.rzk-cal .rzk-cal-pied { margin: 12px 4px 0; padding: 0; font-size: 13px; color: #6b7076; }
.rzk-cal .rzk-cal-etat:empty,
.rzk-cal .rzk-cal-pied:empty { display: none; }
.rzk-cal .rzk-cal-lien {
	display: inline; min-height: 0; margin: 0; padding: 0;
	border: 0; background: none; box-shadow: none;
	font: inherit; font-weight: 700; line-height: inherit; letter-spacing: normal;
	color: #3f6a53; text-decoration: underline; text-underline-offset: 2px; text-transform: none; cursor: pointer;
}
.rzk-cal .rzk-cal-lien:hover { color: #24282d; }

.rzk-cal a:focus-visible,
.rzk-cal button:focus-visible { outline: 2px solid #5f8a72; outline-offset: 2px; }

/* Sur téléphone : une feuille qui monte du bas, à portée de pouce. */
@media (max-width: 520px) {
	.rzk-cal { align-items: flex-end; padding: 0; }
	.rzk-cal-carte {
		max-width: none; max-height: 92vh; border-radius: 22px 22px 0 0;
		padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		transform: translateY(24px);
	}
}
@media (prefers-reduced-motion: reduce) {
	.rzk-cal, .rzk-cal-carte { transition: none; }
}
