/*
 Theme Name:   Charming Dallas
 Theme URI:    https://charmingdallastexas.com
 Description: Child theme for GeneratePress
 Author:       BBB
 Author URI:   https://charmingdallastexas.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 .site-logo {
	margin-bottom: 25px;
    margin-top: 10px;
}

nav.main-navigation {
	border: 1px solid #C8C4C3;
}

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: 60px;
    color: #000;
    line-height: 130%;
    margin-bottom: 25px;
    font-weight: 300;
}

.home-hero .hero-content p {
    font-size: 18px;
    line-height: 1.6;
    /* color: #848484; */
}

.home-hero .hero-image {
    flex: 1;
}

.home-hero .hero-image img {
	width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.home-articles-posts, .home-guide-posts {
	margin: 0 auto;
    padding: 60px 0;
    text-align: center;
}

.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-posts .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: auto;
    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 p a, .home-guide-posts .home-guide-item p a{
	display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f7dada;
    color: #1f2a56;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
}

.home-articles-posts .home-articles-item p a::after, .home-guide-posts .home-guide-item p a::after {
    content: "";
    width: 22px;
    height: 14px;
    display: inline-block;
    background-image: url("images/reead-arrow.svg");
    background-repeat: no-repeat;
    background-size: cover;
}

.home-articles-posts .home-articles-item p a:hover, .home-guide-posts .home-guide-item p a:hover {
    background: #f7dada;
}

.home-articles-posts .home-articles-item img {
    transition: transform 0.5s ease;
}

.home-articles-posts .home-articles-item:hover img {
    transform: scale(1.06);
}

.home-articles-posts .home-articles-item p a {
    transition: background 0.3s ease;
}

.home-articles-posts .home-articles-item p a::after, .home-guide-posts .home-guide-item p a::after {
    transition: transform 0.3s ease;
}

.home-articles-posts .home-articles-item p a:hover::after, .home-guide-posts .home-guide-item p a:hover::after {
    transform: translateX(6px);
}


.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: 20px;
    color: #555;
    margin: 0 auto 30px;
}

.discover-subscribe .mc4wp-form {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

.discover-subscribe .mc4wp-form input {
    width: 100%;
    height: 64px;
    padding: 0 70px 0 24px;
    font-size: 18px;
    border-radius: 10px;
    border: 1.5px solid #000;
    outline: none;
}

.discover-subscribe .mc4wp-form button {
	position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 35px;
    cursor: pointer;
    color: #222;
}

/* 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;
}

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;
}

body:not(.home) .entry-summary p {
    font-size: 18px;
	font-weight: 400;
    line-height: 1.7;
}

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-posts .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;
        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;
    }
	
}

@media (max-width: 700px) {
	.site-footer .inside-footer-widgets {
        flex-direction: column;
    }
	.site-footer .footer-widgets .footer-widget-2 {
		border-left: 0;
	}
	.site-footer .footer-widgets .social {
		margin-top: 20px;
	}
}

@media (max-width: 640px) {
    .home-articles-posts h2, .home-neighbor-posts h2, .home-realestate-posts h2 {
        font-size: 28px;
    }

    .home-articles-posts .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: 32px;
        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;
	}

}
