@media only screen and (min-width: 1370px) {
    :root {
        --container-padding: 20px;
        --container-width: 1330px;
    }
}

body {
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    scroll-margin: 100px 0 0 0;
    word-break: break-word;
    margin: 0;
    padding: 0;
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

.homepage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.mt3 {
    margin-top: calc(3* var(--space));
}

.mb3 {
    margin-bottom: calc(3* var(--space));
}

.h1 {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 32px;
    line-height: 1.2;
}

@media (min-width: 600px) {
    .h1 {
        font-size: 42px;
    }
}


.container,
.header,
.layout-sidebar,
.sections>* {
    box-sizing: border-box;
    width: 100%;
    padding-left: calc(50% - var(--container-width) / 2);
    padding-right: calc(50% - var(--container-width) / 2);

}

.text-center {
    text-align: center;
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.mt-10 {
    margin-top: 10px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-50 {
    margin-bottom: 50px;
}

@media only screen and (min-width: 900px) {
    :root {
        --container-padding: 32px;
    }
}

@media (min-width: 1000px) {
    .home-intro {
        position: relative;
        display: grid;
        grid-template-columns: 430px 1fr;
        gap: 70px;
    }
}

@media (max-height: 700px) and (min-width: 1000px) {
    .home-intro {
        padding-top: calc(var(--padding)* .6);
    }
}

.home-intro {
    padding: var(--padding) 0;
}

.hero-image {
    width: 180px;
    text-align: center;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title strong {
    color: var(--contrast);
}

@media (min-width: 600px) {
    .hero-text {
        font-family: inherit;
        font-size: 22px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .3s;
}



.stack,
.stack-large,
.stack-separated {
    --gap: 2;
    display: grid !important;
    grid-template-columns: 1fr;
    align-content: flex-start;
    gap: calc(var(--gap)* var(--space));
}

.home-intro__background {
    width: 100%;
    border-radius: 20px 10px 5px 10px;
}

.container-load {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    height: auto;
    text-align: center;
}

.load-intro__background {
    max-width: 80%;
}


.vignette-title {
    font-size: 34px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--contrast);
}

.vignette-title strong {
    color: var(--contrast);
}

@media (min-width: 600px) {
    .vignette-text {
        font-size: 22px;
        margin-bottom: 50px;
    }
}

.emissions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: calc(4* var(--space));
    grid-auto-flow: dense;
}

.emission-title {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(2* var(--space));
    justify-items: flex-start;
}

@media (min-width: 600px) {
    .emission-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}



.emission-show {
    display: grid;
    grid-template-columns: repeat(2, 1fr) minmax(245px, 1fr);
    gap: calc(0* var(--space));
    grid-auto-flow: dense;
}

.emission-show .card {
    display: none;
}

@media (min-width:801px) {
    .emission-show .card {
        display: block;
    }
}



.emission-hero {
    grid-column: 1 / -1;
    max-width: 550px;
}

.no-data-emission {
    grid-column: 1/ -1;
}

.emission-show-hero {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

@media (min-width:840px) {
    .emission-hero {
        grid-column: 1/3;
    }

    .emission-show-hero {
        grid-column: 1 / 3;
        width: auto;
    }

    .no-data-emission {
        grid-column: 3/ span 2;
    }
}

.emission-show-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.event-infos{
    padding: 10px 0;
    border-bottom: 1px solid var(--background);
}

.event-infos ul li {
    margin-right: 20px;
    list-style: none;
}

iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

.emission-hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
}

.emission-hero strong {
    color: var(--contrast);
}

.btn-diffuse {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-right: 20px;
    float: right;
}

.btn-diffuse:hover {
    background-color: #0056b3;
}

/* Mobile : on centre le bouton */
@media screen and (max-width: 768px) {
    .btn-diffuse {
        float: none;
        margin: 20px auto 0 auto;
        display: block;
        text-align: center;
    }
}



@media (min-width: 600px) {

    .emission-hero,
    .hero-text,
    .wave-header__body {
        font-size: 22px;
    }
}

.emission-hero>*+* {
    margin-top: calc(4* var(--space));
}

.container-intro {
    padding-top: var(--padding);
}

.emission-hero .format {
    display: flex;
    flex-direction: row;
}

.format_link {
    flex: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 0 10px;
    padding: 5px 10px;
    color: var(--contrast);
    font-size: 14px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.format_link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: currentColor;
    opacity: .1;
    transition: opacity .3s;
    z-index: -1;
}

.header-nav .icon-lines {
    width: 14px;
    height: 14px;
    margin-bottom: -2px;
}

.header-nav .icon-live {
    width: 24px;
    height: 24px;
    margin-bottom: -6px;
    /* Assure-toi que la couleur de remplissage est visible */
}


.header-nav .icon-calendar {
    width: 18px;
    height: 18px;
    margin-bottom: -2px;
}

.header-nav .icon-scoreboard {
    width: 18px;
    height: 18px;
    margin-bottom: -4px;
}

.header-side__sponsoring {
    margin-right: 15px;
    background-color: #ffd700;
    padding: 5px;
    border-radius: 5px 10px;
}

.header-side .icon-burger {
    width: 18px;
    height: 18px;
    margin-bottom: -1px;
}

.header-side .icon-close {
    width: 18px;
    height: 18px;
    margin-bottom: -1px;
}


.header-side .icon-star {
    width: 16px;
    height: 16px;
    margin-bottom: 0px;
}

.header-side .icon-user {
    width: 14px;
    height: 14px;
    margin-bottom: -1px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.card li {
    padding: 10px 0;
}

.youtube-subscribe {
    margin-left: 10px;
    height: 32px;
}

.g-ytsubscribe {
    vertical-align: middle !important;
}

.footer {
    margin-top: auto;
    padding-top: calc(6* var(--space));
    padding-bottom: calc(6* var(--space));
    background: var(--background);
    border-top: solid 4px var(--border-light);
    gap: calc(10* var(--space));
    align-items: center;
}

@media (min-width: 800px) {
    .footer {
        justify-content: space-between;
        display: grid;
        grid-template-columns: 440fr 300fr 300fr;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #fff;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
    display: none;
}

.cookie-banner p {
    display: inline;
    margin-right: 1rem;
}

.cookie-banner a {
    color: #ffd700;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #ffd700;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
    color: #000;
}


.copyright {
    margin-top: 15px;
}