/* ============================================================
   single-post.css
   Styles for single.php — matches the Fair Housing blog layout
   ============================================================ */

/* ── Wrapper ── */

body {
	font-family: 'Poppins', sans-serif;
	font-size: 22px;
}
h1, h2, h3, h4, h5, h6 {font-weight: 600;}
h1, h2, h3, h4, h5, h6, ul, li, div, p, span, a, button, input, em {
	font-family: 'Poppins', sans-serif !important;
}
ul, li, div, p, span, a, button, input, em {
	font-weight: normal;
}
.onepress-menu {
	line-height: 20px; !important}
.onepress-menu a {
    color: #333333;
   	font-family: 'Poppins', sans-serif;
    padding-left: 17px;
    padding-right: 17px;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
    zoom: 1;
    letter-spacing: 1px;
    white-space: nowrap;
}

#masthead {padding: 0px !important; }
.site-branding .site-logo-div {position: relative; bottom: -30px}
.kb-row-layout-wrap {
  overflow: visible !important;
}
.reset-loop, .reset-loop li {margin: 0px; padding: 0px;}
.excerpt-more a {
	width: 100%;
	text-align: center;
	background: #FAC000;
	padding: 7px 30px;
	color: #000;
	font-weight: 600;
	border-radius: 10px;
	margin-top: 15px;
	text-decoration: none;	
	transition-duration: 400ms;
}
.excerpt-more a:hover {
	background: #0F172B;
	color: #fff;
}
#cnss_widget-4 ul.cnss-social-icon li.cn-fa-icon a {
	background: transparent !important;
  color: #fff;
}
.wp-block-post-author__name {
	font-weight: bold;
}
.post-cards h2 {
	line-height: 1.4em;
}
.bottom-footer {
	margin-top: 40px; 
	padding-top: 10px;
	display: flex; 
	text-align: left;
	justify-content: space-between;
	border-top: 1px solid #98A098
}
.right-bottom a {
	display: inline-block;
	margin: 0 7px;
}
.search-listing form {display: flex;}

@media screen and (max-width: 768px) {
	.footer-widgets {
		text-align: center;
	}
	.cnss-social-icon {
		text-align: center !important;
	}
	.bottom-footer {
		display: block;
		text-align: center;
	}
	
}

.service-list {
	list-style-type: none;
	padding: 0px; 
	margin: 0px;
	border-bottom: 1px solid #949494; 
}
.service-list li {
	padding: 20px 0; 
	margin: 0px;
	border-top: 1px solid #949494; 
	font-size: 2rem;
}
.contact-btn a{
	  background: #fac000;
    color: #282828 !important;
	  font-size: 14px;
    line-height: 16px;
    text-transform: capitalize;
    text-decoration: none;
    display: block;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    padding: 11px 30px !important;
    border-radius: 4px;
	  margin-left: 30px;
}

.contact-btn a:hover {
	background: #d8a806;
}
/*FLEX MLS*/

.flexmls_connect__search_v2 form {
	display: flex;
}
.flexmls_connect__search_v2 form ul, .flexmls_connect__search_v2 form select {
	background: #F8FAFC;
	font-weight: light;
}
.flexmls_connect__search_v2  input[type='submit'] {
	text-transform: Capitalize !important; 
	font-weight: 600 !important;
	color: #000 !important;
}
.flexmls_connect__search_v2 form .location {
	padding-bottom: 0px !important; 
	margin-bottom: 0px !important;
}
.flexmls_connect__search_v2 form .location .select2 {
	max-width: 400px;
	width: 300px !important;
	min-width: 300px;
	padding-left: 20px;
	font-size: 16px; 
	text-align: left;
	}
.flexmls_connect__search_v2 form .location .select2 li, .select2-results__option {
		font-size: 14px !important;
	  margin-left: 10px;
	}
.select2-results__option {
	padding-top: 0px;
	padding-left: 20px
}
.select2-dropdown.select2-dropdown--below {
	border: 0px !important; 
	
}
.flexmls_connect__search_field {margin-bottom: 0px;}
.flexmls_connect__search_v2 .flexmls_connect__righthand_filters_wrapper, .flexmls_connect__search_v2 .flexmls_connect__search_v2_min_max {
	width: 90%
}
.flexmls_connect__search_v2 .flexmls_connect__filters_wrapper label {
	display: none;
}
.flexmls_connect__search_v2 .flexmls_connect__filters_wrapper {
	width: 320px !important;
	margin-left: 30px;
}
.flexmls_connect__search_v2 .flexmls_connect__filters_wrapper select {
	width: 350px !important;
}
.flexmls_connect__idx_disclosure_text, .fbs-branding {
	display: none !important
}
.flexmls-count-wrapper, .listings-per-page-wrapper, .sort-by-wrapper {
	font-size: 16px;
}
.flexmls-filters-wrapper select#listings_per_page, .sort-by-wrapper #sort-by-filter- {
	  padding: 0px !important;
    margin: 0px !important;
    line-height: 16px !important;
    font-size: 12px;
    height: 30px;
		text-align: left;
}
.flexmls_connect__sr_pagination a, .flexmls_connect__sr_pagination span {font-size: 16px;font-weight: normal; padding: 0 3px}
.page-template-default .flexmls_connect__sr_detail {padding: 50px 0;}
.flexmls-listing-details b, .flexmls-listing-details strong, .flexmls-listing-details table, .flexmls-listing-details, .flexmls-listing-details span, .flexmls-listing-details dt, .flexmls-listing-details dd {
	font-size: 14px !important;
	font-family: 'Poppins', sans-serif !important;
}
.flexmls-listing-details {padding: 50px 0;}
.flexmls-listing-details h3, .flexmls-listing-details h2, .flexmls-listing-details h4 {
	font-size: 16px !important;
	font-family: 'Poppins', sans-serif !important;
}
.flexmls-btn, .new-listing-tag {
	background:#FAC000 !important; 
	color:#1A1A1A !important;
}
.flexmls_connect__search_results_page #content{
	padding-top: 70px;
}
.flexmls-last-modified-and-idx-wrapper {
	display: none !important;
}
.flexmls_connect__search_v2 {
	background: rgba(9, 66, 155, 0.4) !important;
	border-radius: 20px;

}
.flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_v2_submit {
	margin-top: 0px !important;
}

