/**
 * Composant Presse - Section "Ils en parlent"
 */

.press-section.section {
    padding: 110px 0 120px;
    background-color: #F8F8F6;
}

.press-section > .container {
    background-color: transparent;
}

.press-heading {
    margin-bottom: 64px;
    text-align: center;
}


.press-section .press-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(36px, 4vw, 72px);
    align-items: start;
}

.press-item {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.press-item.is-clickable:hover {
    transform: translateY(-3px);
}

/* Séparateurs verticaux discrets sur desktop */
@media (min-width: 1101px) {
    .press-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 0;
        right: calc(clamp(36px, 4vw, 72px) / -2);
        width: 1px;
        height: 100%;
        background: rgba(20, 20, 20, 0.06);
    }
}

.press-media {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.press-media img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 48px;
    object-fit: contain;
    opacity: 0.90;
    transition: all 0.25s ease;
}

/* Gestion du swap Sober / Color */
.press-media .logo-color {
    display: none;
}

.press-item:hover .press-media .logo-sober:not(:last-child) {
    display: none;
}

.press-item:hover .press-media .logo-color {
    display: block;
}

.press-item:hover .press-media img {
    opacity: 1;
    transform: scale(1.025);
}

.press-media-name {
    color: var(--clr-text-main);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.press-quote {
    margin: 0;
    color: rgba(20, 20, 20, 0.66);
    font-size: 0.98rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    min-height: 6.4em; /* Assure l'alignement des dates */

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-date {
    display: block;
    margin-top: 24px;
    color: rgba(20, 20, 20, 0.42);
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 1100px) {
    .press-section .press-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 56px 48px;
    }
}

@media (max-width: 768px) {
    .press-section {
        padding: 60px 0;
    }

    .press-heading {
        margin-bottom: 32px;
    }

    .press-section .press-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .press-item {
        padding: 24px 0;
    }

    .press-item:nth-child(n + 3) {
        display: none;
    }

    .press-item + .press-item {
        border-top: 1px solid rgba(20, 20, 20, 0.08);
    }

    .press-item:first-child {
        padding-top: 0;
    }

    .press-item:nth-child(2),
    .press-item:last-child {
        padding-bottom: 0;
    }

    .press-quote {
        min-height: auto;
    }
}
