/* News Page Styles */

.section-padding {
    padding: 80px 0;
}

.news-card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.news-img-hover {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-hover:hover .news-img-hover {
    transform: scale(1.1);
}

.hover-text-primary:hover {
    color: var(--bs-primary) !important;
}

.object-fit-cover {
    object-fit: cover;
}

.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.bg-primary-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-primary-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-custom {
    border: 2px solid #667eea;
    color: #667eea;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-outline-custom:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.badge.bg-primary-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* News specific classes */
.news-badge {
    border-radius: 4px;
}

.news-form-control {
    border-radius: 4px;
}

.news-divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color, #667eea);
}

.news-lead-text {
    max-width: 700px;
}

.news-image-container {
    height: 250px;
}

.news-excerpt {
    font-size: 0.95rem;
}

.news-tag-font {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}