/*
Theme Name: Theme enfant GeneratePress
Description: Theme enfant GeneratePress
Author: Univ Lorraine
Version: 0.1.0
Template: generatepress
*/




.cache {
    pointer-events: none;
}

.pods-form-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-end;
    width: 100%;
}

.pods-pagination {
    text-align: center;
    width: 100%;
}

.pods-pagination-number, 
.pods-pagination-label {
    display: inline-block;
    margin: 0 2px;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
}

.pods-pagination-current {
    font-weight: bold;
    color: var(--base-3);
    border-color: var(--accent);
    cursor: default;
}

.pods-form-filters-submit {
    background-color: var(--accent) !important;
}

.pods-form-filters-submit:hover {
    background-color: var(--accent) !important;
}

.pods-ui-notice {
    display: none;
}

.comments-area, 
.comment-form, 
.comments {
    display: none !important;
}

.polylang_langswitcher {
    list-style-type: none;
    display: flex;
    margin: 0;
    column-gap: 15px;
}

.bypasswidth {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.navigation-branding img, 
.site-logo.mobile-header-logo img {
    height: 50px !important;
    width: auto;
}




















/* CARTE A LA UNE */
    .card-une {
        display: flex;
        align-items: stretch;
        gap: 2rem;
        background-color: #fffaf5;
        border-radius: 12px;
    }

    .card-une img {
        flex: 0 0 250px;
        max-width: 250px;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
    }

    .card-une-content {
        flex: 1;
        padding: 1.5rem 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #fff;
        height: 80%;
        border-radius: 20px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

    .card-une-date {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 0.5rem;
    }

    .titreh1 {
        font-size: 24px;
        font-weight: 700;
        color: #111;
        line-height: 1.3;
        margin: 0 0 1rem 0;
    }

    .card-une .excerpt-3-lines {
        font-size: 1rem;
        line-height: 1.5;
        color: #333;
        margin-bottom: 1.5rem;
        max-width: 90%;
    }

    .boutonunique {
        width: 170px;
        text-align: center;
    }

/* --------- Responsive --------- */
    @media (max-width: 900px) {
        .card-une {
            flex-direction: column;
            gap: 1rem;
            padding: 0px;
        }

        /* On masque l'image en version mobile/tablette */
        .card-une img {
            display: none; 
        }

        .card-une-content {
            margin-top: 0;
            height: auto;
            padding: 1.5rem;
            border-radius: 12px;
        }

        .titreh1 {
            font-size: 20px;
        }

        .card-une .excerpt-3-lines {
            max-width: 100%;
        }

        .boutonunique {
            width: 100%;
            align-self: center;
        }
    }

    @media (max-width: 600px) {
        /* Plus besoin de définir la hauteur de l'image ici puisqu'elle est masquée */
        .titreh1 {
            font-size: 18px;
        }
    }