/*
Theme Name: reSTART Light
Theme URI: https://hotelrestart.cz/
Author: Hotel reSTART / Semtix
Description: Lightweight custom theme for Hotel reSTART without a page-builder dependency.
Version: 1.0.0
Text Domain: restart-light
Requires at least: 6.4
Requires PHP: 7.4
*/

:root {
	--restart-accent: #a88b6b;
	--restart-dark: #0a0a0a;
	--restart-text: #626262;
	--restart-muted: #f2ede9;
	--restart-shell: 1374px;
	--restart-header-height: 92px;
}

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

html {
	scroll-behavior: smooth;
}

html.navigation-open {
	overflow: hidden;
}

body {
	background: #fff;
	color: var(--restart-text);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	overflow-x: hidden;
}

/* No admin-bar offset here. These rules date from when the header was sticky;
   the header is position:relative now, and a relative "top" still shifts the
   element down while leaving its space behind - so for logged-in users it
   pushed the header 32px (46px on phones) below WordPress's own html
   margin-top and opened a gap above it. WordPress already reserves the room. */

img,
svg,
video {
	height: auto;
	max-width: 100%;
}

iframe {
	max-width: 100%;
}

a {
	color: var(--restart-accent);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: #000;
}

/* BeTheme's typography options, verbatim: fixed sizes with absolute line
   heights, not a fluid scale. It matters that these are absolute - semtix.css
   lifts headings inside div.featured to 50px but leaves the line-height at the
   base value, which is exactly what puts those page titles in a 25px box. A
   relative line-height here silently made every page title 33px taller. */
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #444;
	font-family: "Poppins", Arial, Tahoma, sans-serif;
	font-weight: 300;
	letter-spacing: 0;
	margin: 0 0 15px;
}

h1 { font-size: 25px; line-height: 25px; }
h2 { font-size: 30px; line-height: 30px; }
h3 { font-size: 25px; line-height: 27px; }
h4 { font-size: 21px; line-height: 25px; }
h5 { font-size: 15px; line-height: 19px; font-weight: 700; }
h6 { font-size: 13px; line-height: 19px; font-weight: 400; }

p {
	margin: 0 0 18px;
}

ul,
ol {
	margin: 0 0 20px;
	padding-left: 24px;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
input[type="submit"],
input[type="button"],
.restart-button,
.wp-element-button,
.button {
	background: var(--restart-accent);
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	padding: 14px 24px;
	text-transform: uppercase;
}

button:hover,
input[type="submit"]:hover,
.restart-button:hover,
.wp-element-button:hover,
.button:hover {
	background: #000;
	color: #fff;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 0;
	color: #333;
	max-width: 100%;
	padding: 11px 12px;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

.skip-link {
	background: #fff;
	color: #000;
	left: 12px;
	padding: 12px 16px;
	position: fixed;
	top: -100px;
	z-index: 100001;
}

.skip-link:focus {
	top: 12px;
}

.site-shell,
.container,
.section_wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--restart-shell);
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

.site-header {
	background: #fff;
	box-shadow: 0 1px 8px rgba(0, 0, 0, .06);
	position: sticky;
	top: 0;
	z-index: 10000;
}

.header-contact {
	background: #fff;
	border-bottom: 1px solid #eee;
	height: 54px;
}

.header-contact-inner,
.header-actions,
.contact-links {
	align-items: center;
	display: flex;
}

.header-contact-inner {
	height: 100%;
	justify-content: space-between;
}

.contact-links {
	gap: 28px;
}

.contact-links a {
	align-items: center;
	color: #2f2f2f;
	display: flex;
	font-size: 14px;
	gap: 8px;
}

.contact-links img {
	height: 17px;
	width: 17px;
}

.header-actions {
	height: 100%;
}

.social-link {
	align-items: center;
	color: #0a0a0a;
	display: flex;
	font-size: 19px;
	font-weight: 600;
	height: 54px;
	justify-content: center;
	width: 48px;
}

.social-play {
	font-size: 13px;
}

.header-book {
	align-items: center;
	align-self: stretch;
	background: var(--restart-accent);
	color: #fff;
	display: flex;
	font-size: 14px;
	font-weight: 500;
	justify-content: center;
	margin-left: 16px;
	min-width: 240px;
	padding: 0 28px;
	text-transform: uppercase;
}

.header-book:hover {
	background: #000;
	color: #fff;
}

.header-main {
	background: #fff;
}

.header-main-inner {
	align-items: center;
	display: flex;
	min-height: var(--restart-header-height);
}

.site-logo {
	flex: 0 0 auto;
	line-height: 0;
}

.site-logo img {
	display: block;
	height: auto;
	width: 143px;
}

.primary-navigation {
	margin-left: auto;
}

.primary-menu,
.primary-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu {
	align-items: stretch;
	display: flex;
}

.primary-menu > li {
	position: relative;
}

.primary-menu > li > a {
	align-items: center;
	color: #292929;
	display: flex;
	font-size: 12.5px;
	font-weight: 500;
	height: var(--restart-header-height);
	padding: 0 9px;
	text-transform: uppercase;
	white-space: nowrap;
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li > a:hover {
	color: var(--restart-accent);
}

.primary-menu .sub-menu {
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	left: 0;
	min-width: 250px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 100%;
	transform: translateY(8px);
	transition: opacity 150ms ease, transform 150ms ease;
	z-index: 20;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	border-bottom: 1px solid #eee;
	color: #4b4b4b;
	display: block;
	font-size: 13px;
	padding: 11px 18px;
}

.primary-menu .sub-menu a:hover {
	background: #f7f4f1;
	color: #000;
}

.primary-menu .sub-menu .sub-menu {
	left: 100%;
	top: 0;
}

.primary-menu .wpml-ls-item img {
	display: block;
	height: auto;
	width: 22px;
}

.menu-toggle,
.submenu-toggle {
	display: none;
}

.site-content {
	background: #fff;
	min-height: 55vh;
	overflow: clip;
}

.site-article,
.entry-content {
	width: 100%;
}

.entry-content::after {
	clear: both;
	content: "";
	display: table;
}

.entry-content > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote):not(.alignwide):not(.alignfull),
.single-content > article,
.content-list {
	margin-left: auto;
	margin-right: auto;
	max-width: 1220px;
}

.entry-content > .wp-block-group:not(.alignfull):not(.restart-pilot-section):not(.restart-native-row),
.entry-content > .wp-block-columns:not(.alignfull) {
	margin-left: auto;
	margin-right: auto;
	max-width: 1220px;
}

.entry-content .alignwide {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--restart-shell);
}

