/* News Card Styles */
.news-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

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

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

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

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 60px;
}

.news-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color, #0f4c75);
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 1.2rem;
}

.news-title a:hover {
    color: var(--primary-color, #0f4c75);
}

.news-excerpt {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.read-more-link {
    font-size: 0.9rem;
    margin-top: auto;
}

.read-more-link:hover {
    text-decoration: underline !important;
}

/* Detail Page */
.news-detail-card {
    border: 1px solid rgba(0,0,0,0.03);
}

.news-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.news-body p {
    margin-bottom: 1.5rem;
}

.social-share .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-share .btn:hover {
    background-color: var(--primary-color, #0f4c75);
    color: white;
    transform: translateY(-3px);
}

/* Sidebar */
.sidebar-widget {
    border: 1px solid rgba(0,0,0,0.03);
}

.last-no-border:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hover-primary:hover {
    color: var(--primary-color, #0f4c75) !important;
}

