@font-face {
	font-family: 'CrayonHand';
	src: url('../fonts/Crayon_Hand-Regular.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: 'PPEditorialOld';
	src: url('../fonts/PPEditorialOld-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'PPEditorialOld';
	src: url('../fonts/PPEditorialOld-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--accent: #c8a96e;
	--bg: #0f1011;
	--body-font: 'CrayonHand', cursive;
	--desc-font: var(--body-font);
	--heading-font: 'CrayonHand', cursive;
	--muted: #cbc3b5;
	--price-font: var(--body-font);
	--section-case: uppercase;
	--steak-scale: .75;
	--steak-cut-scale-floor: 0.88;
	--text: #efe8dc;
	--gap-columns: calc(50px * 1.05);
	--gap-center-right-extra: 30px;
	--size-item-name: clamp(1.2rem, 2.3vw, 2.1rem);
	--size-specials-name: clamp(1.5rem, 2.85vw, 2.6rem);
	--size-body: clamp(1.28rem, 2.02vw, 30px);
	--size-body-cap: 30px;
	--size-steak-chip: clamp(1.5rem, 2.35vw, 36px);
}

body.cdsb-font-editorial {
	--body-font: 'PPEditorialOld', serif;
	--desc-font: 'PPEditorialOld', serif;
	--heading-font: 'PPEditorialOld', serif;
	--price-font: 'PPEditorialOld', serif;
}

html:has(body.cdsb-standalone),
body.cdsb-standalone {
	margin: 0;
	min-height: 100%;
	height: 100%;
}

body.cdsb-standalone {
	background-color: var(--bg);
	background-image: url('../images/corndance-specials-board-background-chalk-board.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow-x: hidden;
}

body.cdsb-standalone::before {
	content: '';
	position: fixed;
	inset: 0;
	background: rgba(7, 7, 7, 0.24);
	pointer-events: none;
	z-index: 0;
}

body.cdsb-display-page .cdsb-display-main {
	position: relative;
	box-sizing: border-box;
	margin: 0;
	margin-block-start: 0;
	--wp--style--block-gap: 0;
	padding-bottom: 2rem;
	background-color: var(--bg);
	background-image: url('../images/corndance-specials-board-background-chalk-board.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	color: var(--text);
}

body.cdsb-display-page .cdsb-display-main::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(7, 7, 7, 0.24);
	pointer-events: none;
	z-index: 0;
}

body.cdsb-display-page .display-stage {
	height: auto;
	min-height: 0;
	overflow: visible;
}

body.cdsb-display-page .display-shell {
	height: auto;
	min-height: 0;
}

.display-stage {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	overflow: hidden;
}

.display-shell {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	padding: 1.15rem 1.25rem 1.2rem;
	color: var(--text);
	font-family: var(--body-font);
	display: flex;
	flex-direction: column;
	background: none;
}

.display-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--gap-columns);
	align-items: stretch;
	flex: 1 1 auto;
	min-height: 0;
}

.display-grid.layout-cols-1 {
	grid-template-columns: minmax(0, 1fr);
}

.display-grid.layout-cols-50-50 {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.display-grid.layout-cols-70-30 {
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
}

.display-grid.layout-cols-30-70 {
	grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
}

.display-column {
	display: flex;
	flex-direction: column;
	gap: .95rem;
	min-width: 0;
	min-height: 0;
	height: 100%;
	--content-scale: 1;
	--content-space-scale: 1;
	position: relative;
}

.board-section {
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: .3rem 0 0;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	backdrop-filter: none;
	overflow: visible;
}

.section-title {
	position: relative;
	margin: 0 0 1rem;
	padding-bottom: 0;
	font-family: var(--heading-font);
	font-weight: 400;
	font-style: normal;
	font-size: clamp(1.4rem, 2.6vw, 2.2rem);
	letter-spacing: 0;
	text-align: left;
	text-transform: var(--section-case);
	color: var(--accent);
	text-shadow: none;
	border-bottom: none;
}

body.cdsb-font-editorial .section-title {
	font-weight: 700;
}

.item-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	flex: 1 1 auto;
}

.board-item {
	text-align: left;
	padding: calc(.9rem * var(--content-space-scale)) 0;
	border-top: none;
}

.board-item:first-child {
	padding-top: calc(.15rem * var(--content-space-scale));
	border-top: none;
}

.item-name {
	display: block;
	font-family: var(--body-font);
	font-weight: 400;
	font-size: calc(var(--size-item-name) * var(--content-scale));
	letter-spacing: 0;
	color: var(--text);
	text-shadow: none;
	text-transform: var(--section-case);
	line-height: 1.1;
}

body.cdsb-font-editorial .item-name {
	font-weight: 600;
}

.section-specials .item-name,
.section-specials .steak-family-name {
	font-size: calc(var(--size-specials-name) * var(--content-scale));
}

.section-specials > .item-list > .board-item:first-child {
	padding-top: 0;
}

.item-name-text,
.item-name-lead {
	display: inline;
}

.item-name-tail {
	display: inline;
	white-space: nowrap;
}

.item-name-content {
	position: relative;
	display: inline;
}

.item-name.is-sold {
	text-decoration: none;
}

.item-name.is-sold .item-name-content::after {
	content: "";
	position: absolute;
	left: -.03em;
	right: -.03em;
	top: 52%;
	height: .48em;
	background-image: url('../images/website-graphic-red-line-dark.png');
	background-repeat: repeat-x;
	background-position: center;
	background-size: auto 100%;
	opacity: .96;
	pointer-events: none;
	transform: translateY(-50%) rotate(-.55deg);
}

.item-name.is-sold .item-price {
	text-decoration: none;
	transform: none;
	vertical-align: baseline;
}

	.item-price {
		display: inline;
		margin-left: 0;
		font-size: inherit;
		font-weight: 300;
		font-style: normal;
		line-height: inherit;
		color: var(--muted);
		transform: none;
		vertical-align: baseline;
		font-family: var(--price-font);
		white-space: nowrap;
		text-transform: none;
	}

	.item-price::before {
		content: "\00a0\00a0";
	}

.item-price-suffix {
	font-size: 0.67em;
}

.item-desc {
	max-width: none;
	margin: calc(.22rem * var(--content-space-scale)) 0 0;
	font-family: var(--desc-font);
	font-weight: 400;
	font-style: normal;
	font-size: min(calc(var(--size-body) * var(--content-scale)), var(--size-body-cap));
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--muted);
}

.section-appetizers .item-desc {
	display: none;
}

.section-specials .item-desc {
	text-align: left;
}

.section-specials .section-steaks-feature {
	text-align: left;
}

.specials-mobile-title {
	display: none;
}

	.section-specials .steak-inline-title {
	margin: 0 0 1rem;
}

.section-specials .steak-feature-group + .steak-feature-group {
	margin-top: calc(1rem * var(--content-space-scale));
}

.section-wines .board-item {
	position: relative;
}

.section-wines .item-list.layout-fill {
	flex: 0 1 auto;
	justify-content: flex-start;
	gap: calc(1.8rem * var(--content-space-scale));
}

.quantity-grid,
.wine-status-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: calc(.38rem * var(--content-space-scale));
	margin-top: calc(.4rem * var(--content-space-scale));
}

