/*
 Theme Name:   Charming Austin
 Theme URI:    https://charmingaustintexas.com
 Description: Child theme for GeneratePress
 Author:       BBB
 Author URI:   https://charmingaustintexas.com
 Template:     generatepress
 Version:      1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
/* font-family: 'Playfair Display', serif; */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');
/* font-family: 'Source Sans Pro', sans-serif; */

body {
    background-color: #ffffff;
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #000;
}

body h2, body h3 {
	color: #000000;
}

body h2 {
	font-size: 30px;
}

body .gp-icon svg {
	fill: #000000;
}

/* Header */
header.site-header .inside-header { position: relative; }
header.site-header .site-logo {
	margin-bottom: 25px;
    margin-top: 10px;
    position: relative;
    z-index: 11;
}
header.site-header .site-logo a {
    display: inline-block;
    pointer-events: auto;
    cursor: pointer;
}
.header-subscribe-btn {
    position: absolute;
    right: 40px;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    background: #FFD6D6;
    border: none;
    color: #000;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
}
.mobile-nav-subscribe {
    display: none !important;
}

/* Sticky nav bar — activates on scroll */
nav.main-navigation {
	border: 1px solid #C8C4C3;
	position: relative;
	z-index: 1000;
}
nav.main-navigation.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border: none;
    border-bottom: 1px solid #C8C4C3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.admin-bar nav.main-navigation.is-sticky {
    top: 32px;
}
/* SUBSCRIBE in sticky nav (injected by JS) */
nav.main-navigation .sticky-subscribe {
    display: inline-block;
    margin-left: auto;
    background: #FFD6D6;
    color: #000 !important;
    padding: 8px 24px;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 50px;
}
nav.main-navigation.is-sticky .inside-navigation {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    max-width: none;
}
nav.main-navigation.is-sticky .main-nav {
    flex: 1;
}
nav.main-navigation.is-sticky .main-nav > ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}
nav.main-navigation.is-sticky .main-nav ul.sub-menu {
    display: block;
}

nav.main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items {
    color: #191919;
    font-size: 18px;
	font-weight: 500;
}

nav.main-navigation .main-nav ul li a {
    line-height: 50px;
	padding-left: 16px;
    padding-right: 16px;
}

nav.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: #000000;
}

nav.main-navigation .main-nav .menu-item > a, nav.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    position: relative;
    padding-bottom: 2px;
}

nav.main-navigation .main-nav .menu-item > a::after, nav.main-navigation .main-nav ul li[class*="current-menu-"] > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

nav.main-navigation .main-nav .menu-item > a:hover::after, nav.main-navigation .main-nav ul li[class*="current-menu-"] > a::after {
    width: 100%;
}

nav.main-navigation .main-nav ul.sub-menu li {
	padding: 0 15px;
}

nav.main-navigation .main-nav ul.sub-menu li a {
    padding: 10px 0;
    font-size: 15px;
    line-height: 30px;
}

.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a {color: #000000;}


/* Home Page */
.home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.home-hero .hero-content {
    flex: 1;
}

.home-hero .tagline {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
    display: inline-block;
}

.home-hero .hero-content h1 {
    font-family: Montserrat, sans-serif;
	font-size: 50px;
    font-weight: 400;
    color: #000;
    line-height: 130%;
    margin-bottom: 25px;
    font-weight: 300;
}

.home-hero .hero-content p {
    font-size: 24px;
    line-height: 1.6;
    /* color: #848484; */
}

.home-hero .hero-image {
    flex: 1;
}

.hero-read-more {
    display: inline-block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.hero-read-more:hover {
    opacity: 0.6;
}

.home-hero .hero-read-more {
    margin-top: 24px;
}

.home-hero .hero-image img {
	width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.home-articles-posts {
	margin: 0 auto;
    padding: 60px 0;
    text-align: center;
}
.home-guide-posts, .home-neighbor-posts, .home-realestate-posts {
    display: none;
}

.home-articles-posts h2, .home-neighbor-posts h2, .home-realestate-posts h2, .discover-subscribe h2 {
	font-weight: 400;
    margin-bottom: 50px;
	color: #000;
}

.home-articles-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-articles-posts .home-articles-item {
    border: 1px solid #C8C4C3;
    background: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.home-articles-posts .home-articles-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.home-articles-posts .home-articles-item h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 15px;
	color: #000;
}

.home-hero .hero-content p, .home-articles-posts .home-articles-item p, .home-guide-posts .post-desc p, .entry-summary p, article .entry-content {
	font-family: 'Source Sans Pro', sans-serif;
} 
article .entry-content {
	font-size: 18px;
}
.home-articles-posts .home-articles-item p {
	font-size: 18px;
    line-height: 1.6;
    margin: 0 15px 15px;
}

.home-articles-posts .home-articles-item p:last-child {
    margin-top: auto;
}

.home-articles-posts .home-articles-item img {
    transition: transform 0.5s ease;
}

.home-articles-posts .home-articles-item:hover img {
    transform: scale(1.06);
}

/* Single Column Articles */
pre:has(.home-single-articles) { background: none !important; padding: 0 !important; margin: 0 !important; border: none !important; font-family: inherit !important; white-space: normal !important; }
.home-single-articles { display: flex; flex-direction: column; gap: 30px; margin: 40px 0 0; }
.home-single-article { display: grid; grid-template-columns: 370px 1fr; background: #fff; overflow: hidden; }
.home-single-article-img { display: block; overflow: hidden; width: 370px; height: 250px; }
.home-single-article-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.home-single-article:hover img { transform: scale(1.06); }
.home-single-article-content { display: flex; flex-direction: column; justify-content: center; padding: 30px; text-align: left; }
.home-single-article-content h3 { font-size: 22px; line-height: 1.4; color: #000; margin: 0 0 12px; }
.home-single-article-content h3 a { color: #000; text-decoration: none; }
.home-single-article-content p { font-family: 'Source Sans Pro', sans-serif; font-size: 18px; line-height: 1.6; margin: 0 0 15px; }

@media (max-width: 768px) {
    .home-single-article { grid-template-columns: 1fr; }
    .home-single-article-content { padding: 20px; }
}


.home-guide-posts .home-guide-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.home-guide-posts .home-guide-item {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: flex-start;
}

.home-guide-posts .post-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.home-guide-posts .post-desc h3 {
    font-size: 26px;
	color: #000;
    line-height: 1.3;
    margin: 0 0 14px;
}

.home-guide-posts .post-desc {text-align: left;}
.home-guide-posts .post-desc .post-meta {
	font-size: 14px;
    color: #848484;
    margin-bottom: 12px;
}

.home-guide-posts .post-desc p {
	font-size: 18px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.home-guide-posts .post-desc p:last-child {
    margin-bottom: 0;
}

.home-neighbor-posts {
    padding: 40px 0;
    border-top: 1px solid #C8C4C3;
	text-align: center;
}

.home-neighbor-posts h2 {margin-bottom: 20px;}


.home-neighbor-posts .neighbor-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
	margin-top: 60px;
	text-align: left;
}

.home-neighbor-posts .neighbor-item {
    position: relative;
    display: block;
    overflow: hidden;
}

.home-neighbor-posts .neighbor-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.home-neighbor-posts .neighbor-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6));
}

.home-neighbor-posts .neighbor-item .title {
    position: absolute;
    left: 20px;
    bottom: 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
	padding-right: 18px;
}

.home-realestate-posts {
    padding: 40px 0 50px;
    background: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #C8C4C3;
    margin-top: 20px;
}

.home-realestate-posts h2 {
    font-weight: 500;
    color: #0b1f44;
}

.home-realestate-posts > span {
    position: absolute;
    right: 0;
    top: 60px;
}

.home-realestate-posts > span a {
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
}

.home-realestate-wrapper {
    display: flex;
	align-items: stretch;
    gap: 25px;
    width: max-content;
    margin: 60px auto 0;
    transition: transform 0.5s ease;
}

.home-realestate-item {
    width: 360px;
    background: #fff;
    border: 1px solid #f0f0f0;
    text-align: left;
    overflow: hidden;
    transform: scale(0.88);
    transition: transform 0.4s ease, opacity 0.4s ease;
	height: 420px;
    display: flex;
    flex-direction: column;
}

.home-realestate-item.is-active {
    transform: scale(1.1);
    opacity: 1;
}

.home-realestate-item.is-prev,
.home-realestate-item.is-next {
    transform: scale(0.90);
}

.home-realestate-item a {
    display: block;
    position: relative;
	flex-shrink: 0;
}

.home-realestate-item .realestate-info {
    padding: 0 20px;
}

.home-realestate-item .realestate-info h3 {
	font-size: 25px;
    line-height: 1.3;
    font-weight: 400;
    margin: 5px 0 10px 0;
	min-height: 48px;
    color: #000;
}

.home-realestate-item .realestate-info h3 a {
	color: #000;
	flex-shrink: 0;
}

.home-realestate-item .realestate-info p {
	font-size: 17px;
    line-height: 1.7;
    color: #191919;
	min-height: 66px;
    margin: 0;
}

.home-realestate-item.is-active .realestate-info h3 {
	font-size: 20px;
}

.home-realestate-item.is-active .realestate-info p {
	font-size: 15px;
}

.home-realestate-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.home-realestate-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 80px;
    position: relative;
}

.home-realestate-nav::before,
.home-realestate-nav::after {
    content: "";
    height: 3px;
    width: 130px;
    background: #EDF2F7;
}

.home-realestate-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #e5e7eb;
    color: #0b1f44;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
	padding: 0;
}

.home-realestate-btn.active {
    background: #0b1f44;
    color: #fff;
}

.discover-subscribe {
    padding: 40px 0;
    text-align: center;
}

.discover-subscribe h2 {
    font-weight: 400;
    margin-bottom: 30px;
}

.discover-subscribe p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 500;
}

