/* HHR Property Page Layout — cottage pages (body.single-accommodation) */

.hhr-pl {
	--hhr-teal: var(--theme-palette-color-1, #0a4552);
	--hhr-ink: #000;
	--hhr-text: #5c5c5c;
	--hhr-band: #f6f3f2;
	--hhr-band-2: #ede7e5;
	--hhr-quote: #6d6d6d;
	--hhr-star: #ffc100;
	--hhr-serif: "Libre Bodoni", Georgia, serif;
	--hhr-quote-font: "Cormorant Garamond", Georgia, serif;
	--hhr-sans: ct_font_figtree, Figtree, sans-serif;
	--hhr-gap: clamp(48px, 6vw, 84px);
	--hhr-body: clamp(17px, 1.35vw, 20px);
}

/* ---------- Hero banner ---------- */
.hhr-hero {
	position: relative;
	aspect-ratio: 16 / 9;
	max-height: calc(100vh - 90px);
	min-height: 440px;
	width: 100%;
	overflow: hidden;
	background: #1b2a2c;
}
.hhr-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.hhr-hero__img.top { object-position: center top; }
.hhr-hero__img.bottom { object-position: center bottom; }
.hhr-hero__img.left { object-position: left center; }
.hhr-hero__img.right { object-position: right center; }
.hhr-hero__img.top-left { object-position: left top; }
.hhr-hero__img.top-right { object-position: right top; }
.hhr-hero__img.bottom-left { object-position: left bottom; }
.hhr-hero__img.bottom-right { object-position: right bottom; }
/* Black gradient over the bottom quarter of the banner */
.hhr-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 45%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .78));
	pointer-events: none;
}
.hhr-hero__inner {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: clamp(24px, 3.6vw, 42px);
	padding: 0 20px;
	text-align: center;
	color: #fff;
	animation: fadeIn 2s ease;
}
.hhr-hero__title {
	margin: 0;
	font-family: var(--hhr-serif);
	font-weight: 400;
	font-size: clamp(32px, 4.3vw, 50px);
	line-height: 1.15;
	letter-spacing: .02em;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.hhr-hero__strap {
	margin: .35em 0 0;
	font-family: var(--hhr-sans);
	font-weight: 300;
	font-size: clamp(17px, 2.6vw, 30px);
	letter-spacing: .02em;
	line-height: 1.3;
	color: #fff;
}
.hhr-btn,
a.hhr-btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .55em 1.6em;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, .85);
	background: var(--hhr-teal);
	color: #fff;
	font-family: var(--hhr-sans);
	font-weight: 400;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: .02em;
	transition: background .3s, color .3s;
}
.hhr-btn:hover { background: #fff; color: var(--hhr-teal); }
.hhr-hero__btn {
	margin-top: clamp(20px, 3.5vw, 46px);
	font-size: clamp(17px, 2vw, 24px);
}

/* ---------- Floating Book / Contact buttons ---------- */
.hhr-float {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 50;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.hhr-float__btn {
	display: block;
	min-width: 132px;
	padding: 0 18px;
	line-height: 54px;
	background: var(--hhr-teal);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .85);
	border-left: 0;
	border-radius: 0 22px 22px 0;
	font-family: var(--hhr-sans);
	font-size: 19px;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
	transition: padding .3s, background .3s;
}
.hhr-float__btn:hover { padding-left: 26px; background: #0d5666; }
@media (max-width: 999px) {
	.hhr-float {
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		transform: none;
		flex-direction: row;
		gap: 0;
	}
	.hhr-float__btn {
		flex: 1;
		min-width: 0;
		text-align: center;
		border-radius: 0;
		border: 0;
		border-top: 1px solid rgba(255, 255, 255, .6);
		line-height: 52px;
		font-size: 16px;
	}
	.hhr-float__btn + .hhr-float__btn { border-left: 1px solid rgba(255, 255, 255, .6); }
	.hhr-float__btn:hover { padding-left: 18px; }
	body.hhr-pl { padding-bottom: 52px; }
}

/* ---------- Intro (post content) ---------- */
.hhr-pl-new .entry-content .hhr-intro {
	text-align: center;
	margin-top: clamp(36px, 5vw, 62px);
}
.hhr-pl-new .entry-content .hhr-intro h2 {
	font-family: var(--hhr-sans);
	font-weight: 400;
	font-size: clamp(22px, 2.2vw, 30px);
	letter-spacing: .02em;
	text-transform: none;
	color: var(--hhr-ink);
	margin: 0 0 .9em;
}
.hhr-pl-new .entry-content .hhr-intro p {
	font-weight: 300;
	font-size: var(--hhr-body);
	line-height: 1.7;
	letter-spacing: .02em;
	color: var(--hhr-text);
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}
.hhr-pl-new .entry-content .hhr-intro ul {
	list-style: none;
	padding: 0;
	margin: 1.6em auto 0;
	font-size: var(--hhr-body);
	line-height: 1.7;
	letter-spacing: .02em;
	font-weight: 300;
	color: var(--hhr-text);
}
.hhr-pl-new .entry-content .hhr-intro li::before { content: "\2022\00a0"; color: var(--hhr-ink); }
.hhr-pl-new .entry-content .hhr-intro li strong,
.hhr-features li strong {
	font-weight: 400;
	color: var(--hhr-ink);
}

/* ---------- Gallery: 3 square images per row, 6 shown ---------- */
.hhr-pl .accommodation-gallery {
	margin-top: clamp(40px, 5vw, 66px) !important;
}
.hhr-pl .accommodation-gallery ul.blocks-gallery-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}
.hhr-pl .accommodation-gallery ul.blocks-gallery-grid li.gallery-item {
	width: auto !important;
	margin: 0 !important;
	aspect-ratio: 1 / 1;
}
.hhr-pl .accommodation-gallery li.gallery-item a,
.hhr-pl .accommodation-gallery li.gallery-item figure {
	display: block;
	height: 100%;
	margin: 0;
}
.hhr-pl .accommodation-gallery li.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hhr-pl .accommodation-gallery li.gallery-item:nth-child(n+7) { display: none; }
.hhr-pl .load-more {
	display: block;
	margin: 41px auto 0;
	min-width: 0;
	padding: 0 26px;
	line-height: 48px;
	border-radius: 6px;
	background: var(--hhr-teal);
	color: #fff;
	font-size: 19px;
	text-transform: none;
}
@media (max-width: 640px) {
	.hhr-pl .accommodation-gallery ul.blocks-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Shared section rhythm ---------- */
.hhr-sections-wrap {
	font-family: var(--hhr-sans);
	color: var(--hhr-text);
}
.hhr-sections-wrap > * {
	margin-top: 0;
	margin-bottom: 0;
}
.hhr-label {
	font-family: var(--hhr-sans) !important;
	font-weight: 300 !important;
	font-size: clamp(22px, 2.2vw, 30px) !important;
	letter-spacing: .05em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--hhr-ink);
	margin: 0 0 1.1em;
}

/* Quote */
.hhr-quote {
	margin: 41px 0 0;
	padding: 41px clamp(20px, 6vw, 110px);
	background: var(--hhr-band);
	text-align: center;
}
.hhr-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--hhr-quote-font);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.3;
	letter-spacing: .03em;
	color: var(--hhr-quote);
}
.hhr-quote blockquote p { margin: 0; }
.hhr-quote blockquote p::before { content: "\201C"; }
.hhr-quote blockquote p::after { content: "\201D"; }
.hhr-quote figcaption {
	margin-top: .6em;
	font-family: var(--hhr-sans);
	font-weight: 300;
	font-size: clamp(17px, 1.8vw, 23px);
	letter-spacing: .03em;
	color: var(--hhr-ink);
}

