/*nmibc--patient-support.css*/

/* Common styling */

#nmibc--patient-support #content-banner__wrapper,
#nmibc--patient-support #cta-section .cta-section__wrapper {
    max-width: 1132px;
    margin: 0 auto;
}

#nmibc--patient-support #content-section-1,
#nmibc--patient-support #resources-container .aem-Grid {
    max-width: 938px;
    margin: 0 auto;
}

#nmibc--patient-support .text:has(#content-banner__wrapper),
#nmibc--patient-support .text:has(#content-section-1),
#nmibc--patient-support #resources-container {
    padding: 64px 0;
}

#nmibc--patient-support .text__normal {
    margin: 0;
    font-family: "filson-pro";
    font-size: 25px;
    font-style: normal;
    font-weight: 425;
    line-height: 32px;
    letter-spacing: 0;
    text-box: trim-both cap alphabetic;
}

#nmibc--patient-support .content-columns__btn,
#nmibc--patient-support .cta-section__btn {
    display: flex;
    gap: 16px;
    width: fit-content;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    background-color: #b8f0ff;
    text-decoration: none;
    transition: 150ms ease;
    font-family: "filson-pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-box: trim-both cap alphabetic;
    color: #063a4c;
}

#nmibc--patient-support .content-columns__btn:hover, 
#nmibc--patient-support .content-columns__btn:active,
#nmibc--patient-support .cta-section__btn:hover,
#nmibc--patient-support .cta-section__btn:active {
    background-color: #a3e9fe;
}

#nmibc--patient-support .content-columns__btn:active,
#nmibc--patient-support .cta-section__btn:active {
    transform: scale(0.95);
    transform-origin: center;
}

#nmibc--patient-support .content-columns__btn:hover .content-columns__btn-arrow, 
#nmibc--patient-support .content-columns__btn:active .content-columns__btn-arrow,
#nmibc--patient-support .cta-section__btn:hover .cta-section__btn-arrow,
#nmibc--patient-support .cta-section__btn:active .cta-section__btn-arrow {
    transform: translateX(8px);
}

/* *********************************************************************** */

#nmibc--patient-support .text:has(#content-banner__wrapper) {
    background-color: #327096;
}

#nmibc--patient-support #content-banner__wrapper p {
    margin: 0 auto;
    color: #fff;
    text-align: center;
    max-width: 1027.828px;
}

/* ***************************************************************** */

#nmibc--patient-support .text:has(#content-section-1) {
    background-color: #ecfcff;
    /*display: none;*/
}

#nmibc--patient-support .content-columns {
    display: flex;
    gap: 32px;
    position: relative;
}

#nmibc--patient-support .content-columns__icon {
    align-self: flex-start;
    width: 259px;
    height: auto;
}

#nmibc--patient-support .content-columns .text__heading {
    text-align: left;
    margin: 0px 0 26px;
}

#nmibc--patient-support .content-columns .text__normal {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 32px;
    color: #333;
}

#nmibc--patient-support .content-columns__btn {
    min-width: 200px;
    height: 50px;
}

/* **************************************************************** */

#nmibc--patient-support #resources-container .aem-Grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 32px;
    row-gap: 40px;
}

#nmibc--patient-support #resources-container .aem-Grid:before,
#nmibc--patient-support #resources-container .aem-Grid:after {
    display: none;
}

#nmibc--patient-support #resources-container .text {
    background: #f4f8fb;
    padding: 40px;
    display: flex;
    max-width: 453px;
    flex-direction: column;
    align-items: center;
    min-height: 448px;
    height: 100%;
    position: relative;
    overflow: visible;
}

#nmibc--patient-support #resources-container .resource-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#nmibc--patient-support #resources-container .resource-card__content {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

#nmibc--patient-support #resources-container .resource-card__thumbnail {
    width: 160px;
    height: 160px;
    object-fit: cover;
    flex: 0 0 160px;
}

#nmibc--patient-support #resources-container .resource-card__thumbnail.brochure-thumb {
    padding: 25px 0;
}

#nmibc--patient-support #resources-container .resource-card__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    min-height: 93.4px;
}

#nmibc--patient-support #resources-container .resource-card__title {
    margin: 0;
    padding: 0;
    font-family: "filson-pro";
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 30px;
    letter-spacing: 0.24px;
    text-box: trim-both cap alphabetic;
    color: #063a4c;
}

#nmibc--patient-support #resources-container .resource-card__description {
    margin: 0;
    font-family: "filson-pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 425;
    line-height: 24px;
    letter-spacing: 0;
    text-box: trim-both cap alphabetic;
    color: #333;
}

#nmibc--patient-support #resources-container .resource-card__btn {
    display: flex;
    gap: 16px;
    width: fit-content;
    min-width: 340px;
    max-width: 100%;
    margin-top: auto;
    align-self: center;
    padding: 13px 24px;
    justify-content: center;
    align-items: center;
    background-color: #b8f0ff;
    text-decoration: none;
    transition: 150ms ease;
    font-family: "filson-pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-box: trim-both cap alphabetic;
    color: #063a4c;
}

#nmibc--patient-support #resources-container .resource-card__btn:hover {
    background-color: #a3e9fe;
}

#nmibc--patient-support .resource-card--cta-bleed-mob .resource-card__btn-label {
    white-space: nowrap;
}

#nmibc--patient-support #resources-container .text:last-child {
    max-width: 100%;
    min-height: 240px;
}

#nmibc--patient-support #resources-container .text:last-child .resource-card__content {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    justify-content: center;
}

