/* Shared compact page edges and article reading layout. */
body {
    --am-page-gutter: clamp(16px, 1.5vw, 24px);
    background-color: #fff;
}
body #site-navigation { margin-bottom: 0; }
/* The area above the editorial content must not reserve an empty ad slot. */
#page > .google-auto-placed,
#page > #content > .google-auto-placed,
#primary > .google-auto-placed,
#primary > #main > .google-auto-placed,
.single-post .gb-container-32db1aec > .google-auto-placed {
    display: none !important;
}
body:not(.home) #page #content { padding-top: 28px; }
.single-post #main .gb-container-19cde336,
.single-post #main .gb-container-32db1aec { min-width: 0; }
.single-post #main .gb-container-32db1aec { margin-bottom: 22px; }
.single-post #main .gb-container-ffeb4c17 { margin: 0 0 12px; }
.single-post #main .wp-block-post-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4;
}
.single-post #main .wp-block-post-terms a { color: var(--am-logo-red, #c90021); }
.single-post #main h1.gb-headline-d0e59bc7 {
    max-width: 36ch;
    margin: 0 0 18px;
    color: var(--am-forest, #123d2b);
    font-size: clamp(34px, 3.2vw, 46px);
    line-height: 1.08;
    letter-spacing: -.025em;
    text-wrap: pretty;
    overflow-wrap: break-word;
}
.am-article-standfirst {
    max-width: 72ch;
    margin: 0 0 20px;
    color: #44564c;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 400;
}
.am-article-standfirst p { margin: 0 0 .6em; }
.am-article-standfirst p:last-child { margin-bottom: 0; }
.am-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 18px;
    padding: 14px 0;
    border-top: 1px solid #dfe6e1;
    border-bottom: 1px solid #dfe6e1;
    color: #59685f;
    font-size: 13px;
    line-height: 1.5;
}
.am-article-author a { font-weight: 700; color: var(--am-forest, #123d2b); }
.am-article-author a:hover { color: var(--am-logo-red, #c90021); }
.am-reading-time { white-space: nowrap; }
.single-post #main .gb-container-87f6d982 {
    margin: 0 0 26px;
    overflow: visible;
    border-radius: 0;
}
.single-post #main .gb-container-87f6d982 figure { margin: 0; }
.single-post #main .gb-container-87f6d982 img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 4px;
}
.single-post #main .gb-container-87f6d982 .am-portrait-photo img {
    object-fit: contain;
    background: #f1f4f2;
}
.single-post #main .gb-container-87f6d982 figcaption {
    position: static;
    width: auto;
    margin: 0;
    padding: 9px 0 0;
    color: #59685f;
    background: transparent;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
    box-sizing: border-box;
}
.single-post #main .gb-container-87f6d982 figcaption::before,
.single-post #main .gb-container-87f6d982 figcaption::after { content: none; }
.single-post #main .main-entry-content {
    max-width: 80ch;
    margin: 0 auto 36px;
    font-size: 19px;
    line-height: 1.7;
    color: #283b30;
    overflow-wrap: break-word;
}
.single-post #main .main-entry-content p { margin-bottom: 1.25em; }

