@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

.single_blog_section {
    margin: 80px 0;
}

.single_blog_section .container {
    max-width: 1094px;
    margin: 0 auto;
    padding: 0 15px;
}

.single_blog_header h1 {
    font-family: "Open Sans", Sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: normal;
    color: #1E4566;
    margin: 0;
}

.single_blog_header .entry-meta {
    margin-top: 40px;
}

.single_blog_header .entry-meta span {
    font-family: "Open Sans", Sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: rgba(30, 69, 102, 0.80);
}

.single_blog_header .entry-meta span.entry-category {
    color: #1E4566;
}

.single_blog_header .entry-featured-image img {
    display: block;
    width: 100%;
    height: 572px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    margin-top: 24px;
    margin-bottom: 40px;
}

.single_blog_content p {
    font-family: "Open Sans", Sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: rgba(30, 69, 102, 0.80);
    margin: 10px 0 !important;
}

.single_blog_content p a,
.single_blog_content a {
    font-family: "Open Sans", Sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    color: rgba(30, 69, 102);
    text-decoration: none;
    word-wrap: break-word;
}

.single_blog_content p a:hover,
.single_blog_content a:hover {
    text-decoration: underline;
}

.single_blog_content .img-wrapper-custom a img,
.single_blog_content img {
    display: block;
    border-radius: 20px;
    max-width: 50%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    margin: 20px auto;
}

.single_blog_content .wp-video {
    width: 100% !important;
    margin: 20px 0;
}

.single_blog_content .mejs-container,
.single_blog_content video {
    height: 500px !important;
}

.related_post_section {
    background: #F4F4F4;
    padding: 80px 0;
}

.related_post_section .container {
    max-width: 1094px;
    margin: 0 auto;
    padding: 0 15px;
}

.related_post_header h2 {
    font-family: "Open Sans", Sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: normal;
    color: #1E4566;
    margin: 0;
    text-transform: capitalize;
}

.related_post_bottom_part {
    margin-top: 30px;
}

.related_post_wrapper {
    margin: 0 -12px;
}

.related_post_row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: -24px;
}

.related_post_column {
    width: 33.33%;
    padding: 0 12px;
    margin-bottom: 24px;
}

.related_post_box {
    background: #FFF;
    border-radius: 10px 10px 15px 15px;
    overflow: hidden;
    height: 100%;
}

.related_post_thumb a {
    display: block;
    position: relative;
    padding-bottom: 79.735%;
}

.related_post_thumb a img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.related_post_content {
    padding: 20px;
}

.related_post_date {
    margin-bottom: 15px;
}

.related_post_date span {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #1E4566;
    background: rgba(30, 69, 102, 0.20);
    border-radius: 4px;
    padding: 5px 8px;
}

.related_post_title {
    margin-bottom: 16px;
}

.related_post_title h3 {
    margin: 0;
}

.related_post_title h3 a {
    display: block;
    font-family: "Open Sans", Sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    color: #1E4566;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related_post_title h3 a:hover {
    text-decoration: underline;
}

.related_post_excerpt p {
    font-family: "Open Sans", Sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: rgba(30, 69, 102, 0.80);
    margin-bottom: 15px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related_post_readmore a {
    display: inline-block;
    font-family: "Open Sans", Sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    color: #1E4566;
}

.related_post_readmore a:hover {
    text-decoration: underline;
}

.single_blog_content p.img-wrapper-custom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
}

.single_blog_content p.img-wrapper-custom a img {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
}

@media (max-width: 1199px) {
    .single_blog_section {
        margin: 60px 0;
    }

    .single_blog_header h1 {
        font-size: 36px;
    }

    .single_blog_header .entry-meta {
        margin-top: 30px;
    }

    .single_blog_header .entry-meta span {
        line-height: 24px;
    }

    .single_blog_content p {
        line-height: 26px;
    }

    .single_blog_content p a,
    .single_blog_content a {
        line-height: 26px;
    }

    .single_blog_content .img-wrapper-custom a img,
    .single_blog_content img {
        height: 300px;
    }

    .single_blog_header .entry-featured-image img {
        height: 520px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .single_blog_content .mejs-container,
    .single_blog_content video {
        height: 450px !important;
    }

    .related_post_section {
        padding: 60px 0;
    }

    .related_post_header h2 {
        font-size: 26px;
    }

    .related_post_bottom_part {
        margin-top: 25px;
    }

    .related_post_wrapper {
        margin: 0px -10px;
    }

    .related_post_row {
        margin-bottom: -20px;
    }

    .related_post_column {
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .related_post_content {
        padding: 18px;
    }

    .related_post_title {
        margin-bottom: 12px;
    }

    .related_post_excerpt p {
        line-height: 26px;
        margin-bottom: 12px !important;
    }

}

@media (max-width: 991px) {
    .single_blog_section {
        margin: 50px 0;
    }

    .single_blog_header h1 {
        font-size: 32px;
    }

    .single_blog_header .entry-meta {
        margin-top: 20px;
    }

    .single_blog_content p {
        line-height: 24px;
    }

    .single_blog_content p a,
    .single_blog_content a {
        line-height: 24px;
    }

    .single_blog_content .img-wrapper-custom a img,
    .single_blog_content img {
        height: 260px;
        margin: 15px auto;
    }

    .single_blog_header .entry-featured-image img {
        height: 420px;
        margin-top: 15px;
        margin-bottom: 25px;
    }

    .single_blog_content .mejs-container,
    .single_blog_content video {
        height: 400px !important;
    }

    .related_post_section {
        padding: 50px 0;
    }

    .related_post_header h2 {
        font-size: 24px;
    }

    .related_post_bottom_part {
        margin-top: 20px;
    }

    .related_post_wrapper {
        margin: 0px -5px;
    }

    .related_post_row {
        margin-bottom: -10px;
    }

    .related_post_column {
        padding: 0 5px;
        margin-bottom: 10px;
    }

    .related_post_content {
        padding: 15px;
    }

    .related_post_title h3 a {
        font-size: 16px;
    }

    .related_post_excerpt p {
        line-height: 24px;
    }

    .single_blog_content p.img-wrapper-custom {
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .single_blog_section {
        margin: 40px 0;
    }

    .single_blog_header h1 {
        font-size: 28px;
    }

    .single_blog_header .entry-meta {
        margin-top: 10px;
    }

    .single_blog_content .img-wrapper-custom a img,
    .single_blog_content img {
        max-width: 100%;
        height: auto;
    }

    .single_blog_header .entry-featured-image img {
        height: auto;
        margin-bottom: 15px;
    }

    .single_blog_content .mejs-container,
    .single_blog_content video {
        height: 350px !important;
    }

    .related_post_section {
        padding: 40px 0;
    }

    .related_post_header h2 {
        font-size: 22px;
    }

    .related_post_wrapper {
        margin: 0;
    }

    .related_post_row {
        margin: 0;
    }

    .related_post_column {
        width: 100%;
        margin: 0;
        padding: 0;
        margin-bottom: 20px;
    }

    .related_post_column:last-child {
        margin-bottom: 0;
    }

    .related_post_title h3 a {
        -webkit-line-clamp: initial;
    }

    .related_post_excerpt p {
        -webkit-line-clamp: 3;
    }

    .single_blog_content p.img-wrapper-custom {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}