.custom-blog-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-post {
    display: flex;
    align-items: center;
    gap: 63.4px;
    justify-content: center;
}

.image-right .image-content {
    order: 2;
}

.image-left .text-content {
    order: 2;
}

.image-content img {
    max-width: 615.6px;
    border-radius: 10px;
    height: 653px;
    object-fit: cover;
}

.text-content {
    max-width: 615.5px;
}

.text-content h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 68px;
}

.text-content h2 a{
    font-family: 'Libre Franklin';
    color: #01161B !important;
}

.text-content h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 68px;
}

.text-content p {
    font-size: 18px;
    line-height: 26px;
    max-width: 545px;
    font-family: 'Oxygen';
    line-height: 26px;
    margin-bottom: 58px;
}

.text-content a.btn-primary {
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 22px 30px;
    background-color: #0F9CB9;
    border-radius: 50px;
    text-transform: uppercase;
    font-family: 'Hind Madurai';
    font-weight: 700;
    color: #fff;
    line-height: 22.08px;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 10px 15px;
    color: #01161B;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #DFE3E8;
}

.pagination .current {
    color: #0F9CB9;
    border: 1px solid #0F9CB9;
    font-size: 20px;
    line-height: 20px;
    padding: 10px 15px;
    border-radius: 4px;
}

@media only screen and (max-width: 768px) {
    .custom-blog-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .blog-post {
        display: flex;
        align-items: center;
        gap: 14.95px;
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        order: 3;
        max-width: 376.8px;
    }

    .text-content h2 {
        font-size: 20px;
        font-weight: 700;
        line-height: 22px;
        margin-bottom: 0;
        margin-top: 0;
    }

    .text-content p {
        font-size: 14px;
        line-height: 26px;
        max-width: 545px;
        font-family: 'Oxygen';
        line-height: 26px;
        margin-bottom: 10px;
    }

    .text-content a.btn-primary {
        font-size: 14px;
        letter-spacing: 0.5px;
        display: inline-block;
        padding: 15px 20px;
        background-color: #0F9CB9;
        border-radius: 50px;
        text-transform: uppercase;
        font-family: 'Hind Madurai';
        font-weight: 700;
        color: #fff;
        line-height: 16.08px;
    }

    .image-content img {
        max-width: 376.8px;
        border-radius: 10px;
        height: 161.19px;
        object-fit: cover;
    }
}

@media (min-width: 769px) and (max-width: 991px) and (orientation: portrait) {
    .text-content h2 {
        font-size: 36.64px;
        margin-bottom: 21px;
        line-height: 37.55px;
    }

    .text-content h2 a {
        font-size: 36.64px;
        line-height: 37.55px;
        letter-spacing: -0.55px;
        margin-bottom: 21px;
    }

    .image-content img {
        max-width: 334.58px;
        height: 354.91px;
    }

    .text-content a.btn-primary {
        font-size: 12px;
        letter-spacing: 0.54px;
        padding: 13px 17px;
        line-height: 16.56px;
    }

    .text-content p {
        font-size: 12px; 
        max-width: 333px;
        line-height: 26px;
        margin-bottom: 21px;
    }
}
