/* Professional News Section Styles - Website Theme Colors */
.news-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0.5rem 0;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.news-section-header {
    margin-bottom: 2rem;
    position: relative;
}

.news-section-header h2 {
    color: #000000;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.news-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
}

.btn-show-all {
    background: linear-gradient(45deg, #008fc8, #0066a3);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(0, 143, 200, 0.2);
}

.btn-show-all:hover {
    background: linear-gradient(45deg, #0066a3, #008fc8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 143, 200, 0.3);
}

.news-grid {
    margin-top: 1rem;
}

.news-card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.08);
    height: 100%;
    position: relative;
    cursor: pointer;
    margin-bottom: 1rem;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.15);
}

.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

.news-card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
}

.news-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: linear-gradient(45deg, #ff50a8, #ff6b6b);
    color: white;
}

.badge-category {
    background: linear-gradient(45deg, #008fc8, #0066a3);
    color: white;
}

.news-card-excerpt {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4rem;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.news-read-more {
    background: linear-gradient(45deg, #ff50a8, #ff6b6b);
    border: none;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: auto;
    width: fit-content;
}

.news-card:hover .news-read-more {
    background: linear-gradient(45deg, #ff6b6b, #ff50a8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 80, 168, 0.3);
}

.news-read-more.disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.no-news-message {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 2px dashed rgba(255, 107, 107, 0.3);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    color: #6c757d;
}

.no-news-icon {
    font-size: 4rem;
    color: rgba(255, 107, 107, 0.3);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .news-section {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .news-section-header h2 {
        font-size: 1.5rem;
    }
    
    .news-card-title {
        font-size: 1rem;
        min-height: 2.5rem;
    }
    
    .news-card-img,
    .news-card-img-placeholder {
        height: 180px;
    }
    
    .news-card-excerpt {
        min-height: 3rem;
    }
    
    .btn-show-all {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .news-section-header .d-flex {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start !important;
    }
    
    .btn-show-all {
        align-self: flex-end;
    }
}
