/* Parcours Articles Shortcode Styles */
.parcours-articles-container {
    width: 100%;
    margin: 2rem 0;
}

.parcours-section {
    margin-bottom: 2rem;
}

.parcours-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.parcours-empty {
    color: var(--gray-text);
    font-style: italic;
    margin-left: 1rem;
}

/* Article Card Styles */
.article-card {
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

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

/* Make the whole card clickable */
.article-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.article-card-container {
    display: flex;
    padding: 1rem;
}

/* Thumbnail Column */
.article-thumbnail-column {
    display: flex;
    flex: 0 0 25%;
    margin-right: 1rem;
}

.article-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 4px;
    aspect-ratio: 2/1;
    object-fit: cover;
}

.article-thumbnail-placeholder {
    width: 100%;
    aspect-ratio: 2/1;
    background-color: var(--gray-bg);
    border-radius: 4px;
}

/* Content Column */
.article-content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-partie {
    font-size: 0.875rem;
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--black);
}

/* Progress text and bar (reusing some styles from article-progress.css) */
.article-progress-text {
    color: var(--gray-text);
    font-size: 12px;
    margin-bottom: 4px;
    margin-top: auto;
}

.article-progress-container {
    height: 4px;
    width: 100%;
    background-color: var(--gray-bg);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.article-progress-bar {
    height: 100%;
    background-color: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.article-progress-bar.complete {
    background-color: var(--green);
}

/* Skeleton Card Styles */
.skeleton-card {
    opacity: 0.8;
}

.skeleton-card .article-title {
    color: var(--gray-text);
}

.blurred-thumbnail-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.blurred-thumbnail {
    filter: blur(10px);
    transform: scale(1.1);
}

.skeleton-text {
    height: 16px;
    width: 50px;
    background-color: var(--gray-bg);
    border-radius: 4px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .article-card-container {
        flex-direction: column;
    }
    
    .article-thumbnail-column {
        display: block;
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    
    .article-thumbnail {
        max-height: 160px;
    }
    
    .article-title {
        font-size: 1.125rem;
    }
}