/************************ Home Page .comm-page-home ************************/

/* Mobile ONLY: Hero Component */
@media only screen and (max-width: 47.9375em) {
    .comm-page-home .forceCommunityThemeHeroBase .widthContainer[style] {
        width: auto !important;
    }

    .comm-page-home .forceCommunityThemeHeroBase .widthContainer[style] h1 {
        background: white;
        padding: 0.5em;
        opacity: 0.85;
    }

    .comm-page-home .forceCommunityThemeHeroBase .widthContainer[style] .slds-button {
        width: fit-content;
        align-self: center;
    }
}

/********************* Search Results .comm-page-detail *********************/
body[class*="comm-page-detail-0ZG"] .body.isPageWidthFixed-true .download-area {
    justify-self: flex-end;
}

/* secondary button */
body[class*="comm-page-detail-0ZG"] .body.isPageWidthFixed-true .sds-download-button {
    margin-right: 0;
}

/* secondary button */
body[class*="comm-page-detail-0ZG"] .body.isPageWidthFixed-true .sds-download-button .slds-button.slds-button_brand,
body[class*="comm-page-global-search"] .body.isPageWidthFixed-true .sds-download-button .slds-button.slds-button_brand {
    background: white;
    color: rgb(4, 0, 102);
    border-color: rgb(4, 0, 102);
}

/* Mobile ONLY: Hero Component */
@media only screen and (max-width: 47.9375em) {
    .card-layout-list[c-bluSearchCard_bluSearchCard] {
        grid-template-areas: 'image-area fields-area fields-area price-area'
            'image-area fields-area fields-area qty-area'
            'image-area fields-area fields-area action-area'
            'image-area fields-area fields-area download-area' !important;
    }
}

/********************* Product Detail Page *********************/
body[class*="comm-page-detail"] .price {
    font-size: 20px;
}

/* whitespace reduction between description and tabs */
body[class*="comm-page-detail"] .details-area[c-bluProductDetailsDisplay_bluProductDetailsDisplay] {
    min-height: auto;
}

/* secondary button */
body[class*="comm-page-detail"] [c-bludocumentdownload_bludocumentdownload] button.slds-button.slds-button_brand {
    background: white;
    color: rgb(4, 0, 102);
    border-color: rgb(4, 0, 102);
}