/* Feature sections: 2 x 2 */
.hhr-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: clamp(28px, 3vw, 36px);
	row-gap: 38px;
	margin-top: var(--hhr-gap) !important;
}
.hhr-feature__body {
	font-weight: 300;
	font-size: var(--hhr-body);
	line-height: 1.7;
	letter-spacing: .02em;
}
.hhr-feature__body p { margin: 0 0 1.4em; }
.hhr-feature__body ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.hhr-feature__body li { margin: 0; }
.hhr-feature__body li::before { content: "\2022\00a0"; color: var(--hhr-ink); }
.hhr-feature__body > :last-child { margin-bottom: 0; }
@media (max-width: 760px) {
	.hhr-features { grid-template-columns: 1fr; }
}

/* Legal information */
.hhr-legal {
	margin-top: 48px !important;
	padding: 41px clamp(20px, 2.5vw, 28px);
	background: var(--hhr-band);
}
.hhr-legal__title {
	font-family: var(--hhr-sans) !important;
	font-weight: 400 !important;
	font-size: clamp(18px, 1.8vw, 24px) !important;
	letter-spacing: .02em;
	text-transform: none;
	color: var(--hhr-ink);
	margin: 0 0 .9em;
}
.hhr-legal p {
	margin: 0;
	font-weight: 300;
	font-size: var(--hhr-body);
	line-height: 1.6;
	letter-spacing: .02em;
}
.hhr-legal__lines {
	display: flex;
	flex-wrap: wrap;
	column-gap: 1em;
	row-gap: .2em;
}
.hhr-legal__line {
	display: inline-flex;
}

