/* =====================================================================
   BOG SINGLE
   Locatie: wp-content/themes/template-vliegbog/makelaar/bog/bog-single-hero.css
   ===================================================================== */
 
:root {
	--bog-navy: #0d3253;
	--bog-gold: #cea141;
	--bog-beige: #eaf0f4; /* offwhite (extra color #2) */
	--bog-dark: #333333;
	--bog-text: #333333;
	--bog-line: #c5cfd8;
	--bog-serif: "Baskervville", Georgia, serif;
	--bog-sans: "proxima-nova", Arial, sans-serif;
	--bog-width: 1240px;
}
 
/* =====================================================================
   HEADER navy op bedrijfspand-single
   ===================================================================== */
body:has(.bog-hero) #header-outer,
body:has(.bog-hero) #header-outer[data-transparent-header="true"].transparent,
body:has(.bog-hero) #header-space {
	background-color: var(--bog-navy) !important;
	box-shadow: none !important;
	border-bottom: 0 !important;
}
body:has(.bog-hero) #header-outer #logo img {
	filter: brightness(0) invert(1); /* wit logo; weghalen als je een witte logo-variant gebruikt */
}
body:has(.bog-hero) #header-outer #top nav > ul > li > a,
body:has(.bog-hero) #header-outer #top nav > ul > li > a .menu-title-text {
	color: #fff !important;
}
body:has(.bog-hero) #header-outer .slide-out-widget-area-toggle .lines,
body:has(.bog-hero) #header-outer .slide-out-widget-area-toggle .lines:before,
body:has(.bog-hero) #header-outer .slide-out-widget-area-toggle .lines:after,
body:has(.bog-hero) #header-outer .slide-out-widget-area-toggle .lines-button:after {
	background-color: #fff !important;
}
 
/* =====================================================================
   BASIS
   ===================================================================== */
.makelaar_single {
	background-color: var(--bog-beige);
}
.bog-container {
	width: calc(100% - 64px);
	max-width: var(--bog-width);
	margin: 0 auto;
}
.makelaar_single .bog-heading {
	font-family: var(--bog-serif);
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.25;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--bog-dark);
	margin: 0 0 18px;
	padding: 0;
}
 
/* Tekstlink met streepje ervoor ("—— Lees verder", "—— Bel ...") */
.makelaar_single .bog-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0;
	box-shadow: none !important;
	color: var(--bog-dark) !important;
	font-family: var(--bog-serif);
	font-size: 14px;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
}
.makelaar_single .bog-link:before {
	content: "";
	flex: 0 0 auto;
	width: 28px;
	height: 1px;
	background-color: currentColor;
	transition: width .25s ease;
}
.makelaar_single .bog-link:hover:before {
	width: 40px;
}
.makelaar_single .bog-link--light {
	color: #fff !important;
}
 
/* =====================================================================
   1. HERO (blauw vlak)
   ===================================================================== */
.bog-hero {
	background-color: var(--bog-navy);
	padding: 40px 0 56px;
}
.bog-hero .bog-hero__title {
	color: #fff;
	font-family: var(--bog-serif);
	font-size: clamp(36px, 5.6vw, 80px);
	line-height: 1.12;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0 0 48px;
	padding: 0;
	max-width: 1000px;
}
.bog-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 24px clamp(32px, 6vw, 110px);
}
.bog-hero__stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 130px;
}
.bog-hero__label {
	color: var(--bog-gold);
	font-family: var(--bog-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}
.bog-hero__value {
	color: #fff;
	font-family: var(--bog-serif);
	font-size: clamp(20px, 1.9vw, 27px);
	line-height: 1.2;
}
 
/* Plattegrond (nectar_cta) */
.bog-hero__floorplan {
	margin-left: auto;
	padding-bottom: 4px;
}
.bog-hero__floorplan .nectar-cta {
	margin: 0 !important;
}
.bog-hero__floorplan .nectar-cta .link_text {
	font-family: var(--bog-serif);
	font-size: 15px;
}
 
/* =====================================================================
   2. FOTOSLIDER
   ===================================================================== */
.bog-gallery {
	/* bovenste helft van de slider valt nog in het blauwe vlak */
	background: linear-gradient(to bottom, var(--bog-navy) 0, var(--bog-navy) 50%, transparent 50%);
	margin-bottom: 150px; /* ruimte voor de halve cirkel */
}
.bog-slider {
	position: relative;
}
.bog-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.bog-slider__track::-webkit-scrollbar {
	display: none;
}
.bog-slider__slide {
	flex: 0 0 100%;
	margin: 0;
	scroll-snap-align: start;
	aspect-ratio: 2 / 1;
	cursor: zoom-in;
}
.bog-slider__slide img.bog-slider__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0 !important;
}
.bog-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0 !important;
	border: 0;
	border-radius: 50%;
	background-color: #fff !important;
	color: #111 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
	transition: transform .2s ease;
}
.bog-slider__arrow:hover {
	transform: translateY(-50%) scale(1.08);
}
.bog-slider__arrow--prev {
	left: 20px;
}
.bog-slider__arrow--prev svg {
	transform: rotate(180deg);
}
.bog-slider__arrow--next {
	right: 20px;
}
 
