/* General */
.case-study .accent {
    color: #e77bff;
    font-weight: 600;
}

.case-study .entry-content p {
    margin-bottom: 16px;
}
@media (min-width: 1240px) {
    .case-study .entry-content p {
        margin-bottom: 24px;
    }
}
.case-study .entry-content p:last-of-type,
.case-study .entry-content p:only-of-type {
    margin-bottom: 0;
}

/* Header */
.case-study .header {
    position: relative;
    padding-top: 230px;
    padding-bottom: 40px;
}
@media (min-width: 1240px) {
    .case-study .header {
        padding-bottom: 144px;
        background-image:
                radial-gradient(
                        637px 644px at 0% 0%,
                        rgba(61, 15, 88, 1) 0%,
                        rgba(61, 15, 88, 0) 100%
                ),
                url("../../img/case-study-weplay/header-bg.png");
        background-repeat: no-repeat, no-repeat;
    }
}

.case-study .header .decoration-mob {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(
            180deg,
            rgba(61, 15, 88, 1) 0%,
            rgba(61, 15, 88, 0) 100%
    );
    z-index: 10;
}
@media (min-width: 1240px) {
    .case-study .header .decoration-mob {
        display: none;
    }
}

.case-study .header .decoration-mob-2 {
    position: absolute;
    top: 142px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(
            180deg,
            rgba(61, 15, 88, 0) 0%,
            rgba(61, 15, 88, 1) 100%
    );
    z-index: 10;
}
@media (min-width: 1240px) {
    .case-study .header .decoration-mob-2 {
        display: none;
    }
}

.case-study .header .header-logo-mob {
    position: absolute;
    top: 0;
    left: 0;
}
@media (min-width: 1240px) {
    .case-study .header .header-logo-mob {
        display: none;
    }
}

.case-study .header .header-logo {
    display: none;
}
@media (min-width: 1240px) {
    .case-study .header .header-logo {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: auto;
    }
}

.case-study .header .container {
    position: relative;
    z-index: 20;
}

.case-study .header .content {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
@media (min-width: 1024px) {
    .case-study .header .content {
        row-gap: 16px;
        max-width: 516px;
    }
}

.case-study .header h1 {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
}
@media (min-width: 1240px) {
    .case-study .header h1 {
        font-size: 60px;
    }
}
.case-study .header .subtitle {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    color: #fff;
}
@media (min-width: 1240px) {
    .case-study .header .subtitle {
        font-weight: 400;
        font-size: 40px;
        max-width: 469px;
    }
}

.case-study .header .content .entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
}
@media (min-width: 1240px) {
    .case-study .header .content .entry-content {
        font-size: 28px;
    }
}

.case-study .header .content .entry-content .accent {
    font-weight: 500;
}

/* Content With Media 1 */
.case-study .content-with-media-1 {
    padding-bottom: 48px;
}
@media (min-width: 1240px) {
    .case-study .content-with-media-1 {
        padding-bottom: 120px;
    }
}

.case-study .content-with-media-1 .container {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    align-items: center;
}
@media (min-width: 1240px) {
    .case-study .content-with-media-1 .container {
        row-gap: 60px;
    }
}

.case-study .content-with-media-1 .wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    align-items: center;
}
@media (min-width: 1240px) {
    .case-study .content-with-media-1 .wrapper {
        flex-direction: row;
        justify-content: center;
    }
}

.case-study .content-with-media-1 h2 {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .content-with-media-1 h2 {
        font-size: 60px;
    }
}

.case-study .content-with-media-1 .entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
    order: 2;
}
@media (min-width: 1240px) {
    .case-study .content-with-media-1 .entry-content {
        font-size: 22px;
        max-width: 577px;
        flex-shrink: 0;
        order: 1;
    }
}

.case-study .content-with-media-1 .media {
    width: 100%;
    order: 1;
}
@media (min-width: 1240px) {
    .case-study .content-with-media-1 .media {
        width: auto;
        order: 2;
    }
}

.case-study .content-with-media-1 .media img {
    width: 100%;
    object-fit: contain;
}

/* Features 1 */
.case-study .features-1 {
    padding-bottom: 48px;
    position: relative;
}
@media (min-width: 1240px) {
    .case-study .features-1 {
        padding-bottom: 80px;
    }
}