.section-wines .wine-status-grid {
	position: static;
	margin-top: calc(.5rem * var(--content-space-scale));
	justify-content: flex-end;
}

.quantity-grid {
	margin-top: calc(.9rem * var(--content-space-scale));
}

.wine-status-grid {
	margin-top: calc(.42rem * var(--content-space-scale));
}

.quantity-chip,
.wine-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.3rem;
	min-height: 1.45em;
	padding: .08em .38em;
	line-height: 1;
	overflow: visible;
}

.quantity-chip {
	border: none;
	border-radius: 0;
	background: none;
	font-family: var(--body-font);
	font-weight: 400;
	font-size: min(calc(var(--size-body) * var(--content-scale)), var(--size-body-cap));
	letter-spacing: 0;
	color: var(--text);
	box-shadow: none;
	min-width: 1.8rem;
	padding: .05em .25em;
}

.section-steaks-feature .quantity-chip {
	font-size: calc(var(--size-steak-chip) * max(var(--steak-cut-scale-floor), var(--content-scale)));
	min-width: 2.2rem;
	padding: .06em .32em;
}

	.quantity-chip .sold-x-icon {
		position: absolute;
		top: 50%;
		left: 50%;
		display: block;
		width: auto;
		height: calc(1.35em * var(--steak-scale));
		max-width: none;
		z-index: 2;
		transform: translate(-50%, -50%);
		pointer-events: none;
	}