/* Ronde knop "Plan een bezichtiging" (half over de foto) */
.bog-slider__cta {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 50%);
	z-index: 2;
	width: 240px;
	height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--bog-dark) !important;
	font-family: var(--bog-serif);
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
}
/* Offwhite vulling, zodat de foto niet door de cirkel heen schijnt */
.bog-slider__cta:before {
	content: "";
	position: absolute;
	inset: 2px;
	border-radius: 50%;
	background-color: var(--bog-beige);
}
/* Fallback als afbeelding 7067 niet gevonden wordt: CSS-cirkel met gouden boog */
.bog-slider__cta:not(.has-bg):before {
	inset: 0;
	border-bottom: 2px solid var(--bog-gold);
}
.bog-slider__cta-bg {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform .4s ease;
}
.bog-slider__cta:hover .bog-slider__cta-bg {
	transform: rotate(180deg);
}
.bog-slider__cta-text {
	position: relative;
	z-index: 1;
	padding: 0 30px;
}
 
/* =====================================================================
   3. OMSCHRIJVING + KENMERKEN + GOUDEN KAART
   ===================================================================== */
.bog-body {
	padding-top: 20px;
}
.bog-body__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
	gap: 60px;
	align-items: start;
}
 
/* Omschrijving */
.bog-desc {
	margin-bottom: 56px;
}
.bog-desc__text {
	position: relative;
	max-height: 280px;
	overflow: hidden;
	color: var(--bog-text);
	font-family: var(--bog-sans);
	font-size: 16px;
	line-height: 1.9;
}
.bog-desc__text p {
	padding-bottom: 0;
	margin: 0 0 1.4em;
}
.bog-desc__text:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 70px;
	background: linear-gradient(to bottom, rgba(234, 240, 244, 0), var(--bog-beige));
	pointer-events: none;
}
.bog-desc__text.is-open {
	max-height: none;
}
.bog-desc__text.is-open:after {
	display: none;
}
.bog-desc .js-bog-readmore {
	margin-top: 6px;
}
.bog-desc .js-bog-readmore[hidden] {
	display: none !important;
}
.bog-link__less,
.bog-link.is-open .bog-link__more {
	display: none;
}
.bog-link.is-open .bog-link__less {
	display: inline;
}
 
/* Kenmerken */
.bog-specs {
	margin-bottom: 56px;
}
.bog-specs__row {
	display: grid;
	grid-template-columns: 40% 1fr;
	gap: 16px;
	padding: 9px 0 7px;
	border-bottom: 1px solid var(--bog-line);
	font-family: var(--bog-sans);
	font-size: 14px;
	line-height: 1.5;
}
.bog-specs__label {
	font-weight: 700;
	color: var(--bog-dark);
}
.bog-specs__value {
	color: var(--bog-text);
}
.bog-specs__row:first-child .bog-specs__value {
	color: var(--bog-gold); /* status */
}
 
/* Video */
.bog-video {
	margin-bottom: 56px;
}
.makelaar_single .video_wrapper {
	margin: 0 0 32px;
}
.makelaar_single .video_wrapper video {
	width: 100%;
	display: block;
}
.makelaar_single .iframe__container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}
.makelaar_single .iframe__container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
 