.select2-dropdown.select2-dropdown--below {
	max-width: 290px;
}
.flexmls_connect__search_v2 .flexmls_connect__filters_wrapper select, .flexmls_connect__search.flexmls_connect__search_v2 .flexmls_connect__search_field.location .select2-selection {
	height: 40px;
	font-family: 'Poppins', sans-serif !important;
	color: #666666;
	font-size: 14px;
}

.single-post-main {
  padding: 0 0 3rem;
}

/* ============================================================
   POST HEADER  (thumbnail + title side-by-side)
   ============================================================ */
.single-post-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Thumbnail column */
.single-post-thumbnail {
  flex: 0 0 200px;
  max-width: 400px;
}
.single-post-article {padding: 70px 10px 10px 50px;}
.single-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.single-post-header {display: flex !important;}
.single-post-header > div {flex: 1 !important;}
.single-post-header .single-post-title-block {
  display: flex;
  height: 400px;       /* Container must have height to see effect */
}
/* Title column */
.single-post-title-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Entry Title ── */
.single-entry-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
  margin: 0 0 0.6rem;
}

/* ── Byline ── */
.single-post-meta {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #09429B;
  margin-bottom: 0.75rem;
}
.single-post-meta span {
	font-weight: 800;
}
.single-post-meta .meta-sep {
  color: #aaa;
}

/* ── Inline share (under title when thumbnail present) ── */
.single-post-share.inline-share {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.share-label {
  font-family: sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

/* ============================================================
   POST CONTENT
   ============================================================ */
#content-inside {
	width: 100%;
    padding: 0;
    margin: 0;
}
#main {
	background: #FAFAF9;
}

#main .single-post-article {
	width: 1250px;
	margin: auto;
}
.single-post-content {
  font-size: 0.925rem;
  line-height: 1.8;
  color: #2d2d2d;
  margin-bottom: 2rem;
}

.single-post-content p {
  margin: 0 0 1rem;
}

.single-post-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111;
  margin: 2rem 0 0.6rem;
  line-height: 1.25;
}

.single-post-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin: 1.5rem 0 0.5rem;
}

.single-post-content strong,
.single-post-content b {
  font-weight: 700;
  color: #111;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.single-post-content li {
  margin-bottom: 0.35rem;
}

.single-post-content a {
  color: #C00020;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-post-content a:hover {
  color: #900018;
}

.single-post-content blockquote {
  border-left: 4px solid #C00020;
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  color: #555;
  font-style: italic;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.page-links {
  font-size: 0.85rem;
  margin-top: 1.5rem;
  color: #555;
}

/* ── Standalone share (no thumbnail) ── */
.single-post-share.standalone-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* ============================================================
   RELATED POSTS
   ============================================================ */
.related-container {
	width: 1250px;
	margin: auto;
}
.related-posts-section {
	background: #fff;
}
.related-posts-section {
  padding: 2.5rem 10px;
}

.related-posts-heading {
  text-align: center;
  font-family: sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 1.75rem;
}

/* 3-column grid */
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Individual Card ── */
.related-post-card {
  display: flex;
  flex-direction: column;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 8px;
}
.related-card-body {
	padding: 15px;
}
/* Thumbnail */
.related-card-thumb {
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  aspect-ratio: 4 / 3;
  background: #e5e5e5;
}

.related-card-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.related-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.related-card-thumb:hover img {
  transform: scale(1.04);
}

.related-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #ddd;
}

/* Meta line */
.related-card-meta {
  font-family: sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C00020;
  margin-bottom: 0.3rem;
}

.related-card-meta .meta-sep {
  color: #bbb;
}

/* Card title */
.related-card-title {
  font-family: sans-serif;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.related-card-title a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

.related-card-title a:hover {
  color: #C00020;
}

/* Excerpt */
.related-card-excerpt {
  font-family: sans-serif;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0.85rem;
  flex: 1;
}

.related-card-excerpt p {
  margin: 0;
}

/* Read More button */
.related-read-more {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  background-color: #fac000;
  color: #1A1A1A !important;
  font-family: sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: capitalize;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
  width: 100%;
}
.related-posts-grid > :only-child {
    grid-column: 2;
}

.related-read-more:hover {
  background-color: #9a0018;
  transform: translateY(-1px);
  color: #fff !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
	.service-list li {
		font-size: 1.5rem;
		padding: 10px 0;
	}
}
/* Tablet: 2-column related grid */
@media (max-width: 900px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: stack header, 1-column related */
@media (max-width: 640px) {
  .single-post-header {
    flex-direction: column;
    gap: 1rem;
  }

  .single-post-thumbnail {
    flex: none;
    max-width: 100%;
  }

  .single-entry-title {
    font-size: 1.55rem;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .related-posts-heading {
    font-size: 1.25rem;
  }
}

body {background: #000 !Important;}