.wine-chip {
	border: none;
	background: none;
	border-radius: 0;
	padding: 0;
	min-width: 0;
	min-height: 0;
	filter: none;
	box-shadow: none;
}

.wine-chip img {
	width: calc(clamp(2.4rem, 4.4vw, 3.7rem) * var(--content-scale));
	height: auto;
	display: block;
}

.column-left {
	justify-content: flex-start;
}

.steak-size-list {
	display: block;
	margin-top: 0;
	overflow: visible;
}

.steak-family-name {
	margin-bottom: 0;
}

.section-steaks-feature .quantity-grid {
	overflow: visible;
}

.display-column + .display-column {
	padding-left: 0;
	border-left: none;
}

.display-column.is-tight {
	gap: .72rem;
}

.display-column.is-tight .board-section {
	padding: .15rem 0 0;
}

.display-column.is-tight .section-title {
	margin-bottom: .72rem;
}

.display-column.is-tight .board-item {
	padding: .55rem 0;
}

		.display-column.is-tight .quantity-grid,
		.display-column.is-tight .wine-status-grid {
			gap: .24rem;
	margin-top: .28rem;
}

.display-column.is-tight .quantity-grid {
	margin-top: .58rem;
}

.display-column.is-tight .wine-chip img {
	width: clamp(1.9rem, 3.2vw, 3rem);
}

	.display-column.is-tight .board-section .item-list.layout-fill {
		justify-content: space-between !important;
		gap: .12rem !important;
	}

.display-column.is-ultra-tight {
	gap: .52rem;
}

.display-column.is-ultra-tight .section-title {
	margin-bottom: .58rem;
}

.display-column.is-ultra-tight .board-item {
	padding: .4rem 0;
}

		.display-column.is-ultra-tight .quantity-grid,
		.display-column.is-ultra-tight .wine-status-grid {
			gap: .18rem;
	margin-top: .2rem;
}

.display-column.is-ultra-tight .quantity-grid {
	margin-top: .42rem;
}

.display-column.is-ultra-tight .wine-chip img {
	width: clamp(1.6rem, 2.7vw, 2.55rem);
}

	.display-column.is-ultra-tight .board-section .item-list.layout-fill {
		justify-content: space-between !important;
		gap: .08rem !important;
	}

.display-column.is-max-tight {
	gap: .4rem;
}

.display-column.is-max-tight .section-title {
	margin-bottom: .45rem;
}

.display-column.is-max-tight .board-item {
	padding: .2rem 0;
}

	.display-column.is-max-tight .quantity-grid,
	.display-column.is-max-tight .wine-status-grid {
	gap: .14rem;
	margin-top: .12rem;
}

