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



/*******************************
 * JSTP — Page header global
 *******************************/

.jstp-page-header {
    width: 100%;
    padding: 20px 0;
    background: var(--ast-global-color-8);
    color: var(--ast-global-color-5);
}

.jstp-page-header > .ast-container {
    display: block;
    width: 100%;
}

.jstp-page-header-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.jstp-page-header-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.jstp-page-header-title {
    margin: 0;
    color: var(--ast-global-color-5);
}

.jstp-page-header-intro {
    margin-top: 20px;
    color: var(--ast-global-color-5);
}

.jstp-page-header-intro p {
    margin-bottom: 10px;
}

.jstp-page-header-intro p:last-child {
    margin-bottom: 0;
}

/* Media */

.jstp-page-header-media {
    flex: 0 0 110px;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jstp-page-header-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 110px;
    max-height: 110px;
}

/* Informations secondaires */

.jstp-page-header-meta {
    margin-top: 12px;
}

/* Navigation domaine */

.jstp-page-header-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.jstp-page-header-navigation select {
    width: auto;
    min-width: 260px;
    margin: 0;
}

/* Programme de parrainage suspendu */

.jstp-page-header-notice {
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--mon-radius);
    color: var(--ast-global-color-5);
}

/* Profil auteur d'une offre */

.jstp-page-header-author-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ast-global-color-5);
}

.jstp-page-header-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ast-global-color-5);
}

/* Mobile */

@media (max-width: 768px) {
    .jstp-page-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .jstp-page-header-navigation {
        width: 100%;
    }

    .jstp-page-header-navigation .button,
    .jstp-page-header-navigation select {
        width: 100%;
    }

    .jstp-page-header-domain-select {
        min-width: 100% !important;
    }

    .jstp-page-header-navigation .button {
        text-align: center;
    }
}

/*******************************
 * JSTP — Home Hero
 *******************************/

.home-hero{
    background-color: var(--ast-global-color-8);
}

.dark-bg h1,
.dark-bg p,
.dark-bg a {
    color: var(--ast-global-color-5);
}

.dark-bg a:hover,
.dark-bg a:focus {
    color: var(--ast-global-color-1);
}

/**
 * Hero accueil.
 */
.home-hero {
    padding-top: 80px;
    padding-bottom: 80px;
}

.home-hero .content-grid--2 {
    gap: 60px;
}

.home-hero > .ast-container {
    width: 100%;
    margin-inline: auto;
}

.home-hero-grid,
.home-hero-media,
.home-hero-content {
    min-width: 0;
}

.home-hero-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--mon-radius);
}

/**
 * Actions du Hero.
 */
.home-hero-actions {
    display: flex;
    gap: 20px;
}

/**
 * Mobile.
 */
@media (max-width: 768px) {
    .home-hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .home-hero > .ast-container {
        width: 100%;
        max-width: 100%;
    }

    .home-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero-media,
    .home-hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .home-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .home-hero-actions .button {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .home-hero .content-grid--2 {
        gap: 30px;
    }
}
