#hub{
	position: relative;
	width: 100%;
	float: left;
	min-height: 50% !important;
	height: 50%;
	margin: 0;
	padding: 0;

}



.hub-header {
	position: relative;
	background-color: black;
	height: 700px;

	width: 100%;
	overflow: hidden;
	background-repeat: no-repeat;
	background-size: cover;
}

.hub-header video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;

	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}


.hub-header .container {
	position: relative;
	z-index: 2;
}


.hub-header .overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	/*background-color: black;*/
	opacity: 0.5;

		background: linear-gradient(to bottom, rgba(0,26,48,1), rgba(0,26,48,0.38) 44%, #001a30);

}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

#hub .carousel-item {
    position: relative;
    overflow: hidden;
}
#hub .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1);
    animation: zoom 20s ease-in-out;
}

#hub .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #00162b, rgba(0, 22, 43, .991) 6.67%, rgba(0, 22, 43, .965) 13.33%, rgba(0, 22, 43, .918) 20%, rgba(0, 22, 43, .853) 26.67%, rgba(0, 22, 43, .768) 33.33%, rgba(0, 22, 43, .668) 40%, rgba(0, 22, 43, .557) 46.67%, rgba(0, 22, 43, .443) 53.33%, rgba(0, 22, 43, .332) 60%, rgba(0, 22, 43, .232) 66.67%, rgba(0, 22, 43, .148) 73.33%, rgba(0, 22, 43, .082) 80%, rgba(0, 22, 43, .036) 86.67%, rgba(0, 22, 43, .009) 93.33%, #00162b00);
    z-index: 1;
}

#hub .carousel-indicators{
	z-index: 600;
}
#hub .carousel-indicators .active{
	background-color: #C12033;
}


.hub-evenements {
	position: relative;
	background-color: black;

	height: auto;
	width: 100%;
	overflow: hidden;
	background-repeat: no-repeat;
	
	background-color: #00162B;
	float: left;
}


.swiper-container img{
	object-fit: cover;
	height: 400px;
}

.swiper-container .event-card img{
	height: 100%;
}

.swiper-container .swiper-wrapper{
	align-items: stretch;
}

.swiper-container .swiper-slide{
	height: auto;
	display: flex;
}

.swiper-container .swiper-slide > a{
	display: flex;
	width: 100%;
}

.swiper-container .swiper-slide .event-card{
	width: 100%;
}

.swiper-container .event-title{
	min-height: 3em;
}


/******* slider  ****/

.swiper-video-hub {
	width: 100%;
	height: 400px;
	position: relative;

}

.swiper-video-hub .swiper-slide{
	height: 400px;
	border-radius: 8px;
	cursor: pointer;
	overflow: hidden;
	text-align: center;
	font-size: 18px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	
}


/* // Alternative way to add offset on first slide  
.swiper-wrapper .swiper-slide:first-child {
	margin-left: 200px; */
}


.swiper-video-hub .swiper-slide img{
	 
	 width: 100%;
	 height: 100%;
		 border-radius: 8px;
				 transition: all 0.3s;
}
.youtube-link{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;

}
.swiper-video-hub .swiper-slide:hover img{
	transform: scale(1.05); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.swiper-video-hub .swiper-slide i{
	position: absolute;
left: calc(50% - 35px);
top: 50%;
height: 50px;
width: 50px;
z-index: 999;
	color: white;
	line-height: 50px;
	pointer-events: none;
}

.circle-icon {
		background-color: rgba(0, 0, 0, 0.4); 
		width: 26px;
		height: 26px;
		border-radius: 50%;
		text-align: center;
		line-height: 50px;
		vertical-align: middle;
		padding: 0px;
}
.swiper-button-next, .swiper-button-prev{
		 background-color: white;
		background-color: rgba(255, 255, 255, 0.5);
		right:10px;
		padding: 30px;
		color: #000 !important;
		fill: black !important;
		stroke: black !important;
}
.swiper-video-hub .swiper-slide:before{
	content:'';
	background: linear-gradient(to bottom, rgba(0,26,48,0), rgba(0,26,48,0.38) 44%, #001a30);
	width: 100%;
	height: 150px;
	position: absolute;
	bottom: 0;
	z-index: 50;
}
.swiper-contenu-texte{  
	width: 100%;
	height: 70px;
	position: absolute;
	bottom: 0;
	z-index: 50;
	color : white;
	padding: 12px;

}
.swiper-contenu-texte h3{  
	font-size: 15px;
}


.title-hub h3{
		font-family: 'Antonio', sans-serif !important;
		color: white;
		padding: 0;
		letter-spacing: 0.15em;
		/* background-color: #cd1231; */
		font-size: 2.5em;
		font-family: "myriad pro",arial,sans-serif;
		font-weight: 700;
		text-transform: uppercase;
		margin-bottom: 6px;
		padding-bottom: 30px;
	}

#hub .card-title{
	min-height: 40px;
}

#hub .card-body-airshow{
background-color: rgba(193, 32, 51, 0.8);
    color: white;
    padding: 10px;
    width: 100%;
}


