/*-- Overwrite for Gen AI ONly --*/

.plus-brands-search-results-genAI  .plus-brands-search-results-top-section {
    background: none !important;
    box-shadow: none !important;
}


/*-- Gen AI foundational CSS --*/

.plus-brands-search-wrap .plus-brands-search-genAI-wrap {
    background-color: #F5F9FA;
    padding: 1rem 2rem;
    box-shadow: 0rem 0.2rem 0.6rem rgba(0, 0, 0, .15);
  /*  min-height: 380px;  */
}

/*-- Searchbar --*/

.plus-brands-search-results-genAI .plus-brands-search-bar-top {
    box-shadow: 0rem 0.2rem 0.6rem rgba(0, 0, 0, .15);
    background: #FFF;
}

/*-- Search bar container --*/

.plus-brands-search-results-genAI.plus-brands-search-results-wrap .search-container.plus-brands-search-results-bar-wrap {
    margin-bottom: 0;
}

/*-- AI Summary Title --*/

.plus-brands-search-wrap .plus-brands-search-genAI-summary-title-wrap {
    display: flex;
    padding-bottom: 1rem;
    gap: 8px;
    flex-direction: row;
}

/* FLEX GRID START */

/*-- Collapse / Expanded Content - Collapsed --*/

.plus-brands-search-genAI-content-showhide {
  overflow: hidden;
    transition: max-height 0.3s ease;
    padding-bottom: 28px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    column-gap: 32px;
}

.plus-brands-search-genAI-content-showhide.collapsed {
    max-height: 290px;
    position: relative;
}

.plus-brands-search-genAI-content-showhide.collapsed::after {
    content: '';
    background: linear-gradient(180deg,rgba(245, 249, 250, 0) 0%, rgba(245, 249, 250, 1) 100%);
    position: absolute;
    height: 40px;
    width: 100%;
    right: 0;
    bottom: 0;
}

/*-- Collapse / Expanded Content - Expanded --*/

.plus-brands-search-genAI-content-showhide.expanded {
    max-height: none;
}

/*-- Top Section --*/

.plus-brands-search-genAI-top-section {
    display: flex;
    flex: 3 1 560px;
    gap: 2rem;
    padding-bottom: 1rem;
    /* min-height: 300px; */
}

/*-- Article Source Section --*/

.plus-brands-search-genAI-articles.sources {
    flex: 1 1 auto;
}

/*-- Disclaimer Section --*/

.plus-brands-search-genAI-disclaimer {
    flex: 0 1 auto;
    font-size: 14px;
}

/* FLEX GRID END */

/*-- Fallback Text --*/

.plus-brands-search-genAI-summary-fallback {
    padding-bottom: 1rem;
}

/*-- Content, Summary Format --*/

.plus-brands-search-genAI-summary-inner {
    width: 100%;
}

.plus-brands-search-genAI-summary-inner .manual p:first-child {
    padding: 0 0 16px 0;
    line-height: 26px; 
}


.plus-brands-search-genAI-summary-inner .manual p {
    padding: 16px 0;
    line-height: 26px; 
}

