/* YanRain Calendar inherits the child theme's typography and page rhythm. */

.fanfan-calendar-title {
	width: min(100%, 1000px);
	max-width: 1000px;
	margin-bottom: 16px;
}

.fanfan-calendar-content {
	margin-block: 0;
}

.fanfan-calendar-content > :where(p, .wp-block-paragraph) {
	max-width: 680px;
	color: var(--wp--preset--color--muted);
}

.fanfan-calendar-main .yrc-public {
	width: min(100%, 1000px);
	max-width: 1000px;
	font-family: var(--wp--preset--font-family--system-sans);
}

.fanfan-calendar-main .yrc-dialog label {
	font-family: var(--wp--preset--font-family--system-sans);
}

@media (max-width: 700px) {
	.fanfan-calendar-main .yrc-public {
		margin-inline: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fanfan-calendar-main .yrc-public :where(button, a) {
		transition: none;
	}
}
