/* The four More menus cards (Happy hour, Lunch, Drinks, Dessert): one
   component for /menu/, its menu pages and the dish pages (user,
   2026-11-02: the same cards everywhere). Markup:
   template-parts/menu/more-cards.php. Loaded after menu.css. */

/* ---------- More menus (user, 2026-11-02): white cards 140px tall at
   every width, the CTA's rounding (--acs-radius); the dish whole at the
   left (trimmed photos, media/cards: never cut), a little smaller; the
   title (24px from 1024; 20 below, where 24 ran to three lines at 768) and its line
   centred on the card's height; at the right, 20px in, a round arrow: red
   outline, filled red on hover. The card is the link, its border red on
   hover. One a row on phones, two from 768. */
body.acs-menu .m-mcards__list {
	display: grid;
	gap: 1.25rem; /* 20px between the cards at every width (user, 2026-11-03) */
	margin: 0;
	padding: 0;
	list-style: none;
}

body.acs-menu .m-mcard {
	display: grid;
	box-sizing: border-box;
	grid-template-columns: 6.25rem minmax(0, 1fr) auto;
	grid-template-rows: minmax(0, 1fr); /* a definite row: the photo fits its height */
	align-items: center;
	column-gap: 1rem;
	height: 8.75rem; /* 140 */
	padding: 1rem 1.875rem 1rem 0.75rem; /* 30px right of the arrow (user, 2026-11-03; was 20) */
	border: 1px solid var(--acs-line);
	border-radius: var(--acs-radius);
	background: var(--acs-white);
	color: var(--acs-ink);
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.acs-menu .m-mcard:hover {
	border-color: var(--acs-red);
	box-shadow: inset 0 0 0 1px var(--acs-red);
}

body.acs-menu .m-mcard__media {
	display: flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-width: 0;
	padding-block: 0.375rem; /* air over the tallest (the Dessert scoop): never reads as cut (user, 2026-11-02) */
}

body.acs-menu .m-mcard__media img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

body.acs-menu .m-mcard__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-width: 0;
	text-align: left;
}

body.acs-menu .m-mcard__title {
	margin: 0;
	font-family: var(--acs-font-display);
	font-weight: 400;
	font-size: var(--acs-h5-size); /* 20 phones */
	line-height: var(--acs-h5-lh);
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--acs-ink);
}

body.acs-menu .m-mcard__text {
	margin-top: 0.25rem;
	font-size: var(--acs-text-base-size);
	line-height: var(--acs-text-base-lh);
	color: var(--acs-ink-soft);
}

/* The round arrow: red outline and arrow; filled red, white arrow, on hover */
body.acs-menu .m-mcard__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 2.75rem;
	height: 2.75rem;
	border: 2px solid var(--acs-red);
	border-radius: 50%;
	color: var(--acs-red);
	transition: background-color 0.18s ease, color 0.18s ease;
}

body.acs-menu .m-mcard:is(:hover, :focus-visible) .m-mcard__arrow {
	background: var(--acs-red);
	color: var(--acs-white);
}

/* Phones and tablets: an 80px photo column so "Happy hour menu" keeps to
   two lines (it ran to three at 375 and 768; review, 2026-11-02) */
@media (max-width: 1023px) {
	body.acs-menu .m-mcard {
		grid-template-columns: 5rem minmax(0, 1fr) auto;
		column-gap: 0.75rem;
		padding-right: 1.875rem; /* the arrow 30px from the edge at every width (user, 2026-11-03; was 20) */
	}
}

