/* Sunny Ridge Rentals. Colours and fonts follow the BeTheme options on this site. */
:root {
	--srf-red: #912817;
	--srf-red-dark: #6f1e11;
	--srf-brown: #3a1c1d;
	--srf-text: #565656;
	--srf-muted: #7a6f6a;
	--srf-line: #e7dfd8;
	--srf-cream: #faf6f1;
	--srf-radius: 4px;
	--srf-serif: "PT Serif", Georgia, serif;
	--srf-body: "Roboto Slab", Georgia, serif;
}

.srf-wrap { max-width: 1180px; margin: 0 auto; padding: 32px 24px 80px; box-sizing: border-box; }
.srf-rental-page #Subheader { display: none; }
.srf-rental h1, .srf-rental h2 { font-family: var(--srf-serif); color: var(--srf-brown); }

/* Breadcrumb */
.srf-crumbs { margin-bottom: 20px; font-size: 14px; }
.srf-crumbs a { display: inline-flex; align-items: center; gap: 4px; color: var(--srf-red); text-decoration: none; }
.srf-crumbs a:hover { text-decoration: underline; }

/* Title and facts */
.srf-rental__header { margin-bottom: 24px; }
.srf-rental__title { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; margin: 0 0 14px; }
.srf-facts { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 0; list-style: none; color: var(--srf-text); font-size: 16px; }
.srf-facts li { margin: 0; padding: 0 16px; border-left: 1px solid var(--srf-line); }
.srf-facts li:first-child { padding-left: 0; border-left: 0; }
.srf-facts__value { font-weight: 700; color: var(--srf-brown); }

/* Gallery mosaic: 1 large + up to 4 small */
.srf-gallery { position: relative; display: grid; gap: 8px; margin-bottom: 40px; border-radius: var(--srf-radius); overflow: hidden; }
.srf-gallery__item { display: block; position: relative; overflow: hidden; background: var(--srf-cream); }
.srf-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .2s ease; }
.srf-gallery__item:hover img { transform: scale(1.03); filter: brightness(.94); }
.srf-gallery__item:focus-visible { outline: 3px solid var(--srf-red); outline-offset: -3px; }
.srf-gallery__item--hidden { display: none; }
.srf-gallery--1 { grid-template-columns: 1fr; }
.srf-gallery--1 .srf-gallery__item { aspect-ratio: 16 / 9; }
.srf-gallery--2 { grid-template-columns: 1fr 1fr; }
.srf-gallery--2 .srf-gallery__item { aspect-ratio: 4 / 3; }
.srf-gallery--3, .srf-gallery--4, .srf-gallery--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; }
.srf-gallery--3 .srf-gallery__item:first-child,
.srf-gallery--4 .srf-gallery__item:first-child,
.srf-gallery--5 .srf-gallery__item:first-child { grid-row: 1 / 3; }
.srf-gallery--3 .srf-gallery__item:nth-child(2) { grid-column: 2 / 4; }
.srf-gallery--3 .srf-gallery__item:nth-child(3) { grid-column: 2 / 4; }
.srf-gallery--4 .srf-gallery__item:nth-child(4) { grid-column: 2 / 4; }
.srf-gallery__all {
	position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 14px; border: 1px solid var(--srf-brown); border-radius: var(--srf-radius);
	background: #fff; color: var(--srf-brown); font: 600 14px/1 var(--srf-body); cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.srf-gallery__all:hover { background: var(--srf-cream); }
.srf-gallery__all:focus-visible { outline: 3px solid var(--srf-red); outline-offset: 2px; }

/* Two-column layout: details left, booking right */
.srf-rental__layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "main book"; gap: 64px; align-items: start; }
.srf-rental__main { grid-area: main; }
.srf-rental__book { grid-area: book; position: sticky; top: 110px; }

.srf-section { padding: 32px 0; border-top: 1px solid var(--srf-line); }
.srf-rental__main > .srf-section:first-child { padding-top: 0; border-top: 0; }
.srf-section h2 { font-size: 26px; line-height: 1.25; margin: 0 0 18px; }
.srf-prose { color: var(--srf-text); font-size: 17px; line-height: 1.7; }
.srf-prose p { margin: 0 0 1em; }
.srf-prose > :last-child { margin-bottom: 0; }
.srf-prose ul { margin: 0 0 1em 1.2em; padding: 0; list-style: disc; }
.srf-prose ol { margin: 0 0 1em 1.4em; padding: 0; list-style: decimal; }
.srf-prose li { margin: 0 0 .35em; padding-left: .2em; }
.srf-prose li::marker { color: var(--srf-red); }

.srf-amenities, .srf-beds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 0; padding: 0; list-style: none; }
.srf-amenities li, .srf-beds li { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--srf-brown); font-size: 16px; line-height: 1.35; }
.srf-icon { flex: none; width: 26px; height: 26px; color: var(--srf-red); }

