/* nnaedou — Patrimoine approfondi, mobile-first. */
  .heritage-category-list{
    display:grid;
    gap:12px;
    padding:0 20px 22px;
  }
  .heritage-category-card{
    display:grid;
    grid-template-columns:46px minmax(0,1fr) auto;
    align-items:center;
    gap:13px;
    min-height:92px;
    padding:15px;
    border:1px solid #e3d4bb;
    border-radius:20px;
    background:#fffaf0;
    box-shadow:0 8px 17px rgba(44,41,28,.08);
  }
  .heritage-category-icon{
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    border-radius:50%;
    background:#e6efdf;
    color:#174a3e;
    font-size:20px;
  }
  .heritage-category-copy{min-width:0}
  .heritage-category-copy strong{
    display:block;
    margin-bottom:4px;
    color:#173f35;
    font:700 18px/1.08 Georgia,'Times New Roman',serif;
  }
  .heritage-category-copy small{
    display:block;
    color:#7b837d;
    font-size:12px;
    line-height:1.35;
  }
  .heritage-category-action{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    border:0;
    border-radius:50%;
    background:#173f35;
    color:#fff8eb;
    font-size:22px;
  }
  .heritage-section-label{
    padding:3px 20px 10px;
    color:#a56545;
    font-size:10px;
    font-weight:800;
    letter-spacing:.17em;
  }

@media (max-width:760px){
  #application #page-heritage-culture,
  #application #page-heritage-library{
    width:calc(100% + 32px)!important;
    max-width:none!important;
    min-height:calc(100svh - 72px)!important;
    margin:-22px -16px 0!important;
    padding:22px 14px 106px!important;
    background:#0c2430!important;
  }
  .heritage-subpage-shell{
    overflow:hidden;
    border-radius:28px;
    background:#f8efdf;
    box-shadow:0 18px 34px rgba(0,0,0,.20);
  }
  .heritage-subpage-head{
    padding:24px 20px 18px;
  }
  .heritage-subpage-back{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin:0 0 17px;
    border:0;
    padding:0;
    background:transparent;
    color:#9f6044;
    font-weight:800;
    font-size:14px;
  }
  .heritage-subpage-head .eyebrow{
    color:#a56545;
    font-size:10px;
    letter-spacing:.18em;
  }
  .heritage-subpage-head h1{
    margin:7px 0 8px;
    color:#102c35;
    font:700 39px/.98 Georgia,'Times New Roman',serif;
    letter-spacing:-.04em;
  }
  .heritage-subpage-head p{
    margin:0;
    max-width:320px;
    color:#69736e;
    font-size:15px;
    line-height:1.45;
  }
  .heritage-primary-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:0 20px 20px;
  }
  .heritage-primary-actions .button{
    min-height:51px;
    border-radius:15px!important;
    font-size:14px!important;
    font-weight:800!important;
  }
  .heritage-library-folders{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    padding:0 20px 22px;
  }
  .heritage-folder{
    display:grid;
    min-height:135px;
    align-content:space-between;
    padding:16px;
    border:1px solid #e0d0b4;
    border-radius:20px;
    background:#fffaf0;
    box-shadow:0 8px 17px rgba(44,41,28,.08);
  }
  .heritage-folder span{
    color:#a15d40;
    font-size:25px;
  }
  .heritage-folder strong{
    display:block;
    color:#173f35;
    font:700 18px/1.08 Georgia,'Times New Roman',serif;
  }
  .heritage-folder small{
    margin-top:5px;
    color:#7c847d;
    font-size:11px;
    line-height:1.35;
  }
  .heritage-library-note{
    margin:0 20px 22px;
    padding:17px;
    border-radius:18px;
    background:#173f35;
    color:#fff8eb;
  }
  .heritage-library-note strong{
    display:block;
    margin-bottom:5px;
    font:700 17px/1.1 Georgia,'Times New Roman',serif;
  }
  .heritage-library-note p{
    margin:0;
    color:rgba(255,248,235,.78);
    font-size:12px;
    line-height:1.4;
  }

  /* Pages mémoire : priorité aux actions, narratifs secondaires. */
  #application #page-memory>.page-heading .page-intro,
  #application #page-memory .memory-principle,
  #application #page-memory .knowledge-entry p,
  #application #page-memory .testimony-card .helper{
    font-size:13px!important;
    line-height:1.4!important;
  }
  #application #page-memory>.page-heading .button{
    min-height:52px!important;
    padding:0 17px!important;
    font-size:15px!important;
    font-weight:800!important;
  }
  #application #page-memory .knowledge-entry{
    padding:20px!important;
  }
  #application #page-memory .knowledge-entry h2{
    font-size:27px!important;
    line-height:1.05!important;
  }
  #application #page-memory .knowledge-entry .button{
    min-height:50px!important;
    margin-top:13px!important;
    font-size:14px!important;
    font-weight:800!important;
  }
  #application #page-memory .testimony-card{
    padding:17px!important;
  }
  #application #page-memory .testimony-card strong,
  #application #page-memory .testimony-card h3{
    font-size:16px!important;
  }
}

@media(min-width:761px) {
  #page-heritage-culture .heritage-subpage-shell { border:1px solid #e1d1b5; border-radius:24px; background:#f8efdf; overflow:hidden; }
  #page-heritage-culture .heritage-subpage-head { padding:24px; }
  #page-heritage-culture .heritage-subpage-head h1 { margin:8px 0; color:#173f35; font:700 32px/1.15 Georgia,serif; }
  #page-heritage-culture .heritage-subpage-head p { margin:0; color:#55665e; font-size:15px; line-height:1.5; }
  #page-heritage-culture .heritage-subpage-back { border:0; background:transparent; color:#173f35; margin-bottom:12px; font-weight:700; }
  #page-heritage-culture .heritage-subpage-head .eyebrow { display:block; }
  #page-heritage-culture .heritage-primary-actions { display:flex; flex-wrap:wrap; gap:12px; padding:0 24px 20px; }
  #page-heritage-culture .heritage-contribution-section { padding:0 24px 24px; }
  #page-heritage-culture .heritage-category-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
