.publication-date.pdf-grid {
    display: grid;
    gap: 20px;
    
}

.pdf-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px;
    box-sizing: border-box;
}

.pdf-preview {
    width: 100%;
    max-height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f5f5f5;
    display: block;
    margin: 0 auto;
}

.pdf-download {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #2ea3f2;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.pdf-download:hover {
    background-color: #1e8de0;
    color: white;
}

/* Responsive */
@media (max-width: 980px) {
    .pdf-grid {
        width: 100% !important;
        margin: 0 !important;
    }
    .pdf-item {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .pdf-grid {
        width: 100% !important;
        margin: 0 !important;
    }
    .pdf-item {
        width: 100% !important;
    }
}

.pdf-preview-img {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .pdf-preview-img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .pdf-preview-img {
        height: 250px;
    }
}

.current-year-title {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.pdf-date {
    text-align: center;
    color: #666;
    margin: -10px 0 15px;
    font-size: 14px;
}

.et_pb_accordion {
    margin-top: 50px;
}

.et_pb_accordion .pdf-grid {
    padding: 20px 0;
}

.current-year {
    margin-bottom: 50px;
}

/* Ajoutez ces styles pour l'accordéon */
.et_pb_toggle {
    border: 1px solid #d9d9d9;
    margin-bottom: 10px;
}

.et_pb_toggle_title {
    position: relative;
    padding: 20px;
    cursor: pointer;
    width: 100%;
    display: block;
}

.et_pb_toggle_title:hover {
    background-color: #f7f7f7;
}

.et_pb_toggle_title h5 {
    padding: 0;
    margin: 0;
    color: #333;
    font-size: 18px;
}

.et_pb_toggle_title:before {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'ETmodules';
    content: "3";
    font-size: 24px;
    transition: transform 0.3s ease;
}

.et_pb_toggle_open .et_pb_toggle_title:before {
    transform: translateY(-50%) rotate(180deg);
}

.et_pb_toggle_content {
    padding: 20px;
    border-top: 1px solid #d9d9d9;
}

.et_pb_accordion .et_pb_toggle_close {
    background-color: #ffffff;
}

.et_pb_accordion .et_pb_toggle_open {
    background-color: #ffffff;
}

/* Ajustement pour le contenu de l'accordéon */
.et_pb_accordion .pdf-grid {
    padding: 0;
}

.pdf-categories {
    margin: 10px 0;
    text-align: center;
}

.pdf-category {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 4px 8px;
    border-radius: 3px;
    margin: 0 4px 4px 0;
    font-size: 12px;
}

.pdf-category:hover {
    background-color: #e0e0e0;
}

.show-more-container {
    text-align: center;
    margin: 30px 0;
}

.show-more-button {
    cursor: pointer;
    display: inline-block;
}

.archive-container {
    margin-top: 30px;
}

.show-more-container {
    text-align: center;
    margin: 30px 0;
}

.show-more-button.et_pb_button {
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}


.no-pdfs-message {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #666;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 20px 0;
}

.thumbnail-preview {
    margin: 15px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.thumbnail-preview img {
    display: block;
    max-width: 200px;
    height: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.thumbnail-preview img:hover {
    transform: scale(1.05);
}

.thumbnail-preview p {
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}