import { Schema, StringValue } from "@coveo/bueno";
import { LitElement, css, html } from "lit";
import { customElement, property, state } from "lit/decorators.js";
import { ref } from "lit/directives/ref.js";
import { resultComponentClass } from "../../common/item-list/item-list-common.js";
import { CustomRenderController } from "../../common/layout/custom-render-controller.js";
import { ItemLayoutController } from "../../common/layout/item-layout-controller.js";
import { ValidatePropsController } from "../../common/validate-props-controller/validate-props-controller.js";
import { booleanConverter } from "../../../converters/boolean-converter.js";
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles.js";
import { ChildrenUpdateCompleteMixin } from "../../../mixins/children-update-complete-mixin.js";
import { parentNodeToString } from "../../../utils/dom-utils.js";
import "../../search/atomic-result-link/atomic-result-link.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;
}
function _ts_metadata(k, v) {
    if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
}
class AtomicRecsResult extends ChildrenUpdateCompleteMixin(LitElement) {
    async connectedCallback() {
        super.connectedCallback();
        new CustomRenderController(this, {
            renderingFunction: ()=>this.renderingFunction,
            itemData: ()=>this.result,
            rootElementRef: ()=>this.resultRootRef,
            linkContainerRef: ()=>this.linkContainerRef,
            onRenderComplete: (element, output)=>{
                this.itemLayoutController.applyLayoutClassesToElement(element, output);
            }
        });
        this.itemLayoutController = new ItemLayoutController(this, {
            elementPrefix: 'atomic-recs-result',
            renderingFunction: ()=>this.renderingFunction,
            content: ()=>this.content,
            layoutConfig: ()=>({
                    display: this.display,
                    density: this.density,
                    imageSize: this.imageSize
                }),
            itemClasses: ()=>this.classes
        });
        this.addEventListener('atomic/resolveResult', this.resolveResult);
        this.addEventListener('atomic/resolveInteractiveResult', this.resolveInteractiveResult);
        this.addEventListener('atomic/resolveStopPropagation', this.resolveStopPropagation);
        this.addEventListener('atomic/resolveResultDisplayConfig', this.resolveResultDisplayConfig);
        this.addEventListener('click', this.handleClick);
        await this.getUpdateComplete();
        this.classList.add('hydrated');
    }
    disconnectedCallback() {
        super.disconnectedCallback();
        this.removeEventListener('atomic/resolveResult', this.resolveResult);
        this.removeEventListener('atomic/resolveInteractiveResult', this.resolveInteractiveResult);
        this.removeEventListener('atomic/resolveStopPropagation', this.resolveStopPropagation);
        this.removeEventListener('atomic/resolveResultDisplayConfig', this.resolveResultDisplayConfig);
        this.removeEventListener('click', this.handleClick);
    }
    getContentHTML() {
        if (!this.content) {
            console.warn('atomic-recs-result: content property is undefined. Cannot get content HTML.', this);
            return '';
        }
        return parentNodeToString(this.content);
    }
    getLinkHTML() {
        return parentNodeToString(this.linkContent ?? new HTMLElement());
    }
    render() {
        if (void 0 !== this.renderingFunction) return html`
        <div class=${resultComponentClass}>
          <div
            class="result-root"
            ${ref((el)=>{
            this.resultRootRef = el;
        })}
          ></div>
          <div
            class="link-container"
            ${ref((el)=>{
            this.linkContainerRef = el;
        })}
          ></div>
        </div>
      `;
        if (!this.itemLayoutController.getLayout()) return html`<div class=${resultComponentClass}></div>`;
        return html`
      <div class=${resultComponentClass}>
        <div
          class="result-root ${this.itemLayoutController.getCombinedClasses().join(' ')}"
          .innerHTML=${this.getContentHTML()}
        ></div>
        <div class="link-container" .innerHTML=${this.getLinkHTML()}></div>
      </div>
    `;
    }
    firstUpdated(_changedProperties) {
        if (this.loadingFlag && this.store) this.store.unsetLoadingFlag(this.loadingFlag);
    }
    constructor(){
        super(), this.linkContent = new DocumentFragment(), this.display = 'list', this.density = 'normal', this.imageSize = 'icon', this.classes = '', this.resolveResult = (event)=>{
            event.preventDefault();
            event.stopPropagation();
            event.detail(this.result);
        }, this.resolveInteractiveResult = (event)=>{
            event.preventDefault();
            event.stopPropagation();
            if (this.interactiveResult) event.detail(this.interactiveResult);
        }, this.resolveStopPropagation = (event)=>{
            event.detail(this.stopPropagation);
        }, this.resolveResultDisplayConfig = (event)=>{
            event.preventDefault();
            event.stopPropagation();
            event.detail({
                density: this.density,
                imageSize: this.imageSize
            });
        }, this.clickLinkContainer = ()=>{
            this.shadowRoot?.querySelector('.link-container > atomic-result-link a:not([slot])')?.click();
        }, this.handleClick = (event)=>{
            if (this.stopPropagation) event.stopPropagation();
            this.clickLinkContainer();
        };
        new ValidatePropsController(this, ()=>({
                display: this.display,
                density: this.density,
                imageSize: this.imageSize
            }), new Schema({
            display: new StringValue({
                constrainTo: [
                    'grid',
                    'list',
                    'table'
                ]
            }),
            density: new StringValue({
                constrainTo: [
                    'normal',
                    'comfortable',
                    'compact'
                ]
            }),
            imageSize: new StringValue({
                constrainTo: [
                    'small',
                    'large',
                    'icon',
                    'none'
                ]
            })
        }));
    }
}
AtomicRecsResult.styles = css`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial;--tw-border-style:solid}}}atomic-result-section-badges{text-align:left}atomic-result-section-actions{text-align:right}atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem}@layer components{:host :host{font-family:var(--atomic-font-family);--tw-font-weight:var(--atomic-font-normal);font-weight:var(--atomic-font-normal)}:host atomic-result-section-actions,:host atomic-result-section-badges{text-align:left}:host atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem}:host .result-root.with-sections{display:grid;justify-items:stretch}:host .result-root.with-sections atomic-result-section-visual{grid-area:visual}:host .result-root.with-sections atomic-result-section-badges{grid-area:badges}:host .result-root.with-sections atomic-result-section-actions{grid-area:actions}:host .result-root.with-sections atomic-result-section-actions atomic-result-quickview{display:inline-block}:host .result-root.with-sections atomic-result-section-title{color:var(--atomic-on-background);grid-area:title}:host .result-root.with-sections atomic-result-section-title-metadata{grid-area:title-metadata}:host .result-root.with-sections atomic-result-section-emphasized{grid-area:emphasized}:host .result-root.with-sections atomic-result-section-excerpt{color:var(--atomic-neutral-dark);grid-area:excerpt}:host .result-root.with-sections atomic-result-section-bottom-metadata{color:var(--atomic-neutral-dark);grid-area:bottom-metadata}:host .result-root.with-sections atomic-result-section-children{grid-area:children}:host .result-root.with-sections atomic-result-section-actions,:host .result-root.with-sections atomic-result-section-badges{display:flex;flex-wrap:wrap;gap:.5rem;max-height:calc(var(--row-height,2rem)*2 + .5rem)}:host .result-root.with-sections atomic-result-section-actions,:host .result-root.with-sections atomic-result-section-badges,:host .result-root.with-sections atomic-result-section-bottom-metadata,:host .result-root.with-sections atomic-result-section-emphasized,:host .result-root.with-sections atomic-result-section-excerpt,:host .result-root.with-sections atomic-result-section-title,:host .result-root.with-sections atomic-result-section-title-metadata,:host .result-root.with-sections atomic-result-section-visual{overflow:hidden;text-overflow:ellipsis}:host .result-root.with-sections.image-icon atomic-result-section-visual{border-radius:var(--atomic-border-radius)}@media (min-width:1024px){:host .result-root.with-sections.display-list.image-large.density-compact atomic-result-section-visual{height:10.25rem;width:10.25rem}:host .result-root.with-sections.display-list atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-list atomic-result-section-children atomic-result-children::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-visual{margin-right:1.5rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-actions,:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1.5rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-excerpt{--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;margin-top:1.75rem;max-height:4.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem;max-height:4rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-list.density-comfortable .placeholder,:host .result-root.with-sections.display-list.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-actions,:host .result-root.with-sections.display-list.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.875rem;max-height:3.5rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-list.density-normal .placeholder,:host .result-root.with-sections.display-list.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-actions,:host .result-root.with-sections.display-list.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-list.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.6875rem;max-height:3.25rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-list.density-compact .placeholder,:host .result-root.with-sections.display-list.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-list.image-large,:host .result-root.with-sections.display-list.image-small{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(6,auto) minmax(0,1fr)}:is(:host .result-root.with-sections.display-list.image-large.density-comfortable,:host .result-root.with-sections.display-list.image-large.density-normal) atomic-result-section-visual{height:20.375rem;width:20.375rem}:is(:host .result-root.with-sections.display-list.image-small,:host .result-root.with-sections.display-list.image-large.density-compact) atomic-result-section-visual{height:10rem;width:10rem}:host .result-root.with-sections.display-list.image-icon{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(7,minmax(0,min-content))}:host .result-root.with-sections.display-list.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-list.image-none{grid-template-areas:"badges.actions""title title title""title-metadata title-metadata title-metadata""emphasized emphasized emphasized""excerpt excerpt excerpt""bottom-metadata bottom-metadata bottom-metadata""children children children";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(6,auto)}:host .result-root.with-sections.display-list.image-none atomic-result-section-visual{display:none}}@media not all and (min-width:1024px){:host .result-root.with-sections.display-list atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-list atomic-result-section-children atomic-result-children::part(children-root){border-top:1px var(--tw-border-style) var(--atomic-neutral)}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-actions{--row-height:2.5rem;margin-top:1rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:4rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-list.density-comfortable .placeholder,:host .result-root.with-sections.display-list.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-actions{--row-height:2.5rem;margin-top:.75rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.625rem;max-height:3.5rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-list.density-normal .placeholder,:host .result-root.with-sections.display-list.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-actions{--row-height:2.5rem;margin-top:.5em}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-list.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.4375rem;max-height:3.25rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-list.density-compact .placeholder,:host .result-root.with-sections.display-list.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-list.image-large{grid-template-areas:"visual""badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(8,auto)}:host .result-root.with-sections.display-list.image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-list.image-large atomic-result-section-visual{height:7.25rem}}:host .result-root.with-sections.display-list.image-large atomic-result-section-visual{margin-bottom:1rem;margin-right:0;width:100%}:host .result-root.with-sections.display-list.image-small{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual.""excerpt excerpt""bottom-metadata bottom-metadata""actions actions""children children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(4,auto) minmax(0,1fr) repeat(3,auto)}:host .result-root.with-sections.display-list.image-small atomic-result-section-visual{height:24vw;margin-bottom:1rem;width:24vw}:host .result-root.with-sections.display-list.image-icon{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual excerpt""visual bottom-metadata""visual actions""visual children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr}:host .result-root.with-sections.display-list.image-icon atomic-result-section-visual{height:2rem;margin-bottom:0;width:2rem}:host .result-root.with-sections.display-list.image-none{grid-template-areas:"badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(7,auto)}:host .result-root.with-sections.display-list.image-none atomic-result-section-visual{display:none}}:host .result-root.with-sections.display-grid a,:host .result-root.with-sections.display-grid button{position:relative}@media (min-width:1024px){:host .result-root.with-sections.display-grid.image-large{grid-template-areas:"badges""visual""title""title-metadata""emphasized""excerpt""children""bottom-metadata""actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto)}:is(:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-large,:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-small) atomic-result-section-visual{margin:0 auto 2rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-icon atomic-result-section-badges{margin-bottom:2rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-visual{margin-bottom:.5rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2.5rem;margin-top:2.25rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-excerpt{--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;margin-top:2.25rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.75rem;max-height:4rem}:is(:host .result-root.with-sections.display-grid.image-large.density-normal.image-large,:host .result-root.with-sections.display-grid.image-large.density-normal.image-small) atomic-result-section-visual{margin:0 auto 1.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal.image-icon atomic-result-section-badges{margin-bottom:1.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-visual{margin-bottom:.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.75rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.375rem;max-height:3.5rem}:is(:host .result-root.with-sections.display-grid.image-large.density-compact.image-large,:host .result-root.with-sections.display-grid.image-large.density-compact.image-small) atomic-result-section-visual{margin:0 auto 1rem}:host .result-root.with-sections.display-grid.image-large.density-compact.image-icon atomic-result-section-badges{margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-visual{margin-bottom:.5rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.25rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.9375rem;max-height:3.25rem}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{height:19.75rem}}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{width:100%}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-badges{margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{height:14rem}}:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{width:100%}:host .result-root.with-sections.display-grid.image-large.image-none atomic-result-section-visual{display:none}}@media not all and (min-width:1024px){:host .result-root.with-sections.display-grid.image-large atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-grid.image-large atomic-result-section-children atomic-result-children::part(children-root){border-top:1px var(--tw-border-style) var(--atomic-neutral)}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-actions{--row-height:2.5rem;margin-top:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:4rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable .placeholder,:host .result-root.with-sections.display-grid.image-large.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-actions{--row-height:2.5rem;margin-top:.75rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.625rem;max-height:3.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-normal atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-grid.image-large.density-normal .placeholder,:host .result-root.with-sections.display-grid.image-large.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-actions{--row-height:2.5rem;margin-top:.5em}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.4375rem;max-height:3.25rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-compact atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-compact .placeholder,:host .result-root.with-sections.display-grid.image-large.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.image-large{grid-template-areas:"visual""badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(8,auto)}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{height:7.25rem}}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{margin-bottom:1rem;margin-right:0;width:100%}:host .result-root.with-sections.display-grid.image-large.image-small{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual.""excerpt excerpt""bottom-metadata bottom-metadata""actions actions""children children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(4,auto) minmax(0,1fr) repeat(3,auto)}:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{height:24vw;margin-bottom:1rem;width:24vw}:host .result-root.with-sections.display-grid.image-large.image-icon{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual excerpt""visual bottom-metadata""visual actions""visual children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr}:host .result-root.with-sections.display-grid.image-large.image-icon atomic-result-section-visual{height:2rem;margin-bottom:0;width:2rem}:host .result-root.with-sections.display-grid.image-large.image-none{grid-template-areas:"badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(7,auto)}:host .result-root.with-sections.display-grid.image-large.image-none atomic-result-section-visual{display:none}}@media (min-width:1024px){:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none,:host .result-root.with-sections.display-grid.image-small{grid-template-areas:"badges""visual""title""title-metadata""emphasized""excerpt""children""bottom-metadata""actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto)}:is(:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-large,:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-small) atomic-result-section-visual{margin:0 auto 2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-icon atomic-result-section-badges{margin-bottom:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2.5rem;margin-top:2.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-excerpt{--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;margin-top:2.25rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.75rem;max-height:4rem}:is(:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-large,:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-small) atomic-result-section-visual{margin:0 auto 1.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-icon atomic-result-section-badges{margin-bottom:1.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.375rem;max-height:3.5rem}:is(:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-large,:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-small) atomic-result-section-visual{margin:0 auto 1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-icon atomic-result-section-badges{margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.9375rem;max-height:3.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-visual{height:19.75rem}}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-badges{margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{height:14rem}}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-none atomic-result-section-visual{display:none}}@media not all and (min-width:1024px){:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none,:host .result-root.with-sections.display-grid.image-small{grid-template-areas:"badges""visual""title""title-metadata""emphasized""excerpt""children""bottom-metadata""actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-visual{margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-small atomic-result-section-visual{height:10.25rem;width:10.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title{--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:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1rem;max-height:3rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-visual{margin-bottom:.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-small atomic-result-section-visual{height:10.25rem;width:10.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title{--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:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:3rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-large atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-small atomic-result-section-visual{height:10.25rem;width:10.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title{--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:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem;max-height:3rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{height:9rem}}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-none atomic-result-section-visual{display:none}}:host .result-root.with-sections.display-table.image-large.density-compact atomic-result-section-visual{height:10.25rem;width:10.25rem}:host .result-root.with-sections.display-table atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-table atomic-result-section-children atomic-result-children::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-visual{margin-right:1.5rem}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-actions,:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1.5rem}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-excerpt{--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;margin-top:1.75rem;max-height:4.5rem;overflow:hidden}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem;max-height:4rem}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-table.density-comfortable atomic-result-children,:host .result-root.with-sections.display-table.density-comfortable atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}:is(:host .result-root.with-sections.display-table.density-comfortable atomic-result-children,:host .result-root.with-sections.display-table.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-table.density-comfortable .placeholder,:host .result-root.with-sections.display-table.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-actions,:host .result-root.with-sections.display-table.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-table.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-table.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.875rem;max-height:3.5rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-table.density-normal atomic-result-children,:host .result-root.with-sections.display-table.density-normal atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}:is(:host .result-root.with-sections.display-table.density-normal atomic-result-children,:host .result-root.with-sections.display-table.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-table.density-normal .placeholder,:host .result-root.with-sections.display-table.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-actions,:host .result-root.with-sections.display-table.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-table.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-table.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.6875rem;max-height:3.25rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-table.density-compact atomic-result-children,:host .result-root.with-sections.display-table.density-compact atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}:is(:host .result-root.with-sections.display-table.density-compact atomic-result-children,:host .result-root.with-sections.display-table.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-table.density-compact .placeholder,:host .result-root.with-sections.display-table.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-table.image-large,:host .result-root.with-sections.display-table.image-small{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(6,auto) minmax(0,1fr)}:is(:host .result-root.with-sections.display-table.image-large.density-comfortable,:host .result-root.with-sections.display-table.image-large.density-normal) atomic-result-section-visual{height:20.375rem;width:20.375rem}:is(:host .result-root.with-sections.display-table.image-small,:host .result-root.with-sections.display-table.image-large.density-compact) atomic-result-section-visual{height:10rem;width:10rem}:host .result-root.with-sections.display-table.image-icon{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(7,minmax(0,min-content))}:host .result-root.with-sections.display-table.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-table.image-none{grid-template-areas:"badges.actions""title title title""title-metadata title-metadata title-metadata""emphasized emphasized emphasized""excerpt excerpt excerpt""bottom-metadata bottom-metadata bottom-metadata""children children children";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(6,auto)}:host .link-container,:host .result-root atomic-table-element,:host .result-root.with-sections.display-table.image-none atomic-result-section-visual{display:none}}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
_ts_decorate([
    state(),
    _ts_metadata("design:type", "u" < typeof Error ? Object : Error)
], AtomicRecsResult.prototype, "error", void 0);
_ts_decorate([
    property({
        attribute: 'stop-propagation',
        type: Boolean,
        converter: booleanConverter,
        reflect: true
    }),
    _ts_metadata("design:type", Boolean)
], AtomicRecsResult.prototype, "stopPropagation", void 0);
_ts_decorate([
    property({
        type: Object
    }),
    _ts_metadata("design:type", "u" < typeof RecsResult ? Object : RecsResult)
], AtomicRecsResult.prototype, "result", void 0);
_ts_decorate([
    property({
        type: Object,
        attribute: 'interactive-result'
    }),
    _ts_metadata("design:type", "u" < typeof RecsInteractiveResult ? Object : RecsInteractiveResult)
], AtomicRecsResult.prototype, "interactiveResult", void 0);
_ts_decorate([
    property({
        type: Object
    }),
    _ts_metadata("design:type", "u" < typeof RecsStore ? Object : RecsStore)
], AtomicRecsResult.prototype, "store", void 0);
_ts_decorate([
    property({
        type: Object
    }),
    _ts_metadata("design:type", "u" < typeof ParentNode ? Object : ParentNode)
], AtomicRecsResult.prototype, "content", void 0);
_ts_decorate([
    property({
        type: Object,
        attribute: 'link-content'
    }),
    _ts_metadata("design:type", "u" < typeof ParentNode ? Object : ParentNode)
], AtomicRecsResult.prototype, "linkContent", void 0);
_ts_decorate([
    property({
        reflect: true,
        type: String
    }),
    _ts_metadata("design:type", "u" < typeof ItemDisplayLayout ? Object : ItemDisplayLayout)
], AtomicRecsResult.prototype, "display", void 0);
_ts_decorate([
    property({
        reflect: true,
        type: String
    }),
    _ts_metadata("design:type", "u" < typeof ItemDisplayDensity ? Object : ItemDisplayDensity)
], AtomicRecsResult.prototype, "density", void 0);
_ts_decorate([
    property({
        reflect: true,
        type: String,
        attribute: 'image-size'
    }),
    _ts_metadata("design:type", "u" < typeof ItemDisplayImageSize ? Object : ItemDisplayImageSize)
], AtomicRecsResult.prototype, "imageSize", void 0);
_ts_decorate([
    property({
        type: String
    })
], AtomicRecsResult.prototype, "classes", void 0);
_ts_decorate([
    property({
        type: String,
        attribute: 'loading-flag'
    }),
    _ts_metadata("design:type", String)
], AtomicRecsResult.prototype, "loadingFlag", void 0);
_ts_decorate([
    property({
        type: Object,
        attribute: 'rendering-function'
    }),
    _ts_metadata("design:type", "u" < typeof ItemRenderingFunction ? Object : ItemRenderingFunction)
], AtomicRecsResult.prototype, "renderingFunction", void 0);
AtomicRecsResult = _ts_decorate([
    customElement('atomic-recs-result'),
    withTailwindStyles,
    _ts_metadata("design:type", Function),
    _ts_metadata("design:paramtypes", [])
], AtomicRecsResult);
export { AtomicRecsResult };
