/*-- Created by David Wickland --*/

/*
 * Selector documentation uses standard CSS block comments:
 * Purpose describes the rule; Scope identifies its brand, experiment, and media condition.
 * Note records cascade details or legacy behavior. Grouped selectors share one description.
 * Widths use the stylesheet's existing em breakpoints (30em is typically 480px).
 * Inactive snippets remain commented out and are labeled inside their existing comments.
 */

/*-- Experimental Homepage B & C --*/

/*
 * Purpose: Hide the B/C hero by default until the experiment theme enables it.
 * Scope: Shared; matching page markup; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper .experiment-bc-hero {
    display: none;
}

/*
 * Purpose: Show and center the B/C hero, with a top offset of 12%.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-bc-hero {
    display: block;
    text-align: center;
    align-content: center;
    margin-top: 12%;
}

/*
 * Purpose: Center the experiment hero contents in a full-width flex container capped at 864px.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-bc-hero .plus-brands-experiment-hero-inner {
    width: 100%;
    max-width: 864px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/*
 * Purpose: Raise the scoped Hulu header's top row above lower stacking layers.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 * Note: This rule includes a generated LWC scope attribute; it only matches that scoped markup.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-top[c-dtcvx_huluHelpHeader_dtcvx_huluHelpHeader] {
    z-index: 2;
}

/*-- Hides UI for Experimental B & C --*/

/*-- Hide Hero A - Original --*/
/*
 * Purpose: Hide the original variant A hero when the experiment theme is enabled.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-a-hero {
    display: none !important;
}

/*-- Hide Popular Articles --*/

/*
 * Purpose: Hide the content-area Popular Articles component and remove its minimum height.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-content.plusBrands-content-Home c-dtcvx_popular-articles {
    min-height: 0px !important;
    display: none !important;
}

/*-- Experiemental header vertical height and gradient--*/

/*-- Disney+ Only - Hero Heigth and Gradient  --*/

/*
 * Purpose: Give the Disney+ hero a full-viewport minimum height and its teal-to-navy gradient.
 * Scope: Disney+; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Disney .plus-brands-hero-home {
    min-height: 100vh;
    background: linear-gradient(180deg, #136878 -9.31%, #0F5465 28.95%, #0B4051 72.67%, #02172A 94.53%);
    position: relative;
}

/*-- Hulu Only - Hero Heigth and Gradient  --*/


/*
 * Purpose: Give the Hulu hero a full-viewport minimum height and its brand gradient.
 * Scope: Hulu; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Hulu .plus-brands-hero-home {
    min-height: 100vh;
    background: linear-gradient(180deg, #21262B 0%, #224A5E 55%, #0E1F27 100%);
    position: relative;
}

/*
 * Purpose: Center the Explore by Topic button wrapper and separate it from nearby content.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-explore.genai-explore-button {
    display: flex;
    justify-content: center;
    margin: 28px 16px 24px 16px;
}


/*
 * Purpose: Style Explore by Topic as an outlined pill with centered text and icon.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .experiment-b-explore-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    padding: 16px 32px;
    border: 1px solid #636E85;
    border-radius: 50px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    color: #fff !important;
    text-decoration: none !important;
    background-color: transparent;
    transition: background-color .25s ease-out;
    font-family: var(--plus-heavy-font-family);
}

/*
 * Purpose: Lighten the Explore by Topic background on hover with a short transition.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .experiment-b-explore-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transition: background-color .25s ease-out;
}


/*
 * Purpose: Let the search-and-articles column fill the available hero width.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .plus-brands-hero-flex-column {
    width: 100%;
}

/*-- Removes padding from Disney+ Spacer --*/

.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Disney.plusBrands-header-Home .plus-brands-header-spacer {
    padding-bottom: 0;
}

/*-- H1 Hero Title --*/

/*
 * Purpose: Center the search heading and reserve 40px of space below it.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-container .genai-heading-row {
    text-align: center;
    padding: 0 20px 40px 20px;
}

/*
 * Purpose: Set the base hero heading's white color, centered alignment, font, and 40px size.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .plus-brands-genai-hero-title H1.genai-heading {
    color: #FFF;
    text-align: center !important;
    font-size: 40px;
    line-height: 48px;
    font-family: var(--plus-regular-font-family);
    font-weight: 600;
}

/*
 * Purpose: Make the heading row a positioning reference for positioned descendants.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-heading-row {
    position: relative;
}


/*-- CLS - Height for content area --*/

/*-- Hulu Only - Height for content area --*/
/*
 * Purpose: Reserve at least 400px for the Hulu homepage content area.
 * Scope: Hulu; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-content-Hulu.plusBrands-content-Home {
    min-height: 400px !important;
}

/*
 * Purpose: Reserve at least 400px for the Disney+ homepage content area.
 * Scope: Disney+; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-content-Disney.plusBrands-content-Home {
    min-height: 400px !important;
}


/*- Popular Article Links --*/

