/* Custom CSS for WP-ImmoMakler - Riedel-style Layout
   Loaded after plugin CSS, overrides and extends default styles */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
/* @import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&display=swap"); */

/* ==========================================================================
   Archive page headline (plugin: skins/bootstrap3/archive/title.php)
   ========================================================================== */

h1.archive-title {
	font-family: 'Shippori Mincho', Georgia, serif;
	font-size: 42px;
	font-weight: 400;
	line-height: 1.2;
	margin-top: 40px;
	margin-bottom: 36px;
	color: #28303c;
	letter-spacing: -0.01em;
}

.immomakler-archive .archive-subtitle {
	display: none;
}

/* ==========================================================================
   Full-Width Archive Container (Desktop)
   ========================================================================== */

@media (min-width: 769px) {
	.immomakler-archive.immomakler {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw);
		padding-left: 24px;
		padding-right: 24px;
		box-sizing: border-box;
	}
}

/* Mobile: the full-width desktop rule above doesn't apply, so the grid sits
   flush against the screen edges. Add a 15px gutter on each side. */
@media (max-width: 768px) {
	.immomakler-archive.immomakler {
		padding-left: 15px;
		padding-right: 15px;
		box-sizing: border-box;
	}
}

/* ==========================================================================
   Grid Layout
   ========================================================================== */

.immomakler-archive .immomakler-archive-grid.immomakler-boxed {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	gap: 30px;
	margin: 30px 0;
}

/* ==========================================================================
   Property Card Container
   ========================================================================== */

.immomakler-archive .property-container.riedel-style {
	position: relative;
	background: #fff;
	border: 1px solid #ece8df;
	border-radius: 4px;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}

.immomakler-archive .property-container.riedel-style .property-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.immomakler-archive .property-container.riedel-style:hover {
	box-shadow: 0 6px 24px rgba(40, 48, 60, 0.10);
	border-color: #d5d0c8;
	transform: translateY(-2px);
}

/* ==========================================================================
   Property Thumbnail
   ========================================================================== */

.immomakler-archive .property-container.riedel-style .property-thumbnail {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background-color: #f5f5f5;
}

.immomakler-archive .property-container.riedel-style .property-thumbnail .thumbnail-link {
	display: block;
}

.immomakler-archive .property-container.riedel-style .property-thumbnail .thumbnail,
.immomakler-archive .property-container.riedel-style .property-thumbnail a.thumbnail {
	display: block;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
}

.immomakler-archive .property-container.riedel-style .property-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.4s ease;
}

.immomakler-archive .property-container.riedel-style:hover .property-thumbnail img {
	transform: scale(1.05);
}

/* ==========================================================================
   Status Badges - Inline Pills
   ========================================================================== */

.immomakler-archive .property-container.riedel-style .property-status-bar {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	width: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	z-index: 10;
}

.immomakler-archive .property-container.riedel-style .property-status {
	display: inline-block;
	padding: 5px 12px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 3px;
	background-color: #c41e3a;
	color: #fff;
	line-height: 1.3;
	width: auto;
	min-width: auto;
	max-width: none;
	margin: 0;
}

.immomakler-archive .property-container.riedel-style .property-status-verkauft,
.immomakler-archive .property-container.riedel-style .property-status-vermietet {
	background-color: #c41e3a;
}

.immomakler-archive .property-container.riedel-style .property-status-reserviert {
	background-color: #e67e22;
}

.immomakler-archive .property-container.riedel-style .property-status-neu {
	background-color: #27ae60;
}

/* ==========================================================================
   Property Details Section
   ========================================================================== */

.immomakler-archive .property-container.riedel-style .property-details {
	padding: 18px 20px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
}

.immomakler-single h2.property-subtitle {
	font-weight: 400;
}

/* ==========================================================================
   Location / Subtitle
   ========================================================================== */

