/* Amex Offers Case Studies CSS 2026 */

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

body{
    -webkit-text-size-adjust: 100%;
  }
  
.nowrap {
  white-space: nowrap;  
}
.desktopOnly {
    display: block !important;
}

.mobileOnly {
    display: none !important;
}


#mainContainer .container, #parentGrid .container {
    max-width: 100%;
    padding: 0;
}

#parentGrid .container .col-md-12, #parentGrid .container .col-md-6, #parentGrid .container .col-md-4 {
    padding: 0;    
}

/* Hero */

#hero {
    height: 1px;
    padding-bottom: 43%;
}

#heroLeftContent {
    max-width: 450px;
    margin: 0 auto;
    margin-top: 25%;
    width: 70%;
}

#heroLeftContent img {
    width: 290px;
    padding-bottom: 10px;
}

#heroLeftContent h1 {
    font-family: BentonSans, Helvetica Neue, Helvetica, sans-serif;
    font-size: 36px;
    line-height: 48px;
    font-weight: 500;
    color: #00175A;
    max-width: 400px;
    padding: 4px 0 0 0;
}

#heroLeftContent p {
    font-family: Helvetica Neue, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 23px;
    font-weight: 400;
    color: #333333;
    text-align: left;
    padding: 10px 0 30px 0;
}

.header_callout #heroLeftContent {
    margin-top: 0;
    display: flex;
    align-items: center; /* Vertically centers the image */
    justify-content: center; /* Horizontally centers the image */
    border-radius: 2px;
    background: #EDF7FF;
    padding: 20px;
}

.header_callout #heroLeftContent img {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    padding-right: 10px;
}

.header_callout #heroLeftContent .callout_text {
     display: flex;
}

.callout_text p {
    font-family: Helvetica Neue, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 23px;
    font-weight: 400;
    color: #333333;
    padding: 0!important;
}

@media (max-width: 1279px) {
    #mainContainer .container {
        max-width: 100%;
    }

    #heroLeftContent img {
        width: 240px;
    }

    #heroLeftContent h1 {
        font-size: 32px;
        line-height: 36px;
        max-width: 350px;
        padding: 4px 0 0 0;
    }
    
    #heroLeftContent p {
        font-size: 15px;
        line-height: 19px;
        padding: 10px 0;
    }
}

@media (max-width: 955px) {
    #heroLeftContent {
        margin-top: 16%;
    }    
}

@media (max-width: 810px) {
    #heroLeftContent img {
        padding-bottom: 5px;
    }
    
}

@media (max-width: 767px) {
    .root.responsivegrid {
        background: #fff;
    }
    .desktopOnly {
        display: none !important;
    }
    .mobileOnly {
        display: block !important;
    }

    p.body {
        font-family: BentonSans, Helvetica Neue, Helvetica, sans-serif;
        font-size: 16px;
        line-height: 24px;
    }

    #mainContainer .container, #tabContainer .container, #usefulLinks .container, #currentCardMember .container {
        max-width: 540px;
        padding: 0;
    }

    #heroLeftContent {
        max-width: 100%;
        margin: 0;
        padding: 20px 30px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #heroLeftContent img {
        width: 256px;
        margin: 0 auto;
    }

    #hero {
        height: inherit;
        padding: 50px 0;
    }

    #hero .row {
        margin: 0;
    }

    #hero .col-md-12, #hero .col-md-6 {
        padding: 0
    }

    #hero > div.hidden-md-down > div, #hero > div.hidden-sm-down.hidden-lg-up,#hero > div.hidden-md-up > div{
        background-image: none !important;
    }

    #heroLeftContent h1 {
        font-size: 32px;
        line-height: 40px;
        font-weight: 700;
        padding: 20px 0;
        text-align: center;
    }
    #heroLeftContent p {
        font-size: 16px;
        line-height: 24px;
        padding-bottom: 20px;
        text-align: center;
    }

    .image .text-align-left.mobileOnly {
        text-align: right !important;
    }

    .image .text-align-left.mobileOnly img {
        max-width: 355px;
        width: 96%;
    }
}

/* End Hero */

/* Main Section */

h2 {
    color: #00175A;
    text-align: center;
    font-family: BentonSans, Helvetica Neue, Helvetica, sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; 
    padding-bottom: 20px;
}

p {
    color: #333;
    text-align: center;
    font-family: Helvetica Neue, Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    padding-bottom: 40px;
}

/* Case Studies */
#caseStudies {
    padding: 50px 100px 100px;
}

.caseStudiesRows {
    margin-bottom: 50px;
}

.caseStudiesRows .col-md-4 {
    padding: 0 10px!important;
}

/*.caseStudiesRows .col-md-4:first-child {
    padding: 0 10px 0 0!important;
}

.caseStudiesRows .col-md-4:last-child {
    padding: 0 0 0 10px!important;
}*/

.individualCaseStudy .row {
    margin: 0;
}

.individualCaseStudyText p {
    text-align: left;
    line-height: 22px;
    padding-bottom: 50px;
}

#caseStudies .individualCaseStudy {
    border: solid 1px #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
}

#caseStudies .individualCaseStudyText {
    padding: 20px 20px 0;
}

#caseStudies .individualCaseStudyText h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #006FCF;
    padding: 0 0 10px 0;
}

#caseStudies .individualCaseStudyText p {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #333333;
    min-height: 70px;
    padding: 0px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical
}

#caseStudies .individualCaseStudy .btn {
    max-width: 100% !important;
    margin: 20px !important;
    border-radius: 4px;
    border: 1px solid #006FCF;
}
/* End Case Studies */

#btnAmexOffersDigitalMedia a {
    width: 100%;
    max-width: 318px;
    padding: 13px 0;
    margin-bottom: 0 !important;
}

@media (max-width: 1279px) {
    
}

@media (max-width: 767px) {
    #caseStudies {
        padding: 50px 20px;
    }  
    .caseStudiesRows {
        margin-bottom: 0;
    }
    .caseStudiesRows.last_row {
        margin-bottom: 30px;
    }
    .caseStudiesRows .col-md-4 {
        padding: 0 10px 20px!important;
    }
    #caseStudies .individualCaseStudy {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* End Main Section */

/* Current Card Member */
#currentCardMember {
    overflow: hidden;
}

#currentCardMember .container {
    max-width: 1280px;
    padding: 0;
}

#currentCardMember .col-md-6, #currentCardMember .col-md-12 {
    padding: 0;
}

#currentCardMember > div.container > div > div:nth-child(1) {
    background: #011965 !important;
}

#currentCardMember > div.container > div > div:nth-child(2) {
    background: #006fcf !important;
}

#currentCardMemberVideo {
    max-width: 240px;
    margin: 60px auto -60px;
}

#currentCardMemberRightSide {
    /* max-width: 590px; */
    padding: 50px;
    margin: 0 auto;
}

#currentCardMemberRightSide h4 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    padding: 0 0 20px 0;
    color: #FFFFFF;
    font-family: BentonSans, Helvetica Neue, Helvetica, sans-serif;
    text-transform: none;
    text-align: left;
    
}

#currentCardMemberRightSide p {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    padding: 0 0 20px 0;
    color: #FFFFFF;
    font-family: BentonSans, Helvetica Neue, Helvetica, sans-serif;
    text-align: left;
}

.btn-sm {
    width: 142px !important;
}

#currentCardMemberRightSide p.legal-1 {
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    color: #FFFFFF;
    padding: 20px 0 0 0;
}

/* Current Card Member */