﻿.list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item
{
    display: flex;
    align-items: center;
    background-color: Snow;
    padding: 0.75rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.list-item:hover {
    background: #f5f5f5;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 1rem;
}

.content {
    flex: 1;
}

.content-titre
{
    font-weight:bold;
    padding-bottom:5px;
}

.content-description
{
    font-size:13px;
}

.meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.85rem;
    color: #666;
    margin-left: 0.5rem;
}

.chevron {
    font-size: 1.5rem;
    line-height: 1;
}

.ontop-slider
{
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.ontop-card
{
    flex: 0 0 300px; /* largeur fixe */
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    scroll-snap-align: start;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.ontop-card a
{
    display: block;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
}

.ontop-text
{
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    padding: 10px;
    border-radius: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