.immomakler-archive .property-container.riedel-style .property-subtitle.property-location {
	margin-top: 15px;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #A6998C;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.immomakler-archive .property-container.riedel-style .property-subtitle .location-icon::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A6998C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}

/* ==========================================================================
   Property Title
   ========================================================================== */

.immomakler-archive .property-container.riedel-style .property-title {
	font-family: 'Shippori Mincho', Georgia, serif;
	font-weight: 400;
	line-height: 1.35;
	margin: 0 0 10px 0;
	color: #28303c;
	font-size: 20px;
}

.immomakler-archive .property-container.riedel-style .property-title a {
	color: #28303c;
	text-decoration: none;
	transition: color 0.2s ease;
}

.immomakler-archive .property-container.riedel-style .property-title a:hover {
	color: #a6998c;
	text-decoration: none;
}

/* ==========================================================================
   Condensed Property Data
   ========================================================================== */

.immomakler-archive .property-container.riedel-style .property-data.property-data-condensed {
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #6b7280;
	line-height: 1.6;
	margin-top: 0;
	padding-top: 0;
	border-top: 1px solid #f0ede4;
	margin-top: 10px;
	padding-top: 10px;
}

.immomakler-archive .property-container.riedel-style .property-data-item {
	display: inline;
}

.immomakler-archive .property-container.riedel-style .property-data-item .property-data-label {
	color: #777;
	font-weight: 400;
}

.immomakler-archive .property-container.riedel-style .property-data-item .property-data-value {
	color: #777;
	font-weight: 400;
}

.immomakler-archive .property-container.riedel-style .property-data-separator {
	color: #ccc;
	margin: 0 2px;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
	.immomakler-archive .immomakler-archive-grid.immomakler-boxed {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.immomakler-archive .paginator.row {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	
	.immomakler-archive .paginator .pages-nav {
		justify-content: center;
	}
	
	.immomakler-archive .property-container.riedel-style .property-details {
		padding: 15px;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.immomakler-archive .immomakler-archive-grid.immomakler-boxed {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

/* ==========================================================================
   Paginator / Order By
   ========================================================================== */

.immomakler-archive .paginator.row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 30px 0;
	padding: 16px 0;
	border: none;
	border-top: 1px solid #eee;
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

.immomakler-archive .paginator .num-posts,
.immomakler-archive .paginator .pages-nav {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
}

.immomakler-archive .paginator .num-posts {
	padding: 0;
}

.immomakler-archive .paginator .pages-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
	text-align: right;
	padding: 0;
}

.immomakler-archive .paginator .pages-nav .page-numbers {
	padding: 4px 8px;
	font-size: 13px;
	color: #555;
	text-decoration: none;
	border-radius: 3px;
	transition: color 0.2s ease, background 0.2s ease;
}

.immomakler-archive .paginator .pages-nav .page-numbers:hover,
.immomakler-archive .paginator .pages-nav .page-numbers.current {
	color: #222;
}

.immomakler-archive .paginator .pages-nav .page-numbers.current {
	font-weight: 600;
}

.immomakler-archive .paginator .pages-nav .pagination-button {
	font-size: 13px;
}

.immomakler-archive .paginator .immomakler-order-by {
	float: none;
	padding: 0;
}

.immomakler-archive .paginator .immomakler-order-by .dropdown-toggle {
	font-size: 13px;
	color: #555;
	font-weight: 500;
	padding: 6px 12px;
	border: 1px solid #e5e5e5;
	border-radius: 3px;
	background: #fff;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.immomakler-archive .paginator .immomakler-order-by .dropdown-toggle:hover {
	color: #222;
	border-color: #A6998C;
}

.immomakler-archive .paginator .immomakler-order-by .caret {
	border-top-color: #555;
	margin-left: 6px;
}

.immomakler-archive .paginator .immomakler-order-by .dropdown-menu {
	font-size: 13px;
	border: 1px solid #e5e5e5;
	border-radius: 3px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.immomakler-archive .paginator .immomakler-order-by .dropdown-menu a {
	color: #555;
}

.immomakler-archive .paginator .immomakler-order-by .dropdown-menu a:hover {
	color: #222;
	background: #f9f9f9;
}

/* ==========================================================================
   Hide Default Elements Not Needed
   ========================================================================== */

.immomakler-archive .property-container.riedel-style .property-actions {
	display: none;
}

.immomakler-archive .property-container.riedel-style .clearfix {
	display: none;
}

/* ==========================================================================
   Submit buttons — theme-aligned (search + Suchauftrag)
   .nectar-button:hover uses opacity; .nectar-button span uses opacity + transform
   with transition: opacity/transform .45s cubic-bezier(.25,1,.33,1)
   ========================================================================== */

.immomakler .immomakler-submit.btn.btn-primary {
	background-color: transparent !important;
	background-image: none !important;
	border: 1px solid #a6998c;
	border-radius: 4px;
	box-shadow: none !important;
	color: #28303c !important;
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.04em;
	line-height: 1.4;
	padding: 11px 28px;
	opacity: 1;
	text-shadow: none;
	transform: translateY(0);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
		transform 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	vertical-align: middle;
}

.immomakler .immomakler-submit.btn.btn-primary:hover,
.immomakler .immomakler-submit.btn.btn-primary:focus {
	background-color: #a6998c !important;
	color: #fff !important;
	border-color: #a6998c;
	opacity: 1;
	transform: translateY(-1px);
	outline: none;
}

.immomakler .immomakler-submit.btn.btn-primary:focus-visible {
	outline: 2px solid #a6998c;
	outline-offset: 3px;
	opacity: 1;
	transform: translateY(0);
}

.immomakler .immomakler-submit.btn.btn-primary:active {
	opacity: 0.92;
	transform: translateY(0);
}

.immomakler .immomakler-submit.btn.btn-primary:disabled,
.immomakler .immomakler-submit.btn.btn-primary.disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
}

.immomakler .immomakler-submit.btn.btn-primary .glyphicon {
	color: inherit;
	position: static;
	margin: 0;
	font-size: 18px;
	line-height: 1;
	opacity: 1;
	transition: opacity 0.45s cubic-bezier(0.25, 1, 0.33, 1),
		transform 0.45s cubic-bezier(0.25, 1, 0.33, 1);
}

.immomakler .immomakler-submit.btn.btn-primary:hover .glyphicon,
.immomakler .immomakler-submit.btn.btn-primary:focus .glyphicon {
	opacity: 1;
	transform: translateX(-2px);
}

/* ==========================================================================
   Search taxonomy row — bootstrap-select dropdowns (~20% larger type + height)
   DOM: #immomakler-search .search-taxonomies.row
   ========================================================================== */

#immomakler-search .search-taxonomies.row,
#shortcode-immomakler-search .search-taxonomies.row {
	min-height: calc(34px * 1.2);
}

#immomakler-search .search-taxonomies.row select.form-control,
#shortcode-immomakler-search .search-taxonomies.row select.form-control {
	font-size: 1.2em;
	min-height: calc(34px * 1.2);
	padding: calc(6px * 1.2) calc(9pt * 1.2);
}

#immomakler-search .search-taxonomies.row .bootstrap-select > .dropdown-toggle,
#shortcode-immomakler-search .search-taxonomies.row .bootstrap-select > .dropdown-toggle {
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #28303c;
	min-height: calc(34px * 1.2);
	padding: calc(6px * 1.2) calc(12px * 1.2);
	background-color: #fff;
	border: 1px solid #d5d0c8;
	border-radius: 4px;
	transition: border-color 0.2s ease;
}

#immomakler-search .search-taxonomies.row .bootstrap-select > .dropdown-toggle:hover,
#immomakler-search .search-taxonomies.row .bootstrap-select > .dropdown-toggle:focus,
#shortcode-immomakler-search .search-taxonomies.row .bootstrap-select > .dropdown-toggle:hover,
#shortcode-immomakler-search .search-taxonomies.row .bootstrap-select > .dropdown-toggle:focus {
	border-color: #a6998c;
	outline: none;
	box-shadow: none;
}

#immomakler-search .search-taxonomies.row .bootstrap-select .dropdown-menu,
#shortcode-immomakler-search .search-taxonomies.row .bootstrap-select .dropdown-menu {
	border: 1px solid #d5d0c8;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(40, 48, 60, 0.08);
}

