/*
Theme Name:        Smart Hotel Booking
Theme URI:         https://junedweb.com/
Description:       Smart Hotel Booking: mobile-first booking theme for the All In One Booking Core plugin: homepage with search, listing results with filters, listing details, category and location pages. The theme only shows data; all bookings and listings live in the plugin.
Version:           0.18.0
Requires at least: 6.4
Tested up to:      7.1
Requires PHP:      8.1
Author:            Juned Web
Author URI:        https://junedweb.com/
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       all-in-one-hotel-booking-wp-theme
Tags:              e-commerce, travel, two-columns, right-sidebar, custom-logo, custom-menu, custom-colors, featured-images, footer-widgets, rtl-language-support, threaded-comments, translation-ready, wide-blocks
*/

/* ---------- Tokens ---------- */
:root {
	--jbt-ink: #1b2a2f;
	--jbt-muted: #5b6b70;
	--jbt-line: #dde4e6;
	--jbt-bg: #ffffff;
	--jbt-soft: #f3f7f8;
	--jbt-brand: #0e6b72;
	--jbt-brand-dark: #0a5157;
	--jbt-accent: #f2a93b;
	--jbt-radius: 12px;
	--jbt-shadow: 0 2px 10px rgba(20, 40, 45, 0.08);
	--jbt-gap: 20px;
}

/* ---------- Base (logical properties, so RTL works without extra CSS) ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Bengali", "Noto Naskh Arabic", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--jbt-ink);
	background: var(--jbt-bg);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--jbt-brand);
}

a:hover {
	color: var(--jbt-brand-dark);
}

h1,
h2,
h3 {
	line-height: 1.25;
	margin: 0 0 0.5em;
}

h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.1rem; }

:focus-visible {
	outline: 3px solid var(--jbt-accent);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.jbt-skip {
	position: absolute;
	inset-inline-start: -999px;
	top: 0;
	background: var(--jbt-ink);
	color: #fff;
	padding: 8px 14px;
	z-index: 100;
}

.jbt-skip:focus {
	inset-inline-start: 8px;
}

.jbt-container {
	width: 100%;
	max-width: 1160px;
	margin-inline: auto;
	padding-inline: 16px;
}

.jbt-content {
	padding-block: 32px;
}

/* ---------- Header ---------- */
.jbt-header {
	background: #fff;
	border-block-end: 1px solid var(--jbt-line);
	position: sticky;
	top: 0;
	z-index: 50;
}

.jbt-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	flex-wrap: wrap;
}

.jbt-site-title {
	font-size: 1.3rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--jbt-brand);
}

.jbt-nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--jbt-line);
	border-radius: 8px;
	font-size: 1.4rem;
	line-height: 1;
	padding: 8px 12px;
	cursor: pointer;
}

.jbt-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.jbt-menu a {
	text-decoration: none;
	color: var(--jbt-ink);
	font-weight: 500;
}

.jbt-menu a:hover {
	color: var(--jbt-brand);
}

/* ---------- Buttons and forms ---------- */
.jbt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 10px;
	border: 1px solid var(--jbt-line);
	background: #fff;
	color: var(--jbt-ink);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.jbt-btn:hover {
	border-color: var(--jbt-brand);
	color: var(--jbt-brand);
}

.jbt-btn-primary {
	background: var(--jbt-brand);
	border-color: var(--jbt-brand);
	color: #fff;
}

.jbt-btn-primary:hover {
	background: var(--jbt-brand-dark);
	border-color: var(--jbt-brand-dark);
	color: #fff;
}

.jbt-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-block-end: 14px;
}

.jbt-field label,
.jbt-fieldset legend {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--jbt-muted);
}

.jbt-field input,
.jbt-field select {
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--jbt-line);
	border-radius: 10px;
	font: inherit;
	background: #fff;
	color: var(--jbt-ink);
	width: 100%;
}

.jbt-hint {
	font-size: 0.85rem;
	color: var(--jbt-muted);
	margin: 0 0 14px;
}

/* ---------- Hero and search ---------- */
.jbt-hero {
	background: linear-gradient(135deg, var(--jbt-brand-dark), var(--jbt-brand));
	color: #fff;
	padding-block: 48px 56px;
}

.jbt-hero p {
	margin: 0 0 24px;
	opacity: 0.92;
	max-width: 620px;
}

.jbt-search {
	display: grid;
	gap: 12px;
	background: #fff;
	color: var(--jbt-ink);
	padding: 16px;
	border-radius: var(--jbt-radius);
	box-shadow: var(--jbt-shadow);
}

.jbt-search .jbt-field {
	margin: 0;
}

.jbt-search .jbt-btn {
	width: 100%;
}

/* ---------- Sections and cards ---------- */
.jbt-section {
	padding-block: 36px;
}

.jbt-section:nth-of-type(even) {
	background: var(--jbt-soft);
}

.jbt-section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-block-end: 16px;
}

.jbt-section-head h2 {
	margin: 0;
}

.jbt-link {
	font-weight: 600;
}

.jbt-grid {
	display: grid;
	gap: var(--jbt-gap);
	grid-template-columns: 1fr;
}

.jbt-card {
	background: #fff;
	border: 1px solid var(--jbt-line);
	border-radius: var(--jbt-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--jbt-shadow);
}

.jbt-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--jbt-soft);
}

.jbt-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jbt-card-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #dfeaec, #eef4f5);
}

.jbt-badge {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-start: 10px;
	background: var(--jbt-accent);
	color: #1b2a2f;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 999px;
}

.jbt-card-body {
	padding: 14px 16px 16px;
}

.jbt-card-type {
	margin: 0 0 2px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--jbt-brand);
}

.jbt-card-title {
	margin: 0 0 4px;
}

.jbt-card-title a {
	color: var(--jbt-ink);
	text-decoration: none;
}

.jbt-card-title a:hover {
	color: var(--jbt-brand);
}

.jbt-card-place {
	margin: 0 0 8px;
	color: var(--jbt-muted);
	font-size: 0.9rem;
}

.jbt-card-meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: 0.9rem;
	color: var(--jbt-muted);
}

.jbt-price {
	font-weight: 700;
	color: var(--jbt-ink);
}

.jbt-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.jbt-chips a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid var(--jbt-line);
	border-radius: 999px;
	background: #fff;
	color: var(--jbt-ink);
	font-weight: 600;
	text-decoration: none;
}

.jbt-chips a:hover {
	border-color: var(--jbt-brand);
	color: var(--jbt-brand);
}

.jbt-chip-count {
	font-size: 0.8rem;
	background: var(--jbt-soft);
	border-radius: 999px;
	padding: 0 8px;
	color: var(--jbt-muted);
}

/* Elementor widgets */
.jbt-el-heading { margin: 0 0 18px; }
.jbt-el-more { display: flex; justify-content: center; margin-top: 24px; }
.jbt-no-count .jbt-chip-count { display: none; }
.jbt-el-note { padding: 14px 16px; border: 1px dashed var(--jbt-line); border-radius: 12px; color: var(--jbt-muted); background: var(--jbt-soft); font-size: .95rem; }