.entry-content .alignfull {
	margin-left: calc(50% - 50vw);
	max-width: none;
	width: 100vw;
}

.wp-block-columns {
	gap: 24px;
}

.wp-block-image {
	margin-bottom: 24px;
}

.wp-block-image img {
	display: block;
}

.content-list,
.single-content,
.shop-content > .site-shell,
.error-page {
	padding-bottom: 80px;
	padding-top: 70px;
}

.content-list {
	display: grid;
	gap: 36px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
	background: #f7f7f7;
	padding: 24px;
}

.content-card h2 {
	font-size: 26px;
}

.entry-header {
	margin-bottom: 34px;
	text-align: center;
}

.entry-featured {
	margin-bottom: 35px;
}

.entry-featured img {
	width: 100%;
}

.site-footer {
	background: var(--restart-dark);
	color: #ccc;
}

.footer-photo-strip {
	display: grid;
	grid-auto-columns: 240px;
	grid-auto-flow: column;
	overflow: hidden;
	width: 100%;
}

.footer-photo-strip img {
	display: block;
	height: 160px;
	object-fit: cover;
	width: 100%;
}

.footer-main {
	padding: 65px 0 30px;
}

.footer-widgets {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-widget h3,
.footer-column h3 {
	color: #fff;
	font-size: 19px;
	font-weight: 400;
	margin-bottom: 18px;
}

.footer-widget ul,
.footer-column ul {
	list-style: none;
	padding: 0;
}

.footer-widget a,
.footer-column a,
.footer-bottom a {
	color: #fff;
}

.footer-widget a:hover,
.footer-column a:hover,
.footer-bottom a:hover {
	color: var(--restart-accent);
}

.partner-logos {
	padding-top: 35px;
}

.partner-logos picture,
.partner-logos img {
	display: block;
	margin: 0 auto 30px;
	width: 100%;
}

.partner-logos picture:first-child img {
	max-width: 1280px;
}

.partner-logos picture:last-child img {
	max-width: 1200px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom-inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 72px;
}

.footer-bottom p {
	margin: 0;
}

.back-to-top {
	align-items: center;
	border: 1px solid #444;
	display: flex;
	font-size: 20px;
	height: 38px;
	justify-content: center;
	width: 38px;
}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb {
	color: #888;
	font-size: 12px;
	margin-bottom: 30px;
}

.woocommerce .woocommerce-products-header {
	margin-bottom: 36px;
	text-align: center;
}

.woocommerce ul.products {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 30px 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	float: none !important;
	margin: 0 !important;
	text-align: center;
	width: auto !important;
}

.woocommerce ul.products li.product img {
	margin: 0 0 18px !important;
	width: 100%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: #222;
	font-size: 20px;
	font-weight: 400;
	padding: 0;
}

.woocommerce .price {
	color: var(--restart-accent) !important;
	font-weight: 500;
}

.woocommerce div.product {
	margin-top: 20px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	margin-bottom: 50px;
}

.woocommerce div.product .product_title {
	font-size: clamp(30px, 3vw, 44px);
}

.woocommerce div.product form.cart .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--restart-accent);
	border-radius: 0;
	color: #fff;
	font-weight: 500;
	padding: 14px 22px;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: #000;
	color: #fff;
}

.woocommerce span.onsale {
	background: var(--restart-accent);
	border-radius: 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--restart-accent);
}

@media (max-width: 1239px) {
	:root { --restart-header-height: 80px; }

	.site-shell,
	.container,
	.section_wrapper {
		padding-left: 22px;
		padding-right: 22px;
	}

	.header-main-inner {
		justify-content: space-between;
	}

	.menu-toggle {
		align-items: center;
		background: transparent;
		display: flex;
		height: 48px;
		justify-content: center;
		padding: 10px;
		width: 48px;
	}

	.menu-toggle:hover {
		background: #f4f4f4;
	}

	.menu-toggle-lines,
	.menu-toggle-lines span {
		display: block;
		width: 28px;
	}

	.menu-toggle-lines span {
		background: #111;
		height: 2px;
		margin: 6px 0;
		transition: transform 160ms ease, opacity 160ms ease;
	}

	.menu-open .menu-toggle-lines span:first-child { transform: translateY(8px) rotate(45deg); }
	.menu-open .menu-toggle-lines span:nth-child(2) { opacity: 0; }
	.menu-open .menu-toggle-lines span:last-child { transform: translateY(-8px) rotate(-45deg); }

	.primary-navigation {
		background: #fff;
		border-top: 1px solid #eee;
		display: none;
		left: 0;
		margin: 0;
		max-height: calc(100vh - 136px);
		overflow: auto;
		position: absolute;
		top: 100%;
		width: 100%;
	}

	.menu-open .primary-navigation {
		display: block;
	}

	.primary-menu {
		display: block;
		padding: 10px 22px 30px;
	}

	.primary-menu > li {
		border-bottom: 1px solid #eee;
	}

	.primary-menu > li > a {
		height: auto;
		padding: 14px 48px 14px 6px;
	}

	.primary-menu .sub-menu,
	.primary-menu .sub-menu .sub-menu {
		box-shadow: none;
		display: none;
		left: auto;
		min-width: 0;
		opacity: 1;
		padding: 0 0 8px 18px;
		pointer-events: auto;
		position: static;
		transform: none;
	}

	.primary-menu .submenu-open > .sub-menu {
		display: block;
	}

	.primary-menu .sub-menu a {
		border: 0;
		padding: 9px 10px;
	}

	.submenu-toggle {
		background: transparent;
		color: #222;
		display: block;
		font-size: 24px;
		height: 44px;
		padding: 0;
		position: absolute;
		right: 0;
		top: 3px;
		width: 44px;
	}

	.submenu-toggle:hover {
		background: #f4f4f4;
		color: #000;
	}

	.footer-widgets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-photo-strip {
		grid-auto-columns: 25%;
	}
}