.ad-button-grey{
	text-decoration: none;
	border-radius: 20px;
	border: 1px solid #475766;
	color : white;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
	padding-bottom: 7px;
	line-height: 10px;
}

.ad-button-grey:hover{
	background-color: #1A2E41;
	color: white;
}


/***************/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import "normalize.css";
.swiper-plateau article {
  float: left;
  width: 600px;
  aspect-ratio: 2 / 1.1;
  min-height: 330px;
  position: relative;
  overflow: hidden;
  border-radius: 4em;
  max-width: calc(100% - 2rem);
  background: hsl(0 0% 50%);
}

.swiper-plateau article img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  height: 100%;
  width: 660px;
  object-fit: cover;
  object-position: center 43%;
  user-select: none;
  pointer-events: none;
}

:root {
  --x: 0;
  --y: 0;
}


.swiper-plateau .avion {
  top: 21%;
  width: 70%;
  height: auto;
  position: absolute;
  overflow: visible;
}

.desktop .swiper-plateau article img:first-of-type {
  filter: saturate(1.5) brightness(0.9);
  object-position: calc(-50% + (var(--x) * 30px)) calc(43% + (var(--y) * -20px)) !important;
}

.desktop .swiper-plateau article img:last-of-type {
  object-position: calc(-50% + (var(--x) * 40px)) calc(43% + (var(--y) * -40px));
}

.swiper-plateau article h3 {
  padding-left: 20px;
  padding-right: 20px;
  position: absolute;
  text-align: center;
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
  top: 6%;
  margin: 0;
  font-size: 2.3em;
  line-height: 1em;
  transform: translate(-50%, 0);
  text-transform: uppercase;
  font-family: 'Bebas Neue', sans-serif;
  color: white;
  transform: calc(-50% + (var(--x) * -20px)) calc(var(--y) * -10px);
}

.swiper-plateau article a {
  text-decoration: none;
  color: white;
}

.swiper-plateau article a:hover {
  color: white;
}

.content {
  min-height: 32%;
  position: absolute;
  bottom: 0;
  width: 100%;
  color: white;
  display: grid;
  gap: 0.2rem;
  place-items: center;
  align-content: center;
  padding-bottom: 0.5rem;
}

.content svg {
  width: 20px;
}

.content p {
  margin: 0;

  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  text-align: center;
}

.content p:first-of-type::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 6ch;
  background: white;
  height: 1px;
  transform: translate(-50%, 0);
}

.content p:last-of-type {
  opacity: 0.8;
}

/* Blurring */
.blur {
  position: absolute;
  inset: 60% 0 -26% 0;
  filter: blur(20px);
  overflow: hidden;
}

.blur img {
  object-position: calc(-50% + (var(--x) * 40px)) calc(47.5% + (var(--y) * -40px));
  object-fit: cover;
  left: 50%;
  transform: translate(-50%, 0);
  height: 330px;
  position: absolute;
  bottom: 15%;
  width: 660px;
  mask: radial-gradient(50% 100% at 50% 90%, white 50%, transparent);
  filter: saturate(1.5) brightness(0.8);
  opacity: 0.5;
}

.bear-link {
  color: canvasText;
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  opacity: 0.8;
}

:where(.x-link, .bear-link):is(:hover, :focus-visible) {
  opacity: 1;
}

.bear-link svg {
  width: 75%;
}

@media (max-width: 767px) {
 

  article h3 {
    font-size: 2.5rem;
  }
}

/* Tablettes: largeur d'écran entre 768px et 1024px */
@media (min-width: 768px) and (max-width: 1024px) {

  article h3 {
    font-size: 3.2rem;
  }
}

/* ==========================================================================
   Cards ACTUALITES — design repris de l'app mobile, adapté fond blanc
   ========================================================================== */
.site-news-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: #00162B;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 22, 43, 0.04);
}
.site-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 22, 43, 0.12);
    border-color: rgba(0, 22, 43, 0.14);
    color: #00162B;
    text-decoration: none;
}
.site-news-card:active {
    transform: scale(0.985);
}

.site-news-card .site-news-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: #0d2547;
    overflow: hidden;
}

/* Badge catégorie en haut-gauche */
.site-news-card .site-news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(0, 22, 43, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-family: 'Antonio', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    backdrop-filter: blur(6px);
    z-index: 2;
}

/* Badge Flash (variante rouge marque) */
.site-news-card .site-news-badge.flash {
    background: #ED1C24;
    border-color: rgba(255, 255, 255, 0.3);
}

.site-news-card .site-news-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    background: #ffffff;
}

.site-news-card .site-news-title {
    font-family: 'Antonio', sans-serif;
    font-size: 1.05em;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
    color: #00162B;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-news-card .site-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.site-news-card .site-news-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(237, 28, 36, 0.08);
    color: #ED1C24;
    border-radius: 20px;
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.4;
}

.site-news-card .site-news-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75em;
    color: rgba(0, 22, 43, 0.55);
    letter-spacing: 0.2px;
}
.site-news-card .site-news-date i {
    font-size: 0.85em;
    opacity: 0.7;
}
