/* Styles for resources/views/resources/views/frontend/news/index.blade.php — moved out of the view's inline <style> blocks. */

/* News Section Styles */
.news-header {
    background-color: #f8f9fa;
    border-bottom: 3px solid var(--bs-accent);
    position: relative;
    padding: 2.5rem 0;
}

.news-header:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--bs-primary);
}

.news-title {
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.news-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.07);
    margin-bottom: 25px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--bs-accent);
}

.news-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(145deg, var(--bs-accent), #e0b218);
    color: var(--bs-primary);
    padding: 5px 10px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.news-content {
    padding: 20px;
}

.news-category {
    font-size: 0.85rem;
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
}

.news-title-link {
    color: var(--bs-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.news-title-link:hover {
    color: #0092bd;
}

.news-excerpt {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more-btn {
    /* inline-flex/cursor/no-underline came from Bootstrap's .btn, which this
       anchor no longer carries; everything else was already declared here. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    background-color: transparent;
    color: var(--bs-primary);
    border: 2px solid var(--bs-primary);
    border-radius: 50px;
    padding: 6px 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: linear-gradient(145deg, var(--bs-accent), #e0b218);
    color: var(--bs-primary);
    border-color: var(--bs-accent);
}

/* Search form removed */

.no-news-container {
    padding: 50px 0;
    text-align: center;
}

.no-news-icon {
    font-size: 3rem;
    color: var(--bs-accent);
    margin-bottom: 15px;
}