@media (max-width: 767px) {

	.header-contact,
	.header-contact-inner {
		height: 46px;
	}

	.contact-links a:last-child,
	.social-link {
		display: none;
	}

	.contact-links a {
		font-size: 12px;
	}

	.header-book {
		font-size: 12px;
		margin-left: 0;
		min-width: 130px;
		padding: 0 16px;
	}

	.site-logo img {
		width: 128px;
	}

	.entry-content > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote):not(.alignwide):not(.alignfull) {
		padding-left: 20px;
		padding-right: 20px;
	}

	.wp-block-columns {
		gap: 0;
	}

	.content-list,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-photo-strip {
		grid-auto-columns: 50%;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.site-shell,
	.container,
	.section_wrapper {
		padding-left: 16px;
		padding-right: 16px;
	}

	.content-list,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.footer-bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		padding-bottom: 20px;
		padding-top: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/* Pixel-aligned compatibility with the former public Hotel reSTART layout. */
body.restart-gutenberg-pilot .restart-pilot-section {
	margin-left: auto;
	margin-right: auto;
	max-width: 1374px;
}

body.restart-gutenberg-pilot .entry-content h1,
body.restart-gutenberg-pilot .entry-content h2,
body.restart-gutenberg-pilot .entry-content h3 {
	margin-bottom: 15px;
}

body.restart-gutenberg-pilot .entry-content p {
	margin-bottom: 15px;
}

body.restart-gutenberg-pilot .restart-pilot-packages p {
	margin-bottom: 15px;
}

body.restart-gutenberg-pilot .restart-pilot-packages .intoppackage {
	box-sizing: content-box;
}

body.restart-gutenberg-pilot .toppackages .intoppackage {
	box-sizing: content-box;
}

/* The card's 140px/90px padding is meant to sit around the content, not be
   absorbed into a fixed height - that is what content-box does for the
   migrated pages above. The Bookolo cards carry the same layout but can be
   dropped on any page, including ones outside that set, so they say it for
   themselves. Without this the title, price and link render below the card's
   own bottom edge, in white on white. */
.restart-bookolo-cards .intoppackage {
	box-sizing: content-box;
}

.site-header {
	box-shadow: none;
	position: relative;
}

.header-contact,
.header-contact-inner {
	height: 45px;
	margin-top: 0;
}

.header-contact-inner,
.header-main-inner {
	padding-left: 0;
	padding-right: 0;
}

.contact-links {
	gap: 29px;
	margin-left: 13.7px;
}

.contact-links a {
	font-size: 14px;
	/* The icon was sitting flush against the first character. */
	gap: 8px;
	line-height: 21px;
}

.social-link {
	font-size: 14px;
	font-weight: 400;
	height: 21px;
	line-height: 21px;
	margin-top: 12px;
	margin-right: 6px;
	width: 21px;
}

.header-book {
	/* Was 60px tall inside a 45px bar, so it hung 15px below the contact strip
	   and crossed into the logo row. It now fills the bar exactly. */
	height: 45px;
	margin-left: 40px;
	min-width: 200px;
	padding: 0 15px;
	width: 200px;
}

.header-actions {
	margin-right: 13.7px;
	position: relative;
	width: 301px;
}

.header-book {
	position: absolute;
	right: 0;
	top: 0;
}

:root {
	--restart-header-height: 80px;
}

.header-main-inner {
	min-height: 80px;
}

.site-logo {
	padding: 15px;
	width: 146.7px;
}

.site-logo img {
	width: 116.6px;
}

.primary-menu > li > a {
	font-size: 16px;
	height: 80px;
	line-height: 60px;
	padding-left: 15px;
	padding-right: 15px;
}

.primary-menu > li.wpml-ls-item > a {
	padding-left: 13px;
	padding-right: 13px;
}

.primary-navigation {
	margin-right: 13.7px;
}

/* Dropdowns of the right-most items (the WPML language switcher) must open
   leftwards; anchored at left:0 they stick out and widen the whole page. */
@media (min-width: 1240px) {
	.primary-menu > li:nth-last-child(-n+2) > .sub-menu {
		left: auto;
		right: 0;
	}

	.primary-menu > li:nth-last-child(-n+2) .sub-menu .sub-menu {
		left: auto;
		right: 100%;
	}
}

.site-footer {
	font-size: 15px;
	line-height: 21px;
	margin: 30px 0 80px;
}

.footer-main {
	box-sizing: border-box;
	padding: 0;
}

.footer-widgets {
	box-sizing: border-box;
	padding-bottom: 80px;
	padding-top: 80px;
}

.footer-widget h3,
.footer-column h3 {
	font-size: 26px;
}

.partner-logos {
	box-sizing: border-box;
	padding-top: 0;
}

/* Each partner strip keeps its own aspect ratio; the desktop and the mobile
   artwork have very different proportions, so never pin a height here. */
.partner-logos img {
	height: auto;
}

.footer-bottom-inner {
	height: 83px;
	min-height: 83px;
}

@media (max-width: 1239px) {
	:root { --restart-header-height: 80px; }

	.primary-navigation {
		margin-right: 0;
	}

	.header-main-inner {
		min-height: 80px;
	}

	.site-logo {
		padding: 10px 0;
		width: auto;
	}

	.site-logo img {
		width: 116.6px;
	}
}

@media (max-width: 767px) {
	body.restart-gutenberg-pilot .restart-native-row__inner {
		margin-left: auto;
		margin-right: auto;
		width: calc(100% - 30px);
	}

	body.restart-gutenberg-pilot .restart-native-row__inner .restart-native-row__inner {
		width: 100%;
	}

	body.restart-gutenberg-pilot .restart-native-full > .restart-native-row__inner {
		width: 100%;
	}

	body.restart-gutenberg-pilot .restart-native-full > .wp-block-group__inner-container > .restart-native-row__inner {
		width: 100%;
	}

	body.restart-gutenberg-pilot .restart-pilot-section {
		max-width: calc(100% - 30px);
	}

	.header-contact,
	.header-contact-inner {
		height: 80px;
	}

	.header-contact-inner {
		padding: 0 10px;
		position: relative;
	}

	.contact-links {
		align-items: flex-start;
		flex-direction: column;
		gap: 0;
		margin-left: 0;
		width: 100%;
	}

	.contact-links a,
	.contact-links a:last-child {
		display: flex;
		font-size: 15.4px;
		height: 35px;
		line-height: 35px;
	}

	.contact-links a:last-child {
		align-self: center;
	}

	.contact-links a[href^="tel:"] {
		width: 210px;
	}

	.header-actions {
		height: 21px;
		margin-right: 0;
		position: absolute;
		right: 10px;
		top: 12px;
		width: 220px;
	}

	.social-link {
		display: block;
		height: 21px;
		margin: 0;
		position: absolute;
		width: 21px;
	}

	.header-actions .social-link:nth-child(1) { left: 144px; }
	.header-actions .social-link:nth-child(2) { left: 194px; }
	.header-actions .social-link:nth-child(3) { left: 164px; }

	.header-book {
		display: none;
	}

	.header-main,
	.header-main-inner {
		height: 70px;
		min-height: 70px;
	}

	.header-main-inner {
		padding: 0 16px;
		position: relative;
	}

	.site-logo {
		height: 49px;
		margin: 10px auto;
		padding: 0;
		width: 250px;
	}

	.site-logo img {
		margin: 0 auto;
		width: 116.6px;
	}

	.menu-toggle {
		position: absolute;
		right: 10px;
		top: 11px;
	}

	.site-footer {
		font-size: 13px;
		line-height: 22px;
	}

	.footer-widgets {
		display: block;
		padding: 80px 33px;
	}

	.footer-column {
		margin-bottom: 30px;
	}

	.partner-logos {
		padding: 0 33px;
	}

	.partner-logos picture,
	.partner-logos img {
		margin: 0 auto;
		width: 100%;
	}

	.footer-bottom-inner {
		box-sizing: border-box;
		height: 185px;
		min-height: 185px;
		padding: 40px 33px;
	}

	body.page-id-10431.restart-gutenberg-pilot .hptext {
		margin-bottom: 15px;
	}
}

/* --- Deferred hero video ------------------------------------------------
   The poster fills the same box as the player, so swapping one for the other
   moves nothing. The iframe only becomes visible once the Vimeo player has
   reported for duty; if the embed is refused for this domain the poster simply
   stays. */
.restart-video-facade {
	overflow: hidden;
}

.restart-video-facade .restart-video-poster {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.restart-video-facade iframe {
	opacity: 0;
	transition: opacity 400ms ease;
}

.restart-video-facade.is-playing iframe {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.restart-video-facade iframe {
		transition: none;
	}
}

/* --- Tablet band (768-1239px) ------------------------------------------
   BeTheme keeps its container gutter here while already showing the burger
   menu. Without the gutter the logo sits flush against the edge and the
   card row - which is pulled out by -15px on the homepage - runs past the
   viewport. */
@media (min-width: 768px) and (max-width: 1239px) {
	.header-contact-inner,
	.header-main-inner {
		padding-left: 22px;
		padding-right: 22px;
	}

	.contact-links {
		margin-left: 0;
	}

	.header-actions {
		margin-right: 0;
	}

	/* The gutter belongs on the content wrapper, not on each section: the
	   full-bleed groups escape it again through margin-left: calc(50% - 50vw)
	   and stay edge to edge, exactly as they do on the public site. */
	.entry-content {
		padding-left: 22px;
		padding-right: 22px;
	}
}

/* --- One mobile gutter --------------------------------------------------
   The header sat on 10px, the content on 15px, the footer on 33px and the
   full-bleed rows on none at all, so nothing lined up down the edge of the
   screen. Everything below hangs off a single value. */
@media (max-width: 767px) {
	:root {
		--restart-gutter: 15px;
	}

	.header-contact-inner,
	.header-main-inner {
		padding-left: var(--restart-gutter);
		padding-right: var(--restart-gutter);
	}

	.contact-links {
		margin-left: 0;
	}

	.menu-toggle {
		right: var(--restart-gutter);
	}

	/* The social icons were pinned with hand-measured offsets (left: 144px,
	   194px, 164px), which put them out of order and left uneven gaps. Lay
	   them out as a row and let it end on the gutter. */
	.header-actions {
		align-items: center;
		display: flex;
		gap: 14px;
		height: 21px;
		justify-content: flex-end;
		right: var(--restart-gutter);
		top: 12px;
		width: auto;
	}

	.social-link,
	.header-actions .social-link:nth-child(1),
	.header-actions .social-link:nth-child(2),
	.header-actions .social-link:nth-child(3) {
		height: 21px;
		left: auto;
		margin: 0;
		position: static;
		width: 21px;
	}

	/* Full-bleed blocks are pulled out to 100vw, which is wider than the page
	   by exactly the scrollbar - so they hang ~7px past each edge and anything
	   inside them misses the gutter by the same amount. On a phone the content
	   column already spans the full width, so 100% gets them edge to edge
	   without the overhang. */
	body.restart-gutenberg-pilot .restart-native-full,
	body.restart-gutenberg-pilot .restart-pilot-full,
	body.restart-gutenberg-pilot .entry-content .alignfull {
		margin-left: 0 !important;
		width: 100% !important;
	}

	/* Full-bleed rows keep their background edge to edge but bring their text
	   back onto the gutter, so headings line up with body copy. */
	body.restart-gutenberg-pilot .restart-native-full > .restart-native-row__inner,
	body.restart-gutenberg-pilot .restart-native-full > .wp-block-group__inner-container > .restart-native-row__inner {
		box-sizing: border-box;
		padding-left: var(--restart-gutter);
		padding-right: var(--restart-gutter);
	}

	.footer-widgets,
	.partner-logos,
	.footer-bottom-inner {
		padding-left: var(--restart-gutter);
		padding-right: var(--restart-gutter);
	}
}

/* --- Never paste content onto the title band ----------------------------
   The zig-zag rule strips the vertical padding from photo rows so consecutive
   photos meet corner to corner. The very first row must keep its gap, or the
   photo is glued to the bottom of the title band. The .entry-content in the
   selector is deliberate: it outweighs the zig-zag rule, whose :has() lifts it
   above the obvious selector. */
body.restart-gutenberg-pilot .entry-content > .wp-block-cover + .restart-native-row,
body.restart-gutenberg-pilot .entry-content > .featured + .restart-native-row {
	padding-top: 15px !important;
}

/* Measured against production: the photo there stops about 48px above the bottom
   of the title band, so the heading below it sits in roughly 58px of air. Here
   the photo fills the band to its edge, which left only 23px and made the
   heading look stuck to the picture. The difference is made up in padding.
   Mobile is left alone - it already has more room there than production does. */
@media (min-width: 768px) {
	body.restart-gutenberg-pilot .entry-content > .wp-block-cover + .restart-native-row,
	body.restart-gutenberg-pilot .entry-content > .featured + .restart-native-row {
		padding-top: 50px !important;
	}
}

/* --- List rhythm ---------------------------------------------------------
   Items sat flush against each other with no space at all, which turned any
   list of more than three lines into a grey block. Production gives each item
   10px of separation; this matches that, and drops it on the last item so the
   list does not add a phantom gap before whatever follows. */
.entry-content li {
	margin-bottom: 10px;
}

.entry-content li:last-child {
	margin-bottom: 0;
}

.entry-content ul,
.entry-content ol {
	padding-left: 20px;
}

/* --- Centred bullet lists ------------------------------------------------
   The old page builder left an inline text-align:center on each <li>. The <ul>
   still spans the full column and its bullets sit outside the content box, so
   the markers stayed pinned to the far left while the text floated in the
   middle - a good 230px apart. Production has the same fault; this is one of
   the places where matching it would mean copying a mistake.
   Sizing the list to its longest line and centring that block keeps the
   centred look and puts every bullet back beside its own text. */
.entry-content ul:has(> li[style*="center"]),
.entry-content ol:has(> li[style*="center"]) {
	margin-bottom: 24px;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	padding-left: 22px;
	text-align: left !important;
	width: fit-content;
}

.entry-content ul:has(> li[style*="center"]) > li,
.entry-content ol:has(> li[style*="center"]) > li {
	text-align: left !important;
}

/* --- Title band without a picture ---------------------------------------
   components.css gives div.featured a fixed 280px height and 100px of vertical
   padding, because it is meant to carry a photograph behind the page title.
   The room pages have no photograph there, so all that was left was a 280px
   band of white around a 60px heading. When there is no picture to show, the
   band only needs to hold the title. */
@media (min-width: 768px) {
	body.restart-gutenberg-pilot .featured:not(:has(img)):not(:has(.wp-block-cover)) {
		height: auto !important;
		padding-bottom: 52px !important;
		padding-top: 52px !important;
	}
}

/* --- Text beside a video -------------------------------------------------
   blocks.css centres every column against its row. Next to a tall video that
   pushed a short block of copy 190px down the page, so the text appeared to
   start nowhere near the video it belongs to. These pair up at the top. */
@media (min-width: 768px) {
	body.restart-gutenberg-pilot .restart-native-columns:has(.restart-native-video-iframe),
	body.restart-gutenberg-pilot .restart-native-columns:has(.restart-native-video) {
		align-items: flex-start !important;
	}

	/* The columns carry is-vertically-aligned-center from the editor, which
	   sets align-self on each one and overrides the row's align-items. */
	body.restart-gutenberg-pilot .restart-native-columns:has(.restart-native-video-iframe) > .wp-block-column,
	body.restart-gutenberg-pilot .restart-native-columns:has(.restart-native-video) > .wp-block-column {
		align-self: flex-start !important;
	}
}

/* --- Contact page spacing -----------------------------------------------
   blocks.css zeroes the section padding on these two pages, so the map and the
   first heading started 5px under the hero. Put the rhythm back. */
/* !important because blocks.css carries the identical selector and is loaded
   after this file, so on equal specificity it would win. */
body.page-id-6577.restart-gutenberg-pilot .restart-pilot-section,
body.page-id-16007.restart-gutenberg-pilot .restart-pilot-section {
	padding-bottom: 46px !important;
	padding-top: 46px !important;
}

/* --- Over-subscribed column rows ----------------------------------------
   The migration produced rows whose columns declare more than 100% between
   them - one carries 50% + 50% + 100% + 100%. Flex has no choice but to crush
   all four onto one line, which is how a heading ended up 208px wide and 210px
   tall. Letting the row wrap uses the widths as declared: the halves pair up,
   the full-width ones take their own line. */
@media (min-width: 768px) {
	body.restart-gutenberg-pilot .restart-native-columns:has(> :nth-child(3)),
	body.restart-gutenberg-pilot .restart-pilot-columns:has(> :nth-child(3)) {
		flex-wrap: wrap !important;
	}
}

/* --- Video rows ---------------------------------------------------------
   Two video rows each carrying the standard 46px section padding added up to
   92px of dead space between them. They are a grid of embeds, not separate
   sections - they only need a gutter. */
/* !important because the general section rule above carries two :not() clauses,
   which give it more specificity than this one despite being less specific in
   intent. */
body.restart-gutenberg-pilot .restart-native-row:has(.restart-native-video-iframe),
body.restart-gutenberg-pilot .restart-native-row:has(.restart-native-video) {
	padding-bottom: 12px !important;
	padding-top: 12px !important;
}

/* --- Outbound menu links -------------------------------------------------
   The Facebook mark is drawn with a mask so it takes the link's own colour and
   follows the hover state; the small arrow says the link leaves the site. */
.primary-menu a.menu-link-facebook::before {
	background-color: currentColor;
	content: "";
	display: inline-block;
	height: 1em;
	margin-right: 7px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 12a10 10 0 1 0-11.6 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.4v7A10 10 0 0 0 22 12z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 12a10 10 0 1 0-11.6 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.4v7A10 10 0 0 0 22 12z'/%3E%3C/svg%3E") no-repeat center / contain;
	vertical-align: -0.13em;
	width: 1em;
}

.primary-menu a.menu-link-external::after {
	content: "↗";
	font-size: .78em;
	margin-left: 5px;
	opacity: .65;
}

/* --- Booking engine ------------------------------------------------------
   The reservation widget was rendering into a 1220px row, so it came out
   1180px wide and inset 97px further than everything else on the site. It now
   uses the same container the rest of the page does - from the logo's left
   edge to the container's right edge. */
body.restart-gutenberg-pilot .restart-native-row.xbook .restart-native-row__inner {
	max-width: var(--restart-shell);
	padding-left: 0;
	padding-right: 0;
}

body.restart-gutenberg-pilot .restart-native-row.xbook .restart-native-columns,
body.restart-gutenberg-pilot .restart-native-row.xbook .restart-native-column {
	padding-left: 0;
	padding-right: 0;
}

/* --- Alternating photo rows ---------------------------------------------
   On the public site these rows read as one continuous zig-zag: the photo is
   exactly half of a 1376px row, the sides alternate, and consecutive rows have
   no gap at all, so the pictures meet corner to corner down the page.
   Measured on the public /thajske-masaze/: photos 688x459 at L=712, L=24,
   L=712... with row tops 726, 1185, 1644 - steps of exactly one photo height.
   Here they were 585 wide with a 92px gap, which broke the chain. */
@media (min-width: 768px) {
	body.restart-gutenberg-pilot .restart-native-row:has(.restart-native-media) {
		padding-bottom: 0 !important;
		padding-top: 0 !important;
	}

	body.restart-gutenberg-pilot .restart-native-row:has(.restart-native-media) .restart-native-row__inner {
		max-width: 1376px;
		padding-left: 0;
		padding-right: 0;
	}

	body.restart-gutenberg-pilot .restart-native-row:has(.restart-native-media) .restart-native-column {
		padding-left: 0;
		padding-right: 0;
	}

	/* The text half still needs room so the copy does not run into the photo. */
	body.restart-gutenberg-pilot .restart-native-row:has(.restart-native-media) .restart-native-column:not(:has(.restart-native-media)) {
		padding-left: 45px;
		padding-right: 45px;
	}
}

/* --- Galleries take the full row ----------------------------------------
   A gallery sitting in one half of a two-column row was squeezed into 595px,
   so the justified rows came out as postage stamps. A gallery is a full-width
   element: give it the whole row and let its neighbour wrap above or below. */
@media (min-width: 768px) {
	/* !important is required: core ships
	   "@media (min-width: 782px) { .wp-block-columns { flex-wrap: nowrap !important } }",
	   which otherwise keeps the gallery pinned to half the row. */
	body.restart-gutenberg-pilot .restart-native-columns:has(.wp-block-gallery.restart-native-gallery),
	body.restart-gutenberg-pilot .wp-block-columns:has(.wp-block-gallery.restart-native-gallery) {
		flex-wrap: wrap !important;
	}

	body.restart-gutenberg-pilot .restart-native-column:has(.wp-block-gallery.restart-native-gallery),
	body.restart-gutenberg-pilot .wp-block-column:has(.wp-block-gallery.restart-native-gallery) {
		flex-basis: 100% !important;
		max-width: 100%;
		width: 100% !important;
	}
}

/* --- Package grid width -------------------------------------------------
   The homepage runs the package cards across the full 1374px section, four to
   a row at 344px each. The listing page had them inside a 1220px row, which
   squeezed the same cards down to 295px and made the page look narrower than
   the homepage it is supposed to continue. Give the row holding them the same
   width the homepage uses. */
@media (min-width: 1240px) {
	body.restart-gutenberg-pilot .restart-native-row__inner:has(.toppackages) {
		max-width: 1374px;
		padding-left: 0;
		padding-right: 0;
	}

	body.restart-gutenberg-pilot .restart-native-columns:has(.toppackages),
	body.restart-gutenberg-pilot .restart-native-column:has(.toppackages) {
		padding-left: 0;
		padding-right: 0;
	}
}

/* --- Desktop submenus ---------------------------------------------------
   Opening is delayed by 300ms so that sweeping the cursor across the menu on
   the way somewhere else does not fire a dropdown at every item; closing has
   no delay, so moving away feels immediate. The panel starts slightly raised
   and settles down into place. Tinted rather than white so it reads clearly
   as a layer above the page. */
@media (min-width: 1240px) {
	.primary-menu .sub-menu {
		background: #f7f3ef;
		border-top: 2px solid var(--restart-accent);
		box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
		transform: translateY(-10px);
		transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
		visibility: hidden;
	}

	.primary-menu > li:hover > .sub-menu,
	.primary-menu > li:focus-within > .sub-menu,
	.primary-menu .sub-menu li:hover > .sub-menu,
	.primary-menu .sub-menu li:focus-within > .sub-menu {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		transition: opacity 220ms ease 300ms, transform 220ms ease 300ms, visibility 0s linear 300ms;
		visibility: visible;
	}

	.primary-menu .sub-menu a {
		border-bottom: 1px solid rgba(0, 0, 0, .07);
		transition: background 140ms ease, color 140ms ease;
	}

	.primary-menu .sub-menu li:last-child a {
		border-bottom: 0;
	}

	.primary-menu .sub-menu a:hover,
	.primary-menu .sub-menu a:focus-visible {
		background: #fff;
		color: var(--restart-accent);
	}
}

@media (prefers-reduced-motion: reduce) {
	.primary-menu .sub-menu,
	.primary-menu > li:hover > .sub-menu {
		transition-duration: .01ms;
	}
}

/* --- Section rhythm -----------------------------------------------------
   Native rows carried no vertical padding, so the first block began on the
   exact pixel the hero ended and every row butted into the next. Nothing had
   room to breathe. Heroes are excluded - their padding is their own - and so
   are nested rows, which would otherwise double up. */
body.restart-gutenberg-pilot .restart-native-row:not(.wp-block-cover):not(.restart-native-row--inner) {
	padding-bottom: 46px;
	padding-top: 46px;
}

@media (max-width: 767px) {
	body.restart-gutenberg-pilot .restart-native-row:not(.wp-block-cover):not(.restart-native-row--inner) {
		padding-bottom: 30px;
		padding-top: 30px;
	}
}

/* --- Fixed booking bar --------------------------------------------------
   The plugin lays the bar out with floats, which left the controls sitting on
   the bar's bottom edge and the whole group about 60px left of centre. Same
   controls, laid out as a centred row. */
/* The bar had no background of its own, so the page scrolled through behind it
   and a 25px gradient strip was there to disguise the mess. An opaque bar does
   the job properly and the strip is no longer needed. */
#bknew {
	background: #fff;
	box-shadow: 0 -2px 18px rgba(0, 0, 0, .1);
}

#bkstin {
	display: none;
}

