/* Nosh with Mikki — extra theme styles (loaded after the theme.json-generated CSS). */

/* ---- Header (eggplant) ---- */
.nwm-site-header {
	background: #4B1E6E;
	color: #FDFBF7;
}
.nwm-site-header a {
	color: #FDFBF7;
	text-decoration: none;
}
.nwm-site-header a:hover {
	color: #E6D5F5;
}
.nwm-site-header .wp-block-navigation__responsive-container a {
	color: #2C2433;
}
.nwm-site-title {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	font-size: 1.6rem;
	color: #FDFBF7;
}

/* ---- Tag/badge pills ---- */
.nwm-badges a {
	display: inline-block;
	background: #E6D5F5;
	color: #4B1E6E;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	margin: 0 0.4rem 0.4rem 0;
	text-decoration: none;
}
.nwm-badges a:hover {
	background: #B565D8;
	color: #fff;
}
.nwm-badges .wp-block-post-terms__separator {
	display: none;
}

/* ---- Recipe cards in query loops ---- */
.nwm-recipe-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(75, 30, 110, 0.10);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}
.nwm-recipe-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(75, 30, 110, 0.16);
}
.nwm-recipe-card .wp-block-post-title a {
	color: #2C2433;
	text-decoration: none;
}
.nwm-recipe-card .wp-block-post-title a:hover {
	color: #7B2FBE;
}

/* ---- Author box ---- */
.nwm-author-box {
	background: #fff;
	border: 1px solid #E6D5F5;
	border-radius: 16px;
}

/* ---- Footer ---- */
.nwm-site-footer {
	background: #2C2433;
	color: #E6D5F5;
}
.nwm-site-footer a {
	color: #E6D5F5;
}
.nwm-site-footer a:hover {
	color: #B565D8;
}

/* ---- Single post meta row ---- */
.nwm-meta-row {
	color: #8A7A96;
	font-size: 0.92rem;
}
.nwm-meta-row a {
	color: #7B2FBE;
	font-weight: 600;
}

/* ---- Rounded media ---- */
.nwm-rounded img {
	border-radius: 16px;
}

/* ---- Header logo: larger and more legible on tablet/desktop ---- */
@media (min-width: 768px) {
	.nwm-site-header .wp-block-site-logo img {
		width: 132px !important;
		max-width: none;
		height: auto;
	}
}

/* ---- Hide the theme's featured image on single posts that render a full
   recipe card (the card already shows the photo). Keyed on the rendered
   card, so it works however the recipe was embedded (block, shortcode,
   or Elementor widget). Listings and non-recipe posts (e.g. Torah
   commentary) are unaffected. ---- */
body.single-post:has(.wprm-recipe-ingredients, .wprm-recipe-instructions) .wp-block-post-featured-image {
	display: none;
}
