:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-bg: #212529;
    --light-bg: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.article-card {
    transition: transform 0.2s;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

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

/* Compact list card layout */
.article-card .card-body {
    padding: 1rem 1rem;
}
.article-card .card-title {
    font-size: 1.1rem;
    margin-bottom: .5rem;
}
.article-card .card-text.text-muted {
    margin-bottom: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .col-md-4 img,
.article-card .article-thumb {
    width: 100%;
    height: 180px !important;
    object-fit: cover;
}
@media (max-width: 767.98px) {
    .article-card .col-md-4 img,
    .article-card .article-thumb {
        height: 200px !important;
    }
}

.sidebar-widget {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

footer {
    background-color: var(--dark-bg);
    color: #adb5bd;
    padding: 3rem 0;
    margin-top: 4rem;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}

.content-area {
    min-height: 60vh;
}

.img-skeleton {
    background: linear-gradient(90deg, #edf0f2 0%, #f7f9fb 40%, #edf0f2 80%);
    background-size: 200% 100%;
    animation: imgPulse 1.2s ease-in-out infinite;
}

.img-skeleton.is-loaded {
    background: none;
    animation: none;
}

@keyframes imgPulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
