/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

/* MAIN LAYOUT */

.apt-layout{
display:grid;
grid-template-columns: 45% 55%;
gap:30px;
max-width:1300px;
margin:auto;
padding:40px;
}

/* MAP */

#apt-map{
height:80vh;
background:#e5e5e5;
position:sticky;
top:20px;
border-radius:10px;
}

/* RESULTS AREA */

.apt-results{
overflow:auto;
}

/* APARTMENT CARD */

.apt-card{
display:flex;
gap:20px;
border:1px solid #eee;
border-radius:10px;
padding:20px;
margin-bottom:20px;
background:#fff;
box-shadow:0 2px 6px rgba(0,0,0,0.05);
}

/* PHOTO PLACEHOLDER */

.apt-photo{
width:120px;
height:90px;
background:#ddd;
border-radius:6px;
flex-shrink:0;
}

/* TEXT */

.apt-info h3{
margin:0;
font-size:18px;
}

.apt-address{
font-size:14px;
color:#666;
}

.apt-price{
font-weight:700;
color:#1a8917;
}

/* BUTTON */

.apt-button{
display:inline-block;
margin-top:10px;
padding:8px 14px;
background:#0b5cff;
color:#fff;
border-radius:6px;
text-decoration:none;
font-size:14px;
}

/* FILTER BAR */

.apt-filters{
display:flex;
gap:10px;
margin-bottom:20px;
}

.apt-filters select,
.apt-filters input{
padding:8px;
border:1px solid #ddd;
border-radius:6px;
}

#filter-btn{
background:#0b5cff;
color:#fff;
border:none;
padding:8px 14px;
border-radius:6px;
cursor:pointer;
}

/* PAGINATION */

.apt-pagination{
margin-top:30px;
display:flex;
gap:15px;
}

.apt-pagination a{
background:#0b5cff;
color:white;
padding:8px 14px;
border-radius:6px;
text-decoration:none;
}