.item_event .price, 
.item_event .date {
    background: rgba(36, 36, 36, 0.8);
    position: absolute;
    top: 0;
    text-align: center;
    color: #fff;
}

.item_event:hover .price, 
.item_event:hover .date {
    background: #FF6600;
}

.item_event .date {
    left: 20px;
    text-transform: capitalize;
    padding: 0 10px;
}

.item_event .date .day {
    font-size: 35px;
    font-weight: 600;
    display: block;
    margin: 0 0 0;
}

.item_event .date .month {
    font-size: 12px;
    display: block;
    margin: 0 0 5px;
}

.item_event .date .year {
    font-size: 12px;
    display: block;
}

.item_event .price{
    right: 20px;
    text-transform: uppercase;
    padding: 5px 10px;
}

.item_event .price span{
    font-size: .85rem;
}

.item_event .image img{
    display: block;
    min-height: 200px;
}

.item_event .info {
    padding: 50px 20px 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(253, 253, 253, 0) 1%, rgba(28, 28, 28, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(253, 253, 253, 0) 1%, rgba(28, 28, 28, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(253, 253, 253, 0) 1%, rgba(28, 28, 28, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#1c1c1c',GradientType=0 );
    -webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
    opacity: 1;
    visibility: visible;
}

.item_event:hover .info {
    bottom: -100%;
    opacity: 0;
    visibility: hidden;
}

.item_event .info p {
    font-size: 16px;
    color: #fff;
    width: 65%;
    float: left;
    margin: 0;
}

.item_event .info p a{
    display: block;
    text-align: left;
}

.item_event .info p span {
    display: block;
    color: #b3b3b3;
    font-size: 11px;
}

.item_event .info_overlay{
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #FF6600;
    color: #FFF;
    border-radius: 10px;
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 10px;
    -webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.item_event:hover .info_overlay{
    opacity: 1;
    visibility: visible;
    bottom: 10px;
}

.item_event .info_overlay p{
    margin: 0;
}

.item_event .info_overlay p a{
    display: block;
    text-transform: capitalize;
    text-align: left;
}

.item_event .info_overlay p span{
    font-size: .8rem;
    text-transform: capitalize;
}

.item_cat {
    position: relative;
    margin-bottom: 20px;
}

.item_cat .item_cat_a {
    border-radius: 10px;
    border: 1px solid #EEE;
    padding: 1rem .5rem;
    transition: 0.3s ease-in;
    transition: 0.3s ease-in;
    box-shadow: -1px 2px 12px -9px rgba(0, 0, 0, 0.41);
    background: #FFF;
    position: relative;
    padding: 40px 30px;
    overflow: hidden;
}

.item_cat .item_cat_image {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-size: cover;
    transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    background-image: url(../img/default/slide4.jpg);
}

.item_cat .item_cat_image:before {
    position: absolute;
    content: '';
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    opacity: 0.80;
    background-color: rgb(23, 27, 42);
}

.item_cat:hover .item_cat_image{
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
}

.item_cat .item_cat_icon {
    position: relative;
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 12px;
    transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    display: block;
    margin: 0 auto;
}

.item_cat .item_cat_icon img{
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
    border-radius: 12px;
}

.item_cat .item_cat_icon i{
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
    font-size: 44px;
    line-height: 80px;
    text-align: center;
    border-radius: 12px;
    color: #FF6600;
    background-color: #FFF;
}

.item_cat:hover .item_cat_icon i {
    color: #FFF;
    background-color: #FF6600;
    transform: rotateY(180deg);
}

.item_cat:hover .item_cat_icon img{
    transform: rotateY(180deg);
}

.item_cat .item_cat_inner h4 {
    position: relative;
    margin-top: 25px;
    text-transform: uppercase;
    line-height: 34px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #333;
}

.item_cat:hover .item_cat_inner h4 {
    color: #FFF;
}

.filter-tag {
    text-align: center;
    display: flex;
    overflow: auto;
    white-space: nowrap;
    padding: 0 0 0;
    margin-bottom: 35px;
}

.filter-tag a {
    font-size: 12px;
    color: #717171;
    border: 1px solid #efefef;
    background: #fff;
    height: 32px;
    padding: 7px 20px;
    border-radius: 30px;
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 6px;
}

.filter-tag a::first-letter{
    text-transform: uppercase;
}

.filter-tag a.active, 
.filter-tag a:hover {
    background: #FF6600;
    color: #FFF;
}

.single_event {
    position: relative;
    display: block;
    margin-top: 2rem;
    border-bottom: 3px solid #ffffff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    transition: all 0.3s linear;
    box-shadow: 0px 10px 40px -5px rgba(0, 0, 0, 0.15);
}

.single_event .blog-image {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.single_event .blog-image a {
    display: block;
}

.single_event .blog-image a img {
    width: 100%;
    transition: all 0.3s linear;
    max-height: 14.375rem;
}

.single_event .blog-category {
    top: -255px;
    left: 25px;
    border: 0;
    border-radius: 7px;
    padding: 0px 20px;
    height: 50px;
    position: relative;
    line-height: 50px;
    background: #CDE9DF;
    display: inline-block;
}

.single_event .blog-category a {
    color: #004943;
    font-weight: 600;
    font-size: 16px;
}

.single_event .blog-content {
    padding: 0 20px 40px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: #ffffff;
    margin-top: -40px;
}

.single_event .blog-meta {
    font-size: 20px;
    position: relative;
    /* float: left; */
    left: -54px;
    top: -105px;
    display: inline-block;
    text-align: center;
    height: 50px;
    line-height: 50px;
}

.single_event .date {
    display: inline-block;
    padding: 0.5em 1em;
    line-height: 1.2em;
    background: #004943;
    position: relative;
    color: #fff;
}

.single_event .date:before {
    content: '';
    position: absolute;
    border-style: solid;
    bottom: 100%;
    left: 0;
    border-width: .5em .7em 0 0;
    border-color: transparent #FC9544 transparent transparent;
}

.single_event .blog-content .title {
    font-size: 1.25rem;
    line-height: 30px;
    font-weight: 700;
    color: #0F2B46;
}

.single_event .blog-content .title a {
    color: #0F2B46;
}

.single_event .blog-btn-link {
    font-size: 15px;
    font-weight: 600;
    color: #FF7801;
    text-transform: uppercase;
    margin-top: 15px;
    transition: all 0.3s linear;
}

/* Conteneur global des cards */
.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center; /* ou flex-start selon besoin */
  padding: 16px;
}

/* Chaque carte */
.card {
  position: relative;
  width: 320px;              /* ajustez selon votre besoin */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Bloc image */
.card .card-image {
  position: relative;
  width: 100%;
  height: 200px;
}

.card .card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Étiquette (Business / Finance) */
.card .card-label {
  position: absolute;
  top: 0;
  left: 1rem;
  background: #FA5344;
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
  pointer-events: none;
}

/* Bloc date */
.card .card-date {
  position: absolute;
  bottom: -.9rem;
  left: 5px;
  background: #FA5344;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.3;
  white-space: pre-line; /* pour respecter le saut de ligne */
  pointer-events: none;
}

/* Contenu textuel */
.card .card-content {
  padding: 20px;
}

.card .card-content .card-title {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: #003A4E;
  line-height: 1.3;
  display: -webkit-box;        /* 1. active le modèle “flex” box pour WebKit */
  -webkit-box-orient: vertical;/* 2. disposition verticale des lignes */
  -webkit-line-clamp: 3;       /* 3. nombre max de lignes avant coupure */
  overflow: hidden;            /* 4. cache le reste du texte */
  line-clamp: 3;
  min-height: 4rem;
}

.truncate-3lignes {
  display: -webkit-box;        /* 1. active le modèle “flex” box pour WebKit */
  -webkit-box-orient: vertical;/* 2. disposition verticale des lignes */
  -webkit-line-clamp: 3;       /* 3. nombre max de lignes avant coupure */
  overflow: hidden;            /* 4. cache le reste du texte */
  line-clamp: 3;
}

.event_item{
    position: relative;
    max-width: 21rem;
    background: #ffffff;
    border-radius: 12px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
    box-shadow: 1px 16px 27px #4b4f684f;
    overflow: hidden;
    margin-bottom: 2rem;
}

.event_item .item_event_image .event_item_label {
    position: absolute;
    top: .5rem;
    left: .5rem;
    padding: 0 10px;
    background: #FF6600;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: .8rem;
    text-transform: capitalize;
    /* line-height: 22px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    min-width: 4.5rem;
}

.event_item .item_event_image .event_item_label strong{
    font-size: 1.6rem;
    line-height: 25.6px;
}

.event_item .item_event_image .event_item_label small{
    line-height: 22px;
}

.event_item .item_event_date {
    text-align: center;
    margin-top: -16px;
}

.event_item .item_event_date span {
    background: #E30613;
    color: #FFFFFF;
    line-height: 24px;
    display: inline-flex;
    padding: 0 1rem;
    margin: 0 auto;
    width: auto;
    border-radius: 4px;
}

.event_item .item_event_image img {
    border-radius: 12px;
    width: 98%;
    margin: 0 auto;
    margin-top: .25rem;
}

.item_event_location{
    line-height: 3rem;
    padding: 0 .5rem;
}

.item_event_location span{
    font-variant: small-caps;
    text-transform: capitalize;
    font-weight: 550;
    color: #E30613;
}

.event_item .item_event_title{
    padding: 0 1rem;
}

.event_item .item_event_title h3{
    margin: 0 0 16px;
    font-size: 1.1rem;
    color: #003A4E;
    line-height: 1.3;
    display: -webkit-box;        /* 1. active le modèle “flex” box pour WebKit */
    -webkit-box-orient: vertical;/* 2. disposition verticale des lignes */
    -webkit-line-clamp: 2;       /* 3. nombre max de lignes avant coupure */
    overflow: hidden;            /* 4. cache le reste du texte */
    line-clamp: 2;
    min-height: 3.5rem;
}

.event_item:hover .item_event_title h3{
    color: #E30613;
}

.event_item .item_event_title h3::first-letter{
    text-transform: uppercase;
}

.event_item .item_event_type{
    border-top: 1px solid #E5E6ED;
    padding: 1rem;
}

.item_event_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: linear-gradient(210deg, #5EAFFF 15%, #D72E3F 65%);
    color: #FFFFFF;
    opacity: 0;
    -webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
    text-align: center;
}

.item_event_overlay h3{
    font-size: 1.1rem;
}

.event_item:hover .item_event_overlay{
    opacity: 1;
    -webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}

/* Lien “Read more” */
.card .card-content .card-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #F57C00;
  text-decoration: none;
}

.card .card-content .card-link::after {
  content: "→";
  margin-left: 6px;
}


@media (min-width: 992px){
    .section_titre h3 {
        font-size: 1.7rem;
    }
    .single_event .blog-image a img {
        width: 100%;
        transition: all 0.3s linear;
        height: 14.375rem;
    }
    .event_item img,
    .item_event .image img{
        min-height: 15.625rem;
        height: 15.625rem;
        max-height: 15.625rem;
    }
}