/* CSS Original pour desktop */
.podcast {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all .5s;
}
.podcast::after {
    content: '';
    display: block;
    width: 100%;
    height: calc(100% - 150px);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 0 20px 20px;
    border: 1px solid var(--color-gris);
    border-top: none;
    z-index: -1;
}
.podcast .description {
    padding: 0.5rem 1.5rem;
}
.podcast .description h3 a {
    color: var(--color-gris);
    font-weight: 700;
    font-family: "Source Sans Pro";
    font-size: 1.125rem;
    text-decoration: none;
}
.podcast .description h3 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.podcast .description p {
    font-weight: 400;
    font-family: "Source Sans Pro";
    font-size: 14px;
    margin: 0
}
.podcast .actualité_photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.podcast:hover{
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.70);
}
.podcast:hover::after {
    border-color: var(--color-rouge);
}
.podcast:hover .description h3 a,
.podcast:hover .description p {
    color: var(--color-rouge);
}
.podcast:hover .actualité_photo {
    transform: scale(1.1);
}

/* ================================
   BREAKPOINTS RESPONSIVE
   ================================ */

/* Breakpoint 1440px et moins */
@media (max-width: 1440px) {
    .podcast {
        border-radius: 18px;
    }
    
    .podcast::after {
        height: calc(100% - 160px);
        border-radius: 0 0 18px 18px;
    }
    
    .podcast .description {
        padding: 0.45rem 1.25rem;
    }
    
    .podcast .description h3 a {
        font-size: 1.1rem;
    }
    
    .podcast .description p {
        font-size: 13px;
    }
}

/* Breakpoint 1200px et moins */
@media (max-width: 1200px) {
    .podcast {
        border-radius: 16px;
    }
    
    .podcast::after {
        height: calc(100% - 130px);
        border-radius: 0 0 16px 16px;
    }
    
    .podcast .description {
        padding: 0.4rem 1rem;
    }
    
    .podcast .description h3 a {
        font-size: 1rem;
    }
    
    .podcast .description p {
        font-size: 12px;
    }
}

/* Breakpoint 800px et moins */
@media (max-width: 800px) {
    /* Container des podcasts passe en colonne */
    .d-flex.gap-3 {
        flex-direction: column;
    }
    
    .podcast {
        border-radius: 15px;
    }
    
    .podcast::after {
        height: calc(100% - 140px);
        border-radius: 0 0 15px 15px;
    }
    
    .podcast .description {
        padding: 0.35rem 0.8rem;
    }
    
    .podcast .description h3 a {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .podcast .description p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Breakpoint 600px et moins */
@media (max-width: 600px) {
    .podcast {
        border-radius: 12px;
    }
    
    .podcast::after {
        height: calc(100% - 120px);
        border-radius: 0 0 12px 12px;
    }
    
    .podcast .description {
        padding: 0.3rem 0.6rem;
    }
    
    .podcast .description h3 a {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .podcast .description p {
        font-size: 11px;
        line-height: 1.3;
    }
}