/* Articles Section Styles */
.articles-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.article-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

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

.article-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-image {
    transform: scale(1.1);
}

.article-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 12px;
    display: block;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #2d3436;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--primary-color);
}

.article-excerpt {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f1f2f6;
    margin-top: auto;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3436;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* Skeleton Loaders */
.skeleton-article {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
}

.skeleton-image {
    height: 240px;
    background: #e9ecef;
}

.skeleton-text {
    height: 20px;
    background: #e9ecef;
    margin: 10px 0;
    border-radius: 4px;
}

.skeleton-title {
    height: 30px;
    width: 80%;
}

.skeleton-excerpt {
    height: 60px;
}
