body.casamore-chambres-page {
	--ch-bg: #ffffff;
	--ch-surface: #f4efe8;
	--ch-ink: #1a1714;
	--ch-muted: #706860;
	--ch-accent: #9c8770;
	--ch-stroke: #ddd7cf;
	--ch-shell: min(1240px, calc(100vw - 48px));
	background: var(--ch-bg) !important;
	color: var(--ch-ink);
}

.casamore-chambres-page .site-content,
.casamore-chambres-page .entry-content,
.casamore-chambres-page .ast-article-single {
	background: transparent;
}

.casamore-chambres-page .site-content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.casamore-chambres-page #primary {
	padding-top: 0;
	padding-bottom: 0;
}

.casamore-chambres-page .entry-content {
	max-width: none;
	margin: 0 !important;
	padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.casamore-chambres {
	width: var(--ch-shell);
	max-width: var(--ch-shell);
	margin: 0 auto;
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.casamore-chambres :where(.wp-block-columns, .wp-block-column, .wp-block-group, .wp-block-image, .wp-block-heading, p) {
	margin: 0;
}

.casamore-chambres,
.casamore-chambres p,
.casamore-chambres li,
.casamore-chambres blockquote,
.casamore-chambres cite {
	font-family: "Courier Prime", monospace;
	color: var(--ch-ink);
}

.casamore-chambres h1,
.casamore-chambres h2,
.casamore-chambres h3 {
	margin: 0;
	font-family: "Oswald", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.04;
	color: var(--ch-ink);
}

.casamore-chambres p {
	font-size: 1rem;
	line-height: 1.72;
}

.casamore-chambres a {
	color: inherit;
}

.casamore-chambres figure,
.casamore-chambres .wp-block-image {
	margin: 0;
	box-shadow: none;
}

.casamore-chambres img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

.casamore-chambres__hero {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: stretch;
	padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem);
	border-bottom: 1px solid var(--ch-stroke);
}

.casamore-chambres__hero-copy {
	max-width: 34rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.casamore-chambres__eyebrow {
	font-size: 0.78rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--ch-accent);
}

.casamore-chambres__title {
	margin-top: 0.85rem;
	max-width: 8.8ch;
	font-size: clamp(2.8rem, 5vw, 5rem) !important;
	line-height: 0.98 !important;
}

.casamore-chambres__intro {
	max-width: 31rem;
	margin-top: 1rem;
	color: var(--ch-muted);
	font-size: clamp(0.98rem, 1.4vw, 1.06rem);
}

.casamore-chambres__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.75rem;
}

.casamore-chambres__hero-actions > p,
.casamore-chambres__nav > p,
.casamore-room__facts > p {
	margin: 0;
}

.casamore-chambres__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.65rem;
	border: 2px solid var(--ch-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--ch-ink);
	font-family: "Oswald", sans-serif;
	font-size: 0.88rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.casamore-chambres__button:hover,
.casamore-chambres__button:focus-visible {
	background: var(--ch-ink);
	border-color: var(--ch-ink);
	color: #ffffff;
}

.casamore-chambres__hero-media {
	display: block;
	position: relative;
	height: 100%;
}

.casamore-chambres__hero-media,
.casamore-chambres__hero-slider {
	min-height: clamp(420px, 48vw, 720px);
}

.casamore-chambres__hero-slider {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--ch-stroke);
	background: var(--ch-surface);
}

.casamore-chambres__hero-slider::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: clamp(4rem, 12vw, 7rem);
	background: linear-gradient(180deg, rgba(26, 23, 20, 0) 0%, rgba(26, 23, 20, 0.24) 100%);
	pointer-events: none;
	z-index: 1;
}

.casamore-chambres__hero-slider .casamore-chambres__hero-image {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: var(--ch-surface);
	height: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.7s ease, visibility 0.7s ease;
}