/* Every article opens with a bold paragraph and a responsive drop cap. */
.single-post #main .dynamic-entry-content > p:first-of-type {
    font-weight: 700;
    display: flow-root;
}
.single-post #main .dynamic-entry-content > p:first-of-type::first-letter {
    float: left;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.6em;
    font-weight: 700;
    line-height: .82;
    margin: .09em .12em 0 0;
    color: var(--am-forest, #123d2b);
}
@media (max-width: 768px) {
    .single-post #main .dynamic-entry-content > p:first-of-type::first-letter {
        font-size: 3.2em;
        margin-top: .1em;
    }
}
.single-post #main .main-entry-content :is(h2,h3,h4) {
    color: var(--am-forest, #123d2b);
    margin-top: 1.3em;
    margin-bottom: .6em;
    line-height: 1.2;
    text-wrap: pretty;
}
.single-post #main .main-entry-content h2 { font-size: 29px; }
.single-post #main .main-entry-content h3 { font-size: 24px; }
.single-post #main .main-entry-content img { max-width: 100%; height: auto; }
.single-post #main .main-entry-content a:not(.ns-button) { text-underline-offset: 3px; }
.single-post #main .main-entry-content blockquote {
    margin: 28px 0;
    padding: 12px 24px;
    border-left: 3px solid var(--am-logo-red, #c90021);
    color: var(--am-forest, #123d2b);
}
.single-post #main .ns-buttons.ns-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 26px;
    padding: 12px 0;
    border-bottom: 1px solid #dfe6e1;
}
.single-post #main .ns-buttons.ns-inline::before {
    content: "Partager";
    color: #59685f;
    font-size: 12px;
    font-weight: 600;
}
.single-post #main .ns-inline .ns-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}
.single-post #main .ns-inline .ns-button {
    min-height: 44px;
    min-width: 44px;
    margin: 0;
}
.single-post #main .ns-inline .ns-button-wrapper {
    display: flex;
    align-items: center;
    min-height: 44px;
    background-color: var(--am-forest, #123d2b);
    border-radius: 3px;
}
.single-post #main .ns-inline .ns-button .ns-button-icon,
.single-post #main .ns-inline .ns-button .ns-button-label {
    background: transparent;
    color: #fff;
}
.single-post #main .ns-inline .ns-button:is(:hover,:focus-visible) .ns-button-wrapper {
    background-color: var(--am-logo-red, #c90021);
}
.single-post #main a:focus-visible,
#right-sidebar a:focus-visible {
    outline: 2px solid var(--am-logo-red, #c90021);
    outline-offset: 3px;
}
#right-sidebar .am-news-rail {
    padding: 16px;
    border: 1px solid #dfe6e1;
    border-top: 3px solid var(--am-logo-red, #c90021);
    background: #f6f8f6;
    border-radius: 3px;
}
#right-sidebar .am-news-heading { border-top: 0; padding-top: 0; }
#right-sidebar .am-news-controls button { min-width: 36px; min-height: 36px; }
#right-sidebar .am-news-list li { border-bottom-color: #dfe6e1; }
#right-sidebar .am-all-news { min-height: 38px; }
@media (min-width: 901px) and (min-height: 600px) {
    #page #right-sidebar .inside-right-sidebar {
        position: sticky;
        top: 24px;
    }
    #right-sidebar .am-news-scroll {
        height: clamp(220px, 55vh, 520px);
        max-height: calc(100dvh - 210px);
    }
}
.am-related { margin-top: 36px; }
.am-related-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-top: 3px solid var(--am-forest, #123d2b);
    padding-top: 18px;
    margin-bottom: 20px;
}
.single-post #main .am-related-heading h2 { margin: 0; font-size: 28px; color: var(--am-forest, #123d2b); }
.am-related-heading > span { font-size: 12px; color: #59685f; }
.am-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 20px; }
.am-related-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.am-related-image { display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #edf2ed; border-radius: 3px; margin-bottom: 12px; }
.am-related-image img { display: block; width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; }
.am-related-placeholder { display: grid; place-items: center; height: 100%; color: var(--am-forest, #123d2b); font-weight: 700; }
.am-related-category { font-size: 12px; font-weight: 700; color: var(--am-logo-red, #c90021); margin-bottom: 7px; }
.single-post #main .am-related-card h3 { font-size: 21px; line-height: 1.2; margin: 0 0 12px; }
.am-related-card h3 a { color: var(--am-forest, #123d2b); }
.am-related-card h3 a:is(:hover,:focus-visible) { color: var(--am-logo-red, #c90021); }
.am-related-card time { margin-top: auto; font-size: 12px; color: #59685f; }
.single-post #comments { margin-top: 36px; }
@media (max-width: 900px) {
    #right-sidebar .inside-right-sidebar { position: static; }
    .am-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
    body:not(.home) #page #content { padding-top: 18px; }
    .single-post #main .gb-container-32db1aec { margin-bottom: 18px; }
    .single-post #main h1.gb-headline-d0e59bc7 { font-size: clamp(28px, 7.6vw, 36px); line-height: 1.1; margin-bottom: 16px; }
    .am-article-standfirst { font-size: 20px; line-height: 1.45; }
    .am-article-meta { font-size: 12px; gap: 6px 14px; padding: 12px 0; }
    .am-article-author { flex-basis: 100%; }
    .single-post #main .gb-container-87f6d982 { margin-bottom: 18px; }
    .single-post #main .gb-container-87f6d982 img { max-height: 380px; }
    .single-post #main .main-entry-content { max-width: none; font-size: 18px; line-height: 1.65; }
    .single-post #main .main-entry-content h2 { font-size: 25px; }
    .single-post #main .main-entry-content h3 { font-size: 22px; }
    .single-post #main .ns-buttons.ns-inline { gap: 8px; padding-top: 0; margin-bottom: 22px; }
    .single-post #main .ns-inline .ns-button-label { display: none; }
    .single-post #main .ns-inline .ns-button-icon { width: 44px; }
    .am-related-heading > span { display: none; }
    #right-sidebar .am-news-controls button { min-width: 44px; min-height: 44px; }
    #right-sidebar .am-news-scroll { height: 250px; max-height: none; }
    #right-sidebar .am-news-rail { padding: 14px; }
}
@media (max-width: 599px) {
    .am-related-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .single-post #main .am-related-card h3 { font-size: 22px; }
}
