/* In Yellow Listings Plugin Styles */

.yellow-listings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #2c5aa0;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #666;
    margin: 0 8px;
}

.breadcrumb .current {
    color: #666;
}

/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.page-description {
    font-size: 1.2em;
    color: #666;
}

/* Category Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.category-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-name {
    font-size: 1.3em;
    margin-bottom: 8px;
    color: #2c5aa0;
}

.category-count {
    color: #666;
    font-size: 0.9em;
}

/* Listings Grid */
.listings-grid {
    display: grid;
    gap: 20px;
}

.listing-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.listing-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.listing-title {
    margin-bottom: 10px;
}

.listing-title a {
    color: #2c5aa0;
    text-decoration: none;
}

.listing-title a:hover {
    text-decoration: underline;
}

.listing-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.listing-city {
    color: #888;
}

.listing-link {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.listing-link:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}

.yellow-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-link {
    display: inline-block;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    color: #2c5aa0;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: #f0f0f0;
    border-color: #2c5aa0;
}

.pagination-link.current {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.pagination-link.prev,
.pagination-link.next {
    font-weight: 500;
}

/* Single Listing */
.listing-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.listing-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.listing-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.info-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.category-tag {
    background: #2c5aa0;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.85em;
    transition: background-color 0.3s ease;
}

.category-tag:hover {
    background: #1e3f73;
}

/* Empty States */
.no-categories,
.no-listings {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .yellow-listings-container {
        padding: 15px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .listing-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-title {
        font-size: 2em;
    }
    
    .listing-title {
        font-size: 1.8em;
    }
    
    .yellow-pagination {
        flex-wrap: wrap;
    }
}