.discover-subscribe .beehiiv-form-connection { max-width: 520px; margin: 0 auto; flex-wrap: nowrap; }
.discover-subscribe .beehiiv-form-connection .beehiiv-email-label { display: none !important; }
.discover-subscribe .beehiiv-form-connection .beehiiv-field-1 { flex: 1; height: 50px !important; min-width: 0; border: 1.5px solid #000 !important; border-radius: 10px !important; padding: 0 24px; font-size: 16px; color: #000; }
.discover-subscribe .beehiiv-form-connection .beehiiv-submit-button { height: 50px !important; border-radius: 10px !important; }

/* Post listing. */
body:not(.home) .site-main > article {
    background: #fff;
	border: 1px solid #f5f5f5;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

body:not(.home) .site-main > article:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

body:not(.home).separate-containers .site-main .inside-article {
	padding: 20px;
}

body:not(.home).separate-containers .site-main .page-header {
    padding: 10px 0;
}

body:not(.home).separate-containers .site-main .page-header h1 {
   font-size: 35px;
   padding-left: 20px;
}

body:not(.home) .post-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

body:not(.home) .entry-title {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 10px;
}

body:not(.home) .entry-title a {
    color: #000000;
    text-decoration: none;
}

body:not(.home) .entry-title a:hover {
    color: #000;
}

body:not(.home) .entry-meta {
    font-size: 14px;
    color: #000;
    margin-bottom: 18px;
}

body:not(.home) .entry-meta a {
    color: inherit;
    text-decoration: none;
}
.reading-time {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: inherit;
    font-weight: 400;
    color: #777;
}
.home-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home-article-footer .reading-time {
    font-size: 14px;
}

body:not(.home) .entry-summary p {
    font-size: 18px;
	font-weight: 400;
    line-height: 1.7;
}

.entry-subline {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    margin-top: 8px;
    margin-bottom: 0;
}

body:not(.home) .read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
}

body:not(.home) .read-more:hover {
    text-decoration: underline;
}

body:not(.home) footer.entry-meta {
	margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}

body:not(.home) .cat-links a, body:not(.home) .tags-links a {
    color: #000;
}

body:not(.home) .cat-links a:hover, body:not(.home) .tags-links a:hover {
    color: #000;
}

body:not(.home) .cat-links a:hover {
	text-decoration: underline;
}

body:not(.home) .is-right-sidebar h2 {
	font-size: 25px;
}

body:not(.home) #right-sidebar, body:not(.home) #left-sidebar {
    padding: 10px;
}

body:not(.home) .sidebar .widget {
    background: #ffffff;
	border: 1px solid #f5f5f5;
    border-radius: 5px;
    padding: 20px 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

body:not(.home) .sidebar .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
	color: #000;
}

body:not(.home) .sidebar .widget-title::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #000000;
    position: absolute;
    left: 0;
    bottom: 0;
}

body:not(.home) .sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body:not(.home) .sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

body:not(.home) .sidebar ul li:last-child {
    border-bottom: none;
}

body:not(.home) .sidebar ul li a {
    color: #444;
    font-size: 15px;
    text-decoration: none;
    transition: color .3s ease;
}

body:not(.home) .sidebar ul li a:hover {
    color: #000000;
}