/* The plugin prints its own <style> block inside the bar, matching
   "#s_hp input[type=date]". Same specificity as the obvious selector and later
   in the document, so these carry the form id as well to outrank it. */
#bknew form#s_hp .inhpt {
	color: #6b6b6b;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: uppercase;
}

#bknew form#s_hp input[type="date"] {
	background: #fff !important;
	border: 1px solid #d9d3cc !important;
	border-bottom: 1px solid #d9d3cc !important;
	border-radius: 0;
	box-sizing: border-box;
	color: #222 !important;
	font-size: 14px;
	height: 42px;
	margin: 0;
	padding: 0 10px;
	width: 148px;
}

#bknew form#s_hp input[type="date"]:hover,
#bknew form#s_hp input[type="date"]:focus {
	border-color: var(--restart-accent) !important;
	outline: none;
}

#bknew form#s_hp input[type="submit"] {
	background: var(--restart-accent);
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-size: 14px !important;
	font-weight: 500;
	height: 42px;
	letter-spacing: .03em;
	line-height: 42px;
	margin: 0;
	/* !important because the old stylesheet forced a vertical-only padding here,
	   which clipped the label against the fixed height and left the sides bare. */
	padding: 0 26px !important;
	text-transform: uppercase;
	transition: background 150ms ease;
	width: auto;
}

