/*
 * Styles globaux du site Venstone.
 * Issus du thème Mobirise d'origine, purgés des règles inutilisées et renommés.
 */

/* ---------------------------------------------------------------- Menu déroulant (navbar) */
.navbar-dropdown {
    left: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.45s ease;
    z-index: 1030;
    background: #282828;
}
.navbar-dropdown .navbar-logo {
    margin-right: 0.8rem;
    transition: margin 0.3s ease-in-out;
    vertical-align: middle;
}
.navbar-dropdown .navbar-logo img {
    height: 3.125rem;
    transition: all 0.3s ease-in-out;
}
.navbar-dropdown.navbar-fixed-top {
    position: fixed;
}
.navbar-dropdown .navbar-brand span {
    vertical-align: -4px;
}
.navbar-dropdown.bg-color.transparent {
    background: none;
}
.navbar-dropdown.navbar-short .navbar-brand {
    padding: 0.625rem 0;
}
.navbar-dropdown.navbar-short .navbar-brand span {
    vertical-align: -1px;
}
.navbar-dropdown.navbar-short .navbar-logo {
    margin-right: 0.5rem;
}
.navbar-dropdown.navbar-short .navbar-logo img {
    height: 2.375rem;
}

.dropdown-menu .dropdown-item:focus {
    outline: 0;
}

.nav-dropdown {
    font-size: 0.75rem;
    font-weight: 500;
    height: auto !important;
}
.nav-dropdown .link {
    margin: 0.667em 1.667em;
    font-weight: 500;
    padding: 0;
    transition: color 0.2s ease-in-out;
}
.nav-dropdown .link.dropdown-toggle {
    margin-right: 2.583em;
}
.nav-dropdown .link.dropdown-toggle::after {
    margin-left: 0.25rem;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
    border-bottom: 0;
}
.nav-dropdown .link::after,
.nav-dropdown .dropdown-item::after {
    color: inherit;
}
.nav-dropdown .dropdown-menu {
    border-radius: 0;
    border: 0;
    left: 0;
    margin: 0;
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
    position: relative;
}
.nav-dropdown .dropdown-item {
    font-weight: 500;
    line-height: 2;
    padding: 0.3846em 4.615em 0.3846em 1.5385em;
    position: relative;
    transition:
        color 0.2s ease-in-out,
        background-color 0.2s ease-in-out;
}
.nav-dropdown .dropdown-item::after {
    margin-top: -0.3077em;
    position: absolute;
    right: 1.1538em;
    top: 50%;
}
.nav-dropdown .dropdown-item:focus,
.nav-dropdown .dropdown-item:hover {
    background: none;
}

/* ---------------------------------------------------------------- Thème */
@charset "UTF-8";
section {
    background-color: #ffffff;
}

body {
    font-style: normal;
    line-height: 1.5;
    font-weight: 400;
    color: #232323;
    position: relative;
}

button {
    background-color: transparent;
    border-color: transparent;
}

section,
.container,
.container-fluid {
    position: relative;
    word-wrap: break-word;
}

a {
    font-style: normal;
    font-weight: 400;
    cursor: pointer;
}
a,
a:hover {
    text-decoration: none;
}

.section-heading {
    font-style: normal;
    line-height: 1.3;
}

.section-subheading {
    line-height: 1.3;
}