#immomakler-search .search-taxonomies.row .bootstrap-select .dropdown-menu li > a,
#shortcode-immomakler-search .search-taxonomies.row .bootstrap-select .dropdown-menu li > a {
	font-size: 1.2em;
	padding-top: calc(3px * 1.2);
	padding-bottom: calc(3px * 1.2);
	padding-left: calc(20px * 1.2);
	padding-right: calc(20px * 1.2);
}

#immomakler-search .search-taxonomies.row .bootstrap-select .dropdown-menu li a.opt,
#shortcode-immomakler-search .search-taxonomies.row .bootstrap-select .dropdown-menu li a.opt {
	padding-left: calc(2.25em * 1.2);
}

#immomakler-search .search-taxonomies.row .bootstrap-select .bs-actionsbox .btn,
#immomakler-search .search-taxonomies.row .bootstrap-select .bs-donebutton .btn,
#shortcode-immomakler-search .search-taxonomies.row .bootstrap-select .bs-actionsbox .btn,
#shortcode-immomakler-search .search-taxonomies.row .bootstrap-select .bs-donebutton .btn {
	font-size: 1.2em;
	padding: calc(6px * 1.2) calc(12px * 1.2);
}

/* ==========================================================================
   “Suche zurücksetzen” link
   ========================================================================== */

