/* Herbario cultural Adé Yerube */
.herb-page{background:#f3ede1;color:#253027}
.herb-nav{display:flex;align-items:center;gap:30px;color:#e6ddc5;font-size:12px;font-weight:700}
.herb-nav a:hover{color:#e1bc84}
.herb-nav-cta{border:1px solid #c3a26e;padding:13px 19px;color:#efd0a0}
.herb-hero{background:#090c0a;color:#f2e9d7;overflow:hidden;border-bottom:1px solid #9c7b49}
.herb-hero-inner{display:grid;grid-template-columns:1.2fr .7fr;min-height:560px;align-items:center;gap:70px;padding-block:80px}
.herb-hero h1{font:400 clamp(66px,8vw,112px)/1.03 var(--serif);letter-spacing:-.07em;margin:24px 0}
.herb-hero h1 em{color:#e4c28a}
.herb-hero p{line-height:1.9;color:#bfc9b9;max-width:640px;font-size:16px}
.herb-hero-meta{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin-top:36px;font-size:12px;color:#e5cd9a}
.herb-hero-meta b{font:500 25px var(--serif)}
.herb-hero-art{background:radial-gradient(circle,#4a3b27 0%,#121713 66%);border:1px solid #90734d;aspect-ratio:1;max-width:435px;display:flex;align-items:center;justify-content:center;position:relative}
.herb-hero-art img{width:83%;height:auto;object-fit:contain;border-radius:50%}
.herb-hero-art span{position:absolute;right:24px;top:25px;font:400 23px var(--serif);color:#d6b475;letter-spacing:.28em}
.herb-library{background:#f4efe6;padding-top:90px}
.herb-section-title{display:grid;grid-template-columns:1fr 330px;align-items:end;gap:40px}
.herb-section-title h2,.herb-sources h2{font:400 clamp(43px,5vw,72px)/1.13 var(--serif);letter-spacing:-.045em;margin:18px 0 20px}
.herb-section-title h2 em,.herb-sources h2 em{color:#a6814c}
.herb-section-title p{font-size:13px;line-height:1.85;color:#677164}
.herb-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:17px;background:#fffaf0;border:1px solid #d7c9ad;padding:16px;margin-top:35px}
.herb-search{display:flex;align-items:center;gap:12px;flex:1 1 330px}
.herb-search span{font-size:28px;color:#9d7b4a}
.herb-search input{width:100%;min-height:47px;background:transparent;border:0;border-bottom:1px solid #c4b494;outline:0;padding:10px 0;font-size:13px;color:#263c2b}
.herb-search:focus-within input{border-color:#9e7945}
.herb-filter-label{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;color:#5a5948}
.herb-filter-label select{max-width:200px;background:#192c20;color:#f6e4b9;border:0;padding:14px 12px;font:700 12px var(--font)}
.herb-results-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:11px;letter-spacing:.05em;border-bottom:1px solid #d3c5a8;margin:25px 0 22px;padding-bottom:16px}
.herb-results-bar strong{color:#3a4f38}
.herb-results-bar span{color:#797764}
.herb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}
.herb-card{background:#fffcf5;border:1px solid #ddd4c1;display:flex;flex-direction:column;min-width:0;overflow:hidden;transition:transform .18s,box-shadow .18s}
.herb-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px #29271716}
.herb-photo{height:207px;background:linear-gradient(145deg,#bdc7ab,#5f7762);position:relative;overflow:hidden}
.herb-photo img{height:100%;width:100%;display:block;object-fit:cover;transition:transform .25s}
.herb-card:hover .herb-photo img{transform:scale(1.035)}
.herb-img-placeholder{height:100%;display:grid;place-items:center;font:70px var(--serif);color:#e4d0a8}
.herb-number{position:absolute;top:14px;left:13px;color:#f5e8c7;background:#102119e8;padding:7px 9px;font:800 10px var(--font);letter-spacing:.12em}
.herb-card-body{padding:19px 19px 18px;display:flex;flex-direction:column;flex:1}
.herb-group{font-size:9px;font-weight:800;letter-spacing:.19em;color:#a0814f;text-transform:uppercase}
.herb-card h3{font:500 24px/1.14 var(--serif);letter-spacing:-.035em;margin:11px 0 7px}
.herb-latin{font-size:11px;font-style:italic;color:#747868;margin:0 0 14px}
.herb-summary{font-size:12px;line-height:1.65;color:#5f685e;margin:0 0 18px;flex:1}
.herb-view{width:100%;border:0;border-top:1px solid #e5d9c4;background:none;text-align:left;display:flex;justify-content:space-between;padding:16px 0 0;font-size:11px;font-weight:800;color:#36503b}
.herb-view:hover{color:#ac7a37}
.herb-card[hidden],.herb-empty[hidden]{display:none}
.herb-empty{padding:50px 20px;text-align:center;background:#f7e9cd;border:1px solid #d3b77c}
.herb-more{margin-top:38px;padding:28px 30px;background:#1d3628;color:#e9e9de;display:flex;align-items:center;justify-content:space-between;gap:35px}
.herb-more p{font-size:13px;line-height:1.85;max-width:780px}
.herb-more a{background:#dfbb80;color:#182a1b;font-weight:800;font-size:12px;padding:16px 20px;white-space:nowrap}
.herb-sources{background:#192d21;color:#f6ebd6}
.herb-sources .section-kicker{color:#dbba83}
.herb-sources h2 em{color:#e4c78e}
.herb-sources>div>p{max-width:940px;color:#c2cdc0;font-size:14px;line-height:1.9}
.herb-references{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:34px 0}
.herb-references a{padding:22px;border:1px solid #5c7058;display:flex;flex-direction:column;gap:7px;transition:background .2s}
.herb-references a:hover{background:#314a34}
.herb-references strong{font:500 19px var(--serif)}
.herb-references span{font-size:11px;color:#cbb48a;line-height:1.7}
.herb-warning{border:1px solid #d1b37a;padding:26px;max-width:1100px;background:#29402f}
.herb-warning strong{color:#f0ce93}
.herb-warning p{font-size:13px;line-height:1.85;color:#d6dfcf}
#herb-dialog{width:min(850px,calc(100% - 32px));max-height:88vh;background:#fffcf5;color:#1b2c20;padding:0;border:2px solid #a7834d;box-shadow:0 35px 100px #0008}
#herb-dialog::backdrop{background:#040907cc;backdrop-filter:blur(4px)}
.dialog-close{position:sticky;float:right;top:13px;right:13px;z-index:8;border:0;background:#172c1e;color:white;width:42px;height:42px;font-size:27px;cursor:pointer;margin:12px 12px -54px 0}
.dialog-grid{display:grid;grid-template-columns:.95fr 1fr}
.dialog-art{background:#cad2bb;min-height:460px}
.dialog-art img{width:100%;height:100%;max-height:520px;object-fit:cover;display:block}
.dialog-info{padding:44px 30px 28px}
.dialog-info h2{font:500 clamp(32px,4vw,48px)/1.1 var(--serif);margin:14px 0 4px}
.dialog-info .dialog-latin{font-style:italic;color:#79725c}
.dialog-info p{font-size:13px;line-height:1.85;color:#4e6253}
.dialog-info .dialog-label{font-size:10px;letter-spacing:.18em;color:#ad8654;font-weight:800;margin-top:22px;display:block}
.dialog-credit{font-size:10px;line-height:1.7;border-top:1px solid #d9cebd;margin-top:25px;padding-top:18px;overflow-wrap:anywhere}
.dialog-credit a{color:#566f48;text-decoration:underline}
.dialog-caution{background:#f2e2c5;border-left:3px solid #ad8744;padding:12px;font-size:11px;line-height:1.65}
@media(max-width:1060px){.herb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.herb-hero-inner{grid-template-columns:1fr;gap:32px}.herb-hero-art{max-width:370px;width:100%;margin:auto}.herb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.herb-section-title{grid-template-columns:1fr}.herb-references{grid-template-columns:1fr}.herb-more{flex-direction:column;align-items:start}}
@media(max-width:570px){.herb-nav{gap:10px}.herb-nav a{font-size:10px}.herb-nav a:nth-child(2){display:none}.herb-nav-cta{padding:11px}.herb-hero-inner{padding-block:60px}.herb-hero h1{font-size:clamp(57px,13vw,83px)}.herb-grid{grid-template-columns:1fr}.herb-photo{height:270px}.herb-toolbar{padding:12px}.herb-filter-label{justify-content:space-between;width:100%}.dialog-grid{grid-template-columns:1fr}.dialog-art{min-height:240px;max-height:360px}.dialog-info{padding:24px}.herb-more{padding:22px}}
@media(prefers-reduced-motion:reduce){.herb-card,.herb-photo img{transition:none}}
.herb-association{display:block;background:#eee4d0;color:#67502d;font-size:10px;font-weight:750;line-height:1.6;padding:9px 10px;margin-bottom:11px}.herb-cultural-link{color:#826336;text-decoration:underline;font-size:11px;font-weight:700}