#bknew form#s_hp input[type="submit"]:hover,
#bknew form#s_hp input[type="submit"]:focus-visible {
	background: #000;
}

#bknew form#s_hp {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	justify-content: center;
	margin: 0;
	/* With the gradient strip gone the form is the whole bar, so it simply
	   centres its own row: 42px controls in an 11px band each side. */
	min-height: 0;
	padding: 11px 20px;
}

/* Two spacer divs holding a single &nbsp; each, there to space the floats out.
   The flex gap does that now, and on real phones the old CSS also hid the
   labels outright (a bare date field with no idea which end of the stay it is),
   so the label visibility is pinned here as well. */
#bknew form#s_hp .inhps,
#bknew form#s_hp .inhpdiv {
	display: none !important;
}

#bknew form#s_hp .inhpt {
	display: inline !important;
}

/* On a phone the two labelled fields and the button will not fit across the
   screen, and left to wrap they turned the fixed bar into a 178px block - a fifth
   of the viewport, permanently there. So the row stays a single line and the
   labels give way for it: the fields share whatever is left beside the button,
   and the label text stays in the DOM for screen readers rather than being
   deleted outright. */
@media (max-width: 767px) {
	#bknew form#s_hp {
		flex-wrap: nowrap;
		gap: 0 8px;
		padding: 9px 12px;
	}

	#bknew form#s_hp .inhp1,
	#bknew form#s_hp .inhpr {
		flex: 1 1 0;
		min-width: 0;
	}

	/* min-width:0 on all three levels. A flex item defaults to min-width:auto,
	   which is the content's minimum - here the date field's own 105px - so
	   without this the wrapper refuses to shrink and the fields overlap on a
	   360px screen. */
	#bknew form#s_hp .inleft,
	#bknew form#s_hp .inright {
		gap: 0;
		min-width: 0;
		width: 100%;
	}

	#bknew form#s_hp .inhpt {
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	#bknew form#s_hp input[type="date"] {
		font-size: 13px;
		height: 40px;
		min-width: 0;
		padding: 0 6px;
		width: 100%;
	}

	/* A date field has an intrinsic minimum width of about 122px, more than the
	   100px it gets here, so the two fields overlapped. The calendar button is
	   what pushes it over, and on a phone it is redundant - tapping the field
	   opens the picker anyway. */
	#bknew form#s_hp input[type="date"]::-webkit-calendar-picker-indicator {
		display: none !important;
	}

	#bknew form#s_hp .tbtn {
		flex: 0 0 auto;
	}

	#bknew form#s_hp input[type="submit"] {
		font-size: 13px !important;
		height: 40px;
		line-height: 40px;
		padding: 0 14px !important;
	}
}