/*
 * Purpose: Arrange the Popular Articles label and links in a centered, wrapping row below search.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-popular {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    color: #fff;
    transition: opacity .25s ease-out;
}

/*
 * Purpose: Lay out the article links horizontally with 24px gaps.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-popular-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

/*
 * Purpose: Apply the medium font family to the Popular Articles label.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-popular .genai-popular-label {
    font-weight: 400;
    font-family: var(--plus-medium-font-family);
}

/*
 * Purpose: Style article links as white, underlined text with light weight and wider letter spacing.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-popular a.genai-popular-link {
    display: inline;
    color: #fff !important;
    text-decoration: underline;
    font-weight: 300;
    letter-spacing: .5px;
}

/*-- Top Suggestions Tooltip --*/

/*
 * Purpose: Position the white search suggestions panel below its anchor, with rounded corners and shadow.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .result-container {
    background-color: #FFFFFF;
    border-radius: 4px;
    margin: 8px 32px !important;
    position: absolute;
    width: 92%;
    box-shadow: var(--hds-shadow-large);
    z-index: 1;
    max-width: 800px !important;
    text-align: left;
}



/*-- Experimental Homepage B Only --*/

/*
 * Purpose: Position variant B's Explore by Topic wrapper 8% above its containing block's bottom.
 * Scope: Shared; variant B; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-b-home .experiment-bc-hero .experiemnt-b-explore {
    position: absolute;
    bottom: 8%;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}

/* Prevent Anchor Links from Hiding Behind a Sticky Header */

/*
 * Purpose: Leave 70px above the topic component when scrolling to it through an anchor link.
 * Scope: Shared; variant B; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-b-home .plusBrands-content.plusBrands-content-Home c-dtcvx_topic-home {
    scroll-margin-top: 70px;
}

/*-- Experimental Homepage C Only --*/

/*
 * Purpose: Hide Explore by Topic for variant C.
 * Scope: Shared; variant C; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-c-home .experiment-bc-hero .experiemnt-b-explore {
    display: none !important;
}

/*-- Hulu Only - Experimental Homepage C --*/

/*
 * Purpose: Hide the Hulu homepage content area and remove its minimum height in variant C.
 * Scope: Hulu; variant C; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-c-home .plusBrands-content-Hulu.plusBrands-content-Home {
    min-height: 0 !important;
    display: none !important;
}

/*
 * Purpose: Hide the Hulu footer contact tray and remove its minimum height in variant C.
 * Scope: Hulu; variant C; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-c-home .plusBrands-footer-Hulu .section-hulu-contact-tray {
    min-height: 0 !important;
    display: none !important;
}

/*-- Disney+ Only - Experimental Homepage C --*/

/*
 * Purpose: Hide the Disney+ homepage content area and remove its minimum height in variant C.
 * Scope: Disney+; variant C; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-c-home .plusBrands-content-Disney.plusBrands-content-Home {
    min-height: 0 !important;
    display: none !important;
}

/*
 * Purpose: Hide the Disney+ footer contact tray and remove its minimum height in variant C.
 * Scope: Disney+; variant C; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-c-home .plusBrands-footer-Disney .contact-tray-outer {
    min-height: 0 !important;
    display: none !important;
}

/*
 * Purpose: Remove margins from the slotted footer section container in variant C.
 * Scope: Shared; variant C; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-c-home .plusBrands-footer slot[name="footer"] [slot="footer"]>.comm-section-container {
    margin: 0 !important;
}

/*-- BANNERS --*/

/* IF .alert-active exists, THEN style the adjacent .main-content */
/*
 * Purpose: Increase the hero's top offset when a notification carousel precedes the theme wrapper.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 * Note: The ~ combinator matches a preceding sibling, not necessarily an adjacent sibling.
 */
.plus-brands-notification-carousel~.plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-bc-hero {
    margin-top: 20%;
}

/*
 * Purpose: Set the hero's top offset when a single notification precedes the theme wrapper.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 * Note: The ~ combinator matches a preceding sibling, not necessarily an adjacent sibling.
 */
.plus-brands-notification-single~.plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-bc-hero {
    margin-top: 10%;
}


/*-- Single Banner --*/

/*
 * Purpose: Keep a single notification banner in the layout and center its contents.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single {
    position: relative;
    display: flex;
    justify-content: center;
}

/*
 * Purpose: Offset the Hulu single-banner wrapper downward by 80px without removing it from flow.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single .plus-brands-notification-wrap.plus-brands-notification-brand-Hulu {
    margin-top: auto !important;
    margin-bottom: auto !important;
    position: relative;
    top: 80px;
}

/*
 * Purpose: Offset the Hulu single-banner wrapper downward by 80px without removing it from flow.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single .plus-brands-notification-wrap.plus-brands-notification-brand-Disney {
    margin-top: auto !important;
    margin-bottom: auto !important;
    position: relative;
    top: 80px;
}

/*-- Carousel Banner
    Inactive reference: would absolutely position the carousel at the bottom of its containing block, above content.


    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel {
        position: absolute;
        display: flex;
        justify-content: center;
        bottom: 0;
        z-index: 3;
    }

--*/

