/* ============================================ */
/* ENDROIT.CA - CSS COMPLET V10.1 SOBRE */
/* ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,700;0,9..144,900;1,9..144,400&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ===== TITRES DES PAGES (pas les articles) ===== */
body.page .entry-title,
body.page .wp-block-post-title,
body.page h1.wp-block-post-title,
body.page article h1,
body.page .page-title {
  font-family: 'Oswald', 'Arial Narrow', sans-serif !important;
  font-size: clamp(34px, 5vw, 52px) !important;
  font-weight: 600 !important;
  color: #1B2D4F !important;
  text-align: center !important;
  line-height: 1.15 !important;
  letter-spacing: 0.5px !important;
  margin: 2rem auto 1rem !important;
  padding-bottom: 1.2rem !important;
  position: relative !important;
  max-width: 900px !important;
}

body.page .entry-title::after,
body.page .wp-block-post-title::after,
body.page h1.wp-block-post-title::after,
body.page article h1::after,
body.page .page-title::after {
  content: '' !important;
  display: block !important;
  width: 100px !important;
  height: 3px !important;
  background: #C4A052 !important;
  margin: 1.2rem auto 0 !important;
  border-radius: 2px !important;
}

@media (max-width: 640px) {
  body.page .entry-title,
  body.page .wp-block-post-title,
  body.page h1.wp-block-post-title,
  body.page article h1,
  body.page .page-title {
    font-size: clamp(26px, 7vw, 36px) !important;
    margin-top: 1.5rem !important;
  }
  body.page .entry-title::after,
  body.page .wp-block-post-title::after,
  body.page h1.wp-block-post-title::after,
  body.page article h1::after,
  body.page .page-title::after {
    width: 70px !important;
    margin-top: 1rem !important;
  }
}

/* ===== CACHER SIDEBAR SUR PAGES STATIQUES ===== */
body.page .sidebar,
body.page #sidebar,
body.page aside.sidebar,
body.page aside.widget-area,
body.page #secondary,
body.page .widget-area,
body.page .sidebar-container {
  display: none !important;
}

body.page .content-area,
body.page #primary,
body.page .site-main,
body.page main#main,
body.page .entry-content,
body.page .page-content {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 auto !important;
}

