@layer base {
    body {
        font-family: "Open Sans", sans-serif;
        font-size: 16px;
        line-height: 1.7em;
    }
    a {
        color: #ab3a27;
    }
    h1, h2, h3, h4, h5, h6 {
        font-family: "Raleway", sans-serif;
        font-weight: 500;
        padding-bottom: 10px;
        line-height: 2.5em;
    }
    h1 { font-size: 34px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
}

.btn {
    @apply inline-block text-white no-underline transition-all duration-200;
    font-size: 20px;
    font-weight: 500;
    border-radius: 3px;
    padding: 6px 20px;
    line-height: 1.7em;
    background: transparent;
    border: 2px solid #ab3a27;
    color: #ab3a27;
    position: relative;
}
.btn:hover {
    background: rgba(0,0,0,0.05);
    border: 2px solid transparent;
    padding: 6px 34px 6px 14px;
    color: #ab3a27;
}

.bouton {
    font-family: "Raleway", sans-serif;
    display: inline-block;
    margin: 15px 0 0 0;
    padding: 5px 12px;
    background: #ab3b27;
    border: 1px solid rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-out;
    color: #e1efef;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 2px rgba(0, 0, 0, 0.3), 0 0 4px 1px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}
.bouton:hover {
    background: #89191a;
}

.hero-quote, .page-header {
    background: -webkit-linear-gradient(top, #ab3b27, #832e1e);
    background: linear-gradient(to bottom, #ab3b27, #832e1e);
}
.page-header {
    padding-top: 6rem;
    padding-bottom: 3.5rem;
}

blockquote.citation {
    border-left: 3px solid #ab3a27;
}

.textured-bg {
    background-image: url("/images/textured_paper.png");
    background-repeat: repeat;
}

#top-bar {
    height: 34px;
    line-height: 34px;
    padding: 0;
    overflow: hidden;
}
#top-bar .top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
#top-bar .top-bar-inner > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#main-header {
    top: 34px !important;
    transition: padding 0.2s ease;
}
#main-header.has-scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-chevron {
    display: inline-block;
    transition: transform 0.2s;
    margin-left: 4px;
}
.group:hover > a .nav-chevron {
    transform: rotate(180deg);
}

#main-header .logo-small {
    display: block;
}
#main-header .logo-full {
    display: none;
}
@media (min-width: 640px) {
    #main-header .logo-full {
        display: block;
    }
    #main-header .logo-small {
        display: none;
    }
    #main-header.has-scrolled .logo-full {
        display: none;
    }
    #main-header.has-scrolled .logo-small {
        display: block;
    }
}

main {
    padding-top: 106px;
}

@media (max-width: 767px) {
    main {
        padding-top: 130px;
    }
    #main-header {
        top: 58px !important;
    }
    .mobile-nav-item .mobile-sub-toggle svg {
        transition: transform 0.2s;
    }
    .mobile-nav-item .mobile-sub-toggle.active svg {
        transform: rotate(180deg);
    }
}

@media (min-width: 768px) {
    #main-header {
        top: 34px !important;
    }
}