/*
 * Purpose: Limit the carousel banner's inner container to its fit-content width.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel .plus-brands-notification-inner {
    max-width: fit-content;
}

/*
 * Purpose: Keep the notification carousel in the layout and center its contents.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel {
    position: relative;
    display: flex;
    justify-content: center;
}

/*
 * Purpose: Offset the Hulu carousel wrapper downward by 80px without removing it from flow.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel .plus-brands-notification-wrap.plus-brands-notification-brand-Hulu {
    margin-top: auto !important;
    margin-bottom: auto !important;
    position: relative;
    top: 80px;
}

/*
 * Purpose: Offset the Hulu carousel wrapper downward by 80px without removing it from flow.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel .plus-brands-notification-wrap.plus-brands-notification-brand-Disney {
    margin-top: auto !important;
    margin-bottom: auto !important;
    position: relative;
    top: 80px;
}


/*-- Gen AI Search Box --*/

/*
 * Purpose: Center the search component, cap its width at 920px, and apply its base padding.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0px 0 5px;
    text-align: center;
}

/* Search box :not(#placeholder) */

/*-- Shared - Search Box Text Area --*/
/*
 * Purpose: Define the search field's base dimensions, inner spacing, dark fill, border, and glow.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 * Note: Later duplicate border and shadow declarations in this block win, leaving the blue default. Brand and entrance rules can override it.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-search-box {
    position: relative;
    margin: 0 16px;
    text-align: left;
    display: block;
    width: auto;
    min-height: 112px;
    max-height: 250px;
    font-size: 16px !important;
    padding: 4px 24px 60px 4px;
    resize: none;
    color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #29A869;
    background: #16181D;
    border-radius: 8px;
    box-shadow: 0 0 8px 5px #A1FFD1;
    color: #FFFFFF;
    border: 1px solid #27B0D3;
    box-shadow: 0 0 8px 0 #5DAAFC;
    transition: all .25s ease-out
}

/*-- HULU Only - Search Box Text Area --*/

/*
 * Purpose: Apply the Hulu green border and glow to the search field.
 * Scope: Hulu; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Hulu .plus-brands-experiment-hero-inner .genai-search-box {
    color: #FFFFFF;
    border: 1px solid #29A869;
    box-shadow: 0 0 8px 5px #A1FFD1;
    transition: all .25s ease-out
}

/*-- Disney+ Only - Search Box Text Area --*/

/*
 * Purpose: Apply the Disney+ cyan border and blue glow to the search field.
 * Scope: Disney+; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Disney .plus-brands-experiment-hero-inner .genai-search-box {
    color: #FFFFFF;
    border: 1px solid #27B0D3;
    box-shadow: 0 0 8px 0 #5DAAFC;
    transition: all .25s ease-out
}

.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Disney .plus-brands-experiment-hero-inner .genai-search-box:focus-visible {
    border: 1px solid #27B0D3;
    box-shadow: 0 0 16px 5px #5DAAFC;
    transition: all .25s ease-out
}

.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Disney .plus-brands-experiment-hero-inner .genai-search-box:active {
    border: 1px solid #27B0D3;
    box-shadow: 0 0 16px 5px #5DAAFC;
    transition: all .25s ease-out
}

.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Disney .plus-brands-experiment-hero-inner .genai-search-box:focus-within {
    border: 1px solid #27B0D3;
    box-shadow: 0 0 16px 5px #5DAAFC;
    transition: all .25s ease-out
}



/*
 * Purpose: Style the textarea as a full-width, transparent field with white text and no manual resize handle.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-textarea {
    display: flex;
    width: 100%;
    font-size: 16px !important;
    padding: 16px;
    resize: none;
    color: #FFFFFF;
    border-radius: 3px 3px 3px 3px;
    border: none !important;
    background: transparent;
}

/*
 * Purpose: Control the textarea's keyboard-focus outline; the final declaration removes the outline.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 * Note: Both outline declarations are important; the later outline: none wins.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-textarea:focus-visible {
    outline: 1px solid #FFF !important;
    outline-offset: 3px !important;
    outline: none !important;
}

/*
 * Purpose: Set the native textarea placeholder color when it is otherwise visible.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 * Note: The component stylesheet separately hides the native placeholder with opacity: 0 while rendering its animated text.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-textarea::placeholder {
    color: #a8abb3;
}

/* Submit Button*/

/*
 * Purpose: Anchor the circular submit control at the search field's lower-right corner.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-submit {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: 1;
    transition: opacity .25s ease-out
}

/*
 * Purpose: Slightly dim the submit control and use the default cursor while it is hovered.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-submit:hover {
    opacity: 0.85;
    cursor: default;
    transition: opacity .25s ease-out;

}

/*
 * Purpose: Dim the disabled submit control and hide the pointer cursor over it.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-submit:disabled {
    opacity: 0.35;
    cursor: none;
    transition: opacity .25s ease-out
}

/*-- GenAI Search Icon --*/

/*
 * Purpose: Hide all submit icon variants inside the Disney+ header before revealing its matching icon.
 * Scope: Disney+; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-submit .genai-submit-icon {
    display: none;
}


/*
 * Purpose: Show the Disney+ submit icon inside the Disney+ header.
 * Scope: Disney+; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Disney .plus-brands-experiment-hero-inner .genai-submit .genai-submit-icon.genai-submit-icon-disney {
    display: block;
}

/*
 * Purpose: Show the Hulu submit icon inside the Hulu header.
 * Scope: Hulu; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Hulu .plus-brands-experiment-hero-inner .genai-submit .genai-submit-icon.genai-submit-icon-hulu {
    display: block;
}



/*-- MOBILE RESPONSIVE --*/