/* Booking card */
.srf-book { padding: 28px; background: #fff; border: 1px solid var(--srf-line); border-radius: var(--srf-radius); box-shadow: 0 10px 30px rgba(58, 28, 29, .08); }
.srf-book__heading { font-size: 22px !important; margin: 0 0 4px !important; }
.srf-book__rate { margin: 0 0 18px; color: var(--srf-red); font: 700 18px/1.3 var(--srf-body); }
.srf-book__widget { min-height: 120px; }
.srf-book__widget iframe { max-width: 100%; }
.srf-book__note { margin: 14px 0 0; color: var(--srf-muted); font-size: 13px; line-height: 1.5; }
.srf-book__fallback { margin: 12px 0 0; color: var(--srf-text); line-height: 1.6; }
.srf-book__fallback a { color: var(--srf-red); font-weight: 700; }

/* Editor-only hints */
.srf-admin-hint { margin: 12px 0; padding: 12px 14px; border: 1px dashed var(--srf-red); border-radius: var(--srf-radius); background: #fff8f6; color: var(--srf-brown); font-size: 14px; line-height: 1.5; }
.srf-admin-hint a { color: var(--srf-red); text-decoration: underline; }

/* Other rentals */
.srf-others { margin-top: 48px; }
.srf-others__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.srf-others__list li { margin: 0; }
.srf-others__list a { display: flex; align-items: center; gap: 16px; padding: 10px; border: 1px solid var(--srf-line); border-radius: var(--srf-radius); text-decoration: none; color: var(--srf-brown); font: 700 17px/1.3 var(--srf-serif); }
.srf-others__list a:hover { border-color: var(--srf-red); }
.srf-others__list img { width: 96px; height: 72px; object-fit: cover; border-radius: 2px; flex: none; }
.srf-others__list small { display: block; margin-top: 4px; color: var(--srf-red); font: 400 14px var(--srf-body); }

/* Lightbox */
.srf-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 12, 12, .96); color: #fff; }
.srf-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.srf-lightbox::backdrop { background: rgba(20, 12, 12, .96); }
.srf-lightbox__figure { margin: 0; max-width: calc(100vw - 160px); text-align: center; }
.srf-lightbox__figure img { display: block; max-width: 100%; max-height: calc(100vh - 110px); margin: 0 auto; object-fit: contain; }
.srf-lightbox__figure figcaption { margin-top: 12px; color: #d9d0cc; font-size: 14px; }
.srf-lightbox button { display: flex; align-items: center; justify-content: center; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; border-radius: 50%; }
.srf-lightbox button:hover { background: rgba(255,255,255,.18); }
.srf-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.srf-lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; }
.srf-lightbox__nav { position: absolute; top: 50%; width: 56px; height: 56px; transform: translateY(-50%); }
.srf-lightbox__prev { left: 24px; }
.srf-lightbox__next { right: 24px; }
html.srf-lightbox-open { overflow: hidden; }

/* Landing page cards */
.srf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.srf-card { display: flex; flex-direction: column; margin: 0 !important; background: #fff; border: 1px solid var(--srf-line); border-radius: var(--srf-radius); overflow: hidden; list-style: none !important; transition: box-shadow .2s ease, transform .2s ease; }
.srf-card:hover { box-shadow: 0 14px 34px rgba(58, 28, 29, .12); transform: translateY(-2px); }
.srf-card__media { display: block; aspect-ratio: 3 / 2; background: var(--srf-cream); overflow: hidden; }
.srf-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.srf-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--srf-cream), var(--srf-line)); }
.srf-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.srf-card__title { margin: 0 0 6px !important; font-family: var(--srf-serif); font-size: 26px !important; line-height: 1.2 !important; }
.srf-card__title a { color: var(--srf-brown); text-decoration: none; }
.srf-card__title a:hover { color: var(--srf-red); }
.srf-card__facts { margin: 0 0 12px !important; color: var(--srf-muted); font-size: 14px; letter-spacing: .02em; }
.srf-card__desc { margin: 0 0 20px !important; color: var(--srf-text); line-height: 1.6; }
.srf-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.srf-card__rate { color: var(--srf-red); font-weight: 700; }
.srf-button { display: inline-block; padding: 12px 20px; border-radius: var(--srf-radius); background: var(--srf-red); color: #fff !important; font: 700 14px/1 var(--srf-body); letter-spacing: .03em; text-decoration: none !important; transition: background .2s ease; }
.srf-button:hover { background: var(--srf-red-dark); }
.srf-button:focus-visible { outline: 3px solid var(--srf-brown); outline-offset: 2px; }

.srf-search-widget { margin: 0 auto; max-width: 1100px; }
/* Landing page: keep the intro copy (first builder section) at a readable width. */
.srf-rentals-landing .mfn-builder-content > .section:first-child .column_attr { max-width: 760px; margin: 0 auto; }

/* Tablet and phone */
@media (max-width: 1023px) {
	.srf-rental__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "book" "main"; gap: 40px; }
	.srf-rental__book { position: static; }
	.srf-gallery--3, .srf-gallery--4, .srf-gallery--5 { grid-template-rows: 180px 180px; }
}
@media (max-width: 640px) {
	.srf-wrap { padding: 20px 16px 56px; }
	.srf-gallery { margin-left: -16px; margin-right: -16px; border-radius: 0; margin-bottom: 28px; }
	.srf-gallery--2, .srf-gallery--3, .srf-gallery--4, .srf-gallery--5 { grid-template-columns: 1fr; grid-template-rows: none; }
	.srf-gallery--2 .srf-gallery__item:not(:first-child),
	.srf-gallery--3 .srf-gallery__item:not(:first-child),
	.srf-gallery--4 .srf-gallery__item:not(:first-child),
	.srf-gallery--5 .srf-gallery__item:not(:first-child) { display: none; }
	.srf-gallery__item:first-child { aspect-ratio: 4 / 3; grid-row: auto !important; }
	.srf-gallery__all { right: 12px; bottom: 12px; }
	.srf-amenities, .srf-beds { grid-template-columns: 1fr; }
	.srf-book { padding: 22px 18px; }
	.srf-facts { font-size: 15px; }
	.srf-facts li { padding: 0 10px; }
	.srf-lightbox__figure { max-width: 100vw; }
	.srf-lightbox__nav { top: auto; bottom: 18px; transform: none; }
	.srf-lightbox__prev { left: calc(50% - 72px); }
	.srf-lightbox__next { right: calc(50% - 72px); }
	.srf-cards { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.srf-gallery__item img, .srf-card { transition: none; }
	.srf-gallery__item:hover img { transform: none; }
	.srf-card:hover { transform: none; }
}
