/* Charte Skin & Bones
 * - rouge sang et blanc os en Rye : les deux univers, Skin et Bones, comme sur le logo
 * - or et Vogue : la voix de la maison, ce qui est commun au lieu (titres des sections communes)
 */
:root {
    --sb-encre: #0e0c0b;
    --sb-sang: #e0261b;
    --sb-os: #efe8da;
    --sb-or: #d4af37;
    --sb-nav-height: 64px;
    --sb-font-poster: "Rye", Georgia, serif;
    --sb-font-house: "Vogue", Georgia, serif;
    --sb-font-script: "Yesteryear", cursive;
    --sb-font-text: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
}

/* Base du site public (remplace celle de Bootstrap, retiré) */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--sb-encre);
    color: var(--sb-os);
    font-family: var(--sb-font-text);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

img,
svg {
    vertical-align: middle;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Filtre SVG d'usure (#sb-worn) déclaré dans templates/home/base.html.twig */
.sb-svg-defs {
    position: absolute;
}

/* Dorure façon enseigne peinte à la feuille d'or. Pas de text-shadow : avec un texte
   transparent il transparaîtrait à travers les lettres, d'où le drop-shadow. */
.sb-gilded {
    color: var(--sb-or);
    background: linear-gradient(170deg, #f3dc8a 0%, var(--sb-or) 45%, #a8841f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Bloc de date des affiches (macro poster_date) : guests, expositions, agenda */
.sb-poster-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .75rem .4rem;
    text-align: center;
    background: var(--sb-sang);
    color: var(--sb-os);
    border-right: 2px solid var(--sb-os);
}

.sb-poster-day {
    font-family: var(--sb-font-poster);
    font-size: 2.5rem;
    line-height: 1;
}

.sb-poster-month {
    font-weight: 800;
    font-size: 1.05rem;
}

.sb-poster-until {
    margin-top: .25rem;
    font-size: .9rem;
    opacity: .85;
}

/* Les ancres ne passent pas sous la barre de navigation collée en haut */
.sb-home section[id] {
    scroll-margin-top: var(--sb-nav-height);
}
