/*
Theme Name: Moto Rent Ioannina
Theme URI: https://motorentioannina.gr
Author: Telex
Description: A bright, clean WordPress block theme for Moto Rent Ioannina — scooter rental and organized excursions across Epirus, Greece. Sunlit Mediterranean palette, warm typography, and frictionless booking UX.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moto-rent-ioannina
Tags: block-patterns, full-site-editing, wide-blocks, custom-colors, custom-fonts, translation-ready, one-column, featured-images
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
*/

/* -------------------------------------------------------
   0. Foundation resets & root-level fixes
   ------------------------------------------------------- */

:root,
body,
.wp-site-blocks {
	overflow: visible;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

/* -------------------------------------------------------
   1. Header — overlay hero + sticky + translucent-blur
   ------------------------------------------------------- */

.wp-site-blocks > header.wp-block-template-part {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

/* Pseudo-element backdrop — keeps header from becoming a containing
   block for the mobile nav overlay's position:fixed. */
.wp-site-blocks > header.wp-block-template-part::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	transition: background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

body.is-scrolled .wp-site-blocks > header.wp-block-template-part::before {
	background: color-mix(in srgb, var(--wp--preset--color--white) 82%, transparent);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 1px 0 var(--wp--preset--color--soft-border);
}

/* When scrolled over non-hero content the header text must flip to dark */
body.is-scrolled .site-header,
body.is-scrolled .site-header a:not(.wp-block-button__link),
body.is-scrolled .site-header .wp-block-site-title a,
body.is-scrolled .site-header .wp-block-navigation a {
	color: var(--wp--preset--color--charcoal);
}

body.is-scrolled .site-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--brand-yellow-hover);
}

/* Language switcher styling */
body.is-scrolled .site-header .lang-switcher,
body.is-scrolled .site-header .lang-switcher a {
	color: var(--wp--preset--color--charcoal);
}

/* Header inner group transitions */
.site-header {
	transition: color 0.3s ease;
}

/* -------------------------------------------------------
   2. Typography polish
   ------------------------------------------------------- */

/* Body copy refinements */
p {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Fraunces accent headlines — editorial warmth */
.has-fraunces-font-family,
.wp-block-heading.has-fraunces-font-family {
	font-style: normal;
	letter-spacing: -0.01em;
}

/* Heading rhythm */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Paragraph spacing inside constrained groups */
.wp-block-group p + p {
	margin-top: var(--wp--preset--spacing--30);
}

/* Small / meta text — captions, labels, dates */
.wp-block-post-date,
figcaption,
.wp-block-post-excerpt__more-link {
	font-family: var(--wp--preset--font-family--inter);
}

/* -------------------------------------------------------
   3. Link styles
   ------------------------------------------------------- */

a {
	transition: color 0.2s ease;
}

/* Underline links in prose blocks only */
.entry-content a:not(.wp-block-button__link):not(.wp-block-navigation-item__content),
.wp-block-post-content a:not(.wp-block-button__link) {
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--wp--preset--color--brand-yellow);
}

.entry-content a:not(.wp-block-button__link):hover,
.wp-block-post-content a:not(.wp-block-button__link):hover {
	text-decoration-color: var(--wp--preset--color--brand-yellow-hover);
	color: var(--wp--preset--color--brand-yellow-hover);
}

/* Navigation link hover underline */
.wp-block-navigation a {
	position: relative;
	text-decoration: none;
}

.wp-block-navigation a::after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--wp--preset--color--brand-yellow);
	transition: width 0.3s ease;
}

.wp-block-navigation a:hover::after,
.wp-block-navigation .current-menu-item > a::after {
	width: 100%;
}

/* -------------------------------------------------------
   4. Button styles & variants
   ------------------------------------------------------- */

.wp-block-button__link {
	transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	text-decoration: none;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--inter);
}

@media (prefers-reduced-motion: no-preference) {
	.wp-block-button__link:hover {
		transform: translateY(-1px);
		box-shadow: 0 6px 24px rgba(246, 185, 0, 0.35);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link:hover {
		transform: none;
	}
}

/* Outline button variant */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.08);
	box-shadow: none;
}

/* White outline on dark / hero surfaces */
.wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--wp--preset--color--white);
}

.wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--white);
	background: rgba(255, 255, 255, 0.1);
}

/* -------------------------------------------------------
   5. Hero / Cover block treatments
   ------------------------------------------------------- */

/* Cinematic gradient overlay on cover blocks */
.wp-block-cover.hero-cover::after,
.wp-block-cover .wp-block-cover__background {
	opacity: 0 !important;
}

/* Hero headline upper styling */
.hero-headline {
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Eyebrow / kicker decoration */
.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
	content: "";
	width: 40px;
	height: 1px;
	background: var(--wp--preset--color--brand-yellow);
	opacity: 0.6;
}

