/**
 * Property News Feed Styles
 */

.property-news-header {
    border-bottom: 2px solid var(--gold, #FFD700);
    padding-bottom: 0.75rem;
}

.property-news-list {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.property-news-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent !important;
}

.property-news-item:hover {
    transform: translateX(5px);
    border-left-color: var(--gold, #FFD700) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.property-news-item .card-body {
    transition: background-color 0.3s ease;
}

.property-news-item:hover .card-body {
    background-color: rgba(255, 215, 0, 0.05);
}

/* Featured News Styling */
.featured-news {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.03) 100%) !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15) !important;
}

.featured-news:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25) !important;
}

.featured-title a {
    transition: all 0.3s ease;
}

.featured-title a:hover {
    color: var(--gold) !important;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.news-thumbnail {
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-news-item:hover .news-thumbnail {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.news-thumbnail-placeholder {
    flex-shrink: 0;
}

.property-news-item h6 a:hover {
    color: var(--gold, #FFD700) !important;
}

/* Scrollbar styling */
.property-news-list::-webkit-scrollbar {
    width: 6px;
}

.property-news-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.property-news-list::-webkit-scrollbar-thumb {
    background: var(--gold, #FFD700);
    border-radius: 10px;
}

.property-news-list::-webkit-scrollbar-thumb:hover {
    background: #B8860B;
}

/* Loading state */
.property-news-loading {
    text-align: center;
    padding: 2rem;
}

.property-news-loading .spinner-border {
    color: var(--gold, #FFD700);
}

/* Empty state */
.property-news-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .property-news-item {
        margin-bottom: 1rem;
    }
    
    .news-thumbnail,
    .news-thumbnail-placeholder {
        width: 60px !important;
        height: 60px !important;
    }
    
    .property-news-item h6 {
        font-size: 0.9rem;
    }
}


