/*
Theme Name: My Mum
Theme URI: https://mymum.ee
Author: Lep
Author URI: https://lep.ee
Description: Kerge klassikaline teema My Mum toidublogile. Asendab Elementori, Elementor Pro, Header Footer Elementori, Ivory Searchi ja Instagram Feedi pluginaid. Seaded: Välimus → Kohanda → My Mum.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mymum
*/

/* ---------- Tokens ---------- */
:root {
	--mm-orange: #EA7034;
	--mm-orange-badge: #F28B4B;
	--mm-gold: #D38B2F;
	--mm-cream: #F7E8CB;
	--mm-card: #FFF7EA;
	--mm-card-border: #EFE1C8;
	--mm-heading: #222222;
	--mm-heading-2: #333333;
	--mm-title: #2B231D;
	--mm-text: #5D5D5D;
	--mm-line: #CCCCCC;
	--mm-font: "Poppins", Arial, sans-serif;
	--mm-hand: "Just Another Hand", cursive;
	--mm-display: "Yeseva One", Georgia, serif;
	--mm-wrap: 1520px;
	--mm-gutter: clamp(16px, 2.5vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--mm-text);
	font-family: var(--mm-font);
	font-size: 16px;
	line-height: 26px;
	letter-spacing: -0.1px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mm-orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--mm-gold); }
h1, h2, h3, h4, h5, h6 { color: var(--mm-heading); font-family: var(--mm-font); margin: 0 0 .6em; line-height: 1.2; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px;
	margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 18px; background: #fff; color: var(--mm-heading);
}
.mm-wrap { max-width: var(--mm-wrap); margin: 0 auto; padding: 0 var(--mm-gutter); }
.mm-narrow { max-width: 1140px; margin: 0 auto; padding: 0 var(--mm-gutter); }