/* Hero horizontal rule accent */
.hero-rule {
	width: 80px;
	height: 3px;
	background: var(--wp--preset--color--brand-yellow);
	border: none;
	border-radius: 2px;
	margin: 0 auto;
}

/* -------------------------------------------------------
   6. Card styles
   ------------------------------------------------------- */

/* Generic card pattern */
.card,
.route-card,
.scooter-card,
.benefit-card,
.stat-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--soft-border);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
	.card:hover,
	.route-card:hover,
	.scooter-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 12px 32px rgba(23, 23, 23, 0.08);
	}
}

/* Card on warm-bg surface */
.has-warm-bg-background-color .card,
.has-warm-bg-background-color .route-card,
.has-warm-bg-background-color .scooter-card {
	background: var(--wp--preset--color--white);
}

/* Stat card — compact number display */
.stat-card {
	text-align: center;
	padding: var(--wp--preset--spacing--40);
}

/* Benefit / trust strip cards */
.benefit-card {
	text-align: center;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	border: none;
	background: transparent;
}

.benefit-card:hover {
	transform: none;
	box-shadow: none;
}

/* -------------------------------------------------------
   7. Image treatments
   ------------------------------------------------------- */

.wp-block-image img {
	border-radius: 12px;
}

/* Cover images — ensure they stay rounded when inside cards */
.route-card .wp-block-image img,
.scooter-card .wp-block-image img {
	border-radius: 0;
}

/* Featured images */
.wp-block-post-featured-image img {
	border-radius: 12px;
	object-fit: cover;
	width: 100%;
}

/* Gallery rounded corners */
.wp-block-gallery .wp-block-image img {
	border-radius: 8px;
}

/* -------------------------------------------------------
   8. Booking bar
   ------------------------------------------------------- */

.booking-bar {
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(23, 23, 23, 0.1);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.booking-bar label {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary-text);
	display: block;
	margin-bottom: 0.35rem;
}

.booking-bar input,
.booking-bar select {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	color: var(--wp--preset--color--charcoal);
	background: var(--wp--preset--color--warm-bg);
	border: 1.5px solid var(--wp--preset--color--soft-border);
	border-radius: 10px;
	padding: 0.7rem 0.9rem;
	width: 100%;
	outline: none;
	transition: border-color 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.booking-bar input:focus,
.booking-bar select:focus {
	border-color: var(--wp--preset--color--brand-yellow);
}

/* Select wrapper caret */
.select-wrapper {
	position: relative;
}

.select-wrapper::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid var(--wp--preset--color--secondary-text);
	pointer-events: none;
}

.select-wrapper select {
	padding-right: 2.2rem;
	cursor: pointer;
}

/* -------------------------------------------------------
   9. Location badge
   ------------------------------------------------------- */

.hero-location-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 0.5rem 1rem;
	border-radius: 40px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--white);
}

/* -------------------------------------------------------
   10. Difficulty / tag badges
   ------------------------------------------------------- */

.badge,
.difficulty-badge,
.tag-badge {
	display: inline-block;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	line-height: 1.4;
}

.badge-easy {
	background: #e8f5e9;
	color: #2e7d32;
}

.badge-medium {
	background: #fff3e0;
	color: #e65100;
}

.badge-hard {
	background: #fce4ec;
	color: #c62828;
}

.badge-default,
.tag-badge {
	background: var(--wp--preset--color--light-sand);
	color: var(--wp--preset--color--charcoal);
}

/* -------------------------------------------------------
   11. Steps / process section
   ------------------------------------------------------- */

.step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--brand-yellow);
	color: var(--wp--preset--color--charcoal);
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1;
	flex-shrink: 0;
}

/* -------------------------------------------------------
   12. Accordion / FAQ (core/details)
   ------------------------------------------------------- */

.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--soft-border);
	padding: var(--wp--preset--spacing--30) 0;
}

.wp-block-details summary {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--normal);
	color: var(--wp--preset--color--charcoal);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--20) 0;
	transition: color 0.2s ease;
}

.wp-block-details summary:hover {
	color: var(--wp--preset--color--brand-yellow-hover);
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--brand-yellow);
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.wp-block-details[open] summary::after {
	content: "\2212";
}

.wp-block-details > *:not(summary) {
	padding-top: var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--secondary-text);
}

/* -------------------------------------------------------
   13. Separator refinements
   ------------------------------------------------------- */

.wp-block-separator {
	border: none;
	opacity: 1;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 120px;
}

.wp-block-separator.is-style-wide {
	max-width: 100%;
}

/* -------------------------------------------------------
   14. Quote & pullquote polish
   ------------------------------------------------------- */