.case-study .features-1 .decoration-1 {
    display: none;
}
@media (min-width: 1240px) {
    .case-study .features-1 .decoration-1 {
        display: block;
        position: absolute;
        top: -92px;
        left: 0;
    }
}

.case-study .features-1 .decoration-2 {
    display: none;
}
@media (min-width: 1240px) {
    .case-study .features-1 .decoration-2 {
        display: block;
        position: absolute;
        bottom: -286px;
        right: 0;
    }
}

.case-study .features-1 .container {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    background-color: #b337de;
    padding: 32px 16px 48px;
    row-gap: 30px;
    position: relative;
    z-index: 10;
}
@media (min-width: 1024px) {
    .case-study .features-1 .container {
        border-radius: 30px;
    }
}
@media (min-width: 1240px) {
    .case-study .features-1 .container {
        padding: 48px 36px 80px;
        row-gap: 40px;
    }
}

.case-study .features-1 .top {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    align-items: center;
}
@media (min-width: 1240px) {
    .case-study .features-1 .top {
        row-gap: 20px;
    }
}

.case-study .features-1 h2 {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .features-1 h2 {
        font-size: 60px;
    }
}

.case-study .features-1 .container .top>.entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .features-1 .container .top>.entry-content {
        font-size: 28px;
        max-width: 784px;
    }
}

.case-study .features-1 .cards {
    display: grid;
    row-gap: 32px;
}
@media (min-width: 1240px) {
    .case-study .features-1 .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
        column-gap: 60px;
    }
}

.case-study .features-1 .cards .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
}
@media (min-width: 1240px) {
    .case-study .features-1 .cards .card {
        row-gap: 24px;
        align-items: flex-start;
    }
}

.case-study .features-1 .cards .card .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
}
@media (min-width: 1240px) {
    .case-study .features-1 .cards .card .content {
        row-gap: 10px;
        align-items: flex-start;
    }
}

.case-study .features-1 .cards .card .icon img {
    width: 60px;
    height: 60px;
}
@media (min-width: 1240px) {
    .case-study .features-1 .cards .card .icon img {
        width: 80px;
        height: 80px;
    }
}

.case-study .features-1 .cards .card .title {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .features-1 .cards .card .title {
        font-size: 24px;
        text-align: left
    }
}

.case-study .features-1 .cards .card .entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    text-align: center
}
@media (min-width: 1240px) {
    .case-study .features-1 .cards .card .entry-content {
        font-size: 16px;
        text-align: left
    }
}

/* Cards 1 */
.case-study .cards-1 {
    padding-bottom: 48px;
}
@media (min-width: 1240px) {
    .case-study .cards-1 {
        padding-bottom: 172px;
    }
}

.case-study .cards-1 .container {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1240px) {
    .case-study .cards-1 .descr {
        max-width: 980px;
        margin: 0 auto;
    }
}

.case-study .cards-1 h2 {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .cards-1 h2 {
        font-size: 60px;
    }
}

.case-study .cards-1 .descr>.entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    margin-top: 30px;
}
@media (min-width: 1240px) {
    .case-study .cards-1 .descr>.entry-content {
        font-size: 28px;
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 32px;
    }
}

.case-study .cards-1 .cards {
    display: grid;
    column-gap: 22px;
    row-gap: 20px;
    margin-top: 30px;
}
@media (min-width: 1240px) {
    .case-study .cards-1 .cards {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        margin-top: 40px;
    }
}