.display-column.is-max-tight .wine-chip img {
	width: clamp(1.42rem, 2.35vw, 2.18rem);
}

	.display-column.is-max-tight .board-section .item-list.layout-fill {
		justify-content: space-between !important;
		gap: .04rem !important;
	}

	@media (min-width: 1101px) {
		.column-left,
		.column-center,
		.column-right {
			justify-content: stretch;
		}

		.board-section.section-single-item {
			justify-content: flex-start;
		}

		.board-section.section-single-item .item-list.layout-fill {
			flex: 0 1 auto;
			justify-content: flex-start;
		}

		.column-left .section-appetizers,
		.column-left .section-desserts,
		.column-left .section-beers,
		.column-center .section-specials,
		.column-right .section-beers,
		.column-right .section-desserts,
		.column-right .section-wines {
			display: flex;
			flex-direction: column;
			min-height: 0;
		}

		.column-left .section-appetizers {
			flex: var(--section-flex, 5) 1 0;
		}

		.column-left .section-desserts {
			flex: var(--section-flex, 4) 1 0;
		}

		.column-left .section-beers {
			flex: var(--section-flex, 3) 1 0;
		}

		.column-center .section-specials {
			flex: var(--section-flex, 5) 1 0;
		}

		.column-right .section-beers {
			flex: var(--section-flex, 3) 1 0;
		}

		.column-right .section-desserts {
			flex: var(--section-flex, 4) 1 0;
		}

		.column-right .section-wines {
			flex: 0 1 auto;
		}

			.board-section .item-list.layout-fill {
				flex: 1 1 auto;
				justify-content: space-between;
			}

			.board-section.section-wines .item-list.layout-fill {
				flex: 0 1 auto;
				justify-content: flex-start;
				gap: calc(1.8rem * var(--content-space-scale));
			}

			.layout-no-appetizers .column-left .section-beers {
				flex: 1 1 0;
				height: 100%;
				min-height: 0;
			}

			.layout-no-appetizers .column-left .section-beers .item-list.layout-fill {
				flex: 1 1 0;
				min-height: 0;
				justify-content: space-between;
			}

			.display-column.column-right {
				margin-left: var(--gap-center-right-extra);
			}

			.display-column.column-left,
			.display-column.column-right {
				gap: max(
					var(--side-section-gap-min, 40px),
					var(--side-section-gap, var(--side-section-gap-max, 40px))
				);
			}

			.section-specials .section-steaks-feature .item-list.layout-fill {
				justify-content: flex-start;
			}

			.section-specials .section-steaks-feature .quantity-grid {
				justify-content: flex-start;
			}

			.display-grid:not(.layout-cols-1):not(.layout-cols-50-50):not(.layout-cols-70-30):not(.layout-cols-30-70) .column-center .section-title,
			.display-grid:not(.layout-cols-1):not(.layout-cols-50-50):not(.layout-cols-70-30):not(.layout-cols-30-70) .column-center .board-item,
			.display-grid:not(.layout-cols-1):not(.layout-cols-50-50):not(.layout-cols-70-30):not(.layout-cols-30-70) .column-center .item-desc,
			.display-grid:not(.layout-cols-1):not(.layout-cols-50-50):not(.layout-cols-70-30):not(.layout-cols-30-70) .column-center .section-steaks-feature,
			.display-grid:not(.layout-cols-1):not(.layout-cols-50-50):not(.layout-cols-70-30):not(.layout-cols-30-70) .column-center .steak-inline-title,
			.display-grid:not(.layout-cols-1):not(.layout-cols-50-50):not(.layout-cols-70-30):not(.layout-cols-30-70) .column-center .item-name {
				text-align: center;
			}

			.display-grid:not(.layout-cols-1):not(.layout-cols-50-50):not(.layout-cols-70-30):not(.layout-cols-30-70) .column-center .item-desc {
				margin-left: auto;
				margin-right: auto;
			}

			.display-grid:not(.layout-cols-1):not(.layout-cols-50-50):not(.layout-cols-70-30):not(.layout-cols-30-70) .column-center .quantity-grid,
			.display-grid:not(.layout-cols-1):not(.layout-cols-50-50):not(.layout-cols-70-30):not(.layout-cols-30-70) .column-center .section-specials .section-steaks-feature .quantity-grid {
				justify-content: center;
			}

			.display-grid.layout-cols-70-30 .column-center .section-title,
			.display-grid.layout-cols-1 .column-center .section-title,
			.display-grid.layout-cols-30-70 .column-center .section-title,
			.display-grid.layout-cols-50-50 .column-center .section-title,
			.display-grid.layout-cols-70-30 .column-center .board-item,
			.display-grid.layout-cols-1 .column-center .board-item,
			.display-grid.layout-cols-30-70 .column-center .board-item,
			.display-grid.layout-cols-50-50 .column-center .board-item,
			.display-grid.layout-cols-70-30 .column-center .item-desc,
			.display-grid.layout-cols-1 .column-center .item-desc,
			.display-grid.layout-cols-30-70 .column-center .item-desc,
			.display-grid.layout-cols-50-50 .column-center .item-desc,
			.display-grid.layout-cols-70-30 .column-center .section-steaks-feature,
			.display-grid.layout-cols-1 .column-center .section-steaks-feature,
			.display-grid.layout-cols-30-70 .column-center .section-steaks-feature,
			.display-grid.layout-cols-50-50 .column-center .section-steaks-feature,
			.display-grid.layout-cols-70-30 .column-center .steak-inline-title,
			.display-grid.layout-cols-1 .column-center .steak-inline-title,
			.display-grid.layout-cols-30-70 .column-center .steak-inline-title,
			.display-grid.layout-cols-50-50 .column-center .steak-inline-title,
			.display-grid.layout-cols-70-30 .column-center .item-name,
			.display-grid.layout-cols-1 .column-center .item-name,
			.display-grid.layout-cols-30-70 .column-center .item-name,
			.display-grid.layout-cols-50-50 .column-center .item-name {
				text-align: left;
			}

			.display-grid.layout-cols-70-30 .column-center .item-desc,
			.display-grid.layout-cols-1 .column-center .item-desc,
			.display-grid.layout-cols-30-70 .column-center .item-desc,
			.display-grid.layout-cols-50-50 .column-center .item-desc {
				margin-left: 0;
				margin-right: 0;
			}

			.display-grid.layout-cols-70-30 .column-center .quantity-grid,
			.display-grid.layout-cols-1 .column-center .quantity-grid,
			.display-grid.layout-cols-30-70 .column-center .quantity-grid,
			.display-grid.layout-cols-50-50 .column-center .quantity-grid,
			.display-grid.layout-cols-70-30 .column-center .section-specials .section-steaks-feature .quantity-grid,
			.display-grid.layout-cols-1 .column-center .section-specials .section-steaks-feature .quantity-grid,
			.display-grid.layout-cols-30-70 .column-center .section-specials .section-steaks-feature .quantity-grid,
			.display-grid.layout-cols-50-50 .column-center .section-specials .section-steaks-feature .quantity-grid {
				justify-content: flex-start;
			}
		}

