/*
Theme Name: TG Plus
Description: TG Plus theme
Version: 1.0
*/

.elementor-background-slideshow__slide__image {
	border-radius:30px;
}

#btn-annonce:hover {
	padding-bottom:20px;
}


.post-12479 {
	padding:2rem;
}

.translate:hover .elementor-element h3 {
  transform: translateY(-5px);
	transition: transform 0.2s ease
}

.translate .elementor-element h3 {
  transform: translateY(0px);
	transition: transform 0.2s ease
}

.event-title {
text-transform: none;
color: var( --e-global-color-primary );
font-family:inter;
	text-transform:uppercase;
}

.post-12479 h1 {
font-size: 42px;
font-weight: 700;
text-transform: none;
color: var( --e-global-color-primary );
font-family:inter
}

#hero-tg .e-con-inner {
	margin:0 !important;
	max-width:100% !important;
}

.tg-pub-item img {
	border-radius:30px;
	width:100% !important;
	margin : 0 0 2% 0 !important;
}

body {
	margin:0;
}

.section-replays {
	margin:0 !important;
}

.rouge {
color: #E94949
}

.swiper-slide {
    margin: 0 !important;
    padding:0px !important;
}

.post-grid .elementor-loop-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 20px;
}

.post-grid .elementor-loop-container .e-loop-item:nth-child(7) 
{ 
	grid-row: span 2;
	grid-column: span 2;
}

.post-grid .elementor-loop-container .e-loop-item:nth-child(7) a
{  
	height:100%;
}


.post-grid .elementor-loop-container .e-loop-item:nth-child(9) 
{ 
	grid-row: span 2; 

}

.post-grid .elementor-loop-container .e-loop-item:nth-child(9) a
{ 
	height: 100% 

}

.post-grid .elementor-loop-container .e-loop-item div:first-child {
	
	height:100%;
	align-content: end;
}

.container-counter {
    counter-reset: post-counter;
}

.container-counter .e-loop-item {
    position: relative;
}

.container-counter .e-loop-item:before {
    counter-increment: post-counter;
    content: counter(post-counter);
    font-size: 96px; 
    font-weight: 900;
    font-family: Inter;
    color: #E9494920;
    position: absolute;
    top: -55px;
    left: -9px;
    z-index: -1;
}
.st1:hover{
	fill: #e94949
}

.btn-plus:hover #arrow {
  transform: rotate(-35deg) scale(1.2);
  transition: 0.3s ease;
	transform: 

}

.btn-plus #arrow {
  transform: rotate(0deg) scale(1);
  transition: 0.3s ease;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 764px) {
.post-grid .elementor-loop-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-flow: dense;
    gap: 5px;

}
	
	
.post-grid .elementor-loop-container .e-loop-item:nth-child(7) 
{ 
	grid-row: span 1 !important;;
	grid-column: span 1 !important;;

}

.post-grid .elementor-loop-container .e-loop-item:nth-child(9) 
{ 
	grid-row: span 1 !important;; 

}

	
}



/**********************************************
   STRUCTURE GLOBALE PROGRAMME TV
**********************************************/
.programme-tv-semaine {

    font-family: "Inter", sans-serif;
		display: flex;
		flex-wrap: wrap;
}

/**********************************************
   NAVIGATION DES JOURS
**********************************************/
.nav-jours {
    display: flex;
    flex-direction: row;
    background: #E9E9E9;
    padding: 0;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
		width:100%;
}

.btn-jour {
    width: 100%;
    background: #253089;
    border: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: #f5f5f5;
    border-right: 1px solid #CACACA;
    border-bottom: 1px solid #CACACA;
    transition: 0.25s;
		text-align:center;
}

.btn-jour:last-child {
    border-bottom: none;
}



/**********************************************
   TITLE DU JOUR
**********************************************/
.jour-titre {
    font-size: 18px;
		text-align:center;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
		width:100%
}

/**********************************************
   LISTE DES ÉVÉNEMENTS
**********************************************/
.evenements-du-jour {
   display: none !important;
}

.evenements-du-jour[style*="display: block"] {
  animation: fadeIn 0.3s ease;
	display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
	flex-direction: column;
	width: 14.27%;

}

.programme-tv-semaine > .evenements-du-jour:nth-child(even) {
background-color: #ececec;
padding: 0 5px;	
}
	
/* Animation douce */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/**********************************************
   CARTE D'ÉVÉNEMENT
**********************************************/
.event-card {
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	width: 100%;
	flex-wrap:wrap;
	  flex-direction: column-reverse;

}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
		width:100%;
}

/**********************************************
    TITRE, HEURE, DESCRIPTION
**********************************************/
.event-title {
    font-size: 20px;
    font-weight: bold;
    color: #253089;
    line-height: 1.3;
		order:2
}

.event-heure {
    font-size: 18px;
    font-weight: 400;
    color: #E94949;
		order:1
}

.event-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.4;
    margin-top: 8px;
    white-space: pre-line;
		order:3;
		width:100%
}

/**********************************************
   IMAGE ÉVÉNEMENT
**********************************************/

.event-image {
	    width: 100%;
}
.event-image img {
    object-fit: cover;
    border-radius: 12px;
}

/**********************************************
   RESPONSIVE
**********************************************/
@media (max-width: 900px) {
    .programme-tv-semaine {
        grid-template-columns: 1fr;
    }

    .nav-jours {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
    }

    .btn-jour {
        flex: 1;
        font-size: 16px;
        border-bottom: none;
        border-right: 1px solid #e5e5e5;
        text-align: center;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-image img {
        height: 180px;
    }
	
	.boucle-article::before {
		background-image: linear-gradient(200deg, #12121220 0%, var( --e-global-color-text ) 100%) !important;
}
	
.post-12479 h1 {
font-size: 26px;
	text-align:center
}

.container-counter .e-loop-item::before {
  counter-increment: post-counter;
  content: counter(post-counter);
  font-size: 65px;
  font-weight: 900;
  font-family: Inter;
  color: #E9494920;
  position: absolute;
  top: -35px;
  left: 0px;
  z-index: -1;
}
	
.tg-pub-item img {
  border-radius: 10px;
  width: 100% !important;
  margin: 0 0 2rem 0 !important;
	
	}
}
