@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/nunito-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ripese-color-marine:      #0e2640;

    --ripese-largeur-outils-hero: 900px;
    --ripese-color-chartreuse:  #dbe7a6;
    --ripese-color-chartreuse-survol: #c8d895;
    --ripese-color-corail:      #f57479;
    --ripese-color-peche:       #fccd94;
    --ripese-color-teal:        #28404b;
    --ripese-color-rose-pale:   #f7bfb7;

    --ripese-state-focus:          var(--ripese-color-teal, #28404b);
    --ripese-state-focus-anneau:   #ffffff;
    --ripese-state-error-texte:    #a32226;
    --ripese-state-hover-overlay:  rgba(14, 38, 64, 0.08);
    --ripese-state-disabled:       #b0b0b0;

    --ripese-color-gris-texte:     #6b7280;
    --ast-form-input-text:         var(--ripese-color-marine, #0e2640);
    --ast-form-input-focus-text:   var(--ripese-color-marine, #0e2640);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    overflow-x: clip;
}

input::placeholder,
textarea::placeholder {
    color: var(--ripese-color-gris-texte, #6b7280);
    opacity: 1;
}

body {
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.ripese-breadcrumb {
    font-size: 0.875rem;
    color: var(--ripese-color-gris-texte, #6b7280);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.ripese-breadcrumb a {
    color: var(--ripese-color-marine, #0e2640);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ripese-breadcrumb a:hover {
    color: var(--ripese-color-teal, #28404b);
    text-decoration-thickness: 2px;
}

.ripese-breadcrumb a:focus {
    outline: 3px solid var(--ripese-state-focus, #28404b);
    outline-offset: 2px;
}

.ripese-breadcrumb .ripese-breadcrumb__liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ripese-breadcrumb .ripese-breadcrumb__maillon {
    display: inline;
    margin: 0;
    padding: 0;
}

.ripese-breadcrumb span[aria-hidden="true"] {
    margin: 0 0.25rem;
    color: var(--ripese-color-gris-texte, #6b7280);
}

.ripese-breadcrumb span[aria-current="page"] {
    color: var(--ripese-color-gris-texte, #6b7280);
}

.ripese-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.ripese-single-rpe__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.ripese-single-rpe__titre {
    margin: 0;
    flex: 1;
}

.ripese-single-rpe__cta-header {
    flex-shrink: 0;
    white-space: nowrap;
}

.ripese-single-rpe__photo,
.ripese-single-territoire__photo {
    margin: 0 0 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

.ripese-single-rpe__photo img,
.ripese-single-territoire__photo img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

h1,
h2,
h3 {
    font-family: 'Nunito', sans-serif;
    line-height: 1.2;
}

h1,
h2 {
    text-wrap: balance;
}

#content {
    margin-top: 93px;
    margin-top: var(--navbar-height, 93px);
}

@media (min-width: 768px) and (max-width: 921px) {
    #content {
        margin-top: 100px;
        margin-top: var(--navbar-height, 100px);
    }
}

@media (min-width: 922px) {
    #content {
        margin-top: 110px;
        margin-top: var(--navbar-height, 110px);
    }
}

body.ast-plain-container.ast-no-sidebar:not(.home) #primary {
    margin-top: 4em;
    margin-bottom: 4em;
}

@media (max-width: 921px) {
    body.single-rpe.ast-separate-container #primary,
    body.single-territoire.ast-separate-container #primary,
    body.single-post.ast-separate-container #primary {
        padding-bottom: 4em;
    }
}

body.post-type-archive-tribe_events.ast-separate-container,
body.single-tribe_events.ast-separate-container {
    background-color: var(--ast-global-color-5, #f8f8f5);
}

.ripese-colonnes-cta-alignes > .wp-block-column {
    display: flex;
    flex-direction: column;
}

.ripese-colonnes-cta-alignes > .wp-block-column > .wp-block-buttons {
    margin-top: auto;
}

.ripese-chiffres.wp-block-columns {
    gap: 16px;
}

.ripese-chiffres > .wp-block-column {
    background: var(--ripese-color-blanc, #ffffff);
    border-radius: 12px;
    padding: 24px;
}

.ripese-chiffres > .wp-block-column > p.has-titre-font-size {
    line-height: 1.2;
    margin-bottom: 6px;
}

.ripese-chiffres > .wp-block-column > p:last-child {
    margin-top: 0;
    margin-block-start: 0;
}

.ripese-chiffres > .wp-block-column > p.has-titre-font-size > strong {
    font-family: var(--ripese-font-title, 'Nunito', sans-serif);
    font-weight: 600;
    font-size: 32px;
    color: var(--ripese-color-marine, #0e2640);
}

@media (min-width: 922px) {
    .ripese-chiffres > .wp-block-column > p.has-titre-font-size > strong {
        font-size: 40px;
    }
}

.ripese-chiffres > .wp-block-column > p:last-child {
    margin-bottom: 0;
}

.ripese-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
