/*
Theme Name: Medway Makers
Theme URI: https://medwaymakers.com
Author: Medway Makers
Description: A clean, mobile-friendly block theme for Medway Makers — Think it. Make it. Do it.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medwaymakers
*/

/* Small extras that theme.json can't express. */
.mm-card {
	position: relative;
	z-index: 2;
	box-shadow: 0 8px 30px rgba(22, 21, 26, 0.08);
}

.mm-news .wp-block-post {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 1rem 0;
}

.mm-news .wp-block-post-title a {
	text-decoration: none;
}

.wp-block-post-featured-image img,
.wp-block-image img {
	display: block;
}

.wp-block-navigation a:hover,
.mm-footer a:hover {
	color: var(--wp--preset--color--amber);
}

.wp-block-button__link {
	min-height: 44px;
}

@media (max-width: 600px) {
	.mm-hero h1 {
		font-size: 2.75rem !important;
	}
}

/* Keep photo captions in the dark hero subtle. */
.mm-hero .wp-element-caption {
	color: var(--wp--preset--color--soft);
	font-size: 0.75rem;
}

/* No strip of background between header, page and footer. */
.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block-start: 0;
}
