body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu {
    width: 100%;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul {
    list-style: none;
    margin: 15px 0 0;
    padding: 0;
    display: table;
    width: 100%;
    border-collapse: collapse;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li {
    width: 70px;
    margin: 1px;
    float: left;
    position: relative;
    text-align: center;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li a,
body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li span.inactive,
body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.fleche_navigation_gauche a,
body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.fleche_navigation_droite a {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    min-height: 100%;
    background-color: white;
    border: 4px solid #0000000a;
    margin: 2px;
    padding: 1em;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.fleche_navigation_gauche a,
body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.fleche_navigation_droite a {
    background-color: #cecece;
    font-size: 2em;
    padding: 9px 5px;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.fleche_navigation_gauche a:hover,
body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.fleche_navigation_droite a:hover {
    background-color: #bfbfbf;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li a span {
    display: block;
    color: #555;
    text-transform: uppercase;
    text-align: center;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li a span.oe_month {
    font-size: 1em;
    font-weight: 600;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li a span.oe_year {
    font-size: .9em;
    font-weight: 300;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li a:hover,
body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.active a {
    background-color: #d1343d;
    color: #fff;
    border-color: #d1343d;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li a:hover span,
body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.active a span {
    color: #fff;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.mois_courant a {
    border-color: #d1343d;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li .jour_courant {
    border: 4px solid #d1343d;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.disable a {
    background-color: #f3f3f3;
    color: #d3d3d3;
    pointer-events: none;
    cursor: not-allowed;
    text-decoration: none;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.disable a span {
    color: #d3d3d3;
}

body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu .evenements_agenda_mensu {
    display: block;
    border-top: 0;
    width: 100%;
    margin: 0;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 24px 0;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_logo,
body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_info {
    flex: 1 1 50%;
    min-width: 0;
    padding: 0;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_logo {
    position: relative;
    min-height: 280px;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 28px;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_title {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    line-height: 1.25;
    margin: 0;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_title a {
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_title a:hover,
body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_title a:focus {
    color: #d1343d;
    border-color: #ffd3d5;
    outline: none;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_meta {
    color: #6b7280;
    font-weight: 600;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_excerpt {
    color: #374151;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_actions {
    margin-top: 8px;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_cta {
    display: inline-block;
    padding: 10px 14px;
    background: #d1343d;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color .2s ease, transform .1s ease;
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_cta:hover,
body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_cta:focus {
    background: #b92d35;
    outline: none;
}

@media only screen and (min-width: 768px) {
    body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li {
        float: none;
        margin: 0;
        position: relative;
        text-align: center;
        display: table-cell;
        vertical-align: middle;
        width: 7.14%;
    }

    body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li .active a,
    body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li .mois_courant a {
        margin: 20px 2px 0 2px;
    }

    body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.fleche_navigation_gauche a,
    body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu > ul li.fleche_navigation_droite a {
        padding: 15px 5px;
    }

    body.core-shell-v2 .core-home-block--agenda-monthly .agenda-mensu .evenements_agenda_mensu .item {
        float: none;
        position: relative;
        width: 100%;
        margin: 24px 0;
        flex-direction: row;
    }
}

@media (max-width: 799px) {
    body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item {
        flex-direction: column;
        border-radius: 12px;
    }

    body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_logo {
        min-height: 200px;
    }

    body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_info {
        padding: 18px;
    }

    body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_logo,
    body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_info {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }
}

@media only screen and (min-width: 1025px) {
    body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item {
        width: 100%;
    }
}

body.core-shell-v2 .core-home-block--agenda-monthly .evenements_agenda_mensu .item .item_type_evenement {
    color: #436ba7;
}