/*-- Desktop --*/
@media only screen and (max-width: 63.9375em) {

    /*
     * Purpose: Make text transparent for the legacy .THIS .tester-test-test selector.
     * Scope: Shared; matching page markup; @media only screen and (max-width: 63.9375em).
     * Note: Legacy test rule retained unchanged; it is not scoped to the experiment theme.
     */
    .THIS .tester-test-test {
        color: transparent;
    }

}

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


    /* IF .alert-active exists, THEN style the adjacent .main-content */
    /*
     * Purpose: Keep the carousel-related hero offset at 20% on narrower screens.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 47.9375em).
     */
    .plus-brands-notification-carousel~.plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-bc-hero {
        margin-top: 20%;
    }

    /*
     * Purpose: Increase the single-notification hero offset to 14% on narrower screens.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 47.9375em).
     */
    .plus-brands-notification-single~.plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-bc-hero {
        margin-top: 14%;
    }


    /*
     * Purpose: Restate the narrower search field's layout and apply the legacy green shadow.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 47.9375em).
     * Note: Later brand/entrance shadow rules can override this legacy green shadow.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-search-box {
        position: relative;
        margin: 0 16px;
        text-align: left;
        display: block;
        width: auto;
        max-height: 250px;
        padding: 4px 24px 60px 4px;
        box-shadow: 0 0 8px 5px #A1FFD1;
    }

    /*
     * Purpose: Increase the narrower experiment hero's top offset to 22% and keep it centered.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 47.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-bc-hero {
        display: block;
        text-align: center;
        align-content: center;
        margin-top: 22%;
    }

    /*
     * Purpose: Reduce the heading row's bottom padding to 15px on narrower screens.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 47.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-container .genai-heading-row {
        padding: 0 20px 15px 20px;
    }

    /*
     * Purpose: Reduce the hero heading font size to 34px on narrower screens.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 47.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .plus-brands-genai-hero-title H1.genai-heading {
        font-size: 34px;
    }

    /*
     * Purpose: Tighten Popular Articles spacing and reduce its top margin on narrower screens.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 47.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-popular {
        gap: 6px;
        margin-top: 20px;
    }

    /*
     * Purpose: Move variant B's Explore by Topic wrapper to 3% above its containing block's bottom.
     * Scope: Shared; variant B; @media only screen and (max-width: 47.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-b-home .experiment-bc-hero .experiemnt-b-explore {
        bottom: 3%;
    }

}

/*-- Mobile and upd--*/
@media only screen and (min-width: 30em) {

    /*
     * Purpose: Hide the mobile close-button wrapper at widths of 30em and above.
     * Scope: Shared; matching page markup; @media only screen and (min-width: 30em).
     */
    .plus-brands-genai-hero-close {
        display: none;
    }

}

/*-- Viewport-centered experimental hero --*/

/*
 * Purpose: Let the inner flex column supply the hero's vertical spacing at every screen width.
 * Scope: Shared; experiment theme; all widths.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-home {
    padding-bottom: 0 !important;
}

/*
 * Purpose: Fill the viewport with a flex column in both the Disney+ and Hulu headers.
 * Scope: Shared; experiment theme; all widths.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-home .plus-brands-hero-inside {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

/*
 * Purpose: Keep the banner's SLDS column from sharing the hero's vertical free space.
 * Scope: Shared; experiment theme; all widths.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-home .plus-brands-hero-banner {
    flex: none;
}

/*
 * Purpose: Center the search and articles in the available viewport, allowing taller content to grow.
 * Scope: Shared; experiment theme; all widths.
 * Note: Match notification-offset specificity so their percentage margins do not override centering.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-home .experiment-bc-hero {
    display: grid;
    flex: 1 0 auto;
    align-content: center;
    margin-top: 0;
    /* Keep content clear of the fixed navigation and bottom controls on short screens. */
    padding: 80px 0;
}

/*
 * Purpose: Give the desktop hero 150px more space below than above.
 * Scope: Shared; experiment theme; desktop widths of 64em and above.
 * Note: Keep the total vertical padding at 160px so the footer stays in place.
 */
