@charset "UTF-8";

/*--------------------------------------------------------------
>>> PAGE STYLE (types):
********************************************************************
********************************************************************
********************************************************************
--------------------------------------------------------------*/

/* ===== Button ===== */

.main-btn {
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 100;
    text-decoration: none;
    transition: all 0.3s ease;
	    background: #c9a96e;
    color: #262626;
}

.main-btn:hover {
    background: #d3b47c;
    transform: translateY(-2px);
	   color: #262626;
}

/* SECONDARY BUTTON */
.secondary-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #a88e5e;
    border: 1px solid #a88e5e;
    padding: 10px 30px;
    border-radius: 15px;
    font-weight: 400;
}

.secondary-btn:hover {
    border: 1px solid #c9a96e;
	    color: #c9a96e;
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===== BREADCRUMB ===== */
.breadcrumb{
    font-size:13px;
    margin-bottom:20px;
    color: var(--pi-text-color);
	padding-top: 20px;
}
.breadcrumb a{
    text-decoration:none;
    color: var(--pi-accent);
}
.breadcrumb span{
    opacity:.6;
}

.developers-button {
    text-align: center;
}

/* ===== GRID ===== */
.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,260px);
    gap:20px;
	padding-top: 30px;
	padding-left: 20px;
}

/* ===== CARD ===== */
.project-card{
    display:block;
    background:var(--card);
    border-radius:16px;
    text-decoration:none;
    color:var(--text);
    overflow:hidden;
    box-shadow:0 6px 20px var(--pi-shadow);
    transition:.25s;
}

.project-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 30px var(--pi-shadow);
}

/* IMAGE */
.project-thumb-wrap{ position:relative; }
.project-thumb{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
}


/* PRICE */
.project-price-badge{
    position:absolute;
    top:10px;
    right:10px;
    background:rgba(0,0,0,0.75);
    color:#fff;
    padding:6px 10px;
    font-size:12px;
    border-radius:8px;
}

/* BADGES */
.project-badge{
position:absolute;
font-size:11px;
font-weight:600;
padding:5px 9px;
border-radius:999px;
backdrop-filter:blur(6px);
}

.badge-status{
    top:10px;
    left:10px;
    background:#c9a96e;
    color:#111;
}

.badge-year{
    top:10px;
    left:10px;
    background:rgba(0,0,0,.75);
    color:#fff;
}

.badge-sales{
    bottom:10px;
    left:10px;
    background:var(--pi-block-bg);
    color:var(--pi-title-color);
}


.hm-dark .badge-sales{
background:rgba(20,20,22,.9);
color:#fff;
}

/* INFO */
.project-info{ padding:12px; }
.project-title{ font-size:15px; font-weight:600; }
.project-address{ font-size:12px; color: var(--pi-text-color); }


/* FILTER */
.region-filters{
    margin-bottom:20px;
}

.region-filters select{
    padding:10px 14px;
    border-radius:12px;
    border:1px solid var(--pi-border);
    background: var(--pi-block-bg);
    color: var(--pi-title-color);
}


.region-filters a{
    padding:10px 14px;
    border-radius:10px;
    text-decoration:none;
    background:#c9a96e;
    color:#111;
}


.reset-btn{
    padding:10px 14px;
    background: #c9a96e;
    color:#282828;
    border-radius:10px;
    text-decoration:none;
}

/* PAGINATION */
.region-pagination{
    margin-top:30px;
    text-align:center;
}
.region-pagination a,
.region-pagination span{
    padding:8px 14px;
    margin:2px;
    border-radius:10px;
    border:1px solid var(--pi-border);
    text-decoration:none;
    color: var(--pi-title-color);
}
.region-pagination .current{
    background: var(--pi-accent);
    color:#fff;
}

/* CONTENT */
.page-content{
    margin-top:40px;
    color: var(--pi-text-color);
}
.page-content a{
    color: var(--pi-accent);
}


/*--------------------------------------------------------------
>>> ALL CITIES:
********************************************************************
********************************************************************
********************************************************************
--------------------------------------------------------------*/
.projects-grid,
.project-card,
.region-filters,
.region-pagination {
    color: var(--pi-title-color);
}


/* ===== BREADCRUMB ===== */
.breadcrumb{
    font-size:13px;
    margin-bottom:20px;
    color: var(--pi-text-color);
}
.breadcrumb a{
    text-decoration:none;
    color: var(--pi-accent);
}

