/*
Theme Name: MKCGI Demo Restaurant
Theme URI: https://restaurant.mkcgi.com
Author: MKCGI
Description: Gukbap restaurant child theme for MKCGI BIZ demos.
Template: mkbiz-demo-base
Version: 1.0.13
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mkdemo-restaurant
*/

:root {
	--mkd-bg: #fbfbf8;
	--mkd-bg-soft: #f1f3f0;
	--mkd-bg-tint: #f6f7f4;
	--mkd-text: #111412;
	--mkd-muted: #626963;
	--mkd-line: #dfe2de;
	--mkd-accent: #c73522;
	--mkd-accent-deep: #982817;
	--mkd-green: #2f7046;
	--mkd-card: #ffffff;
	--mkd-radius: 4px;
}

/* 최근 소식: 사진(폭 100%, 높이 폭의 60%) 위 + 글 아래 */
.mkd-card__media {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 5 / 3;
	overflow: hidden;
}

.mkd-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mkd-card__body {
	padding: 0.7rem 0.85rem 0.85rem;
}

.mkd-card__date {
	margin-bottom: 0.2rem;
}

.mkd-card__title {
	margin-bottom: 0.2rem;
	font-size: 1rem;
}

.mkd-card__body > p:last-child {
	margin: 0;
	color: var(--mkd-muted, #6f6256);
	font-size: 0.88rem;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (min-width: 761px) {
	.mkd-news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.restaurant-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--mkd-line);
	background: url("assets/hero-gukbap.png") left center / cover no-repeat;
}

.restaurant-hero::before,
.restaurant-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.restaurant-hero::before {
	z-index: 0;
	right: 50%;
	background: rgba(255, 255, 255, 0.76);
	backdrop-filter: blur(1px);
}

.restaurant-hero::after {
	z-index: 0;
	background: linear-gradient(90deg, rgba(251, 251, 248, 0.16) 0%, rgba(251, 251, 248, 0.04) 52%, rgba(251, 251, 248, 0) 100%);
}

.restaurant-hero__photo {
	display: none;
}

.restaurant-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	min-height: calc(100vh - 72px);
}

.restaurant-hero__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 3.6rem) clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4.5rem);
}

.restaurant-hero__copy::before {
	display: none;
}

.restaurant-hero__copy > * {
	position: relative;
	z-index: 1;
}

.restaurant-kicker {
	width: fit-content;
	margin-bottom: 1.2rem;
	padding: 0.4rem 0.6rem;
	border: 1px solid var(--mkd-accent);
	background: rgba(255, 255, 255, 0.78);
	color: var(--mkd-accent);
	font-size: 0.84rem;
	font-weight: 900;
	line-height: 1.15;
}

.restaurant-hero h1 {
	max-width: 10.5em;
	margin-bottom: 1.15rem;
	font-size: clamp(3.25rem, 2.45rem + 3vw, 5rem);
	font-weight: 930;
	letter-spacing: 0;
	line-height: 1.02;
}

.restaurant-hero p {
	max-width: 31rem;
	color: #3f4641;
	font-size: 1.12rem;
	font-weight: 680;
	line-height: 1.6;
}

.restaurant-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0.3rem 0 1.55rem;
}

.restaurant-hero__menu {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 40rem;
	border-top: 2px solid var(--mkd-text);
	border-left: 1px solid var(--mkd-line);
	background: rgba(255, 255, 255, 0.94);
}

.restaurant-hero__menu div {
	padding: 0.95rem;
	border-right: 1px solid var(--mkd-line);
	border-bottom: 1px solid var(--mkd-line);
}

.restaurant-hero__menu b {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.94rem;
	font-weight: 900;
	line-height: 1.25;
}

.restaurant-hero__menu span {
	color: var(--mkd-accent);
	font-size: 1.12rem;
	font-weight: 930;
}

.restaurant-system-strip {
	position: relative;
	z-index: 1;
	align-self: end;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: auto clamp(1.3rem, 3vw, 2rem) clamp(1.3rem, 3vw, 2rem);
	border: 1px solid rgba(223, 226, 222, 0.9);
	background: rgba(251, 251, 248, 0.94);
	backdrop-filter: blur(12px);
	box-shadow: var(--mkd-shadow);
}

.restaurant-system-strip div {
	padding: 1rem;
	border-right: 1px solid var(--mkd-line);
}

.restaurant-system-strip div:last-child {
	border-right: 0;
}

.restaurant-system-strip b {
	display: block;
	margin-bottom: 0.28rem;
	font-size: 0.98rem;
	font-weight: 920;
}

.restaurant-system-strip span {
	display: block;
	color: var(--mkd-muted);
	font-size: 0.8rem;
	font-weight: 680;
	line-height: 1.4;
}

.restaurant-section {
	padding: clamp(3.6rem, 7vw, 5rem) 0;
	border-bottom: 1px solid var(--mkd-line);
}

.restaurant-section--soft {
	background: var(--mkd-bg-soft);
}

.restaurant-head {
	max-width: 46rem;
	margin-bottom: 1.7rem;
}

.restaurant-head--split {
	display: flex;
	max-width: none;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
}

.restaurant-head h2 {
	margin-bottom: 0.55rem;
	font-size: clamp(2rem, 1.55rem + 1.5vw, 2.55rem);
	font-weight: 930;
}

.restaurant-head p {
	max-width: 34rem;
	color: var(--mkd-muted);
	font-size: 1rem;
	font-weight: 640;
	line-height: 1.62;
}

.restaurant-link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 0.2rem;
	color: var(--mkd-text);
	font-size: 0.95rem;
	font-weight: 880;
	white-space: nowrap;
}

