:root{
  --eco-green:#24452f;
  --eco-green-2:#365f42;
  --eco-cream:#f4f2e8;
  --eco-ink:#1b211d;
  --eco-muted:#667067;
  --eco-line:#dde4dc;
  --eco-warn:#7a2f24;
}
.eco-atlas,.eco-ficha{font:inherit;color:var(--eco-ink)}
.eco-atlas *,.eco-ficha *{box-sizing:border-box}
.eco-atlas__header{margin:0 0 28px;max-width:900px}
.eco-atlas__eyebrow,.eco-ficha__eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:700;color:var(--eco-green-2);margin:0 0 8px}
.eco-atlas__header h2{font-size:clamp(2rem,4vw,3.5rem);line-height:1.05;margin:0 0 14px}
.eco-atlas__header p{font-size:1.08rem;line-height:1.65;color:var(--eco-muted)}
.eco-atlas__filters{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:10px;align-items:center;padding:16px;border:1px solid var(--eco-line);border-radius:16px;background:#fff;margin:0 0 18px}
.eco-filter--search{grid-column:span 2}
.eco-filter input,.eco-filter select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cad5cb;border-radius:10px;background:#fff;color:var(--eco-ink)}
.eco-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border-radius:10px;text-decoration:none!important;font-weight:700;border:1px solid var(--eco-green);cursor:pointer}
.eco-btn--primary{background:var(--eco-green);color:#fff}
.eco-btn--ghost{background:#fff;color:var(--eco-green)}
.eco-atlas__summary{margin:0 0 18px;color:var(--eco-muted)}
.eco-species-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.eco-species-card{background:#fff;border:1px solid var(--eco-line);border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(18,42,26,.06);transition:transform .2s ease,box-shadow .2s ease}
.eco-species-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(18,42,26,.12)}
.eco-species-card__image{display:block;aspect-ratio:4/3;background:var(--eco-cream);overflow:hidden}
.eco-species-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.eco-species-card__placeholder{height:100%;display:grid;place-items:center;font-size:4rem}
.eco-species-card__body{padding:20px}
.eco-species-card__title{font-size:1.45rem;line-height:1.2;margin:0 0 4px}
.eco-species-card__title a{color:var(--eco-ink);text-decoration:none}
.eco-species-card__common{margin:0 0 12px;color:var(--eco-muted);font-weight:600}
.eco-species-card__excerpt{line-height:1.6;color:#465048;margin:14px 0}
.eco-species-card__link{font-weight:700;color:var(--eco-green);text-decoration:none}
.eco-chips{display:flex;flex-wrap:wrap;gap:6px}
.eco-chip{font-size:.78rem;line-height:1;padding:7px 9px;border-radius:999px;background:#eef4ef;color:#35513d;border:1px solid #dbe8dd}
.eco-chip--comestibilidad{background:#f4efe6;border-color:#e7dac6;color:#674c2e}
.eco-pagination ul{display:flex;gap:6px;list-style:none;padding:0;margin:30px 0 0;flex-wrap:wrap}
.eco-pagination a,.eco-pagination span{display:inline-flex;padding:8px 12px;border:1px solid var(--eco-line);border-radius:8px;text-decoration:none}
.eco-pagination .current{background:var(--eco-green);color:#fff;border-color:var(--eco-green)}
.eco-atlas-notice{padding:18px;border-radius:12px;background:var(--eco-cream);border:1px solid #e6e0ca}

.eco-ficha{max-width:1200px;margin-inline:auto}
.eco-ficha__hero{display:grid;grid-template-columns:1.05fr .95fr;gap:38px;align-items:center;margin-bottom:38px}
.eco-ficha__hero h1{font-size:clamp(2.2rem,5vw,4.6rem);line-height:1;margin:0 0 10px}
.eco-ficha__hero h1 small{display:block;font-size:.28em;font-weight:500;font-style:normal;color:var(--eco-muted);margin-top:10px;line-height:1.3}
.eco-ficha__common{font-size:1.25rem;color:var(--eco-muted);margin:0 0 18px}
.eco-ficha__hero-image{margin:0;border-radius:20px;overflow:hidden;background:var(--eco-cream);box-shadow:0 14px 38px rgba(18,42,26,.12)}
.eco-ficha__hero-image img{display:block;width:100%;height:auto}
.eco-ficha__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 0}
.eco-ficha__facts div{border-top:1px solid var(--eco-line);padding-top:10px}
.eco-ficha__facts dt{text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;color:var(--eco-muted);font-weight:700}
.eco-ficha__facts dd{margin:5px 0 0;font-weight:700}
.eco-ficha__columns{display:grid;grid-template-columns:1fr 1fr;gap:34px}
.eco-ficha__section{padding:24px 0;border-top:1px solid var(--eco-line)}
.eco-ficha__section h2{font-size:1.45rem;margin:0 0 10px;color:var(--eco-green)}
.eco-ficha__text{line-height:1.7}
.eco-ficha__text p:last-child{margin-bottom:0}
.eco-ficha__section--safety{border-left:4px solid #b58c55;padding-left:18px;background:#fbf8f2}
.eco-ficha__warning{margin:34px 0 0;padding:20px 22px;border-radius:14px;background:#fff4f1;border:1px solid #f0ccc4;border-left:5px solid var(--eco-warn)}
.eco-ficha__warning strong{color:var(--eco-warn);font-size:1.05rem}
.eco-ficha__warning p{margin:6px 0 0;line-height:1.6}

@media (max-width:1100px){
  .eco-atlas__filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .eco-filter--search{grid-column:span 3}
  .eco-species-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .eco-atlas__filters{grid-template-columns:1fr}
  .eco-filter--search{grid-column:auto}
  .eco-species-grid{grid-template-columns:1fr}
  .eco-ficha__hero,.eco-ficha__columns{grid-template-columns:1fr}
  .eco-ficha__facts{grid-template-columns:1fr}
  .eco-ficha__hero-image{order:-1}
}

/* Índice dinámico de géneros */
.eco-genera{margin:0 0 24px;padding:18px;border:1px solid var(--eco-line);border-radius:16px;background:#fff}
.eco-genera__title{font-size:1.25rem;margin:0 0 12px;color:var(--eco-green)}
.eco-genera__list{display:flex;flex-wrap:wrap;gap:8px}
.eco-genera__item{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #dbe8dd;border-radius:999px;background:#f6faf6;color:var(--eco-green);text-decoration:none!important;font-weight:700}
.eco-genera__item:hover{background:#eef5ef}
.eco-genera__item span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;border:1px solid #dbe8dd;font-size:.72rem;font-style:normal}

/* Ficha científica extendida v2.2 */
.eco-ficha__toc{position:sticky;top:12px;z-index:5;display:flex;gap:8px;flex-wrap:wrap;padding:12px 14px;margin:0 0 30px;background:rgba(255,255,255,.96);border:1px solid var(--eco-line);border-radius:14px;box-shadow:0 8px 24px rgba(18,42,26,.06)}
.eco-ficha__toc a{padding:7px 10px;border-radius:999px;background:#f3f7f3;color:var(--eco-green);text-decoration:none;font-weight:700;font-size:.86rem}
.eco-ficha__group{margin:36px 0 0;scroll-margin-top:90px}
.eco-ficha__group-title{font-size:clamp(1.65rem,3vw,2.35rem);margin:0;padding-bottom:12px;border-bottom:2px solid var(--eco-green);color:var(--eco-ink)}
.eco-ficha__section h3{font-size:1.22rem;margin:0 0 10px;color:var(--eco-green)}
.eco-ficha__section--medicinal{padding:20px;border:1px solid #cfe1d4;border-left:5px solid var(--eco-green-2);border-radius:12px;background:#f7fbf7}
.eco-ficha__section--culinary{padding:20px;border:1px solid #e8dcc9;border-left:5px solid #927348;border-radius:12px;background:#fbf8f2}
.eco-ficha__medical-note{margin:18px 0 0;padding:16px 18px;border:1px solid #d9dfd9;border-radius:12px;background:#f7f8f7;color:#455047;line-height:1.55}
.eco-ficha__gallery-section{scroll-margin-top:90px}
.eco-ficha__gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.eco-ficha__gallery-item{margin:0}
.eco-lightbox-trigger{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:12px;overflow:hidden}
.eco-lightbox-trigger img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;transition:transform .2s ease}
.eco-lightbox-trigger:hover img{transform:scale(1.025)}
.eco-ficha__gallery-item figcaption{font-size:.82rem;color:var(--eco-muted);margin-top:5px}
.eco-lightbox[hidden]{display:none}
.eco-lightbox{position:fixed;inset:0;z-index:99999;background:rgba(7,10,8,.92);display:grid;place-items:center;padding:4vw}
.eco-lightbox img{max-width:94vw;max-height:90vh;width:auto;height:auto;box-shadow:0 20px 70px rgba(0,0,0,.45)}
.eco-lightbox__close{position:absolute;top:18px;right:22px;width:48px;height:48px;border:0;border-radius:999px;background:#fff;color:#111;font-size:2rem;line-height:1;cursor:pointer}
.eco-lightbox-open{overflow:hidden}
.eco-tax-archive{padding:50px 20px 70px}
.eco-tax-archive__inner{max-width:1200px;margin:0 auto}
.eco-tax-archive__header{margin:0 0 28px}
.eco-tax-archive__header h1{font-size:clamp(2.2rem,5vw,4.2rem);margin:.1em 0 .25em}
.eco-tax-archive__description{max-width:850px;line-height:1.7;color:var(--eco-muted)}
@media(max-width:760px){.eco-ficha__gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.eco-ficha__toc{position:static}.eco-tax-archive{padding-inline:14px}}

/* Catálogo general /micologia-especies/ · v3.6 */
.eco-atlas-page__lead{max-width:900px;margin:.35rem 0 0;color:var(--eco-muted);font-size:1.06rem;line-height:1.7}
.eco-genera__item--all{background:var(--eco-green);border-color:var(--eco-green);color:#fff}
.eco-genera__item--all:hover{background:var(--eco-green-2);color:#fff}
.eco-genera__item--all span{color:var(--eco-green);background:#fff;border-color:#fff}
@media(max-width:760px){.eco-atlas-page__lead{font-size:1rem}}


/* ==========================================================
   Ficha científica premium · v3.18
   ========================================================== */
.eco-single-atlas{padding:38px 20px 84px;background:#fbfaf6}
.eco-breadcrumbs{max-width:1200px;margin:0 auto 22px;font-size:.79rem;color:var(--eco-muted)}
.eco-breadcrumbs ol{list-style:none;padding:0;margin:0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.eco-breadcrumbs li{display:flex;align-items:center;gap:8px}
.eco-breadcrumbs li:not(:last-child)::after{content:"/";color:#a6aea7}
.eco-breadcrumbs a{color:var(--eco-green);font-weight:700;text-decoration:none}
.eco-breadcrumbs span[aria-current="page"]{color:var(--eco-muted)}
.eco-ficha__updated{font-size:.78rem;color:rgba(255,255,255,.68);margin:18px 0 0}
.eco-ficha__hero-text{padding:40px}
.eco-ficha__hero-image{height:100%;min-height:500px;border-radius:0;margin:0;box-shadow:none}
.eco-ficha__hero-image img{width:100%;height:100%;object-fit:cover}
.eco-ficha__toc .eco-ficha__print{
  margin-left:auto;border:1px solid #dbe8dd;background:#fff;color:var(--eco-green);
  padding:7px 12px;border-radius:999px;font:inherit;font-size:.86rem;font-weight:700;cursor:pointer
}
.eco-ficha__toc .eco-ficha__print:hover{background:#f3f7f3}
.eco-chip{text-decoration:none!important;transition:background .18s ease,border-color .18s ease,transform .18s ease}
a.eco-chip:hover{background:#e3eee5;border-color:#c7dccb;transform:translateY(-1px)}
.eco-related{margin:54px 0 0;padding-top:34px;border-top:2px solid var(--eco-green)}
.eco-related__head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.eco-related__head h2{font-size:clamp(1.8rem,3vw,2.6rem);margin:0}
.eco-related__head>a{color:var(--eco-green);font-weight:800;text-decoration:none}
.eco-related__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.eco-related-card{border:1px solid var(--eco-line);border-radius:18px;overflow:hidden;background:#fff}
.eco-related-card__image{display:block;aspect-ratio:4/3;background:var(--eco-cream);overflow:hidden}
.eco-related-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.eco-related-card__image>span{height:100%;display:grid;place-items:center;font-size:3rem}
.eco-related-card__body{padding:18px}
.eco-related-card h3{font-size:1.25rem;margin:0 0 6px}
.eco-related-card h3 a{color:var(--eco-ink);text-decoration:none}
.eco-related-card p{color:var(--eco-muted);font-size:.9rem;margin:0 0 13px}
.eco-related-card__link{color:var(--eco-green);font-weight:800;text-decoration:none}
.eco-adjacent{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:36px 0 0}
.eco-adjacent>div{min-width:0}
.eco-adjacent__next{text-align:right}
.eco-adjacent a{display:flex;flex-direction:column;gap:4px;padding:18px 20px;border:1px solid var(--eco-line);border-radius:16px;background:#fff;text-decoration:none;color:var(--eco-ink)}
.eco-adjacent a:hover{border-color:#bdd3c1;background:#f8fbf8}
.eco-adjacent span{color:var(--eco-muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}
.eco-adjacent strong{font-size:1rem;color:var(--eco-green);overflow:hidden;text-overflow:ellipsis}
.eco-tax-archive>.eco-tax-archive__inner>.eco-breadcrumbs{padding-top:24px;margin-bottom:16px}
.eco-tax-archive__count{margin:10px 0 0!important;color:rgba(255,255,255,.68)!important;font-size:.9rem!important}
.eco-ficha__section--intro{font-size:1.04rem}
.eco-ficha__section--intro .eco-ficha__text{line-height:1.8}
.eco-ficha__group-title{scroll-margin-top:100px}
.eco-ficha__warning{scroll-margin-top:100px}

@media(max-width:900px){
  .eco-ficha__hero{grid-template-columns:1fr}
  .eco-ficha__hero-image{min-height:360px;order:-1}
  .eco-related__grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .eco-single-atlas{padding:24px 14px 64px}
  .eco-ficha__hero-text{padding:26px 22px}
  .eco-related__head{display:block}
  .eco-related__head>a{display:inline-block;margin-top:10px}
  .eco-related__grid{grid-template-columns:1fr}
  .eco-adjacent{grid-template-columns:1fr}
  .eco-adjacent__next{text-align:left}
  .eco-ficha__toc .eco-ficha__print{margin-left:0}
}

@media print{
  .eco-ficha__toc,.eco-related,.eco-adjacent,.eco-lightbox,
  .ecot-global-header,.ecot-global-footer,.site-header,.site-footer{display:none!important}
  .eco-single-atlas{padding:0!important;background:#fff!important}
  .eco-ficha{max-width:none!important}
  .eco-ficha__hero{display:grid!important;grid-template-columns:1.2fr .8fr!important;background:#fff!important;color:#111!important;border:1px solid #ddd!important}
  .eco-ficha__hero-text{padding:18px!important}
  .eco-ficha__hero h1,.eco-ficha__hero .eco-chip,.eco-ficha__hero .eco-ficha__common{color:#111!important}
  .eco-ficha__updated{color:#555!important}
  .eco-ficha__section{break-inside:avoid;box-shadow:none!important}
  a{color:#111!important;text-decoration:none!important}
}


/* Taxonomy SEO/editorial enrichment · 3.18.1 */
.eco-tax-archive__description{
  max-width:820px;
  margin:18px 0 0;
  color:#53635b;
  line-height:1.72;
}
.eco-tax-archive__description p{margin:.55em 0}
.eco-tax-archive__back{margin:16px 0 0}
.eco-tax-archive__back a{
  color:#173b2d;
  font-weight:800;
  text-decoration:none;
}
.eco-tax-archive__back a:hover{text-decoration:underline}


/* Author / E-E-A-T linkage · 3.20 */
.eco-ficha__author{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
  margin:34px 0;
  padding:24px;
  border:1px solid rgba(19,61,45,.14);
  border-radius:18px;
  background:#f4f7f2;
}
.eco-ficha__author span{
  display:block;
  margin-bottom:5px;
  color:#64746b;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.eco-ficha__author strong{
  display:block;
  margin-bottom:7px;
  font-size:1.15rem;
}
.eco-ficha__author strong a{
  color:#173b2d;
  text-decoration:none;
}
.eco-ficha__author p{
  max-width:760px;
  margin:0;
  color:#53635b;
  line-height:1.65;
}
.eco-ficha__author-links{
  min-width:190px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.eco-ficha__author-links a{
  color:#173b2d;
  font-weight:800;
  text-decoration:none;
}
@media(max-width:720px){
  .eco-ficha__author{flex-direction:column}
  .eco-ficha__author-links{min-width:0}
}


/* Sources / evidence / review · 3.21 */
.eco-ficha__evidence{
  margin:34px 0;
  padding:26px;
  border:1px solid rgba(19,61,45,.14);
  border-radius:20px;
  background:#fbfcf8;
}
.eco-ficha__evidence-head{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
  padding-bottom:18px;
  border-bottom:1px solid rgba(19,61,45,.10);
}
.eco-ficha__evidence-head span{
  display:block;
  margin-bottom:5px;
  color:#64746b;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.eco-ficha__evidence-head h2{margin:0}
.eco-ficha__review-date{
  min-width:180px;
  padding:12px 14px;
  border-radius:14px;
  background:#edf2eb;
}
.eco-ficha__review-date small{display:block;color:#66756d}
.eco-ficha__review-date strong{display:block;margin-top:3px;color:#173b2d}
.eco-ficha__evidence-note,
.eco-ficha__reference-block{
  margin-top:20px;
}
.eco-ficha__evidence-note{
  padding:18px;
  border-left:4px solid #315f4b;
  background:#f0f4ee;
}
.eco-ficha__evidence-note p:last-child{margin-bottom:0}
.eco-ficha__references{
  margin:12px 0 0;
  padding-left:22px;
}
.eco-ficha__references li{
  margin:.7em 0;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.eco-ficha__references a{color:#173b2d}
.eco-ficha__reference-block--pending{
  padding:18px;
  border:1px dashed rgba(19,61,45,.25);
  border-radius:14px;
  color:#59675f;
}
.eco-ficha__evidence-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:22px;
}
.eco-ficha__evidence-links a{
  color:#173b2d;
  font-weight:800;
  text-decoration:none;
}
@media(max-width:680px){
  .eco-ficha__evidence-head{flex-direction:column}
  .eco-ficha__review-date{min-width:0;width:100%}
}
