/*
Theme Name: Reinhart Realtors
Theme URI: http://www.reinhartrealtors.com/blog/
Description: Theme created for Reinhart Realtors.
Version: 3.0
Author: Booj
Author URI: http://booj.com/
Tags: Reinhart Realtors
Text Domain: Reinhart Realtors
@media (min-width: 1200px){}
@media (min-width: 768px){}
@media (min-width: 1024px){}
@media(min-width: 1160px){}
*/
.text-right{text-align: right !important;}
.padding-3-0{padding: 3px 0;}
.pointer{cursor: pointer;}
.mini-hr{
	height: 2px;
	width: 72px;
	background-color: #000;
}
.btn-white{
	border-color: #ffffff;
}
.font-42{font-size:42px;}
.xs-padding-15{padding: 0 15px;}
.xs-14{font-size: 14px;}

@media (min-width: 768px){
	.xs-padding-15{padding: 0;}
	.xs-14{font-size: 16px;}
}
@media (min-width: 992px) {
	.md-pull-left-auto {
		float: left;
		width: auto;
	}
}
@media (min-width: 1024px){
	.md-text-right{
		text-align: right;
	}
	.md-pull-left{
		float: left;
	}
}
@media (min-width: 1200px) {
	.lg-pull-left-auto {
		float: left;
		width: auto;
	}
}
.select-wrapper .select-handle{
	top: 2px;
}
.btn{
	letter-spacing: .8px;
}

.yarpp-related{
	margin: 0 !important;
}


/*============================================Header================================================*/
#blog-header{
	border-bottom: 1px solid #c8c7c8;
}
.navbar{
	min-height: 0;
}
.navbar-default{
	background-color: transparent;
	border: 0;
}
.navbar-default ul li{
	width: 100%;
	display: block;	
}
.navbar-default ul li a{
	color: #000;
	padding:0;
	text-align: left;
}

.nav-justified .dropdown .dropdown-menu{
	border:0;
	padding: 10px 0px;
	width: 100%;
	position: relative;
	box-shadow:0 0 0 0;
}
@media (min-width: 1024px){
	.navbar-default ul{
		display: table;
	}
	.navbar-default ul li{
		width: auto;
		display: table-cell;
	}
	.navbar-default ul li a{
		font-size: 14px;
	}
	.nav-justified .dropdown .dropdown-menu{
		display: none;
		position:absolute;
		width: auto;
		box-shadow:0 6px 12px rgba(0,0,0,.175);
	}
	.nav-justified .dropdown .dropdown-menu li{
		display: block;
	}
}
.nav-justified .dropdown .dropdown-menu li a{
	padding: 5px 15px;
	background: #fff;
}
.nav-justified .dropdown .dropdown-menu li a:hover{
	color: #fff;
	background-color:#919091;
}


.nav>li>a svg.tog{
	transform: rotate(0deg);
	transition: transform .25s ease-in-out;
}
.nav>li>a.active svg.tog{
	transform: rotate(180deg);
}

.toggle-trigger svg{font-size: 30px;}
.toggle-trigger span{display: none;}
@media (min-width: 768px){
	.toggle-trigger span{display: inline-block;}
	.toggle-trigger svg{
		font-size: 24px;
	}
	.toggle-trigger{
		border: 2px solid #A41832;
		font-weight: 600;
		color: #A41832;
		padding: 3px 23px;
		font-size: 14px;
	}
}
.toggle-trigger svg:nth-child(2){
	display: none;
}
.toggle-trigger.active svg:first-child{
	display: none;
}
.toggle-trigger.active svg:nth-child(2){
	display: inline-block;
}
.toggle-target{
	display: none;
}
.toggle-target.active{
	display: block;
}
@media (min-width: 1024px){
	#nav-wrap.toggle-target{
		display: block;
	}
	.toggle-trigger.md-search-tog{
		border:0;
		display: inline-block;
		color: #A41832;
		padding: 0;
	}
}