#nmibc--patient-support #resources-container .text:last-child .resource-card__thumbnail {
    width: 160px;
    height: 160px;
    object-fit: cover;
    flex: 0 0 160px;
    padding-inline: 15px;
    margin-left: -30px;
}

#nmibc--patient-support #resources-container .text:last-child .resource-card__copy {align-items: baseline;}

#nmibc--patient-support #resources-container .text:last-child .resource-card__btn {
    align-self: auto;
    margin-top: 20px;
}

/* ***************************************************************************************** */

#nmibc--patient-support #cta-section {
    background-color: #063a4c;
    padding: 40px 0;
    margin-bottom: -8px;
}

#nmibc--patient-support #cta-section .cta-section__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

#nmibc--patient-support #cta-section .cta-section__heading {
    margin: 0;
    padding: 0;
    font-family: "filson-pro";
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 30px;
    text-box: trim-both cap alphabetic;
    letter-spacing: 0.24px;
    color: #fff;
}

#nmibc--patient-support #cta-section .cta-section__btn {
    height: 72px;
}

/* *********************************************************************************** */

/* Mobile design */

@media screen and (max-width: 991px) {

    #nmibc--patient-support .text:has(#content-banner__wrapper) {
        padding: 32px 15px;
    }

    #nmibc--patient-support .text:has(#content-section-1) {
        padding: 64px 15px;
    }

    #nmibc--patient-support .content-columns,
    #nmibc--patient-support #cta-section .cta-section__wrapper {
        flex-direction: column;
    }

    /* ******************************************************* */

    #nmibc--patient-support .content-columns__icon {
        align-self: center;
    }

    #nmibc--patient-support .content-columns .text__heading {
        letter-spacing: 0.52px;
            margin: 0px 0 20px;
    }

    #nmibc--patient-support .content-columns__btn {
        height: 50px;
        width: 100%;
    }
    #nmibc--patient-support #content-section-1 .content-columns__btn {
        height: 40px;
    }
    /* ********************************************************* */

    #nmibc--patient-support #resources-container {
        padding: 40px 15px;
    }

    #nmibc--patient-support #resources-container .text {
        max-width: 100%;
        min-height: auto;
    }
    #nmibc--patient-support div#paitent-guide .resource-card__btn {
        margin-left: -40px;
        margin-right: -40px;
        width: 360px;
        max-width: 360px;
    }
    #nmibc--patient-support #resources-container div#side-effecttracker .resource-card__btn {
        min-width: 283px;
        max-width: 283px;
        width: 283px;
    }
    #nmibc--patient-support #resources-container div#caregiver-guide .resource-card__btn {
        min-width: 283px;
         max-width: 283px; 
    }
    #nmibc--patient-support #resources-container .resource-card__btn {
        width: 100%;
    }
    
    #nmibc--patient-support #resources-container .text:last-child .resource-card__content {
        flex-direction: column;
        align-items: center;
    }

    /* **********************************************************/

    #nmibc--patient-support #cta-section {
        padding: 40px 15px;
    }

    #nmibc--patient-support #cta-section .cta-section__btn {
        width: 360px;
        max-width: 100%;
    }

    #nmibc--patient-support #resources-container .text:last-child .resource-card__copy {
        align-items: center;
    }
    #nmibc--patient-support #resources-container .text:last-child .resource-card__thumbnail {
        margin-left: 0;
    }
    #nmibc--patient-support #resources-container .resource-card__copy{
        min-height: auto;
    }
}

@media (min-width: 992px) {
  #nmibc--patient-support .content-columns__btn,
  #nmibc--patient-support .cta-section__btn {
    transform: scale(1) !important;
    transform-origin: center !important;
    transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out, transform 0.15s ease-out !important;
  }

  #nmibc--patient-support .content-columns__btn-arrow,
  #nmibc--patient-support .cta-section__btn-arrow {
    display: inline-block !important;
    transform: translateX(0) !important;
    transition: transform 0.15s ease-out, color 0.15s ease-out !important;
  }

  #nmibc--patient-support .content-columns__btn:hover,
  #nmibc--patient-support .cta-section__btn:hover {
    background-color: #a3e9fe !important;
  }

  #nmibc--patient-support .content-columns__btn:active,
  #nmibc--patient-support .cta-section__btn:active {
    background-color: #a3e9fe !important;
    transform: scale(0.95) !important;
  }

  #nmibc--patient-support .content-columns__btn:hover .content-columns__btn-arrow,
  #nmibc--patient-support .cta-section__btn:hover .cta-section__btn-arrow {
    transform: translateX(8px) !important;
  }

  #nmibc--patient-support .content-columns__btn:active .content-columns__btn-arrow,
  #nmibc--patient-support .cta-section__btn:active .cta-section__btn-arrow {
    transform: translateX(8px) !important;
  }

  #nmibc--patient-support #resources-container .resource-card__btn {
    transform: scale(1) !important;
    transform-origin: center !important;
    transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out, transform 0.15s ease-out !important;
  }
  #nmibc--patient-support #resources-container #side-effecttracker .resource-card__btn {
    min-width: 283px;
  }
  #nmibc--patient-support #resources-container #treatment-roadmap .resource-card__btn {
    padding: 13px 36px;
  }
  #nmibc--patient-support #resources-container #dr-discssion-guide .resource-card__btn {
    min-width: 364px;
    max-width: 364px;
  }
  #nmibc--patient-support #resources-container .resource-card__btn:active {
    background-color: #a3e9fe !important;
    transform: scale(0.95) !important;
  }
}

