/* Ruri Starter Restaurant — 한국 프랜차이즈 음식점 스타일 (검정·노랑) */

:root { --rest-radius: 14px; }
body { word-break: keep-all; }
.rest-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.site-main > .wp-block-post-content > * { margin-block: 0; }
.rest-en-title { font-family: var(--wp--preset--font-family--heading); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; margin: 0; letter-spacing: .02em; }
.rest-en-title.is-small { font-size: 1rem; letter-spacing: .12em; color: var(--wp--preset--color--red); }
.rest-section__lead { color: var(--wp--preset--color--muted); margin-top: .75rem; }

/* ── 헤더 ── */
.rest-topbar { font-size: .8125rem; padding-top: .4rem; padding-bottom: .4rem; }
.rest-topbar p { margin: 0; }
.rest-topbar__call { gap: .6rem; align-items: center; }
.rest-topbar__tag { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); font-weight: 800; padding: .1rem .5rem; border-radius: 3px; font-size: .75rem; }
.rest-topbar__phone { font-weight: 800; letter-spacing: .02em; }
.rest-topbar__links a { color: #bbb; text-decoration: none; margin-left: 1.25rem; }
.rest-topbar__links a:hover { color: #fff; }
.site-header { display: contents; }
.rest-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--wp--preset--color--line); padding-top: 1rem; padding-bottom: 1rem; }
.admin-bar .rest-header { top: 32px; }
.rest-logo { gap: .6rem; align-items: baseline !important; }
.rest-header .wp-block-site-title { font-size: 1.6rem; font-weight: 900; letter-spacing: -.04em; }
.rest-logo__since { margin: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: .75rem; letter-spacing: .08em; color: var(--wp--preset--color--ink); background: var(--wp--preset--color--yellow); padding: .05rem .4rem; }
.rest-header .wp-block-navigation { font-weight: 700; }
.rest-header .wp-block-navigation a:hover { color: var(--wp--preset--color--red); }

