@font-face {
    font-family: 'Oswald';
    src: url('Oswald/static/Oswald-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap; /* Améliore les performances */
}

@font-face {
    font-family: 'Oswald';
    src: url('Oswald/static/Oswald-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('Oswald/static/Oswald-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('Oswald/static/Oswald-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('Oswald/static/Oswald-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html, body {
	box-sizing: border-box;
	overflow-x: hidden;
}

*, *::before, *::after {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

.rouge{
	background-color: #da0813;
	min-height: 50px;
	text-align: center;
	padding: 13px 10px 7px 10px;
}

.rouge a{
	text-decoration: none;
	color: white;
	font-family: Oswald,'Roboto Condensed',sans-serif;
	padding: 12px;
}

.rouge a:hover{
	background-color: white;
	color: #da0813;
}

.banner{
	height: 120px;
	display: flex;
	justify-content: space-between;
	margin: auto;
	width: 90%;
	margin-top: 15px;
}

.logo{
	height: 75%;
	margin-top: 15px;
}

.sociaux{
	display: flex;
	margin-top: 30px;
}

.social{
	width:40px;
	height: 40px;
	border-radius: 50%;
	margin:10px 0 0 10px;
}

.social-icon{
	width: 100%;
}

nav{
	border-bottom: 1px blue solid;
	min-height: 34px;
	padding-top: 20px;
	margin: auto;
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 0;
}

.lisitra{
	list-style-type: none;
	display: flex;
}

.menu{
	text-decoration: none;
	font-family: Oswald, 'Roboto Condensed',sans-serif;
	font-size: 18px;
	color: black;
	padding: 5px 10px 7px 10px ;
	text-transform: uppercase;
}

.menu:hover,.active{
	background-color: #003d9a;
	/*border-bottom: 4px solid #da0813;*/
	color: white;
}

.laune{
	display: flex;
	margin: auto;
	width: 90%;
	margin-top: 30px;
	grid-gap: 15px;
}

.gauche{
	width: 75%;
	overflow: visible;
	position: relative;
	height: auto;
}

.droite{
	width: 25%;
	height: auto;
}

.tickin{
	position: absolute;
	padding: 7px 13px 7px 13px ;
	background-color: #da0813;
	font-family: Oswald,'Roboto Condensed',sans-serif;
	color: white;
}

.image-laune,.image-edito,.image-chronique{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bande-gris{
	height: 100px;
	background-color: rgba(0,0,0,0.4);
	position: absolute;
	bottom: 0;
	padding: 0 13px 17px 13px;
}

.bande-gris-kely{
	height: 100px;
	background-color: rgba(0,0,0,0.5);
	position: absolute;
	bottom: 0;
	padding: 0 13px 17px 13px;
}

.title-laune{
	font-family: Oswald,'Roboto Condensed',sans-serif;
	font-size: 36px;
	color: white;
}

.slug-laune{
	font-family: 'Roboto Condensed',sans-serif;
	font-size: 16px;
	text-align: justify;
	color: white;
	margin-top: -14px;
}

.edito-div,
.chronique-div{
	height: 217px;
	b ackground-color: blue;
	position: relative;
}

.chronique-div{
	margin-top: 16px;
}

footer{
	hei ght: 270px;
	background-color: #da0813;
	ma rgin-top: 30px;
	position: relative;
}

.copy{
	background-color: black;
	color: white;
	height: 35px;
	font-family: Oswald;
	text-align: right;
	padding-right: 15px; 
	padding-top: 7px;
}

.footer-content{
	display: flex;
	justify-content: space-between;
	padding: 20px;
	grid-gap: 15px;
	margin: auto;
	width: 90%;
}

.footer-left{
	width: 33%;
}

.footer-right{
	width: 33%
}

.footer-title{
	text-align: left;
	font-family: Oswald,sans-serif;
	color: white;
	font-weight: bold;
	margin-bottom: 10px;
	border-bottom: 1px dotted white;
}

.footer-center{
	width: 33%
}

.fmenu{
	display: block;
	color: white;
	text-decoration: none;
	padding: 5px;
	font-family: Oswald,sans-serif;
	text-align: center;
}

.fmenu:hover{
	text-decoration: underline;
}

.boutons{
	text-align: center;
}

.a-btn{
	background-color: white;
	padding: 5px 10px;
	border-radius: 0px;
	text-decoration: none;
	font-family: Oswald,sans-serif;
	color: #da0813;
	display: block;
	margin: 3px;
}

.container{
	margin: auto;
	width: 90%;
}

.article{
	margin-top: 30px;
	width: 70%;
}
.surtitre-article{
	font-family: Oswald, sans-serif;
	font-size: 18px;
	text-transform: uppercase;
}

.titre-article{
	font-family: Oswald, sans-serif;
	font-size: 40px;
	margin-top: -7px;
	margin-bottom: 10px;
	color: #003d9a;
}

.ostext{
	font-family: Oswald, sans-serif;
	text-align: justify;
}

.contenttext{
	font-family: 'Roboto Condensed', sans-serif;
	text-align: justify;
	margin-top: 13px;
}

.info-article{
	margin-bottom: 10px;
}

.signature{
	font-size: 16px;
	color: grey;
}

.image-article{
    float:left;       /* ou right */
    width:450px;
    margin:15px 15px 10px 0;
}

.flexy{
	display: flex;
	flex-wrap: wrap;
	grid-gap: 50px;
}

.flexy-item{
	  flex: 1 0 calc(33.333% - 50px);
	  min-width: calc(33.333% - 50px);
	  box-sizing: border-box;
	  display: flex;
	  flex-direction: column;
}

/* Si moins de 3 éléments, on les étire */
.flexy:has(.flexy-item:first-child:last-child) .flexy-item {
  flex-basis: 100%;
  min-width: 100%;
}

/* Le contenu flexible qui pousse le bouton vers le bas */
.flexy-item .ostext {
  flex: 1; /* Prend tout l'espace disponible */
  margin-bottom: 15px; /* Espace avant le bouton */
}

/* Le bouton reste en bas */
.flexy-item .btn-article {
  margin-top: auto; /* Pousse le bouton vers le bas */
  align-self: flex-start; /* Aligne à gauche, ou center/stretch selon besoin */
}

/* Pour aligner tous les boutons à la même hauteur */
.flexy-item > div:last-child {
  margin-top: auto;
  width: 100%;
}

.flexy:has(.flexy-item:first-child:nth-last-child(2)) .flexy-item,
.flexy:has(.flexy-item:first-child:nth-last-child(2) ~ .flexy-item) {
  flex-basis: calc(50% - 50px);
  min-width: calc(50% - 50px);
}

.sideright{
	width: 30%;
	margin-top: 50px;
}

/* =============================================
   Responsive â€” mobile uniquement (â‰¤ 768px)
   Le desktop reste inchangÃ© au-dessus de 768px
   ============================================= */
@media screen and (max-width: 1024px) {

	.laune{
		width: 95%;
		grid-gap: 20px;
	}

	.gauche{
		width: 68%;
	}

	.droite{
		width: 32%;
	}

	.article_kely{
		flex: 1 1 calc(50% - 10px);
		min-width: calc(50% - 10px);
	}

	.flexy-item{
		flex: 1 1 calc(50% - 25px);
		min-width: calc(50% - 25px);
	}

	.titre-sidebar{
		font-size: 24px;
	}
}

@media screen and (max-width: 768px) {

	.article_div_sary,
	.article_sary_kely,
	.article_kely .article_div_sary,
	.article_kely .article_sary_kely {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	.article_list{
		display: flex !important;
		flex-direction: column !important;
		gap: 16px;
	}

	.article_kely{
		flex: 1 1 100% !important;
		min-width: 100% !important;
		display: block !important;
	}

	.rouge {
		height: auto;
		padding: 8px 5px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px;
	}

	.rouge a {
		padding: 8px 10px;
		font-size: 13px;
	}

	.banner {
		flex-direction: column;
		align-items: center;
		height: auto;
		width: 95%;
		margin-top: 10px;
	}

	.div-logo {
		text-align: center;
		width: 100%;
	}

	.logo {
		height: 55px;
		margin-top: 5px;
	}

	.sociaux {
		margin-top: 10px;
		justify-content: center;
		flex-wrap: wrap;
	}

	.social {
		width: 34px;
		height: 34px;
		margin: 5px;
	}

	nav {
		height: auto;
		width: 95%;
		padding: 10px 8px 12px;
		gap: 4px;
	}

	.menu {
		font-size: 14px;
		padding: 8px 10px 6px;
	}

	.laune {
		flex-direction: column;
		width: 95%;
		margin-top: 20px;
		grid-gap: 20px;
	}

	.gauche {
		width: 100%;
		height: auto;
		overflow: visible;
	}

	.droite {
		width: 100%;
		height: auto;
	}

	.article_list{
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.article_kely{
		flex: 1 1 100%;
		min-width: 100%;
		display: block;
		gap: 12px;
		margin-bottom: 0;
	}

	.article_info{
		width: 100%;
		display: block;
	}

	.archive-item{
		margin-left: 10px;
	}

	.edito-div,
	.chronique-div {
		height: 260px;
	}

	.chronique-div {
		margin-top: 20px;
	}

	.title-laune {
		font-size: 22px;
		line-height: 1.2;
		margin-top: 16px;
	}

	.slug-laune {
		font-size: 14px;
		line-height: 1.3;
		margin-top: 7px;
	}

	.bande-gris,
	.bande-gris-kely {
		height: auto;
		min-height: 90px;
		padding: 0 10px 12px;
	}

	.container {
		width: 95%;
	}

	.flexy {
		flex-direction: column;
		grid-gap: 25px;
	}

	.flexy-item {
		flex: 1 1 100%;
		min-width: 100%;
	}

	.article {
		width: 100%;
		margin-top: 20px;
	}

	.sideright {
		width: 100%;
		display: none;
	}

	.titre-article {
		font-size: 30px;
		line-height: 1.15;
	}

	.surtitre-article {
		font-size: 16px;
	}

	.image-article {
		float: none;
		display: block;
		width: 100%;
		max-width: 100%;
		margin: 15px 0 10px;
	}

	footer {
		height: auto;
		padding-bottom: 15px;
		margin-top: 25px;
	}

	.footer-content {
		flex-direction: column;
		width: 95%;
		padding: 15px 10px;
		grid-gap: 0;
	}

	.footer-left,
	.footer-center,
	.footer-right {
		width: 100%;
		margin-bottom: 25px;
	}

	.footer-right {
		margin-bottom: 0;
	}

	.footer-title {
		text-align: center;
	}

	.boutons {
		margin-top: 15px;
	}

	.copy {
		text-align: center;
		padding-right: 0;
		font-size: 13px;
		height: auto;
		padding: 10px 5px;
	}
}

@media screen and (max-width: 480px) {

	.rouge a {
		padding: 6px 8px;
		font-size: 11px;
	}

	.logo {
		height: 45px;
	}

	.menu {
		font-size: 11px;
		padding: 6px 5px 4px;
	}

	.titre-article,
	.titre-sidebar {
		font-size: 22px;
	}

	.article_kely_titre{
		font-size: 16px;
		line-height: 1.3;
	}

	.rubrique{
		font-size: 17px;
	}

	.sidebar-featured-img{
		max-height: 240px;
	}

	.title-laune {
		font-size: 18px;
	}

	.slug-laune {
		font-size: 13px;
	}

	.tickin {
		font-size: 13px;
		padding: 5px 10px;
	}

	.btn{
		display: inline-block;
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
}

.sousmenu{
	height: 38px;
	background-color: #003d9a;
	margin-top: 2px;
	color: white;
	padding-top: 7px;
	padding-left: 2px;
}

.sous{
	color: white;
	font-size: 14px;
}

.sous:hover, .ssactive{
	color: #003d9a;
	background-color: white;
}

.contactrehetra{
	display: flex;
	justify-content: space-around;
}

.sociau{
	display: flex;
}

.mailncompte{
	padding-top: 10px;
}

.form-group{
	margin-bottom: 25px;
}
.form-control{
	width: 100%;
	height: 30px;
	border-radius: 5px;
	border:1px solid #ffd5d7;
	padding: 5px 10px;
	margin-top: 10px;
}

.formearea{
	width: 100%;
	border-radius: 5px;
	border:1px solid lightgrey;
	padding: 5px 10px;
	margin-top: 10px;
}

.btn{
	padding: 7px;
	border:1px solid #003d9a;
	border-radius: 5px;
	font-family: 'Roboto Condensed',sans-serif;
	text-decoration: none;
}

.btn:hover{
	background-color: #042d6a;
	color: white;
}

.btn-manga{
	background-color: #003d9a;
	color: white;
}

.btn-manga:hover{
	background-color: #042d6a;

}

.contact-body{
	display: flex;
	justify-content: space-between;
	grid-gap: 50px;
}

.contact-left{
	width: 60%;
}

.contact-right{
	width: 40%;
}

.surtitre-rouge{
	font-size: 15px;
	font-weight: bold;
	color: #da0813;
	padding: 5px 10px 7px 0;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	border-bottom: 1px solid #da0813;
}

.mt30{
	margin-top: 30px;
}

.rubrique{
	font-family: Oswald,sans-serif;
	font-size: 20px;
	text-transform: uppercase;
	padding: 10px 5px 10px 0;
	border-bottom: 1px solid #da0813;
}

.trubrique{
	border-bottom: 4px solid #da0813;
	padding-bottom: 6px;
}

.part-div{
	background-color: lightgrey;
	min-height: 150px;
}

.part-title{
	color: #da0813;
	font-family: Oswald, sans-serif;
}

.sousrubrique{
	padding: 7px 13px;
	background-color: #da0813;
	color:white;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	po sition: absolute;
	margin-bottom: 10px;
}

.sousrubriq{
	padding: 7px 13px;
	background-color: #da0813;
	color:white;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
}

.article_list{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.article_info{
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.article_kely{
	flex: 1 1 calc(33.333% - 14px);
	min-width: calc(33.333% - 14px);
	max-width: 100%;
	min-height: 120px;
	display: flex;
	gap: 15px;
	margin-bottom: 10px;
	box-sizing: border-box;
}

.article_list:has(.article_kely:first-child:last-child) .article_kely {
	flex-basis: 100%;
	min-width: 100%;
}

.article_div_sary{
	flex-shrink: 0;
	display: none !important;
}

.article_sary_kely{
	width: 150px;
	height: 110px;
	object-fit: cover;
	display: none !important;
	background-color: #e8e8e8;
}

.article_kely_action{
	margin-top: auto;
	padding-top: 10px;
}

.sidebar-featured-img{
	width: 100%;
	height: auto;
	max-height: 450px;
	object-fit: cover;
	display: block;
}

.titre-sidebar{
	font-size: 28px;
}

.video-responsive{
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.video-responsive iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.archive-item{
	margin-left: 25px;
	margin-bottom: 6px;
}

.archive-link{
	color: #003d9a;
	text-decoration: none;
	text-transform: uppercase;
	display: inline-block;
	word-break: break-word;
}

.archive-link:hover{
	text-decoration: underline;
}

.sommaire{
	margin-bottom: 15px;
}

.article_kely_titre{
	text-transform: uppercase;
	font-family: 'Roboto Condensed',sans-serif;
	font-size: 18px;
	color: #003d9a;
}

.articlekelytitre{
	padding-left: 15px;
	font-size: 14px;
}
.btn-ambany{
	position: absolute;
	bottom: 0px;
}

.div_sommaire{
	display: flex;
	grid-gap: 50px;
}

.leftside{
	width: 70%;
}

.mbneg{
	margin-bottom: 1px;
}

.sot{
	padding-top: 15px;
	font-size: 12px !important;
}

.articlekelytitre:hover{
	background-color: blue;
	color: white !important;
}

.articlekelytitre a{
	color: white;
	text-decoration: none;
}

.article_auteurphoto{
	width: 100px;
	float: left;
	border-radius: 50%;
	margin: 15px;
}

.article-chapo{
	margin-bottom: 25px;
	margin-top: 15px;
	font-family: 'Roboto Condensed',sans-serif;
}