@media (min-width: 768px) {
	body.acs-menu .m-mcards__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (min-width: 1024px) {
	body.acs-menu .m-mcard__title {
		font-size: 1.5rem; /* 24 (user, 2026-11-02) */
		line-height: 2rem;
	}

	body.acs-menu .m-mcard {
		grid-template-columns: 8.5rem minmax(0, 1fr) auto;
		column-gap: 1.5rem;
		padding-left: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.acs-menu .m-mcard,
	body.acs-menu .m-mcard__arrow {
		transition: none;
	}
}

/* Food tiles: a name flagged 'long' in templates/data/menu.php (Hot Honey
   Blueberry Lemonade) 16px on phones so it keeps two lines beside its
   picture (user, 2026-11-02; class from tabs.php / menu-page.php) */
@media (max-width: 767px) {
	body.acs-menu .m-food__name--long {
		font-size: 0.9375rem; /* 15: two lines down to 360 (176px text column); 16 needed three there */
		line-height: 1.375rem;
	}
}

/* Cards → footer on every page that ends with them (/menu/, the menu
   pages, the dish pages): 40px phones / 72 desktop, one gap, the
   footer's (user, 2026-11-03; the page's padding and the cards' margin
   stacked on it: 40 to 240px) */
body.acs-menu .m-page:has(> .m-mcards) {
	padding-bottom: 0;
}

body.acs-menu .m-page > .m-mcards {
	margin-bottom: 0;
}

body.acs-menu:has(.m-page > .m-mcards) .acs-footer {
	margin-top: 2.5rem;
}

@media (min-width: 1024px) {
	body.acs-menu:has(.m-page > .m-mcards) .acs-footer {
		margin-top: 4.5rem;
	}
}


/* Phones: the cards 16px shorter,
   8px off the top and 8 off the bottom, 124px (user, 2026-11-03) */
@media (max-width: 767px) {
	body.acs-menu .m-page .m-mcard {
		height: 7.5625rem; /* 121: 3px shorter again (user, 2026-11-04) */
	}

	/* phones, every page: the arrow 22px from the card's right edge (user,
	   2026-11-04; was 14; 30 from 768) */
	body.acs-menu .m-mcard {
		padding-right: 1.375rem;
	}
}

/* Below 1024, every page (the arrow's 30px left the words 144px at 375
   and 768): a 64px photo, 8px gaps and a 36px arrow, so Dessert menu keeps
   one line from 375 and the lines stay inside the card */
@media (max-width: 1023px) {
	body.acs-menu .m-mcard {
		grid-template-columns: 4rem minmax(0, 1fr) auto;
		column-gap: 0.5rem;
	}

	body.acs-menu .m-mcard__arrow {
		width: 2.25rem;
		height: 2.25rem;
	}
}

/* under 375 a card may grow past 124px rather than its words spill out */
@media (max-width: 374px) {
	body.acs-menu .m-page .m-mcard {
		height: auto;
		min-height: 7.5625rem;
	}

	body.acs-menu .m-page .m-mcard__media img {
		max-height: 5.75rem;
	}
}

/* Option 1's menus on phones (/menu/ and its four menu pages): the bowls
   sit low in their pictures (the soft shadow under them), so each picture
   is lifted 5% to put the bowl's middle on the name and line's middle
   (user, 2026-11-03) */
@media (max-width: 767px) {
	body.acs-menu .m-page--hub .m-food__media img {
		translate: 0 -5%;
	}
}

/* Phones, every tab (and the four menu pages, the same rows):
   4px more between one dish and the next (user, 2026-11-04) */
@media (max-width: 767px) {
	body.acs-menu .m-food__grid {
		row-gap: 0.25rem;
	}
}

/* /menu/ at 1024–1099 (4 a row, the columns 211–230px): a long dish name
   (Hot Honey Blueberry Lemonade) 16px so it keeps to two lines, as on the
   Drinks page (user, 2026-11-05; headings max 2 lines) */
@media (min-width: 1024px) and (max-width: 1099px) {
	body.acs-menu .m-page--hub:not(.m-page--side, .m-page--one1) .m-food__name--long {
		font-size: 1rem;
		line-height: 1.375rem;
	}
}

/* A light shadow under every dish (user, 2026-11-05): the soft contact
   shadow of the Six Wings photo is in every image file itself (media/gen
   had it; media/bowls and media/cutouts had it baked in to match), so no
   CSS shadow here. */