body:not(.home) .sidebar input[type="search"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

body:not(.home) .sidebar input[type="submit"] {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #000000;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

body:not(.home) .sidebar input[type="submit"]:hover {
    background: #a88347;
}

body:not(.home) .sidebar .tagcloud a {
	display: inline-block;
    padding: 6px 12px;
    margin: 5px 3px 0 0;
    border-radius: 30px;
    background: #f4f4f4;
    font-size: 14px !important;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

body:not(.home) .sidebar .tagcloud a:hover {
    background: #000000;
    color: #fff;
}


/* Footer */
.site-footer, .site-footer .footer-widgets {
    background: #2f3633;
    color: #ffffff;
}

.site-footer .widget-title {
    color: #D3D3D3;
}

.site-footer .footer-widgets-container .inside-footer-widgets {
	padding: 30px 0;
}

.site-footer .footer-widgets ul {
    list-style: none;
	padding: 0;
    margin: 0;
}

.site-footer .footer-widgets li {
    margin-bottom: 10px;
}

.site-footer .footer-widgets a {
    font-size: 14px;
	font-weight: 500;
    color: #D3D3D3;
    text-decoration: none;
    transition: 0.3s;
}

.site-footer .footer-widgets p {
	font-size: 14px;
	font-weight: 500;
    color: #D3D3D3;
    line-height: 1.8;
}

.site-footer .footer-widgets a:hover {
    color: #ffffff;
}

.site-footer .footer-widgets .social {
    margin-top: 30px;
    display: flex;
    gap: 25px;
	align-items: center;
	justify-content: center;
}

.site-footer .footer-widgets .social br {display:none;}

.site-footer .footer-widgets .social a {
    color: #ffffff;
    font-size: 16px;
    opacity: 0.7;
    transition: 0.3s;
}

.site-footer .footer-widgets .social a:hover {
    opacity: 1;
}

.site-footer .footer-widgets .footer-widget-1 {
	max-width: 300px;
    display: flex;
    align-items: center;
}

.site-footer .footer-widgets .footer-widget-2 {
	border-left: 1px solid #D3D3D3;
	padding-left: 2%;
}

.site-footer footer.site-info .grid-container {
    max-width: 100%;
    display: block;
    padding: 0;
}

.site-footer footer.site-info .footer-bottom {
    background:#fff;
    font-size: 13px;
    color: #252525;
	border-top: 1px solid #e5e5e5;
    padding: 14px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer footer.site-info .footer-bottom ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0;
    margin: 0;
}

.site-footer footer.site-info .footer-bottom ul li a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: color 0.3s;
}

.site-footer footer.site-info .footer-bottom ul li a:hover {
    color: #000;
}

.site-footer footer.site-info .footer-bottom p {
    margin: 0;
    color: #000;
    white-space: nowrap;
}

article.type-post .entry-content a {
    color: #000000;
}

article.type-post .entry-content a:hover {
    text-decoration: underline;
}



/* RESPONSIVE */
/* @media (min-width: 992px) {
	#right-sidebar, #left-sidebar {
		position: sticky;
		top: 110px;
		height: fit-content;
	}
} */

@media (max-width: 1024px) {
    .home-hero {
        gap: 40px;
    }

    .home-hero .hero-content h1 {
        font-size: 46px;
    }
	.home-articles-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
	.home-guide-posts .home-guide-item {
        grid-template-columns: 300px 1fr;
        gap: 30px;
    }

    .home-guide-posts .post-desc h3 {
        font-size: 24px;
    }
	 .home-neighbor-posts .neighbor-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
	
	.home-realestate-item {
        width: 300px;
    }
}

@media (max-width: 992px) {
	.site-footer footer.site-info .footer-bottom {
		display: block;
		text-align: center;
		width: 100%;
		margin: 0 auto;
	}
	
	.site-footer footer.site-info .footer-bottom ul {
		display: inline-flex;
	}
	
}

@media (max-width: 768px) {
    .home-hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 0;
    }

    .home-hero .hero-content p {
        margin: 0 auto;
    }

    .home-hero .hero-content h1 {
        font-size: 40px;
    }
	.home-guide-posts .home-guide-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-guide-posts .post-desc h3 {
        font-size: 22px;
    }
	
	.home-realestate-item {
        width: 85vw;
        transform: scale(1);
        opacity: 1;
    }

    .home-realestate-item.is-prev,
    .home-realestate-item.is-next {
        opacity: 1;
        transform: scale(1);
    }
	
	.home-realestate-nav::before,
    .home-realestate-nav::after {
        width: 60px;
    }
	
	.discover-subscribe {
        padding: 80px 16px;
    }

    .discover-subscribe h2 {
        font-size: 36px;
    }

    .discover-subscribe p {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .discover-subscribe-form input {
        height: 56px;
        font-size: 16px;
    }
	
	.site-footer .inside-footer-widgets {
        flex-direction: row;
    }
	
	.site-footer .footer-widgets .footer-widget-2 {
		padding-left: 20px;
	}
	
	#right-sidebar, #left-sidebar {
        padding: 0;
        margin-top: 40px;
    }

    .sidebar .widget {
        border-radius: 12px;
    }

    /* Mobile header: logo + hamburger on same row */
    .header-subscribe-btn {
        display: none;
    }
    header.site-header {
        position: relative;
        padding-bottom: 0;
        margin-top: 20px;
    }
    .inside-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 10px 16px !important;
    }
    .inside-header > *:not(:last-child):not(.main-navigation) {
        margin-bottom: 0 !important;
    }
    header.site-header .site-logo {
        margin-bottom: 0;
        margin-top: 0;
        position: relative;
        z-index: 11;
    }
    header.site-header .site-logo img,
    header.site-header .site-logo svg {
        max-height: 40px;
        width: auto;
    }

    /* Pull nav hamburger up into the header row */
    nav.main-navigation {
        margin-top: -60px;
        border: none;
        background: transparent;
        pointer-events: none;
    }
    nav.main-navigation .inside-navigation {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 60px;
        padding: 0 16px 0 0;
        pointer-events: none;
    }
    button.menu-toggle {
        pointer-events: auto;
        width: auto !important;
        flex: 0 0 auto;
        padding: 0 16px;
    }
    button.menu-toggle .mobile-menu {
        display: none;
    }

    /* Disable sticky nav on mobile */
    nav.main-navigation.is-sticky {
        position: static;
        box-shadow: none;
        border-bottom: none;
    }

    /* When toggled, restore normal flow for menu items */
    .main-navigation.toggled {
        margin-top: 0;
        background: #fff;
        border: none;
        pointer-events: auto;
    }
    .main-navigation.toggled .inside-navigation {
        height: auto;
        flex-wrap: wrap;
        pointer-events: auto;
    }
    .main-navigation.toggled .menu-toggle {
        width: 100%;
        text-align: right;
        padding-right: 16px;
        height: 50px;
    }
    .main-navigation.toggled .main-nav > ul {
        text-align: left;
    }

    /* Subscribe at bottom of mobile nav */
    .main-navigation.toggled .mobile-nav-subscribe {
        display: block !important;
        order: 99;
        width: 100%;
        background: #FFD6D6 !important;
        color: #000 !important;
        padding: 14px 20px !important;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 2px;
        border-top: 1px solid #C8C4C3;
        margin-top: 10px;
    }

    /* Hide meta + summary on archive/category pages */
    .entry-meta,
    .entry-summary {
        display: none;
    }

    /* Hero: hide subline + read more on mobile */
    .home-hero .hero-content p,
    .home-hero .hero-read-more {
        display: none;
    }

    /* Hide excerpts & Read More on both article sections */
    .home-articles-posts .home-articles-item p {
        display: none;
    }
    .home-single-article-content p {
        display: none;
    }

    /* Tighten card gaps */
    .home-articles-wrapper {
        gap: 16px;
    }
    .home-single-articles {
        gap: 16px;
    }

    /* Single article image full width */
    .home-single-article-img {
        width: 100%;
        height: 200px;
    }

    /* Prevent horizontal overflow */
    .site-content,
    .inside-article {
        overflow-x: hidden;
    }
    img {
        max-width: 100%;
        height: auto;
    }

}

