/* Répertoire des plantes sacrées — CSOC. Complément au style principal. */
:root { --ewe-border:#d8d6c4; --ewe-pale:#f4f1e5; }
.skip-link { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus { left:12px; top:12px; width:auto; height:auto; z-index:1000; background:white; padding:10px; color:#042c19; }
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ewe-subhero .subhero-inner {padding-top:32px; padding-bottom:32px}
.ewe-subhero .subhero-logo {width:132px;height:132px}
.ewe-subhero h1 {font-size:clamp(31px,4.4vw,51px)}
.ewe-index-panel h2 {margin-bottom:16px}
.ewe-entry {display:flex;align-items:center;gap:14px;text-decoration:none;color:#042c19;background:#f6f1dc;border:1px solid #d8a936;border-radius:12px;padding:16px 18px;font-weight:700;transition:background .18s}
.ewe-entry:hover,.ewe-entry:focus-visible {background:#f7e7a8}
.ewe-entry-name {font-family:Georgia,serif;font-size:24px}
.ewe-count {font-size:14px;color:#415448}
.ewe-entry-arrow {margin-left:auto;font-size:30px}
.ewe-wide-main {max-width:1240px;margin:0 auto;padding:34px 22px 70px}
.ewe-heading-line {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.ewe-count-text {color:#395141;font-size:15px;margin:0;font-weight:700}
.ewe-heading-line a {font-weight:700;color:#0d5a32}
.ewe-table-wrap {background:#fffdf7;border-radius:16px;box-shadow:0 10px 28px rgba(0,0,0,.10);border:1px solid #e5e0ca;overflow-x:auto}
.ewe-table {width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.5}
.ewe-table thead th {background:#073a22;color:#fff7e8;text-align:left;padding:13px 12px;font-weight:700;position:sticky;top:0}
.ewe-table thead th:first-child {border-top-left-radius:15px}
.ewe-table thead th:last-child {border-top-right-radius:15px}
.ewe-table th,.ewe-table td {border-bottom:1px solid var(--ewe-border);padding:12px;vertical-align:top;overflow-wrap:break-word}
.ewe-table tbody tr:nth-child(even) {background:#f7f6ed}
.ewe-table tbody tr:hover {background:#f7efd5}
.ewe-table tbody th {color:#063f25;text-align:left;font-weight:700}
.ewe-table tbody td:first-child {color:#526257;font-variant-numeric:tabular-nums}
.ewe-table col {width:auto}
.ewe-table th:nth-child(1), .ewe-table td:nth-child(1) {width:48px}
.ewe-table th:nth-child(2) {width:19%}
.ewe-table th:nth-child(3) {width:17%}
.ewe-table th:nth-child(4) {width:18%}
.ewe-table th:nth-child(5) {width:auto}
.ewe-table em {font-style:italic}
.ewe-safety {font-size:13px;line-height:1.6;color:#34493b;margin:22px 2px 0}
.ewe-main-nav [aria-current=page] {color:#d8a936}
.ewe-page .btn,.ewe-wide-main .btn{border-radius:999px}
.ewe-wide-main .article-actions{margin-top:28px}
@media(max-width:850px){.ewe-table{min-width:920px}.ewe-wide-main{padding:25px 12px 46px}.ewe-subhero .subhero-logo{width:112px;height:112px}.ewe-subhero .subhero-inner{gap:19px}.ewe-main-nav{gap:8px}}
@media(max-width:620px){.ewe-table{font-size:13px}.ewe-subhero .subhero-logo{width:120px;height:120px}.ewe-subhero .subhero-inner{padding:24px 16px}.ewe-entry-name{font-size:21px}}

/* Photographies botaniques d’Oxóssi — agrandissement au clic */
.ewe-plant-link {color:#07522d; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; cursor:zoom-in}
.ewe-plant-link:hover,.ewe-plant-link:focus-visible {color:#8b5800; text-decoration-thickness:2px}
.ewe-photo-dialog {width:min(94vw,800px);max-height:94vh;margin:auto;padding:0;border:1px solid #d8a936;border-radius:18px;background:#fffdf7;color:#172018;box-shadow:0 28px 80px #0008;overflow:auto}
.ewe-photo-dialog::backdrop {background:rgba(0,14,9,.83)}
.ewe-photo-header {display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 22px 5px}
.ewe-photo-header h2 {font:700 clamp(22px,3.5vw,30px) Georgia,serif;color:#063d22;margin:0}
.ewe-photo-close {appearance:none;border:0;border-radius:50%;background:#063d22;color:white;font-size:26px;line-height:1;cursor:pointer;width:40px;height:40px;flex-shrink:0}
.ewe-photo-close:hover,.ewe-photo-close:focus-visible {background:#8b5800}
.ewe-photo-latin {margin:2px 22px 12px;font-style:italic;color:#455548}
.ewe-photo-frame {display:grid;place-items:center;min-height:240px;max-height:67vh;margin:0 16px;border-radius:12px;overflow:hidden;background:#f0f2ed}
.ewe-photo-frame img {display:block;width:auto;height:auto;max-height:67vh;max-width:100%;object-fit:contain}
.ewe-photo-frame img[hidden] {display:none}
.ewe-photo-status {padding:28px;text-align:center;color:#3b4a3e}
.ewe-photo-note,.ewe-photo-credit,.ewe-photo-link {padding:0 22px;margin:11px 0;font-size:13px;line-height:1.5;color:#4b594e}
.ewe-photo-credit a,.ewe-photo-link a {color:#07522d}
.ewe-photo-link {margin-bottom:21px}
.ewe-photo-dialog [hidden]{display:none}
@media(max-width:620px){.ewe-photo-header{padding:12px 14px 5px}.ewe-photo-latin{margin:2px 14px 11px}.ewe-photo-frame{margin:0 8px}.ewe-photo-note,.ewe-photo-credit,.ewe-photo-link{padding:0 14px}}
.ewe-credits{max-width:960px;margin:60px auto;padding:26px 22px;background:#fffdf7;border-radius:14px;line-height:1.7}
.ewe-credits h1{font-family:Georgia,serif;color:#042c19}
.ewe-credits li{padding:8px 0;border-bottom:1px solid #e2dfcf}
.ewe-credits a{color:#07522d}