@media only screen and (min-width: 64em) {
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-home .experiment-bc-hero {
        padding-top: 5px;
        padding-bottom: 155px;
    }
}

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

    /*
     * Purpose: Give the phone hero 50px more space below than above.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: Keep the total vertical padding at 160px so the footer stays in place.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-home .experiment-bc-hero {
        padding-top: 65px;
        padding-bottom: 75px;
    }

    /*
     * Purpose: Size the phone hero to at least the small viewport height, with a vh fallback.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: Match the brand rules' specificity so their 100vh minimum does not override 100svh.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Disney .plus-brands-hero-home,
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Hulu .plus-brands-hero-home {
        /* Fallback for older browsers */
        min-height: 100vh;
        /* Prevents content from jumping on scroll */
        min-height: 100svh;
    }

    /*-- Removes Dark Gradient from Header --*/

    /*
     * Purpose: Remove the inner header background so the surrounding hero gradient can show through.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-home .plus-brands-hero-inside {
        background: transparent !important;
    }

    /*-- Popular Articles - Mobile --*/

    /*
     * Purpose: Stack and left-align the Popular Articles content with phone-sized padding and gaps.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-popular {
        justify-content: left;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 16px;
        margin-top: 0;
        color: #fff;
        padding: 24px 16px 16px 16px;
    }

    /*
     * Purpose: Stack the article links vertically with 16px gaps on phones.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-popular-links {
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    /*
     * Purpose: Reset the phone article links' text decoration to auto.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-popular a.genai-popular-link {
        text-decoration: auto;
    }

    /*-- Explore Topics Button - Mobile --*/

    /*
     * Purpose: Anchor variant B's Explore by Topic wrapper to the lower-left of its containing block.
     * Scope: Shared; variant B; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme.plus-brands-experiment-b-home .experiment-bc-hero .experiemnt-b-explore {
        position: absolute;
        text-align: center;
        align-items: center;
        display: flex;
        justify-content: center;
        /*  bottom: 0;
        left: 0;
        */

        right: auto;
        bottom: max(20px, env(safe-area-inset-bottom, 20px));
        left: max(0px, env(safe-area-inset-right, 0px));
    }

    /*
     * Purpose: Give the phone Explore by Topic pill a white border and centered text/icon layout.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .experiment-b-explore-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: fit-content;
        padding: 16px 32px;
        border: 1px solid #FFFFFF;
        border-radius: 50px;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        color: #fff !important;
        text-decoration: none !important;
    }

    /*-- Top Suggestions Tooltip - Mobile --*/

    /*
     * Purpose: Round the phone suggestions panel to 24px and stretch it within narrower side margins.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .result-container {
        border-radius: 24px;
        width: stretch;
        margin: 8px 16px 0 16px !important;
        z-index: 2;
    }

    /*
     * Purpose: Move the suggestions panel's decorative pointer above its left edge.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .result-container::before {
        top: -10px;
        left: 20px;
    }

    /*
     * Purpose: Add top and bottom padding to the phone suggestions list.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .result-container .search-results-list {
        padding: 8px 0 16px 0;
    }

    /*
     * Purpose: Set padding and font size on an element carrying both suggestions-list and result-item classes.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: There is no space between the two classes: this does not target a child result item.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .result-container .search-results-list.search-result-item {
        padding: 4px 24px;
        font-size: 15px;
    }

    /*-- Gen AI Search Box - Mobile --*/

    /*
     * Purpose: Request 16px padding around the phone search component.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: The earlier, more specific hero-inner .genai-container rule can override this padding.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-container {
        padding: 16px;
    }


    /*-- H1 Hero Title - Mobile --*/
    /*
     * Purpose: Keep the phone heading row positioned and transition changes over 250ms.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-heading-row {
        position: relative;
        transition: all .25s ease-out;
    }

    /*
     * Purpose: Stack and center the phone heading row's children with compact spacing.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-container .genai-heading-row {
        position: relative;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 16px 16px 12px 16px !important;
        transition: all .25s ease-out;
    }

    /* Formerly the styles when user clicks the text area     */

    /*
     * Purpose: Arrange the active phone heading row horizontally so the title and close control can share a row.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-container.genai-container_active .genai-heading-row {
        justify-content: space-between;
        flex-direction: row;
        align-items: baseline;
        gap: 16px;
        padding: 16px 16px 12px 16px;
    }

    /*
     * Purpose: Remove extra padding from the phone hero title wrapper.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-container .plus-brands-genai-hero-title {
        padding: 0 !important;
    }

    /*
     * Purpose: Set the resting phone heading to 32px with a 40px line height and bottom spacing.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-container .plus-brands-genai-hero-title H1.genai-heading {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 12px;
        transition: all .25s ease-out;
    }

    /*
     * Purpose: Shrink the active phone heading to 24px with a 32px line height.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-container.genai-container_active .plus-brands-genai-hero-title H1.genai-heading {
        font-size: 24px !important;
        line-height: 32px !important;
        transition: all .25s ease-out;
    }

    /*-- Hero Close button - Mobile --*/

    /*
     * Purpose: Style the phone search close control as a white, borderless button.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: The top/right offsets only affect placement if another rule establishes a positioned element.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-close {
        top: 50%;
        right: 0;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
    }

    /*
     * Purpose: Start the phone search field at 160px and allow growth while reserving space for its disclaimer and button.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: Later entrance rules use the brand shadow token to keep animated and focused states consistent.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-search-box {
        box-sizing: border-box;
        min-height: 160px;
        max-height: none;
        z-index: 0;
        border-radius: 24px;
        box-shadow: 0 0 8px 0 #A1FFD1;
        /* 70px textarea + 4px top + 84px footer + 2px border = 160px. */
        padding: 4px 16px 84px 4px !important;
    }

    /*
     * Purpose: Start the phone textarea at 70px and let the existing input handler grow it up to 200px before scrolling.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-textarea {
        box-sizing: border-box;
        height: 70px;
        min-height: 70px;
        max-height: 150px;
        font-size: 16px !important;
        border-radius: 24px;
    }


    /*
     * Purpose: Use 16px text for keyboard focus on phones and suppress the textarea outline.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-textarea:focus-visible {
        outline: none !important;
        font-size: 16px !important;
        -webkit-text-size-adjust: 100%;
    }

    /*
     * Purpose: Use 16px text while the phone textarea has focus and set WebKit text adjustment to 100%.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-textarea:focus {
        font-size: 16px !important;
        -webkit-text-size-adjust: 100%;
    }

    /*
     * Purpose: Apply legacy font and outline overrides to any div descendant of the textarea selector.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: Native textarea elements do not contain rendered div descendants; this legacy selector normally matches nothing.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-textarea div {
        outline: none !important;
        font-size: 16px !important;
    }

    /*
     * Purpose: Request a 38px phone submit control with 14px bottom and right offsets.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: More specific base submit rules may retain 16px offsets instead of these 14px values.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-submit {
        right: 14px;
        bottom: 14px;
        width: 38px;
        height: 38px;
        font-size: 23px;
        line-height: 38px;
    }

    /*
     * Purpose: Add 28px of top spacing to the phone Explore wrapper.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .genai-explore {
        margin-top: 28px;
    }

    /*-- BANNERS MOBILE --*/

    /*-- All Banners --*/

    /*
     * Purpose: Create a translucent, viewport-height backdrop before the Hulu notification wrapper.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-wrap::before {
        content: "";
        display: block;
        background-color: rgb(0 0 0 / 40%);
        height: 100vh;
        /* Perfect match for the active visible area */
        height: 100svh;
        margin-bottom: -40px;
    }

    /*
     * Purpose: Round the upper corners of phone notification banners and remove outer margins.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-wrap .plus-brands-notification-outer {
        border-radius: 16px 16px 0 0 !important;
        margin: 0 !important;
    }

    /*-- Single Banners --*/

    /*
     * Purpose: Fix a single phone notification banner to the viewport bottom above the main content.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single {
        position: fixed;
        display: flex;
        justify-content: center;
        bottom: 0;
        z-index: 3;
    }

    /*
     * Purpose: Remove the desktop offset and margins from the Hulu single-banner wrapper on phones.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single .plus-brands-notification-wrap.plus-brands-notification-brand-Hulu {
        margin: 0 !important;
        position: relative;
        top: 0;
    }

    /*
     * Purpose: Remove the desktop offset and margins from the Disney+ single-banner wrapper on phones.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single .plus-brands-notification-wrap.plus-brands-notification-brand-Disney {
        margin: 0 !important;
        position: relative;
        top: 0;
    }




    /*
     * Purpose: Lay out the phone single-banner contents in a three-column grid with row spacing.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single .plus-brands-notification-inner {
        display: grid;
        align-items: flex-start;
        column-gap: 0;
        row-gap: 1rem;
        grid-template-columns: repeat(3, auto);
    }

    /*
     * Purpose: Place the phone notification icon in the first grid cell.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-icon {
        grid-column: 1;
        grid-row: 1;
    }

    /*
     * Purpose: Keep the phone single-banner icon image at least 34px wide.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single .plus-brands-notification-icon img {
        min-width: 34px;
    }

    /*
     * Purpose: Place single-banner text below the icon and adjust its font and top padding.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single .plus-brands-notification-text {
        padding-top: 0.2rem;
        font-size: .9rem;
        width: 100%;
        grid-column: 1;
        grid-row: 2;
    }

    /*
     * Purpose: Place the transparent single-banner close control in the second column of the first row.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single .plus-brands-notification-close {
        width: 24px;
        height: 24px;
        display: inline-block;
        text-align: center;
        background-color: transparent !important;
        grid-column: 2;
        grid-row: 1;
    }

    /*
     * Purpose: Size the single-banner close icon to 16px and keep it fully opaque.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-single .plus-brands-notification-close img {
        width: 16px;
        height: 16px;
        opacity: 1;
        max-width: initial;
    }

    /*-- Carousel Banners --*/

    /*
     * Purpose: Fix the phone notification carousel to the viewport bottom above the main content.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel {
        position: fixed;
        display: flex;
        justify-content: center;
        bottom: 0;
        z-index: 3;
    }

    /*
     * Purpose: Remove the desktop offset and margins from the Hulu carousel wrapper on phones.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel .plus-brands-notification-wrap.plus-brands-notification-brand-Hulu {
        margin: 0 !important;
        position: relative;
        top: 0;
    }

    /*
     * Purpose: Remove the desktop offset and margins from the Disney+ carousel wrapper on phones.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel .plus-brands-notification-wrap.plus-brands-notification-brand-Disney {
        margin: 0 !important;
        position: relative;
        top: 0;
    }

    /*
     * Purpose: Top-align carousel viewport contents and reserve trailing space for controls.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel .support-banner-carousel-viewport {
        align-items: flex-start;
        gap: 16px;
        padding-right: 30px !important;
    }

    /*
     * Purpose: Use a grid for the phone carousel's inner content and remove its margin.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel .plus-brands-notification-inner {
        margin: 0 !important;
        display: grid !important;
    }


    /*
     * Purpose: Round the upper corners of the phone carousel banner and remove its outer margins.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-hero-banner .plus-brands-notification-carousel .plus-brands-notification-outer {
        border-radius: 16px 16px 0 0 !important;
        margin: 0 !important;
        /* width: 90% !important; */
    }

    /* Inactive scroll-lock alternatives retained for reference.
       These selectors check sibling relationships, not an alert-active state.
        Inactive: would lock a body that follows a carousel as a sibling.
        .plus-brands-notification-carousel ~ body { 
            overflow: hidden;
            height: 100vh;
        }

        Inactive: would lock a body that follows a single banner as a sibling.
        .plus-brands-notification-single ~ body {
            overflow: hidden;
            height: 100vh;
        }

        Inactive: would lock the experiment wrapper when a carousel immediately follows it.
        .plus-brands-theme-wrapper.plus-brands-experiment-theme:has(+ .plus-brands-notification-carousel) {
            overflow: hidden;
            height: 100vh;
        }


        Inactive: would lock the experiment wrapper when a single banner immediately follows it.
        .plus-brands-theme-wrapper.plus-brands-experiment-theme:has(+ .plus-brands-notification-single) {
            overflow: hidden;
            height: 100vh;
        }
 */

    /*
     * Purpose: Lock scrolling on both html and body while the experiment contains a single notification banner.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: Presence of the matching element triggers this rule; it does not test an alert-active class or rendered visibility.
     */
    html:has(.plus-brands-experiment-theme .plus-brands-notification-single),
    body:has(.plus-brands-experiment-theme .plus-brands-notification-single) {
        overflow: hidden;
        height: 100vh;

    }

    /*
     * Purpose: Lock scrolling on both html and body while the experiment contains a notification carousel.
     * Scope: Shared; experiment theme; @media only screen and (max-width: 29.9375em).
     * Note: Presence of the matching element triggers this rule; it does not test an alert-active class or rendered visibility.
     */
    html:has(.plus-brands-experiment-theme .plus-brands-notification-carousel),
    body:has(.plus-brands-experiment-theme .plus-brands-notification-carousel) {
        overflow: hidden;
        height: 100vh;

    }

    /*-- Hides popular articles when text-area is selected */
    /*
     * Purpose: Hide Popular Articles while the search textarea inside the hero column has focus.
     * Scope: Shared; matching page markup; @media only screen and (max-width: 29.9375em).
     * Note: display: none hides the row immediately; the transition declaration does not create a fade.
     */
    .plus-brands-hero-flex-column:has(.genai-textarea:focus) .genai-popular {
        opacity: 0;
        transition: all .25s ease-out;
    }

    .plus-brands-hero-flex-column:not(:has(.genai-textarea:focus)) .genai-popular {
        opacity: 1;
        transition: opacity .25s ease-out;
    }


    /*
        Inactive placeholder: would lock .class-to-change inside a body containing both
        an experiment theme and a single banner; replace the placeholder before use.
        body:has(.plus-brands-experiment-theme):has(.plus-brands-notification-single) .class-to-change {
            overflow: hidden;
            height: 100vh;
        }

        */

}