.case-study .cards-1 .cards .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    padding: 23px 15px 20px;
    position: relative;
}
@media (min-width: 1240px) {
    .case-study .cards-1 .cards .card {
        padding: 30px 29px 9px;
        grid-column: span 2;
    }
}
@media (min-width: 1240px) {
    .case-study .cards-1 .cards .card:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .case-study .cards-1 .cards .card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.case-study .cards-1 .cards .card.card-1 {
    background: radial-gradient(350px 354px at 0% 100%, rgba(235, 0, 255, 0.7) 0%, rgba(235, 0, 255, 0) 100%) no-repeat, #632784;
}

.case-study .cards-1 .cards .card.card-2 {
    background: radial-gradient(350px 354px at 100% 0%, rgba(235, 0, 255, 0.7) 0%, rgba(235, 0, 255, 0) 100%) no-repeat, #632784;
}

.case-study .cards-1 .cards .card.card-3 {
    background: radial-gradient(350px 354px at 100% 100%, rgba(235, 0, 255, 0.7) 0%, rgba(235, 0, 255, 0) 100%) no-repeat, #632784;
}

.case-study .cards-1 .cards .card.card-4 {
    background: radial-gradient(350px 354px at 0% 100%, rgba(235, 0, 255, 0.7) 0%, rgba(235, 0, 255, 0) 100%) no-repeat, #632784;
    padding-bottom: 54px;
}

.case-study .cards-1 .cards .card.card-5 {
    background: radial-gradient(350px 354px at 100% 0%, rgba(235, 0, 255, 0.7) 0%, rgba(235, 0, 255, 0) 100%) no-repeat, #632784;
    padding-bottom: 54px;
}

.case-study .cards-1 .cards .card .number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    overflow: hidden;
    background-color: #b337de;
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .cards-1 .cards .card .number {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }
}

.case-study .cards-1 .cards .card .title {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    margin-top: 20px;
}
@media (min-width: 1240px) {
    .case-study .cards-1 .cards .card .title {
        font-size: 24px;
        margin-top: 18px;
    }
}

.case-study .cards-1 .cards .card .entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    margin-top: 20px;
}
@media (min-width: 1240px) {
    .case-study .cards-1 .cards .card .entry-content {
        font-size: 16px;
    }
}

.case-study .cards-1 .cards .card .image {
    position: absolute;
    bottom: 10px;
    left: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}


.case-study .cards-1 .cards .card.card-4 {
    padding-bottom: 200px;
}
@media (min-width: 1240px) {
    .case-study .cards-1 .cards .card.card-4 {
        padding-bottom: 220px;
    }
}

.case-study .cards-1 .cards .card.card-5 {
    padding-bottom: 220px;
}

/* Content 1 */
.case-study .content-1 {
    padding-bottom: 48px;
}
@media (min-width: 1240px) {
    .case-study .content-1 {
        padding-bottom: 80px;
    }
}

.case-study .content-1 .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
}
@media (min-width: 1240px) {
    .case-study .content-1 .container {
        row-gap: 20px;
    }
}

.case-study .content-1 h2 {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .content-1 h2 {
        font-size: 60px;
    }
}

.case-study .content-1 .entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .content-1 .entry-content {
        font-size: 28px;
    }
}

/* Divider 1 */
.case-study .divider-1 {
    padding-bottom: 16px;
}
@media (min-width: 1240px) {
    .case-study .divider-1 {
        padding-bottom: 20px;
    }
}

.case-study .divider-1 .container .inner {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    border-radius: 24px;
    overflow: hidden;
    padding: 16px;
    background: url("../../img/case-study-boabet/divider-1.png") right no-repeat;
    background-color: #b337de;
}
@media (min-width: 1024px) {
    .case-study .divider-1 .container .inner {
        row-gap: 20px;
        background-size: 170px;
        padding: 36px;
    }
}

.case-study .divider-1 .title {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    color: #fff;
}
@media (min-width: 1240px) {
    .case-study .divider-1 .title {
        font-size: 28px;
    }
}

.case-study .divider-1 .entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    max-width: 74%;
}
@media (min-width: 1240px) {
    .case-study .divider-1 .entry-content {
        font-size: 16px;
        max-width: unset;
    }
}

/* Cards 2 */
.case-study .cards-2 {
    padding-bottom: 48px;
}
@media (min-width: 1240px) {
    .case-study .cards-2 {
        padding-bottom: 100px;
    }
}

.case-study .cards-2 .cards {
    display: grid;
    gap: 20px;
}
@media (min-width: 1240px) {
    .case-study .cards-2 .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.case-study .cards-2 .cards .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 24px;
    background-color: #632784;
    padding: 16px;
    min-width: 0;
}
@media (min-width: 1240px) {
    .case-study .cards-2 .cards .card {
        padding: 36px;
    }
}

.case-study .cards-2 .cards .card .icon img {
    margin-top: 16px;
    max-width: 100%;
}
@media (min-width: 1240px) {
    .case-study .cards-2 .cards .card .icon img {
        margin-top: 20px;
    }
}

.case-study .cards-2 .cards .card .title {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .cards-2 .cards .card .title {
        font-size: 28px;
    }
}

