/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  A lightweight child theme for GeneratePress
 Author:       Your Name
 Author URI:   https://yourwebsite.com
 Template:     generatepress
 Version:      1.0
*/

/* Optional: Add custom styles below */


@media (max-width: 768px) {
	.container {
		padding: 0 0px;
	}
	
	
	
@media (max-width: 768px) {
	.site-content {
		padding: 0 5px;
	}
}
	
	
	

	
	
	
	.mh-homepage-template .container {
	
	padding: 0 10px !important;
}
	
	.filter-bar-wrapper {
	
	padding: 20px 10px; 
	}
	
}







/* --- Pagination Styles --- */

/* Container for the entire pagination component */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

/* Base style for all pagination links and buttons */
.pagination a,
.pagination span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px; /* Ensures consistent size for single digits */
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    color: var(--text-color);
}

/* Styling for clickable page links */
.pagination a {
    background-color: #fff;
    cursor: pointer;
}

.pagination a:hover {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for the currently active page */
.pagination span.current {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-color: var(--primary-color);
    cursor: default;
    transform: none; /* Override hover transform */
    box-shadow: none; /* Override hover shadow */
}

/* Disabled state for previous/next buttons */
.pagination a.disabled {
    pointer-events: none;
    background-color: #f0f0f0;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination a,
    .pagination span {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
        font-size: 0.9em;
    }

    .pagination .prev,
    .pagination .next {
        min-width: unset; /* Allow buttons to shrink */
        padding: 0 15px;
    }
}





/* === Listings Grid === */
.mh-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}



.mobile-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}






/* Internal Links Section */


.internal-links-section h2,
.internal-links-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.internal-links-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.internal-links-section li {
    margin-bottom: 0.5rem;
}

.internal-links-section a {
    text-decoration: none;
    color: #0073aa;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.internal-links-section a:hover {
    color: #005177;
    text-decoration: underline;
}
















/* --- Breadcrumbs Styling --- */


.yoast-breadcrumbs .container {
    padding: 0 25px; 
}

.yoast-breadcrumbs span {
    font-family: var(--font-body);
    font-size: 0.95em;
    color: #666;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.yoast-breadcrumbs a {
    color: var(--secondary-color); 
    text-decoration: none;
  
}


/* Style the separator character */
.yoast-breadcrumbs span span {
    display: flex;
    align-items: center;
}

.yoast-breadcrumbs span > span::after {
    content: "›"; /* A cleaner, more modern separator */
    font-size: 1.2em;
    color: #bbb;
    margin: 0 8px;
    line-height: 1;
}

/* Style the last item (current page) */
.yoast-breadcrumbs .breadcrumb_last {
    font-weight: 600;
    color: var(--primary-color); /* Make the current page stand out */
}


/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .yoast-breadcrumbs {
        padding: 12px 0;
    }
    .yoast-breadcrumbs span {
        font-size: 0.9em;
    }
    .yoast-breadcrumbs span > span::after {
        margin: 0 6px;
    }
}



/* ================================
   FAQ Section
=================================== */

.faq-section {
    padding: 50px 0;
    background-color: var(--light-gray);
    margin-top: 40px;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item[open] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-color);
    cursor: pointer;
    list-style: none; /* Removes the default arrow */
    position: relative;
    outline: none;
    transition: color 0.3s ease;
}

.faq-item summary:hover {
    color: var(--primary-color);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5em;
    font-weight: 300;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(0deg);
}

.faq-content {
    padding: 0 25px 20px 25px;
    background-color: #f9f9f9;
}

.faq-content p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-section h2 {
        font-size: 2em;
    }
    .faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }
    .faq-content {
        padding: 0 20px 15px 20px;
    }
}




/* ===========================
   CTA Block Styling
=========================== */

.cta-block {
    background-color: #f5f7fa;
    border: 1px solid #ddd;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cta-block .cta-content h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-block .cta-content p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.cta-block .cta-content a {
    color: #4f8a8b;
    text-decoration: underline;
}


a.btn.btn-primary {
    color: #fff;
    text-decoration: none;
}

.cta-block .btn {
    display: inline-block;
    margin-top: 20px;
    background-color: #4f8a8b;
    color: #fff;
    padding: 14px 28px;
    font-size: 1em;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.cta-block .btn:hover {
    background-color: #3c6c6d;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-block {
        padding: 25px 20px;
    }

    .cta-block .cta-content h2 {
        font-size: 1.4em;
    }

    .cta-block .btn {
        width: 100%;
        padding: 12px;
        font-size: 1em;
    }
}