#immomakler-search-reset.btn.btn-secondary {
	background: transparent !important;
	background-image: none !important;
	border: none !important;
	box-shadow: none !important;
	color: #a6998c !important;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.01em;
	padding: 11px 4px;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 2px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

#immomakler-search-reset.btn.btn-secondary:hover,
#immomakler-search-reset.btn.btn-secondary:focus {
	color: #28303c !important;
	text-decoration-color: currentColor;
	outline: none;
}

/* ==========================================================================
   Single property page – flat content sections (Riedel-style)
   Strip the Bootstrap panel chrome (border / background / shadow / padding)
   so each section reads as a plain block separated by whitespace, like the
   reference layout on https://www.riedel-immobilien.de/objekte/...
   ========================================================================== */

.immomakler-single .panel,
.immomakler-single .panel-default {
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 40px;
}

.immomakler-single .panel-default > .panel-heading,
.immomakler-single .panel > .panel-heading {
	background-color: transparent;
	border: 0;
	padding: 0 0 12px 0;
	color: inherit;
}

.immomakler-single .panel-body {
	padding: 0;
}

/* ==========================================================================
   Edge gutters below the 1300px wrapper width
   --------------------------------------------------------------------------
   `.immomakler-single` is capped at max-width: 1300px and centred, so wider
   viewports get side spacing from the centring margin. At/below 1300px the
   wrapper fills the viewport, and its content (`.immomakler-single > .row >
   .col-xs-12`, no `.container`) sits flush against the screen edges because
   Bootstrap's row -15px and column +15px cancel out. Pad the wrapper itself
   to re-introduce a horizontal gutter on narrow desktop, tablet and mobile.
   ========================================================================== */
@media (max-width: 1300px) {
	.immomakler-single {
		padding-left: 15px;
		padding-right: 15px;
		box-sizing: border-box;
	}
}

/* ==========================================================================
   Property status badge (reserviert / verkauft / vermietet / neu)
   --------------------------------------------------------------------------
   Rendered at the top of the single page, right below the sub-headline. Show
   only the status word as a badge — no surrounding card chrome and no
   explanatory message — in the site's brand taupe (#a6998c) with 4px rounded
   corners. The `.panel` in the selectors lifts
   specificity above the plugin's inline `.property-status .panel-heading`
   background rule.
   ========================================================================== */
