section.page-section {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

ul, ol, li {
    margin: 0;
    list-style: none;
}

/***** HERO ********/

section.home-hero-section {
    margin-bottom: 60px;
}

.home-hero-section .section-container{
    max-width: 1072px;
    margin: 0 auto;
    padding: 92px 0;
}

.home-hero-text-col {
    width: 56%;
    justify-content: center;
}

.home-hero-text-box {
    max-width: 593px;
}

.home-hero-img-box {
    display: flex;
    width: 450px;
    height: 450px;
    margin-left: auto;
}

.home-hero-img-box img {
    object-fit: cover;
}

.home-hero-title {
    background: linear-gradient(96deg, #F5F5F6 0%, #ADADB3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-feature-settings: 'salt' on;
    font-family: var(--IBM-Sans);
    font-size: 39px;
    font-style: normal;
    font-weight: 300;
    line-height: 48px;
    margin-bottom: 64px;
}

.home-hero-title em {
    font-weight: 600;
    font-style: normal;
}

.home-hero-buttons-wrapper {
    gap: 40px;
}

@media (max-width: 1280px) {
    .home-hero-section .section-container{
        max-width: 85%;
    }

    .home-hero-img-box {
        width: 35vw;
        height: 35vw;
    }
}

@media (max-width: 1200px) {
    .home-hero-section .btn-big-fill,
    .home-hero-section .btn-big-border {
        padding: 16px 20px;
    }
}

@media (max-width: 990px) {

    .home-hero-content {
        flex-direction: column;
        align-items: center;
    }

    .home-hero-section .section-container {
        max-width: 75%;
        padding: 40px 0;
    }

    .home-hero-text-col {
        width: 100%;
    }

    .home-hero-text-box {
        max-width: 460px;
        margin: 0 auto;
        text-align: center;
    }

    .home-hero-buttons-wrapper {
        gap: 16px;
        flex-direction: column;
    }

    .home-hero-section .btn-big-fill, .home-hero-section .btn-big-border {
        margin: 0 auto;
    }

    .title-super {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 16px;
    }

    .home-hero-title {
        font-size: 25px;
        line-height: 36px;
        margin-bottom: 0;
    }

    .home-hero-img-box {
        width: 260px;
        height: 260px;
    }

    .home-hero-buttons-wrapper.desktop {
        display: none;
    }

    .home-hero-buttons-wrapper.tablet-only.d-flex {
        margin-top: 20px;
    }

    .home-hero-section .btn-big-fill, .home-hero-section .btn-big-border {
        padding: 10px 24px;
    }
}

/***** What is cairo ******/

.what-is-cairo-section .section-container {
    padding: 80px 0;
}

.what-is-cairo-section .what-is-cairo-inner-section {
    position: relative;
    max-width: 1072px;
    margin: 0 auto;
}

.what-is-cairo-text-box {
    width: 760px;
    margin-left: 177px;
}

.what-is-cairo-title {
    font-size: 39px;
    font-weight: 300;
    line-height: 48px;
    background: linear-gradient(96deg, #F5F5F6 0%, #ADADB3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-feature-settings: 'salt' on;
    padding-right: 20px;
    margin-bottom: 24px;
}

.what-is-cairo-title em {
    font-weight: 600;
    font-style: normal;
    -webkit-text-fill-color: var(--color_brand_main, #FF4A4A);
    color: var(--color_brand_main, #FF4A4A);
}

.what-is-cairo-subtitle {
    color: var(--color_text_base, #BDBDBD);
    font-size: 20px;
    line-height: 28px;
    width: 604px;
}

.why-is-cairo-inner-section {
    position: relative;
    max-width: 1072px;
    margin: 256px auto 0;
}

.why-is-cairo-tabs-wrapper {
    gap: 20px;
    margin-left: 177px;
}

.why-is-cairo-tab-box {
    background: linear-gradient(var(--color_surface_bg),var(--color_surface_bg)) padding-box, linear-gradient(0deg, #78788040, #FFFFFF40) border-box;
    width: 292px;
    height: 100%;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

/*.why-is-cairo-tab-box:hover {*/
/*    border-radius: 16px;*/
/*    border: 1px solid #BDBDBD;*/
/*    background: var(--color_surface_bg_hover, #212121);*/
/*    !* White shadow *!*/
/*    box-shadow: 0 0 16px 0 rgba(207, 207, 210, 0.32);*/
/*}*/

.why-is-cairo-title {
    align-items: center;
    margin-bottom: 40px;
    gap: 8px;
}

.why-is-cairo-title img {
    width: 24px;
    height: 24px;
}

.why-is-cairo-title h3 {
    color: var(--color_red_200, #F5F5F5);
    font-family: var(--IBM-Mono);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

p.why-is-cairo-description {
    align-self: stretch;
    color: var(--color_grey_200, #EEE);
    font-family: var(--IBM-Sans);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.2px;
}

/*p.why-is-cairo-description.expandable {*/
/*    !*opacity: 0.2;*!*/
/*    margin-bottom: 0;*/
/*}*/

@media (max-width: 1440px) {
    .why-is-cairo-tabs-wrapper {
        gap: 15px;
        margin-left: 10vw;
    }
}

@media (max-width: 1280px) {
    .what-is-cairo-section .what-is-cairo-inner-section{
        max-width: 85%;
    }

    .what-is-cairo-text-box {
        width: 740px;
    }

    .why-is-cairo-inner-section {
        max-width: 100%;
        margin: 256px auto 0 7.5vw;
    }

    .why-is-cairo-tabs-wrapper {
        gap: 15px;
        margin-left: auto;
        padding-right: 20px;
    }

    .why-is-cairo-tab-box {
        width: 22vw;
    }
}

@media (max-width: 1256px) {
    .what-is-cairo-text-box {
        margin-left: auto;
    }
}

@media (max-width: 1200px) {
    .what-is-cairo-title {
        padding-right: 0;
    }

    .what-is-cairo-text-box {
        width: 62vw;
    }

    .what-is-cairo-title {
        font-size: 3.25vw;
        line-height: 4vw;
    }
}

@media (max-width: 990px) {

    .what-is-cairo-section .section-container {
        padding: 45px 0;
    }

    .what-is-cairo-content.d-flex,
    .why-is-cairo-content.d-flex {
        flex-direction: column;
    }

    .what-is-cairo-section .what-is-cairo-inner-section {
        max-width: 100%;
        padding: 0 4% 0 17.5%;
    }

    .why-is-cairo-inner-section {
        margin: 74px auto 0 0;
    }

    .what-is-cairo-text-box {
        width: 100%;
    }

    .why-is-cairo-tabs-wrapper {
        flex-direction: column;
        margin-left: 0;
        padding-right: 0;
    }

    .why-is-cairo-tab-box {
        width: auto;
    }

    .what-is-cairo-subtitle {
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        padding-right: 8%;
    }

    .what-is-cairo-title {
        font-size: 25px;
        line-height: 36px;
    }

    p.what-is-cairo-super.title-super {
        margin-bottom: 22px;
    }

    .why-is-cairo-inner-section {
        max-width: 100%;
        padding: 0 12.5%;
    }

    p.why-is-cairo-super.title-super {
        padding-left: 16px;
        margin-bottom: 30px;
    }

    .why-is-cairo-tab-box {
        padding: 16px;
    }

    .why-is-cairo-title {
        margin-bottom: 30px;
    }

    .why-is-cairo-title p {
        font-size: 14px;
        line-height: 20px;
    }

    p.why-is-cairo-description {
        font-size: 14px;
    }

}

/***** Docs And Books *****/
.docs-and-books-section {
    position: relative;
}

.docs-and-books-section .section-container {
    max-width: 1072px;
    margin: 0 auto;
    padding: 160px 0 130px ;
}

.docs-and-books-content {
    justify-content: center;
}

.docs-and-books-tabs-wrapper {
    justify-content: center;
    gap: 54px;
}

.docs-and-books-tab-container {
    padding: 1px;
    background: linear-gradient(0deg, #78788040 0%, #FFFFFF40 100%);
    border-radius: 8px;
    position: relative;
}

.docs-and-books-tab-container .border-hover {
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, #78788080 0%, #FFFFFF80 100%);
    opacity: 0;
    transition: all 0.3s;
    z-index: -1;
}

.docs-and-books-tab-container:hover .border-hover {
    opacity: 1;
}

.docs-and-books-tab {
    overflow: hidden;
    display: flex;
    position: relative;
    width: 509px;
    height: 622px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    border-radius: 8px;
    transition: all 0.3s;
    background-color: var(--color_surface_bg);
}

.docs-and-books-tab:hover {
    background-color: var(--color_surface_bg_hover);
}

.docs-and-books-tab .cta-btn {
    z-index: 10;
}

.docs-and-books-tab-bg-box {
    width: 350px;
    height: 175px;
    position: absolute;
    bottom: 0;
    right: calc(50% - 175px);
    background: #FF4A4A;
    opacity: 0.3;
    filter: blur(48px);
}

.docs-and-books-tab-image {
    width: 100%;
    max-height: 362px;
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.7;
}

.box-inner-title {
    color: var(--color_text_base, #BDBDBD);
    font-family: var(--IBM-Mono);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    margin-bottom: 16px;
}

p.docs-and-books-description {
    color: var(--color_text_highlight, #FAFAFA);
    font-family: var(--IBM-Sans);
    font-size: 25px;
    line-height: 36px;
    align-self: stretch;
    margin-bottom: 40px;
    height: 180px;
}

@media (max-width: 1280px) {
    .docs-and-books-section .section-container {
        max-width: 85%;
    }

    .docs-and-books-tabs-wrapper {
        gap: 30px;
    }

    /*.docs-and-books-tab-container {*/
    /*    width: calc(50% - 15px);*/
    /*}*/
}

@media (max-width: 990px) {
    .docs-and-books-section .section-container {
        max-width: 83%;
        padding: 60px 0 20px;
    }

    .docs-and-books-tabs-wrapper.d-flex {
        flex-direction: column;
    }

    .docs-and-books-tab {
        width: 100%;
        padding: 16px;
        height: 520px;
    }

    .docs-and-books-tab-bg-box {
        width: 70%;
        height: 22vw;
        right: 15%;
    }

    p.docs-and-books-description {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 56px;
        height: auto;
    }

    .docs-and-books-tab-image {
        opacity: 1;
    }

    .docs-and-books-tabs-wrapper {
        gap: 75px;
    }

    .box-inner-title {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
    }

}

@media (max-width: 767px) {
    .docs-and-books-tab {
        width: 100%;
        padding: 16px;
        height: 460px;
    }
}

/***** Cairo on Starknet *****/

.cairo-on-starknet-section .section-container {

    max-width: 1072px;
    margin: 0 auto;
    padding: 96px 0;
}

section.cairo-on-starknet-section {
    background-position-x: 54vw;
    background-size: 500px;
}

.cairo-on-starknet-content {
    max-width: 57%;
    gap: 40px;
}

.cairo-on-starknet-title {
    color: var(--color_text_highlight, #FAFAFA);
    font-feature-settings: 'salt' on;
    font-size: 39px;
    font-weight: 600;
    line-height: 1.23;
}

.cairo-on-starknet-description {
    color: var(--color_text_base, #BDBDBD);
    font-size: 25px;
    line-height: 1.44;
}

/*@media (max-width: 1440px) {*/
/*    section.cairo-on-starknet-section {*/
/*        background-position-x: 62vw;*/
/*    }*/
/*}*/

/*@media (max-width: 1380px) {*/
/*    section.cairo-on-starknet-section {*/
/*        background-position-x: 64vw;*/
/*    }*/
/*}*/

/*@media (max-width: 1300px) {*/
/*    section.cairo-on-starknet-section {*/
/*        background-size: auto 88%;*/
/*    }*/
/*}*/

@media (max-width: 1280px) {
    .cairo-on-starknet-section .section-container {
        max-width: 85%;
    }

    /*.cairo-on-starknet-content {*/
    /*    max-width: 58vw;*/
    /*}*/

}

@media (max-width: 990px) {
    .cairo-on-starknet-section .section-container {
        max-width: 80%;
        padding: 0 0 340px;
    }

    section.cairo-on-starknet-section {
        background-position-y: bottom;
        /*background-position-x: 58vw;*/
        background-size: auto 320px;
    }

    .cairo-on-starknet-content {
        max-width: 100%;
    }

    .cairo-on-starknet-title {
        font-size: 31px;
        line-height: 40px;
    }

    .cairo-on-starknet-description {
        font-size: 20px;
        line-height: 28px;
    }

    .cairo-on-starknet-section .btn-big-fill {
        padding: 10px 24px;
        gap: 4px;
    }

    .cairo-on-starknet-section .cta-btn {
        font-size: 13px;
        line-height: 20px;
    }

    .cairo-on-starknet-content {
        gap: 30px;
    }

    section.page-section.cairo-on-starknet-section {
        margin-top: 100px;
    }

}

@media (max-width: 550px) {

    .cairo-on-starknet-section .section-container {
        max-width: 92%;
    }

    section.cairo-on-starknet-section {
        background-position-x: 30vw;
    }
}


/********* Contribute *******/

section.hp-contribute-section {
    background-position: left;
    margin-top: 0;
}

.hp-contribute-section .section-container {
    max-width: 1384px;
    margin: 0 auto;
    padding: 115px 0;
}

.hp-contribute-buttons-wrapper.d-flex {
    width: 100%;
    gap: 16px;
}

.hp-contribute-content  {
    border-radius: 8px;
    backdrop-filter: blur(16px);
    display: flex;
    width: 604px;
    height: 397px;
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    margin-left: auto;
    /*background: rgba(38, 37, 39, 0.75);*/
    background: linear-gradient(rgba(21, 20, 22, 0.75),rgba(21, 20, 22, 0.75)) padding-box, linear-gradient(0deg, #78788040, #FFFFFF40) border-box;
    border: 1px solid transparent;
}

.hp-contribute-description {
    color: var(--color_text_highlight, #FAFAFA);
    font-size: 31px;
    line-height: 1.29;
    margin-bottom: auto ;
}

@media (max-width: 1440px) {
    .hp-contribute-section .section-container {
        max-width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 1380px) {
    .hp-contribute-content {
        width: 43vw;
        height: 28vw;
    }

    .hp-contribute-description {
        font-size: 2.25vw;
    }
}

@media (max-width: 1300px) {
    .hp-contribute-buttons-wrapper .btn-big-fill,
    .hp-contribute-buttons-wrapper .btn-big-border {
        padding: 14px 20px;
    }
}

@media (max-width: 990px) {

    section.hp-contribute-section.page-section {
        background-repeat: no-repeat;
        background-size: auto 55vw;
        background-position: 53% top;
    }

    .hp-contribute-content {
        margin:  0 auto;
    }

    .hp-contribute-section .section-container {
        max-width: 80%;
        padding: 208px 0 0;
    }

    .hp-contribute-content {
        width: 100%;
        height: max-content;
    }

    .hp-contribute-content .box-inner-title {
        font-weight: 600;
    }

    .hp-contribute-description {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 40px;
    }

    .hp-contribute-buttons-wrapper.d-flex {
        flex-direction: column;
    }

}

@media (max-width: 550px) {

    .hp-contribute-section .section-container {
        max-width: 92%;
    }

    section.hp-contribute-section.page-section {
        background-size: auto 75vw;
    }
}



/***** Get Support *****/

.hp-support-section  .section-container {

    max-width: 1072px;
    margin: 0 auto;
    padding: 216px 0;
}

.hp-support-content {
    display: flex;
    width: 858px;
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    border-radius: 8px;
    /*border: 1px solid var(--color_white, #FFF);*/
    /*background: rgba(38, 37, 39, 0.50);*/
    backdrop-filter: blur(8px);
    margin: 0 auto;
    background: linear-gradient( #1b191b , #1b191b ) padding-box, linear-gradient(0deg, #78788040, #FFFFFF40) border-box;
    border: 1px solid transparent;
}


.hp-support-description {
    color: var(--color_text_highlight, #FAFAFA);
    font-feature-settings: 'salt' on;
    font-size: 39px;
    font-weight: 300;
    line-height: 1.23;
    margin-bottom: 64px;
}

.hp-support-buttons-wrapper.d-flex {
    width: 100%;
    gap: 16px;
}

@media (max-width: 990px) {
    .hp-support-content {
        width: 100%;
    }

    .hp-support-section .section-container {
        max-width: 80%;
        padding: 70px 0;
    }

    .hp-support-description {
        font-size: 31px;
        line-height: 40px;
    }

    .hp-support-buttons-wrapper.d-flex {
        flex-direction: column;
    }
}

@media (max-width: 550px) {
    .hp-support-section .section-container {
        max-width: 92%;
    }
}


/***** Blog Carousel *****/

.hp-blog-posts-section   .section-container {
    max-width: max-content;
    margin: 0 auto;
    padding: 80px 0;
}

article.post-block {
    margin-right: 20px;
    border-radius: 24px;
    position: relative;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(120, 120, 128, 0.25) 100%);

}

.border-hover {
    border-radius: 24px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #FF9E9D 0%, #5A5A60 100%);
    opacity: 0;
    transition: all 0.3s;
    z-index: -1;
}

article.post-block:hover {
    filter: drop-shadow(0px 0px 16px rgba(255, 158, 157, 0.32));
}
article.post-block:hover .post-block-overlay {
    opacity: 0.8;
}

article.post-block:hover .border-hover {
    opacity: 1;
}

.post-block-inner {
    max-width: 380px;
    width: 25vw;
    height: 255px;
    border-radius: 24px;
    position: relative;
}

h3.hp-blog-posts-section-title {
    font-weight: 300;
    font-size: 39px;
    line-height: 1.23;
    font-feature-settings: 'salt' on;
    color: var(--color_text_highlight, #FAFAFA);
    margin-bottom: 48px;
}

.hp-blog-posts-wrapper .slick-list.draggable {
    border-radius: 24px;
}

.post-block-inner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.post-block-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 24px;
    background: #0F0E0F;
    opacity: 0.3;
    transition: all 0.3s;
}

.post-block-title-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
}

.post-block-date {
    color: var(--color_white);
    font-size: 16px;
    line-height: 1.5;
}

h4.post-block-title,
.hp-blog-posts-cta-box h4 {
    color: var(--color_text_highlight, #FAFAFA);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.4;
    margin-top: 4px;
}

.hp-blog-posts-cta-box h4 {
    margin-top: 8px;
}

a.hp-blog-posts-cta {
    position: relative;
    padding: 1px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(120, 120, 128, 0.25) 100%);
}

a.hp-blog-posts-cta:hover {

}

.hp-blog-posts-section .border-layer {
    background-color: var(--color_grey_1000);
    border-radius: 16px;
    transition: all 0.3s;
}

.hp-blog-posts-section .background-layer {
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 197, 197, 0.2) 0%, rgba(255, 197, 197, 0) 100%);
}

.hp-blog-posts-cta-box {
    color: var(--color_text_highlight);
    width: 180px;
    height: 255px;
    position: relative;
    padding: 20px;
    justify-content: flex-end;
    background: url("/wp-content/uploads/2024/02/blog_read_more.png") no-repeat top;
    background-size: contain;
    border-radius: 16px;
    transition: all 0.3s;
}

a.hp-blog-posts-cta .background-layer-inner {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, #F5F5F6 0%, #CFCFD2 100%);
    opacity: 0;
    transition: all 0.3s;
    border-radius: 16px;
}

.hp-blog-posts-section a.hp-blog-posts-cta:hover .background-layer-inner {
    opacity: 1;
}

a.hp-blog-posts-cta .hp-blog-posts-cta-box svg,
a.hp-blog-posts-cta .hp-blog-posts-cta-box h4 {
    z-index: 10;
}

.hp-blog-posts-section a.hp-blog-posts-cta:hover .hp-blog-posts-cta-box h4 {
    color: var(--color_grey_950);
    transition: all 0.3s;
}

.hp-blog-posts-section a.hp-blog-posts-cta:hover .hp-blog-posts-cta-box svg path {
    stroke: var(--color_grey_950);
    transition: all 0.3s;
}

@media (max-width: 990px) {

    .hp-blog-posts-section .section-container {
        max-width: 92%;
        padding: 0;
    }

    .hp-blog-posts-wrapper {
        overflow: scroll;
    }

    .post-block-inner {
        max-width: 264px;
        width: 264px;
        height: 185px;
    }

    .hp-blog-posts-cta-box {
        height: 185px;
    }

    h3.hp-blog-posts-section-title {
        font-size: 25px;
        line-height: 36px;
        padding-right: 15%;
        margin-bottom: 16px;
    }

    .hp-blog-posts-section-title br {
        display: none;
    }

    h4.post-block-title, .hp-blog-posts-cta-box h4 {
        font-weight: 600;
        font-size: 16px;
        line-height: 1.5;
    }

    article.post-block {
        margin-right: 16px;
    }

    .hp-blog-posts-cta.desktop {
        display: none;
    }

    .hp-blog-posts-cta-tablet.tablet-only {
        max-width: max-content;
        margin-top: 30px;
    }

}


/***** Community ****/
.hp-community-section {
    margin-top: 38px;
}

.hp-community-section   .section-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 80px 0;
}

.hp-community-text-box {
    display: flex;
    width: 604px;
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    border-radius: 8px;
    /*border: 1px solid var(--color_white, #FFF);*/
    /*background: rgba(38, 37, 39, 0.50);*/
    backdrop-filter: blur(8px);
    margin: 0 auto;
    background: linear-gradient( #1b191b , #1b191b ) padding-box, linear-gradient(0deg, #78788040, #FFFFFF40) border-box;
    border: 1px solid transparent;
}

.hp-community-content {
    align-items: center;
    gap: 34px ;
}

p.hp-community-description {
    color: var(--color_text_highlight, #FAFAFA);
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 64px;
}

.hp-community-img-box {
    display: flex;
    width: 578px;
    height: 578px;
}

@media (max-width: 1280px) {
    .hp-community-img-box {
        width: 45vw;
        height: auto;
    }

    .hp-community-text-box {
        width: 50vw;
    }

    p.hp-community-description {
        margin-bottom: 4.5vw;
    }
}

@media (max-width: 990px) {

    .hp-community-section {
        margin-top: 10px;
    }

    .hp-community-section .section-container {
        padding: 0;
    }

    .hp-community-content {
        flex-direction: column;
        gap: 16px;
    }

    .hp-community-img-box {
        width: 50%;
        height: auto;
        margin: 0 auto;
    }

    .hp-community-text-box {
        width: 80%;
    }

    p.hp-community-description {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 64px;
    }

}

@media (max-width: 550px) {
    .hp-community-img-box {
        width: 100%;
    }

    .hp-community-text-box {
        width: 92%;
    }
}


/***** Events ****/

.hp-events-section   .section-container {
    /*max-width: max-content;*/
    margin: 0 0 0 8%;
    padding: 80px 0;
}

.hp-events-header {
    margin-bottom: 48px;
    align-items: center;
}

h3.hp-events-section-title {
    font-weight: 300;
    font-size: 39px;
    line-height: 1.23;
    font-feature-settings: 'salt' on;
    color: var(--color_text_highlight, #FAFAFA);
    margin-right: auto;
}

.hp-events-wrapper {
    gap: 20px;
}

ul.hp-events-list {
    gap: 20px;
}

article.hp-events-item {
    background: linear-gradient(rgba(21, 20, 22, 0.75),rgba(21, 20, 22, 0.75)) padding-box, linear-gradient(0deg, #78788040, #FFFFFF40) border-box;
    border: 1px solid transparent;
    border-radius: 24px;
    transition: all 0.3s;
}

article.hp-events-item:hover {
    filter: drop-shadow(0px 0px 16px rgba(255, 158, 157, 0.32));
}

article.hp-events-item .hp-events-item-inner{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 28px;
    /*gap: 24px;*/
    max-width: 448px;
    width: 27.5vw;
    height: 395px;
    background: #1C1C1C;
    border-radius: 24px;
}

.hp-events-item-inner img {
    height: 255px;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.hp-events-item-title-wrapper {
    margin-top: 24px;
}

.hp-events-item-date {
    font-size: 20px;
    line-height: 1.4;
    color: var(--color_grey_400, #BDBDBD);
}

h4.hp-events-item-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: var(--color_text_highlight, #FAFAFA);
}

.date-and-tags.d-flex {
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.hp-events-item-tags{
    gap: 12px;
}

.hp-events-item-tags span {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
    background: var(--color_grey_800, #424242);
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color_grey_400, #BDBDBD);
}

@media (max-width: 1380px) {

    article.hp-events-item .hp-events-item-inner{
        height: max-content;
    }

    .hp-events-item-inner img {
        height: 16vw;
    }

}

@media (max-width: 1200px) {

    .hp-events-item-date {
        font-size: 17px;
    }

    h4.hp-events-item-title {
        font-size: 18px;
    }

}

@media (max-width: 1100px) {

    .hp-events-item-date,
    .hp-events-item-tags span {
        font-size: 14px;
    }

}

@media (max-width: 990px) {

    .hp-events-section .section-container {
        max-width: 92%;
        padding: 100px 0;
    }

    .hp-events-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
    }

    article.hp-events-item .hp-events-item-inner {
        max-width: 256px;
        width: 256px;
    }

    .hp-events-item-inner img {
        height: 203px;
        width: 216px;
    }

    .hp-events-header {
        margin-bottom: 36px;
    }

    .hp-events-cta.desktop {
        display: none;
    }

    h3.hp-events-section-title {
        font-size: 25px;
        line-height: 36px;
    }

    .hp-events-cta.tablet-only {
        max-width: max-content;
        margin-top: 36px;
        padding: 16px 24px;
        font-size: 16px;
        line-height: 24px;
    }

    .date-and-tags.d-flex {
        gap: 8px;
        align-items: baseline;
        flex-direction: column;
    }

    .hp-events-item-date {
        font-size: 16px;
        line-height: 24px;
    }

    .hp-events-item-tags span {
        font-size: 14px;
        line-height: 20px;
    }

    .hp-events-item-tags {
        gap: 8px;
    }

    h4.hp-events-item-title {
        font-size: 16px;
        line-height: 24px;
    }

}


/***** Newsletter ****/

.hp-newsletter-section   .section-container {

    max-width: 1072px;
    margin: 0 auto;
    padding: 146px 0;
}

.hp-newsletter-content.d-flex.f-col {
    max-width: 545px;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
}

h4.hp-newsletter-title {
    font-size: 31px;
    line-height: 1.29;
    text-align: center;
    color: var(--color_text_highlight, #FAFAFA);
}

@media (max-width: 990px) {
    .hp-newsletter-section .section-container {
        max-width: 92%;
        padding: 0;
    }

    h4.hp-newsletter-title {
        font-size: 20px;
        line-height: 1.29;
    }
}

/***** FAQ ****/

.hp-faq-section .section-container {
    max-width: 1076px;
    margin: 0 auto;
    padding: 146px 0;
}

.hp-faq-inner-section {
    gap: 20px;
}

.hp-faq-title-box {
    width: 450px;
}

h2.hp-faq-section-title {
    color: var(--color_text_highlight, #FAFAFA);

    font-size: 39px;
    font-weight: 300;
    line-height: 48px;
    margin-bottom: 16px;
}

p.hp-faq-description {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 32px;
}

.hp-faq-items-wrapper {
    width: 606px;
    gap: 20px;
}

.hp-faq-content-box a,
.hp-faq-content-box a:hover,
.hp-faq-content-box a:focus {
    color: var(--text-link);
    text-decoration: underline;
}

.hp-faq-box {
    /*padding: 32px;*/
    /*cursor: pointer;*/
    /*gap: 16px;*/
    width: 100%;
    border-radius: 8px;
    border: 1px solid #78788040;
    background: var(--color_surface_bg);
}

.hp-faq-box.active {
    background: var(--color_surface_bg_active);
}

.hp-faq-title.d-flex {
    cursor: pointer;
    gap: 20px;
    padding: 32px;
}

/*.hp-faq-title span {*/
/*    font-family: var(--IBM-Mono);*/
/*    font-size: 20px;*/
/*    font-weight: 600;*/
/*    line-height: 28px;*/
/*    padding-right: 8px;*/
/*}*/

.hp-faq-title button {
    margin-left: auto;
    padding: 0;
    background: none;
    line-height: 0;
}

.hp-faq-title svg {
    transform: rotate(180deg);
    transition: .3s ease;
    opacity: 0.3;
}

.hp-faq-box.active .hp-faq-title svg {
    transform: rotate(0deg);
    opacity: 1;
}

h5.hp-faq-question {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

/*.hp-faq-box:not(.active) p.hp-faq-answer {*/
/*    display: none;*/
/*}*/

p.hp-faq-answer {
    color: var(--color_text_base);
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    text-align: left;
    /*padding: 16px 40px 0 0;*/
    padding: 0 72px 32px 32px;
}

@media (max-width: 1200px) {
    .hp-faq-section .section-container {
        max-width: 89%;
    }

    .hp-faq-items-wrapper {
        width: 52.5vw;
    }

    h5.hp-faq-question,
    p.hp-faq-answer {
        font-size: 18px;
    }
}

@media (max-width: 990px) {

    .hp-faq-inner-section {
        flex-direction: column;
        gap: 32px;
    }

    .hp-faq-section .section-container {
        max-width: 80%;
        margin: 0 auto;
        padding: 154px 0;
    }

    .hp-faq-items-wrapper {
        width: 100%;
    }

    .hp-faq-title-box {
        width: 100%;
    }

    h2.hp-faq-section-title {
        font-size: 31px;
        line-height: 40px;
        margin-bottom: 8px;
    }

    p.hp-faq-description {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 24px;
    }

    .hp-faq-box {
        padding: 16px;
    }

    h5.hp-faq-question,
    p.hp-faq-answer,
    .hp-faq-title span {
        font-size: 16px;
        line-height: 24px;
    }

}

@media (max-width: 550px) {
    .hp-faq-section .section-container {
        max-width: 92%;
    }
}


/***** Pre Footer ****/

section.hp-pre-footer-section {
    background-size: cover;
}

.hp-pre-footer-section .section-container {
    height: 50vw;
    width: 100%;
    position: relative;
}

.hp-pre-footer-img-box {
    width: 285px;
    position: absolute;
    /*right: 280px;*/
    /*top: 120px;*/
    right: 18.5%;
    top: 0;
}

.home .site-footer {
    position: relative;
    z-index: 5;
    margin-top: -172px;
}

.home .footer-widgets-container {
    background: #26252780;
}

@media (max-width: 990px) {

    section.hp-pre-footer-section {
        background-position: 0% center;
    }

    .hp-pre-footer-section .section-container {
        height: 470px;
    }

    .home .site-footer {
        margin-top: 0;
    }

    .hp-pre-footer-img-box {
        width: 180px;
        height: 47px;
        right: 12.5%;
        top: 10px;
    }
}

/* Scroll Animation */
:root {
    --scroll-line-left: 16px;
    --scroll-diff: 0;
}

.animated-scroll-line-vertical {
    position: absolute;
    top: 73px;
    left: var(--scroll-line-left);
}

.animated-scroll-line-vertical .vertical-line {
    width: 2px;
    height: 100%;
}

.animated-scroll-line-vertical .highlight-line-vertical {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    width: 10px;
    height: 60px;
    max-height: calc(100% + 45px);
    transform: translateX(-50%);
    transition: height 200ms ease-in-out;
}

.animated-scroll-horizontal-branch {
    position: absolute;
    top: -51px;
    left: var(--scroll-line-left);
    height: 63px;
}

.animated-scroll-horizontal-branch .horizontal-branch {
    width: 100%;
    height: 100%;
}

.what-is-cairo-inner-section .animated-scroll-horizontal-branch {
    width: calc(17.5% - var(--scroll-line-left) - 20px);
}

.why-is-cairo-inner-section .animated-scroll-horizontal-branch {
    width: calc(12.5% - var(--scroll-line-left) - 20px);
}

.animated-scroll-horizontal-branch .circle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 8px;
    height: 8px;
    color: #787880;
}

.animated-scroll-horizontal-branch .highlight-line-horizontal {
    position: absolute;
    bottom: -2px;
    left: 0;
    z-index: 1;
    width: 0;
    height: 10px;
    transition: width 300ms ease-in-out;
}

.animated-scroll-line-end {
    position: absolute;
    top: -36px;
    left: var(--scroll-line-left);
    width: calc(8% + 30px);
    height: 99px;
}

.animated-scroll-line-end .line-end-d {
    display: none;
}

.animated-scroll-line-end .line-end-m {
    width: 100%;
    height: 100%;
}

.animated-scroll-line-end .line-end-m-1 {
    width: calc(100% - 10px);
    height: 100%;
}

.animated-scroll-line-end .line-end-m-2 {
    width: 10px;
    height: 100%;
}

.animated-scroll-line-end .circle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 8px;
    height: 8px;
    color: #787880;
}

.animated-scroll-line-end .highlight-line-horizontal {
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 2;
    width: 0;
    max-width: calc(100% - 5px);
    height: 10px;
    transition: width 300ms ease-in-out;
}

.animated-scroll-line-end .highlight-line-vertical {
    position: absolute;
    top: 44px;
    right: -1px;
    z-index: 2;
    width: 10px;
    height: 0;
    max-height: calc(100% - 45px);
    transition: height 300ms ease-in-out;
}

@media (min-width: 991px) {
    :root {
        --scroll-line-left: 32px;
    }

    .animated-scroll-line-vertical .highlight-line-vertical {
        max-height: calc(100% + 7px);
    }

    .animated-scroll-horizontal-branch {
        top: -48px;
    }

    .what-is-cairo-inner-section .animated-scroll-horizontal-branch {
        left: calc(50% - (100vw - var(--scroll-diff)) / 2 + var(--scroll-line-left));
        width: calc(8% - var(--scroll-line-left) - 15px);
    }

    .why-is-cairo-inner-section .animated-scroll-horizontal-branch {
        left: calc(var(--scroll-line-left) - 7.5vw);
        width: calc(7.5vw - var(--scroll-line-left) - 15px);
    }

    .animated-scroll-line-end {
        top: 184px;
        width: calc((100vw - var(--scroll-diff) - 509px) / 2 - var(--scroll-line-left) + 2px);
        height: 12px;
    }

    .animated-scroll-line-end .line-end-m {
        display: none;
    }

    .animated-scroll-line-end .line-end-d {
        display: block;
    }

    .animated-scroll-line-end .circle {
        color: #515152;
    }

    .animated-scroll-line-end .highlight-line-horizontal {
        position: absolute;
        top: 3px;
        max-width: 100%;
    }
}

@media (min-width: 1281px) {
    .what-is-cairo-inner-section .animated-scroll-horizontal-branch {
        width: calc((100vw - var(--scroll-diff) - 1072px) / 2 - var(--scroll-line-left) - 15px);
    }

    .why-is-cairo-inner-section .animated-scroll-horizontal-branch {
        left: calc(50% - (100vw - var(--scroll-diff)) / 2 + var(--scroll-line-left));
        width: calc((100vw - var(--scroll-diff) - 1072px) / 2 - var(--scroll-line-left) - 15px);
    }
}

@media (min-width: 1401px) {
    :root {
        --scroll-line-left: 122px;
    }
}