/* Availability */
.hhr-availability { margin-top: 48px !important; }
.hhr-availability__title {
	margin: 0;
	padding: 10px 12px;
	background: #226f6f;
	color: #fff;
	font-family: var(--hhr-sans) !important;
	font-weight: 400 !important;
	font-size: clamp(20px, 2vw, 26px) !important;
	text-transform: uppercase;
	letter-spacing: .01em;
}
.hhr-availability .showmore {
	margin-top: 12px;
	cursor: pointer;
	color: var(--hhr-teal);
	text-decoration: underline;
}

/* Reviews band (full width) */
.hhr-reviews {
	margin-top: 62px !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding: 62px max(20px, calc(50vw - 528px));
	background: var(--hhr-band-2);
}
.hhr-reviews .wprev_header_txt h4 {
	margin: 0 0 50px;
	text-align: center;
	font-family: var(--hhr-sans);
	font-weight: 300;
	font-size: clamp(20px, 2.2vw, 30px);
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--hhr-ink);
}
.hhr-reviews .wprev_header_txt h4 b { font-weight: 300; }
/* Stars, slider and load more: see reviews.css */

/* Location */
.hhr-location {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	align-items: start;
	margin-top: var(--hhr-gap) !important;
}
.hhr-location__title {
	font-family: var(--hhr-serif) !important;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--hhr-ink);
	margin: 0 0 38px;
}
.hhr-location__title--sub { margin: 48px 0 26px; }
.hhr-location__intro {
	font-weight: 300;
	font-size: var(--hhr-body);
	line-height: 1.7;
	letter-spacing: .02em;
}
.hhr-location__intro p { margin: 0; }
.hhr-routes { padding-left: 18px; }
.hhr-route summary {
	list-style: none;
	cursor: pointer;
	font-size: var(--hhr-body);
	letter-spacing: .02em;
	color: var(--hhr-ink);
	line-height: 2.4;
}
.hhr-route summary::-webkit-details-marker { display: none; }
.hhr-route summary::before { content: "\2022\00a0"; }
.hhr-route summary span { display: inline-block; transition: transform .25s; }
.hhr-route[open] summary span { transform: rotate(90deg); }
.hhr-route__body {
	padding: 4px 0 18px 18px;
	font-weight: 300;
	font-size: calc(var(--hhr-body) - 2px);
	line-height: 1.65;
}
.hhr-route__body p { margin: 0 0 .8em; }
.hhr-location__map { position: relative; }
#hhr-map {
	aspect-ratio: 1 / 1;
	width: 100%;
	z-index: 1;
}
@media (max-width: 760px) {
	.hhr-location { grid-template-columns: 1fr; }
}

/* Extras / Experiences tiles (full-width band) */
.hhr-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 11px;
	margin-top: var(--hhr-gap) !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding: 62px max(20px, calc(50vw - 528px));
	background: var(--hhr-band);
}
.hhr-tile {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #2b2b2b;
	color: #fff !important;
	text-decoration: none !important;
}
.hhr-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s ease;
}
.hhr-tile:hover .hhr-tile__img { transform: scale(1.04); }
.hhr-tile::after {
	content: "";
	position: absolute;
	inset: 35% 0 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .7) 55%);
}
.hhr-tile__inner {
	position: absolute;
	z-index: 1;
	left: 7%;
	right: 7%;
	top: 59%;
	text-align: center;
}
.hhr-tile__title {
	display: block;
	font-family: var(--hhr-serif);
	font-size: clamp(30px, 3.4vw, 40px);
	text-transform: uppercase;
	letter-spacing: .03em;
	line-height: 1.1;
	margin-bottom: .4em;
}
.hhr-tile__text {
	display: block;
	font-family: var(--hhr-sans);
	font-weight: 300;
	font-size: clamp(16px, 1.65vw, 21px);
	line-height: 1.32;
	letter-spacing: .02em;
}
@media (max-width: 760px) {
	.hhr-tiles { grid-template-columns: 1fr; }
	.hhr-tile__inner { top: auto; bottom: 8%; }
}

/* Gallery: same 3 x 2 square format on every cottage (old and new layouts).
   These beat the site's Additional CSS gallery rules (asymmetric spans, 5rem margins). */
.hhr-pl .accommodation-gallery { --columns: 3 !important; }
body.hhr-pl .accommodation .accommodation-gallery:not(.has-nested-images) .blocks-gallery-grid {
	grid-template-columns: repeat(var(--columns), 1fr) !important;
	margin: 0 auto !important;
}
body.hhr-pl .accommodation .accommodation-gallery .blocks-gallery-grid > li {
	grid-column-end: auto !important;
	grid-row-end: auto !important;
	aspect-ratio: 1 / 1;
}
body.hhr-pl .accommodation-gallery .load-more { margin: 41px auto 0 !important; }
body.hhr-pl:not(.hhr-pl-new) .accommodation-gallery { margin-bottom: 5rem !important; }
@media (max-width: 640px) {
	.hhr-pl .accommodation-gallery { --columns: 2 !important; }
}
