/* The daily index sits between the masthead and the opening spread. */
.desk-trends {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem 1.8rem;
    padding-block: .9rem;
    margin-block: 0 1.6rem;
    border-block: 1px solid #bdcdc6;
    font: 600 .9rem/1.5 Arial, Tahoma, sans-serif;
}
.trends-heading { display: grid; }
.trends-heading strong { color: #155b47; font: 650 1.35rem/1.25 var(--display-face); }
.trends-heading small, .desk-story time { font: 400 .74rem/1.55 Arial, Tahoma, sans-serif; color: #50635e; }
.desk-trends ul { display: flex; flex-wrap: wrap; gap: .45rem .65rem; list-style: none; padding: 0; margin: 0; }
.desk-trends a { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .65rem; border: 1px solid #d4ded7; color: var(--section-color); text-decoration: none; }
.desk-trends a span { font-size: .76rem; font-variant-numeric: tabular-nums; border-inline-start: 1px solid #d4ded7; padding-inline-start: .5rem; }
.desk-trends a:hover { background: var(--section-wash); }
.newsroom-sidebar :is(.desk-latest,.follow-desk,.desk-weather) h2 { margin: 0 0 .8rem; font: 600 1.5rem/1.35 var(--display-face); }
.follow-desk { background: #17473e; color: #fff; padding: 1.2rem 1.25rem 1.35rem; }
.follow-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.follow-links a, .desk-share :is(a,button) {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font: 600 .82rem/1.4 Arial, Tahoma, sans-serif;
    min-height: 2.35rem; padding: .45rem .7rem; text-decoration: none; cursor: pointer;
}
.follow-links a { background: #f3f7f2; color: #164b3c; border-radius: 2px; }
.follow-links .dashicons { font-size: 17px; width: 17px; height: 17px; }
.follow-links a:hover { background: #d9eadd; }
.desk-weather { padding: .9rem 1.25rem; background: #eef3f5; color: #243e4c; }
.desk-weather h2 { display: flex; gap: .4rem; align-items: center; }
.weather-hours { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-block: .65rem; }
.weather-hours > div { display: grid; gap: .2rem; border-inline-start: 1px solid #cbd8dd; padding-inline-start: .65rem; }
.weather-hours > div:first-child { border: none; padding: 0; }
.weather-hours strong { font: 550 clamp(1.15rem,2vw,1.6rem)/1.4 var(--display-face); }
.weather-hours time,.desk-weather small,.weather-link { font: 400 .78rem/1.7 Arial, Tahoma, sans-serif; }
.desk-latest { padding-block-start: 1rem; border-block-start: 3px solid #164b3c; }
.desk-story { display: flex; align-items: center; justify-content: space-between; gap: .9rem; min-width: 0; padding-block: .85rem; border-block-start: 1px solid #d8dfdb; text-decoration: none; }
.desk-story-copy { display: grid; gap: .35rem; min-width: 0; }
.desk-story strong { font: 570 1.2rem/1.18 var(--display-face); overflow-wrap: anywhere; }
[dir=rtl] .desk-story strong { line-height: 1.55; }
.desk-thumb { flex: 0 0 4.6rem; aspect-ratio: 1.33; overflow: hidden; }
.desk-thumb img { display: block; height: 100%; width: 100%; object-fit: cover; }
.desk-story:hover strong, .desk-story:focus-visible strong { text-decoration: underline; text-underline-offset: .13em; }
.desk-related { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: 0 1.4rem; }
.desk-share { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-block: 1rem; }
.share-label { margin-inline-end: .3rem; font: 600 .85rem/1.5 Arial,Tahoma,sans-serif; }
.desk-share :is(a,button) { color: #224a40; border: 1px solid #baccc2; background: transparent; border-radius: 2px; }
.desk-share :is(a,button):hover { background: #e7f0e9; }
.desk-share [hidden] { display: none; }
.desk-share button:focus-visible,.follow-links a:focus-visible { outline: 3px solid #b68011; outline-offset: 2px; }
.desk-share .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.reading-sheet .metadata { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1rem; }
.reading-sheet .article-content blockquote { margin-inline: 0; padding-inline-start: 1.15rem; border-inline-start: 3px solid #37755d; font-family: var(--display-face); font-size: 1.28em; }
.reading-sheet .article-content figure figcaption { color: #50635e; font: .86rem/1.6 Arial,Tahoma,sans-serif; }
.article-content :is(.nt-legal-status,.nt-en-bref) {
    margin-block: 1.5rem;
    padding: .8rem 1.15rem;
    border-inline-start: 3px solid #2a654f;
    background: #edf4ee;
    overflow-wrap: anywhere;
}
.article-content .nt-legal-status { background: #edf3f6; border-color: #345c73; }
.reading-sheet .article-content :is(.nt-en-bref,.nt-cas-pratique,.nt-sources,.nt-questions-frequentes) > h2:first-child {
    margin-block-start: .25em;
}
.article-content :is(.nt-cas-pratique,.nt-sources,.nt-questions-frequentes) {
    margin-block: 1.75rem;
    padding-block-start: 1rem;
    border-block-start: 1px solid #c9d6d0;
    overflow-wrap: anywhere;
}
.edition-letter { max-width: 70ch; margin: 2rem auto; padding: 1.1rem 1.5rem; background: #eaf2ec; border-inline-start: 3px solid #2a654f; }
.edition-letter h2 { margin: 0 0 .5rem; font: 600 1.65rem/1.4 var(--display-face); }
.edition-letter input { max-width: 100%; }
.category-legislation-reformes { --section-color: #126652; --section-wash: #e7f2ed; }
.category-justice-jurisprudence { --section-color: #77304a; --section-wash: #f7ecf1; }
.category-entreprises-affaires { --section-color: #254e80; --section-wash: #edf2f9; }
.category-fonction-publique { --section-color: #594273; --section-wash: #f3eef7; }
.category-travail-social { --section-color: #805022; --section-wash: #faf1e5; }
.category-fiscalite-finances { --section-color: #3b5952; --section-wash: #edf3ef; }
.category-institutions-collectivites { --section-color: #45566c; --section-wash: #edf1f6; }
.archive-section .archive-masthead {
    display: grid;
    gap: .35rem;
    background: var(--section-wash, #eaf1ed);
    border-block-start: 4px solid var(--section-color);
    padding: clamp(1rem, 3vw, 2rem);
}
.archive-masthead h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.15; }
[dir=rtl] .archive-masthead h1 { line-height: 1.45; }
.archive-masthead p { margin: 0; color: #314952; max-width: 58ch; }
.category-section .category-grid.archive-lead { padding-block: 1rem; }
.archive-list-title, .editorial-digest > h2 { margin-block: .65rem; font: 600 1.6rem/1.35 var(--display-face); }
.archive-list .desk-thumb, .editorial-digest .desk-thumb { flex-basis: clamp(4.25rem, 15vw, 8rem); }
.editorial-digest { padding-block-start: .7rem; margin-block-end: 2rem; border-block-start: 3px solid #13634e; }

/* Magazine cover and section index. */
.home .magazine > .demo-banner { margin-block-end: .65rem; }
.home .magazine > .section-heading { margin-block-end: .65rem; }
.home .magazine > .section-heading h1 { font-size: clamp(1.65rem, 2.55vw, 2.45rem); }
.home .front-spread {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 0 1rem;
    padding-block: 0;
    border: 0;
}
.home .front-spread.spread-count-1 { grid-template-columns: minmax(0, 1fr); }
.home .opening-story {
    display: grid;
    grid-template-rows: auto 1fr;
    background: #102f32;
    color: #fffdfa;
}
.home .opening-story .card-picture img { aspect-ratio: 2.75; }
.home .opening-story .card-copy { padding: clamp(1.1rem, 2.7vw, 2rem); overflow-wrap: anywhere; }
.home .opening-story h2 { font-size: clamp(2rem, 3.3vw, 3.3rem); }
.home .opening-story .card-date,
.home .opening-story .card-copy > p { color: #e0ebe4; }
.home .opening-story .category-label,
.home .opening-story .demo-label,
.home .opening-story a:hover { color: #b7efd6; }
.home .opening-story a:focus-visible { outline-color: #b7efd6; }
.home .opening-story:has(.card-picture:empty) { grid-template-rows: 1fr; }
.home .companion-story { background: #f1f4ef; padding: .8rem 1rem; column-gap: .7rem; }
.home .companion-story h2 { font-size: clamp(1.16rem, 1.65vw, 1.52rem); }
.home .companion-story .card-labels { margin-bottom: .22rem; }
.section-directory { margin-block: 1.8rem; }
.section-directory h2 { margin: 0 0 .6rem; font: 600 1.55rem/1.35 var(--display-face); }
.section-directory ul {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0; margin: 0; list-style: none; gap: .5rem;
}
.section-directory a {
    display: flex; align-items: center;
    min-height: 3.15rem; height: 100%; padding: .65rem .85rem;
    border-inline-start: 3px solid var(--section-color);
    background: var(--section-wash, #eaf1ed);
    color: var(--section-color);
    font: 650 .9rem/1.55 Arial,Tahoma,sans-serif;
    text-decoration: none; overflow-wrap: anywhere;
}
.section-directory a:hover { text-decoration: underline; }
.archive-section .archive-masthead {
    background: var(--section-color);
    color: #fff;
    border: 0;
}
.archive-section .archive-masthead p { color: #fff; }
.reading-layout { margin-block-start: 1.4rem; }
@media (max-width: 760px) {
    .home .front-spread { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
    .home .front-spread .opening-story { padding: 0; border: 0; }
    .home .opening-story .card-picture img { aspect-ratio: 1.8; }
    .section-directory ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion:no-preference) {
    .desk-trends a,.desk-share :is(a,button),.follow-links a { transition: background-color 160ms ease-out; }
    @media (hover:hover) {
        .desk-thumb img { transition: transform 220ms ease-out; }
        .desk-story:hover img { transform: scale(1.04); }
    }
}
@media (max-width: 760px) {
    .desk-trends { align-items: start; gap: .6rem; }
    .trends-heading { width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; }
    .desk-trends ul { gap: .35rem; }
}
@media print {
    .site-header,.footer,.newsroom-sidebar,.desk-share,.related-reading,.edition-letter,.skip { display: none !important; }
    .reading-layout { display: block; }
    .reading-sheet { color: #000; background: #fff; }
    .reading-cover img { max-height: 18rem; }
    .reading-sheet h2 { break-after: avoid; }
}
