/* list.css - supplement styles for list/info pages (based on moban)
 * Pure ASCII comments for encoding safety
 */

/* ---- breadcrumb override ---- */
.lt-breadcrumb .breadcrumb-content {
    background: #2d3e50;
    padding: 30px 0;
}
.lt-breadcrumb .breadcrumb-content h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}
.lt-breadcrumb .breadcrumb-item a {
    color: #ccc;
}
.lt-breadcrumb .breadcrumb-item.active {
    color: #e74c3c;
}
.lt-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #999;
}

/* ---- filter form ---- */
.lt-filter-form {
    background: #fff;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.lt-filter-form .form-group {
    margin-bottom: 0;
}
.lt-filter-form .form-control {
    border-radius: 4px;
    height: 40px;
}
.lt-filter-form .btn-primary {
    height: 40px;
    border-radius: 4px;
}

/* ---- property card ---- */
.property {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: box-shadow .2s, transform .2s;
}
.property:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.property .thumb {
    position: relative;
    overflow: hidden;
}
.property .thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .3s;
}
.property:hover .thumb img {
    transform: scale(1.05);
}
.property .thumb .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.property .property-status a {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 3px 12px;
    border-radius: 3px;
    font-size: 12px;
    text-decoration: none;
}
.property .icons .global-list li a {
    color: #fff;
    font-size: 16px;
}
.property .map-location {
    color: #ddd;
    font-size: 12px;
}
.property .map-icon {
    color: #e74c3c;
    margin-right: 5px;
}
.property-info {
    padding: 15px;
}
.property-info h2 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
    line-height: 1.4;
}
.property-info h2 a {
    color: #333;
    text-decoration: none;
}
.property-info h2 a:hover {
    color: #e74c3c;
}
.property-footer .author {
    color: #999;
    font-size: 13px;
}
.property-footer .price h3,
.property-footer .price .btn {
    margin: 0;
}

/* ---- pagination ---- */
.tl-pagination .pagination {
    justify-content: center;
}
.tl-pagination .page-item .page-link {
    color: #555;
    border: 1px solid #ddd;
}
.tl-pagination .page-item.active .page-link {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}
.tl-pagination .page-item .page-link:hover {
    background: #f5f5f5;
}

/* ---- sidebar ---- */
.widget {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.widget_title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding-bottom: 12px;
    border-bottom: 2px solid #e74c3c;
    margin-bottom: 15px;
}
.tl-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tl-sidebar-list li.media {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.tl-sidebar-list li.media:last-child {
    border-bottom: none;
}
.tl-sidebar-list .entry-thumbnail img {
    width: 70px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}
.tl-sidebar-list .media-body a {
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}
.tl-sidebar-list .media-body a:hover {
    color: #e74c3c;
}
.tl-sidebar-list .map-location {
    font-size: 12px;
    color: #999;
}
.tl-sidebar-list .map-icon {
    color: #e74c3c;
    margin-right: 3px;
}

/* ---- detail page ---- */
.property-details .property {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.property-details .property-info h2 {
    font-size: 22px;
    font-weight: 700;
}
.property-details .lt-price span {
    font-size: 13px;
    color: #999;
}
.property-details .lt-price h3 {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}
.sub-section {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sub-section .title h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding-bottom: 12px;
    border-bottom: 2px solid #e74c3c;
    margin-bottom: 15px;
}

/* detail gallery */
.tl-detail-main-img img {
    width: 100%;
    border-radius: 6px;
}
.tl-detail-thumb-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tl-thumb-item {
    display: block;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color .2s;
}
.tl-thumb-item:hover,
.tl-thumb-item.active {
    border-color: #e74c3c;
}
.tl-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* features list */
.features-list .global-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
}
.features-list .global-list li:last-child {
    border-bottom: none;
}
.features-list .global-list li span:first-child {
    color: #666;
    font-weight: 500;
}
.features-list .global-list li span:last-child {
    color: #333;
}

/* detail content */
.tl-detail-content {
    line-height: 1.8;
    color: #555;
    font-size: 14px;
}
.tl-detail-content img {
    max-width: 100%;
    height: auto;
}

/* detail map */
.tl-detail-map iframe {
    border-radius: 6px;
}

/* contact card */
.tl-contact-card {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
}
.tl-contact-card .tl-contact-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}
.tl-contact-card .tl-contact-list li:last-child {
    border-bottom: none;
}
.tl-contact-card .red {
    color: #e74c3c;
    font-weight: 600;
}
.tl-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 12px;
    color: #856404;
    text-align: center;
}

/* related categories tags */
.tl-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}
.tl-cat-tags li a {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 20px;
    color: #555;
    font-size: 12px;
    text-decoration: none;
    transition: all .2s;
}
.tl-cat-tags li a:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* ---- widget_property ---- */
.widget_property ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget_property ul li.media {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.widget_property ul li.media:last-child {
    border-bottom: none;
}
.widget_property .entry-thumbnail img {
    width: 70px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}
.widget_property .media-body a {
    color: #333;
    font-size: 13px;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}
.widget_property .media-body a:hover {
    color: #e74c3c;
}
.widget_property .map-location {
    font-size: 12px;
    color: #999;
}

/* ---- responsive ---- */
@media (max-width: 768px) {
    .lt-breadcrumb .breadcrumb-content {
        padding: 20px 0;
    }
    .lt-breadcrumb .breadcrumb-content h1 {
        font-size: 18px;
    }
    .property .thumb img {
        height: 160px;
    }
    .property-details .property-info h2 {
        font-size: 18px;
    }
    .tl-detail-thumb-list {
        gap: 6px;
    }
    .tl-thumb-item {
        width: 60px;
        height: 45px;
    }
}