.mh-location-search-form {
    margin-bottom: 15px;
}

.mh-location-search-form .filter-options-group {
    max-width: 100%;
}

@media (min-width: 768px) {
    .mh-location-search-form .filter-options-group {
        max-width: 400px;
    }
}


/* ================================
   Filter Bar and Sorting Dropdown
=================================== */

.filter-bar-wrapper {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4f8a8b;
    box-shadow: 0 0 0 3px rgba(79, 138, 139, 0.2);
}

.btn-primary-small,
.btn-secondary-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary-small {
    background-color: #4f8a8b;
    color: #fff;
}

.btn-primary-small:hover {
    background-color: #3b6c6d;
}

.btn-secondary-small {
    background-color: #eee;
    color: #333;
}

.btn-secondary-small:hover {
    background-color: #ddd;
}

.mobile-filter-sort-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    align-items: flex-start;
}

.filter-dropdown {
    position: relative;
    flex: 1;
}

.filter-dropdown-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    color: #4f8a8b;
    list-style: none;
}

.filter-dropdown-summary::-webkit-details-marker {
    display: none;
}

.filter-dropdown[open] .filter-options {
    animation: fadeInDown 0.3s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-options {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-top: 5px;
    width: 100%;
}

.mobile-filter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
	width: 70%;
}

.filter-options-group label {
    font-weight: 600;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 6px;
    display: block;
}

.mobile-filter-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.sort-select-wrapper {
    flex: 1;
    max-width: 200px;
}

.sort-select {
    width: 100%;
    font-weight: 600;
    padding: 12px 15px;
    font-size: 0.95em;
    color: #4f8a8b;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.sort-select:focus {
    border-color: #4f8a8b;
    box-shadow: 0 0 0 3px rgba(79, 138, 139, 0.2);
}

/* Responsive layout for mobile devices */
@media (max-width: 768px) {
	
	
	.form-control {
	
	font-size: 0.8em;

}
	
    .mobile-filter-sort-bar {
        flex-direction: row;
    }

    .sort-select-wrapper {
        width: 100%;
    }

    .mobile-filter-actions {
        flex-direction: column;
    }

    .btn-primary-small,
    .btn-secondary-small {
        width: 100%;
				padding: 5px 7px;
			font-size: 0.8em;
    }

    .results-summary {
        text-align: left;
        margin-top: 20px;
    }
}







/* === General Layout === */
.mh-homepage-template {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    padding-bottom: 60px;
}
.mh-homepage-template .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Hero Section === */
.feature-box {
    background-color: #eef2f5;
    padding: 60px 20px;
    text-align: center;
}
.feature-box .main-title h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.feature-box p {
    font-size: 1.1rem;
    color: #666;
}

/* === Filter Form === */
.filter-form {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 30px;
    border-radius: 6px;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.filter-row select,
.filter-row .btn {
    flex: 1 1 200px;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
}
.filter-row .btn {
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
.filter-row .btn:hover {
    background-color: #005e8a;
}

/* === Section Headings === */
.section-header {
    text-align: center;
    margin: 50px 0 30px;
}
.section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #222;
}

/* === Listings Grid === */
.mh-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* === State Badges === */
.mh-badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}
.mh-state-badge {
    background-color: #4f8a8b;
    color: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.3s;
}
.mh-state-badge:hover {
    background-color: #005e8a;
}

/* === Blog List === */
.mh-blog-list {
    list-style: none;
    padding-left: 0;
    max-width: 700px;
    margin: 0 auto;
}
.mh-blog-list li {
    margin-bottom: 10px;
}
.mh-blog-list a {
    text-decoration: none;
    color: #0073aa;
}
.mh-blog-list a:hover {
    text-decoration: underline;
}

/* === CTA Section === */
.location-cta {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
    margin-top: 40px;
}
.location-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.location-cta p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 20px;
}
.location-cta .btn {
    background-color: #4f8a8b;
    color: #fff;
    padding: 10px 24px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
}
.location-cta .btn:hover {
    background-color: #005e8a;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
    }
    .section-title {
        font-size: 1.5rem;
    }
}