.immomakler-single .property-status.panel {
	display: inline-block;
	margin: 0 0 32px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

/* Hide the explanatory message inside the container. */
.immomakler-single .property-status.panel .panel-body {
	display: none;
}

.immomakler-single .property-status.panel .panel-heading {
	background: transparent !important;
	border: 0 !important;
	padding: 0;
	margin: 0;
}

.immomakler-single .property-status.panel .panel-heading h2 {
	display: inline-block;
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
	color: #fff;
	/* Brand taupe — rgb(166, 153, 140) — to fit the site's colour scheme. */
	background-color: #a6998c;
	border-radius: 4px;
	padding: 6px 16px;
}

/* Small breathing room above the description block. */
.immomakler-single .property-description.panel {
	margin-top: 10px;
}

/* Pull the Ausstattung list items 10px to the left. */
.immomakler-single .property-ausstattung.panel li {
	margin-left: -10px;
}

/* ==========================================================================
   Single property page – typography aligned with the Salient theme
   --------------------------------------------------------------------------
   Salient design tokens (from the theme’s typography options):
     - Body  : Montserrat 400, 20px / line-height 36px
     - Bold  : Montserrat 600
     - H1    : Shippori Mincho 400, 70px / line-height 70px
     - H2    : Shippori Mincho 400, 50px / line-height 53px
     - H3    : Shippori Mincho 600, 30px / line-height 40px
     - Brand : extra-color-2 #a6998c (already used by .immomakler links/btn)
     - Accent: accent-color   #cec7b3
     - Dark  : extra-color-1  #28303c
   Bootstrap (immomakler-bootstrap.css) hard-codes Open Sans 14px on
   `.immomakler`, which clashes with the rest of the site. Reset that on
   the property single so every block inherits Salient’s body Montserrat,
   and re-style the section headings, buttons and form controls so they
   look like the rest of the site.
   ========================================================================== */

/* Body / inline text: inherit Montserrat from <body>. */
.immomakler-single,
.immomakler-single p,
.immomakler-single li,
.immomakler-single dd,
.immomakler-single dt,
.immomakler-single label,
.immomakler-single input,
.immomakler-single select,
.immomakler-single textarea,
.immomakler-single button,
.immomakler-single .panel,
.immomakler-single .panel-body,
.immomakler-single .form-control,
.immomakler-single .property-attributes-list,
.immomakler-single .property-features {
	font-family: inherit;
}

.immomakler-single .panel-body {
	font-size: 16px;
	line-height: 1.65;
	color: #28303c;
}

.immomakler-single .panel-body p {
	margin-bottom: 1em;
}

/* ==========================================================================
   Property videos panel (WP [video] / MediaElement.js players)
   --------------------------------------------------------------------------
   Salient forces `.wp-video { width: 100% !important }`, so a portrait clip
   keeps its tall aspect ratio and grows enormous in the viewport. Cap the
   player height while keeping its full container width: the <video> is
   `object-fit: contain` over a black background, so portrait media is
   pillarboxed (blank bars left/right) and the MediaElement controls still
   span the full width of the container.
   ========================================================================== */
.immomakler-single .property-videos .list-group-item.player .mejs-container {
	/* Capped on large screens, viewport-relative on short ones. */
	max-height: min(600px, 70vh) !important;
	background-color: #000;
}

.immomakler-single .property-videos .list-group-item.player .mejs-mediaelement,
.immomakler-single .property-videos .list-group-item.player .mejs-poster {
	max-height: min(600px, 70vh) !important;
}

.immomakler-single .property-videos .list-group-item.player video,
.immomakler-single .property-videos .list-group-item.player .mejs-poster img {
	width: 100% !important;
	height: 100% !important;
	max-height: min(600px, 70vh) !important;
	object-fit: contain !important;
	background-color: #000;
}

.immomakler-single strong,
.immomakler-single b,
.immomakler-single .bold {
	font-weight: 600;
}

/* Section headings: Shippori Mincho, like the page H1/H2/H3 elsewhere. */
.immomakler-single .property-title,
.immomakler-single .panel-heading h2,
.immomakler-single .panel-body h3,
.immomakler-single .panel-body h4 {
	font-family: 'Shippori Mincho', Georgia, serif;
	color: #28303c;
}

/* Property subtitle: matches the description text styling (Montserrat, 16px)
   with the brand color #a6998c (rgb(166, 153, 140)). */
.immomakler-single .property-subtitle {
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	color: #a6998c;
	margin: 0 0 0 0 !important;
	padding-bottom: 60px;
}

.immomakler-single .panel-heading h2 {
	font-size: 30px;
	line-height: 40px;
	font-weight: 600;
	margin: 0;
}

.immomakler-single .property-subtitle {
	margin: 0 0 0 0 !important;
	padding-bottom: 15px;
}

.immomakler-single .panel-body h3 {
	font-size: 22px;
	line-height: 32px;
	font-weight: 600;
	margin: 24px 0 12px;
}

.immomakler-single .panel-body h4 {
	font-size: 18px;
	line-height: 28px;
	font-weight: 600;
	margin: 18px 0 8px;
}

/* "Objektdaten" is now rendered as multiple sub-groups (Basisdaten,
   Flächen, Mietpreis, Kaufpreis, …) instead of one flat list. Each
   group gets a serif sub-heading and a thin separator from the previous
   group so the section reads like the Riedel-Immobilien reference. */
.immomakler-single .property-details .property-data-group + .property-data-group {
	margin-top: 28px;
}

.immomakler-single .property-details .property-data-group-title {
	font-family: 'Shippori Mincho', Georgia, serif;
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
	color: #28303c;
	margin: 0 0 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e0dccf;
}

/* Soft second line for redacted address hint
   ("Die genaue Anschrift erhalten Sie gerne nach Anfrage eines Exposés"). */
.immomakler-single .property-details .property-data-address-hint {
	display: inline-block;
	margin-top: 4px;
	color: #7a8190;
	font-style: italic;
	font-size: 13px;
}

/* Compact key/value lists used by single/data-property.php (Objektdaten,
   `.property-details`) and single/contact-property.php (Kontaktdaten,
   `.property-contact`). Subtle dividers, tighter line-height and a
   smaller label/value font so the dense table doesn’t dominate the page. */
.immomakler-single .property-details .list-group,
.immomakler-single .property-contact .list-group {
	font-size: 16px;
	line-height: 1.65;
}

.immomakler-single .property-details .list-group-item,
.immomakler-single .property-contact .list-group-item {
	padding: 8px 0;
	border-bottom: 1px solid #efece4;
	background-color: transparent;
}
.immomakler-single .property-details .list-group-item:last-child,
.immomakler-single .property-contact .list-group-item:last-child {
	border-bottom: 0;
}

.immomakler-single .property-details .list-group-item > .row,
.immomakler-single .property-contact .list-group-item > .row {
	margin-left: 0;
	margin-right: 0;
}

.immomakler-single .property-details .list-group-item .dt,
.immomakler-single .property-details .list-group-item .dd,
.immomakler-single .property-contact .list-group-item .dt,
.immomakler-single .property-contact .list-group-item .dd {
	padding-left: 0;
	padding-right: 12px;
}

.immomakler-single .property-details .list-group-item .dt,
.immomakler-single .property-contact .list-group-item .dt {
	font-weight: 600;
	color: #28303c;
}

.immomakler-single .property-details .list-group-item .dd,
.immomakler-single .property-contact .list-group-item .dd {
	color: #4a5365;
	font-weight: 400;
}

/* Hide the "zum Kontaktformular" CTA – the contact form sits directly below
   the contact details, so the redundant in-page jump link is removed. */
.immomakler-single .property-contact .list-group-item:has(.property-contact-form-cta-button) {
	display: none;
}

/* Price row stands out a bit more without panel chrome. */
.immomakler-single .property-details .list-group-item .row.price {
	padding-top: 4px;
}
.immomakler-single .property-details .list-group-item .row.price .dt,
.immomakler-single .property-details .list-group-item .row.price .dd {
	font-size: 16px;
	color: #28303c;
}
.immomakler-single .property-details .list-group-item .row.price .dd {
	font-weight: 600;
}

/* Links: keep the brand color (#a6998c) but reset hover decoration. */
.immomakler-single a,
.immomakler-single a:link,
.immomakler-single a:visited {
	color: #a6998c;
}
.immomakler-single a:hover,
.immomakler-single a:focus {
	color: #28303c;
	text-decoration: underline;
}

/* ==========================================================================
   Buttons – align Bootstrap .btn / .btn-primary with the Salient theme
   ========================================================================== */

.immomakler-single .btn,
.immomakler-single .btn-default,
.immomakler-single .btn-primary {
	font-family: inherit;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 0.01em;
	border-radius: 4px;
	padding: 12px 22px;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.immomakler-single .btn-primary,
.immomakler-single .btn-primary:link,
.immomakler-single .btn-primary:visited,
.immomakler-single a.btn-primary {
	background-color: #a6998c;
	border-color: #a6998c;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(40, 48, 60, 0.12);
}

.immomakler-single .btn-primary:hover,
.immomakler-single .btn-primary:focus,
.immomakler-single .btn-primary:active,
.immomakler-single a.btn-primary:hover,
.immomakler-single a.btn-primary:focus {
	background-color: #28303c;
	border-color: #28303c;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(40, 48, 60, 0.18);
	transform: translateY(-1px);
}

.immomakler-single .btn-default {
	background-color: transparent;
	border: 1px solid #cec7b3;
	color: #28303c;
}
.immomakler-single .btn-default:hover,
.immomakler-single .btn-default:focus {
	background-color: #cec7b3;
	border-color: #cec7b3;
	color: #ffffff;
}

/* ==========================================================================
   Form controls – clean, theme-aligned input style
   ========================================================================== */

.immomakler-single .form-control,
.immomakler-single input[type="text"],
.immomakler-single input[type="email"],
.immomakler-single input[type="tel"],
.immomakler-single input[type="number"],
.immomakler-single input[type="search"],
.immomakler-single select,
.immomakler-single textarea {
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	color: #28303c;
	background-color: #ffffff;
	border: 1px solid #e3e1da;
	border-radius: 4px;
	padding: 10px 14px;
	height: auto;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.immomakler-single .form-control::placeholder,
.immomakler-single input::placeholder,
.immomakler-single textarea::placeholder {
	color: #9aa0ac;
	opacity: 1;
}

.immomakler-single .form-control:focus,
.immomakler-single input[type="text"]:focus,
.immomakler-single input[type="email"]:focus,
.immomakler-single input[type="tel"]:focus,
.immomakler-single input[type="number"]:focus,
.immomakler-single input[type="search"]:focus,
.immomakler-single select:focus,
.immomakler-single textarea:focus {
	border-color: #cec7b3;
	box-shadow: 0 0 0 3px rgba(206, 199, 179, 0.25);
	outline: 0;
}

.immomakler-single .form-control.has-error,
.immomakler-single .form-control[aria-invalid="true"] {
	border-color: #c0392b;
}

.immomakler-single label {
	font-weight: 600;
	color: #28303c;
	margin-bottom: 6px;
}

/* Phone prefix button uses .btn-default + .form-control – give it the
   neutral input look so it sits flush with the phone number field. */
.immomakler-single .immomakler-phone-prefix-button.form-control {
	background-color: #ffffff;
	border-color: #e3e1da;
	color: #28303c;
}
.immomakler-single .immomakler-phone-prefix-button.form-control:hover,
.immomakler-single .immomakler-phone-prefix-button.form-control:focus {
	background-color: #f6f4ee;
	border-color: #cec7b3;
	color: #28303c;
}

/* The "zum Kontaktformular" CTA shouldn’t span full-width – align with
   how primary CTAs read across the rest of the site. */
.immomakler-single .property-contact-form-cta-button.btn-block {
	display: inline-block;
	width: auto;
	min-width: 220px;
	margin-top: 8px;
}

/* ==========================================================================
   Single property contact form – match staging form style
   (light field background, borderless inputs, labels inside via placeholders)
   ========================================================================== */

/* Only target the bottom "Direktanfrage" form on single property pages. */
.immomakler-single #immomakler-contactform-panel .form-group label[for="firstname"],
.immomakler-single #immomakler-contactform-panel .form-group label[for="name"],
.immomakler-single #immomakler-contactform-panel .form-group label[for="email"],
.immomakler-single #immomakler-contactform-panel .form-group label[for="phone"],
.immomakler-single #immomakler-contactform-panel .form-group label[for="message"] {
	display: none;
}

.immomakler-single #immomakler-contactform-panel .form-control {
	background-color: #f6f4ef;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	color: #28303c;
	padding: 14px 16px;
}

.immomakler-single #immomakler-contactform-panel .form-control::placeholder {
	color: #9da2ac;
	opacity: 1;
}