@media (min-width: 1240px) {
    .case-study .cards-2 .cards .card-9 {
        grid-column: span 2;
    }
}

.case-study .cards-2 .cards .card .entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    margin-top: 20px;
    flex-grow: 1;
}
@media (min-width: 1240px) {
    .case-study .cards-2 .cards .card .entry-content {
        font-size: 16px;
    }
}

/* Divider 2 */
.case-study .divider-2 {
    padding-bottom: 40px;
}
@media (min-width: 1240px) {
    .case-study .divider-2 {
        padding-bottom: 60px;
    }
}

.case-study .divider-2 .container .inner {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    border-radius: 24px;
    overflow: hidden;
    padding: 16px 16px 170px;
    background: url("../../img/case-study-boabet/divider-2-mob.png") bottom center no-repeat;
    background-color: #7c37a1;
    background-size: cover;
}
@media (min-width: 600px) {
    .case-study .divider-2 .container .inner {
        background: url("../../img/case-study-boabet/divider-2.png") right no-repeat;
        background-color: #7c37a1;
    }
}
@media (min-width: 1024px) {
    .case-study .divider-2 .container .inner {
        row-gap: 34px;
        padding: 51px 60px 71px 60px;
    }
}

.case-study .divider-2 h2 {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .divider-2 h2 {
        font-size: 60px;
    }
}

.case-study .divider-2 .entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #fff;
}
@media (min-width: 1240px) {
    .case-study .divider-2 .entry-content {
        font-size: 24px;
        max-width: 681px;
    }
}

/* Blockquote */
.case-study .blockquote {
    padding-bottom: 48px;
}
@media (min-width: 1240px) {
    .case-study .blockquote {
        padding-bottom: 64px;
    }
}

.case-study .blockquote .inner {
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    overflow: hidden;
    background-color: #27003a;
    padding: 32px 24px 40px;
}
@media (min-width: 1240px) {
    .case-study .blockquote .inner {
        padding: 48px 100px 56px;
        background-size: auto;
    }
}

.case-study .blockquote .wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    margin-top: 30px;
}
@media (min-width: 1240px) {
    .case-study .blockquote .wrapper {
        flex-direction: row;
        align-items: center;
        column-gap: 58px;
        margin-top: 40px;
    }
}

.case-study .blockquote h2 {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
@media (min-width: 1240px) {
    .case-study .blockquote h2 {
        font-size: 60px;
    }
}

.case-study .blockquote .media {
    order: 2;
    display: flex;
    column-gap: 16px;
    align-items: center;
    flex-shrink: 0;
}
@media (min-width: 1240px) {
    .case-study .blockquote .media {
        order: 1;
    }
}

.case-study .blockquote .content {
    order: 1;
}
@media (min-width: 1240px) {
    .case-study .blockquote .content {
        order: 2;
        display: flex;
        flex-direction: column;
        row-gap: 32px;
    }
}

.case-study .blockquote .media img {
    width: 139px;
    height: 139px;
    flex-shrink: 0;
}
@media (min-width: 1240px) {
    .case-study .blockquote .media img {
        width: 182px;
        height: 182px;
    }
}

.case-study .blockquote .media .author {
    display: block;
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
}
@media (min-width: 1240px) {
    .case-study .blockquote .media .author {
        display: none;
    }
}

.case-study .blockquote .content .entry-content {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
}
@media (min-width: 1240px) {
    .case-study .blockquote .content .entry-content {
        font-size: 22px;
    }
}

.case-study .blockquote .content .author {
    display: none;
}
@media (min-width: 1240px) {
    .case-study .blockquote .content .author {
        display: block;
        font-family: "Roboto Flex", sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 24px;
        line-height: 1.2;
        color: #fff;
    }
}


/* Button 1 */
.case-study .button-1 {
    padding-bottom: 80px;
}
@media (min-width: 1240px) {
    .case-study .button-1 {
        padding-bottom: 120px;
    }
}

.case-study .button-1 .container{
    display: flex;
    justify-content: center;
}

.case-study .button-1 .btn-primary {
    font-family: "Roboto Flex", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    text-align: center;
    padding: 18px 32px;
    background-color: #04a696;
    border-radius: 70px;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: all .25s ease;
    display: block;
    text-decoration: none;
}

.case-study .button-1 .btn-primary:hover {
    background-color: #34c3b5;
}