/* ===== SECTION ===== */
.province-section{
    margin-bottom:40px;
}

/* PROVINCE TITLE */
.province-title{
    font-size:22px;
    font-weight:600;
    margin-bottom:15px;
    color: var(--pi-title-color);
}

/* GRID 4 COLUMNS */
.cities-grid-all{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
}

/* RESPONSIVE */
@media(max-width:1000px){
    .cities-grid{ grid-template-columns:repeat(3,1fr); }
}
@media(max-width:700px){
    .cities-grid{ grid-template-columns:repeat(2,1fr); }
}
@media(max-width:500px){
    .cities-grid{ grid-template-columns:1fr; }
}


/* TITLE */
.city-title{
    font-size:14px;
    font-weight:500;
}

/* COUNT */
.city-count{
    font-size:12px;
    opacity:.7;
}


/* CARD */
.city-card-single{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 14px;
    border-radius:12px;
    background: var(--pi-block-bg);
    text-decoration:none;
    color: var(--pi-title-color);
    box-shadow:0 4px 12px var(--pi-shadow);
    transition:.2s;
}

.city-card-single:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 22px var(--pi-shadow);
}

/*--------------------------------------------------------------
>>> CITY:
********************************************************************
********************************************************************
********************************************************************
--------------------------------------------------------------*/

.leaflet-popup-content{
    margin:0;
}

.map-popup{
    display:block;
    width:220px;
    text-decoration:none;
    color:#111;
    font-family:inherit;
}

/* IMAGE */
.popup-thumb{
    width:100%;
    height:120px;
    background-size:cover;
    background-position:center;
    border-radius:10px 10px 0 0;
}

/* CONTENT */
.popup-content{
    padding:10px 12px;
    background:#fff;
    border-radius:0 0 10px 10px;
}

/* TITLE */
.popup-title{
    font-weight:600;
    font-size:14px;
    margin-bottom:4px;
}

/* ADDRESS */
.popup-address{
    font-size:12px;
    color:#666;
}


/* LAYOUT */

.project-price{
font-size:12px;
margin-top:4px;
font-weight:600;
opacity:.85;
}

.region-wrapper{
display:flex;
flex-direction:column;
background:var(--bg);
color:var(--text);
width:100%;
}

.region-toolbar{
display:flex;
gap:10px;
padding:16px;
border-bottom:1px solid var(--border);
}

.region-toolbar button{
padding:10px 16px;
border-radius:12px;
border:1px solid var(--border);
background:var(--card);
cursor:pointer;
font-weight:600;
color:var(--text); /* FIX */
}

.region-content{
flex:1;
display:grid;
grid-template-columns:1.5fr 1fr;
overflow:visible;
}


/* GRID ONLY VIEW */

.view-grid .projects-grid{
grid-template-columns:repeat(5,1fr);
padding: 30px;
}

@media (min-width:1700px){
.view-grid .projects-grid{
grid-template-columns:repeat(6,1fr);
}
}

@media (max-width:1400px){
.view-grid .projects-grid{
grid-template-columns:repeat(4,1fr);
}
}

@media (max-width:1000px){
.view-grid .projects-grid{
grid-template-columns:repeat(3,1fr);
}
}

@media (max-width:700px){
.view-grid .projects-grid{
grid-template-columns:repeat(2,1fr);
}
}

.custom-dot-marker {
    background: transparent;
    border: none;
}

.custom-dot-marker .dot {
    width: 14px;
    height: 14px;
    background: #2563eb; /* nice blue */
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

/* Hover effect */
.custom-dot-marker:hover .dot {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.35);
}

/* Active (when card hover triggers it) */
.custom-dot-marker.active .dot {
    transform: scale(1.5);
    background: #111;
    box-shadow: 0 0 0 6px rgba(0,0,0,0.25);
}

.custom-dot-marker {
    transition: transform 0.2s ease;
}

.custom-dot-marker.hovered {
    transform: scale(1.3);
    z-index: 1000;
}

.custom-dot-marker.hovered .dot {
    transform: scale(1.4);
    background: #111;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}

/* IMAGE WRAPPER (FIX) */

.project-thumb-wrap{
position:relative;
}

.project-thumb{
width:100%;
aspect-ratio:4/3;
object-fit:cover;
display:block;
}


/* MAP */

.map-wrap{
height:100%;
}

#region-map{
height:100%;
}