/* On the narrowest phones the button was eating 37% of the row and the fields
   were down to 65px, which cut the year off the date. Everything gives up a
   little so the full date fits. */
@media (max-width: 374px) {
	#bknew form#s_hp {
		gap: 0 6px;
		padding: 9px 8px;
	}

	#bknew form#s_hp input[type="date"] {
		font-size: 12px;
		padding: 0 4px;
	}

	#bknew form#s_hp input[type="submit"] {
		font-size: 11px !important;
		padding: 0 8px !important;
	}
}

#bknew form#s_hp .inhp {
	align-items: center;
	display: flex;
	float: none;
	margin: 0;
	padding: 0;
	width: auto;
}

#bknew form#s_hp .inleft,
#bknew form#s_hp .inright {
	align-items: center;
	display: flex;
	float: none;
	gap: 10px;
	margin: 0;
	width: auto;
}

#bknew form#s_hp .inhpt {
	white-space: nowrap;
}

#bknew form#s_hp input[type="submit"] {
	margin: 0;
}

/* --- Footer tail --------------------------------------------------------
   WPML prints its footer switcher after </footer>, straight into the body, so
   it sat on a white strip under the black footer listing "English
   (Angličtina)" and "Deutsch (Němec)" in full. Fold it back into the footer
   and reduce it to flags - the name stays for screen readers. */