/* Gouden kaart */
.bog-body__side {
	position: sticky;
	top: 120px;
}
.bog-card {
	position: relative;
	overflow: hidden;
	background-color: var(--bog-gold);
	padding: 30px 30px 34px;
	color: #fff;
}
.bog-card .bog-card__title {
	font-family: var(--bog-serif);
	font-size: clamp(20px, 1.7vw, 25px);
	line-height: 1.25;
	font-weight: 400;
	letter-spacing: 0;
	color: #fff;
	margin: 0 0 14px;
	padding: 0;
}
.bog-card .bog-card__text {
	color: #fff;
	font-family: var(--bog-sans);
	font-size: 15px;
	line-height: 1.8;
	margin: 0 0 18px;
	padding: 0;
}
.bog-card .bog-link {
	margin-bottom: 22px;
}
.bog-card .bog-card__button {
	display: table;
	position: relative;
	z-index: 1;
	border: 1px solid rgba(255, 255, 255, .85);
	padding: 11px 24px;
	color: #fff !important;
	font-family: var(--bog-serif);
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.bog-card .bog-card__button:hover {
	background-color: #fff;
	color: var(--bog-gold) !important;
}
.bog-card.has-img .bog-link,
.bog-card.has-img .bog-card__button {
	max-width: 60%;
}
.bog-card img.bog-card__img {
	position: absolute;
	right: 16px;
	bottom: 0;
	width: 32%;
	height: auto;
	margin: 0 !important;
}
 
/* =====================================================================
   4. FOTORIJ (WPBakery Image Gallery, Salient Flickity)
   ===================================================================== */
.bog-photos {
	--bog-row-item: 35.5%; /* breedte foto t.o.v. container: 3e foto valt deels buiten beeld */
	--bog-row-gap: 36px;
	margin: 20px 0 110px;
	overflow: hidden; /* rechts afsnijden op de schermrand, geen horizontale scrollbalk */
}
/* Links strak op de containerrand, rechts doorlopen tot de schermrand */
.bog-photos .bog-container {
	clip-path: inset(-40px -100vw -40px 0);
}
.bog-photos .wpb_gallery,
.bog-photos .wpb_wrapper,
.bog-photos .nectar-flickity,
.bog-photos .flickity-viewport {
	overflow: visible !important;
	margin: 0 !important;
	padding: 0 !important;
}
.bog-photos .flickity-viewport {
	cursor: grab;
}
.bog-photos .flickity-viewport.is-pointer-down {
	cursor: grabbing;
}
/* Cellen: vaste breedte, gat via padding-right (Flickity meet de cel inclusief padding) */
.bog-photos .flickity-slider > * {
	width: calc(var(--bog-row-item) + var(--bog-row-gap)) !important;
	padding: 0 var(--bog-row-gap) 0 0 !important;
	margin: 0 !important;
	box-sizing: border-box;
	box-shadow: none !important;
}
.bog-photos .flickity-slider img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	margin: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	-webkit-user-drag: none;
	user-select: none;
	cursor: zoom-in;
}
/* Geen bolletjes/pijlen, zoals in het ontwerp */
.bog-photos .flickity-page-dots,
.bog-photos .flickity-prev-next-button,
.bog-photos .flickity-nav-wrap {
	display: none !important;
}

/* =====================================================================
   5. GLOBAL SECTIONS (bezichtiging, andere panden, contact, nieuwsbrief)
   ===================================================================== */
/*.bog-globals.container-wrap {
	padding: 0 !important;
	margin: 0 !important;
	background-color: transparent !important;
}
.bog-globals .main-content > .row {
	padding-bottom: 0 !important;
}*/
 
/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 999px) {
	.bog-hero__meta {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.bog-hero__floorplan {
		margin-left: 0;
		justify-self: start;
	}
	.bog-body__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.bog-body__side {
		position: static;
		margin-bottom: 56px;
	}
	.bog-photos {
		--bog-row-item: 46%;
		--bog-row-gap: 24px;
	}
}
@media (max-width: 690px) {
	.bog-container {
		width: calc(100% - 32px);
	}
	.bog-hero {
		padding: 24px 0 40px;
	}
	.bog-hero .bog-hero__title {
		margin-bottom: 32px;
	}
	.bog-slider__slide {
		aspect-ratio: 4 / 3;
	}
	.bog-slider__arrow {
		width: 30px;
		height: 30px;
	}
	.bog-slider__arrow--prev {
		left: 10px;
	}
	.bog-slider__arrow--next {
		right: 10px;
	}
	.bog-slider__cta {
		width: 150px;
		height: 150px;
		font-size: 14px;
	}
	.bog-slider__cta-text {
		padding: 0 20px;
	}
	.bog-gallery {
		margin-bottom: 100px;
	}
	.bog-card.has-img .bog-link,
	.bog-card.has-img .bog-card__button {
		max-width: 62%;
	}
	.bog-photos {
		--bog-row-item: 82%;
		--bog-row-gap: 16px;
		margin-bottom: 72px;
	}
}
 