.actusindex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: #3fa7de;
    border-radius: 15px;
}

.actusindex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.actusindex-item {
    position: relative;
    background-color: #2c85b8;
    border-radius: 10px;
    overflow: visible;
    padding: 18px 10px 10px 10px;
    text-align: center;
    transition: transform 0.3s;
}
		.actusindex-item:hover { transform: scale(1.05); }
		.actusindex-item img {
			width: 100%;
			height: 200px;
			object-fit: cover;
			margin-bottom: 10px;
			border-radius: 8px; }
		.actusindex-item-soustitre {
			margin-top: 0px;
			padding: 8px 12px;
			background-color: rgba(255, 255, 255, 0.2);
			color: white;
			font-size: 0.9rem;
			line-height: 10px;
			border-radius: 6px;
			height: 50px;
			overflow: hidden;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			text-align: center;
			transition: background-color 0.3s; }

.actusindex-type-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);    
    background: #ffffff;
    color: #2c85b8;
    border: 2px solid #2c85b8;
    padding: 4px 18px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
    z-index: 10;
    white-space: nowrap;    
    clip-path: polygon( 10% 0%, 100% 0%, 90% 100%, 0% 100% ); /* 👉 parallélogramme */
}
		
@media (max-width: 1024px) {
    .actusindex-details-desktop {
        display: none; /* cache sur mobile */
    }
    .actusindex-title img {
        height: 35px;
        max-width: 15%;
    }
    .actusindex-title h1 {
        font-size: 1.4rem;
        max-width: 70%; /* ajuste mieux pour mobile */
    }
}
