/*  Style 4 — Communiqué de presse
    Widget : Avas Post Grid (avas-core)
    Géré par : FIERE Communiqués de Presse (fiere-presse)
--------------------------------------------------------------------- */

.tx-post-grid-style-4 {
    margin-bottom: 30px;
}

.tx-post-grid-style-4 article.tx-press-release {
    border-top: 3px solid #2c5282;
    background-color: #fff;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.tx-post-grid-style-4 article.tx-press-release .post-title {
	padding-top: 0px !important;
}


/* En-tête : date + titre */
.tx-press-release-header {
    background-color: #f7f9fc;
    padding: 20px 25px 18px;
    border-bottom: 1px solid #e2e8f0;
	height: 205px; overflow:hidden;
}

.tx-press-release-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #718096;
    margin-bottom: 10px;
    font-style: italic;
}

.tx-press-release-date i {
    color: #2c5282;
}


.tx-press-release-title.post-title {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.4;
}

.tx-press-release-title.post-title a {
    color: #1a202c;
    text-decoration: none;
}

.tx-press-release-title.post-title a:hover {
    color: #2c5282;
}

/* Corps : contenu + fichiers */
.tx-press-release-content.details-box {
    background-color: #fff;
    border: none;
  
}

.tx-press-release-body {
    color: #2d3748;
    font-size: 15px;
    line-height: 1.8;
	min-height: 190px !important;
}

.tx-press-release-body p {
    margin-bottom: 15px;
}

/* Section fichiers joints */
.tx-press-release-files {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.tx-press-release-files-title {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.tx-press-release-files-title i {
    color: #2c5282;
}

.tx-press-release-files-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tx-press-release-file-item a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background-color: #ebf4ff;
    color: #2c5282;
    border: 1px solid #bee3f8;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.tx-press-release-file-item a:hover {
    background-color: #2c5282;
    color: #fff;
    border-color: #2c5282;
}

.tx-press-release-file-item a i {
    font-size: 15px;
}

.tx-file-ext {
    font-size: 11px;
    opacity: 0.75;
    font-weight: 400;
}

/* Neutraliser hover générique du widget */
.blog-cols.tx-post-grid-style-4:hover .details-box {
    box-shadow: none;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .tx-press-release-header {
        padding: 16px 18px 14px;
    }
    .tx-press-release-content.details-box {
        padding: 18px;
    }
    .tx-press-release-files-list {
        flex-direction: column;
    }
}