#search-form button{
	position: absolute;
	right: 0;
	top: 0;
	padding: 6px 25px !important;
}
#search-form input{
	border: 1px solid #919091;
	min-height: 40px;
	padding: 5px 15px;
}
/*============================================Posts================================================*/
.post{
	box-shadow: 0 3px 6px 0 rgba(0,0,0,0.1);
	transition: box-shadow .25s ease-in;
}
.post:hover{
	box-shadow: 0 12px 15px 0 rgba(0,0,0,0.2);
}
/* Removed July 2026 to improve image sizes and consistent aspect ratios
.large-post-img,
.small-post-img,
.single-post-img{
	height: 170px;
} */
.large-post-img,
.small-post-img,
.single-post-img{
	min-height: 170px;
	width: 100%;
	aspect-ratio: 16 / 9;
}
.xs-post-img{height: 138px;}
@media (min-width: 768px){
	.large-post-img{height: 396px;}
	.small-post-img{height: 291px;}
	.single-post-img{height: 447px;}
	.large-post-img,
  .small-post-img,
  .single-post-img{
	  width: initial;
	  aspect-ratio: unset;
  }
}
/* Set different height for related post images */
@media (min-width: 576px) and (max-width: 992px) {
	/* Create two-column layout between 576px and md size */
	.yarpp .col-sm-6 {
		width: 50%;
		float: left;
	}
}
.yarpp .small-post-img {
	width: 100%;
	height: auto;
	max-height: max(240px, 50vw);
	aspect-ratio: 3 / 2;
}
@media (min-width: 1200px) {
	.yarpp .small-post-img {
		height: 310px;
	}
}
.sm-post h2{
	min-height: 80px;
	line-height: 30px;
}
/* Limit number of lines to 2 to keep card heights consistent , applies to posts on home page and related posts */
.sm-post h2 a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.date{
	color: #000;
	font-size: 14px;
	letter-spacing: 0.8px;
	line-height: 18px;
}
.single-post-shadow{
	box-shadow: 0 3px 6px 0 rgba(0,0,0,0.15);
}
/* Force long URLs to wrap to avoid overflow */
.cms-page a {
	word-wrap: break-word;
	overflow-wrap: break-word;
}
/*============================================Other Sections================================================*/
.subscribe-section .btn{
	height: auto;
}
#property-search .float-label-wrap{
	margin-top: 18px;
}
#sidebar .qs-wrapper h2{
	font-size:24px !important;
	line-height: 30px;
	padding-top: 15px;
	margin-bottom: 10px !important;
}
#sidebar .qs-wrapper button{
	margin-top: 20px;
}
#sidebar .qs-wrapper .xs-padding-15{
	padding: 0px !important;
}

.page-nav{
	border-top: 1px solid #E0E0E0;
}