/* VIEW STATES */

.view-grid .region-content{
grid-template-columns:1fr;
}

.view-grid .map-wrap{
display:none;
}

.view-map .projects-grid{
display:none;
}

.view-map .region-content{
grid-template-columns:1fr;
}


/* MOBILE */

@media(max-width:800px){

.region-toolbar button[data-view="map"]{
display:none;
}

.region-content{
display:block;
}

.map-wrap{
height:350px;
order:1;
}

.projects-grid{
order:2;
grid-template-columns:repeat(2,1fr);
}

}

/* DARK MODE */

:root{
--bg:#ffffff;
--text:#111;
--border:#e6e6e6;
--card:#fff;
}

.hm-dark{
--bg:#0f0f10;
--text:#e6e6e6;
--border:#2b2b2b;
--card:#1b1b1d;
}
	
	/* LISTINGS FOUND COUNTER */
.listings-found {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 12px;
    display: inline-block;
    background: rgba(0,0,0,0.05);
    color: var(--text);
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

/* Dark mode */
.hm-dark .listings-found {
    background: rgba(255,255,255,0.08);
    color: var(--text);
}
	
.region-pagination{
padding:30px 20px;
border-top:1px solid var(--border);
text-align:center;
display:flex;
flex-direction:column;
gap:10px;
align-items:center;
}

.pagination-links ul{
display:flex;
gap:6px;
padding:0;
margin:0;
list-style:none;
flex-wrap:wrap;
justify-content:center;
}

.pagination-links li a,
.pagination-links li span{
display:inline-block;
padding:8px 14px;
border-radius:10px;
border:1px solid var(--border);
text-decoration:none;
color:var(--text);
font-size:14px;
transition:.2s;
}

.pagination-links li a:hover{
background:var(--card);
transform:translateY(-1px);
}

	
	.pagination-links li a{
transition:all .25s ease;
}

.pagination-links li a:hover{
transform:translateY(-2px);
box-shadow:0 6px 14px rgba(0,0,0,0.12);
}
	
.pagination-links .current{
background:var(--text);
color:var(--bg);
border-color:var(--text);
}

.pagination-info{
font-size:13px;
opacity:.75;
}


/* DOT */
.marker-dot {
    width: 14px;
    height: 14px;
    background: #2563eb;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

/* CARD */
.marker-card {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: 180px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

/* IMAGE */
.marker-thumb {
    height: 100px;
    background-size: cover;
    background-position: center;
}

/* TEXT */
.marker-info {
    padding: 8px 10px;
}

.marker-title {
    font-size: 13px;
    font-weight: 600;
}

.marker-address {
    font-size: 11px;
    opacity: 0.7;
}

/* HOVER STATE */
.custom-marker:hover .marker-dot {
    transform: scale(1.3);
    background: #111;
}

.custom-marker:hover .marker-card {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}



.region-filters{
    padding:15px 20px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    background:var(--card);
    border-bottom:1px solid var(--border);
    gap:10px;
}

.filters-wrapper select,
.filters-wrapper button{
    padding:8px 12px;
    border-radius:8px;
    border:1px solid var(--border);
    background:var(--bg);
    color:var(--text);
    font-size:14px;
    cursor:pointer;
    transition:.25s;
}

.filters-wrapper select:hover,
.filters-wrapper button:hover{
    border-color:#888;
}

.filters-wrapper button{
    background:#333333;
    color:#fff;
    font-weight:600;
    border:none;
}

.listings-found{
    font-weight:600;
    font-size:14px;
    opacity:.85;
}

/* Dark mode */
.hm-dark .region-filters{
    background:var(--card);
    border-color:var(--border);
}
.hm-dark .filters-wrapper select{
    background:var(--bg);
    color:var(--text);
}
.hm-dark .filters-wrapper button{
    background:#22c55e;
    color:#fff;
}
.hm-dark .listings-found{
    color:var(--text);
}
	
#region-no-projects{
display:none;
grid-column:1 / -1;
text-align:center;
padding:60px 20px;
border:1px dashed var(--border);
border-radius:14px;
background:var(--card);
}

#region-no-projects p{
font-size:18px;
margin-bottom:14px;
font-weight:600;
}

#region-no-projects button{
padding:10px 16px;
border-radius:10px;
border:none;
background:#2563eb;
color:#fff;
font-weight:600;
cursor:pointer;
}