.wp-block-quote {
	font-style: normal;
}

.wp-block-quote cite,
.wp-block-pullquote cite {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	font-weight: 500;
	color: var(--wp--preset--color--secondary-text);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* -------------------------------------------------------
   15. Footer treatments
   ------------------------------------------------------- */

.footer-band {
	border-top: 3px solid var(--wp--preset--color--brand-yellow);
}

.footer-band a:not(.wp-block-button__link) {
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-band a:not(.wp-block-button__link):hover {
	color: var(--wp--preset--color--brand-yellow);
}

/* -------------------------------------------------------
   16. Form fields (contact / booking forms)
   ------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="number"],
textarea,
select {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--charcoal);
	background: var(--wp--preset--color--warm-bg);
	border: 1.5px solid var(--wp--preset--color--soft-border);
	border-radius: 10px;
	padding: 0.75rem 1rem;
	width: 100%;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
	border-color: var(--wp--preset--color--brand-yellow);
	box-shadow: 0 0 0 3px rgba(246, 185, 0, 0.15);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

/* -------------------------------------------------------
   17. Language switcher
   ------------------------------------------------------- */

.lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lang-switcher a {
	text-decoration: none;
	padding: 0.2rem 0.35rem;
	border-radius: 4px;
	transition: background 0.2s ease;
}

.lang-switcher a.active {
	background: rgba(255, 255, 255, 0.2);
}

.lang-switcher .separator {
	opacity: 0.4;
}

body.is-scrolled .lang-switcher a.active {
	background: rgba(23, 23, 23, 0.08);
}

/* -------------------------------------------------------
   18. Available label / status badges
   ------------------------------------------------------- */

.status-available {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: #2e7d32;
}

.status-available::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2e7d32;
}

/* -------------------------------------------------------
   19. Price display
   ------------------------------------------------------- */

.price-tag {
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--wp--preset--color--charcoal);
}

.price-tag .price-unit {
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	color: var(--wp--preset--color--secondary-text);
}

.price-tag .price-from {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	color: var(--wp--preset--color--secondary-text);
	text-transform: lowercase;
}

/* -------------------------------------------------------
   20. Feature list with check marks
   ------------------------------------------------------- */

.feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.feature-list li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: var(--wp--preset--spacing--20);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--normal);
	color: var(--wp--preset--color--charcoal);
}

.feature-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--wp--preset--color--brand-yellow);
	font-weight: 700;
	font-size: 1.1em;
}

/* -------------------------------------------------------
   21. Filter / tab buttons (excursions page)
   ------------------------------------------------------- */

.filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
}

.filter-tab {
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.45rem 1.1rem;
	border-radius: 40px;
	border: 1.5px solid var(--wp--preset--color--soft-border);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--secondary-text);
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.filter-tab:hover,
.filter-tab.active {
	background: var(--wp--preset--color--brand-yellow);
	border-color: var(--wp--preset--color--brand-yellow);
	color: var(--wp--preset--color--charcoal);
}

/* -------------------------------------------------------
   22. Route / excursion meta row
   ------------------------------------------------------- */

.route-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30);
	align-items: center;
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--secondary-text);
}

.route-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.route-meta-item svg {
	width: 16px;
	height: 16px;
	color: var(--wp--preset--color--brand-yellow);
	flex-shrink: 0;
}

/* -------------------------------------------------------
   23. WhatsApp CTA
   ------------------------------------------------------- */

.whatsapp-cta .wp-block-button__link {
	background: #25d366;
	color: var(--wp--preset--color--white);
}

.whatsapp-cta .wp-block-button__link:hover {
	background: #1ebe57;
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

/* -------------------------------------------------------
   24. Mobile responsive adjustments
   ------------------------------------------------------- */

@media (max-width: 768px) {
	/* Booking bar stacked */
	.booking-bar {
		padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
		border-radius: 12px;
	}

	/* Hero eyebrow shorter lines */
	.hero-eyebrow::before,
	.hero-eyebrow::after {
		width: 20px;
	}

	/* Cards reduce shadow on touch */
	.card:hover,
	.route-card:hover,
	.scooter-card:hover {
		transform: none;
		box-shadow: none;
	}

	/* Filter tabs scroll horizontally */
	.filter-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: var(--wp--preset--spacing--10);
	}

	.filter-tabs::-webkit-scrollbar {
		display: none;
	}

	.filter-tab {
		flex-shrink: 0;
	}
}

/* Sticky bottom CTA bar on mobile */
.mobile-sticky-bar {
	display: none;
}

