/* Minimal site header + footer (standalone theme). */

:root {
	--sgr-header-bg: var(--sgr-brand-bg, #f9f8f5);
	--sgr-header-ink: var(--sgr-brand-ink, #020305);
	--sgr-header-link: var(--sgr-brand-ink, #020305);
	--sgr-header-accent: var(--sgr-brand-accent, #e62578);
}

.sgr-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--sgr-header-bg);
	color: var(--sgr-header-ink);
	border-bottom: 1px solid #ececec;
	word-break: keep-all;
}

.sgr-header-inner {
	width: min(1280px, calc(100% - 40px));
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 62px;
	padding-block: 3px;
}

.sgr-brand a,
.sgr-home-footer-brand {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	color: var(--sgr-header-ink);
	font-family: Arial, sans-serif;
	line-height: 1;
	text-decoration: none;
}

.sgr-brand-text {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1;
}

img.sgr-brand-mark {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.sgr-home-brand-word {
	display: block;
	font-size: 0.98rem;
	font-weight: 950;
	letter-spacing: 0.06em;
	line-height: 1;
}

.sgr-home-brand-sub {
	display: block;
	margin-top: 3px;
	font-family: Arial, sans-serif;
	font-size: 0.39rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1;
}

.sgr-primary-nav {
	margin-left: auto;
}

.sgr-menu {
	display: flex;
	align-items: center;
	gap: clamp(8px, 1.3vw, 18px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.sgr-menu a {
	display: block;
	padding: 8px 0;
	color: var(--sgr-header-link);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	border-radius: 0;
	white-space: nowrap;
}

.sgr-menu a:hover,
.sgr-menu .current-menu-item > a {
	color: var(--sgr-brand-accent, #e62578);
	background: transparent;
}

.sgr-menu a[href*="reservation"] {
	background: var(--sgr-header-accent);
	color: #fff;
	font-weight: 700;
	border-radius: 999px;
	padding: 10px 18px;
}

.sgr-menu a[href*="reservation"]:hover {
	background: #c91b65;
	color: #fff;
}

.sgr-nav-toggle {
	display: none;
	margin-left: auto;
	background: transparent;
	border: 0;
	border-radius: 0;
	width: 32px;
	height: 32px;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.sgr-nav-toggle span[aria-hidden] {
	display: block;
	width: 20px;
	height: 2px;
	background: #020305;
}

.skip-link.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: 0;
	background: #fff;
	color: #000;
	padding: 8px 16px;
	z-index: 200;
}

.skip-link.screen-reader-text:focus {
	left: 8px;
	top: 8px;
}

.sgr-site-content {
	display: block;
}

.sgr-primary {
	display: block;
}

.sgr-site-footer {
	background: var(--sgr-brand-dark, #020305);
	color: rgba(255, 255, 255, 0.8);
	margin-top: 0;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.sgr-copyright {
	margin: 0;
}

.sgr-footer-nav {
	margin-left: auto;
	display: flex;
	gap: 20px;
}

.sgr-footer-nav a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.sgr-footer-nav a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Unified site-wide footer (homepage footer is the reference). */
.sgr-home-footer {
	width: min(1240px, calc(100% - 40px));
	margin-inline: auto;
	padding: 14px 0 12px;
}

.sgr-home-footer-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 22px;
}

.sgr-home-footer-brand {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-family: Arial, sans-serif;
	text-decoration: none;
}

.sgr-home-footer-motto {
	margin: 0;
	color: rgba(255, 255, 255, 0.58);
	font-family: Arial, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.35;
	text-align: right;
}

.sgr-home-footer .sgr-footer-nav,
.sgr-home-social {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.sgr-home-footer .sgr-footer-nav {
	justify-content: flex-end;
}

.sgr-home-footer .sgr-footer-nav a,
.sgr-home-social a {
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.68rem;
	text-decoration: none;
}

.sgr-home-footer .sgr-footer-nav a:hover,
.sgr-home-social a:hover {
	color: #fff;
}

.sgr-home-footer > .sgr-copyright {
	margin: 10px 0 0;
	padding-top: 9px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.62rem;
}

.sgr-home-social a {
	font-family: Arial, sans-serif;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.sgr-page-wrap {
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
	padding: 40px 0 64px;
}

.sgr-page-title {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	line-height: 1.25;
	margin: 0 0 20px;
}

.sgr-loop-wrap {
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
	padding: 40px 0 64px;
}

.sgr-loop-item {
	margin-bottom: 32px;
}

@media (max-width: 860px) {
	.sgr-nav-toggle {
		display: inline-flex;
	}

	.sgr-primary-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border: 1px solid #ececec;
		box-shadow: 0 14px 30px rgba(2, 3, 5, 0.12);
		margin-left: 0;
	}

	.sgr-primary-nav.is-open {
		display: block;
	}

	.sgr-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 10px;
	}

	.sgr-menu a {
		padding: 10px 12px;
		border-radius: 3px;
		color: var(--sgr-brand-ink, #020305);
	}

	.sgr-menu a:hover,
	.sgr-menu .current-menu-item > a {
		background: #ece9e2;
		color: var(--sgr-brand-ink, #020305);
	}

	.sgr-menu a[href*="reservation"] {
		color: #fff;
	}

	.sgr-header-inner {
		position: relative;
	}

	.sgr-footer-nav {
		margin-left: 0;
	}
}

@media (max-width: 640px) {
	.sgr-home-footer {
		width: calc(100% - 32px);
	}

	.sgr-home-footer-row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
		gap: 18px 16px;
	}

	.sgr-home-footer .sgr-footer-nav {
		justify-content: flex-start;
		margin-left: 0;
	}

	.sgr-home-footer-motto {
		text-align: left;
	}

	.sgr-home-footer .sgr-home-footer-brand,
	.sgr-home-footer > .sgr-copyright {
		grid-column: 1 / -1;
	}
}