.tptn_posts ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
/* .tptn_posts ul li{
	

} */
.tptn_posts ul li img{
	max-height: 200px;
	width: 100%;
  aspect-ratio: 16 / 9;
	object-fit: cover;
}
.tptn_posts ul li a{
	display: block;
	font-weight: 400;
	font-size: 20px;
	color: #000;
}
.tptn_posts .tptn_after_thumb{
	display: block;
	margin: 20px 0 20px;
}
.tptn_posts .mini-hr{
	margin-bottom: 50px;
}
@media (min-width: 576px) and (max-width: 992px) {
	/* Create two-column layout between 576px and md size */
	.tptn_posts .col-sm-6 {
		width: 50%;
		float: left;
	}
	/* Enforce two column layout in case heights of cards vary */
	.tptn_posts .col-sm-6:nth-child(odd) {
			clear: both;
	}
	/* Limit popular posts to 2 lines of text between 576px and md size for consisten card heights */
	.tptn_posts ul li a {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

/* Overwrite colors with new theme values */
.carbon-gray {
  color: #000;
}

.dark-gray {
  color: #000;
}

.dark-charcoal-gray {
  color: #404041;
}

.med-gray {
  color: #919091;
}

.light-gray {
  color: #c8c7c8;
}

.off-white {
  color: #dedede;
}

.white {
  color: #fff;
}

.white-hover:hover,.white-hover:focus {
  color: #fff;
}

.black {
  color: #000;
}

.black-hover:hover,.black-hover:focus {
  color: #000;
}

.dark-cool-gray {
  color: #000;
}

.med-cool-gray {
  color: #919091;
}

.light-cool-gray {
  color: #919091;
}

.dark-red {
  color: #a41832;
}

.bright-red {
  color: #c4122f;
}

.rebrand-red {
  color: #bc2023;
}

.bg-rebrand-red {
  background-color: #bc2023 !important;
}

.brand-primary {
  color: #000;
}

.bg-carbon-gray {
  background-color: #000;
}

.bg-dark-gray {
  background-color: #000;
}

.bg-dark-charcoal-gray {
  background-color: #404041;
}

.bg-med-gray {
  background-color: #919091;
}

.bg-light-gray {
  background-color: #c8c7c8;
}

.bg-off-white {
  background-color: #dedede;
}

.bg-white-75 {
  background-color: rgba(255,255,255,.75);
  transition: background-color .25s ease-in;
}

.bg-dark-cool-gray {
  background-color: #000;
}

.bg-med-cool-gray {
  background-color: #919091;
}

.bg-light-cool-gray {
  background-color: #919091;
}

.bg-dark-red {
  background-color: #a41832;
}

.bg-bright-red {
  background-color: #c4122f;
}

.bg-rebrand-red {
  background-color: #bc2023;
}

.bg-black {
  background-color: #000;
}

.bg-black-75 {
  background-color: rgba(0,0,0,.75);
}

.border-carbon-gray {
  border: 1px solid #000;
}

.border-dark-cool-gray {
  border: 1px solid #000;
}

.border-med-cool-gray {
  border: 1px solid #919091;
}

.border-light-cool-gray {
  border: 1px solid #919091;
}

.btn-red {
	background-color:#c4122f;
	border:2px solid #c4122f;
	box-shadow:none;
	color:#fff;
	outline:0;
	padding:12px 20px;
	transition:all .25s ease
}

.btn-red:hover {
	box-shadow:0 2px 5px 0 rgba(0,0,0,.25)
}

.btn-red:focus,.btn-red:hover {
	background-color:#a41832;
	border-color:#a41832;
	color:#fff;
	outline:0
}

.btn-red:focus {
	box-shadow:none;
	outline-offset:0
}

.btn-red:active,.btn-red:not(:disabled):not(.disabled):active {
	background-color:#a41832;
	border-color:#c4122f;
	box-shadow:inset 0 4px 4px 0 rgba(0,0,0,.36);
	color:#fff;
	outline-width:0
}

/*============================================Print Styles================================================*/
/* Added  March 2026 */

/* For items that are only shown during print */
.print-only {
	display: none;
}

@media print {
	/* Class to hide elements during print */
	.hidden-print {
		display: none !important;
	}

	/* Show print-only elements */
	.print-only {
		display: block !important;
	}
	
	/* Set more margin at top of page */
	@page {
		margin-top: 0.6in;
	}

	/* Hide header and footer */
	#fb-root,
	#header-wrap,
	#blog-header,
	footer,
	#footer {
		display: none !important;
	}

	/* Hide sidebar */
	#single-post .row .col-md-4,
	#single-post .row .col-lg-3 {
		display: none !important;
	}

	/* Hide pagination and related posts */
	#single-post .page-nav,
	.yarpp-related {
		display: none !important;
	}

	/* Hide social sharing toolbars */
	.addthis_native_toolbox {
		display: none !important;
	}

	/* Hide reading counter */
	#single-post .tptn_counter {
		display: none !important;
	}

	/* Adjust background for print */
	.bg-off-white {
		background-color: #fff !important;
	}

	/* Adjust single post container */
	#single-post {
		padding: 0 !important;
	}

	.row {
		margin: 0 !important;
	}

	/* Full width for post content */
	#single-post .row .col-md-8,
	#single-post .row .col-lg-9 {
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Remove box shadows for cleaner print */
	.single-post-shadow {
		box-shadow: none !important;
	}

	/* Adjust margins for print */
	.margin-bottom-50 {
		margin-bottom: 0 !important;
	}

	.margin-top-30 {
		margin-top: 0 !important;
	}

	/* Featured image print style */
	.single-post-featured-img-print {
		width: 100%;
		aspect-ratio: 3 / 2;
		object-fit: cover;
	}

	/* Featured image overlay for print */
	.single-post-featured-img-print-container {
		position: relative;
	}

	.single-post-featured-overlay-print {
		position: absolute;
		right: -1px;
		bottom: -1px;
		left: -1px;
		height: 84.7pt;
		display: flex;
		align-items: center;
		justify-content: space-between;
		background: rgba(236,235,235,0.8) !important;
		padding: 8pt;
		-webkit-print-color-adjust: exact;
    print-color-adjust: exact;
	}

	.single-post-featured-overlay-logo-container {
    padding-left: 20pt;
		padding-top: 5pt;
	}

	.single-post-blog-logo-print {
    height: 52.6975pt;
	}

	.single-post-featured-overlay-cta-container {
    height: 66pt;
    width: 198pt;
    background: rgba(255,255,255,1) !important;
    display: flex;
	}

	.single-post-featured-overlay-cta {
    padding: 5pt 5pt 5pt 6pt;
	}

	p.overlay-cta-title {
    font-weight: 700;
    font-size: 9pt;
    line-height: 1.5;
    margin-bottom: 2pt;
	}

	p.overlay-cta-text {
    font-size: 7.5pt;
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 0;
    text-align: justify;
	}

	img.single-post-featured-overlay-qrcode {
    padding: 3pt;
	}

	/* Limit height of images, stand-alone and gallery, to 174pt and center for print */
	figure.wp-block-gallery.has-nested-images {
		justify-content: center;
		page-break-inside: avoid;
		break-inside: avoid;
	}

	.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
    width: unset !important;
    max-width: calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px)*.66667);
    flex: 0 0 auto;
    text-align: unset;
	}

	.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
		max-height: 174pt;
    width: auto;
    margin-left: unset;
    margin-right: unset;
	}

	figure.wp-block-image,
	.cms-page p:has(> img) {
		text-align: center;
	}

	.wp-block-image img,
	.cms-page p > img {
		max-height: 174pt;
		width: auto;
	}

	/* Ensure main content is visible */
	/* .single-post-shadow {
		page-break-inside: avoid;
	}

	.cms-page {
		page-break-inside: avoid;
	} */
}
