/* Presentation documentaire propre a legislation.htm ; habillage commun non duplique. */
.content{
      background: #ffffff;
      border: 2px solid #d8d8d8;
      border-radius: 12px;
      padding: 28px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.05);
      box-sizing: border-box;
    }

.content h2{
      margin: 0 0 14px 0;
      color: #800000;
      font-size: 28px;
    }

.subnav-box{
      background: #fffaf8;
      border: 1px solid #ead8d2;
      border-radius: 10px;
      padding: 16px;
      margin-bottom: 22px;
    }

.subnav-title{
      margin: 0 0 10px 0;
      color: #800000;
      font-size: 16px;
      font-weight: bold;
    }

.subnav-grid{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 10px;
    }

.subnav-link{
      display: block;
      padding: 10px 12px;
      border: 1px solid #e3d6d0;
      border-radius: 8px;
      background: #ffffff;
      color: #800000;
      text-decoration: none;
      font-size: 14px;
    }

.subnav-link:hover{
      background: #f8f1ef;
      border-color: #d7c0b8;
    }

.legis-layout{
      display: grid;
      grid-template-columns: 290px 1fr;
      gap: 22px;
      align-items: start;
    }

.year-panel{
      background: #fafafa;
      border: 1px solid #ececec;
      border-radius: 10px;
      padding: 16px;
      position: sticky;
      top: 16px;
    }

.year-panel h3{
      margin: 0 0 12px 0;
      color: #800000;
      font-size: 18px;
    }

.year-pill-grid{
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

.year-pill{
      display: inline-block;
      padding: 7px 11px;
      border: 1px solid #e3e3e3;
      border-radius: 999px;
      background: #ffffff;
      color: #800000;
      text-decoration: none;
      font-size: 13px;
      line-height: 1.25;
    }

.year-pill:hover{
      background: #f3f4f6;
      border-color: #d0d0d0;
    }

.chronology-panel{
      min-width: 0;
    }

.chrono-note{
      margin: 0 0 16px 0;
      color: #6b7280;
      font-size: 14px;
    }

.year-section{
      margin-bottom: 28px;
      padding-bottom: 18px;
      border-bottom: 1px solid #ececec;
    }

.year-section:last-child{
      border-bottom: 0;
      margin-bottom: 0;
      padding-bottom: 0;
    }

.year-section h3{
      margin: 0 0 12px 0;
      color: #800000;
      font-size: 24px;
    }

.chrono-subheading{
      margin: 14px 0 8px 0;
      color: #800000;
      font-size: 17px;
      font-family: Arial, Helvetica, sans-serif;
    }

.chrono-entry{
      font-family: "Times New Roman", Times, serif;
      font-size: 14px;
      line-height: 1.62;
      color: #111827;
    }

.chrono-entry p{
      margin: 0 0 10px 0;
      color: #111827;
    }

.chrono-entry a,
.footer a{
      color: #800000;
      text-decoration: none;
    }

.chrono-entry a:hover,
.footer a:hover{
      text-decoration: underline;
    }

.footer{
      margin-top: 30px;
      padding-top: 15px;
      border-top: 1px solid #ddd;
      text-align: center;
      font-size: 14px;
      color: #555;
    }

.footer-contact{
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 8px;
    }

.footer-contact img{
      height: 18px;
    }

.footer-legal{
      margin: 0;
    }

@media screen and (max-width: 980px){.legis-layout{
        grid-template-columns: 1fr;
      }

.year-panel{
        position: static;
      }
}

@media screen and (max-width: 820px){.content{
        padding: 22px;
      }
}

.chronology-panel,
.year-section,
.chrono-entry{ min-width:0; }

.chrono-entry,
.chrono-entry p{ overflow-wrap:anywhere; }

@media screen and (max-width:820px){.content,
.legis-layout,
.chronology-panel,
.year-section,
.chrono-entry{ min-width:0; max-width:100%; }
}

/* Mobile : couper visuellement les references longues, sans changer leur texte. */
@media(max-width:600px){.content{overflow-wrap:anywhere}}
