/*
Theme Name: Mo'Move
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for Stichting Mo'Move, in the colours and logo of the original momove.org.
Version: 1.0.2
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: momove
*/

/* Strip of the cowrie-shell pattern from the original site, used as a decorative band. */
.momove-band {
	height: 18px;
	background: url(assets/cowrie.jpg) repeat-x center / auto 100%;
	opacity: 0.55;
}

/* Main menu: the active page gets the brown "pill" the old site had. */
.momove-header .wp-block-navigation .wp-block-pages-list__item > a,
.momove-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.3em 0.8em;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.momove-header .wp-block-navigation .wp-block-pages-list__item > a:hover,
.momove-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--accent-2);
}
.momove-header .wp-block-navigation .current-menu-item > a,
.momove-header .wp-block-navigation .current-menu-item > a:hover {
	background: var(--wp--preset--color--accent-4);
	color: var(--wp--preset--color--base);
}
/* Mobile overlay menu: no pills, just a clear list. */
.momove-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-pages-list__item > a {
	padding: 0.2em 0;
	background: none !important;
	color: inherit !important;
}
.momove-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > a {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

/* Old content has many small photos; keep them from stretching beyond their real size. */
.entry-content .wp-block-image.size-full img {
	width: auto;
	max-width: 100%;
	height: auto;
}
.entry-content .wp-block-image,
.entry-content .wp-block-gallery {
	margin-block: var(--wp--preset--spacing--40);
}
.entry-content .wp-block-image img,
.entry-content .wp-block-gallery img {
	border-radius: 6px;
}
.entry-content h2.wp-block-heading {
	margin-top: var(--wp--preset--spacing--50);
}

/* Small screens: logo and menu button on one row. */
@media (max-width: 600px) {
	.momove-header .wp-block-site-logo img {
		width: min(300px, 60vw);
		height: auto;
	}
	.momove-header > .wp-block-group {
		flex-wrap: nowrap;
	}
}