.restaurant-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 2px solid var(--mkd-text);
	border-left: 1px solid var(--mkd-line);
	background: var(--mkd-line);
}

.restaurant-menu__item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	align-items: center;
	min-height: 86px;
	padding: 1.1rem;
	border-right: 1px solid var(--mkd-line);
	border-bottom: 1px solid var(--mkd-line);
	background: var(--mkd-card);
}

.restaurant-menu__item b {
	display: block;
	font-size: 1.16rem;
	font-weight: 910;
	line-height: 1.25;
}

.restaurant-menu__item small {
	display: block;
	margin-top: 0.3rem;
	color: var(--mkd-muted);
	font-size: 0.88rem;
	font-weight: 640;
}

.restaurant-menu__item span {
	color: var(--mkd-accent);
	font-size: 1.22rem;
	font-weight: 930;
	white-space: nowrap;
}

.restaurant-flow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 2px solid var(--mkd-text);
	border-left: 1px solid var(--mkd-line);
}

.restaurant-flow article {
	min-height: 150px;
	padding: 1.25rem;
	border-right: 1px solid var(--mkd-line);
	border-bottom: 1px solid var(--mkd-line);
	background: #f8f9f6;
}

.restaurant-flow span {
	display: block;
	margin-bottom: 1.15rem;
	color: var(--mkd-accent);
	font-size: 0.84rem;
	font-weight: 930;
}

.restaurant-flow h3 {
	margin-bottom: 0.55rem;
	font-size: 1.35rem;
	font-weight: 930;
}

.restaurant-flow p {
	margin: 0;
	color: var(--mkd-muted);
	font-size: 0.94rem;
	font-weight: 640;
	line-height: 1.54;
}

.restaurant-location {
	display: grid;
	grid-template-columns: 0.86fr 1.14fr;
	border-top: 2px solid var(--mkd-text);
	background: var(--mkd-card);
}

.restaurant-location__list {
	border-left: 1px solid var(--mkd-line);
}

.restaurant-location__list div {
	display: grid;
	grid-template-columns: 5.4rem 1fr;
	gap: 1rem;
	min-height: 74px;
	padding: 1.1rem;
	border-right: 1px solid var(--mkd-line);
	border-bottom: 1px solid var(--mkd-line);
}

.restaurant-location__list b {
	color: var(--mkd-accent);
	font-size: 0.92rem;
	font-weight: 920;
}

.restaurant-location__list span,
.restaurant-location__list a {
	color: var(--mkd-text);
	font-weight: 730;
}

.restaurant-location__box {
	min-height: 14.5rem;
	display: grid;
	place-items: center;
	padding: 1rem;
	border-right: 1px solid var(--mkd-line);
	border-bottom: 1px solid var(--mkd-line);
	background:
		linear-gradient(90deg, rgba(255,255,255,0.68) 0 1px, transparent 1px 38px),
		linear-gradient(rgba(255,255,255,0.68) 0 1px, transparent 1px 38px),
		#dce2dd;
	color: #4d5650;
	font-weight: 900;
	text-align: center;
}

.restaurant-sticky-cta {
	position: sticky;
	bottom: 0;
	z-index: 9;
	display: none;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--mkd-line);
	background: rgba(251, 251, 248, 0.97);
}

.restaurant-sticky-cta a {
	display: grid;
	min-height: 54px;
	place-items: center;
	border-right: 1px solid var(--mkd-line);
	color: var(--mkd-text);
	font-size: 0.92rem;
	font-weight: 900;
}

.restaurant-sticky-cta a:first-child {
	background: var(--mkd-text);
	color: #fff;
}

.restaurant-sticky-cta a:last-child {
	border-right: 0;
}

@media (max-width: 820px) {
	.restaurant-hero {
		background-position: left center;
	}

	.restaurant-hero::before {
		right: 48%;
		background: rgba(255, 255, 255, 0.72);
	}

	.restaurant-hero__inner {
		display: grid;
		grid-template-columns: 1fr;
		min-height: 360px;
		width: 100%;
	}

	.restaurant-hero__photo {
		display: none;
	}

	.restaurant-hero__copy {
		display: flex;
		width: 58%;
		min-width: 0;
		justify-content: center;
		padding: 1.25rem 0.85rem 1.25rem 1rem;
	}

	.restaurant-hero__copy::before {
		display: none;
	}

	.restaurant-kicker {
		display: none;
	}

	.restaurant-hero h1 {
		max-width: 7.8em;
		margin-bottom: 0;
		font-size: 1.62rem;
		line-height: 1.04;
	}

	.restaurant-hero p,
	.restaurant-actions,
	.restaurant-hero__menu {
		display: none;
	}

	.restaurant-system-strip {
		display: none;
	}

	.restaurant-section {
		padding: 2rem 0;
	}

	.restaurant-head--split {
		display: block;
	}

	.restaurant-head h2 {
		font-size: 1.75rem;
	}

	.restaurant-menu,
	.restaurant-flow,
	.restaurant-location {
		grid-template-columns: 1fr;
	}

	.restaurant-menu__item {
		min-height: 76px;
		padding: 1rem;
	}

	.restaurant-menu__item b {
		font-size: 1.04rem;
	}

	.restaurant-menu__item span {
		font-size: 1.05rem;
	}

	.restaurant-flow article {
		min-height: 0;
	}

	.restaurant-location__list div {
		grid-template-columns: 4.3rem 1fr;
	}

	.restaurant-location__box {
		min-height: 11rem;
	}

	.restaurant-sticky-cta {
		display: grid;
	}
}
