.properties-index-page {
    color: #263238;
}

.properties-index-hero {
    padding: 4rem 0 3rem;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0)),
        #f8f9fa;
}

.properties-index-hero h1 {
    max-width: 52rem;
    font-size: 3.2rem;
    line-height: 1.15;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.properties-index-hero .lead {
    max-width: 52rem;
    margin-top: 1.25rem;
    color: #455a64;
}

.properties-index-eyebrow,
.properties-index-summary-label {
    margin-bottom: 0.75rem;
    color: #b65f00;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.properties-index-actions,
.properties-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.properties-index-actions {
    margin-top: 1.5rem;
}

.properties-index-summary,
.properties-filter-panel,
.property-listing-card,
.properties-empty-state {
    border: 1px solid rgba(38, 50, 56, 0.12);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0.75rem 2rem rgba(38, 50, 56, 0.08);
}

.properties-index-summary {
    overflow: hidden;
}

.properties-index-summary img {
    display: block;
    width: 100%;
    height: 13.5rem;
    object-fit: cover;
    object-position: center;
}

.properties-index-summary-copy,
.properties-filter-panel,
.property-listing-body,
.property-listing-footer,
.properties-empty-state {
    padding: 1.25rem;
}

.properties-index-total {
    margin-bottom: 0.4rem;
    color: #05223a;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.properties-index-summary-copy p:not(.properties-index-summary-label):not(.properties-index-total) {
    color: #607d8b;
    line-height: 1.55;
}

.properties-index-section {
    padding: 3rem 0;
}

.properties-filter-panel {
    display: grid;
    gap: 1.2rem;
}

.properties-filter-heading,
.properties-results-heading {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.properties-filter-heading span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    background-color: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: 0.9rem;
    font-weight: 700;
}

.properties-filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.properties-filter-grid > div {
    grid-column: span 2;
}

.properties-filter-grid .form-label {
    font-weight: 700;
}

.properties-filter-grid .form-control,
.properties-filter-grid .form-select {
    border-color: rgba(38, 50, 56, 0.18);
}

.property-listing-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    color: #263238;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.property-listing-card:hover,
.property-listing-card:focus-within {
    border-color: rgba(5, 82, 168, 0.35);
    box-shadow: 0 1rem 2rem rgba(38, 50, 56, 0.12);
    transform: translateY(-2px);
}

.property-listing-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #eef3f6;
    color: #607d8b;
    text-decoration: none;
}

.property-listing-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 200ms ease;
}

.property-listing-card:hover .property-listing-media img,
.property-listing-card:focus-within .property-listing-media img {
    transform: scale(1.03);
}

.property-listing-placeholder {
    display: flex;
    height: 100%;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    color: #607d8b;
    font-weight: 700;
}

.property-listing-placeholder i {
    color: #0f766e;
}

.property-listing-type {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background-color: rgba(5, 34, 58, 0.9);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
}

.property-listing-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.property-listing-location {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 0.6rem;
    color: #607d8b;
    font-size: 0.9rem;
    font-weight: 700;
}

.property-listing-location i {
    color: #0f766e;
}

.property-listing-title {
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
    line-height: 1.35;
}

.property-listing-title a {
    color: #263238;
    text-decoration: none;
}

.property-listing-title a:hover,
.property-listing-title a:focus {
    color: #0552a8;
}

.property-listing-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 1rem;
    color: #607d8b;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.property-listing-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: auto;
}

.property-listing-specs span {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.55rem;
    border-radius: 7px;
    background-color: #f8fafb;
    color: #455a64;
    font-size: 0.88rem;
    font-weight: 700;
}

.property-listing-specs i {
    color: #0552a8;
}

.property-listing-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(38, 50, 56, 0.1);
}

.property-listing-price {
    margin-bottom: 0;
    color: #05223a;
    font-size: 1.2rem;
    font-weight: 800;
}

.property-listing-footer small {
    color: #607d8b;
}

.properties-empty-state {
    display: grid;
    justify-items: start;
    gap: 0.85rem;
}

.properties-empty-state > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background-color: rgba(15, 118, 110, 0.1);
    color: #0f766e;
}

.properties-empty-state p {
    max-width: 42rem;
    margin-bottom: 0;
    color: #607d8b;
}

.properties-pagination {
    margin-top: 2rem;
}

@media (max-width: 991.98px) {
    .properties-index-summary img {
        height: 16rem;
    }

    .properties-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .properties-filter-grid > div {
        grid-column: span 1;
    }
}

@media (max-width: 767.98px) {
    .properties-index-hero {
        padding: 3rem 0 2rem;
    }

    .properties-index-hero h1 {
        font-size: 2rem;
    }

    .properties-index-section {
        padding: 2rem 0;
    }

    .properties-filter-heading,
    .properties-results-heading,
    .property-listing-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .properties-filter-grid,
    .property-listing-specs {
        grid-template-columns: 1fr;
    }
}