@media (max-width: 1100px) {
	.display-stage {
		display: block;
		height: auto;
		overflow: visible;
	}

	.display-shell {
		height: auto;
		min-height: 100vh;
		--mobile-item-gap: 20px;
		--mobile-section-gap: 40px;
	}

	.display-grid {
		display: flex;
		flex-direction: column;
		flex: none;
		gap: 0;
	}

	.board-section {
		margin-top: var(--mobile-section-gap, 40px);
	}

	.section-appetizers {
		margin-top: 0;
	}

	.display-column {
		padding-left: 0 !important;
		border-left: none !important;
	}

	.column-left,
	.column-center,
	.column-right {
		display: contents;
	}

	.board-section {
		padding: 0;
	}

	.board-section .section-title {
		margin: 0 0 var(--mobile-item-gap, 20px);
	}

	.board-section .item-list,
	.board-section .item-list.layout-fill {
		flex: 0 1 auto;
		justify-content: flex-start !important;
		gap: var(--mobile-item-gap, 20px);
	}

	.board-section .board-item,
	.board-section .board-item:first-child {
		padding-top: 0;
		padding-bottom: 0;
	}

	.board-section,
	.board-section .section-title,
	.board-section .board-item,
	.board-section .item-desc,
	.board-section .item-name {
		text-align: left;
	}

	.column-center .item-desc,
	.section-specials .item-desc {
		margin-left: 0;
		margin-right: 0;
		max-width: none;
		text-align: left;
	}

	.section-specials .steak-inline-title {
		margin-bottom: var(--mobile-item-gap, 20px);
	}

	.specials-mobile-title {
		display: block;
	}

	.section-specials .steak-feature-group + .steak-feature-group {
		margin-top: var(--mobile-item-gap, 20px);
	}

	.section-wines .item-list.layout-fill {
		gap: var(--mobile-item-gap, 20px);
	}

	.column-center .item-name {
		text-align: left;
	}

	.column-center .quantity-grid,
	.section-specials .section-steaks-feature,
	.section-specials .section-steaks-feature .quantity-grid {
		justify-content: flex-start;
	}

	.section-appetizers { order: 1; }
	.section-specials   { order: 2; }
	.section-desserts   { order: 4; }
	.section-wines      { order: 5; }
	.section-beers      { order: 6; }
}

@media (max-width: 780px) {
	.display-shell {
		padding: 1rem .8rem 1.35rem;
	}
}