/*-- HULU EXPERIMENTAL STYLES --*/

/*-- Hide Hulu HERO A--*/
/*
 * Purpose: Hide elements with the legacy exssperiment-a-hero class in an experimental header.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 * Note: The class spelling is preserved. Despite the old section heading, this selector is not brand-specific.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-home-header-wrap .exssperiment-a-hero {
    display: none !important;
}

/*-- Dinsey+ EXPERIMENTAL STYLES --*/

/*-- Disney+ Hulu HERO A--*/
/*
 * Purpose: Repeat the legacy exssperiment-a-hero hiding rule later in the cascade.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 * Note: This duplicates the preceding selector and is not Disney-specific; retained unchanged.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .experiment-home-header-wrap .exssperiment-a-hero {
    display: none !important;
}

/* Entrance decoration follows the existing brand styling. The search LWC
   temporarily suppresses the static border/background/shadow while drawing. */
/*
 * Purpose: Provide the default dark background, cyan border, and blue glow tokens for the search entrance.
 * Scope: Shared; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner {
    --genai-entrance-background: #16181D;
    --genai-entrance-border-color: #27B0D3;
    --genai-entrance-shadow: 0 0 8px 0 #5DAAFC;
    --genai-entrance-shadow-mobile: 0 0 8px 0 #5DAAFC;
}

/*
 * Purpose: Override the entrance border and glow tokens with Hulu green.
 * Scope: Hulu; experiment theme; all widths; later responsive rules may override.
 */
.plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Hulu .plus-brands-experiment-hero-inner {
    --genai-entrance-border-color: #29A869;
    --genai-entrance-shadow: 0 0 16px 5px #A1FFD1;
    --genai-entrance-shadow-mobile: 0 0 8px 0 #A1FFD1;
}

/* The article row starts its entrance when mounted alongside the search.
   Opacity retains the row's layout and avoids moving the search field. */
@media (min-width: 30em) and (prefers-reduced-motion: no-preference) {

    /*
     * Purpose: Fade in the whole Popular Articles row over 500ms after a 2500ms delay.
     * Scope: Shared; experiment theme; @media (min-width: 30em) and (prefers-reduced-motion: no-preference).
     * Note: Only applies while the entrance is incomplete; the row keeps its layout space during the fade.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .genai-popular {
        animation: genai-home-articles-enter 500ms ease-out 2500ms both;
    }

    /*
     * Purpose: Reveal the Popular Articles row immediately while it contains keyboard focus.
     * Scope: Shared; experiment theme; @media (min-width: 30em) and (prefers-reduced-motion: no-preference).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-popular:focus-within {
        animation: none;
        opacity: 1;
    }
}

@keyframes genai-home-articles-enter {

    /*
     * Purpose: Start the shared article/Explore fade fully transparent.
     * Scope: Animation genai-home-articles-enter, from state.
     */
    from {
        opacity: 0;
    }

    /*
     * Purpose: Finish the shared article/Explore fade fully opaque.
     * Scope: Animation genai-home-articles-enter, to state.
     */
    to {
        opacity: 1;
    }
}


