#test-rg-page.test-rg-res-page { --cg-accent: #165F70; background:#fff; color:#1a1a1a; font-family:'Raleway',sans-serif; }
#test-rg-page.test-rg-res-page * { box-sizing:border-box; }
.test-rg-res-page a { color:var(--cg-accent); text-decoration:none; }

/* HEADER (repris de la home / congrès) */
#test-rg-page .test-rg-header { display:flex; align-items:center; justify-content:space-between; padding:24px 40px; background:#fff; border-bottom:1px solid #e5e5e5; max-width:1440px; margin:0 auto; }
#test-rg-page .test-rg-header__logo { position:relative; display:inline-block; line-height:0; }
#test-rg-page .test-rg-header__logo img { height:70px; display:block; visibility:hidden; }
#test-rg-page .test-rg-header__logo::after { content:''; position:absolute; inset:0; background-color:var(--cg-accent); -webkit-mask:url('/wp-content/themes/pluriel/img/logo-pluriel-bleu-vert.png') center/contain no-repeat; mask:url('/wp-content/themes/pluriel/img/logo-pluriel-bleu-vert.png') center/contain no-repeat; }
#test-rg-page .test-rg-header__nav { display:flex; align-items:center; gap:24px; flex:1 1 0%; justify-content:flex-end; }
#test-rg-page .test-rg-header__menu ul { display:flex; gap:28px; list-style:none; margin:0; padding:0; flex-wrap:wrap; }
#test-rg-page .test-rg-header__menu a { font-family:'Raleway',sans-serif; font-size:13px; color:#333; text-transform:uppercase; letter-spacing:.5px; transition:color .2s; }
#test-rg-page .test-rg-header__menu a:hover, #test-rg-page .test-rg-header__menu li.current-menu-item a { color:var(--cg-accent); }
#test-rg-page .test-rg-header__lang ul { display:flex; list-style:none; margin:0 0 0 24px; padding:0; gap:4px; align-items:center; }
#test-rg-page .test-rg-header__lang li + li::before { content:'·'; color:#ccc; margin-right:4px; }
#test-rg-page .test-rg-header__lang a { font-size:12px; font-weight:600; color:#666; text-transform:uppercase; letter-spacing:1px; padding:4px 6px; }
#test-rg-page .test-rg-header__lang li.is-active a { color:var(--cg-accent); }
#test-rg-page .test-rg-header__burger { display:none; background:transparent; border:0; width:36px; height:36px; padding:6px; cursor:pointer; flex-direction:column; justify-content:space-between; }
#test-rg-page .test-rg-header__burger span { display:block; width:100%; height:2px; background:#222; border-radius:1px; transition:transform .25s, opacity .2s; }
#test-rg-page .test-rg-header__burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(11px) rotate(45deg); }
#test-rg-page .test-rg-header__burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
#test-rg-page .test-rg-header__burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-11px) rotate(-45deg); }