/* The footer used to carry an 80px bottom margin to keep the fixed booking bar
   off the last line, which showed up as a white band between the black footer
   and this switcher. The clearance moves down here so the dark area runs all
   the way to the bottom of the page. */
.site-footer {
	margin-bottom: 0;
}

/* The footer is 1169px tall with 92 elements and 13 photographs. Its images are
   lazy already, so what is left to save is the layout and paint work for a
   region nobody has scrolled to yet: content-visibility lets the browser skip
   exactly that until the footer comes near the viewport.
   Deliberately not removed from the HTML and fetched later - it is only 6KB of
   markup, and taking the site's footer links out of the initial response costs
   more in search than 6KB is worth. contain-intrinsic-size keeps the scrollbar
   honest in the meantime; "auto" lets the browser remember the real height
   after the first render. */
.site-footer {
	contain-intrinsic-size: auto 1170px;
	content-visibility: auto;
}

/* Stacked, the footer is three times taller. Guessing 1170px there would leave
   the scrollbar badly wrong until the reader actually reached it. */
@media (max-width: 767px) {
	.site-footer {
		contain-intrinsic-size: auto 3620px;
	}
}

.wpml-ls-statics-footer {
	background: var(--restart-dark);
	border: 0;
	margin: 0;
	padding: 0 0 96px;
	text-align: center;
}

.wpml-ls-statics-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpml-ls-statics-footer li {
	margin: 0;
	padding: 0;
}

.wpml-ls-statics-footer a {
	align-items: center;
	border: 0;
	display: flex;
	justify-content: center;
	opacity: .75;
	padding: 6px;
	transition: opacity 150ms ease;
}

.wpml-ls-statics-footer a:hover,
.wpml-ls-statics-footer a:focus-visible {
	opacity: 1;
}