@media (max-width: 700px) {
	.site-footer .inside-footer-widgets {
        flex-direction: column;
        align-items: center;
    }
	.site-footer .footer-widgets .footer-widget-2 {
		border-left: 0;
        padding-left: 0;
	}
	.site-footer .footer-widgets .social {
		margin-top: 20px;
        justify-content: center;
	}
    .site-footer .footer-widget-1 {
        text-align: center;
        max-width: none;
        justify-content: center;
    }
    .site-footer .footer-widget-3 {
        order: 2;
        text-align: left;
        width: 100%;
        margin: 20px;
    }
    .site-footer .footer-widget-3 .widget-title {
        margin-bottom: 5px;
    }
    .site-footer .footer-widget-3 .footer-subscribe-btn {
        margin-bottom: 20px;
    }
    .site-footer .footer-widget-2 {
        order: 3;
        text-align: left;
        width: 100%;
    }
    .site-footer .textwidget {
        text-align: left;
    }
}

/* ── Single Listing Page ── */
.listing-single { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.listing-single-hero { margin: 25px -20px 0; }
.listing-single-hero img { width: 100%; max-height: 500px; object-fit: cover; display: block; }

.listing-single-info { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid #e5e5e5; }

h1.listing-single-address { font-size: 28px; font-weight: 600; color: #000; margin: 0 0 4px; }
.listing-single-city { font-size: 16px; font-weight: 500; color: #666; margin-bottom: 12px; }
.listing-single-price { font-size: 20px; font-weight: 500; color: #333; margin-bottom: 12px; }
.listing-single-specs { font-size: 16px; font-weight: 500; color: #555; margin-bottom: 12px; }
.listing-single-neighborhood { font-size: 16px; font-weight: 500; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.listing-single-mls { font-size: 16px; font-weight: 500; color: #aaa; }
.listing-share-btn { display: none; /* hidden for now */ }
.listing-share-btn:hover { opacity: 0.85; }

.listing-single-right { padding-left: 30px; border-left: 1px solid #e5e5e5; }

.listing-single-dates h4 { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #666; margin: 0 0 12px; }
.listing-single-date-badge { display: inline-block; background: #2f3633; color: #fff; padding: 8px 14px; border-radius: 4px; margin: 0 8px 8px 0; font-size: 16px; font-weight: 500; }
.listing-date-day { display: block; font-weight: 600; }
.listing-date-time { display: block; font-size: 16px; opacity: 0.85; }

.listing-single-agent { display: flex; gap: 16px; margin-top: 24px; align-items: flex-start; }
.listing-agent-headshot { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.listing-agent-info { display: flex; flex-direction: column; gap: 4px; font-size: 16px; font-weight: 500; }
.listing-agent-info strong { font-size: 18px; font-weight: 600; color: #000; }
.listing-agent-info a { color: #555; text-decoration: none; font-weight: 500; }
.listing-agent-info a:hover { color: #000; }

.listing-single-desc { padding: 40px 0; font-size: 18px; font-weight: 500; line-height: 1.8; color: #333; border-bottom: 1px solid #e5e5e5; }
.listing-single-desc p { margin: 0 0 1em; }

.listing-single-gallery { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 40px 0 16px; }
.listing-single-gallery img { width: 100%; height: auto; max-height: 600px; object-fit: cover; border-radius: 4px; }
.listing-single-photo-credit {
    padding-bottom: 60px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-style: italic;
    color: #000;
    text-align: right;
}
.listing-single-photo-credit a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.listing-single-photo-credit a:hover { color: #d4615a; }
.listing-single-agent .listing-agent-name a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.listing-single-agent .listing-agent-name a:hover { color: #d4615a; }

@media (max-width: 768px) {
    .listing-single-info { grid-template-columns: 1fr; gap: 24px; }
    .listing-single-right { padding-left: 0; border-left: none; border-top: 1px solid #e5e5e5; padding-top: 24px; }
}

@media (max-width: 640px) {
    .home-articles-posts h2, .home-neighbor-posts h2, .home-realestate-posts h2 {
        font-size: 28px;
    }

    .home-articles-wrapper {
        grid-template-columns: 1fr;
    }
	
	 .home-neighbor-posts .neighbor-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .home-hero .hero-content h1 {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .home-hero .hero-content p {
        font-size: 15px;
    }

	.discover-subscribe h2 {
        font-size: 30px;
    }

	.site-footer footer.site-info .footer-bottom p {
		margin-top: 25px;
	}

}

@media (max-width: 430px) {
    .home-hero .hero-content h1 { font-size: 34px; }
    .home-articles-wrapper { gap: 12px; }
    .home-single-articles { gap: 12px; }
    .home-articles-posts .home-articles-item img { height: 200px; }
    .home-articles-posts .home-articles-item h3 { font-size: 20px; margin: 12px; }
    .home-single-article-content h3 { font-size: 20px; }
}

@media (max-width: 390px) {
    .home-hero .hero-content h1 { font-size: 28px; }
    .home-hero .tagline { font-size: 18px; }
    .home-articles-posts .home-articles-item h3 { font-size: 18px; margin: 10px; }
    .home-articles-posts .home-articles-item img { height: 180px; }
    .home-single-article-content h3 { font-size: 18px; }
    .inside-header { padding-left: 16px; padding-right: 16px; }
}

/* ============================================================
   No-Results Page
   ============================================================ */

.noresults-message {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}
.noresults-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 10px;
}
.noresults-post-item {
    display: flex;
    flex-direction: column;
}
.noresults-thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease;
}
.noresults-thumb:hover img {
    transform: scale(1.03);
}
.noresults-post-title {
    font-size: 17px;
    line-height: 1.3;
    margin: 10px 0 6px;
    font-family: 'Playfair Display', serif;
}
.noresults-post-title a {
    color: #000;
    text-decoration: none;
}
.noresults-post-title a:hover {
    text-decoration: underline;
}
.noresults-post-item a {
    color: #000;
    text-decoration: none;
}
.noresults-post-item a:hover {
    text-decoration: underline;
}
.noresults-post-item .entry-subline {
    font-size: 14px;
    margin-top: 0;
    color: #555;
}
@media (max-width: 768px) {
    .noresults-posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .noresults-posts { grid-template-columns: 1fr; }
}

/* ============================================================
   Open Houses
   ============================================================ */

.oh-wrap {
    font-family: 'Source Sans Pro', sans-serif;
    position: relative;
}

/* Filter tabs */


/* Open Houses page header: title left-of-center, date right-of-center */
.oh-page .entry-header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}
.oh-page .entry-title {
    text-align: left;
    margin-bottom: 0;
}
.oh-range-label {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 400;
    color: #555;
    letter-spacing: 0;
    white-space: nowrap;
}

/* Hide sidebar + full width on Open Houses page */
.oh-page .widget-area,
.oh-page .sidebar-primary,
.oh-page #right-sidebar {
    display: none !important;
}
.oh-page .content-area {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
/* Widen the page container to 1400px */
.oh-page .grid-container {
    max-width: 1400px !important;
}

/* Map + listings side by side (50 / 50) */
.oh-layout {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}
.oh-map-col {
    position: relative;
    width: 50%;
    flex-shrink: 0;
}

/* Map */
#oh-map {
    width: 100%;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

/* Listings column — scrolls independently (Zillow-style) */
.oh-listings-col {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 12px 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-left: none;
    border-radius: 0 4px 4px 0;
}


/* Custom map marker */
.oh-marker {
    width: 28px;
    height: 28px;
    background: #000;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: transform 0.15s;
}
.oh-marker:hover {
    transform: scale(1.2);
}

/* No results */
.oh-empty,
.oh-no-results {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    color: #757575;
    padding: 24px 0;
}

/* Property filters */
.oh-property-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}
.fl-page .oh-property-filters {
    position: sticky;
    top: 1px;
    z-index: 998;
    background: #fff;
    padding: 12px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}
.admin-bar .fl-page .oh-property-filters {
    top: 33px;
}
.oh-property-filters select {
    padding: 8px 14px;
    border: 1px solid #000;
    background: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 3px;
    min-width: 160px;
}

/* Listings grid — 2 columns inside the scrollable panel */
.oh-listings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 12px;
}

/* Compact Zillow-style card */
.oh-card {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.oh-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-color: #bbb;
}
.oh-card.is-active {
    border-color: #000;
    box-shadow: 0 0 0 2px #000;
}
.oh-card-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    overflow: hidden;
}
.oh-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.oh-card:hover .oh-card-photo img {
    transform: scale(1.03);
}
.oh-photo-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 10px;
    pointer-events: none;
}
.oh-card-callout {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    pointer-events: none;
    z-index: 2;
}
.oh-modal-callout {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    pointer-events: none;
    z-index: 4;
}
.oh-card-body {
    padding: 10px 12px 12px;
}
.oh-card-price {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}
.oh-card-specs {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 4px;
}
.oh-sep { color: #bbb; margin: 0 3px; }
.oh-price-suffix { font-size: 14px; font-weight: 400; color: #888; }
.oh-card-address {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.oh-card-city {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}
.oh-card-dates {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px 0;
}
.oh-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f7dada;
    border-radius: 4px;
    padding: 5px 10px;
    text-align: center;
}
.oh-no-coords {
    font-size: 16px;
    color: #e67e22;
    margin-top: 6px;
    font-weight: 600;
}

/* Shared date badge */
.oh-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #f7dada;
    letter-spacing: 0.03em;
    padding: 5px 10px;
    border-radius: 4px;
    text-align: center;
}
.oh-date-day {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}
.oh-date-time {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    white-space: nowrap;
}

/* ── Map popup thumbnail ── */
.mapboxgl-popup-content {
    padding: 0 !important;
    border-radius: 8px !important;
    overflow: hidden;
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
}
.oh-popup-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}
.oh-popup-text {
    padding: 8px 12px 10px;
    font-size: 16px;
    line-height: 1.4;
    color: #000;
}
.oh-popup-text strong {
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

/* ── Modal ── */
.oh-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.oh-modal.is-open { display: flex; }
.oh-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.oh-modal-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 8px;
    width: 90vw;
    max-width: 960px;
    height: 80vh;
    max-height: 90vh;
    display: flex;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.3);
}
.oh-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.oh-modal-left {
    flex: 0 0 55%;
    position: relative;
    background: #111;
}
.oh-modal-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.oh-modal-photo-credit {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 16px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-align: right;
    pointer-events: none;
    z-index: 2;
}
.oh-modal-photo-credit a {
    color: #fff;
    text-decoration: underline;
    pointer-events: auto;
}
.oh-agent-name a {
    color: inherit;
    text-decoration: underline;
}
.oh-modal-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s ease;
}
.oh-modal-slide {
    min-width: 100%;
    height: 100%;
}
.oh-modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.oh-modal-no-photo {
    background: #e0e0e0;
}
.oh-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    color: #000;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.oh-modal-prev { left: 12px; }
.oh-modal-next { right: 12px; }
.oh-modal-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}
.oh-modal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: background 0.15s;
}
.oh-modal-dot.active { background: #fff; }
.oh-modal-right {
    flex: 1;
    overflow-y: auto;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.oh-modal-price {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}
.oh-modal-addr {
    font-size: 16px;
    font-weight: 500;
}
.oh-modal-cityline {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-top: 2px;
}
.oh-modal-specs-row {
    font-size: 16px;
    font-weight: 500;
    color: #444;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.oh-modal-open-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.oh-modal-desc {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #444;
    max-height: 115px; /* ~4.5 lines at 16px × 1.6 */
    overflow: hidden;
    position: relative;
}
.oh-modal-desc::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}
.oh-modal-desc.is-expanded {
    max-height: none;
}
.oh-modal-desc.is-expanded::after {
    display: none;
}
.oh-desc-more {
    background: none;
    border: none;
    color: #1a56db;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 0;
    margin-top: -2px;
    display: block;
}
.oh-desc-more:hover { text-decoration: underline; }

/* Agent (used in modal) */
.oh-agent {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #e5e5e5;
}
.oh-agent-headshot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.oh-agent-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.oh-agent-name  { font-size: 16px; font-weight: 700; }
.oh-agent-link  { font-size: 16px; font-weight: 500; color: #000; text-decoration: none; }
.oh-agent-link:hover { text-decoration: underline; }

/* MLS (used in modal) */
.oh-modal-mls {
    font-size: 16px;
    font-weight: 500;
    color: #999;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
}

/* Featured Listings section title */
.fl-section-title {
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
}
.oh-title-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 20px;
    margin-bottom: 12px;
}
.oh-title-row .fl-section-title {
    margin: 0;
}
.oh-date-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: #444;
}
/* FL page — fixed-height map+listings, normal page scroll, footer below */
.fl-page .entry-header {
    display: none;
}
.fl-page .entry-content {
    margin: 0;
    padding: 0;
}
.fl-page .oh-wrap {
    margin: 0;
    padding: 0;
}
.fl-page .oh-layout {
    height: calc(100vh - 200px);
}
.admin-bar.fl-page .oh-layout {
    height: calc(100vh - 232px);
}

/* Articles View — magazine grid (1 big + 2 small repeating).
   Layout class (.is-big) is assigned by JS in applyFilters() based on the
   visible-card index, so filtering keeps the layout coherent. */
.oh-articles-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
    gap: 32px;
    max-width: 1200px;
    margin: 25px auto 0;
    padding: 0 16px;
}
.oh-articles-no-results {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px 0;
    grid-column: 1 / -1;
}
/* Default = small card: horizontal, image left, body right */
.oh-article-card {
    display: flex;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.oh-article-card:hover {
    opacity: 0.85;
}
.oh-article-img {
    width: 240px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
}
.oh-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Big: every 3rd visible card spans 2 grid rows, stacked image-on-top */
.oh-article-card.is-big {
    grid-row: span 2;
    flex-direction: column;
    gap: 16px;
}
.oh-article-card.is-big .oh-article-img {
    width: 100%;
    height: 330px;
    flex-shrink: 0;
}
.oh-article-card.is-big h3.oh-article-address {
    font-size: 26px;
}
.oh-article-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
h3.oh-article-address {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin: 0 0 6px;
}
.oh-article-city {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 6px;
}
.oh-article-specs {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 6px;
}
.oh-article-neighborhood {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 8px;
}
.oh-article-excerpt {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    margin: 10px 0 0;
}
.oh-article-dates {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .fl-page .oh-layout {
        height: auto;
    }
    .oh-layout {
        flex-direction: column;
    }
    .oh-map-col {
        position: static;
        width: 100%;
    }
    #oh-map {
        height: 350px;
        border-radius: 4px;
    }
    .oh-listings-col {
        height: auto;
        overflow-y: visible;
        border-left: 1px solid #e5e5e5;
        border-radius: 0 0 4px 4px;
    }
    .oh-modal-box {
        flex-direction: column;
        max-height: 92vh;
    }
    .oh-modal-left {
        flex: 0 0 260px;
    }
    .oh-listings {
        grid-template-columns: 1fr 1fr;
    }
    /* Magazine list view: tighten dimensions on tablet */
    .oh-articles-view {
        gap: 24px;
        grid-auto-rows: 200px;
    }
    .oh-article-card .oh-article-img {
        width: 200px;
        height: 160px;
    }
    .oh-article-card.is-big .oh-article-img {
        height: 270px;
        width: 100%;
    }
    .oh-article-card.is-big h3.oh-article-address {
        font-size: 22px;
    }
}
/* Desktop: topbar + drawer contents flow into parent flex row */
.oh-filter-topbar {
    display: contents;
}
.oh-filters-toggle {
    display: none;
}
.oh-filter-drawer {
    display: contents;
}

/* Mobile date in entry-header — hidden on desktop */
.oh-date-subtitle-mobile {
    display: none;
}
/* Floating MAP button — hidden on desktop */
.oh-map-fab {
    display: none;
}

/* Mobile ≤800px: show WP title + date, hide section title below map */
@media (max-width: 800px) {
    /* Magazine list view: collapse to single column, all cards image-on-top */
    .oh-articles-view {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 28px;
        padding: 0 16px;
    }
    .oh-article-card,
    .oh-article-card.is-big {
        grid-column: auto;
        grid-row: auto;
        flex-direction: column;
        gap: 14px;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }
    .oh-article-card .oh-article-img,
    .oh-article-card.is-big .oh-article-img {
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
        flex: none;
    }
    h3.oh-article-address { font-size: 20px; }

    .fl-page .entry-header,
    .oh-page .entry-header {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
        width: 100%;
    }
    .fl-page .entry-title,
    .oh-page .entry-title {
        margin-bottom: 0;
        text-align: center !important;
        width: 100%;
    }
    .oh-date-subtitle-mobile {
        display: block;
        font-family: 'Playfair Display', serif;
        font-size: 22px;
        font-weight: 400;
        color: #444;
        text-align: center !important;
        width: 100%;
    }
    .fl-page .oh-title-row,
    .fl-page .oh-listings-col > .fl-section-title {
        display: none;
    }
    /* Hide view toggle on mobile — MAP FAB is sufficient */
    #fl-filter-view,
    #oh-filter-view {
        display: none;
    }
    /* Force both views to look the same: always show .oh-layout, always hide .oh-articles-view */
    .oh-layout {
        display: flex !important;
    }
    .oh-articles-view {
        display: none !important;
    }
    /* Hide map column — MAP FAB toggles it inline */
    .oh-map-col {
        display: none;
    }
    .oh-map-col.map-visible {
        display: block;
    }
    /* Listings column fills the screen */
    .oh-listings-col {
        width: 100%;
        border: none;
        padding: 0;
    }
    .oh-listings {
        grid-template-columns: 1fr;
    }
    /* Floating MAP button */
    .oh-map-fab {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 28px;
        background: #FFD6D6;
        color: #000;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1px;
        border: none;
        border-radius: 24px;
        cursor: pointer;
        z-index: 999;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
    .oh-map-fab:active,
    .oh-map-fab:focus,
    .oh-map-fab:hover {
        background: #FFD6D6;
        color: #000;
        outline: none;
    }
}

@media (max-width: 768px) {
    /* Single-column listing grid */
    .oh-listings {
        grid-template-columns: 1fr;
    }

    /* Filter topbar visible on mobile */
    .oh-filter-topbar {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 0;
        width: 100%;
    }
    .oh-filter-topbar select {
        flex: 1;
        min-width: 0;
        padding: 8px 10px;
        border: 1px solid #000;
        background: #fff;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 14px;
        border-radius: 3px;
    }
    .oh-filters-toggle {
        display: block;
        padding: 8px 14px;
        border: 1px solid #000;
        background: #000;
        color: #fff;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 14px;
        cursor: pointer;
        border-radius: 3px;
        white-space: nowrap;
    }
    .oh-filters-toggle.active {
        background: #fff;
        color: #000;
    }

    /* Filter drawer collapsed by default on mobile */
    .oh-filter-drawer {
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 12px 0;
        width: 100%;
    }
    .oh-filter-drawer.open {
        display: flex;
    }
    .oh-filter-drawer select {
        width: 100%;
        padding: 8px 14px;
        border: 1px solid #000;
        background: #fff;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 14px;
        border-radius: 3px;
    }

    /* Hide desktop inline selects on mobile */
    .oh-property-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }
    .fl-page .oh-property-filters {
        position: static;
    }
    .oh-page .entry-header {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 0;
    }
    .oh-range-label {
        font-size: 20px;
    }
}

/* ============================================================
   Directory
   ============================================================ */

.dir-page {
    max-width: 1200px;
    margin: 0 auto;
}

/* Filter bar */
.dir-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    align-items: center;
}
#dir-search {
    flex: 1;
    min-width: 200px;
    padding: 9px 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
}
#dir-search:focus {
    outline: none;
    border-color: #888;
}
.dir-filters select {
    padding: 9px 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    min-width: 170px;
    background: #fff;
    cursor: pointer;
}
.dir-filters select:focus {
    outline: none;
    border-color: #888;
}

/* Card grid */
.dir-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dir-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    background: #fff;
}
.dir-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-color: #bbb;
}

.dir-card-photo {
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    overflow: hidden;
}
.dir-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.dir-card:hover .dir-card-photo img {
    transform: scale(1.03);
}

.dir-card-body {
    padding: 14px 16px 16px;
}
.dir-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.3;
}
.dir-card-company {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 10px;
}
.dir-card-callout {
    background: #111;
    border-color: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
    padding: 32px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dir-card-callout:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    border-color: #111;
    transform: translateY(-2px);
}
.dir-card-callout-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dir-card-callout-eyebrow {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}
.dir-card-callout-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.dir-card-callout-body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    margin-top: 4px;
}
.dir-card-callout-cta {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-top: 10px;
}
.dir-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.dir-service-badge {
    font-size: 11px;
    padding: 3px 8px;
    background: #f7dada;
    border-radius: 3px;
    color: #555;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* No-results message */
.dir-no-results {
    font-size: 16px;
    color: #777;
    text-align: center;
    padding: 40px 0;
}

/* Modal */
.dir-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.dir-modal.is-open {
    display: flex;
}
.dir-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}
.dir-modal-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 8px;
    max-width: 620px;
    width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px 36px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.dir-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 26px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 4px;
}
.dir-modal-close:hover {
    color: #111;
}