/* TITRE */
.test-rg-res-hero { max-width:1440px; margin:0 auto; padding:44px 40px 8px; }
.test-rg-res-hero__eyebrow { font-size:13px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--cg-accent); margin:0 0 8px; }
.test-rg-res-hero h1 { font-family:'EB Garamond',serif; font-size:40px; font-weight:500; margin:0 0 6px; color:#1a1a1a; }
.test-rg-res-hero p { font-size:15px; color:#666; margin:0; max-width:720px; }

/* LAYOUT 2 colonnes */
.test-rg-res-layout { max-width:1440px; margin:0 auto; padding:28px 40px 70px; display:grid; grid-template-columns:280px 1fr; gap:44px; align-items:start; }
.test-rg-res-sidebar { position:static; }
.test-rg-res-fgroup { margin-bottom:26px; }
.test-rg-res-fgroup h3 { font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#8a969a; margin:0 0 12px; }
.test-rg-res-search { position:relative; margin-bottom:26px; }
.test-rg-res-search input { width:100%; padding:12px 14px 12px 42px; border:1.5px solid #dde4e6; border-radius:8px; font-family:'Raleway',sans-serif; font-size:14px; background-color:#fff; background-image:none; }
.test-rg-res-search input:focus { outline:none; border-color:var(--cg-accent); }
.test-rg-res-search::before { content:""; position:absolute; left:15px; top:50%; width:16px; height:16px; margin-top:-8px; pointer-events:none; opacity:.55; background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a969a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E"); }
.test-rg-res-checks label { display:flex; align-items:center; gap:9px; padding:6px 0; font-size:14px; color:#333; cursor:pointer; }
.test-rg-res-checks input { accent-color:var(--cg-accent); width:16px; height:16px; margin:0; flex:0 0 auto; }
.test-rg-res-select { width:100%; padding:10px 12px; border:1.5px solid #dde4e6; border-radius:8px; font-family:'Raleway',sans-serif; font-size:14px; color:#333; background:#fff; }
.test-rg-res-reset { margin-top:6px; background:none; border:0; color:var(--cg-accent); font-family:'Raleway',sans-serif; font-size:13px; font-weight:600; cursor:pointer; padding:0; }
.test-rg-res-tags { max-height:280px; overflow-y:auto; padding-right:6px; margin:-2px -6px -2px 0; }
.test-rg-res-tags::-webkit-scrollbar { width:7px; } .test-rg-res-tags::-webkit-scrollbar-thumb { background:#d7e0e3; border-radius:6px; }
.test-rg-res-tags label { display:flex; align-items:center; gap:9px; padding:5px 0; font-size:13.5px; color:#333; cursor:pointer; }
.test-rg-res-tags input { accent-color:var(--cg-accent); width:15px; height:15px; flex:0 0 auto; margin:0; }
.test-rg-res-tags .tag-name { flex:1; min-width:0; }
.test-rg-res-tags .tag-count { color:#9aa8ad; font-size:12px; font-variant-numeric:tabular-nums; }

.test-rg-res-count { font-size:13px; color:#8a969a; margin:0 0 18px; }
.test-rg-res-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:28px; transition:opacity .26s ease, transform .26s ease; }
.test-rg-res-grid.is-filtering { opacity:0; transform:translateY(8px); }
.test-rg-res-card { display:flex; flex-direction:column; background:#fff; border:1px solid #eef1f2; border-radius:14px; overflow:hidden; transition:box-shadow .25s, transform .25s; }
.test-rg-res-card:hover { box-shadow:0 12px 30px -14px rgba(16,58,70,.32); transform:translateY(-2px); }
.test-rg-res-card__image { aspect-ratio:4/3; overflow:hidden; background:#e9eef0; }
.test-rg-res-card__image img { width:100%; height:100%; object-fit:cover; display:block; }
.test-rg-res-card__body { padding:16px 18px 18px; display:flex; flex-direction:column; flex:1; }
.test-rg-res-card__overline { display:flex; align-items:center; gap:10px; margin-bottom:9px; flex-wrap:wrap; }
.test-rg-res-badge { font-size:10.5px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:#fff; background:var(--cg-accent); border-radius:5px; padding:3px 9px; }
.test-rg-res-badge--publication, .test-rg-res-badge--videos { background:var(--cg-accent); }
.test-rg-res-card__date { font-size:12px; color:#98a2a6; }
.test-rg-res-card__title { font-family:'EB Garamond',serif; font-size:19px; font-weight:500; line-height:1.28; margin:0 0 8px; color:#1a1a1a; }
.test-rg-res-card__excerpt { font-size:13px; line-height:1.5; color:#5c6b70; margin:0; display:-webkit-box; -webkit-line-clamp:3; line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.test-rg-res-loadmore { text-align:center; margin-top:44px; }
.test-rg-res-loadmore button { background:var(--cg-accent); color:#fff; border:0; border-radius:6px; padding:13px 34px; font-family:'Raleway',sans-serif; font-size:14px; font-weight:600; cursor:pointer; transition:opacity .2s; }
.test-rg-res-loadmore button:hover { opacity:.9; }
.test-rg-res-empty { color:#8a969a; font-size:15px; padding:30px 0; }

/* Annuaire chercheurs (mode ?type=chercheurs) : cartes profil */
.test-rg-res-grid--chercheurs { grid-template-columns:repeat(auto-fill,minmax(178px,1fr)); gap:22px; }
.test-rg-res-card--person { border:1px solid #eef1f2; border-radius:14px; padding:22px 14px 18px; text-align:center; transition:box-shadow .25s, transform .25s; }
.test-rg-res-card--person:hover { box-shadow:0 12px 30px -14px rgba(16,58,70,.32); transform:translateY(-2px); }
.test-rg-res-card--person a { display:flex; flex-direction:column; align-items:center; gap:2px; }
.test-rg-res-person__ph { width:96px; height:96px; border-radius:50%; overflow:hidden; background:#e8eef0; margin-bottom:13px; box-shadow:0 8px 20px -12px rgba(16,58,70,.5); }
.test-rg-res-person__ph img { width:100%; height:100%; object-fit:cover; display:block; }
.test-rg-res-person__ph--txt { display:flex; align-items:center; justify-content:center; font-family:'EB Garamond',serif; font-size:30px; color:var(--cg-accent); }
.test-rg-res-person__name { font-family:'EB Garamond',serif; font-size:17px; font-weight:600; color:#1a1a1a; line-height:1.22; margin-bottom:3px; }
.test-rg-res-card--person:hover .test-rg-res-person__name { color:var(--cg-accent); }
.test-rg-res-person__role { font-size:12px; color:#5c6b70; line-height:1.35; }
.test-rg-res-person__univ { font-size:11.5px; color:#98a2a6; margin-top:3px; }
.test-rg-res-person__tag { display:inline-block; margin:0 auto 6px; font-size:10px; font-weight:700; letter-spacing:.4px; text-transform:uppercase; color:var(--cg-accent); background:#eef5f6; border-radius:20px; padding:3px 10px; }
.test-rg-res-card--person.is-comite { border-color:#d7e6ea; }

/* FOOTER (repris de la home) */
.test-rg-footer { background:#222; color:#ccc; padding:64px 40px 0; font-family:'Raleway',sans-serif; margin-top:40px; }
.test-rg-footer__inner { max-width:1280px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:48px; }
.test-rg-footer__col h4 { font-family:'EB Garamond',serif; font-size:17px; color:#fff; margin:0 0 16px; }
.test-rg-footer__col p { font-size:13px; line-height:1.7; color:#aaa; margin:0 0 12px; }
.test-rg-footer__col a { color:#fff; text-decoration:none; } .test-rg-footer__col a:hover { color:#7fc1d2; }
.test-rg-footer__col ul { list-style:none; padding:0; margin:0; } .test-rg-footer__col li { padding:4px 0; }
.test-rg-footer__col li a { font-size:13px; color:#ccc; }
.test-rg-footer .test-rg-cta { display:inline-block; margin-top:6px; border:1px solid #fff; border-radius:5px; padding:9px 18px; color:#fff; font-weight:600; font-size:13px; }
.test-rg-footer__sub { max-width:1280px; margin:48px auto 0; padding:24px 0 32px; border-top:1px solid #444; text-align:center; }
.test-rg-footer__sub p { font-size:12px; color:#888; margin:0; }

@media (max-width:1000px){ .test-rg-res-layout{ grid-template-columns:1fr; gap:26px; } .test-rg-res-sidebar{ position:static; } .test-rg-footer__inner{ grid-template-columns:repeat(2,1fr); gap:32px; } }
@media (max-width:900px){
    #test-rg-page .test-rg-header{ flex-wrap:wrap; padding:16px 20px; }
    #test-rg-page .test-rg-header__burger{ display:flex; }
    #test-rg-page .test-rg-header__nav{ position:fixed; top:0; right:0; height:100vh; width:min(85vw,360px); background:rgba(255,255,255,.97); backdrop-filter:blur(14px); flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0; padding:80px 28px 32px; transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1); z-index:9000; box-shadow:-8px 0 24px rgba(0,0,0,.12); overflow-y:auto; }
    #test-rg-page .test-rg-header__nav.is-open{ transform:translateX(0); }
    #test-rg-page .test-rg-header__menu ul{ flex-direction:column; gap:0; } #test-rg-page .test-rg-header__menu li{ border-bottom:1px solid #eee; } #test-rg-page .test-rg-header__menu a{ display:block; padding:14px 0; font-size:15px; }
    .test-rg-res-hero{ padding:28px 20px 4px; } .test-rg-res-hero h1{ font-size:30px; }
    .test-rg-res-layout{ padding:22px 20px 60px; }
}
@media (max-width:560px){ .test-rg-footer__inner{ grid-template-columns:1fr; } }
