/* ===========================
   TM ANNONCES MODULE - DIVI 4
   =========================== */

.tm-annonces {
    max-width: 550px !important;
    background: #ffffff;
    border-radius: 12px;
	border:solid 1px #E5E6E8;
    padding: 14px 10px 10px;
    font-family: inherit;
	margin-left:10px;
	min-width: 550px !important;
}

.tm-annonces__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;    
}

.tm-annonces__title {
    margin: 0;
    color: #0e2b68;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tm-annonces__top-link {
    position: relative;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0e2b68;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.tm-annonces__top-link:hover {
    color: #316fd8;
}

.tm-annonces__arrow {
    font-size: 15px;
    line-height: 1;
    transform: translateY(-1px);
}

.tm-annonces__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-annonce-card {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 8px;
	box-shadow: 0 6px 18px rgba(18, 52, 94, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.tm-annonce-card:hover {
    transform: translateY(-1px);
    border-color: #dfe8f7;
    box-shadow: 0 10px 24px rgba(18, 52, 94, 0.10);
}

.tm-annonce-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    border-radius: 8px;
}

.tm-annonce-card__icon,
.tm-annonce-card__content,
.tm-annonce-card__date {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.tm-annonce-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: #f2f6ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-annonce-card__icon svg {
    width: 24px;
    height: 24px;
    fill: #316fd8;
}

.tm-annonce-card__content {
    min-width: 0;
}

.tm-annonce-card__type {
    color: #316fd8;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.tm-annonce-card__title {
    margin: 0;
    color: #0e2b68;
    font-size: 10.5px important;
    line-height: 1.28;
    font-weight: 800;

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

.tm-annonce-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-transform: uppercase;
}
.tm-annonce-card__day {
    color: #e62932;
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
}

.tm-annonce-card__month {
    color: #0e2b68;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .tm-annonces {
        min-width: 350px;
		max-width: 350px !important;
        padding: 12px;

    }

    .tm-annonce-card {
        grid-template-columns: 44px minmax(0, 1fr) 38px;
        gap: 10px;
        padding: 10px;
    }

    .tm-annonce-card__icon {
        width: 38px;
        height: 38px;
    }

    .tm-annonce-card__icon svg {
        width: 21px;
        height: 21px;
    }

    .tm-annonce-card__title {
        font-size: 10px !important;
    }

    .tm-annonce-card__day {
        font-size: 18px;
    }
}