.casamore-chambres__hero-slider:not([data-slider-ready="true"]) .casamore-chambres__hero-image:first-child,
.casamore-chambres__hero-slider .casamore-chambres__hero-image.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.casamore-chambres__hero-slider .casamore-chambres__hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.casamore-chambres__hero-controls {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 2;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.casamore-chambres__hero-dots {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	pointer-events: auto;
}

.casamore-chambres__hero-dot {
	width: 0.44rem;
	height: 0.44rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.casamore-chambres__hero-dot.is-active,
.casamore-chambres__hero-dot[aria-pressed="true"] {
	background: #ffffff;
	transform: scale(1.15);
}

.casamore-chambres__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-top: 1.5rem;
	border-top: 1px solid var(--ch-stroke);
	border-bottom: 1px solid var(--ch-stroke);
}

.casamore-chambres__nav-link {
	display: inline-flex;
	align-items: center;
	padding: 1rem 1.15rem 0.95rem;
	border-right: 1px solid var(--ch-stroke);
	font-family: "Oswald", sans-serif;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.casamore-chambres__nav > p:last-child .casamore-chambres__nav-link {
	border-right: 0;
}

.casamore-chambres__nav-link:hover,
.casamore-chambres__nav-link:focus-visible {
	background: var(--ch-surface);
	color: var(--ch-accent);
}

.casamore-chambres__rooms {
	display: grid;
	gap: clamp(3rem, 7vw, 5rem);
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.casamore-room {
	scroll-margin-top: 8.5rem;
	display: grid;
	grid-template-columns: minmax(18rem, 0.76fr) minmax(0, 1.24fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: stretch;
}

.casamore-room--odd {
	grid-template-columns: minmax(0, 1.24fr) minmax(18rem, 0.76fr);
}

.casamore-room--odd .casamore-room__summary {
	order: 2;
}

.casamore-room--odd .casamore-room__gallery {
	order: 1;
}

.casamore-room__summary,
.casamore-room__gallery {
	background: #ffffff;
	border: 1px solid var(--ch-stroke);
	height: 100%;
}

.casamore-room__summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"title index"
		"lead lead"
		"copy copy"
		"facts facts";
	grid-template-rows: auto auto 1fr auto;
	row-gap: 0.9rem;
	align-content: start;
	padding: clamp(1.5rem, 3vw, 2rem);
}

.casamore-room__summary > * {
	margin: 0 !important;
}

.casamore-room__index {
	grid-area: index;
	justify-self: end;
	align-self: start;
	font-family: "Oswald", sans-serif;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 0.12em;
}

.casamore-room__title {
	grid-area: title;
	align-self: start;
	max-width: 8.5ch;
	font-size: clamp(2rem, 3.2vw, 3rem) !important;
}

.casamore-room__lead {
	grid-area: lead;
	max-width: 24ch;
	font-family: "Playfair Display", serif;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	font-style: italic;
	line-height: 1.5;
	color: var(--ch-accent);
}

.casamore-room__description {
	grid-area: copy;
	max-width: 35ch;
	color: var(--ch-muted);
	font-size: 0.96rem;
	line-height: 1.72;
}

.casamore-room__facts {
	grid-area: facts;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 0.4rem;
}

.casamore-room__fact {
	display: flex;
	align-items: center;
	min-height: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--ch-stroke);
	background: var(--ch-surface);
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.45;
}

.casamore-room__gallery {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	gap: 1rem;
	padding: 1rem;
	align-items: stretch;
	min-height: 0;
}

.casamore-slider__viewport {
	min-height: 0;
	overflow: hidden;
	border: 1px solid var(--ch-stroke);
	background: var(--ch-surface);
}

.casamore-slider__track {
	display: flex;
	height: 100%;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.casamore-slider__slide {
	flex: 0 0 100%;
	min-width: 0;
}

.casamore-room__photo {
	position: relative;
	overflow: hidden;
	height: 100%;
	cursor: zoom-in;
}

.casamore-room__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.casamore-chambres__hero-image {
	cursor: zoom-in;
}

.casamore-chambres__hero-image[role="button"],
.casamore-room__photo[role="button"] {
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.casamore-chambres__hero-image[role="button"]:focus-visible,
.casamore-room__photo[role="button"]:focus-visible {
	outline: 2px solid var(--ch-ink);
	outline-offset: 4px;
}

.casamore-chambres__hero-image:hover img,
.casamore-chambres__hero-image:focus-within img,
.casamore-room__photo:hover img,
.casamore-room__photo:focus-within img {
	transform: scale(1.03);
}

.casamore-room__photo figcaption {
	position: absolute;
	left: 1rem;
	right: auto;
	bottom: 1rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.75rem;
	background: rgba(26, 23, 20, 0.82);
	color: #ffffff;
	font-family: "Oswald", sans-serif;
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
}

.casamore-slider__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
}

.casamore-slider__buttons,
.casamore-slider__meta {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.casamore-slider__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.9rem;
	height: 2.9rem;
	padding: 0;
	border: 1px solid var(--ch-stroke);
	border-radius: 999px;
	background: #ffffff;
	color: var(--ch-ink);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.casamore-slider__button:hover,
.casamore-slider__button:focus-visible {
	border-color: var(--ch-ink);
	background: var(--ch-ink);
	color: #ffffff;
	transform: translateY(-1px);
}

.casamore-slider__button:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	transform: none;
}

.casamore-slider__dots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.casamore-slider__dot {
	width: 0.78rem;
	height: 0.78rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(26, 23, 20, 0.2);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.casamore-slider__dot.is-active,
.casamore-slider__dot[aria-pressed="true"] {
	background: var(--ch-accent);
	transform: scale(1.1);
}

.casamore-slider__counter {
	margin: 0;
	font-family: "Oswald", sans-serif;
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ch-muted);
}

.casamore-chambres__lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
	padding: clamp(1rem, 3vw, 2rem);
	background: rgba(18, 15, 13, 0.94);
}

.casamore-chambres__lightbox.is-open {
	display: grid;
	place-items: center;
}

.casamore-chambres__lightbox-dialog {
	position: relative;
	display: grid;
	gap: 0.85rem;
	inline-size: min(92vw, 1200px);
	max-block-size: 92vh;
}

.casamore-chambres__lightbox-close {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-family: "Oswald", sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.casamore-chambres__lightbox-close:hover,
.casamore-chambres__lightbox-close:focus-visible {
	background: rgba(255, 255, 255, 0.16);
}

.casamore-chambres__lightbox-frame {
	display: grid;
	gap: 0.85rem;
}

.casamore-chambres__lightbox-image {
	display: block;
	max-width: 100%;
	max-height: calc(92vh - 7rem);
	margin: 0 auto;
	object-fit: contain;
}

.casamore-chambres__lightbox-caption {
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.88rem;
	line-height: 1.6;
	text-align: center;
}

body.casamore-chambres-lightbox-open {
	overflow: hidden;
}

@media (max-width: 1180px) {
	.casamore-room,
	.casamore-room--odd {
		grid-template-columns: 1fr;
	}

	.casamore-room--odd .casamore-room__summary,
	.casamore-room--odd .casamore-room__gallery {
		order: initial;
	}
}

@media (max-width: 921px) {
	body.casamore-chambres-page {
		--ch-shell: min(100vw - 32px, 1240px);
	}

	.casamore-chambres {
		padding-top: clamp(4.5rem, 13vw, 5.5rem);
	}

	.casamore-chambres__hero {
		grid-template-columns: 1fr;
		gap: 1.75rem;
		padding-top: 0;
	}

	.casamore-chambres__hero-copy {
		max-width: none;
	}

	.casamore-chambres__title {
		max-width: 9.2ch;
		font-size: clamp(2.5rem, 8vw, 4rem) !important;
	}

	.casamore-chambres__intro {
		max-width: 36rem;
	}

	.casamore-chambres__hero-media {
		height: auto;
	}

	.casamore-chambres__hero-media,
	.casamore-chambres__hero-slider {
		min-height: clamp(380px, 72vw, 560px);
	}

	.casamore-chambres__nav {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.casamore-chambres__nav::-webkit-scrollbar {
		display: none;
	}

	.casamore-chambres__nav-link {
		flex: 0 0 auto;
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	body.casamore-chambres-page {
		--ch-shell: min(100vw - 24px, 1240px);
	}

	.casamore-chambres-page .entry-content :where(
		.casamore-chambres__title,
		.casamore-chambres__intro,
		.casamore-chambres__nav-link,
		.casamore-room__title,
		.casamore-room__meta,
		.casamore-room__description,
		.casamore-room__feature,
		.casamore-room__link a
	) {
		word-break: normal !important;
		overflow-wrap: normal !important;
		hyphens: manual !important;
		line-break: auto;
	}

	.casamore-chambres-page .entry-content {
		padding-bottom: 2.5rem;
	}

	.casamore-chambres {
		padding-top: clamp(4.2rem, 15vw, 5rem);
	}

	.casamore-chambres__hero {
		gap: 1.5rem;
		padding-bottom: 2rem;
	}

	.casamore-chambres__eyebrow {
		font-size: 0.7rem;
		letter-spacing: 0.22em;
	}

	.casamore-chambres__title {
		max-width: 8.2ch;
		font-size: clamp(2.2rem, 10vw, 3.2rem) !important;
	}

	.casamore-chambres__intro {
		font-size: 0.94rem;
	}

	.casamore-chambres__button {
		width: 100%;
	}

	.casamore-chambres__hero-media {
		height: auto;
	}

	.casamore-chambres__hero-media,
	.casamore-chambres__hero-slider {
		min-height: clamp(320px, 112vw, 460px);
	}

	.casamore-chambres__hero-controls {
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
	}

	.casamore-chambres__hero-dots {
		gap: 0.45rem;
		padding: 0.45rem 0.65rem;
	}

	.casamore-chambres__hero-dot {
		width: 0.56rem;
		height: 0.56rem;
	}

	.casamore-chambres__nav-link {
		padding: 0.9rem 1rem 0.85rem;
		font-size: 0.72rem;
	}

	.casamore-chambres__rooms {
		gap: 2.25rem;
	}

	.casamore-room__summary,
	.casamore-room__gallery {
		height: auto;
		padding: 0.85rem;
	}

	.casamore-room__summary {
		grid-template-columns: 1fr;
		grid-template-areas:
			"index"
			"title"
			"lead"
			"copy"
			"facts";
		row-gap: 0.8rem;
	}

	.casamore-room__index {
		justify-self: start;
		font-size: 0.92rem;
	}

	.casamore-room__title {
		max-width: none;
		font-size: clamp(1.7rem, 8vw, 2.4rem) !important;
	}

	.casamore-room__lead {
		max-width: none;
		font-size: 1rem;
	}

	.casamore-room__description {
		max-width: none;
		font-size: 0.94rem;
	}

	.casamore-room__facts {
		grid-template-columns: 1fr;
		gap: 0.6rem;
	}

	.casamore-room__fact {
		font-size: 0.72rem;
	}

	.casamore-room__gallery {
		grid-template-rows: auto auto;
		gap: 0.85rem;
		height: auto;
	}

	.casamore-slider__viewport {
		aspect-ratio: 1 / 1.04;
	}

	.casamore-slider__slide {
		height: auto;
	}

	.casamore-slider__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.casamore-slider__buttons,
	.casamore-slider__meta {
		width: 100%;
		justify-content: space-between;
	}

	.casamore-room__photo figcaption {
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
		justify-content: center;
		text-align: center;
		font-size: 0.68rem;
	}
}

@media (max-width: 520px) {
	body.casamore-chambres-page {
		--ch-shell: min(100vw - 20px, 1240px);
	}

	.casamore-chambres__title {
		max-width: 7.8ch;
		font-size: clamp(2rem, 12vw, 2.8rem) !important;
	}

	.casamore-chambres__intro {
		font-size: 0.9rem;
	}

	.casamore-room__summary,
	.casamore-room__gallery {
		padding: 0.75rem;
	}

	.casamore-slider__meta {
		flex-direction: column;
		align-items: stretch;
	}

	.casamore-slider__dots {
		justify-content: center;
	}

	.casamore-slider__counter {
		text-align: center;
	}
}