/* ── 행사 배너 ── */
.rest-hero { --ruri-slides-interval: 5; }
.rest-slide { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3.5rem, 6vw, 5rem); min-height: min(560px, 74vh); display: flex; align-items: center; }
.rest-slide > .wp-block-columns { width: 100%; }
.rest-pill { display: inline-block; margin: 0 0 1.1rem; padding: .35rem 1rem; border-radius: 99px; border: 2px solid currentColor; font-weight: 800; font-size: .875rem; }
.rest-slide__title { font-size: clamp(2.2rem, 4.8vw, 3.9rem) !important; font-weight: 900 !important; line-height: 1.2 !important; letter-spacing: -.04em !important; margin: 0 0 1.1rem; }
.rest-slide__lead { margin: 0 0 2rem; opacity: .85; font-size: 1.0625rem; }
.rest-slide__img { margin: 0 auto; max-width: 470px; }
.rest-slide__img img { width: 100%; height: auto; }
.rest-slide--ink .rest-slide__img img { filter: drop-shadow(0 0 60px rgba(255, 198, 41, .25)); }
.rest-hero .ruri-slides__nav { left: auto; right: max(2.5rem, calc((100% - 1240px) / 2)); transform: none; bottom: 1.5rem; background: rgba(255, 255, 255, .92); color: var(--wp--preset--color--ink); font-weight: 700; }
.wp-block-button.is-style-yellow .wp-block-button__link { background: var(--wp--preset--color--yellow); border-color: var(--wp--preset--color--yellow); color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-yellow .wp-block-button__link:hover { background: #fff; border-color: #fff; }
.wp-block-button.is-style-light .wp-block-button__link { background: #fff; color: var(--wp--preset--color--ink); border-color: #fff; }
.wp-block-button .wp-block-button__link { padding-left: 2rem; padding-right: 2rem; }

/* ── 메뉴 (가로로 넘기기) ── */
.rest-menu .ruri-menu { margin-top: 2.25rem; --ruri-carousel-gap: 1.5rem; }
.rest-menu .ruri-carousel { --ruri-carousel-per-view: 4; padding: 0 .25rem; }
.rest-menu .ruri-menu__tabs { gap: 0; border-bottom: 2px solid var(--wp--preset--color--line); margin-bottom: 2.5rem; }
.rest-menu .ruri-menu__tab { border: 0; border-radius: 0; padding: .8rem 1.5rem; margin-bottom: -2px; border-bottom: 3px solid transparent; font-weight: 700; color: var(--wp--preset--color--muted); opacity: 1; }
.rest-menu .ruri-menu__tab.is-active { background: none; color: var(--wp--preset--color--ink); border-bottom-color: var(--wp--preset--color--yellow); }
.rest-menu .ruri-menu__item { align-items: stretch; text-align: center; padding: .5rem 0 1rem; }
.rest-menu .ruri-menu__img { box-sizing: border-box; aspect-ratio: 1; padding: 2%; margin-bottom: 1.1rem; transition: transform .3s; }
.rest-menu .ruri-menu__item:hover .ruri-menu__img { transform: scale(1.04) rotate(-3deg); }
.rest-menu .ruri-menu__img img { border-radius: 0; aspect-ratio: 1 !important; object-fit: contain; }
.rest-menu .ruri-menu__head { flex-direction: column; align-items: center; gap: .5rem; }
.rest-menu .ruri-menu__dots { display: none; }
.rest-menu .ruri-menu__name { background: var(--wp--preset--color--ink); color: #fff; border-radius: 99px; padding: .45rem 1.25rem; font-weight: 700; font-size: .9375rem; }
.rest-menu .ruri-menu__badge { order: -1; border: 0; background: var(--wp--preset--color--red); color: #fff; font-weight: 800; padding: .15em .7em; margin: 0; }
.rest-menu .ruri-menu__price { font-weight: 800; font-size: 1.0625rem; }
.rest-menu .ruri-menu__desc { font-size: .875rem; color: var(--wp--preset--color--muted); opacity: 1; margin-top: .35rem; }
.rest-menu .ruri-carousel__btn { top: 38%; background: #fff; border: 1px solid var(--wp--preset--color--line); box-shadow: none; }
.rest-menu .ruri-carousel__btn:hover { background: var(--wp--preset--color--yellow); }

/* ── 매장 안내 + 새소식 (노란 띠) ── */
.rest-store { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.rest-store__cols { gap: 0 !important; }
.rest-store__col { padding: 0 clamp(1rem, 3vw, 2.5rem); }
.rest-store__col + .rest-store__col { border-left: 1px solid rgba(0, 0, 0, .15); }
.rest-store__title { font-size: 1.375rem !important; margin: 0 0 1.5rem; }
.rest-store__card { border-radius: var(--rest-radius); padding: 1.5rem 1.75rem; font-size: .9375rem; }
.rest-store__address { font-weight: 800; font-size: 1.0625rem; margin: 0 0 1rem; }
.rest-store__rows { grid-template-columns: 5.5rem 1fr !important; gap: .45rem 1rem !important; }
.rest-store__rows p { margin: 0; }
.rest-store__label { font-weight: 700; color: var(--wp--preset--color--muted); }
.rest-store__card .wp-block-buttons { margin-top: 1.25rem; }
.rest-news .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.rest-news__item { gap: 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(0, 0, 0, .15); }
.rest-news__item:first-child { border-top: 2px solid var(--wp--preset--color--ink); }
.rest-news__title { margin: 0; font-size: 1rem !important; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rest-news__title a { color: inherit; text-decoration: none; }
.rest-news__title a:hover { text-decoration: underline; }
.rest-news__date { font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: .7; }

/* ── 이용 안내 ── */
.rest-service__grid { margin-top: 2.75rem !important; gap: 1.5rem !important; grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 700px) { .rest-service__grid { grid-template-columns: 1fr 1fr !important; } }
.rest-service__icon { margin: 0 auto 1rem; width: 7.5rem; height: 7.5rem; border-radius: 50%; background: var(--wp--preset--color--gray); display: grid; place-items: center; }
.rest-service__icon img { width: 3.5rem; height: 3.5rem; }
.rest-service__item h3 { font-size: 1.125rem !important; margin: 0 0 .35rem; }
.rest-service__item p { margin: 0; color: var(--wp--preset--color--muted); font-size: .9375rem; }

/* ── 예약 ── */
.rest-reserve__cols { gap: clamp(2rem, 5vw, 4rem) !important; }
.rest-reserve h2 { margin: .6rem 0 1rem; }
.rest-call { border-radius: var(--rest-radius); padding: 1.5rem 1.75rem; margin-top: 1.75rem; }
.rest-call p { margin: 0; }
.rest-call__label { color: var(--wp--preset--color--yellow); font-weight: 700; font-size: .875rem; }
.rest-call__num { font-family: var(--wp--preset--font-family--heading); font-weight: 900; font-size: 2rem; letter-spacing: .01em; }
.rest-call__hours { opacity: .75; font-size: .9rem; }
.rest-reserve__form { background: #fff; border-radius: var(--rest-radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.rest-reserve__form .ruri-forms button[type="submit"], .rest-reserve__form button[type="submit"] { background: var(--wp--preset--color--ink); color: #fff; border-radius: 6px; }

/* ── 푸터 ── */
.rest-footer { padding-top: 2.5rem; padding-bottom: 3rem; font-size: .8125rem; color: #666; border-top: 1px solid var(--wp--preset--color--line); }
.rest-footer__links a { color: #333; text-decoration: none; margin: 0 .9rem; font-size: .875rem; }
.rest-footer__call { margin-top: 1.5rem !important; gap: .75rem 1rem; align-items: center; }
.rest-footer__call p { margin: 0; font-weight: 700; color: #333; }
.rest-footer__num { font-family: var(--wp--preset--font-family--heading); font-weight: 900 !important; font-size: 1.6rem; color: var(--wp--preset--color--ink) !important; }
.rest-footer__biz { margin-top: 1.25rem !important; gap: .2rem 1.1rem; }
.rest-footer__biz p { margin: 0; }
.rest-footer__copy { margin-top: .75rem !important; color: #999; }

/* ── 일반 페이지 ── */
.page-main { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--60); }
.page-title { font-size: var(--wp--preset--font-size--x-large) !important; }
.eyebrow { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: .8125rem; letter-spacing: .08em; color: var(--wp--preset--color--red); }

@media (max-width: 900px) {
	.rest-menu .ruri-carousel { --ruri-carousel-per-view: 2.5; }
	.rest-slide { min-height: 0; }
	.rest-slide__img { max-width: 300px; }
	.rest-store__col + .rest-store__col { border-left: 0; margin-top: 2.5rem; }
	.rest-menu .ruri-menu__tab { padding: .7rem 1rem; }
}
@media (max-width: 600px) {
	.rest-menu .ruri-carousel { --ruri-carousel-per-view: 1.6; }
	.rest-topbar__links { display: none; }
	.rest-logo__since { display: none; }
	.rest-hero .ruri-slides__nav { right: 1.25rem; }
}