body.page .site-content,
body.page .wrap,
body.page .container,
body.page .content-wrap {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* ===== MASQUER LES 3 CUBES SUR TOUTES LES PAGES SAUF ACCUEIL (DESKTOP) ===== */
body:not(.home) .header-widgets-wrapper,
body:not(.home) .header-widgets-three,
body:not(.home) .header-widget {
  display: none !important;
}

body:not(.home) #masthead .content-wrap,
body:not(.home) .site-header .content-wrap,
body:not(.home) #masthead,
body:not(.home) .site-header {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body:not(.home) .site-branding,
body:not(.home) .branding-logo {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ===== CACHER LES 3 CUBES SUR MOBILE PARTOUT (MÊME SUR L'ACCUEIL) ===== */
@media (max-width: 768px) {
  .header-widgets-wrapper,
  .header-widgets-three,
  .header-widget {
    display: none !important;
  }
  
  #masthead .content-wrap,
  .site-header .content-wrap,
  #masthead,
  .site-header {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .site-branding,
  .branding-logo {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* ===== CACHER POWERED BY ===== */
footer#colophon .site-info span.footer-info-right,
footer#colophon span.footer-info-right,
.site-footer .site-info span.footer-info-right,
div.site-info span.footer-info-right,
span.footer-info-right {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

.site-info a[href*="superbthemes"],
.site-info a[href*="minimalistblogger"],
footer a[href*="superbthemes"],
footer a[href*="minimalistblogger"] {
  display: none !important;
}

/* ===== MASQUER COLONNES 2 ET 3 VIDES DU PIED DE PAGE, GARDER COLONNE 1 PLEINE LARGEUR ===== */
footer#colophon .footer-column-middle,
footer#colophon .footer-column-right {
  display: none !important;
}
footer#colophon .footer-column-left {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ===== STYLE DU PIED DE PAGE ENDROIT.CA ===== */
footer#colophon {
  background: #1B2D4F !important;
  padding: 0 !important;
}
footer#colophon .content-wrap,
footer#colophon .footer-column-wrapper {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ed-footer * { margin:0; padding:0; box-sizing:border-box; }
.ed-footer {
  background:#1B2D4F;
  color:#e8e3d5;
  font-family:Georgia,serif;
  padding:2.5rem 1.5rem 1.5rem;
  font-size:14px;
  line-height:1.6;
}
.ed-footer-inner { max-width:1100px; margin:0 auto; }
.ed-footer-top {
  display:flex; flex-wrap:wrap; gap:2rem;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,0.15);
  padding-bottom:1.5rem; margin-bottom:1.2rem;
}
.ed-footer-col { flex:1; min-width:240px; }
.ed-footer-col h4 {
  font-family:'Oswald','Helvetica Neue',Arial,sans-serif;
  font-size:12px; letter-spacing:1.5px;
  text-transform:uppercase; color:#C4A052;
  font-weight:600; margin-bottom:0.7rem;
}
.ed-footer-col p { color:#c8cdd6; margin-bottom:0.5rem; }
.ed-footer-col a { color:#C4A052; text-decoration:none; }
.ed-footer-col a:hover { text-decoration:underline; }
.ed-footer-coord span { display:block; color:#c8cdd6; }
.ed-footer-bottom {
  text-align:center; color:#9aa3b0;
  font-size:12px; padding:0 1.5rem 1.5rem;
}
@media(max-width:700px){
  .ed-footer-top { flex-direction:column; gap:1.5rem; }
}

/* ============================================================
   EnDroit.ca — STYLE DES ARTICLES (NEWS) - V10.1 SOBRE
   Préfixe .ed-news — n'affecte JAMAIS les pages evergreen
   ============================================================ */

.ed-news {
  --ed-ink:#1a1a1a;
  --ed-ink-soft:#3a3a3a;
  --ed-ink-mute:#6a6a6a;
  --ed-rule:#e5e1d8;
  --ed-paper:#fafaf7;
  --ed-paper-warm:#f4f1ea;
  --ed-accent:#8a1c1c;
  --ed-accent-soft:#a83838;
  max-width:880px; margin:0 auto; padding:10px 28px 80px;
  font-family:'Fraunces', Georgia, 'Times New Roman', serif;
  color:var(--ed-ink); line-height:1.7; font-size:19px;
  background:transparent;
}
.ed-news *{box-sizing:border-box;}

.ed-news-breadcrumb{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-size:11px; font-weight:600; text-transform:uppercase;
  letter-spacing:.14em; color:var(--ed-accent); margin-bottom:28px;
}
.ed-news-breadcrumb::before{
  content:""; display:inline-block; width:28px; height:1px;
  background:var(--ed-accent); vertical-align:middle;
  margin-right:12px; transform:translateY(-2px);
}
.ed-news-breadcrumb a{color:var(--ed-accent); text-decoration:none;}
.ed-news-breadcrumb a:hover{color:var(--ed-ink);}
.ed-news-breadcrumb .sep{margin:0 .4rem; color:var(--ed-accent);}

.ed-news-banner{
  border-top:1px solid var(--ed-ink); border-bottom:1px solid var(--ed-ink);
  padding:14px 0; margin-bottom:28px; display:flex;
  justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:8px;
}
.ed-news-banner .series{
  font-family:'Inter',sans-serif; font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--ed-accent); font-weight:600;
}
.ed-news-banner .volet{
  font-family:'Inter',sans-serif; font-size:11px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--ed-ink-mute);
}

.ed-news-figure{margin:0 0 32px;}
.ed-news-figure img{width:100%; height:auto; display:block; border-radius:2px;}
.ed-news-figure figcaption{
  font-family:'Inter',sans-serif; font-size:12px;
  color:var(--ed-ink-mute); margin-top:8px; font-style:italic;
}

.ed-news-subtitle{
  font-family:'Fraunces',Georgia,serif; font-weight:400; font-size:22px;
  line-height:1.55; color:var(--ed-ink-soft); margin-bottom:32px;
  font-style:italic; padding:0; border:none;
}

.ed-news-byline{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-size:13px; color:var(--ed-ink-mute);
  border-top:1px solid var(--ed-rule); border-bottom:1px solid var(--ed-rule);
  padding:16px 0; margin-bottom:40px; letter-spacing:.02em;
}
.ed-news-byline strong{font-weight:600; color:var(--ed-ink);}

.ed-news p{
  font-family:'Fraunces',Georgia,serif;
  font-size:19px; line-height:1.75; margin-bottom:22px; color:var(--ed-ink);
}
.ed-news p.lead{font-size:22px; font-style:italic; color:var(--ed-ink-soft);}
.ed-news p strong{font-weight:600; color:var(--ed-ink);}
.ed-news p em{font-style:italic;}

.ed-news a{
  color:var(--ed-ink); text-decoration:none;
  border-bottom:1px solid var(--ed-accent); padding-bottom:1px;
  transition:color .15s;
}
.ed-news a:hover{color:var(--ed-accent);}

/* LABEL DE SECTION (numéro romain en petit cube monospace) */
.ed-news-section-num{
  font-family:'JetBrains Mono','Courier New',monospace;
  font-size:11px;
  font-weight:500;
  letter-spacing:.1em;
  color:var(--ed-ink);
  text-transform:uppercase;
  display:inline-block;
  padding:5px 12px;
  background:var(--ed-paper-warm);
  border-radius:2px;
  margin:48px 0 10px;
}

.ed-news h2{
  font-family:'Fraunces',Georgia,serif; font-weight:700;
  font-size:28px; line-height:1.25; letter-spacing:-0.01em;
  color:var(--ed-ink); margin:56px 0 28px;
}
.ed-news h2::before{
  content:""; display:block; width:48px; height:3px;
  background:var(--ed-accent); margin-bottom:14px;
}

.ed-news h3{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-size:13px; text-transform:uppercase; letter-spacing:.14em;
  color:var(--ed-accent); font-weight:600;
  margin-top:36px; margin-bottom:12px;
}

.ed-news blockquote{
  border-left:3px solid var(--ed-ink); padding:0 0 0 28px;
  margin:40px 0; background:none;
}
.ed-news blockquote p{
  font-family:'Fraunces',Georgia,serif; font-size:24px;
  line-height:1.4; font-style:normal; color:var(--ed-ink); margin-bottom:12px;
}
.ed-news blockquote cite{
  font-family:'Inter',sans-serif; font-style:normal;
  font-size:13px; font-weight:500; color:var(--ed-ink-mute); letter-spacing:.02em;
}

.ed-news-quote{
  margin:40px 0; padding:0 0 0 28px;
  border-left:3px solid var(--ed-ink);
  background:none; border-top:none; border-bottom:none; position:static;
}
.ed-news-quote::before{content:none;}
.ed-news-quote p{
  font-family:'Fraunces',Georgia,serif; font-size:24px; line-height:1.4;
  font-weight:400; color:var(--ed-ink); margin-bottom:12px;
  font-style:normal; padding-left:0; letter-spacing:-0.005em;
}
.ed-news-source{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-style:normal; font-size:13px; font-weight:500;
  color:var(--ed-ink-mute); letter-spacing:.02em;
  text-transform:none; padding-left:0; display:block; margin-top:4px;
}

.ed-news-respiration{
  margin:36px 0; text-align:center;
  font-family:'Fraunces',Georgia,serif; font-size:24px; font-weight:400;
  color:var(--ed-ink); font-style:italic; padding:24px 0;
  border-top:1px solid var(--ed-rule); border-bottom:1px solid var(--ed-rule);
  line-height:1.3; letter-spacing:0;
}

.ed-news-analyse{
  margin:36px 0; padding:28px 32px;
  background:var(--ed-paper-warm); border:none; border-radius:2px;
}
.ed-news-analyse .label{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-size:11px; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color:var(--ed-accent);
  margin-bottom:14px; display:block;
}
.ed-news-analyse p{
  font-family:'Fraunces',Georgia,serif; font-size:17px;
  line-height:1.65; color:var(--ed-ink-soft); margin-bottom:12px;
}
.ed-news-analyse p:last-child{margin-bottom:0;}
.ed-news-analyse strong{color:var(--ed-ink); font-weight:600;}

.ed-news-recap{
  margin:36px 0; padding:28px 32px;
  background:var(--ed-paper-warm); border:none; border-radius:2px;
}
.ed-news-recap-titre{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ed-accent); font-weight:600; margin-bottom:18px;
}
.ed-news-recap-item{padding:16px 0; border-bottom:1px solid var(--ed-rule);}
.ed-news-recap-item:last-child{border-bottom:none;}
.ed-news-recap-num{
  font-family:'JetBrains Mono',monospace; font-size:11px;
  text-transform:uppercase; letter-spacing:.06em;
  color:var(--ed-ink-mute); font-weight:500;
  display:inline-block; margin-right:10px;
}
.ed-news-recap-vtitre{
  font-family:'Fraunces',Georgia,serif; font-size:18px;
  font-weight:600; color:var(--ed-ink); line-height:1.4;
}
.ed-news-recap-desc{
  font-family:'Fraunces',Georgia,serif; font-size:15px;
  line-height:1.55; color:var(--ed-ink-soft); margin-top:6px;
}

.ed-news-tableau{
  width:100%; border-collapse:collapse; margin:28px 0;
  font-size:14px; font-family:'Inter','Helvetica Neue',Arial,sans-serif;
}
.ed-news-tableau thead tr{background:var(--ed-ink);}
.ed-news-tableau thead th{
  padding:14px; font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; color:#fff; text-align:left; font-weight:600;
}
.ed-news-tableau tbody tr{border-bottom:1px solid var(--ed-rule);}
.ed-news-tableau tbody tr:nth-child(even){background:var(--ed-paper-warm);}
.ed-news-tableau tbody td{
  padding:14px; color:var(--ed-ink); line-height:1.5; vertical-align:top;
}
.ed-news-tableau tbody td:first-child{font-weight:600; color:var(--ed-ink);}

.ed-news-relief{
  margin:36px 0; padding:30px;
  background:var(--ed-paper-warm); border:none; border-radius:2px;
  text-align:left; font-family:'Fraunces',Georgia,serif;
  font-size:18px; line-height:1.6; color:var(--ed-ink);
  font-weight:400; font-style:normal; letter-spacing:0;
}
.ed-news-relief strong{color:var(--ed-ink); font-weight:600;}

.ed-news-divider{
  text-align:center; margin:52px 0;
  font-family:'Fraunces',Georgia,serif;
  color:var(--ed-ink-mute); font-size:18px; letter-spacing:.4em;
}
.ed-news-divider::before{content:"\00B7 \00B7 \00B7"; color:var(--ed-ink-mute);}

.ed-news-telecharge{
  margin:56px 0; padding:32px;
  background:var(--ed-ink); color:#fff; border-radius:2px;
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-style:normal; font-size:15px; line-height:1.6; border:none;
}
.ed-news-telecharge strong{
  font-family:'Fraunces',Georgia,serif; font-weight:700;
  font-size:22px; line-height:1.3; color:#fff;
  display:block; margin-bottom:12px; letter-spacing:-0.005em;
}
.ed-news-telecharge p{
  font-family:'Inter',sans-serif; font-size:15px; line-height:1.6;
  color:rgba(255,255,255,.78); margin-bottom:4px;
}
.ed-news-telecharge a{
  color:#fff; border-bottom:1px solid rgba(255,255,255,.5);
}
.ed-news-telecharge a:hover{border-bottom-color:#fff;}

.ed-news-closing{
  margin:56px 0 48px; padding:40px 32px;
  background:var(--ed-ink); color:#fff; border-radius:2px;
  text-align:center; font-family:'Fraunces',Georgia,serif;
  font-size:21px; line-height:1.5; font-style:italic;
}
.ed-news-closing strong{
  display:block; font-style:normal;
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-size:11px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--ed-accent); margin-bottom:18px; font-weight:600;
}
.ed-news-closing em{font-style:italic; color:rgba(255,255,255,.92);}

.ed-news-sources{
  margin-top:56px; padding-top:32px;
  border-top:2px solid var(--ed-ink);
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-size:13px; line-height:1.75; color:var(--ed-ink-soft);
}
.ed-news-sources h3{
  font-family:'Inter',sans-serif; font-size:12px; text-transform:uppercase;
  letter-spacing:.14em; color:var(--ed-accent);
  margin-top:0; margin-bottom:20px; font-weight:600;
}
.ed-news-sources p{margin-bottom:16px; font-size:13px;}
.ed-news-sources strong{color:var(--ed-ink); font-weight:600;}
.ed-news-sources em{font-style:italic; color:var(--ed-ink);}
.ed-news-sources ul{margin:10px 0 16px 22px;}
.ed-news-sources li{margin-bottom:6px;}
.ed-news-sources ol{padding-left:22px; margin:12px 0;}
.ed-news-sources ol li{margin-bottom:8px;}

.ed-news-note{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  font-size:13.5px; color:var(--ed-ink-soft);
  font-style:normal; line-height:1.65;
  margin-top:32px; padding:24px 28px;
  background:var(--ed-paper-warm); border-radius:2px;
}
.ed-news-note strong{font-weight:600; color:var(--ed-ink); font-style:normal;}

@media(max-width:640px){
  .ed-news{font-size:17px; padding:0 18px 60px;}
  .ed-news p{font-size:17px;}
  .ed-news p.lead{font-size:19px;}
  .ed-news h2{font-size:24px;}
  .ed-news-subtitle{font-size:19px;}
  .ed-news-quote p, .ed-news blockquote p{font-size:20px;}
  .ed-news-respiration{font-size:20px;}
  .ed-news-tableau{font-size:13px;}
  .ed-news-tableau thead th, .ed-news-tableau tbody td{padding:10px;}
  .ed-news-analyse, .ed-news-recap, .ed-news-relief, .ed-news-note{padding:22px 20px;}
  .ed-news-telecharge, .ed-news-closing{padding:24px 20px;}
  .ed-news-closing{font-size:18px;}
  .ed-news-telecharge strong{font-size:19px;}
}
/* Variante crème (plus neutre) */
.ed-news-closing strong{ color:#e8d9b8; font-size:13px; letter-spacing:.16em; }