import { LitElement, css } from "lit";
import { customElement } from "lit/decorators.js";
import { ItemSectionMixin } from "../../../mixins/item-section-mixin.js";
function _ts_decorate(decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
    else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
}
class AtomicResultSectionExcerpt extends ItemSectionMixin(LitElement, css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */atomic-result-section-excerpt.with-sections{color:var(--atomic-neutral-dark);-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;grid-area:excerpt;overflow:hidden}@media (min-width:1024px){atomic-result-section-excerpt.with-sections.density-comfortable{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}atomic-result-section-excerpt.with-sections.density-compact{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}atomic-result-section-excerpt.with-sections.display-list.density-comfortable{margin-top:1.75rem;max-height:4.5rem}atomic-result-section-excerpt.with-sections.display-list.density-normal{margin-top:1.25rem;max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-list.density-compact{margin-top:1rem;max-height:1.25rem}atomic-result-section-excerpt.with-sections.display-grid.density-comfortable{margin-top:2.25rem}atomic-result-section-excerpt.with-sections.display-grid.density-normal{margin-top:1.75rem}atomic-result-section-excerpt.with-sections.display-grid.density-compact{margin-top:1.25rem}}@media not all and (min-width:1024px){atomic-result-section-excerpt.with-sections.display-list.density-comfortable,atomic-result-section-excerpt.with-sections.display-list.density-normal{max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-list.density-comfortable{margin-top:1.25rem}atomic-result-section-excerpt.with-sections.display-list.density-normal{margin-top:1rem}atomic-result-section-excerpt.with-sections.display-grid.image-large.density-comfortable,atomic-result-section-excerpt.with-sections.display-grid.image-large.density-normal{max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-grid.image-large.density-comfortable{margin-top:1.25rem}atomic-result-section-excerpt.with-sections.display-grid.image-large.density-normal{margin-top:1rem}:is(atomic-result-section-excerpt.with-sections.display-grid.image-small,atomic-result-section-excerpt.with-sections.display-grid.image-icon,atomic-result-section-excerpt.with-sections.display-grid.image-none).density-comfortable{margin-top:1.25rem}:is(atomic-result-section-excerpt.with-sections.display-grid.image-small,atomic-result-section-excerpt.with-sections.display-grid.image-icon,atomic-result-section-excerpt.with-sections.display-grid.image-none).density-normal{margin-top:1rem}:is(atomic-result-section-excerpt.with-sections.display-grid.image-small,atomic-result-section-excerpt.with-sections.display-grid.image-icon,atomic-result-section-excerpt.with-sections.display-grid.image-none).density-compact{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;overflow:hidden}}atomic-result-section-excerpt.with-sections.display-table.density-comfortable{margin-top:1.75rem;max-height:4.5rem}atomic-result-section-excerpt.with-sections.display-table.density-normal{margin-top:1.25rem;max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-table.density-compact{margin-top:1rem;max-height:1.25rem}`) {
}
AtomicResultSectionExcerpt = _ts_decorate([
    customElement('atomic-result-section-excerpt')
], AtomicResultSectionExcerpt);
export { AtomicResultSectionExcerpt };
