/*
Theme Name: Droit Éditorial
Theme URI: https://droit-travail-licenciement.fr/
Author: Marc P.
Author URI: https://droit-travail-licenciement.fr/
Description: Thème éditorial WordPress pour un blog juridique. Mise en page de magazine, titres amples, navigation compacte et image principale volontairement plus petite sur les articles.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: droit-editorial
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready, block-styles, wide-blocks
*/

:root {
  --de-accent: #8e1537;
  --de-accent-dark: #651029;
  --de-ink: #171717;
  --de-muted: #6e6965;
  --de-paper: #ffffff;
  --de-banner-height: 250px;
  --de-banner-overlay: .62;
  --de-soft: #f5f1ec;
  --de-line: #dcd6d0;
  --de-max: 1240px;
  --de-reading: 780px;
  --de-featured-width: 720px;
  --de-radius: 0;
  --de-shadow: 0 18px 50px rgba(25, 18, 18, .08);
  --de-serif: Georgia, 'Times New Roman', Times, serif;
  --de-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--de-ink);
  background: var(--de-paper);
  font-family: var(--de-sans);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--de-accent); text-decoration-thickness: .08em; text-underline-offset: .15em; }
a:hover { color: var(--de-accent-dark); }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute!important; width: 1px;
}
.screen-reader-text:focus {
  clip: auto!important; clip-path: none; display: block; height: auto; left: 8px; top: 8px;
  width: auto; z-index: 100000; background: #fff; color: #000; padding: 12px 16px;
}

.de-container { width: min(calc(100% - 40px), var(--de-max)); margin-inline: auto; }
.de-reading { width: min(calc(100% - 40px), var(--de-reading)); margin-inline: auto; }

