body {
    background: var(--teflie-background-warm) !important;
    color: var(--teflie-text-primary);
}

#primary {
    margin: 3rem 0 !important;
}

.ast-container {
    max-width: 1300px !important;
    margin: auto !important;
}

/* .btn-primary-blue {
    background: var(--teflie-background-light-blue);
    color: var(--teflie-white);
    box-shadow: 0 0 0 1px inset var(--teflie-background-light-blue);
}

.btn-primary-blue:hover {
    background: var(--color-red);
    color: var(--teflie-white);
    box-shadow: 0 0 0 1px inset var(--color-primary-red);
} */

.main__banner__heading {
    font-size: 1.775rem;
    font-weight: 450;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--teflie-text-primary-dark);
    font-size: 40px;
}

.main__banner__heading_image {
    height: 25rem;
    background-position: bottom center;
    border-radius: 0 0 25px 25px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    padding: 10px 40px;
}

.main__banner__heading_image p {
    color: #fff;
    font-size: 1.775rem;
    max-width: 50%;
}

/*tefl experience*/

.tefl-experience-container:nth-of-type(even) {
    display: flex;
}

.tefl-experience-container:nth-of-type(even) .tefl-exp-img-col-left {
    padding-right: 20px;

}

/* .tefl-experience-container:nth-of-type(even){
    display: flex;
} */
.tefl-experience-outer {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.tefl-experience-container.even {
    flex-direction: row-reverse;
}

.tefl-experience-container.even .tefl-experience-title {
    text-align: right;
}

/* .tefl-experience-container .tefl-exp-img-col-left img,
.tefl-experience-container .tefl-exp-img-col-right img {
    max-height: 450px;
} */

.tefl-experience-container.even .tefl-exp-img-col-left img {
    border-radius: 0 25px 25px 0;
}

.tefl-experience-container:last-child {
    margin-bottom: 0;
}

.tefl-exp-img-col-left {
    display: block;
}

.tefl-exp-img-col-left img {
    border-radius: 25px 0 0 25px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.tefl-exp-img-col-right img {
    border-radius: 0 25px 25px 0;
    height: 100%;
}

.tefl-exp-img-col-right {
    display: block;
    overflow: hidden;
    border-radius: 25px;
}

.tefl-exp-desc-col-right {
    display: flex;
    align-items: center;
}

.tefl-experience a {
    color: #3d7c9a;
}

.tefl-experience-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--teflie-text-primary-dark);
}

.tefl-experience-title img {
    max-width: 30px;
}

.tefl-experience {
    font-size: 1.063rem;
    font-weight: 400;
    opacity: 0.9;
    position: relative;
    color: var(--teflie-text-primary);
}

.tefl-experience p {
    line-height: 140%;
}

.tefl-exp-desc-col-left .tefl-experience-title {
    text-align: right;
    background-color: #edeff0;
    padding-bottom: 46px;
    padding-right: 42px;
}

section.tefl-experience-section {
    padding: 30px 0;
}

section.tefl-experience-section .section-heading {
    text-align: center;
    margin-bottom: 50px;
    color: var(--teflie-text-primary-dark);
    font-size: 40px;
    font-weight: 450;
}

/* .tefl-experience-container:nth-of-type(even) .tefl-experience {
    text-align: right;
} */

@media(max-width: 768px) {
    .tefl-experience-title {
        font-size: 1.35rem;
    }
}

@media(max-width: 767px) {
    .page-template-tefl-funding .ast-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .main__banner__heading,
    section.tefl-experience-section .section-heading {
        font-size: 24px;
    }

    section.tefl-experience-section {
        padding: 0;
    }

    .main__banner__heading_image p {
        max-width: 100%;
        font-size: 1.65rem;
    }

    .tefl-exp-img-col-left {
        padding-right: 10px !important;
        height: 100%;
    }

    .tefl-exp-img-col-left img {
        height: 200px;
        object-fit: cover;
    }

    .tefl-experience-container:nth-of-type(even) {
        flex-direction: row;
    }

    .tefl-experience {
        padding: 7px 0 0 0;
        font-size: 0.85rem;
        text-align: left !important;
    }

    .tefl-experience-container {
        /* margin-bottom: 5rem; */
        display: flex;
        align-items: center;
    }

    .tefl-exp-img-col-left img {
        border-radius: 25px;
    }

    .tefl-exp-desc-col-right .tefl-experience-title {
        padding: 0 !important;
        margin: 26px 0 10px !important;
        text-align: left !important;
    }

    .tefl-exp-img-col-left img {
        border-radius: 25px !important;
        height: auto;
    }

    .tefl-experience-title {
        padding: 0;
    }
}

.tefl-experience-outer .btn {
    text-transform: capitalize;
    font-weight: 500;
}


.document-download-cta {
    display: flex;
    flex-direction: column;
}

body.page-id-131240 .document-download-cta {
    display: none;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 3rem;
}

@media screen and (min-width:1200px) {
    .document-download-cta {
        max-width: 50%;
        margin: 0 auto 1rem;
    }
}

.document-download-cta h2 {
    color: var(--teflie-text-primary-dark);
    font-size: 13px;
    text-align: center;
    background: var(--teflie-background-light-blue);
    padding: 16px 0;
    border-radius: 50px;
    margin-bottom: .7em;
    font-weight: 700;
}

.cta-btn-row {
    display: flex;
    gap: 10px;
}

.cta-btn-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    color: var(--teflie-text-primary-dark);
    background: var(--teflie-background-light-blue);
    border-radius: 10px;
    padding: 10px;
    gap: 10px;
    justify-content: space-between;
    font-weight: 600;
}

.cta-btn-card .btn,
.document-download-cta>.btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 5px;
    justify-content: center;
    border-radius: 1.5625rem;
}

.document-download-cta>.btn {
    padding: 8px 5px;
    margin-bottom: 10px;
}

.cta-btn-card .btn img,
.document-download-cta>.btn img {
    width: 16px;
}