.entity-experience,
.buying-guide-single,
.search-page { --entity-border: color-mix(in srgb, var(--color-primary, #315b42) 18%, transparent); }

.aanya-breadcrumbs { margin: clamp(1rem, 3vw, 2rem) 0; font-size: .9rem; }
.aanya-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.aanya-breadcrumbs li:not(:last-child)::after { content: "/"; margin-inline-start: .45rem; color: #68756c; }
.aanya-breadcrumbs a { color: var(--color-primary, #315b42); text-underline-offset: .2em; transition: color var(--motion-fast, .18s) ease; }
.aanya-breadcrumbs a:hover { text-decoration: underline; }
.aanya-breadcrumbs a:focus-visible { outline: 2px solid var(--color-brand-primary, #74B12F); outline-offset: 2px; border-radius: 2px; }

.entity-hero { display: grid; align-items: center; min-height: 0; margin-block: clamp(.75rem,2vw,1.25rem) clamp(1.5rem,3vw,2.25rem); padding: clamp(1.5rem,4vw,3rem); border: 1px solid var(--entity-border); border-radius: 1.5rem; background: linear-gradient(135deg,var(--color-oat,#f5ebdd),var(--color-sage-soft,#e8f0e1) 64%,var(--color-mauve-soft,#f1eaf2)); }
.entity-hero--media { grid-template-columns: minmax(12rem, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 4rem); }
.entity-hero img { width: 100%; max-height: 22rem; object-fit: contain; border-radius: 1rem; background: #fff; box-shadow: var(--shadow-sm, 0 4px 15px rgba(0,0,0,.06)); }
.entity-hero h1 { max-width: 19ch; margin: 0 0 .85rem; font-size: clamp(2.1rem, 6vw, 4.5rem); line-height: 1.08; overflow-wrap: anywhere; }
.entity-hero h1 .aanya-icon { display: inline-flex; flex: 0 0 auto; width: .82em; height: .82em; margin-right: .12em; vertical-align: -.08em; color: var(--color-brand-primary, #315b42); }
.entity-hero h1 .aanya-icon svg { display: block; width: 100%; height: 100%; }
.entity-hero__eyebrow,.entity-section__eyebrow { color: #52665a; margin: 0 0 .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.entity-result-count { display: block; margin-top: .6rem; color: #52665a; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.entity-hero__summary { max-width: 62ch; margin: 0 0 .6rem; font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.7; }
.entity-actions,.aanya-content-state__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.entity-section { margin-block: clamp(1.75rem,3.5vw,3rem); padding:clamp(1.25rem,2.5vw,2rem); border:1px solid color-mix(in srgb,var(--color-sage,#91aa78) 24%,transparent); border-radius:1.25rem; background:color-mix(in srgb,var(--color-cream,#fff9f0) 90%,white); }
.entity-section__heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.entity-section h2 { margin-block: .25rem 1rem; font-size: clamp(1.65rem, 4vw, 2.6rem); }
/* display/grid-template-columns/gap: owned by components/product-card.css. */
.entity-card-grid { margin: 0; padding: 0; list-style: none; }
.entity-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin: 0; }
.entity-facts > div,.entity-fact-groups > div { padding: 1rem; border: 1px solid var(--entity-border); border-radius: .75rem; background: #fff; }
.entity-facts dt { color: #68756c; font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.entity-facts dd { margin: .35rem 0 0; }
.entity-facts--compact { margin-top: 1.25rem; }
.entity-fact-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.entity-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.entity-pills li { padding: .4rem .7rem; border-radius: 999px; background: #edf3ec; }
/*
 * Package 94 Session 8: certifications need a distinct, verified-looking
 * treatment so they read differently from descriptive ingredient/diet/
 * goal tags -- but a solid --color-brand-primary fill (identical to the
 * site's primary-action/CTA color) accidentally made a certification
 * pill look like a promotional badge or button, not a calm factual
 * claim. Re-pointed to --color-success (the "verified" semantic role,
 * not "call to action"), with a border + check icon instead of a solid
 * fill so it reads as a fact chip, not a clickable action.
 */
.entity-pills--certifications li {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--color-success-soft, #E7F2E9);
    border: 1px solid color-mix(in srgb, var(--color-success, #2F6B3A) 30%, transparent);
    color: var(--color-success, #2F6B3A);
    font-weight: 700;
}
.entity-pills--certifications li .aanya-icon,
.entity-pills--certifications li svg {
    width: .85rem;
    height: .85rem;
    flex: 0 0 auto;
}
.aanya-content-state { padding: clamp(1.5rem, 5vw, 3rem); border: 1px dashed var(--entity-border); border-radius: 1rem; background: #fafbf8; text-align: center; }
.aanya-content-state__actions { justify-content: center; }
.entity-prose { max-width: 72ch; }

.entity-experience .aanya-icon svg {
    display: block;
    width: 1.25em;
    height: 1.25em;
}

/* .products-grid: display/grid-template-columns/gap owned by
   components/product-card.css (higher specificity here would otherwise
   silently win over that shared rule for Related Products). */
.entity-experience .products-grid {
    margin: 0;
    padding: 0;
    list-style: none;
}

.entity-experience :is(.brands-grid, .health-goals-grid, .buying-guides-grid) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.entity-experience :is(.related-products, .related-brands, .related-health-goals, .related-buying-guides) {
    margin-block: clamp(2rem, 5vw, 3.5rem);
}

.entity-experience :is(.products-grid, .brands-grid, .health-goals-grid, .buying-guides-grid) img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (max-width: 48rem) { .entity-hero--media { grid-template-columns: 1fr; } .entity-hero img { max-height: 16rem; } }
@media (prefers-reduced-motion: reduce) { .entity-experience *, .search-page *, .buying-guide-single * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