/* ---------- Header ---------- */
.mm-topbar { background: #fff; height: 50px; }
.mm-topbar .mm-wrap { height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.mm-social { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; align-items: center; }
.mm-social a { display: inline-flex; color: #000; padding: 4px; }
.mm-social a:hover { color: var(--mm-orange); }
.mm-social svg { width: 15px; height: 15px; fill: currentColor; }
.mm-social--orange a { color: var(--mm-orange); }
.mm-social--orange a:hover { color: var(--mm-heading); }
.mm-social--orange svg { width: 21px; height: 21px; }
.mm-social--orange { gap: 29px; }

.mm-navbar { background: var(--mm-cream); height: 67px; position: relative; }
.mm-navbar .mm-wrap { height: 100%; display: flex; align-items: center; justify-content: flex-end; position: relative; }
.mm-logo {
	position: absolute; left: calc(var(--mm-gutter) + 6%); top: -34px; z-index: 5;
	width: 143px; height: 143px; border-radius: 50%; overflow: hidden; display: block;
}
.mm-logo img { width: 100%; height: 100%; object-fit: cover; }
.mm-logo--text { background: var(--mm-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mm-hand); font-size: 40px; }
.mm-menu { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; }
.mm-menu > li { position: relative; }
.mm-menu a {
	display: block; padding: 25px 0; margin-right: 21px; margin-left: 21px;
	color: #000; font-size: 17px; line-height: 17px; font-weight: 500; letter-spacing: 6.2px; text-transform: capitalize;
}
.mm-menu a:hover, .mm-menu .current-menu-item > a, .mm-menu .current_page_item > a, .mm-menu .current-menu-ancestor > a { color: var(--mm-orange); }
.mm-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; list-style: none; margin: 0; padding: 8px 0;
	box-shadow: 0 6px 18px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 20;
}
.mm-menu li:hover > .sub-menu, .mm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mm-menu .sub-menu a { padding: 10px 18px; margin: 0; font-size: 14px; letter-spacing: 2px; line-height: 20px; }
.mm-header-search { margin-left: 12px; position: relative; }
.mm-search-toggle {
	background: none; border: 0; cursor: pointer; color: #000; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.mm-search-toggle:hover { color: var(--mm-orange); }
.mm-search-toggle svg { width: 18px; height: 18px; }
.mm-header-search .mm-search { position: absolute; right: 0; top: calc(100% + 11px); width: 300px; display: none; z-index: 30; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.mm-header-search.is-open .mm-search { display: flex; }
.mm-header-spacer { height: 70px; background: #fff; }
.mm-social--mobile { display: none; }

.mm-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; color: #000; }
.mm-burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: .2s; }
.mm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Search form ---------- */
.mm-search { display: flex; background: #fff; border-radius: 200px; overflow: hidden; }
.mm-search input[type="search"] {
	flex: 1; min-width: 0; border: 0; background: transparent; height: 52px; padding: 0 18px; color: var(--mm-text); outline: none; font-size: 16px;
}
.mm-search button { border: 0; background: transparent; color: var(--mm-heading); width: 52px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mm-search button:hover { color: var(--mm-orange); }
.mm-search button svg { width: 18px; height: 18px; }
.mm-search:focus-within { box-shadow: 0 0 0 2px var(--mm-orange); }

/* ---------- Section heading with hand-drawn underline ---------- */
.mm-headline {
	text-align: center; font-size: 32px; font-weight: 600; text-transform: uppercase; letter-spacing: 5px; line-height: 1;
	color: var(--mm-heading-2); margin: 0;
}
.mm-headline__text { position: relative; display: inline-block; padding-bottom: 14px; }
.mm-headline svg { position: absolute; left: 0; bottom: -12px; width: 100%; height: 26px; overflow: visible; pointer-events: none; }
.mm-headline path { fill: none; stroke: var(--mm-orange); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
.js .mm-headline path { stroke-dashoffset: 600; transition: stroke-dashoffset 1.2s ease; }
.js .mm-headline.is-visible path { stroke-dashoffset: 0; }
.mm-headline--sm { font-size: 20px; letter-spacing: 4px; }
.mm-headline--sm .mm-headline__text { padding-bottom: 8px; }
.mm-headline--sm svg { height: 16px; bottom: -8px; }
.mm-headline--sm path { stroke-width: 7; }
.mm-headline--page { font-size: 33px; }
.mm-section-head { padding: 60px 0 56px; }

/* ---------- Intro ---------- */
.mm-intro { text-align: center; font-size: 18px; line-height: 26px; color: var(--mm-text); padding: 10px 0 0; }
.mm-intro p { margin: 0 0 12px; }
.mm-intro p:last-child { margin: 0; }

/* ---------- Cards ---------- */
.mm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.mm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-card {
	background: var(--mm-card); border: 1px solid var(--mm-card-border); border-radius: 18px; overflow: hidden;
	box-shadow: 0 6px 18px rgba(0,0,0,.08); display: flex; flex-direction: column; position: relative;
	transition: transform .25s ease, box-shadow .25s ease;
}
.mm-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.mm-card__thumb { display: block; position: relative; height: 220px; background: #e9dfcf; overflow: hidden; }
.mm-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mm-card:hover .mm-card__thumb img { transform: scale(1.04); }
.mm-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,0) 75%); }
.mm-card__badge {
	position: absolute; top: 0; right: 0; margin: 14px; z-index: 2;
	background: var(--mm-orange-badge); color: #fff; font-size: 11px; font-weight: 700; line-height: 11px; letter-spacing: 1px; text-transform: uppercase;
	padding: 7px 13px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.16);
}
.mm-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.mm-card__title { font-size: 22px; font-weight: 700; line-height: 26.4px; letter-spacing: normal; margin: 0 0 8px; }
.mm-card__title a { color: var(--mm-title); }
.mm-card__title a:hover { color: var(--mm-orange); }
.mm-card__excerpt { font-size: 16px; line-height: 26px; color: var(--mm-text); margin: 0 0 18px; }
.mm-card__excerpt p { margin: 0; }
.mm-card__more {
	margin-top: auto; color: var(--mm-gold); font-size: 14px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; line-height: 16.8px;
}
.mm-card__more:hover { color: var(--mm-orange); }
.mm-card__date { font-size: 13px; color: #8a8178; border-top: 1px solid var(--mm-card-border); padding: 12px 18px; margin: 0; }
.mm-grid--3 .mm-card__thumb { height: 180px; }
.mm-grid--3 .mm-card__title { font-size: 18px; line-height: 22px; }

/* ---------- Find a recipe band ---------- */
.mm-finder { background: var(--mm-cream); margin: 80px 0 0; padding: 4px 0; }
.mm-finder .mm-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 152px; flex-wrap: wrap; }
.mm-finder__search { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.mm-finder__title { font-size: 18px; font-weight: 600; letter-spacing: 5px; color: var(--mm-heading); text-transform: uppercase; margin: 0; }
.mm-finder__search .mm-search { width: 260px; }
.mm-finder__cats { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.mm-finder__cats a { display: block; width: 130px; transition: transform .25s; }
.mm-finder__cats a:hover { transform: scale(1.06); }

/* ---------- Partners ---------- */
.mm-partners { padding: 60px 0 40px; text-align: center; }
.mm-partners__title { font-size: 32px; font-weight: 600; text-transform: uppercase; letter-spacing: 5px; color: var(--mm-heading); margin: 0 0 30px; line-height: 1; }
.mm-partners__list { display: flex; justify-content: center; align-items: center; gap: 48px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.mm-partners__list img { width: 150px; height: 150px; object-fit: contain; }

/* ---------- Button ---------- */
.mm-btn-link {
	display: inline-block; color: var(--mm-orange); font-size: 20px; font-weight: 500; line-height: 24px; letter-spacing: 2px; text-transform: uppercase;
	padding: 20px 40px 18px; transition: transform .2s, color .2s;
}
.mm-btn-link:hover { transform: scale(1.05); color: var(--mm-gold); }
.mm-btn {
	display: inline-block; background: var(--mm-orange); color: #fff; border: 0; border-radius: 14px; padding: 12px 26px;
	font-size: 16px; font-weight: 500; line-height: 1.2; cursor: pointer; transition: background .2s, transform .2s;
}
.mm-btn:hover { background: var(--mm-gold); color: #fff; transform: scale(1.04); }
.mm-center { text-align: center; }
.mm-more { padding: 40px 0 0; }

/* ---------- Quote band ---------- */
.mm-quote { background: var(--mm-orange); min-height: 135px; display: flex; align-items: center; margin: 60px 0 0; padding: 24px 0; }
.mm-quote blockquote { margin: 0; text-align: center; color: #fff; font-family: var(--mm-hand); font-size: 32px; line-height: 40px; font-weight: 400; }
.mm-quote blockquote p { margin: 0; }
.mm-quote cite { display: block; font-style: normal; }

/* ---------- Instagram CTA ---------- */
.mm-insta { text-align: center; padding: 40px 0 0; }
.mm-insta a { display: inline-flex; align-items: center; gap: 10px; background: #408bd1; color: #fff; padding: 10px 18px; border-radius: 4px; font-size: 14px; font-weight: 500; }
.mm-insta a:hover { background: #2f6fa9; color: #fff; }
.mm-insta svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Footer ---------- */
.mm-footer { background: var(--mm-cream); margin-top: 130px; }
.mm-footer__main { padding: 3% 4%; display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; max-width: var(--mm-wrap); margin: 0 auto; }
.mm-footer__col { font-size: 18px; line-height: 26px; color: var(--mm-text); }
.mm-footer__col p { margin: 0 0 20px; }
.mm-footer__col--right { text-align: right; }
.mm-footer__col--right p { margin: 0 0 6px; }
.mm-footer__logo img { width: 157px; }
.mm-footer__bottom { text-align: center; font-size: 16px; color: var(--mm-text); padding: 10px var(--mm-gutter) 14px; }
.mm-footer__bottom a { color: var(--mm-text); }
.mm-footer__bottom a:hover { color: var(--mm-orange); }

/* ---------- Single / sidebar layout ---------- */
.mm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 338px; gap: 48px; max-width: 1140px; margin: 0 auto; padding: 0 var(--mm-gutter); }
.mm-entry-head { text-align: center; padding: 10px 0 36px; }
.mm-entry-date { display: block; margin-top: 30px; color: var(--mm-heading-2); font-size: 16px; }
.mm-featured { margin: 0 0 30px; }
.mm-featured img { margin: 0 auto; }
.entry-content { color: var(--mm-text); font-size: 16px; line-height: 26px; overflow-wrap: break-word; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content img { margin: 1em auto; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.entry-content blockquote { border-left: 4px solid var(--mm-orange); margin: 1.5em 0; padding: .4em 0 .4em 1.2em; font-style: italic; }
.entry-content figure { margin: 1.5em 0; }
.entry-content iframe { max-width: 100%; }
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: #8a8178; text-align: center; }

.mm-postnav { display: flex; justify-content: space-between; gap: 24px; padding: 40px 0 30px; border-bottom: 1px solid var(--mm-line); margin-bottom: 50px; }
.mm-postnav a { display: flex; align-items: center; gap: 12px; color: var(--mm-heading); max-width: 48%; }
.mm-postnav a:hover { color: var(--mm-orange); }
.mm-postnav__label { display: block; font-size: 13px; color: var(--mm-text); }
.mm-postnav__title { display: block; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; font-size: 14px; line-height: 1.3; }
.mm-postnav__next { margin-left: auto; text-align: right; }
.mm-postnav svg { width: 14px; height: 14px; flex: 0 0 auto; }
.mm-related .mm-headline { margin-bottom: 36px; }

.mm-sidebar > * + * { border-top: 1px solid var(--mm-line); margin-top: 30px; padding-top: 30px; }
.mm-about { text-align: center; }
.mm-about img { width: 206px; height: 206px; object-fit: cover; border-radius: 50%; margin: 0 auto 20px; }
.mm-about p { font-size: 15px; line-height: 24px; text-align: center; }
.mm-book { text-align: center; }
.mm-book .mm-headline { margin-bottom: 24px; }
.mm-book img { margin: 0 auto 20px; width: 100%; max-width: 317px; }
.mm-side-social { display: flex; justify-content: center; }
.mm-popular .mm-headline { margin-bottom: 26px; }
.mm-popular ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.mm-popular li a { display: grid; grid-template-columns: 93px 1fr; gap: 14px; align-items: center; color: var(--mm-heading); }
.mm-popular img { width: 93px; height: 79px; object-fit: cover; border-radius: 6px; }
.mm-popular .mm-popular__title { display: block; font-size: 16px; line-height: 21px; font-weight: 500; }
.mm-popular a:hover .mm-popular__title { color: var(--mm-orange); }
.mm-popular time { font-size: 13px; color: #8a8178; }

/* ---------- Archive list ---------- */
.mm-list { display: grid; gap: 40px; }
.mm-list__item { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.mm-list__thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: #e9dfcf; }
.mm-list__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mm-list__item:hover .mm-list__thumb img { transform: scale(1.04); }
.mm-list__title { font-size: 22px; line-height: 28px; font-weight: 700; margin: 0 0 10px; }
.mm-list__title a { color: var(--mm-title); }
.mm-list__title a:hover { color: var(--mm-orange); }
.mm-list__excerpt { margin: 0 0 12px; }
.mm-list .mm-card__more { font-size: 13px; }
.mm-empty { text-align: center; padding: 40px 0; }
.mm-empty .mm-search { max-width: 420px; margin: 20px auto 0; border: 1px solid var(--mm-card-border); }

/* ---------- Pagination ---------- */
.mm-pagination { margin: 56px 0 0; display: flex; justify-content: center; }
.mm-pagination .nav-links, .mm-pagination ul { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.mm-pagination .page-numbers {
	display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px;
	background: var(--mm-card); border: 1px solid var(--mm-card-border); color: var(--mm-heading); font-weight: 500;
}
.mm-pagination .page-numbers.current, .mm-pagination a.page-numbers:hover { background: var(--mm-orange); border-color: var(--mm-orange); color: #fff; }
.mm-pagination .dots { background: none; border: 0; }

/* ---------- Recipes overview (category pages grid) ---------- */
.mm-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mm-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #e9dfcf; }
.mm-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mm-tile::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); transition: background .3s; }
.mm-tile__label {
	position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
	color: #fff; font-size: 20px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.mm-tile:hover img { transform: scale(1.06); }
.mm-tile:hover::after { background: rgba(234,112,52,.55); }

/* ---------- Page (generic / Minust) ---------- */
.mm-page { max-width: 1140px; margin: 0 auto; padding: 0 var(--mm-gutter); }
.mm-contact { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: var(--mm-card); border: 1px solid var(--mm-card-border); border-radius: 18px; padding: 36px 40px; margin: 60px 0 0; }
.mm-contact__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--mm-orange); color: #fff; display: flex; align-items: center; justify-content: center; }
.mm-contact__icon svg { width: 30px; height: 30px; fill: currentColor; }
.mm-contact h2 { font-size: 26px; font-weight: 600; margin: 0 0 6px; }
.mm-contact p { margin: 0 0 8px; }
.mm-contact a.mm-contact__mail { font-size: 18px; font-weight: 600; }

/* ---------- Book popup ---------- */
.mm-popup {
	position: fixed; inset: 0; z-index: 9999; display: none; align-items: stretch; justify-content: flex-end; background: rgba(0,0,0,.35);
}
.mm-popup.is-open { display: flex; }
.mm-popup__panel {
	position: relative; background: #fff; width: min(820px, 100%); min-height: 495px; margin: auto 0; display: grid; grid-template-columns: 1fr 1fr;
	border-top: 1px solid #000; border-left: 1px solid #000; animation: mmSlideIn 1.2s ease both;
}
@keyframes mmSlideIn { from { transform: translateX(100%); } to { transform: none; } }
.mm-popup__content { padding: 40px 12%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 18px; }
.mm-popup__title { font-family: var(--mm-display); font-size: 40px; line-height: 1.1; font-weight: 400; color: #000; margin: 0; }
.mm-popup__text { margin: 0; }
.mm-popup__later { background: none; border: 0; color: var(--mm-text); text-decoration: underline; cursor: pointer; padding: 8px; }
.mm-popup__media { background: var(--mm-cream); display: flex; align-items: center; justify-content: center; padding: 30px; }
.mm-popup__media img { max-height: 440px; width: auto; }
.mm-popup__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: #000; z-index: 2; }
.mm-popup__close:hover { color: #ababab; }
.mm-popup__close svg { width: 19px; height: 19px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.mm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mm-grid > .mm-card:nth-child(4) { display: none; }
	.mm-grid.mm-grid--all > .mm-card:nth-child(4) { display: flex; }
	.mm-layout { grid-template-columns: 1fr; }
	.mm-sidebar { max-width: 520px; margin: 40px auto 0; width: 100%; }
	.mm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mm-menu a { margin-left: 14px; margin-right: 14px; letter-spacing: 4px; }
	.mm-logo { width: 120px; height: 120px; top: -26px; left: var(--mm-gutter); }
}
@media (max-width: 767px) {
	.mm-topbar { display: none; }
	.mm-header-spacer { height: 0; }
	.mm-navbar { height: auto; }
	.mm-navbar .mm-wrap { height: 78px; justify-content: space-between; }
	.mm-logo { position: static; width: 64px; height: 64px; }
	.mm-burger { display: block; }
	.mm-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--mm-cream); z-index: 40; padding: 8px var(--mm-gutter) 20px;
		box-shadow: 0 10px 18px rgba(0,0,0,.08);
	}
	.mm-nav.is-open { display: block; }
	.mm-menu { flex-direction: column; align-items: stretch; }
	.mm-menu a { margin: 0; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
	.mm-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0 16px; }
	.mm-header-search { margin: 16px 0 0; }
	.mm-header-search .mm-search-toggle { display: none; }
	.mm-header-search .mm-search { display: flex; position: static; width: 100%; box-shadow: none; }
	.mm-nav .mm-social--mobile { display: flex; margin-top: 16px; justify-content: center; }

	.mm-grid, .mm-grid--3 { grid-template-columns: 1fr; row-gap: 32px; }
	.mm-grid > .mm-card:nth-child(4) { display: flex; }
	.mm-headline { font-size: 24px; letter-spacing: 3px; }
	.mm-section-head { padding: 48px 0 40px; }
	.mm-finder .mm-wrap { flex-direction: column; justify-content: center; padding-top: 28px; padding-bottom: 28px; }
	.mm-finder__search { flex-direction: column; }
	.mm-finder__cats { justify-content: center; }
	.mm-finder__cats a { width: 96px; }
	.mm-partners__list { gap: 20px; }
	.mm-partners__list img { width: 120px; height: 120px; }
	.mm-partners__title { font-size: 24px; letter-spacing: 3px; }
	.mm-footer { margin-top: 80px; }
	.mm-footer__main { grid-template-columns: 1fr; text-align: center; padding: 40px var(--mm-gutter); }
	.mm-footer__col--right { text-align: center; }
	.mm-footer .mm-social { justify-content: center; }
	.mm-footer__logo img { margin: 0 auto; }
	.mm-list__item { grid-template-columns: 1fr; gap: 16px; }
	.mm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mm-tile__label { font-size: 15px; letter-spacing: 2px; }
	.mm-postnav { flex-direction: column; }
	.mm-postnav a { max-width: 100%; }
	.mm-contact { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
	.mm-contact__icon { margin: 0 auto; }
	.mm-popup__panel { grid-template-columns: 1fr; min-height: 0; margin: auto 0 0; }
	.mm-popup__media { display: none; }
	.mm-popup__title { font-size: 30px; }
	.mm-quote blockquote { font-size: 28px; line-height: 34px; }
	.alignleft, .alignright { float: none; margin: 1em auto; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .mm-headline path { stroke-dashoffset: 0; }
}