.projects-searchbar {
    flex: 0 0 50%; /* left side 50% width */
    max-width: 50%;
}

.sort-wrapper {
    margin-left: auto; /* pushes to the right */
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile view: stack search and sort */
@media(max-width:800px){
    .projects-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .projects-searchbar {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .sort-wrapper {
        justify-content: flex-start;
    }
}
/* Dark mode */
.hm-dark .projects-topbar{
    background:var(--card);
    border-color:var(--border);
}

.hm-dark #sort-projects{
    background:var(--bg);
    color:var(--text);
}
	
	
.projects-wrapper {
    display: flex;
    flex-direction: column; /* topbar above grid */
    flex: 1;
    overflow: hidden;
	 max-height: 100vh;
    overflow-y: auto;
}

.projects-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 15px;
    gap: 10px;
}

.sort-wrapper select {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
}
	
/* Hide sort bar and projects grid in map-only view */
.view-map .projects-topbar,
.view-map .projects-wrapper {
    display: none !important;
}

/* Make map fill the whole content area */
.view-map .map-wrap {
    width: 100%;
    height: 100%;
	    position: relative;   /* 🔥 disable sticky */
    height: 80vh;        /* full screen */
}



.map-wrap {
    position: sticky;
    top: 0;
    height: 100vh;
}
	
	.projects-searchbar {
    position: relative;
    margin-bottom: 12px;
    width: 100%;
}

#search-projects {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

#search-projects:focus {
    border-color: #2563eb;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    border-radius: 0 0 12px 12px;
    z-index: 100;
    display: none;
}

.search-suggestions div {
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-suggestions div:hover {
    background: rgba(0,0,0,0.05);
}

.hm-dark .search-suggestions div:hover {
    background: rgba(255,255,255,0.08);
}

		.region-editor{
    padding: 20px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 15px;
    color: var(--text);
}

.region-editor h1,
.region-editor h2,
.region-editor h3{
    margin-top: 20px;
    margin-bottom: 10px;
}

.region-editor p{
    margin-bottom: 12px;
}	


/* STATUS COLORS */

.status-coming{
background:#ffc107 !important;
color:#111 !important;
}

.status-selling{
background:#22c55e !important;
color:#fff !important;
}

.status-sold{
background:#dc2626 !important;
color:#fff !important;
}




/*--------------------------------------------------------------
>>> HOME PAGE: HERO TOP
********************************************************************
********************************************************************
********************************************************************
--------------------------------------------------------------*/


	
	/* HERO SECTION */
.home-hero {
    position: relative;
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BACKGROUND IMAGE */
.home-hero .hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://preconrater.ca/wp-content/uploads/header-main.jpg') center/cover no-repeat;
    z-index: 1;
    transform: scale(1.05);
}

/* DARK GRADIENT OVERLAY */
.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.65) 100%
    );
    z-index: 2;
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    color: #fff;
    animation: fadeUp 1s ease;
}

/* TITLE */
.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
	    color: #fff;
}

/* SUBTITLE */
.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* BUTTONS */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* PRIMARY BUTTON */
.hero-btn.primary {
    background: #c9a96e;
    color: #262626;
}

.hero-btn.primary:hover {
    background: #d3b47c;
    transform: translateY(-2px);
}

/* SECONDARY BUTTON */
.hero-btn.secondary {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}

.hero-btn.secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .home-hero {
        height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}



/*--------------------------------------------------------------
>>> HOME PAGE: TYPES
********************************************************************
********************************************************************
********************************************************************
--------------------------------------------------------------*/






			.home-types {
    padding: 80px 20px;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 50px;
}

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

/* CARD */
.type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
    border-radius: 20px;

    background: #ffffff;
    text-decoration: none;
    color: #111;

    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* ICON */
.type-card .icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #c9a96e;
}

/* TITLE */
.type-card h3 {
    font-size: 20px;
    font-weight: 500;
}

/* HOVER */
.type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media(max-width: 900px){
    .types-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px){
    .types-grid {
        grid-template-columns: 1fr;
    }
}




/*--------------------------------------------------------------
>>> HOME PAGE: FEATURED and COMING SOON
********************************************************************
********************************************************************
********************************************************************
--------------------------------------------------------------*/