.dir-modal-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-bottom: 14px;
    background: #f0f0f0;
    border: 3px solid #f0f0f0;
}
.dir-modal-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 400;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.2;
}
.dir-modal-company {
    font-size: 15px;
    color: #666;
    margin-bottom: 12px;
}
.dir-modal-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.dir-modal-section {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.65;
    color: #333;
}
.dir-modal-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    margin-bottom: 5px;
}

/* Contact & social links */
.dir-modal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.dir-modal-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111;
    text-decoration: none;
    font-size: 14px;
}
.dir-modal-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .dir-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 720px) {
    .dir-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .dir-cards {
        grid-template-columns: 1fr;
    }
    .dir-filters {
        flex-direction: column;
        align-items: stretch;
    }
    #dir-search,
    .dir-filters select {
        width: 100%;
        min-width: 0;
    }
}

/* ── Directory single listing page ────────────────────────── */

.dir-single {
    padding: 0;
    min-height: 750px;
}
.dir-single-inner {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
    padding: 50px;
}

/* Left — photo column */
.dir-single-photo-col {
    position: sticky;
    top: 32px;
}
.dir-single-photo {
    width: 100%;
    display: block;
    background: #f0f0f0;
}
.dir-single-photo--placeholder {
    aspect-ratio: 1 / 1;
    background: #e8e8e8;
}
.dir-single-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 20px 0;
}
.dir-single-col-info {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dir-single-col-info a {
    font-size: 16px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
}
.dir-single-col-info a:hover {
    color: #000;
    text-decoration: underline;
}
.dir-col-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.dir-lucide-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #000;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Right — details column */
.dir-single-name {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.15;
}
.dir-single-company {
    font-size: 15px;
    color: #666;
    margin-bottom: 18px;
}
.dir-single-desc {
    font-size: 16px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 28px;
}
.dir-single-section {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
.dir-single-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
    margin-bottom: 5px;
}
.dir-single-back {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}
.dir-single-back a {
    font-size: 13px;
    color: #888;
    text-decoration: none;
}
.dir-single-back a:hover {
    color: #000;
    text-decoration: underline;
}

/* Responsive single page */
@media (max-width: 760px) {
    .dir-single-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .dir-single-photo-col {
        position: static;
    }
    .dir-single-name {
        font-size: 28px;
    }
}

.dir-single-join-wrap {
    max-width: 1080px;
    margin: 48px auto 0;
    padding: 0 50px 50px;
}
.dir-single-callout {
    min-height: 115px;
    padding: 20px 32px;
    text-align: left;
}
.dir-single-callout .dir-card-callout-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 32px;
    width: 100%;
}
.dir-single-callout .dir-card-callout-eyebrow { grid-column: 1; grid-row: 1; font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; letter-spacing: normal; text-transform: none; }
.dir-single-callout .dir-card-callout-title   { grid-column: 1; grid-row: 2; font-family: 'Source Sans Pro', sans-serif; font-size: 14px; font-weight: 400; }
.dir-single-callout .dir-card-callout-body    { display: none; }
.dir-single-callout .dir-card-callout-cta     { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
@media (max-width: 760px) {
    .dir-single-join-wrap {
        padding: 0 20px 40px;
    }
}

/* ── Directory carousel ─────────────────────────────────────── */
.dir-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.dir-carousel-track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}
.dir-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}
.dir-carousel-slide img.dir-single-photo {
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.dir-carousel-prev,
.dir-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #333;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.dir-carousel-prev { left: 10px; }
.dir-carousel-next { right: 10px; }
.dir-carousel-prev:hover,
.dir-carousel-next:hover { background: #fff; }
.dir-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 6px;
    background: #fff;
}
.dir-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.dir-carousel-dot.active { background: #333; }

/* ── Directory lightbox ─────────────────────────────────────── */
#dir-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
#dir-lightbox.active {
    display: flex;
}
.dir-lb-img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}
.dir-lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.8;
}
.dir-lb-close:hover { opacity: 1; }
.dir-lb-prev,
.dir-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 4px;
    line-height: 1;
    opacity: 0.8;
}
.dir-lb-prev:hover,
.dir-lb-next:hover { opacity: 1; background: rgba(255, 255, 255, 0.22); }
.dir-lb-prev { left: 16px; }
.dir-lb-next { right: 16px; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
    background: #2f3633;
    color: #fff;
}
.footer-widgets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}
.site-footer .inside-footer-widgets {
    display: flex;
    align-items: center;
    padding: 30px 0;
}
.site-footer .footer-widget-1,
.site-footer .footer-widget-2,
.site-footer .footer-widget-3 {
    flex: 1 1 0;
}
.site-footer .footer-widget-1 {
    display: flex;
    align-items: center;
    max-width: 300px;
}
.site-footer .footer-widget-2 {
    border-left: 0.8px solid #d3d3d3;
    padding-left: 23px;
}
.site-footer .widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 400;
    color: #d3d3d3;
    margin-bottom: 30px;
}
.site-footer .footer-logo img {
    display: block;
    max-width: 189px;
    height: auto;
}
.site-footer .social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
}
.site-footer .social br { display: none; }
.site-footer .social a {
    display: flex;
    align-items: center;
}
.site-footer .social img { display: block; }
.site-footer .textwidget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer .textwidget ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #fff;
}
.site-footer .textwidget ul li a {
    color: #d3d3d3;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.site-footer .textwidget ul li a:hover { color: #fff; }
.site-footer .textwidget p {
    color: #d3d3d3;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}
.site-footer .footer-logo-link {
    display: block;
    text-decoration: none;
}
.site-footer .footer-logo-link svg,
.site-footer .footer-logo-link img {
    display: block;
    max-width: 189px;
    height: auto;
}
.site-footer .footer-subscribe-btn {
    display: block;
    background: #FFD6D6;
    color: #000 !important;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
    margin-top: 24px;
    border-radius: 3px;
    width: fit-content;
}
.site-footer .footer-subscribe-btn:hover {
    color: #000 !important;
    opacity: 0.85;
}

/* Collaborate Page */
.page-template-page-collaborate .featured-image.page-header-image { display: none; }
.collaborate-page { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.collaborate-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.collaborate-image img { width: 100%; height: auto; object-fit: cover; border-radius: 4px; }
.collaborate-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 400; margin-bottom: 16px; }
.collaborate-content { font-size: 18px; color: #555; line-height: 1.7; margin-bottom: 30px; }
.collaborate-form { position: relative; }
.collab-field { margin-bottom: 18px; }
.collab-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.collaborate-content p { font-weight: 500; }
.collab-field input,
.collab-field select,
.collab-field textarea { width: 100%; padding: 12px 16px; font-size: 16px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; box-sizing: border-box; background: #fff; }
.collab-field textarea { resize: vertical; }
.collab-submit { background: #000; color: #fff; padding: 14px 40px; font-size: 16px; font-weight: 500; border: none; border-radius: 4px; cursor: pointer; font-family: inherit; letter-spacing: 0.5px; }
.collab-submit:hover { opacity: 0.85; }

/* Feature Listing page */
.feature-listing-left { display: flex; flex-direction: column; justify-content: flex-start; }
.feature-listing-image { margin-top: 40px; }
.feature-listing-image img { width: 100%; height: auto; border-radius: 4px; }
.collab-field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.collab-field-row .collab-field { margin-bottom: 18px; }

/* Subscribe page — 2-column on desktop (text+form left, hero image right),
   stacked on mobile. Hero image is the page's WP Featured Image. */
.subscribe-page { padding: 60px 20px; width: 100% !important; flex: 1 !important; }
.subscribe-inner { max-width: 900px; margin: 0 auto; }
.subscribe-inner-2col {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    text-align: center;
}
.subscribe-text { display: flex; flex-direction: column; justify-content: center; }
.subscribe-title { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 400; margin: 0 0 16px; }
.subscribe-subline { font-size: 18px; color: #555; margin: 0 0 32px; line-height: 1.6; font-weight: 500; }
.subscribe-form { max-width: 520px; margin: 0 auto; width: 100%; }
/* Stack input + button vertically on all breakpoints (was side-by-side) */
.subscribe-form .beehiiv-form-connection { max-width: 100%; flex-wrap: wrap; gap: 10px; }
.subscribe-form .beehiiv-email-label { display: none !important; }
.subscribe-form .beehiiv-form-connection .beehiiv-field-1 { width: 100% !important; flex: none !important; height: 50px !important; min-width: 0; border: 1.5px solid #000 !important; border-radius: 10px !important; padding: 0 24px; font-size: 16px; color: #000; }
.subscribe-form .beehiiv-form-connection .beehiiv-submit-button { width: 100% !important; height: 50px !important; border-radius: 10px !important; margin: 0 !important; }
.subscribe-hero { position: relative; width: 100%; min-height: 480px; border-radius: 6px; overflow: hidden; }
.subscribe-hero-img,
.subscribe-hero img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; border-radius: 6px; }
/* Photo credit overlay — pulls from the Featured Image's WP caption.
   Set via Media Library → image → Caption. Hidden if no caption. */
.subscribe-hero-credit {
    position: absolute;
    bottom: 12px;
    right: 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
}

@media (max-width: 768px) {
    .collaborate-layout { grid-template-columns: 1fr; gap: 30px; }
    .collab-field-row { grid-template-columns: 1fr; gap: 0; }
    .subscribe-title { font-size: 32px; }

    /* Subscribe page collapses to single column. DOM order is text → form
       → image, which is the desired mobile order (CTA above the fold). */
    .subscribe-inner-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .subscribe-hero {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
    .subscribe-hero-img,
    .subscribe-hero img {
        height: auto !important;
    }

    /* Stack beehiiv form on mobile — homepage "Stay in the Know" */
    .discover-subscribe .beehiiv-form-connection {
        flex-wrap: wrap !important;
        max-width: 75%;
        margin: 0 auto;
    }
    .discover-subscribe .beehiiv-form-connection .beehiiv-field-1 {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }
    .discover-subscribe .beehiiv-form-connection .beehiiv-submit-button {
        width: 100% !important;
        margin-top: 10px;
    }

    /* /subscribe/ form stacking is in base CSS now (applies all breakpoints).
       Photo credit shrinks slightly on mobile so it doesn't crowd small images. */
    .subscribe-hero-credit { font-size: 11px; bottom: 8px; right: 10px; padding: 3px 8px; }
}

/* ============================================================
   Real Estate page (page-real-estate.php)
   Magazine-style: hero + 2-col grid, using list-view card data.
   ============================================================ */
.re-category {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}
.re-category-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 40px;
    color: #000;
}

/* Base card — horizontal layout (image left, body right) */
.re-card {
    display: flex;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
.re-card:hover { opacity: 0.85; }

.re-card-img {
    flex-shrink: 0;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 4px;
}
.re-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.re-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* allow text to shrink */
}
.re-card-address {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin: 0 0 6px;
}
.re-card-city {
    font-size: 16px;
    color: #000;
    margin-bottom: 6px;
}
.re-card-specs {
    font-size: 16px;
    color: #000;
    margin-bottom: 6px;
}
.re-card-excerpt {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.55;
    margin: 8px 0 0;
}

/* Hero card — first listing, large and full-width */
.re-card-hero {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #eee;
    gap: 40px;
}
.re-card-hero .re-card-img {
    flex: 0 0 55%;
    height: 460px;
}
.re-card-hero .re-card-address {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 10px;
}
.re-card-hero .re-card-city,
.re-card-hero .re-card-specs {
    font-size: 18px;
}
.re-card-hero .re-card-excerpt {
    font-size: 17px;
    line-height: 1.6;
    margin-top: 14px;
}

/* Grid of standard cards (cards 2–12) with magazine pattern:
   every 3rd card is a "big" card that spans 2 rows, pairs with 2 small */
.re-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
    gap: 32px;
}
/* Default (small) card — horizontal, image-left/body-right */
.re-card-standard .re-card-img {
    width: 240px;
    height: 180px;
}
/* Every 3rd card is the "big" one: spans 2 rows, stacked image-on-top */
.re-grid .re-card-standard:nth-child(3n+1) {
    grid-row: span 2;
    flex-direction: column;
    gap: 16px;
}
.re-grid .re-card-standard:nth-child(3n+1) .re-card-img {
    width: 100%;
    height: 330px;
    flex-shrink: 0;
}
.re-grid .re-card-standard:nth-child(3n+1) .re-card-address {
    font-size: 26px;
}

/* Tablet: grid tightens */
@media (max-width: 1024px) {
    .re-card-hero .re-card-img { height: 360px; flex-basis: 50%; }
    .re-card-hero .re-card-address { font-size: 28px; }
    .re-card-standard .re-card-img { width: 200px; height: 160px; }
    .re-grid { gap: 24px; grid-auto-rows: 200px; }
    .re-grid .re-card-standard:nth-child(3n+1) .re-card-img { height: 270px; }
    .re-grid .re-card-standard:nth-child(3n+1) .re-card-address { font-size: 22px; }
}

/* Mobile: everything stacks, image on top */
@media (max-width: 800px) {
    .re-category-header h1 { font-size: 32px; margin-bottom: 28px; }
    .re-card,
    .re-card-hero {
        flex-direction: column;
        gap: 14px;
        padding-bottom: 28px;
    }
    .re-card-hero {
        margin-bottom: 28px;
    }
    .re-card-hero .re-card-img,
    .re-card-standard .re-card-img {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
    }
    .re-card-hero .re-card-address { font-size: 24px; }
    .re-card-address { font-size: 20px; }
    .re-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 28px;
    }
    /* Reset the desktop magazine pattern on mobile — every card is a full row */
    .re-grid .re-card-standard:nth-child(3n+1) {
        grid-row: auto;
    }
    .re-grid .re-card-standard:nth-child(3n+1) .re-card-img {
        height: auto;
    }
    .re-grid .re-card-standard:nth-child(3n+1) .re-card-address {
        font-size: 20px;
    }
}

.re-more {
    text-align: center;
    margin-top: 48px;
}
.re-more a {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}
.re-empty {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 32px 0;
}