.immomakler-single #immomakler-contactform-panel .form-control:focus {
	background-color: #f0ede6;
	border: 0;
	box-shadow: none;
	outline: 0;
}

/* Prefix dropdown button should read as one field family with the inputs:
   match the same slightly rounded corners (6px) instead of the default
   pill / heavy radius applied by Bootstrap's `.btn` styling. */
.immomakler-single #immomakler-contactform-panel .immomakler-phone-prefix-button.form-control {
	background-color: #f6f4ef;
	border: 0;
	/* `!important` is necessary because Salient's data-button-style rule
	   ("slightly_rounded_shadow") sets a very large border-radius on every
	   `button` and `.btn` with high selector specificity. */
	border-radius: 6px !important;
}

/* The prefix button carries Bootstrap/Salient's `.btn` class, which renders
   its text bold (and the dropdown items inherit it). Force the normal 400
   weight so the whole form reads in a single weight, matching the inputs.
   `!important` mirrors the radius rule above: Salient's button styling wins
   on specificity otherwise. */
.immomakler-single #immomakler-contactform-panel .immomakler-phone-prefix-button.form-control,
.immomakler-single #immomakler-contactform-panel .immomakler-phone-prefix-text,
.immomakler-single #immomakler-contactform-panel .immomakler-phone-prefix-dropdown,
.immomakler-single #immomakler-contactform-panel .immomakler-phone-prefix-dropdown * {
	font-weight: 400 !important;
}
.immomakler-single #immomakler-contactform-panel .immomakler-phone-prefix-button.form-control:hover,
.immomakler-single #immomakler-contactform-panel .immomakler-phone-prefix-button.form-control:focus {
	background-color: #f0ede6;
	border: 0;
}

/* Small gap between the prefix button (+49) and the phone number input. */
.immomakler-single #immomakler-contactform-panel .immomakler-phone-wrapper .immomakler-contact-phone {
	margin-left: 8px;
}

/* Slightly rounded corners on the contact person photo. */
.immomakler-single .property-contact .contact-photo img,
.immomakler-single .property-contact .contact-photo.thumbnail img {
	border-radius: 5px;
}

/* Fix the contact person photo to 270×270 on desktop (≥768px, where the
   `col-sm-4` column kicks in). Mobile keeps the default full-width scaling. */
@media (min-width: 768px) {
	.immomakler-single .property-contact .contact-photo img,
	.immomakler-single .property-contact .contact-photo.thumbnail img {
		width: 270px;
		height: 270px;
		object-fit: cover;
	}
}