.wpml-ls-statics-footer .wpml-ls-native,
.wpml-ls-statics-footer .wpml-ls-display {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.wpml-ls-statics-footer img.wpml-ls-flag {
	display: block;
	height: auto;
	width: 24px;
}

/* A small, quiet control - it was a 38px outlined box shoved against the left
   edge. */
.back-to-top {
	border: 1px solid rgba(255, 255, 255, .25);
	color: #fff;
	font-size: 15px;
	height: 32px;
	width: 32px;
}

.back-to-top:hover,
.back-to-top:focus-visible {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

@media (max-width: 520px) {
	.footer-bottom-inner {
		align-items: center;
		text-align: center;
	}
}

/* --- Stacked layout on phones -------------------------------------------
   The desktop layout pairs a column of text with a column of image and pulls
   the text toward the image - first column right aligned, second left. Once
   the columns stack that pairing is gone and all that is left is text that
   flips edge to edge down the page, images welded to each other, and buttons
   hugging one side. On a phone everything is a single column, so everything
   centres, sits on the same gutter, and keeps a gap from its neighbour. */
@media (max-width: 767px) {
	body.restart-gutenberg-pilot .wp-block-columns > .wp-block-column,
	body.restart-gutenberg-pilot .restart-native-column {
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center !important;
	}

	/* Lists stay left aligned - centred bullets are unreadable. */
	body.restart-gutenberg-pilot .wp-block-column ul,
	body.restart-gutenberg-pilot .wp-block-column ol,
	body.restart-gutenberg-pilot .restart-native-column ul,
	body.restart-gutenberg-pilot .restart-native-column ol {
		text-align: left !important;
	}

	body.restart-gutenberg-pilot .restart-native-buttons,
	body.restart-gutenberg-pilot .restart-pilot-buttons,
	body.restart-gutenberg-pilot .wp-block-buttons {
		justify-content: center !important;
	}

	/* Breathing room: a stacked column, image or button never butts straight
	   up against whatever came before it. */
	body.restart-gutenberg-pilot .wp-block-columns > .wp-block-column + .wp-block-column,
	body.restart-gutenberg-pilot .restart-native-columns > .restart-native-column + .restart-native-column {
		margin-top: 22px !important;
	}

	body.restart-gutenberg-pilot .entry-content figure.wp-block-image,
	body.restart-gutenberg-pilot .restart-native-media,
	body.restart-gutenberg-pilot .restart-pilot-media {
		margin-bottom: 18px !important;
	}

	/* ...except inside a gallery, where the rows are measured and the 2px gap
	   is the design. */
	body.restart-gutenberg-pilot .wp-block-gallery.restart-native-gallery figure.wp-block-image {
		margin-bottom: 0 !important;
	}

	body.restart-gutenberg-pilot .restart-native-buttons,
	body.restart-gutenberg-pilot .restart-pilot-buttons {
		margin-bottom: 22px;
		margin-top: 22px;
	}

	/* Card captions were pinned to the top-left corner of the photo with 90px
	   of dead space underneath. Centre them in the card instead. */
	body.restart-gutenberg-pilot .intoppackage {
		align-items: center;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: 220px;
		padding: 24px 20px !important;
		text-align: center;
	}

	body.restart-gutenberg-pilot .intoppackage h3 {
		text-align: center !important;
	}

	/* White copy over a photograph needs something behind it. The plugin does
	   add a gradient, but only when wp_is_mobile() guesses right from the user
	   agent, and it darkens the top - which is where the text no longer is.
	   A scrim in CSS applies on every device and suits centred text. */
	body.restart-gutenberg-pilot .intoppackage {
		position: relative;
	}

	body.restart-gutenberg-pilot .intoppackage::before {
		background: rgba(0, 0, 0, .38);
		content: "";
		inset: 0;
		position: absolute;
	}

	body.restart-gutenberg-pilot .intoppackage > * {
		position: relative;
		z-index: 1;
	}

	/* A scrim alone still loses against a bright window in the photo, and
	   darkening it further would flatten every other picture. A shadow on the
	   text costs the photograph nothing. */
	body.restart-gutenberg-pilot .intoppackage h3,
	body.restart-gutenberg-pilot .intoppackage p,
	body.restart-gutenberg-pilot .intoppackage .splink,
	body.restart-gutenberg-pilot .intoppackage .pprice {
		text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
	}

	/* A hero has to be able to grow. Pinned to 180px, a title that runs to
	   three lines would spill straight out of the photo. */
	body.restart-gutenberg-pilot .restart-native-hero,
	body.restart-gutenberg-pilot .restart-pilot-hero {
		height: auto !important;
		min-height: 180px !important;
		padding-bottom: 24px !important;
		padding-top: 24px !important;
	}
}

/* The language flag ended 13px short of the reservation button above it, so
   the two edges of the header did not line up. Keep the item the same width
   and push the flag out to meet it. */
@media (min-width: 1240px) {
	.primary-menu > li.wpml-ls-item > a {
		padding-left: 26px;
		padding-right: 0;
	}
}

/* --- Page title ---------------------------------------------------------
   semtix.css lifts the title to 50px but leaves the 25px line box behind it,
   so the glyphs overflowed their own box by roughly 23px top and bottom and
   the heading read as pinned against whatever sat above it - and a title long
   enough to wrap would have overlapped itself. Give it a box that fits the
   text, plus room to breathe. */
body.restart-gutenberg-pilot .entry-content h1,
div.featured h1 {
	line-height: 1.2;
	margin-bottom: 28px;
	margin-top: 14px;
}

/* Hero titles are centred inside their cover and must not gain margins. */
body.restart-gutenberg-pilot .restart-native-hero h1,
body.restart-gutenberg-pilot .restart-pilot-hero h1 {
	margin: 0;
}

/* --- Hero copy ----------------------------------------------------------
   blocks.css zeroes the inner padding of the hero below 768px, which left the
   headline running edge to edge with nothing to breathe against - a long title
   ended up touching both sides of the screen. Restore a gutter there; the
   desktop hero already carries 33px and keeps it. The body prefix is only to
   outweigh blocks.css, which is loaded after this file. */
@media (max-width: 767px) {
	body.restart-gutenberg-pilot .restart-native-hero .wp-block-cover__inner-container,
	body.restart-gutenberg-pilot .restart-pilot-hero .wp-block-cover__inner-container {
		padding-left: var(--restart-gutter);
		padding-right: var(--restart-gutter);
	}
}

body.restart-gutenberg-pilot .restart-native-hero h1,
body.restart-gutenberg-pilot .restart-pilot-hero h1 {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* --- Drawer navigation (below 1240px) -----------------------------------
   The compatibility block further up pins the desktop link geometry - 80px
   tall, 60px line-height, 15px side padding - and does it outside any media
   query, so it also applied inside the drawer. Ten rows at 81px came to 847px
   in a 676px drawer, which is why the menu had to be scrolled to reach the
   last items. Give the drawer its own, tighter geometry. */
@media (max-width: 1239px) {
	.primary-menu {
		padding: 4px 16px 18px;
	}

	.primary-menu > li > a {
		font-size: 15px;
		height: auto;
		line-height: 1.35;
		padding: 11px 44px 11px 4px;
	}

	.primary-menu > li.wpml-ls-item > a {
		padding-left: 4px;
		padding-right: 44px;
	}

	.primary-menu .sub-menu {
		padding: 0 0 6px 14px;
	}

	.primary-menu .sub-menu a {
		font-size: 14px;
		padding: 8px 10px;
	}

	.submenu-toggle {
		height: 42px;
		top: 0;
		width: 42px;
	}
}

/* The mobile partner artwork is portrait (692x1088 and 420x1920). Stretched
   across a tablet it would blow the footer up to several thousand pixels, so
   cap each strip at its intrinsic width the way the public site does. Capping
   with max-width rather than width:auto keeps the box reserved while the
   lazy-loaded image is still pending, so nothing shifts. */
@media (max-width: 768px) {
	.partner-logos picture:first-child img {
		max-width: 692px;
	}

	.partner-logos picture:last-child img {
		max-width: 420px;
	}
}