.badge-price {
    top: 12px;
    right: 12px;

    background: rgba(255,255,255,0.9);
    color: #111;
    font-weight: 500;

    backdrop-filter: blur(10px);
}
					
.featured-projects {
    padding: 80px 20px;
						width: 100%;
}

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 50px;
    letter-spacing: -0.3px;
}
					
					
.featured-address {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    line-height: 1.4;
	width: 100%;
}
					
/* GRID */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.featured-card {
    display: block;
    text-decoration: none;
    color: #111;

    border-radius: 22px;
    overflow: hidden;

    background: #fff;

    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* IMAGE */
.featured-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* BADGES */
.badge {
    position: absolute;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.5);
    color: #fff;
}



/* INFO */
.featured-info {
    padding: 20px;
}

.featured-city {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
}

.featured-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

/* HOVER */
.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.featured-card:hover img {
    transform: scale(1.05);
}

/* RESPONSIVE */
@media(max-width: 900px){
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px){
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

			.coming-projects {
    padding: 80px 20px;
}

/* Optional: highlight Coming Soon badge */
.status-coming {
    color: #fff;
}



/*--------------------------------------------------------------
>>> HOME PAGE: Cities list
********************************************************************
********************************************************************
********************************************************************
--------------------------------------------------------------*/




				.featured-cities {
    padding: 80px 20px;
width: 100%;
    text-align: center;
}

.featured-cities .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #111;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
	justify-items: center;
}

.featured-cities {
    padding: 80px 20px;
    width: 100%;
    text-align: center;
}

.featured-cities .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--pi-title-color);
}

/* GRID */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 240px); /* FIXED WIDTH */
    gap: 30px;
    justify-content: center; /* center grid nicely */
}

/* CARD */
.city-card {
    width: 100%; /* force equal width */
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: var(--pi-block-bg);
    text-decoration: none;
    color: var(--pi-title-color);
    box-shadow: 0 8px 24px var(--pi-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px var(--pi-shadow);
}

/* IMAGE WRAPPER (important!) */
.city-thumb {
    width: 100%;
    height: 180px; /* FIXED HEIGHT */
    background: #eaeaea; /* fallback if no image */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGE */
.city-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO */
.city-info {
    padding: 16px 12px;
}

.city-title {
    font-size: 1.1rem;
    font-weight: 600;
}




/*--------------------------------------------------------------
>>> HOME PAGE: Articles
********************************************************************
********************************************************************
********************************************************************
--------------------------------------------------------------*/



				.home-articles {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
	width: 100%;
   border-radius: 20px;

}

.home-articles .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #111;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;

}


.home-articles {
    padding: 80px 20px;

    text-align: center;

}

.home-articles .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #111;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
    margin-bottom: 30px;
}

.article-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
			  width: 350px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.article-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-info {
    padding: 16px 12px;
    text-align: left;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}

.article-meta {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    gap: 12px;
    align-items: center;
}

.article-meta i.material-icons {
    font-size: 1rem;
    vertical-align: middle;
    margin-right: 4px;
    color: #888;
}

/* Read All Articles Button */
.articles-button {
    margin-top: 20px;
}




/*--------------------------------------------------------------
>>> HOME PAGE: Builders
********************************************************************
********************************************************************
********************************************************************
--------------------------------------------------------------*/
	.home-builders {
    padding: 80px 40px;
		width: 100%;
}

.home-builders .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #111;
    text-align: center;
}

.builders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
	padding-bottom: 30px;
}

.builder-card-horizontal {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.builder-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.builder-card-horizontal .builder-thumb {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.builder-card-horizontal .builder-thumb img {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.builder-card-horizontal .builder-info {
    flex: 1 1 70%;
}

.builder-card-horizontal .builder-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.builder-card-horizontal .builder-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.5;
}

.builder-card-horizontal .builder-button {
    display: inline-block;
    padding: 8px 18px;
    background: var(--accent); /* modern accent */
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.builder-card-horizontal .builder-button:hover {
    background: #005bb5;
}

@media (max-width: 768px) {
    .builder-card-horizontal {
        flex-direction: column;
        text-align: center;
    }
    .builder-card-horizontal .builder-thumb {
        margin-right: 0;
        margin-bottom: 12px;
    }
    .builder-card-horizontal .builder-info {
        flex: unset;
    }
}