.plus-brands-search-genAI-summary-inner .manual p ol {
    list-style: inherit;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.plus-brands-search-genAI-summary-inner .manual p ul {
    list-style: inherit;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/*-- Source Articles --*/

.plus-brands-search-genAI-articles-inner {
    width: 100%;
    min-width: 340px;
}

/* Source Articles Title */

.plus-brands-search-genAI-articles-inner .plus-brands-search-genAI-article-title {
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    padding-bottom: 1rem;
    font-family: var(--plus-medium-font-family);
}

/* Source Articles Links */

.plus-brands-search-genAI-articles-inner ul {
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/*-- Content and Text --*/

.plus-brands-search-genAI-summary-inner ol {
    list-style: inside;
    list-style-type: decimal;
    text-indent: 1rem;
    margin-block-start: initial;
}

.plus-brands-search-genAI-summary-inner ul {
    list-style: inside;
    list-style-type: disc;
    text-indent: 1rem;
    margin-block-start: initial;
}

/*-- Feedback Widget --*/

.splus-brands-search-genAI-feedback {
    display: block;
    border-top: 1px solid var(--Color-Neutrals-300, #C5CAD3);
    background: var(--Background, #F6F7F8);
    margin: 0rem -2rem -1rem;
}

.splus-brands-search-genAI-feedback .plus-brands-search-genAI-feedback-inner {
    padding: 16px 32px;
    display: flex;
    align-items: center;
    flex-flow: row;
    justify-content: space-between;
    min-height: 72px;
}

.splus-brands-search-genAI-feedback .plus-brands-search-genAI-feedback-title {
    color: var(--plus-text-color, #0B0C0F);
    font-size: 16px;
    font-family: var(--plus-regular-font-family);
    font-weight: 400;
    line-height: 36px;
}

.splus-brands-search-genAI-feedback .plus-brands-search-genAI-feedback-results {
    display: flex;
    flex-flow: row;
    gap: 1rem;
    justify-content: center;
}

.plus-brands-search-genAI-feedback-actions {
    display: flex;
    gap: 1rem;
}

.plus-brands-search-genAI-feedback-actions .slds-button.slds-button_outline-brand {
    background-color: transparent !important;
    color: #000000;
    transition: all .3s ease-out;
    padding: 0.2rem 4.2rem !important;
    font-family: var(--plus-medium-font-family);
    border: 2px solid var(--plus-tertiary-button-border);
    font-weight: var(--plus-button-font-weight);
    text-decoration: none !important;
    margin: 0;
}

.plus-brands-search-genAI-feedback-actions .slds-button.slds-button_outline-brand:hover {
    background-color: #000000 !important;
    color: #ffffff;
    transition: all .3s ease-out;
}

/*-- Show More Button --*/

 lightning-button.plus-brands-search-genAI-show-more {
    display: flex;
    justify-content: left;
    align-items: baseline;
    flex-direction: row;
    position: relative;
    padding: 8px 0 24px;
}

.plus-brands-search-genAI-show-more button.slds-button {
    color: var(--color-brand-disney-primary, #056D84);
    text-align: right;
    font-size: 16px;
    font-weight: 400;
    padding-right: 10px;
}

.plus-brands-search-genAI-show-more button.slds-button:focus {
    box-shadow: none !important;
}

.plus-brands-search-genAI-show-more::after {
    content: "";
    background-image: url(/sfsites/c/resource/dtcvx_genAI_assets/genAI-downArrow.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    top: 8px;
}

.plus-brands-search-genAI-show-more.expanded::after {
    transform: rotate(180deg);
}

/*-- Loading Icon and text --*/

.plus-brands-search-genAI-inner .plus-brands-search-genAI-loading {
    text-align: left;
    padding: 0 !important;
}

.plus-brands-search-genAI-inner .plus-brands-search-genAI-loading img.plus-brands-search-genAI-loading-icon {
    width: 24px;
    height: 24px;
    margin-left: 16px;
}


/*-- Filter Footer --*/

.plus-brands-search-results-wrap.plus-brands-search-results-genAI .plus-brands-search-results-footer {
    padding: 1rem 2rem 0;
    font-family: var(--plus-medium-font-family);
    box-shadow: 0rem 0.2rem 0.6rem rgba(0, 0, 0, .15);
    margin-top: 1.5rem;
    background: #FFF;
}


/*-- HULU variation --*/

.plusBrands-content-Hulu .plus-brands-search-genAI-summary-title-wrap img {
    filter: brightness(0) saturate(100%) invert(51%) sepia(64%) saturate(448%) hue-rotate(98deg) brightness(93%) contrast(94%);
}

.plusBrands-content-Hulu .plus-brands-search-genAI-articles-inner a {
    color: var(--dxp-c-link-text-color, var(--dxp-s-link-text-color, var(--dxp-g-brand))) !important;
}

.plusBrands-content-Hulu .plus-brands-search-genAI-feedback-results img {
    filter: hue-rotate(-98deg) brightness(91%) contrast(2.4);
}


/*-- Mobile Landscape --*/
@media only screen and (max-width: 47.9375em) {

.plus-brands-search-genAI-content-showhide {
    flex-direction: column;
    column-gap: 0;
}

.plus-brands-search-wrap .plus-brands-search-genAI-wrap {
    padding: 1rem;
}

lightning-button.plus-brands-search-genAI-show-more {
    margin-top: 1rem;
}

.plus-brands-search-genAI-top-section {
    display: flex;
    gap: 2rem;
    /*  padding-bottom: 1rem;
  min-height: 600px; */
    flex-direction: column;
}

.plus-brands-search-genAI-summary-inner ol {
    text-indent: .5rem;
}

.plus-brands-search-genAI-summary-inner ul {
    text-indent: .5rem;
}

.splus-brands-search-genAI-feedback .plus-brands-search-genAI-feedback-inner {
    padding: 16px 16px 0 16px;
    display: flex;
    align-items: baseline;
    flex-flow: column;
    justify-content: right;
    gap: .5rem;
    min-height: 50px;
}

.plus-brands-search-genAI-feedback-actions .slds-button.slds-button_outline-brand {
    padding: 0.2rem 3.5rem !important;
}

.splus-brands-search-genAI-feedback {
    display: block;
    border-top: 1px solid var(--Color-Neutrals-300, #C5CAD3);
    background: var(--Background, #F6F7F8);
    margin: 0rem -1rem;
}

.plus-brands-search-results-wrap.plus-brands-search-results-genAI .mobile-filter-container {
    background: #fff;
    box-shadow: 0rem 0.2rem 0.6rem rgba(0, 0, 0, .15);
    margin-top: 1.5rem;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
}

.splus-brands-search-genAI-feedback .plus-brands-search-genAI-feedback-title {
    line-height: 24px;
}

}


/* Mobile Portrait */
@media only screen and (max-width: 29.9375em) {

/*-- Search bar container --*/

.plus-brands-search-results-genAI.plus-brands-search-results-wrap .search-container.plus-brands-search-results-bar-wrap {
    margin-bottom: 1rem !important;
    padding: 22px .5rem 6px .5rem !important;
    border-bottom: 1px solid #C5CAD3 !important;
}

/*-- Show More Button --*/

lightning-button.plus-brands-search-genAI-show-more {
    justify-content: center !important
}

.plus-brands-search-wrap .plus-brands-search-genAI-wrap {
    padding: 1rem;
    margin-top: -16px;
}

.plus-brands-search-genAI-top-section {
    display: flex;
    gap: 2rem;
    padding-bottom: 1rem;
  /*  min-height: 600px; */
    flex-direction: column;
}

.plus-brands-search-genAI-summary-inner ol {
    text-indent: .5rem;
}

.plus-brands-search-genAI-summary-inner ul {
    text-indent: .5rem;
}

.splus-brands-search-genAI-feedback .plus-brands-search-genAI-feedback-inner {
    padding: 16px 16px 0 16px;
    display: flex;
    align-items: baseline;
    flex-flow: column;
    justify-content: right;
    gap: .5rem;
    min-height: 50px;
}

.plus-brands-search-genAI-feedback-actions .slds-button.slds-button_outline-brand {
    padding: 0.2rem 3.5rem !important;
}

.splus-brands-search-genAI-feedback {
    display: block;
    border-top: 1px solid var(--Color-Neutrals-300, #C5CAD3);
    background: var(--Background, #F6F7F8);
    margin: 0rem -1rem;
}

.plus-brands-search-results-wrap.plus-brands-search-results-genAI .mobile-filter-container {
    background: #fff;
    box-shadow: 0rem 0.2rem 0.6rem rgba(0, 0, 0, .15);
    margin-top: 1.5rem;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
}

.splus-brands-search-genAI-feedback .plus-brands-search-genAI-feedback-title {
    line-height: 24px;
}

/*-- Feedback Form --*/

.plus-brands-search-genAI-feedback-inner .plus-brands-search-genAI-feedback-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
}

}