/* Elementor widgets, theme 0.17.0 */
.jbt-el-slider .jbt-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.jbt-el-slider .jbt-section-head .jbt-el-heading { margin: 0; }
.jbt-el-slider .jbt-grid.jbt-slider { --jbt-per: 3; grid-auto-columns: calc((100% - (var(--jbt-per) - 1) * var(--jbt-gap, 20px)) / var(--jbt-per)); }
.jbt-el-map.jbm-mapview { border-radius: 16px; overflow: hidden; }
.jbt-offer { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: 20px; background: linear-gradient(120deg, var(--jbt-brand), var(--jbt-brand-dark, #0b4f52)); color: #fff; }
.jbt-offer-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.jbt-offer-title { margin: 0; color: inherit; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; }
.jbt-offer-text, .jbt-offer-end { margin: 0; opacity: .92; }
.jbt-offer-end { font-size: .9rem; }
.jbt-offer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jbt-offer-code { padding: 8px 14px; border: 2px dashed rgba(255, 255, 255, .7); border-radius: 10px; background: rgba(255, 255, 255, .12); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.15rem; font-weight: 700; letter-spacing: .08em; color: #fff; }
.jbt-offer-copy { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 10px; background: #fff; color: var(--jbt-ink); font-weight: 700; cursor: pointer; }
.jbt-offer .jbt-btn { margin-top: 6px; background: #fff; color: var(--jbt-ink); border-color: #fff; }
.jbt-contact { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 22px; border-radius: 999px; background: var(--jbt-brand); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.jbt-contact:hover { color: #fff; filter: brightness(.95); }
.jbt-contact-whatsapp { background: #25d366; }
.jbt-contact-wrap { display: flex; flex-direction: column; align-items: flex-start; }
.jbt-el-gallery.jbt-gallery { margin: 0; }
.jbt-el-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.jbt-el-photos a { display: block; height: 200px; border-radius: 14px; overflow: hidden; }
.jbt-el-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.jbt-el-photos a:hover img { transform: scale(1.03); }
.jbt-el-info .jbt-head-tags { margin-bottom: 8px; }
.jbt-el-info-title { margin: 0 0 8px; }
.jbt-el-price { margin: 0 0 16px; font-size: 1.05rem; }
.jbt-el-price strong { font-size: 1.6rem; color: var(--jbt-ink); }
.jbt-el-rules p { margin: 0 0 8px; }
.jbt-avail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.jbt-month h4 { margin: 0 0 10px; font-size: 1.05rem; text-align: center; }
.jbt-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.jbt-dow { font-size: .75rem; font-weight: 700; color: var(--jbt-muted); text-align: center; padding-block: 4px; }
.jbt-day { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.jbt-day.is-free { background: #e8f6ef; color: #146c43; }
.jbt-day.is-busy { background: #fbe3e3; color: #a12a2a; text-decoration: line-through; }
.jbt-day.is-past { color: #b8c0c2; }
.jbt-avail-legend { display: flex; gap: 18px; margin: 14px 0 0; font-size: .9rem; color: var(--jbt-muted); }
.jbt-avail-legend span { display: inline-flex; align-items: center; gap: 6px; }
.jbt-avail-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.jbt-avail-legend i.is-free { background: #e8f6ef; border: 1px solid #9fd8bb; }
.jbt-avail-legend i.is-busy { background: #fbe3e3; border: 1px solid #eaa9a9; }
.jbt-hostcard { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border: 1px solid var(--jbt-line); border-radius: 18px; background: #fff; box-shadow: var(--jbt-shadow); }
.jbt-hostcard-av { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--jbt-brand); color: #fff; font-size: 1.4rem; font-weight: 700; }
.jbt-hostcard-body p { margin: 0 0 6px; }
.jbt-hostcard-name { font-size: 1.1rem; }
.jbt-hostcard-name a { color: var(--jbt-ink); text-decoration: none; }
.jbt-hostcard-meta { color: var(--jbt-muted); font-size: .92rem; }
.jbt-hostcard-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.jbt-hostcard-actions .jbt-contact { min-height: 40px; padding: 8px 16px; }
.jbt-el-reviews .jbm-review { padding: 12px 14px; }
@media (max-width: 640px) {
	.jbt-avail { grid-template-columns: 1fr; }
	.jbt-offer { padding: 22px; }
	.jbt-hostcard { flex-direction: column; }
}

/* ---------- Listing list ---------- */
.jbt-archive {
	padding-block: 28px 48px;
}

.jbt-archive-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-block-end: 20px;
}

.jbt-archive-head h1 {
	margin: 0;
}

.jbt-count {
	margin: 0;
	color: var(--jbt-muted);
	flex: 1 1 auto;
}

.jbt-filter-toggle {
	display: none;
}

.jbt-archive-layout {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

.jbt-filters {
	background: var(--jbt-soft);
	border-radius: var(--jbt-radius);
	padding: 16px;
	align-self: start;
}

.jbt-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.jbt-fieldset {
	border: 0;
	margin: 0 0 14px;
	padding: 0;
}

.jbt-check {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
}

.jbt-actions {
	display: flex;
	gap: 10px;
}

.jbt-empty {
	text-align: center;
	padding-block: 48px;
}

.navigation.pagination {
	margin-block-start: 28px;
}

.navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.navigation .page-numbers {
	min-width: 40px;
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border: 1px solid var(--jbt-line);
	border-radius: 10px;
	text-decoration: none;
	color: var(--jbt-ink);
}

.navigation .page-numbers.current {
	background: var(--jbt-brand);
	border-color: var(--jbt-brand);
	color: #fff;
}

/* ---------- Single listing ---------- */
.jbt-single {
	padding-block: 28px 56px;
}

.jbt-single-head {
	margin-block-end: 16px;
}

.jbt-gallery {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	margin-block-end: 24px;
	border-radius: var(--jbt-radius);
	overflow: hidden;
}

.jbt-gallery-item {
	background: var(--jbt-soft);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.jbt-gallery-item.is-main {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 9;
}

.jbt-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jbt-single-layout {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr;
}

.jbt-facts {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	color: var(--jbt-muted);
}

.jbt-block {
	padding-block: 20px;
	border-block-start: 1px solid var(--jbt-line);
}

.jbt-amenities {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 8px 16px;
}

.jbt-amenities li::before {
	content: "\2713";
	color: var(--jbt-brand);
	margin-inline-end: 8px;
	font-weight: 700;
}

.jbt-bookbox {
	border: 1px solid var(--jbt-line);
	border-radius: var(--jbt-radius);
	padding: 20px;
	box-shadow: var(--jbt-shadow);
	background: #fff;
}

.jbt-bookbox-price {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0 0 12px;
}

/* ---------- Footer ---------- */
.jbt-footer {
	background: var(--jbt-ink);
	color: #cfdadd;
	padding-block: 28px;
	margin-block-start: 40px;
}

.jbt-footer a {
	color: #fff;
}

.jbt-footer-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.jbt-copy {
	margin: 0;
	font-size: 0.9rem;
}

/* ---------- Wider screens (mobile first) ---------- */
@media (max-width: 767px) {
	.jbt-nav-toggle {
		display: inline-block;
	}

	.jbt-nav {
		display: none;
		width: 100%;
		padding-block-end: 12px;
	}

	.jbt-nav.is-open {
		display: block;
	}

	.jbt-nav .jbt-menu {
		flex-direction: column;
		gap: 8px;
	}

	.jbt-filter-toggle {
		display: inline-flex;
	}

	.jbt-filters {
		display: none;
	}

	.jbt-filters.is-open {
		display: block;
	}
}

@media (min-width: 768px) {
	.jbt-search {
		grid-template-columns: 2fr 1fr 110px auto;
		align-items: end;
	}

	.jbt-search .jbt-btn {
		width: auto;
	}

	.jbt-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.jbt-gallery {
		grid-template-columns: 2fr 1fr 1fr;
		grid-template-rows: 1fr 1fr;
	}

	.jbt-gallery-item,
	.jbt-gallery-item.is-main {
		aspect-ratio: auto;
	}

	.jbt-gallery-item.is-main {
		grid-column: 1;
		grid-row: 1 / span 2;
		min-height: 360px;
	}

	.jbt-gallery-single {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.jbt-gallery-single .jbt-gallery-item.is-main {
		grid-row: auto;
	}

	/* Fewer than 5 photos: no empty boxes (theme 0.17.0). */
	.jbt-gallery.jbt-gal-n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
	.jbt-gallery.jbt-gal-n2 .jbt-gallery-item.is-main { grid-row: auto; }
	.jbt-gallery.jbt-gal-n3 { grid-template-columns: 2fr 1fr; }
	.jbt-gallery.jbt-gal-n4 .jbt-gallery-item:nth-child(2) { grid-column: 2 / span 2; }

	.jbt-footer-inner {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

@media (min-width: 1024px) {
	.jbt-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.jbt-archive-layout {
		grid-template-columns: 280px 1fr;
	}

	.jbt-archive .jbt-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.jbt-single-layout {
		grid-template-columns: 1fr 340px;
	}

	.jbt-single-side {
		position: sticky;
		top: 88px;
		align-self: start;
	}
}

@media (min-width: 1280px) {
	.jbt-archive .jbt-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}


/* ---------- Ratings, reviews, ads (v0.2.0) ---------- */
.jbt-card-rating { margin: 0 0 4px; font-size: 0.9rem; font-weight: 600; color: var(--jbt-ink); }
.jbt-card-rating a { color: inherit; text-decoration: none; }
.jbt-card-rating span { color: var(--jbt-accent); }
.jbm-reviews { margin-block-start: 32px; }
.jbm-review { padding-block: 14px; border-block-start: 1px solid var(--jbt-line); }
.jbm-review p { margin: 0 0 6px; }
.jbm-reply { margin: 8px 0 0; padding-inline-start: 14px; border-inline-start: 3px solid var(--jbt-line); color: var(--jbt-muted); }
.jbm-ad { margin-block: 20px; text-align: center; }
.jbm-ad-label { display: block; color: var(--jbt-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }


/* ---------- Customizer helpers (v0.2.0) ---------- */
.jbt-header-cta { margin-inline-start: 8px; }
.jbt-header-centered .jbt-header-inner { justify-content: center; text-align: center; }
.jbt-footer-widgets { display: grid; gap: 24px; grid-template-columns: 1fr; padding-block: 24px; }
.jbt-footer-widgets .widget-title { font-size: 1rem; margin: 0 0 8px; }
@media (min-width: 768px) {
	.jbt-footer-widgets { grid-template-columns: repeat(var(--jbt-cols, 3), 1fr); }
}

/* Special offer badge and host page */
.jbt-card-media .jbt-badge-offer { top: auto; bottom: 10px; background: #b45309; color: #fff; }
.jbt-badge-inline { position: static; display: inline-block; }
.jbt-host .jbt-grid { margin-top: 1.5rem; }

/* ---------- Mobile polish and Elementor (v0.3.0) ---------- */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, video, iframe, svg { max-width: 100%; height: auto; }
input, select, textarea { font-size: 16px; } /* stops iPhone from zooming into fields */
.jbt-btn, .jbt-nav a, .jbt-menu a, button, select, input[type="date"] { min-height: 44px; }
.jbt-table-wrap, .jbm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.jbt-elementor-page .jbt-main { padding: 0; }
.jbt-elementor-page .jbt-main > .elementor { width: 100%; }
.jbt-grid-sc { margin-block: 8px; }
@media (min-width: 768px) {
	.jbt-grid-sc.jbt-cols-1 { grid-template-columns: 1fr; }
	.jbt-grid-sc.jbt-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.jbt-grid-sc.jbt-cols-3 { grid-template-columns: repeat(3, 1fr); }
	.jbt-grid-sc.jbt-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Booking bar at the bottom of the phone screen on a listing page */
.jbt-book-bar { display: none; }
@media (max-width: 1023px) {
	.jbt-book-bar {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: #fff; border-block-start: 1px solid var(--jbt-line); box-shadow: 0 -4px 14px rgba(0,0,0,.08);
	}
	.jbt-book-bar-price { font-weight: 700; }
	.jbt-single { padding-block-end: 76px; }
	.jbt-single-side { scroll-margin-top: 80px; }
}

/* ---------- Modern look (v0.4.0) ---------- */
:root {
	--jbt-grad: linear-gradient(135deg, var(--jbt-brand), var(--jbt-brand-dark));
	--jbt-ring: 0 0 0 3px rgba(14, 107, 114, 0.18);
	--jbt-lift: 0 12px 30px rgba(20, 40, 45, 0.14);
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--jbt-brand); box-shadow: var(--jbt-ring); }

/* Header */
.jbt-header { background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); border-block-end: 1px solid rgba(0, 0, 0, 0.06); box-shadow: 0 1px 14px rgba(20, 40, 45, 0.06); }
.jbt-menu a { padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.jbt-menu a:hover { background: var(--jbt-soft); }

/* Buttons */
.jbt-btn { border-radius: 12px; transition: transform .15s, box-shadow .15s, border-color .15s, color .15s; }
.jbt-btn-primary { background: var(--jbt-grad); border-color: transparent; box-shadow: 0 6px 16px rgba(14, 107, 114, 0.28); }
.jbt-btn-primary:hover { background: var(--jbt-grad); border-color: transparent; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(14, 107, 114, 0.35); }

/* Hero and search */
.jbt-hero { background: radial-gradient(900px 360px at 88% -10%, rgba(242, 169, 59, 0.38), transparent 62%), var(--jbt-grad); padding-block: 64px 76px; }
.jbt-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -0.01em; }
.jbt-search { border-radius: 18px; box-shadow: var(--jbt-lift); }

/* Listing cards */
.jbt-card { border-radius: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.jbt-card:hover { transform: translateY(-4px); box-shadow: var(--jbt-lift); }
.jbt-card-media img { transition: transform .5s; }
.jbt-card:hover .jbt-card-media img { transform: scale(1.05); }
.jbt-badge { border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }

/* Single listing */
.jbt-single { background: linear-gradient(180deg, var(--jbt-soft), #fff 380px); }
.jbt-single-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.2; margin-block: 4px 8px; }
.jbt-gallery { border-radius: 18px; gap: 6px; box-shadow: var(--jbt-shadow); }
.jbt-gallery-item img { transition: transform .5s; }
.jbt-gallery-item:hover img { transform: scale(1.04); }
.jbt-facts { gap: 10px; margin-block-end: 12px; }
.jbt-facts li { background: #fff; border: 1px solid var(--jbt-line); border-radius: 999px; padding: 7px 16px; color: var(--jbt-ink); font-size: 0.92rem; box-shadow: 0 1px 4px rgba(20, 40, 45, 0.05); }
.jbt-single-main .jbt-block { background: #fff; border: 1px solid var(--jbt-line); border-radius: 18px; padding: 22px; margin-block: 16px; box-shadow: var(--jbt-shadow); }
.jbt-single-main .jbt-block > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 0 0 14px; }
.jbt-single-main .jbt-block > h2::before { content: ""; width: 5px; height: 1.15em; border-radius: 3px; background: linear-gradient(var(--jbt-brand), var(--jbt-accent)); flex: none; }
/* Headings typed inside the description stay in proportion */
.jbt-prose { line-height: 1.75; overflow-wrap: anywhere; }
.jbt-prose > *:first-child { margin-top: 0; }
.jbt-prose h1, .jbt-prose h2 { font-size: 1.35rem; line-height: 1.3; margin: 1.2em 0 .5em; }
.jbt-prose h3, .jbt-prose h4 { font-size: 1.12rem; line-height: 1.35; margin: 1.1em 0 .4em; }
.jbt-prose img { border-radius: 12px; }
.jbt-amenities { gap: 10px; }
.jbt-amenities li { background: var(--jbt-soft); border: 1px solid var(--jbt-line); border-radius: 12px; padding: 9px 12px; }
.jbt-amenities li::before { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--jbt-brand); color: #fff; font-size: 12px; }

/* Booking box */
.jbt-bookbox { padding: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--jbt-line); box-shadow: var(--jbt-lift); }
.jbt-bookbox-price { margin: 0; padding: 18px 22px; background: var(--jbt-grad); color: #fff; font-size: 1.25rem; }
.jbt-bookbox .jbm-box { border: 0; box-shadow: none; border-radius: 0; padding: 20px 22px; }
.jbt-bookbox .jbm-wa-wrap { margin: 0; padding: 0 22px 22px; }
.jbt-bookbox > .jbt-hint { padding: 20px 22px; margin: 0; }
@media (min-width: 1024px) {
	.jbt-single-side { position: sticky; top: 88px; align-self: start; }
}

/* Footer */
.jbt-footer { background: linear-gradient(135deg, var(--jbt-ink), #0d2f33); }

@media (prefers-reduced-motion: reduce) {
	.jbt-card, .jbt-card-media img, .jbt-gallery-item img, .jbt-btn { transition: none; }
	.jbt-card:hover, .jbt-btn-primary:hover { transform: none; }
}

/* ---------- Search box alignment fix (v0.4.3) ---------- */
.jbt-search { grid-template-columns: minmax(0, 1fr); }
.jbt-search .jbt-field { min-width: 0; }
.jbt-search input,
.jbt-search select { width: 100%; min-width: 0; box-sizing: border-box; height: 46px; }
.jbt-search .jbt-btn { height: 46px; display: inline-flex; align-items: center; justify-content: center; }

@media (min-width: 600px) and (max-width: 1099px) {
	.jbt-search { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
	.jbt-search .jbt-field-grow { grid-column: 1 / -1; }
	.jbt-search .jbt-btn { grid-column: 1 / -1; width: 100%; }
}

@media (min-width: 1100px) {
	.jbt-search {
		grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, .8fr) auto;
		align-items: end;
	}
	.jbt-search .jbt-btn { width: auto; padding-inline: 28px; }
}

/* ---------- Pages, account, tables, footer: colourful look (v0.5.0) ---------- */
.jbt-page-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding-block: 38px 64px;
	background:
		radial-gradient(520px 220px at 88% 0%, rgba(242, 169, 59, 0.55), transparent 70%),
		radial-gradient(420px 200px at 8% 110%, rgba(94, 214, 196, 0.35), transparent 70%),
		linear-gradient(135deg, var(--jbt-brand-dark), var(--jbt-brand) 60%, #18909a);
}
.jbt-page-hero h1 { color: #fff; margin: 6px 0 0; font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.15; }
.jbt-crumbs { margin: 0; font-size: 0.9rem; opacity: 0.9; display: flex; flex-wrap: wrap; gap: 6px; }
.jbt-crumbs a { color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.16); padding: 2px 12px; border-radius: 999px; }
.jbt-crumbs a:hover { background: rgba(255, 255, 255, 0.28); }

.jbt-page-body { margin-block-start: -40px; position: relative; padding-block-end: 48px; }
.jbt-page-body .jbt-article {
	background: #fff;
	border-radius: 22px;
	padding: clamp(18px, 4vw, 34px);
	box-shadow: var(--jbt-lift);
	border: 1px solid rgba(14, 107, 114, 0.08);
	border-block-start: 5px solid var(--jbt-accent);
	min-width: 0;
}
.jbt-page-body .jbt-article > *:first-child { margin-block-start: 0; }

/* Section headings with a colour bar */
.jbt-page-body h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; margin: 1.6em 0 0.7em; }
.jbt-page-body h2::before { content: ""; width: 6px; height: 1.2em; border-radius: 4px; background: linear-gradient(180deg, var(--jbt-accent), var(--jbt-brand)); flex: none; }

/* My account */
.jbm-account > p:first-child {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
	margin: 0 0 8px; padding: 14px 18px; border-radius: 16px;
	background: linear-gradient(135deg, #e6f6f4, #fff4de);
	border: 1px solid rgba(14, 107, 114, 0.12);
	font-weight: 600;
}
.jbm-account > p:first-child a { background: #fff; padding: 6px 14px; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 8px rgba(20, 40, 45, 0.08); font-size: 0.92rem; }
.jbm-account > p:first-child a:hover { background: var(--jbt-brand); color: #fff; }
.jbm-account h2 + p { margin: 0 0 12px; padding: 22px; text-align: center; border: 2px dashed #bcd9db; border-radius: 16px; background: #f6fbfb; color: var(--jbt-muted); }
.jbm-account .jbm-form { box-shadow: none; background: #fbfdfd; border-color: #d6e6e8; }
.jbm-account .jbm-form > .jbm-button,
.jbm-account .jbm-form > button.jbm-button { width: auto; justify-self: start; padding-inline: 34px; }

/* Tables (bookings, price lines) */
.jbm-table-wrap { border: 1px solid #dbe8ea; border-radius: 16px; overflow: auto; box-shadow: 0 4px 14px rgba(20, 40, 45, 0.05); }
.jbm-bookings { width: 100%; border-collapse: collapse; margin: 0; }
.jbm-bookings th { background: linear-gradient(135deg, var(--jbt-brand), var(--jbt-brand-dark)); color: #fff; font-size: 0.82rem; letter-spacing: .04em; text-transform: uppercase; padding: 12px 14px; text-align: start; white-space: nowrap; }
.jbm-bookings td { padding: 12px 14px; border-block-start: 1px solid #eaf1f2; }
.jbm-bookings tbody tr:nth-child(even) { background: #f7fbfb; }
.jbm-bookings tbody tr:hover { background: #fff4de; }

/* Footer */
.jbt-footer { border-block-start: 5px solid var(--jbt-accent); color: #cfe3e5; }
.jbt-footer-widgets { padding-block: 40px 16px; }
.jbt-footer h1, .jbt-footer h2, .jbt-footer h3, .jbt-footer .widget-title { font-size: 0.95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--jbt-accent); margin: 0 0 12px; }
.jbt-footer ul { list-style: none; margin: 0; padding: 0; }
.jbt-footer li { padding: 4px 0; }
.jbt-footer a { color: #fff; text-decoration: none; opacity: .9; }
.jbt-footer a:hover { opacity: 1; color: var(--jbt-accent); }
.jbt-footer-inner { border-block-start: 1px solid rgba(255, 255, 255, 0.14); margin-block-start: 16px; padding-block: 18px; }
.jbt-copy { margin: 0; font-size: 0.9rem; opacity: .85; }

@media (max-width: 600px) {
	.jbt-page-hero { padding-block: 28px 56px; }
	.jbm-bookings th, .jbm-bookings td { padding: 10px; }
}
.jbm-bookings td { white-space: nowrap; }

/* ---------- Sign in form (WordPress login form) ---------- */
#loginform, .jbm-account #loginform {
	display: grid; gap: 14px; margin: 0; padding: 18px;
	border: 1px solid #d6e6e8; border-radius: 16px; background: #fbfdfd;
	box-shadow: 0 6px 22px rgba(20, 40, 45, 0.07);
}
#loginform p { margin: 0; }
#loginform label { display: block; font-size: 14px; font-weight: 600; color: var(--jbt-ink); margin-block-end: 4px; }
#loginform input[type="text"], #loginform input[type="password"], #loginform input[type="email"] {
	display: block; width: 100%; min-height: 46px; padding: 10px 12px; box-sizing: border-box;
	border: 1px solid #cfd8dc; border-radius: 10px; background: #fff; font: inherit;
}
#loginform .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; }
#loginform .login-remember input { width: 18px; height: 18px; accent-color: var(--jbt-brand); }
#loginform input[type="submit"], #loginform .button-primary {
	width: 100%; min-height: 48px; border: 0; border-radius: 12px; cursor: pointer;
	background: linear-gradient(135deg, var(--jbt-brand), var(--jbt-brand-dark)); color: #fff;
	font: inherit; font-weight: 700; box-shadow: 0 8px 18px rgba(14, 107, 114, 0.28);
	transition: transform .15s, box-shadow .15s;
}
#loginform input[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(14, 107, 114, 0.34); }
.jbm-account-grid a[href*="lostpassword"] { display: inline-block; margin-block-start: 12px; font-weight: 600; }
.jbm-account-grid > div > h2:first-child { margin-block-start: 0; }
.jbm-account-grid .jbm-form > .jbm-button, .jbm-account-grid .jbm-form > button.jbm-button { width: 100%; justify-self: stretch; }

/* v0.6.0: clickable gallery + lightbox */
a.jbt-gallery-item{position:relative;display:block;cursor:zoom-in}
a.jbt-gallery-item img{transition:transform .35s ease}
a.jbt-gallery-item:hover img{transform:scale(1.04)}
.jbt-gallery-item.is-hidden{display:none}
.jbt-gallery-more{position:absolute;inset-inline-end:12px;inset-block-end:12px;background:rgba(255,255,255,.95);color:#0a5157;font-weight:800;font-size:14px;padding:9px 16px;border-radius:999px;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.jbt-lb{position:fixed;inset:0;z-index:99999;background:rgba(8,20,22,.94);display:none;align-items:center;justify-content:center;padding:24px}
.jbt-lb.is-open{display:flex}
.jbt-lb img{max-width:min(1200px,92vw);max-height:84vh;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.5);object-fit:contain}
.jbt-lb button{position:absolute;border:0;cursor:pointer;color:#fff;background:rgba(255,255,255,.14);width:48px;height:48px;border-radius:50%;font-size:26px;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .15s}
.jbt-lb button:hover{background:rgba(255,255,255,.3)}
.jbt-lb .jbt-lb-close{inset-block-start:18px;inset-inline-end:18px}
.jbt-lb .jbt-lb-prev{inset-inline-start:18px;inset-block-start:50%;transform:translateY(-50%)}
.jbt-lb .jbt-lb-next{inset-inline-end:18px;inset-block-start:50%;transform:translateY(-50%)}
.jbt-lb .jbt-lb-count{position:absolute;inset-block-end:18px;inset-inline:0;text-align:center;color:#d6e6e8;font-size:14px}
@media(max-width:600px){.jbt-lb .jbt-lb-prev,.jbt-lb .jbt-lb-next{inset-block-start:auto;inset-block-end:18px;transform:none}.jbt-lb .jbt-lb-count{inset-block-end:30px}}

/* ---------- Stays page: cleaner filters, even cards, better on phones (v0.7.0) ---------- */
.jbt-archive { padding-block: 22px 56px; }
.jbt-archive-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 18px; }
.jbt-archive-head h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.1; }
.jbt-count { flex: 0 1 auto; font-size: .95rem; background: var(--jbt-soft); padding: 3px 12px; border-radius: 999px; }
.jbt-filter-toggle { margin-inline-start: auto; }

/* Filter panel */
.jbt-filters {
	background: #fff;
	border: 1px solid var(--jbt-line);
	border-radius: 18px;
	padding: 18px;
	box-shadow: var(--jbt-shadow);
	min-width: 0;
}
.jbt-filters .jbt-field { min-width: 0; margin: 0 0 14px; }
.jbt-filters label,
.jbt-filters legend { display: block; font-size: .85rem; font-weight: 700; color: var(--jbt-ink); margin-bottom: 6px; padding: 0; }
.jbt-filters input[type="search"],
.jbt-filters input[type="number"],
.jbt-filters input[type="date"],
.jbt-filters select {
	width: 100%; min-width: 0; max-width: 100%; height: 44px; padding: 0 12px;
	border: 1px solid var(--jbt-line); border-radius: 10px; background: #fff; color: var(--jbt-ink);
	font: inherit; font-size: .95rem; box-sizing: border-box;
}
.jbt-filters input:focus,
.jbt-filters select:focus { outline: 2px solid var(--jbt-brand); outline-offset: 1px; border-color: var(--jbt-brand); }
.jbt-filters .jbt-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.jbt-filters .jbt-field-row:has(input[type="date"]) { grid-template-columns: minmax(0, 1fr); gap: 0; }
.jbt-filters .jbt-hint { font-size: .8rem; color: var(--jbt-muted); margin: -6px 0 14px; line-height: 1.4; }
.jbt-filters .jbt-fieldset { margin: 0 0 14px; }
.jbt-filters .jbt-fieldset .jbt-check {
	display: inline-flex; width: auto; margin: 0 6px 8px 0; min-height: 0; padding: 6px 12px;
	border: 1px solid var(--jbt-line); border-radius: 999px; font-size: .85rem; font-weight: 600; cursor: pointer; background: #fff;
}
.jbt-filters .jbt-fieldset .jbt-check:has(input:checked) { background: var(--jbt-brand); border-color: var(--jbt-brand); color: #fff; }
.jbt-filters .jbt-fieldset .jbt-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jbt-filters .jbt-check { position: relative; }
.jbt-filters .jbt-actions { margin-top: 4px; }
.jbt-filters .jbt-actions .jbt-btn { flex: 1 1 0; text-align: center; justify-content: center; white-space: nowrap; padding-inline: 12px; }
.jbt-filters .jbt-actions .jbt-btn-primary { flex: 1.5 1 0; box-shadow: none; }

/* Cards: same height, price pinned to the bottom, friendly picture placeholder */
.jbt-results { min-width: 0; }
.jbt-grid { align-items: stretch; }
.jbt-card { height: 100%; }
.jbt-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.jbt-card-placeholder {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%230e6b72' stroke-opacity='.45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 30 32 10l24 20'/%3E%3Cpath d='M14 26v26h36V26'/%3E%3Cpath d='M26 52V36h12v16'/%3E%3C/svg%3E") center / 56px no-repeat,
		linear-gradient(135deg, #dfeaec, #eef4f5);
}
.jbt-card-body { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 16px; }
.jbt-card-title { font-size: 1.1rem; line-height: 1.3; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jbt-card-place { margin: 0 0 4px; font-size: .9rem; color: var(--jbt-muted); }
.jbt-card-meta {
	margin: auto 0 0; padding-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px;
	font-size: .9rem; color: var(--jbt-muted);
}
.jbt-card-meta .jbt-price { font-weight: 800; color: var(--jbt-brand-dark); font-size: 1rem; }

/* Phones */
@media (max-width: 767px) {
	.jbt-archive { padding-block: 16px 40px; }
	.jbt-archive-head { margin-bottom: 14px; }
	.jbt-filter-toggle { display: inline-flex; align-items: center; gap: 6px; padding-inline: 18px; }
	.jbt-filter-toggle::before { content: "\2630"; font-size: 1rem; }
	.jbt-archive-layout { gap: 14px; }
	.jbt-filters { padding: 16px; }
	.jbt-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.jbt-card-media { aspect-ratio: 16 / 9; }
	.jbt-filters input, .jbt-filters select { font-size: 16px; } /* stops iPhone zooming into fields */
}
@media (min-width: 1024px) {
	.jbt-filters { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; }
}

/* v0.8.0 - maps */
.jbt-map{border-radius:16px;margin:12px 0;min-height:240px}
.jbt-viewtoggle{display:inline-flex;border:1px solid var(--jbt-line,#e3e3e3);border-radius:999px;overflow:hidden;margin:0 0 14px;background:#fff}
.jbt-vt{border:0;background:transparent;padding:8px 20px;font:600 14px/1 inherit;cursor:pointer;color:inherit}
.jbt-vt.is-on{background:#111;color:#fff}
.jbt-mapwrap[hidden]{display:none}
.jbt-results.is-map .jbt-grid,.jbt-results.is-map .navigation.pagination{display:none}
@media (max-width:640px){.jbt-mapwrap .jbt-map{height:440px!important}}

/* v0.8.0 - wishlist */
.jbt-card{position:relative}
.jbt-heart{position:absolute;top:10px;right:10px;z-index:3;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.92);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 6px rgba(0,0,0,.18);color:#1b2a2f;padding:0}
.jbt-heart svg{fill:none;stroke:currentColor;stroke-width:2}
.jbt-heart.is-on svg{fill:#e0245e;stroke:#e0245e}
.jbt-heart:focus-visible{outline:2px solid #1b2a2f;outline-offset:2px}
h1 + .jbt-heart{position:static;display:inline-flex;margin:6px 0}
.jbt-saved-link{position:relative;display:inline-flex;align-items:center;padding:8px;color:inherit}
.jbt-saved-link svg{fill:none;stroke:currentColor;stroke-width:2}
.jbt-saved-count{position:absolute;top:0;right:0;min-width:18px;height:18px;border-radius:9px;background:#e0245e;color:#fff;font:600 11px/18px system-ui,sans-serif;text-align:center;padding:0 4px}
.jbt-saved-count[hidden]{display:none}

/* v0.8.0 - blog */
.jbt-post-grid{margin-top:8px}
.jbt-blog .jbt-searchform{margin:0 0 22px}
.jbt-searchform{display:flex;gap:8px;max-width:520px}
.jbt-searchform input[type=search]{flex:1;min-width:0;padding:11px 14px;border:1px solid var(--jbt-line);border-radius:12px;font:inherit}
.jbt-post-excerpt{color:var(--jbt-muted);margin:6px 0 10px;font-size:.95rem}
.jbt-post-meta{color:rgba(255,255,255,.85);margin:10px 0 0;font-size:.95rem}
.jbt-post-hero{margin:0 0 24px}
.jbt-post-hero img{width:100%;height:auto;border-radius:16px;display:block}
.jbt-post-tags{margin-top:24px;font-size:.9rem;color:var(--jbt-muted)}
.jbt-post-tags a{display:inline-block;margin:0 6px 6px 0;padding:4px 12px;border:1px solid var(--jbt-line);border-radius:999px;text-decoration:none;color:inherit}
.jbt-post-nav{display:flex;justify-content:space-between;gap:16px;margin:32px 0;padding:18px 0;border-block:1px solid var(--jbt-line)}
.jbt-post-nav a{text-decoration:none;font-weight:600}
.jbt-post-nav .jbt-next{margin-inline-start:auto;text-align:end}
.jbt-single-post .jbt-article,.jbt-single-post .jbt-comments{max-width:760px;margin-inline:auto}
.jbt-comments{margin-top:24px}
.jbt-comment-list{list-style:none;margin:0 0 24px;padding:0}
.jbt-comment-list .comment-body{padding:16px 0;border-bottom:1px solid var(--jbt-line)}
.jbt-comment-list .children{list-style:none;margin-inline-start:28px;padding:0}
.jbt-comment-list .avatar{border-radius:50%;float:left;margin:0 12px 6px 0}
.jbt-comment-list .comment-author{display:flex;align-items:center;gap:10px;font-weight:600}
.jbt-comment-list .comment-metadata{font-size:.85rem;color:var(--jbt-muted)}
.jbt-comment-list .comment-metadata a{color:inherit;text-decoration:none}
.comment-form{display:grid;gap:12px}
.comment-form label{display:block;font-weight:600;margin-bottom:4px}
.comment-form textarea,.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url]{width:100%;padding:11px 14px;border:1px solid var(--jbt-line);border-radius:12px;font:inherit;box-sizing:border-box}
.comment-form .submit{background:var(--jbt-ink);color:#fff;border:0;border-radius:12px;padding:12px 22px;font-weight:600;cursor:pointer}
.comment-form-cookies-consent{display:flex;gap:8px;align-items:center}
.comment-form-cookies-consent label{margin:0;font-weight:400}
/* Mobile header: the header button would drop onto its own row, so hide it (the menu has the same link). */
@media (max-width:767px){.jbt-header-cta{display:none}.jbt-header-inner{flex-wrap:nowrap}.jbt-saved-link{margin-inline-start:auto}}

/* v0.9.2 - nicer hearts */
.jbt-heart{top:12px;right:12px;width:42px;height:42px;background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.7);box-shadow:0 4px 14px rgba(15,40,45,.22);color:#33444a;transition:transform .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease}
.jbt-heart svg{width:22px;height:22px;fill:transparent;stroke:currentColor;stroke-width:2;stroke-linejoin:round;transition:fill .18s ease,stroke .18s ease,transform .18s ease}
.jbt-heart:hover{transform:scale(1.1);background:#fff;color:#e0245e;box-shadow:0 6px 18px rgba(224,36,94,.28)}
.jbt-heart:active{transform:scale(.92)}
.jbt-heart.is-on{background:#fff;color:#e0245e}
.jbt-heart.is-on svg{fill:#e0245e;stroke:#e0245e}
.jbt-heart.is-pop svg{animation:jbt-pop .45s cubic-bezier(.2,1.6,.4,1)}
@keyframes jbt-pop{0%{transform:scale(.6)}60%{transform:scale(1.35)}100%{transform:scale(1)}}
.jbt-saved-link{width:42px;height:42px;justify-content:center;border-radius:50%;padding:0;transition:background .18s ease,color .18s ease}
.jbt-saved-link:hover{background:rgba(224,36,94,.1);color:#e0245e}
.jbt-saved-link svg{width:24px;height:24px;fill:transparent;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.jbt-saved-link:has(.jbt-saved-count:not([hidden])) svg{fill:#e0245e;stroke:#e0245e}
.jbt-saved-count{top:2px;right:0;border:2px solid #fff;box-sizing:content-box}
@media (prefers-reduced-motion:reduce){.jbt-heart,.jbt-heart svg{transition:none}.jbt-heart.is-pop svg{animation:none}}
.jbt-saved-link .jbt-saved-count{top:-2px;right:-4px}
.jbt-saved-link{overflow:visible}

/* ---------- v0.10.0 Stays page: toolbar, filter chips, richer cards ---------- */
.jbt-archive-ctx { flex-basis: 100%; margin: 0; color: var(--jbt-muted); font-size: .95rem; }
.jbt-filter-toggle::before { content: none !important; }
.jbt-filter-toggle svg { flex: none; }

.jbt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; padding: 10px 12px; background: #fff; border: 1px solid var(--jbt-line); border-radius: 14px; }
.jbt-toolbar-left, .jbt-toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.jbt-toolbar-left { flex: 1 1 320px; }
.jbt-toolbar-hint { color: var(--jbt-muted); font-size: .9rem; }
.jbt-toolbar-count { font-size: 1rem; color: var(--jbt-ink); margin-inline-end: 4px; }
.jbt-fchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--jbt-soft); border: 1px solid var(--jbt-line); color: var(--jbt-ink); font-size: .85rem; font-weight: 600; text-decoration: none; }
.jbt-fchip span { font-size: 1.05rem; line-height: 1; color: var(--jbt-muted); }
.jbt-fchip:hover { border-color: var(--jbt-brand); color: var(--jbt-brand); }
.jbt-fchip:hover span { color: var(--jbt-brand); }
.jbt-fclear { font-size: .85rem; font-weight: 600; color: var(--jbt-brand); }
.jbt-sortform select { height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--jbt-line); border-radius: 10px; background-color: #fff; font: inherit; font-size: .9rem; font-weight: 600; color: var(--jbt-ink); cursor: pointer; }
.jbt-toolbar .jbt-viewtoggle { margin: 0; }
.jbt-vt { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; }
.jbt-vt.is-on { background: var(--jbt-brand); color: #fff; }

.jbt-more-ams { margin-top: 2px; }
.jbt-more-ams summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--jbt-brand); margin: 2px 0 8px; list-style: none; }
.jbt-more-ams summary::-webkit-details-marker { display: none; }
.jbt-more-ams summary::after { content: " +"; }
.jbt-more-ams[open] summary::after { content: " −"; }

/* Cards */
.jbt-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.jbt-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 40, 45, .14); border-color: #cfdcdf; }
.jbt-card-media img { transition: transform .45s ease; }
.jbt-card:hover .jbt-card-media img { transform: scale(1.05); }
.jbt-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; margin-bottom: 4px; }
.jbt-card-top .jbt-card-type, .jbt-card-top .jbt-card-rating { margin: 0; }
.jbt-card-top .jbt-card-rating { font-size: .85rem; white-space: nowrap; }
.jbt-card-place { display: flex; align-items: center; gap: 5px; margin: 0 0 10px; min-width: 0; }
.jbt-card-place svg { flex: none; color: var(--jbt-brand); }
.jbt-card-place span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.jbt-card-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jbt-card-facts li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: var(--jbt-soft); color: var(--jbt-ink); font-size: .8rem; font-weight: 600; }
.jbt-card-facts svg { color: var(--jbt-brand); flex: none; }
.jbt-card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--jbt-line); margin-block-start: 14px; }
.jbt-card-price { margin: 0; line-height: 1.25; color: var(--jbt-muted); font-size: .85rem; min-width: 0; }
.jbt-card-price .jbt-card-from { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.jbt-card-price strong { font-size: 1.15rem; font-weight: 800; color: var(--jbt-brand-dark); white-space: nowrap; }
.jbt-card-price .jbt-card-unit { white-space: nowrap; }
.jbt-card-go { font-size: .85rem; font-weight: 700; color: var(--jbt-brand); text-decoration: none; white-space: nowrap; }
.jbt-card:hover .jbt-card-go { text-decoration: underline; }

@media (min-width: 768px) and (max-width: 1023px) {
	.jbt-archive .jbt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.jbt-toolbar { padding: 10px; }
	.jbt-toolbar-right { width: 100%; justify-content: space-between; }
	.jbt-sortform select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.jbt-card, .jbt-card-media img { transition: none; }
	.jbt-card:hover, .jbt-card:hover .jbt-card-media img { transform: none; }
}

/* ---------- v0.10.2 cards: property + city lines, one-line facts, rating on the photo; shorter filter panel ---------- */
.jbt-card-rate { position: absolute; inset-block-end: 10px; inset-inline-end: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--jbt-ink); font-size: .8rem; font-weight: 700; box-shadow: 0 1px 6px rgba(0,0,0,.18); }
.jbt-card-rate > span { color: var(--jbt-accent); }
.jbt-card-prop { margin: 0 0 2px; font-size: .88rem; font-weight: 600; color: var(--jbt-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jbt-card-prop + .jbt-card-place { margin-top: 0; }
.jbt-card-place { font-size: .85rem; }
.jbt-card-facts { flex-wrap: nowrap; gap: 14px; margin-top: 2px; }
.jbt-card-facts li { padding: 0; background: none; font-size: .9rem; font-weight: 600; gap: 6px; color: var(--jbt-ink); }
.jbt-card-facts li + li { position: relative; }
.jbt-card-facts li + li::before { content: ""; position: absolute; inset-inline-start: -8px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #b5c2c5; transform: translateY(-50%); }
.jbt-card-facts svg { color: var(--jbt-muted); }

/* Filter panel: shorter */
.jbt-filters { padding: 16px; }
.jbt-filters .jbt-field { margin-bottom: 12px; }
.jbt-filters label, .jbt-filters legend { font-size: .8rem; margin-bottom: 5px; }
.jbt-filters input[type="search"], .jbt-filters input[type="number"], .jbt-filters input[type="date"], .jbt-filters select { height: 40px; font-size: .9rem; }
.jbt-filters .jbt-field-row:has(input[type="date"]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.jbt-filters input[type="date"] { padding: 0 6px; font-size: .82rem; letter-spacing: -.2px; }
.jbt-filters input[type="date"]::-webkit-calendar-picker-indicator { margin-inline-start: 0; padding: 0; width: 14px; }
.jbt-filters .jbt-hint { font-size: .75rem; margin: -4px 0 12px; }
.jbt-filters .jbt-fieldset .jbt-check { padding: 5px 10px; font-size: .8rem; margin: 0 4px 6px 0; }
@media (max-width: 767px) {
	.jbt-filters input[type="date"] { font-size: 16px; }
	.jbt-filters .jbt-field-row:has(input[type="date"]) { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 768px) { .jbt-grid .jbt-card-title { min-height: calc(2 * 1.3em); } }

/* ---------- v0.10.3 more colour: Stays banner, coloured labels and icons ---------- */
.jbt-archive-head {
	position: relative; overflow: hidden; color: #fff; align-items: center;
	padding: 26px 26px 24px; border-radius: 20px; margin-bottom: 20px;
	background:
		radial-gradient(460px 200px at 92% -10%, rgba(242, 169, 59, .6), transparent 70%),
		radial-gradient(380px 180px at 0% 120%, rgba(94, 214, 196, .4), transparent 70%),
		linear-gradient(135deg, var(--jbt-brand-dark), var(--jbt-brand) 60%, #18909a);
	box-shadow: 0 10px 30px rgba(14, 107, 114, .22);
}
.jbt-archive-head h1 { color: #fff; margin: 0; }
.jbt-archive-head .jbt-count { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .3); font-weight: 600; }
.jbt-archive-head .jbt-archive-ctx { color: rgba(255, 255, 255, .88); }
.jbt-archive-head .jbt-filter-toggle { background: #fff; color: var(--jbt-brand-dark); border-color: #fff; }

/* Filter panel */
.jbt-filters { border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--jbt-brand), var(--jbt-accent)) 1; border-image-slice: 1; border-radius: 0 0 18px 18px; }
@supports (background: padding-box) {
	.jbt-filters { border-image: none; border-top: 1px solid var(--jbt-line); position: relative; border-radius: 18px; }
	.jbt-filters::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--jbt-brand), #18909a, var(--jbt-accent)); }
}
.jbt-filters label, .jbt-filters legend { display: flex; align-items: center; gap: 6px; }
.jbt-filters .jbt-field > label::before, .jbt-filters legend::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jbt-accent); flex: none; }
.jbt-filters .jbt-fieldset .jbt-check:has(input:checked) { background: linear-gradient(135deg, var(--jbt-brand), #18909a); }
.jbt-filters .jbt-actions .jbt-btn-primary { background: linear-gradient(135deg, var(--jbt-brand), #18909a); }

/* Toolbar */
.jbt-toolbar { background: linear-gradient(90deg, #f0fafa, #fff8ec); border-color: #d9eceb; }
.jbt-fchip { background: #fff; border-color: #cfe5e3; color: var(--jbt-brand-dark); }
.jbt-fchip span { color: var(--jbt-accent); }

/* Cards */
.jbt-card-top .jbt-card-type { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #e6f4f3; color: var(--jbt-brand-dark); font-size: .7rem; }
.jbt-card-facts li:nth-child(1) svg { color: #0e9488; }
.jbt-card-facts li:nth-child(2) svg { color: #7c3aed; }
.jbt-card-facts li:nth-child(3) svg { color: #0284c7; }
.jbt-card-place svg { color: #e0245e; }
.jbt-card-foot { border-top-color: #e3eeee; }
.jbt-card-price strong { background: linear-gradient(135deg, var(--jbt-brand-dark), #18909a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jbt-card-go { padding: 7px 12px; border-radius: 10px; background: linear-gradient(135deg, var(--jbt-brand), #18909a); color: #fff; box-shadow: 0 4px 12px rgba(14, 107, 114, .25); }
.jbt-card:hover .jbt-card-go { text-decoration: none; filter: brightness(1.08); }
.jbt-card:hover { border-color: rgba(14, 107, 114, .35); }
.jbt-card-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .22)); pointer-events: none; }
.jbt-card .jbt-badge:not(.jbt-badge-offer) { background: linear-gradient(135deg, #f2a93b, #f59e0b); color: #3b2300; box-shadow: 0 2px 8px rgba(245, 158, 11, .4); }
.jbt-card-media .jbt-badge-offer { background: linear-gradient(135deg, #e11d48, #f97316); box-shadow: 0 2px 8px rgba(225, 29, 72, .35); }
.jbt-card-rate { z-index: 3; }
.jbt-vt.is-on { background: linear-gradient(135deg, var(--jbt-brand), #18909a); }

@media (max-width: 767px) {
	.jbt-archive-head { padding: 20px 18px; border-radius: 16px; }
}
@media (forced-colors: active) {
	.jbt-card-price strong { color: CanvasText; background: none; }
}
@media (min-width: 1024px) { .jbt-filters { position: sticky; top: 88px; } }
@media (max-width: 1023px) { .jbt-filters { top: auto; } }

/* ---------- v0.10.4 listing page: header actions, fact cards, host strip, amenities, booking box, reviews ---------- */
.jbt-ic { flex: none; display: inline-block; vertical-align: middle; }

/* Header */
.jbt-head-v2 { margin-block-end: 18px; }
.jbt-head-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 8px; }
.jbt-head-cat, .jbt-head-offer { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.jbt-head-cat { background: #e6f4f3; color: var(--jbt-brand-dark); }
.jbt-head-offer { background: linear-gradient(135deg, #e11d48, #f97316); color: #fff; text-transform: none; letter-spacing: 0; }
.jbt-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.jbt-head-row h1 { margin: 0; }
.jbt-head-actions { display: flex; align-items: center; gap: 10px; flex: none; padding-block-start: 4px; }
.jbt-head-actions .jbt-heart { position: static; inset: auto; border: 1px solid var(--jbt-line); background: #fff; box-shadow: 0 2px 8px rgba(15, 40, 45, .08); }
.jbt-share { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--jbt-line); background: #fff; color: var(--jbt-ink); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; box-shadow: 0 2px 8px rgba(15, 40, 45, .08); transition: border-color .15s, color .15s, transform .15s; }
.jbt-share:hover { border-color: var(--jbt-brand); color: var(--jbt-brand-dark); transform: translateY(-1px); }
.jbt-share:focus-visible { outline: 2px solid var(--jbt-brand); outline-offset: 2px; }
.jbt-share.is-done { border-color: #16a34a; color: #15803d; }
.jbt-head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 10px 0 0; font-size: .98rem; color: var(--jbt-ink); }
.jbt-head-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.jbt-head-rate { font-weight: 800; color: var(--jbt-ink); text-decoration: none; }
.jbt-head-rate .jbt-ic { color: #f59e0b; fill: #f59e0b; }
.jbt-head-rate:hover { text-decoration: underline; }
.jbt-head-place { font-weight: 600; }
.jbt-head-place .jbt-ic { color: #e0245e; }

/* Gallery */
.jbt-gallery { border-radius: 22px; box-shadow: 0 10px 30px rgba(15, 40, 45, .12); }
.jbt-gallery-item img { transition: transform .5s ease, filter .3s; }
.jbt-gallery-item:hover img { transform: scale(1.04); filter: brightness(1.04); }
.jbt-gallery-more { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

/* Fact cards */
.jbt-facts-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.jbt-facts-v2 .jbt-fact { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--jbt-line); box-shadow: var(--jbt-shadow); color: var(--jbt-ink); font-size: 1rem; }
.jbt-fact-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #e6f4f3; color: #0e9488; }
.jbt-fact-bed .jbt-fact-ic { background: #f1ebfe; color: #7c3aed; }
.jbt-fact-bath .jbt-fact-ic { background: #e5f3fd; color: #0284c7; }
.jbt-fact-in .jbt-fact-ic { background: #e8f8ee; color: #16a34a; }
.jbt-fact-out .jbt-fact-ic { background: #fff3e0; color: #ea580c; }
.jbt-fact-moon .jbt-fact-ic { background: #fdeaf1; color: #db2777; }
.jbt-fact-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.jbt-fact-text strong { font-size: 1.12rem; font-weight: 800; }
.jbt-fact-text small { margin-top: 3px; color: var(--jbt-muted); font-size: .8rem; }

/* Host / property strip */
.jbt-hoststrip { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 16px 18px; margin-block: 0 16px; border-radius: 18px; border: 1px solid #d9eceb; background: linear-gradient(90deg, #f0fafa, #fff8ec); }
.jbt-hoststrip-av { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--jbt-brand), #18909a); color: #fff; font-weight: 800; font-size: 1.25rem; box-shadow: 0 4px 12px rgba(14, 107, 114, .28); }
.jbt-hoststrip-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 200px; min-width: 0; }
.jbt-hoststrip-text strong { font-size: 1.02rem; }
.jbt-hoststrip-text strong a { color: inherit; }
.jbt-hoststrip-text span { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--jbt-muted); font-size: .9rem; }
.jbt-hoststrip-text span a { color: var(--jbt-brand-dark); font-weight: 700; }
.jbt-hoststrip-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #cfe5e3; color: var(--jbt-brand-dark); font-size: .84rem; font-weight: 700; }

/* Amenities */
.jbt-amenities-v2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.jbt-amenities-v2 li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--jbt-soft); border: 1px solid var(--jbt-line); }
.jbt-amenities-v2 li::before { content: none; display: none; }
.jbt-am-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--jbt-brand), #18909a); color: #fff; }
.jbt-am-more { margin-top: 12px; }
.jbt-am-more summary { display: inline-flex; cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--jbt-ink); font-weight: 700; list-style: none; }
.jbt-am-more summary::-webkit-details-marker { display: none; }
.jbt-am-more[open] summary { margin-bottom: 12px; }

/* Booking box */
.jbt-bookbox-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0; padding: 18px 22px; background: radial-gradient(260px 120px at 100% 0, rgba(242, 169, 59, .45), transparent 70%), var(--jbt-grad); color: #fff; }
.jbt-bookbox-price p { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.jbt-bookbox-price strong { font-size: 1.55rem; font-weight: 800; line-height: 1.1; }
.jbt-bb-from, .jbt-bb-unit { font-size: .88rem; opacity: .9; font-weight: 600; }
.jbt-bb-rate { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; font-weight: 800; font-size: .88rem; text-decoration: none; }
.jbt-bb-rate .jbt-ic { fill: #fbbf24; color: #fbbf24; }
.jbt-bookbox .jbm-row > label:only-child { grid-column: 1 / -1; }
.jbt-trust { list-style: none; margin: 14px 0 0; padding: 14px 18px; display: grid; gap: 10px; border-radius: 16px; border: 1px solid var(--jbt-line); background: #fff; font-size: .9rem; color: var(--jbt-ink); }
.jbt-trust li { display: flex; align-items: center; gap: 10px; }
.jbt-trust .jbt-ic { color: #16a34a; }
.jbt-trust li + li .jbt-ic { color: var(--jbt-brand); }

/* Reviews and "More at" as cards like the other parts */
.jbt-single-main .jbm-reviews { background: #fff; border: 1px solid var(--jbt-line); border-radius: 18px; padding: 22px; margin-block: 16px; box-shadow: var(--jbt-shadow); }
.jbt-single-main .jbm-reviews > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 0 0 14px; }
.jbt-single-main .jbm-reviews > h2::before { content: ""; width: 5px; height: 1.15em; border-radius: 3px; background: linear-gradient(var(--jbt-brand), var(--jbt-accent)); flex: none; }
.jbt-single-main .jbm-reviews > h2 + p:last-child { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--jbt-soft); color: var(--jbt-muted); }
.jbt-single-main .jbm-reviews > h2 + p:last-child::before { content: "\2605"; color: #f59e0b; font-size: 1.2rem; }
.jbt-single-main .jbm-rating-total { font-size: 1.1rem; }
.jbt-single-main .jbm-review:first-of-type { border-block-start: 0; }
.jbt-single-main .jbm-more-list { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.jbt-single-main .jbm-more-card { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 16px; }
.jbt-single-main .jbm-more-card img, .jbt-single-main .jbm-more-noimg { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.jbt-single-main .jbm-more-text { padding: 10px 12px 12px; gap: 4px; }
.jbt-single-main .jbm-more-text strong { font-size: .98rem; line-height: 1.25; }
.jbt-single-main .jbm-more-text span { font-weight: 700; color: var(--jbt-brand-dark); }
.jbt-single-main .jbm-more-card:hover { transform: translateY(-2px); }

/* Phone booking bar */
@media (max-width: 1023px) {
	.jbt-book-bar { padding-block: 10px; }
	.jbt-book-bar-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; row-gap: 2px; line-height: 1.15; font-weight: 400; min-width: 0; }
	.jbt-book-bar-rate { flex-basis: 100%; }
	.jbt-book-bar-price strong { font-size: 1.1rem; font-weight: 800; color: var(--jbt-ink); }
	.jbt-book-bar-price .jbt-bb-from, .jbt-book-bar-price .jbt-bb-unit { display: inline; color: var(--jbt-muted); opacity: 1; font-size: .78rem; }
	.jbt-book-bar-rate { display: inline-flex; align-items: center; gap: 4px; color: var(--jbt-muted); font-size: .78rem; font-weight: 700; }
	.jbt-book-bar-rate .jbt-ic { color: #f59e0b; fill: #f59e0b; }
	.jbt-book-bar .jbt-btn { white-space: nowrap; }
}
@media (max-width: 640px) {
	.jbt-head-row { flex-direction: column; gap: 10px; }
	.jbt-head-actions { padding: 0; }
	.jbt-share span { display: inline; }
	.jbt-facts-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.jbt-facts-v2 .jbt-fact { padding: 12px; gap: 10px; }
	.jbt-fact-ic { width: 38px; height: 38px; }
	.jbt-single-main .jbm-more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.jbt-gallery { border-radius: 16px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .jbt-gallery-item img, .jbt-share { transition: none; } .jbt-gallery-item:hover img { transform: none; } }

/* ---------- v0.11.0 home page: photo hero, type cards, destination photos, slider, why us, host band ---------- */
.jbt-hero-v2 { position: relative; overflow: hidden; isolation: isolate; padding-block: 76px 64px; }
.jbt-hero-v2.has-photo { background: #0b3d42; }
.jbt-hero-v2.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--jbt-hero-img) center / cover no-repeat; transform: scale(1.03); }
.jbt-hero-v2.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 40, 44, .55) 0%, rgba(6, 40, 44, .35) 45%, rgba(6, 40, 44, .78) 100%), radial-gradient(700px 300px at 90% 0, rgba(242, 169, 59, .35), transparent 70%); }
.jbt-hero-v2 h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; max-width: 760px; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.jbt-hero-v2 .jbt-hero-sub { font-size: clamp(1rem, 1.8vw, 1.2rem); max-width: 620px; margin: 0 0 28px; opacity: .95; text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
.jbt-hero-v2 .jbt-search { border-radius: 20px; padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); background: rgba(255, 255, 255, .98); }
.jbt-hero-stats { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jbt-hero-stats li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 700; font-size: .92rem; }

/* Browse by type */
.jbt-cats-section { background: #fff; }
.jbt-cat-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.jbt-cat-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--jbt-line); background: #fff; color: var(--jbt-ink); text-decoration: none; box-shadow: var(--jbt-shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.jbt-cat-card:hover { transform: translateY(-3px); box-shadow: var(--jbt-lift); border-color: rgba(14, 107, 114, .35); text-decoration: none; }
.jbt-cat-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: #e6f4f3; color: #0e9488; }
.jbt-cat-c1 .jbt-cat-ic { background: #f1ebfe; color: #7c3aed; }
.jbt-cat-c2 .jbt-cat-ic { background: #e5f3fd; color: #0284c7; }
.jbt-cat-c3 .jbt-cat-ic { background: #fff3e0; color: #ea580c; }
.jbt-cat-c4 .jbt-cat-ic { background: #fdeaf1; color: #db2777; }
.jbt-cat-c5 .jbt-cat-ic { background: #e8f8ee; color: #16a34a; }
.jbt-cat-text { display: flex; flex-direction: column; min-width: 0; }
.jbt-cat-text strong { font-size: 1.05rem; }
.jbt-cat-text small { color: var(--jbt-muted); font-size: .86rem; margin-top: 2px; }

/* Text-only ad: a tidy box instead of loose text */
.jbm-ad:not([class*="jbm-fx-"]) { width: calc(100% - 32px); max-width: calc(var(--jbt-maxw, 1160px) - 32px); box-sizing: border-box; margin: 18px auto; padding: 14px 18px; border-radius: 16px; border: 1px dashed #cfe5e3; background: linear-gradient(90deg, #f0fafa, #fff8ec); font-weight: 600; }

/* Section head tools (slider buttons + See all) */
.jbt-section-head { align-items: center; }
.jbt-section-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -.01em; }
.jbt-section-tools { display: flex; align-items: center; gap: 8px; }
.jbt-slide-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 40px; border-radius: 50%; border: 1px solid var(--jbt-line); background: #fff; color: var(--jbt-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(15, 40, 45, .08); }
.jbt-slide-btn:hover { border-color: var(--jbt-brand); color: var(--jbt-brand-dark); }
.jbt-section-tools .jbt-link { margin-inline-start: 6px; }
[dir="rtl"] .jbt-slide-btn span { display: inline-block; transform: scaleX(-1); }

/* Sliding row */
.jbt-grid.jbt-slider { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 2 * var(--jbt-gap, 20px)) / 3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 4px 10px; overscroll-behavior-x: contain; }
.jbt-grid.jbt-slider::-webkit-scrollbar { display: none; }
.jbt-grid.jbt-slider > * { scroll-snap-align: start; }
@media (max-width: 1023px) { .jbt-grid.jbt-slider { grid-auto-columns: calc((100% - var(--jbt-gap, 20px)) / 2); } }
@media (max-width: 640px) { .jbt-grid.jbt-slider { grid-auto-columns: 84%; } .jbt-slide-btn { display: none; } }

/* Destinations with photos */
.jbt-dest-section { background: var(--jbt-soft); }
.jbt-dest-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.jbt-dest-cards li.is-big { grid-column: span 2; grid-row: span 2; }
.jbt-dest-n1 { grid-template-columns: 1fr; }
.jbt-dest-n1 li.is-big { grid-column: auto; }
.jbt-dest-n2 li.is-big { grid-row: auto; }
.jbt-dest-n2 { grid-template-columns: 1fr 1fr 1fr; }
.jbt-dest-n3 { grid-template-columns: 2fr 1fr; }
.jbt-dest-n3 li.is-big { grid-column: auto; }
.jbt-dest-card { position: relative; display: block; height: 100%; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(135deg, var(--jbt-brand), #18909a); box-shadow: var(--jbt-shadow); }
.jbt-dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.jbt-dest-card:hover img { transform: scale(1.06); }
.jbt-dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .7)); }
.jbt-dest-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .4; }
.jbt-dest-text { position: absolute; z-index: 1; inset-inline: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.jbt-dest-text strong { font-size: 1.35rem; line-height: 1.15; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.is-big .jbt-dest-text strong { font-size: 1.9rem; }
.jbt-dest-text small { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 700; font-size: .85rem; }
[dir="rtl"] .jbt-dest-text small .jbt-ic { transform: scaleX(-1); }
.jbt-dest-card:hover { text-decoration: none; }
@media (max-width: 1023px) {
	.jbt-dest-cards, .jbt-dest-n2, .jbt-dest-n3 { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
	.jbt-dest-cards li.is-big { grid-column: span 2; grid-row: auto; }
	.jbt-dest-n1 li.is-big { grid-column: auto; }
}
@media (max-width: 480px) { .jbt-dest-cards, .jbt-dest-n2, .jbt-dest-n3 { grid-auto-rows: 150px; } }

/* Why book with us */
.jbt-why-section { background: #fff; }
.jbt-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.jbt-why li { padding: 22px; border-radius: 20px; border: 1px solid var(--jbt-line); background: linear-gradient(180deg, #fff, #f7fbfb); box-shadow: var(--jbt-shadow); }
.jbt-why-ic { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 12px; color: #fff; background: linear-gradient(135deg, var(--jbt-brand), #18909a); box-shadow: 0 6px 16px rgba(14, 107, 114, .25); }
.jbt-why-c1 .jbt-why-ic { background: linear-gradient(135deg, #f59e0b, #ea580c); box-shadow: 0 6px 16px rgba(234, 88, 12, .25); }
.jbt-why-c2 .jbt-why-ic { background: linear-gradient(135deg, #7c3aed, #0284c7); box-shadow: 0 6px 16px rgba(124, 58, 237, .25); }
.jbt-why-c3 .jbt-why-ic { background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 6px 16px rgba(22, 163, 74, .25); }
.jbt-why strong { display: block; font-size: 1.08rem; margin-bottom: 6px; }
.jbt-why p { margin: 0; color: var(--jbt-muted); font-size: .94rem; }

/* List your place band */
.jbt-hostband-section { background: #fff; padding-block: 12px 48px; }
.jbt-hostband { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; padding: 30px 32px; border-radius: 24px; color: #fff; background: radial-gradient(420px 200px at 100% 0, rgba(242, 169, 59, .55), transparent 70%), radial-gradient(360px 200px at 0 120%, rgba(94, 214, 196, .4), transparent 70%), linear-gradient(135deg, var(--jbt-brand-dark), var(--jbt-brand) 60%, #18909a); box-shadow: 0 16px 40px rgba(14, 107, 114, .28); }
.jbt-hostband-text { flex: 1 1 380px; }
.jbt-hostband h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.jbt-hostband p { margin: 0; opacity: .92; }
.jbt-hostband-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--jbt-brand-dark); border-color: #fff; font-weight: 800; padding-inline: 22px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.jbt-hostband-btn:hover { background: #fff; color: var(--jbt-brand-dark); transform: translateY(-1px); text-decoration: none; }
[dir="rtl"] .jbt-hostband-btn .jbt-ic { transform: scaleX(-1); }

@media (max-width: 640px) {
	.jbt-hero-v2 { padding-block: 48px 40px; }
	.jbt-hero-stats li { font-size: .84rem; padding: 6px 12px; }
	.jbt-cat-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.jbt-cat-card { padding: 12px 14px; }
	.jbt-cat-ic { width: 46px; height: 46px; }
	.jbt-hostband { padding: 24px 20px; }
	.jbt-hostband-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .jbt-dest-card img, .jbt-cat-card { transition: none; } .jbt-dest-card:hover img { transform: none; } }

/* ---------- Blog (v0.13.0) ---------- */
.jbt-blog-hero { padding-block: 44px 72px; }
.jbt-blog-intro { margin: 10px 0 0; max-width: 620px; font-size: 1.08rem; opacity: .92; }
.jbt-blog-search { margin-top: 20px; max-width: 560px; }
.jbt-blog-search .jbt-searchform { display: flex; gap: 8px; margin: 0; background: #fff; padding: 6px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.jbt-blog-search input[type=search] { flex: 1; min-width: 0; border: 0; box-shadow: none; padding: 10px 12px; font-size: 1rem; }
.jbt-blog-search .jbt-btn { border-radius: 10px; }
.jbt-blog { margin-top: -40px; position: relative; padding-bottom: 32px; }
.jbt-blog .jbt-chips { margin: 0 0 22px; background: #fff; padding: 12px; border-radius: 16px; box-shadow: var(--jbt-shadow); }
.jbt-blog .jbt-chips a { padding: 7px 14px; font-size: .92rem; }
.jbt-blog .jbt-chips a.is-on { background: var(--jbt-brand); border-color: var(--jbt-brand); color: #fff; }
.jbt-blog > .jbt-chips + .jbt-post-featured, .jbt-blog > .jbt-post-featured:first-child { margin-top: 0; }
.jbt-blog > .jbt-post-featured:first-child { margin-top: 0; }
.jbt-post-featured { display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--jbt-lift); margin: 0 0 34px; }
.jbt-post-featured-media { display: block; min-height: 300px; background: var(--jbt-soft); }
.jbt-post-featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.jbt-post-featured:hover .jbt-post-featured-media img { transform: scale(1.03); }
.jbt-post-featured-body { padding: clamp(20px, 3.5vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.jbt-post-featured-body h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; margin: 4px 0 8px; }
.jbt-post-featured-body h2::before { display: none; }
.jbt-post-featured-body h2 a { color: var(--jbt-ink); text-decoration: none; }
.jbt-post-featured-body h2 a:hover { color: var(--jbt-brand); }
.jbt-post-featured-body .jbt-btn { align-self: flex-start; margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; }
.jbt-post-kicker { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--jbt-brand); }
.jbt-post-new { background: var(--jbt-accent); color: #1b2a2f; padding: 2px 10px; border-radius: 999px; }
.jbt-post-info { margin: 0; color: var(--jbt-muted); font-size: .92rem; }
.jbt-blog-sub { font-size: 1.35rem; margin: 0 0 14px; }
.jbt-post-card .jbt-card-media img { aspect-ratio: 16 / 10; object-fit: cover; }
.jbt-post-card .jbt-card-title { font-size: 1.08rem; line-height: 1.35; }

/* Single post */
.jbt-post-head { padding-block: 40px 90px; }
.jbt-post-head h1 { max-width: 880px; font-size: clamp(1.8rem, 4.6vw, 2.9rem); }
.jbt-post-lead { max-width: 760px; margin: 12px 0 0; font-size: 1.12rem; opacity: .92; }
.jbt-post-byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.jbt-post-byline img { border-radius: 50%; border: 2px solid rgba(255,255,255,.6); }
.jbt-post-byline span { display: flex; flex-direction: column; line-height: 1.35; }
.jbt-post-byline small { opacity: .85; font-size: .88rem; }
.jbt-single-post { margin-top: -60px; }
.jbt-post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 800px; margin-inline: auto; }
.jbt-single-post.has-toc .jbt-post-layout { max-width: none; grid-template-columns: minmax(0, 1fr) 290px; }
.jbt-single-post .jbt-article { max-width: none; }
.jbt-single-post .jbt-post-hero { margin: calc(-1 * clamp(18px, 4vw, 34px)) calc(-1 * clamp(18px, 4vw, 34px)) 26px; }
.jbt-single-post .jbt-post-hero img { border-radius: 17px 17px 0 0; aspect-ratio: 16 / 8; object-fit: cover; }
.jbt-single-post .jbt-prose { font-size: 1.08rem; line-height: 1.8; }
.jbt-single-post .jbt-prose h2 { font-size: 1.55rem; margin: 1.7em 0 .6em; scroll-margin-top: 90px; }
.jbt-single-post .jbt-prose h3 { font-size: 1.2rem; scroll-margin-top: 90px; }
.jbt-single-post .jbt-prose a { color: var(--jbt-brand); font-weight: 600; text-underline-offset: 3px; }
.jbt-single-post .jbt-prose ul, .jbt-single-post .jbt-prose ol { padding-inline-start: 1.3em; }
.jbt-single-post .jbt-prose li { margin: .35em 0; }
.jbt-single-post .jbt-prose blockquote, .jbt-prose .jbt-tip { margin: 1.5em 0; padding: 16px 20px; border-inline-start: 5px solid var(--jbt-accent); background: #fff8ec; border-radius: 0 14px 14px 0; }
.jbt-single-post .jbt-prose table { width: 100%; border-collapse: collapse; font-size: .97rem; margin: 1.4em 0; display: block; overflow-x: auto; }
.jbt-single-post .jbt-prose th, .jbt-single-post .jbt-prose td { padding: 10px 12px; border-bottom: 1px solid var(--jbt-line); text-align: start; }
.jbt-single-post .jbt-prose th { background: var(--jbt-soft); }
.jbt-toc ol { margin: 0; padding-inline-start: 1.2em; }
.jbt-toc li { margin: 6px 0; font-size: .95rem; }
.jbt-toc a { color: var(--jbt-ink); text-decoration: none; }
.jbt-toc a:hover { color: var(--jbt-brand); text-decoration: underline; }
.jbt-toc-inline { display: none; margin: 0 0 22px; padding: 12px 16px; background: var(--jbt-soft); border-radius: 14px; }
.jbt-toc-inline summary { font-weight: 700; cursor: pointer; }
.jbt-toc-inline ol { margin-top: 10px; }
.jbt-post-aside { position: sticky; top: 90px; align-self: start; display: grid; gap: 18px; }
.jbt-post-aside .jbt-toc { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: var(--jbt-shadow); border: 1px solid var(--jbt-line); }
.jbt-toc-title { margin: 0 0 8px; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--jbt-brand); }
.jbt-post-cta { border-radius: 18px; padding: 20px; color: #fff; background: radial-gradient(260px 140px at 100% 0, rgba(242,169,59,.55), transparent 70%), linear-gradient(135deg, var(--jbt-brand-dark), var(--jbt-brand)); }
.jbt-post-cta strong { display: block; font-size: 1.1rem; margin-top: 6px; }
.jbt-post-cta p { margin: 6px 0 14px; opacity: .9; font-size: .93rem; }
.jbt-post-cta .jbt-btn { background: #fff; color: var(--jbt-brand-dark); width: 100%; justify-content: center; }
.jbt-post-share { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--jbt-line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.jbt-post-share > div { display: flex; flex-wrap: wrap; gap: 8px; }
.jbt-share-net { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--jbt-line); background: #fff; color: var(--jbt-ink); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.jbt-share-net:hover, .jbt-share-net.is-done { border-color: var(--jbt-brand); color: var(--jbt-brand); }
.jbt-post-comments { max-width: 800px; margin: 32px auto 0; }
.jbt-related-posts { background: var(--jbt-soft); }
@media (max-width: 960px) {
	.jbt-single-post.has-toc .jbt-post-layout { grid-template-columns: minmax(0, 1fr); max-width: 800px; }
	.jbt-post-aside { position: static; }
	.jbt-post-aside .jbt-toc { display: none; }
	.jbt-toc-inline { display: block; }
}
@media (max-width: 760px) {
	.jbt-post-featured { grid-template-columns: 1fr; }
	.jbt-post-featured-media { min-height: 0; aspect-ratio: 16 / 10; }
	.jbt-single-post .jbt-prose { font-size: 1.02rem; }
}
.jbt-single-post .jbt-article > .jbt-post-hero:first-child { margin-block-start: calc(-1 * clamp(18px, 4vw, 34px)); }
@media (max-width: 600px) { .jbt-single-post .jbt-prose h2 { font-size: 1.3rem; } .jbt-post-share { flex-direction: column; align-items: flex-start; } }

/* v0.14.3: on phones the photo gallery is a swipe slider that also moves by itself */
.jbt-gal-count { display: none; }
@media (max-width: 767px) {
	.jbt-gal-wrap { position: relative; margin-block-end: 24px; }
	.jbt-gal-wrap .jbt-gallery { margin-block-end: 0; }
	.jbt-gallery {
		display: flex;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		gap: 0;
		border-radius: 16px;
	}
	.jbt-gallery::-webkit-scrollbar { display: none; }
	.jbt-gallery .jbt-gallery-item,
	.jbt-gallery .jbt-gallery-item.is-main,
	.jbt-gallery .jbt-gallery-item.is-hidden {
		display: block;
		flex: 0 0 100%;
		width: 100%;
		min-height: 0;
		aspect-ratio: 4 / 3;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
	.jbt-gallery .jbt-gallery-item img { width: 100%; height: 100%; object-fit: cover; transform: none !important; }
	.jbt-gallery .jbt-gallery-more { display: none; }
	.jbt-gal-count {
		display: block;
		position: absolute;
		inset-block-end: 12px;
		inset-inline-end: 12px;
		background: rgba(0, 0, 0, .6);
		color: #fff;
		font-size: 13px;
		font-weight: 700;
		padding: 4px 11px;
		border-radius: 999px;
		pointer-events: none;
	}
}

/* v0.14.3: big-photo view: dim while the next photo loads; buttons react at once on touch screens */
.jbt-lb img{transition:opacity .15s}
.jbt-lb img.is-loading{opacity:.35}
.jbt-lb button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}

/* Hourly (time slot) listings */
.jbt-hourly-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.jbt-hourly-chip { background: #e0f2fe !important; color: #075985 !important; }
.jbt-staytoggle { display: inline-flex; padding: 3px; gap: 2px; background: #f1f5f9; border-radius: 999px; }
.jbt-staytoggle a { padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #475569; text-decoration: none; white-space: nowrap; }
.jbt-staytoggle a.is-on { background: #fff; color: var(--jbt-brand, #0e6b72); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.jbt-hourly-line { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: -4px 0 16px; border-radius: 16px; background: #f0f9ff; border: 1px solid #bae6fd; color: var(--jbt-ink); }
.jbt-hourly-line .jbt-fact-ic { flex: none; color: #0369a1; background: #e0f2fe; }
.jbt-hourly-line strong { display: block; font-size: .98rem; }
.jbt-hourly-line small { display: block; color: var(--jbt-muted); font-size: .9rem; line-height: 1.4; }
.jbt-bookbox-price [hidden] , .jbt-bookbox-price p[hidden] { display: none !important; }
@media (max-width: 700px) { .jbt-facts-v2 .jbt-fact:last-child:nth-child(odd) { grid-column: 1 / -1; } }