.site-header { background: #fff; position: relative; z-index: 50; }
.site-header__accent { height: 7px; background: var(--de-accent); }
.site-header__main { border-bottom: 1px solid var(--de-line); }
.site-header__inner {
  min-height: 102px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px;
}
.site-branding { display: flex; align-items: center; gap: 18px; min-width: 0; }
.custom-logo-link { display: inline-flex; flex: 0 0 auto; }
.custom-logo { max-height: 64px; width: auto; }
.site-title {
  margin: 0; font-family: var(--de-serif); font-size: clamp(1.65rem, 3vw, 2.55rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -.035em;
}
.site-title a { color: var(--de-ink); text-decoration: none; }
.site-description { margin: 8px 0 0; color: var(--de-muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  border: 1px solid var(--de-line); background: #fff; color: var(--de-ink); text-decoration: none; cursor: pointer;
}
.menu-toggle:hover { border-color: var(--de-accent); color: var(--de-accent); }
.menu-toggle { display: none; }

.primary-navigation { background: var(--de-ink); color: #fff; }
.primary-navigation .de-container { display: flex; align-items: center; }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.primary-menu li { position: relative; }
.primary-menu > li > a {
  display: block; color: #fff; text-decoration: none; padding: 17px 18px 15px; font-size: .76rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .075em; border-bottom: 3px solid transparent;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a { border-bottom-color: var(--de-accent); background: rgba(255,255,255,.045); }
.primary-menu .sub-menu {
  list-style: none; position: absolute; left: 0; top: 100%; min-width: 250px; margin: 0; padding: 8px 0;
  background: #fff; border: 1px solid var(--de-line); box-shadow: var(--de-shadow); opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: .18s ease;
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-menu .sub-menu a { display: block; padding: 10px 18px; color: var(--de-ink); text-decoration: none; font-size: .9rem; }
.primary-menu .sub-menu a:hover { color: var(--de-accent); background: var(--de-soft); }

.site-main { min-height: 55vh; }
.de-page-hero {
  position: relative;
  min-height: var(--de-banner-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ededed;
  border-bottom: 1px solid var(--de-line);
}
.de-page-hero__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.de-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255,255,255,var(--de-banner-overlay));
  pointer-events: none;
}
.de-page-hero__inner {
  position: relative;
  width: min(calc(100% - 40px), var(--de-max));
  z-index: 3;
  text-align: center;
  padding: 26px 0;
}
.de-page-hero__title {
  margin: 0 auto;
  width: min(100%, 1080px);
  color: var(--de-ink);
  font-family: var(--de-serif);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -.045em;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
}
body.page .page-content { padding-top: 38px; }
.single-post .article-header { padding: 26px 0 18px; }
.single-post .article-header .article-kicker { margin-bottom: 10px; }
.single-post .article-header .article-deck { margin-top: 12px; }
@media (max-width: 760px) {
  .de-page-hero__inner { width: min(calc(100% - 28px), var(--de-max)); }
}
.breadcrumbs-wrap { border-bottom: 1px solid var(--de-line); background: #fff; }
.breadcrumbs { padding: 12px 0; color: var(--de-muted); font-size: .78rem; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--de-accent); }

.article-header { padding: clamp(48px, 7vw, 92px) 0 30px; text-align: center; }
.article-kicker {
  display: inline-block; margin-bottom: 19px; color: var(--de-accent); font-size: .75rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.entry-title {
  width: min(100%, 1040px); margin: 0 auto; font-family: var(--de-serif); font-size: clamp(2.35rem, 5.5vw, 5.35rem);
  line-height: .99; letter-spacing: -.052em; font-weight: 700;
}
.article-deck {
  width: min(100%, 820px); margin: 26px auto 0; color: #4b4744; font-family: var(--de-serif);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.55;
}
.entry-meta { margin-top: 24px; color: var(--de-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .075em; }
.entry-meta a { color: inherit; text-decoration: none; }
.entry-meta .sep { margin: 0 8px; color: var(--de-line); }

.single-featured {
  width: min(calc(100% - 40px), var(--de-featured-width)); margin: 24px auto 54px; background: var(--de-soft);
  overflow: hidden; box-shadow: var(--de-shadow);
}
.single-featured img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.single-featured figcaption { padding: 9px 12px; color: var(--de-muted); font-size: .72rem; line-height: 1.4; background: #fff; }

.article-layout { width: min(calc(100% - 40px), 1120px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 780px) 280px; gap: 60px; align-items: start; }
.entry-content { font-family: var(--de-serif); font-size: 1.09rem; color: #262321; }
.entry-content > * { margin-top: 0; margin-bottom: 1.45em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--de-ink); font-family: var(--de-sans); line-height: 1.18; letter-spacing: -.025em; scroll-margin-top: 100px; }
.entry-content h2 { margin-top: 2.15em; font-size: clamp(1.65rem, 3vw, 2.45rem); }
.entry-content h3 { margin-top: 1.8em; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.entry-content p:first-child { font-size: 1.18em; }
.entry-content a { font-weight: 600; }
.entry-content blockquote {
  margin: 2.2em 0; padding: 10px 0 10px 32px; border-left: 6px solid var(--de-accent); color: var(--de-ink);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.45; font-style: italic;
}
.entry-content blockquote p { margin: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .55em; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--de-sans); font-size: .9rem; }
.entry-content th, .entry-content td { border: 1px solid var(--de-line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--de-soft); }
.entry-content .wp-block-image.alignwide { margin-left: max(-100px, calc((780px - 100vw) / 2)); margin-right: max(-100px, calc((780px - 100vw) / 2)); }
.alignwide { max-width: 1040px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.article-sidebar { position: sticky; top: 24px; border-top: 5px solid var(--de-accent); padding-top: 18px; }
.widget { margin-bottom: 38px; }
.widget-title { margin: 0 0 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 10px 0; border-bottom: 1px solid var(--de-line); font-size: .9rem; line-height: 1.45; }
.widget a { color: var(--de-ink); text-decoration: none; }
.widget a:hover { color: var(--de-accent); }
.search-form { display: flex; }
.search-field { width: 100%; border: 1px solid var(--de-line); padding: 10px 12px; border-radius: 0; }
.search-submit { border: 0; background: var(--de-accent); color: #fff; padding: 10px 14px; cursor: pointer; }

.entry-footer { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--de-line); font-family: var(--de-sans); font-size: .82rem; color: var(--de-muted); }
.entry-footer a { color: var(--de-ink); }
.author-box { margin: 58px 0; padding: 30px; display: grid; grid-template-columns: 78px 1fr; gap: 22px; background: var(--de-soft); }
.author-box__avatar img { border-radius: 50%; }
.author-box h2 { margin: 0 0 6px; font-family: var(--de-sans); font-size: 1.1rem; }
.author-box p { margin: 0; font-family: var(--de-sans); font-size: .9rem; }
.post-navigation { margin: 0 auto 72px; width: min(calc(100% - 40px), 1120px); border-top: 1px solid var(--de-line); border-bottom: 1px solid var(--de-line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; }
.post-navigation a { display: block; min-height: 130px; padding: 28px; color: var(--de-ink); text-decoration: none; }
.post-navigation .nav-next { text-align: right; border-left: 1px solid var(--de-line); }
.post-navigation .nav-subtitle { display: block; color: var(--de-accent); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-navigation .nav-title { display: block; margin-top: 6px; font-family: var(--de-serif); font-size: 1.05rem; line-height: 1.35; }

.archive-header { padding: 62px 0 38px; border-bottom: 1px solid var(--de-line); background: var(--de-soft); }
.archive-title { margin: 0; font-family: var(--de-serif); font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.045em; }
.archive-description { max-width: 760px; color: var(--de-muted); }
.posts-grid { padding: 54px 0 84px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 28px; }
.post-card { border-top: 5px solid var(--de-ink); }
.post-card__thumb { display: block; margin-top: 14px; overflow: hidden; background: var(--de-soft); }
.post-card__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.025); }
.post-card__body { padding-top: 16px; }
.post-card__meta { color: var(--de-accent); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.post-card__title { margin: 8px 0 10px; font-family: var(--de-serif); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.12; letter-spacing: -.025em; }
.post-card__title a { color: var(--de-ink); text-decoration: none; }
.post-card__excerpt { margin: 0; color: var(--de-muted); font-size: .92rem; line-height: 1.6; }
.pagination { grid-column: 1 / -1; margin-top: 34px; }
.nav-links .page-numbers { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; border: 1px solid var(--de-line); color: var(--de-ink); text-decoration: none; }
.nav-links .current, .nav-links a:hover { background: var(--de-accent); color: #fff; border-color: var(--de-accent); }

.magazine-hero { background: var(--de-soft); border-bottom: 1px solid var(--de-line); padding: 46px 0 54px; }
.magazine-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); gap: 40px; }
.lead-story { position: relative; }
.lead-story__thumb { display: block; overflow: hidden; background: #ddd; }
.lead-story__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lead-story__content { width: 90%; margin: -54px 0 0 0; position: relative; background: #fff; padding: 27px 30px 28px; border-top: 6px solid var(--de-accent); box-shadow: var(--de-shadow); }
.lead-story__title { margin: 6px 0 10px; font-family: var(--de-serif); font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.045em; }
.lead-story__title a { color: var(--de-ink); text-decoration: none; }
.hero-list { border-top: 6px solid var(--de-ink); }
.hero-list__item { padding: 21px 0; border-bottom: 1px solid var(--de-line); }
.hero-list__item h2 { margin: 6px 0 0; font-family: var(--de-serif); font-size: 1.35rem; line-height: 1.2; }
.hero-list__item h2 a { color: var(--de-ink); text-decoration: none; }
.section-heading { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.section-heading::after { content: ''; height: 1px; flex: 1; background: var(--de-line); }
.home-latest { padding: 64px 0 90px; }

.page-header { padding: 64px 0 30px; text-align: center; }
.page-title { margin: 0; font-family: var(--de-serif); font-size: clamp(2.4rem, 5vw, 4.9rem); line-height: 1; letter-spacing: -.045em; }
.page-content { padding-bottom: 72px; }

.comments-area { width: min(calc(100% - 40px), var(--de-reading)); margin: 0 auto 80px; }
.comments-title { font-family: var(--de-serif); }
.comment-list { list-style: none; padding: 0; }
.comment-body { margin-bottom: 24px; padding: 22px; border: 1px solid var(--de-line); }
.comment-meta { font-size: .82rem; }
.comment-content { font-family: var(--de-serif); }
.comment-respond { padding-top: 20px; }
.comment-form label { display: block; font-weight: 700; font-size: .82rem; }
.comment-form input:not([type='checkbox']), .comment-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--de-line); }
.form-submit .submit { border: 0; background: var(--de-accent); color: #fff; padding: 12px 20px; cursor: pointer; }

.site-footer { margin-top: auto; background: #171313; color: rgba(255,255,255,.78); }
.site-footer a { color: #fff; }
.site-footer__top { padding: 64px 0 48px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.footer-brand .site-title { color: #fff; font-size: 2rem; }
.footer-brand p { max-width: 360px; font-size: .88rem; }
.site-footer .widget-title { color: #fff; }
.site-footer .widget li { border-color: rgba(255,255,255,.13); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; font-size: .76rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }

.not-found { padding: 90px 0; text-align: center; }
.not-found__code { color: var(--de-accent); font-family: var(--de-serif); font-size: 8rem; line-height: 1; }

@media (max-width: 980px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; width: min(calc(100% - 40px), var(--de-reading)); }
  .article-sidebar { position: static; margin-top: 48px; }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .magazine-hero__grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .de-container, .de-reading, .single-featured, .article-layout, .post-navigation, .comments-area { width: min(calc(100% - 28px), var(--de-max)); }
  .site-header__inner { min-height: 80px; gap: 12px; }
  .site-description { display: none; }
  .custom-logo { max-height: 48px; }
  .menu-toggle { display: inline-flex; }
  .primary-navigation { display: none; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .de-container { display: block; width: 100%; }
  .primary-menu { display: block; }
  .primary-menu > li > a { padding-inline: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .primary-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(255,255,255,.05); }
  .primary-menu .sub-menu a { color: #fff; padding-left: 38px; }
  .article-header { padding-top: 42px; }
  .entry-title { font-size: clamp(2.15rem, 12vw, 3.65rem); }
  .article-deck { font-size: 1.05rem; }
  .single-featured { margin-bottom: 38px; }
  .entry-content { font-size: 1.02rem; }
  .author-box { grid-template-columns: 58px 1fr; padding: 22px; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { border-left: 0; border-top: 1px solid var(--de-line); }
  .posts-grid { grid-template-columns: 1fr; }
  .lead-story__content { width: calc(100% - 20px); margin-top: -30px; padding: 21px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom-inner { display: block; }
  .footer-menu { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition: none!important; animation: none!important; }
}


/* ==========================================================
   Droit Editorial 1.1 — identité visuelle et lecture juridique
   ========================================================== */
:root {
  --de-reading: 920px;
  --de-logo-green: #b6e819;
  --de-logo-green-deep: #075b58;
  --de-body-grey: #f7f8f5;
  --de-grid-green: rgba(182, 232, 25, .035);
}

body {
  background: var(--de-body-grey);
}

/* Lecture plus large, tout en conservant une longueur de ligne raisonnable. */
.de-reading {
  width: min(calc(100% - 40px), var(--de-reading));
}
.article-layout {
  width: min(calc(100% - 40px), 1240px);
  grid-template-columns: minmax(0, 900px) 260px;
  gap: 48px;
}
.entry-content {
  font-size: 1.06rem;
  line-height: 1.72;
}

/* H1 et H2 plus compacts que la première version du thème. */
.entry-title {
  width: min(100%, 980px);
  font-size: clamp(2rem, 4.15vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -.042em;
}
.page-title {
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -.038em;
}
.entry-content h2 {
  margin-top: 2em;
  font-size: clamp(1.38rem, 2.05vw, 1.82rem);
  line-height: 1.22;
  letter-spacing: -.018em;
}
.entry-content h3 {
  margin-top: 1.65em;
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  line-height: 1.28;
}
.article-header { padding-top: clamp(40px, 5.2vw, 68px); }
.page-header { padding-top: 48px; }

/* Sommaire : grille de navigation 2 colonnes, façon tableau éditorial. */
.entry-content .sommaire {
  margin: 2.25em 0 0;
  padding: 13px 17px;
  border: 1px solid rgba(7, 91, 88, .22);
  border-bottom: 0;
  background: linear-gradient(90deg, rgba(7,91,88,.075), rgba(182,232,25,.07));
  color: var(--de-logo-green-deep);
  font-family: var(--de-sans);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}
.entry-content .sommaire mark {
  padding: 0;
  color: inherit;
  background: transparent;
}
.entry-content .sommaire + ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 2.35em;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 91, 88, .22);
  background: rgba(255,255,255,.76);
  font-family: var(--de-sans);
}
.entry-content .sommaire + ul li {
  margin: 0;
  border-top: 1px solid rgba(7, 91, 88, .12);
}
.entry-content .sommaire + ul li:nth-child(odd) {
  border-right: 1px solid rgba(7, 91, 88, .12);
}
.entry-content .sommaire + ul a {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 12px 38px 12px 15px;
  color: #252825;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.38;
  text-decoration: none;
}
.entry-content .sommaire + ul a::after {
  content: '›';
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--de-logo-green-deep);
  font-size: 1.15rem;
  transform: translateY(-52%);
}
.entry-content .sommaire + ul a:hover,
.entry-content .sommaire + ul a:focus {
  color: #101410;
  background: rgba(182,232,25,.105);
  box-shadow: inset 3px 0 0 var(--de-logo-green-deep);
}

/* Bouton de retour en haut — les deux verts de l'identité. */
.de-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--de-logo-green-deep);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--de-logo-green-deep) 0 58%, var(--de-logo-green) 58% 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(7, 91, 88, .22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}
.de-back-to-top span {
  display: block;
  margin-top: -2px;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}
.de-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.de-back-to-top:hover,
.de-back-to-top:focus-visible {
  box-shadow: 0 10px 30px rgba(7, 91, 88, .34), 0 0 0 4px rgba(182,232,25,.18);
  outline: none;
}

/* Footer 4 colonnes : marque, dossiers, ressources, informations. */
.site-footer {
  border-top: 4px solid var(--de-logo-green-deep);
}
.site-footer__top {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 38px;
}
.footer-column__title {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--de-sans);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.11);
  font-size: .86rem;
  line-height: 1.35;
}
.footer-links li:last-child { border-bottom: 0; }
.footer-links a {
  color: rgba(255,255,255,.84);
  text-decoration: none;
}
.footer-links a:hover,
.footer-links a:focus {
  color: var(--de-logo-green);
}
.footer-brand .custom-logo { max-height: 58px; margin-bottom: 15px; }
.footer-brand .site-title { margin: 0 0 8px; }
.footer-brand__tagline { color: rgba(255,255,255,.66); }
.footer-information-menu,
.footer-information-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-information-menu li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.11);
  font-size: .86rem;
  line-height: 1.35;
}
.footer-information-menu li:last-child { border-bottom: 0; }
.footer-information-menu a { color: rgba(255,255,255,.84); text-decoration: none; }
.footer-information-menu a:hover { color: var(--de-logo-green); }
.site-footer__bottom-inner { align-items: center; }

@media (max-width: 980px) {
  .article-layout {
    width: min(calc(100% - 40px), var(--de-reading));
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .entry-title { font-size: clamp(1.85rem, 9.5vw, 2.7rem); }
  .page-title { font-size: clamp(1.85rem, 9vw, 2.65rem); }
  .entry-content h2 { font-size: clamp(1.3rem, 6vw, 1.62rem); }
  .entry-content .sommaire + ul { grid-template-columns: 1fr; }
  .entry-content .sommaire + ul li:nth-child(odd) { border-right: 0; }
  .site-footer__top { grid-template-columns: 1fr; gap: 30px; }
  .de-back-to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}