.section-text {
    font-style: normal;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.type-display,
.type-title,
.type-text,
.type-subtitle,
.type-lead,
span,
p,
a {
    line-height: 1;
    word-break: break-word;
    word-wrap: break-word;
    font-weight: 400;
}

b,
strong {
    font-weight: bold;
}

section {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
.color-white {
    color: #ffffff;
}

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

.media-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: start;
}

@media (min-width: 992px) {
    .media-row {
        flex-wrap: nowrap;
    }
}

img,
iframe {
    display: block;
    width: 100%;
}

.card {
    background-color: transparent;
    border: none;
}

.card-box {
    width: 100%;
}
.section-actions {
    margin-left: -0.6rem;
    margin-right: -0.6rem;
    font-size: 0;
}

.btn {
    font-weight: 600;
    border-width: 1px;
    font-style: normal;
    margin: 0.6rem 0.6rem;
    white-space: normal;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    word-break: break-word;
}

nav .section-actions {
    margin-left: 0rem;
    margin-right: 0rem;
}
.btn .icon {
    order: 1;
    cursor: pointer;
    margin-left: 0.5rem;
    vertical-align: sub;
}

.font-medium {
    font-weight: 500;
}
.fullscreen .overlay {
    min-height: 100vh;
}

.fullscreen {
    display: flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@keyframes arrowdown {
}
@-webkit-keyframes arrowdown {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}
@keyframes gradient-animation {
}
@-webkit-keyframes gradient-animation {
    from {
        background-position: 0% 100%;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
    }
    to {
        background-position: 100% 0%;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
    }
}

.menu .navbar-brand {
    display: -webkit-flex;
}
.menu .navbar-brand span {
    display: flex;
    display: -webkit-flex;
}
.menu .navbar-brand .navbar-logo img {
    display: -webkit-flex;
    width: auto;
}
@media (max-width: 991px) {
    .menu .navbar-collapse {
        max-height: 93.5vh;
    }
    .menu .navbar-collapse.show {
        overflow: auto;
    }
}
@media (min-width: 992px) {
    .menu .navbar-nav.nav-dropdown {
        display: -webkit-flex;
    }
    .menu .collapsed .navbar-collapse {
        max-height: 93.5vh;
    }
    .menu .collapsed .navbar-collapse.show {
        overflow: auto;
    }
}
@media (max-width: 767px) {
    .menu .navbar-collapse {
        max-height: 80vh;
    }
}

.nav-link .icon {
    margin-right: 0.5rem;
}

.navbar {
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    -webkit-align-items: center;
    -webkit-justify-content: space-between;
}

.navbar-collapse {
    -webkit-flex-basis: 100%;
    -webkit-flex-grow: 1;
    -webkit-align-items: center;
}

.nav-dropdown .link {
    padding: 0.667em 1.667em !important;
    margin: 0 !important;
}

.nav {
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
}

.row {
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
}

.justify-content-center {
    -webkit-justify-content: center;
}

.card-wrapper {
    -webkit-flex: 1;
}

.carousel-control {
    z-index: 10;
    display: -webkit-flex;
}

.modal-dialog,
.modal-content {
    height: 100%;
}

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

.carousel-item img {
    margin: auto;
}

.navbar-toggler {
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
    text-decoration: none;
    box-shadow: none;
}

.menu .navbar.collapsed:not(.beta-menu) {
    flex-direction: column;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: flex;
}

html,
body {
    height: auto;
    min-height: 100vh;
}

:focus {
    outline: none;
}

.overlay {
    background-color: #000;
    bottom: 0;
    left: 0;
    opacity: 0.5;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
}

blockquote {
    font-style: italic;
    padding: 3rem;
    font-size: 1.09rem;
    position: relative;
    border-left: 3px solid;
}

ul,
ol,
blockquote {
    margin-bottom: 2.3125rem;
}

.mt-4 {
    margin-top: 2rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

@media (min-width: 992px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .row {
        margin-left: -16px;
        margin-right: -16px;
    }
    .row > [class*='col'] {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (min-width: 768px) {
    .container-fluid {
        padding-left: 32px;
        padding-right: 32px;
    }
}
.card-wrapper,
.item-wrapper {
    overflow: hidden;
}

.item {
    position: relative;
}

.dropdown-menu:hover {
    display: block;
}

/* ---------------------------------------------------------------- Polices */
@font-face {
    font-family: 'MADE-Tommy-Soft-Regular-PERSONAL-USE';
    font-display: swap;
    src: url('../fonts/tommy-soft/tommy-soft-regular.woff');
}

/* ---------------------------------------------------------------- Typographie, boutons, couleurs */
.btn {
    border-width: 2px;
}
body {
    font-family: Jost;
}
.type-display {
    font-family: 'MADE-Tommy-Soft-Regular-PERSONAL-USE';
    font-size: 4rem;
    line-height: 1.1;
}
.type-title {
    font-family: 'MADE-Tommy-Soft-Regular-PERSONAL-USE';
    font-size: 1.8rem;
    line-height: 1.1;
}
.type-text {
    font-family: 'MADE-Tommy-Soft-Regular-PERSONAL-USE';
    font-size: 1.2rem;
    line-height: 1.5;
}
.type-text > .icon {
    font-size: 1.5rem;
}
.type-subtitle {
    font-family: 'MADE-Tommy-Soft-Regular-PERSONAL-USE';
    font-size: 1.4rem;
    line-height: 1.5;
}
.type-lead {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
}
.type-lead > .icon {
    font-size: 1.75rem;
}
@media (max-width: 992px) {
    .type-display {
        font-size: 3.2rem;
    }
}
@media (max-width: 768px) {
    .type-display {
        font-size: 2.8rem;
        font-size: calc(2.05rem + (4 - 2.05) * ((100vw - 20rem) / (48 - 20)));
        line-height: calc(1.1 * (2.05rem + (4 - 2.05) * ((100vw - 20rem) / (48 - 20))));
    }
}
@media (max-width: 768px) {
    .type-title {
        font-size: 1.44rem;
        font-size: calc(1.28rem + (1.8 - 1.28) * ((100vw - 20rem) / (48 - 20)));
        line-height: calc(1.3 * (1.28rem + (1.8 - 1.28) * ((100vw - 20rem) / (48 - 20))));
    }
}
@media (max-width: 768px) {
    .type-text {
        font-size: 0.96rem;
        font-size: calc(1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20)));
        line-height: calc(1.4 * (1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20))));
    }
}
@media (max-width: 768px) {
    .type-subtitle {
        font-size: 1.12rem;
        font-size: calc(1.14rem + (1.4 - 1.14) * ((100vw - 20rem) / (48 - 20)));
        line-height: calc(1.4 * (1.14rem + (1.4 - 1.14) * ((100vw - 20rem) / (48 - 20))));
    }
}
@media (max-width: 768px) {
    .type-lead {
        font-size: 1.12rem;
        font-size: calc(1.14rem + (1.4 - 1.14) * ((100vw - 20rem) / (48 - 20)));
        line-height: calc(1.4 * (1.14rem + (1.4 - 1.14) * ((100vw - 20rem) / (48 - 20))));
    }
}
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
}
.btn-primary,
.btn-primary:active {
    background-color: #2379ee !important;
    border-color: #2379ee !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary.active {
    color: #ffffff !important;
    background-color: #0d51ad !important;
    border-color: #0d51ad !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-primary.disabled,
.btn-primary:disabled {
    color: #ffffff !important;
    background-color: #0d51ad !important;
    border-color: #0d51ad !important;
}
.btn-secondary,
.btn-secondary:active {
    background-color: #ff6666 !important;
    border-color: #ff6666 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary.active {
    color: #ffffff !important;
    background-color: #ff0f0f !important;
    border-color: #ff0f0f !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-secondary.disabled,
.btn-secondary:disabled {
    color: #ffffff !important;
    background-color: #ff0f0f !important;
    border-color: #ff0f0f !important;
}
.btn-info,
.btn-info:active {
    background-color: #2379ee !important;
    border-color: #2379ee !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info.active {
    color: #ffffff !important;
    background-color: #0d51ad !important;
    border-color: #0d51ad !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-info.disabled,
.btn-info:disabled {
    color: #ffffff !important;
    background-color: #0d51ad !important;
    border-color: #0d51ad !important;
}
.btn-warning,
.btn-warning:active {
    background-color: #17b55b !important;
    border-color: #17b55b !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus,
.btn-warning.active {
    color: #ffffff !important;
    background-color: #0d6834 !important;
    border-color: #0d6834 !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-warning.disabled,
.btn-warning:disabled {
    color: #ffffff !important;
    background-color: #0d6834 !important;
    border-color: #0d6834 !important;
}
.btn-danger,
.btn-danger:active {
    background-color: #ea763d !important;
    border-color: #ea763d !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus,
.btn-danger.active {
    color: #ffffff !important;
    background-color: #bc4c14 !important;
    border-color: #bc4c14 !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-danger.disabled,
.btn-danger:disabled {
    color: #ffffff !important;
    background-color: #bc4c14 !important;
    border-color: #bc4c14 !important;
}
.btn-white,
.btn-white:active {
    background-color: #fafafa !important;
    border-color: #fafafa !important;
    color: #7a7a7a !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-white:hover,
.btn-white:focus,
.btn-white.focus,
.btn-white.active {
    color: #4f4f4f !important;
    background-color: #cfcfcf !important;
    border-color: #cfcfcf !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-white.disabled,
.btn-white:disabled {
    color: #7a7a7a !important;
    background-color: #cfcfcf !important;
    border-color: #cfcfcf !important;
}
.btn-primary-outline,
.btn-primary-outline:active {
    background-color: transparent !important;
    border-color: #2379ee;
    color: #2379ee;
}
.btn-primary-outline:hover,
.btn-primary-outline:focus,
.btn-primary-outline.focus,
.btn-primary-outline.active {
    color: #0d51ad !important;
    background-color: transparent !important;
    border-color: #0d51ad !important;
    box-shadow: none !important;
}
.btn-primary-outline.disabled,
.btn-primary-outline:disabled {
    color: #ffffff !important;
    background-color: #2379ee !important;
    border-color: #2379ee !important;
}
.btn-warning-outline,
.btn-warning-outline:active {
    background-color: transparent !important;
    border-color: #17b55b;
    color: #17b55b;
}
.btn-warning-outline:hover,
.btn-warning-outline:focus,
.btn-warning-outline.focus,
.btn-warning-outline.active {
    color: #0d6834 !important;
    background-color: transparent !important;
    border-color: #0d6834 !important;
    box-shadow: none !important;
}
.btn-warning-outline.disabled,
.btn-warning-outline:disabled {
    color: #ffffff !important;
    background-color: #17b55b !important;
    border-color: #17b55b !important;
}
.text-primary {
    color: #2379ee !important;
}
.text-secondary {
    color: #ff6666 !important;
}
.text-success {
    color: #d065e6 !important;
}
.text-info {
    color: #2379ee !important;
}
.text-warning {
    color: #17b55b !important;
}
.text-white {
    color: #fafafa !important;
}
a.text-primary:hover,
a.text-primary:focus,
a.text-primary.active {
    color: #0c4a9f !important;
}
a.text-secondary:hover,
a.text-secondary:focus,
a.text-secondary.active {
    color: #ff0000 !important;
}
a.text-success:hover,
a.text-success:focus,
a.text-success.active {
    color: #a920c5 !important;
}
a.text-info:hover,
a.text-info:focus,
a.text-info.active {
    color: #0c4a9f !important;
}
a.text-warning:hover,
a.text-warning:focus,
a.text-warning.active {
    color: #0c5b2e !important;
}
a.text-white:hover,
a.text-white:focus,
a.text-white.active {
    color: #c7c7c7 !important;
}
a[class*='text-']:not(.nav-link):not(.dropdown-item):not([role]):not(.navbar-caption) {
    position: relative;
    background-image: transparent;
    background-size: 10000px 2px;
    background-repeat: no-repeat;
    background-position: 0px 1.2em;
    background-position: -10000px 1.2em;
}
a[class*='text-']:not(.nav-link):not(.dropdown-item):not([role]):not(.navbar-caption):hover {
    transition: background-position 2s ease-in-out;
    background-image: linear-gradient(currentColor 50%, currentColor 50%);
    background-position: 0px 1.2em;
}
.nav-tabs .nav-link.active {
    color: #2379ee;
}
.nav-tabs .nav-link:not(.active) {
    color: #232323;
}
.section-actions a.btn:not(.btn-form) {
    border-radius: 100px;
}
.nav-tabs .nav-link {
    border-radius: 100px !important;
}
a,
a:hover {
    color: #2379ee;
}
blockquote {
    border-color: #2379ee;
}
body {
    overflow-x: hidden;
}
a {
    transition: color 0.6s;
}

/* ---------------------------------------------------------------- Fond des pages */
html,
body {
    background-color: #232323;
}

/* Pas d'animation dans les fenêtres modales */
.no-anim {
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
}

/* Les fenêtres modales coupent les mots trop longs (comportement hérité des anciennes sections) */
.modal {
    overflow-wrap: break-word;
}

/* Barre de chargement de Turbo, entre deux pages */
.turbo-progress-bar {
    height: 3px;
    background: #2379ee;
}

/* Bouton Discord : centré sur la hauteur de la barre, et au milieu du menu mobile */
.site-nav .navbar-nav .nav-item--discord {
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
}
@media (max-width: 991px) {
    .site-nav .navbar-nav .nav-item--discord {
        margin: 0.5rem auto;
    }
}

/* Bouton Discord */
.site-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.nav-discord {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.nav-discord .icon {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1;
}
.nav-discord:hover,
.nav-discord:focus-visible {
    border-color: #5865f2;
    background: #5865f2;
}

/* Menu du joueur connecté (navbar) : tête Minecraft + pseudo */
.player-menu__toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}
.player-menu__name {
    word-break: normal;
}
.player-menu__head {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    image-rendering: pixelated;
}
.player-menu__dropdown {
    min-width: 100%;
    margin-top: 0.4rem !important;
}
.player-menu__dropdown .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
}
/* Même largeur pour toutes les icônes : les libellés restent alignés */
.player-menu__dropdown .dropdown-item > .icon,
.player-menu__icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
}
/* Au clic, Bootstrap retire data-bs-popper alors que le survol garde le menu affiché : il reste aligné à droite */
@media (min-width: 992px) {
    .player-menu .player-menu__dropdown {
        right: 0;
        left: auto;
    }
}

/* Message d'accueil après connexion : glisse depuis le haut puis disparaît seul */
.welcome-toast {
    position: fixed;
    top: 90px;
    left: 50%;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1.4rem 0.75rem 0.75rem;
    border-radius: 100px;
    background: #2b2b2b;
    border: 2px solid #2379ee;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
    transform: translateX(-50%);
    animation: welcome-toast 4.5s ease-in-out forwards;
}
.welcome-toast__head {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    image-rendering: pixelated;
}
.welcome-toast__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.welcome-toast__title {
    font-weight: 600;
}
.welcome-toast__subtitle {
    color: #bbbbbb;
    font-size: 0.85rem;
}
@keyframes welcome-toast {
    0% { opacity: 0; transform: translate(-50%, -24px) scale(0.95); }
    10% { opacity: 1; transform: translate(-50%, 0) scale(1); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -24px); visibility: hidden; }
}
@keyframes welcome-toast-fade {
    0%, 90% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
    .welcome-toast { animation-name: welcome-toast-fade; }
}

/* ---------------------------------------------------------------- Bandeau d'annonce (Dashboard > Paramètres) */
.site-announcement {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1040;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto;
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    border-radius: 14px;
    background: #2379ee;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.site-announcement[hidden] {
    display: none;
}
.site-announcement p {
    flex: 1;
    margin: 0;
}
.site-announcement button {
    flex: 0 0 auto;
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    color: inherit;
    font-size: 1.2rem;
    line-height: 1;
}
.site-announcement--success { background: #23a55a; }
.site-announcement--warning { background: #e08a1e; }
.site-announcement--danger { background: #d8434b; }