/* Mobile entrance: match the experiment's existing 24px field corners and
   use a 32px blur with zero spread. Keep the focused/static field on the same brand color. */
@media (max-width: 29.9375em) {

    /*
     * Purpose: Set phone entrance corners, button rise, later glow timing, and a 32px-blur, zero-spread shadow.
     * Scope: Shared; experiment theme; @media (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner {
        --genai-entrance-radius: 24px;
        --genai-entrance-button-rise: 5px;
        --genai-entrance-glow-delay: 4550ms;
        --genai-entrance-shadow: var(--genai-entrance-shadow-mobile, 0 0 8px 0 #5DAAFC);
    }

    /*
     * Purpose: Use the Hulu green mobile shadow token with 32px blur and zero spread.
     * Scope: Hulu; experiment theme; @media (max-width: 29.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plusBrands-header-Hulu .plus-brands-experiment-hero-inner {
        --genai-entrance-shadow: var(--genai-entrance-shadow-mobile, 0 0 8px 0 #A1FFD1);
    }
}

@media (max-width: 63.9375em) {

    /*
     * Purpose: Match the static/focused search shadow to the entrance's brand-specific shadow token.
     * Scope: Shared; experiment theme; @media (max-width: 63.9375em).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner .genai-entrance .genai-search-box {
        box-shadow: var(--genai-entrance-shadow);
    }
}


/* Phone sequence: 500ms reveals, 350ms apart (150ms overlap).
   Title 2500, links 2850/3200/3550, Explore 4050, then glow 4550.
   Animate each item instead of multiplying its opacity by a parent fade.
   Keep the existing experiment B/C visibility rules for Explore by Topic. */
@media (max-width: 29.9375em) and (prefers-reduced-motion: no-preference) {

    /*
     * Purpose: Fade and raise each phone article label/link by 5px using its individual delay.
     * Scope: Shared; experiment theme; @media (max-width: 29.9375em) and (prefers-reduced-motion: no-preference).
     * Note: Grouped selectors share this animation. Link-specific custom properties override the 2500ms title default.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .genai-popular-label,
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .genai-popular-link {
        animation: genai-home-item-enter 500ms ease-out var(--genai-item-delay, 2500ms) both;
    }

    /*
     * Purpose: Set article links' default reveal delay to 2850ms, overlapping the title's reveal.
     * Scope: Shared; experiment theme; @media (max-width: 29.9375em) and (prefers-reduced-motion: no-preference).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .genai-popular-link {
        --genai-item-delay: 2850ms;
    }

    /*
     * Purpose: Delay the second article link until 3200ms for the next overlapping reveal.
     * Scope: Shared; experiment theme; @media (max-width: 29.9375em) and (prefers-reduced-motion: no-preference).
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .genai-popular-link:nth-child(2) {
        --genai-item-delay: 3200ms;
    }

    /*
     * Purpose: Delay the third and any later article links until 3550ms.
     * Scope: Shared; experiment theme; @media (max-width: 29.9375em) and (prefers-reduced-motion: no-preference).
     * Note: nth-child(n + 3) gives all links from the third onward the same delay, not additional stagger steps.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .genai-popular-link:nth-child(n + 3) {
        --genai-item-delay: 3550ms;
    }

    /*
     * Purpose: Fade in Explore by Topic at 4050ms after the three article reveals finish.
     * Scope: Shared; experiment theme; @media (max-width: 29.9375em) and (prefers-reduced-motion: no-preference).
     * Note: Existing variant C display rules still control whether Explore is shown.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .experiment-b-explore-link {
        animation: genai-home-articles-enter 500ms ease-out 4050ms both;
    }

    /* Keyboard users can reach an item before its scheduled reveal. */
    /*
     * Purpose: Immediately reveal the article label/links or Explore control when keyboard focus reaches them.
     * Scope: Shared; experiment theme; @media (max-width: 29.9375em) and (prefers-reduced-motion: no-preference).
     * Note: Grouped selectors cover the focused article group and the focused Explore control.
     */
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .genai-popular:focus-within .genai-popular-label,
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .genai-popular:focus-within .genai-popular-link,
    .plus-brands-theme-wrapper.plus-brands-experiment-theme .plus-brands-experiment-hero-inner:has(.genai-entrance:not(.genai-entrance-complete)) .experiment-b-explore-link:focus {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@keyframes genai-home-item-enter {

    /*
     * Purpose: Start each staggered phone item transparent and 5px below its final position.
     * Scope: Animation genai-home-item-enter, from state.
     */
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    /*
     * Purpose: Finish each staggered phone item fully opaque at its final position.
     * Scope: Animation genai-home-item-enter, to state.
     */
    to {
        opacity: 1;
        transform: translateY(0);
    }
}