@media (max-width: 782px) {
	.mobile-sticky-bar {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 99;
		background: var(--wp--preset--color--white);
		box-shadow: 0 -4px 20px rgba(23, 23, 23, 0.1);
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
		gap: var(--wp--preset--spacing--20);
		align-items: center;
		justify-content: center;
	}

	.mobile-sticky-bar .wp-block-button__link {
		font-size: var(--wp--preset--font-size--small);
		padding: 0.6rem 1.25rem;
	}

	/* Ensure body has bottom clearance for sticky bar */
	body {
		padding-bottom: 70px;
	}
}

/* -------------------------------------------------------
   25. Mobile hamburger overlay
   ------------------------------------------------------- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--40);
	align-items: flex-start;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--large);
}

/* -------------------------------------------------------
   26. Utility classes
   ------------------------------------------------------- */

/* Yellow accent top border for cards */
.accent-top-border {
	border-top: 3px solid var(--wp--preset--color--brand-yellow);
}

/* Subtle warm background sections */
.warm-section {
	background-color: var(--wp--preset--color--warm-bg);
}

/* Icon circle container */
.icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--light-sand);
	color: var(--wp--preset--color--brand-yellow);
	flex-shrink: 0;
}

.icon-circle svg {
	width: 1.5rem;
	height: 1.5rem;
}

/* -------------------------------------------------------
   27. Map placeholder
   ------------------------------------------------------- */

.map-placeholder {
	background: var(--wp--preset--color--warm-bg);
	border: 1.5px dashed var(--wp--preset--color--soft-border);
	border-radius: 12px;
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--secondary-text);
	font-family: var(--wp--preset--font-family--inter);
	font-size: var(--wp--preset--font-size--medium);
}

/* -------------------------------------------------------
   28. Booking widget section
   ------------------------------------------------------- */

.booking-widget-section {
	position: relative;
	z-index: 10;
}

.booking-widget-wrapper {
	background: var(--wp--preset--color--white);
	border-radius: 20px;
	box-shadow: 0 12px 48px rgba(23, 23, 23, 0.1);
	max-width: 1100px;
	margin: -60px auto 0 auto;
	position: relative;
	z-index: 10;
}

.booking-widget-wrapper [data-rental-widget] {
	width: 100%;
	min-height: 120px;
}

@media (max-width: 768px) {
	.booking-widget-wrapper {
		margin-top: -30px;
		border-radius: 16px;
		padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	}
}

/* -------------------------------------------------------
   29. Print styles
   ------------------------------------------------------- */

@media print {
	.site-header,
	.mobile-sticky-bar,
	.booking-bar,
	.booking-widget-section,
	.wp-block-button {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
		font-size: 12pt;
	}
}

/* ---------- Loop layout utilities ---------- */
/* These classes are wired to the wp:query blocks emitted by content/pages and
   templates. Do not rename. Tune colours and spacing to theme.json tokens. */

/* Horizontal scrollable rail */
.wp-block-query.is-style-loop-rail .wp-block-post-template {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: var(--wp--preset--spacing--20);
}
.wp-block-query.is-style-loop-rail .wp-block-post-template > * {
	flex: 0 0 320px;
	scroll-snap-align: start;
}

/* Compact list with hairline row dividers */
.wp-block-query.is-style-loop-list .wp-block-post-template > * {
	border-bottom: 1px solid var(--wp--preset--color--soft-border);
	padding-block: var(--wp--preset--spacing--30);
}
.wp-block-query.is-style-loop-list .wp-block-post-template > *:last-child {
	border-bottom: 0;
}

/* Zigzag — flip the columns inside every even entry */
.wp-block-query.is-style-loop-zigzag .wp-block-post-template > *:nth-child(even) .wp-block-columns {
	flex-direction: row-reverse;
}

/* Timeline — vertical line with node markers per entry */
.wp-block-query.is-style-loop-timeline .wp-block-post-template {
	position: relative;
	padding-inline-start: 2.5rem;
}
.wp-block-query.is-style-loop-timeline .wp-block-post-template::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0.5rem;
	width: 2px;
	background: var(--wp--preset--color--soft-border);
	opacity: 0.5;
}
.wp-block-query.is-style-loop-timeline .wp-block-post-template > * {
	position: relative;
}
.wp-block-query.is-style-loop-timeline .wp-block-post-template > *::before {
	content: "";
	position: absolute;
	inset-inline-start: -2.25rem;
	inset-block-start: 0.6rem;
	width: 1rem;
	height: 1rem;
	border: 2px solid var(--wp--preset--color--brand-yellow);
	border-radius: 50%;
	background: var(--wp--preset--color--white);
}

/* Magazine — first child spans 2 columns of the grid */
.wp-block-query.is-style-loop-magazine .wp-block-post-template > *:first-child {
	grid-column: span 2;
}
@media (max-width: 600px) {
	.wp-block-query.is-style-loop-magazine .wp-block-post-template > *:first-child {
		grid-column: auto;
	}
}