.blog-banner { padding: 240px 0 60px; }

.blog-banner .list-wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px 64px; }
.blog-banner .title-part { margin-bottom: 70px; }

.blog-banner .list-wrap input: not([type=radio]): not([type=checkbox]): not([type=submit]): not([type=button]): not([type=image]): not([type=file]) { border: 2px solid #0B0F2B; width: 277px; padding: 12px 15px; line-height: 20px; }
.blog-banner .topics > label { font-size: 16px; line-height: 150%; font-weight: 700; background: var(--secondary_color); display: inline-block; width: 187px; padding: 12px 35px 12px 15px; position: relative; cursor: pointer; }
.blog-banner .topics > label:after { content: ''; width: 15px; height: 15px; position: absolute; top: 17px; right: 20px; background: url(https://46780495.fs1.hubspotusercontent-na1.net/hubfs/46780495/raw_assets/public/the-diabetes-link/images/CaretDown.svg) no-repeat center center / 15px; }
.blog-banner .topics { position: relative; }
.blog-banner .topics .wrap { position: absolute; top: 100%; left: 0; width: 100%; text-align: left; background: var(--tertiary_color); padding: 5px 0; display: none; }
.blog-banner .topics .wrap a { padding: 7px 15px; width: 100%; display: inline-block; }

.blog-banner .search { width: 277px; }
.blog-banner .search input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) { border: 2px solid var(--body_color); padding: 12px 15px; font-size: 16px; line-height: 20px; width: 100%; font-weight: 700; }

.blog-listing { padding: 0 0 90px; } 
.blog-listing .list-wrapper { display: flex; flex-wrap: wrap; gap: 30px; }
.blog-listing .list-wrapper .items { width: calc(33.33% - 20px); border: solid 2px #0B0F2B; border-radius: 0 0 15px 15px; display: flex; flex-flow: column; }
.blog-listing .list-wrapper .items .image_field { height: 140px; border-bottom: solid 2px #0B0F2B; }
.blog-listing .list-wrapper .items .image_field img { width: 100%; height: 100%; object-fit: cover; }
.blog-listing .list-wrapper .items .in { display: flex; flex-flow: column; flex-grow: 1; border-top: solid 2px #0B0F2B; }
.blog-listing .list-wrapper .items .title { background: var(--tertiary_color); /*border-bottom: solid 2px #0B0F2B;*/ }
.blog-listing .list-wrapper .items .title a { font-size: 20px; line-height: 140%; min-height: 78px; display: flex; align-items: center; padding: 10px 25px; margin: 0; color: var(--primary_color); font-weight: 700; }
.blog-listing .list-wrapper .items .text { padding: 22px 25px 20px 25px; flex-grow: 1; display: flex; flex-flow: column; }
.blog-listing .list-wrapper .items .text .inside { flex-grow: 1; }
.blog-listing .list-wrapper .items .tags { margin-bottom: 6px; }
.blog-listing .list-wrapper .items .tags a { font-size: 14px; line-height: 150%; text-transform: uppercase; letter-spacing: 0.8px; color: #3B2E2A; }
.blog-listing .list-wrapper .items .tags a:hover { color: var(--primary_color); }
.blog-listing .list-wrapper .items .text .link_text { padding: 30px 0 0; }
.blog-listing .list-wrapper .items .text .link_text a { color:var(--body_color); }
.blog-listing .list-wrapper .items .text .link_text a:hover { color: var(--primary_color); }
.blog-listing .list-wrapper .items .text .link_text svg { vertical-align: top; margin: 10px 0 0 10px; transition: 0.4s; }
.blog-listing .list-wrapper .items .text .link_text a:hover svg { margin: 10px 0 0 30px; }
.blog-listing .list-wrapper .items .text .link_text a:hover svg path { fill: var(--primary_color); }

.pagination-page { margin-top: 60px; display: flex; justify-content: center; gap: 14px; }
.pagination-page a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--secondary_color); color: var(--body_color); }
.pagination-page a:hover { background-color: color-mix(in srgb, var(--green_color) 95%, black 5%); }
.pagination-page a.blog-pagination__next-link { transform: scaleX(-1); }

.post-banner { padding: 220px 0 130px; }
.post-banner .wrap { display: flex; flex-wrap: wrap; gap: 30px 50px; }
.post-banner .left h1 { color: var(--primary_color); }
.post-banner .left h1 span { padding: 0; font-family: var(--font-title); background: transparent; }
.post-banner .wrap > div { width: calc(50% - 25px); }
.post-banner .wrap > div.nofeatured{width:auto;flex:1;text-align:center;}

.post-banner .left .tag { margin-bottom: 20px; color: var(--pink_color); display: flex; align-items: center; gap: 10px; }
.post-banner .left .tag a { color: var(--pink_color); }

.post-banner .left .author { margin-top: 20px; font-size: 16px; }
.post-banner .left .author a { color: var(--pink_color); text-decoration: underline; }
.post-banner .left .author a:hover { text-decoration: none; }

.content-postbody .wrap { margin: 0 auto; max-width: 892px; width: 100%; }
.content-postbody .wrap blockquote { margin: 30px 0; padding: 0 0 0 30px; font-size: 32px; line-height: 150%; font-weight: 700; font-family: var(--heading_font); text-transform: uppercase; border-left: 5px solid #FF5A1F; }
.content-postbody .wrap a { color: var(--pink_color); text-decoration: underline; }
.content-postbody .wrap a:hover { text-decoration: none; }
.content-postbody .wrap h2 , .content-postbody .wrap h3 , .content-postbody .wrap h4 , .content-postbody .wrap h5 , .content-postbody .wrap h6 { color: var(--body_color); }
.content-postbody .wrap h3, .content-postbody .wrap h4, .content-postbody .wrap h5, .content-postbody .wrap h6 { margin-top: 30px; }

.blog-listing.related-posts { padding: 100px 0; }
.related-posts .title-part { margin-bottom: 80px; }

@media(max-width: 1199px) {

    .post-banner .left h1 { font-size: 52px; }

}


@media(max-width: 991px) {
    
    .blog-banner { padding: 200px 0 50px; }
    .blog-banner .title-part { margin-bottom: 50px; }

    .blog-banner .list-wrap { gap: 20px 30px; }
    .blog-listing .list-wrapper .items { width: calc(50% - 15px); }
    
    .post-banner { padding: 200px 0 80px; }
    .post-banner .wrap > div { width: 100%; }
    
    .related-posts .title-part { margin-bottom: 50px; }
    .content-postbody .wrap blockquote { font-size: 28px; }

}

@media(max-width: 767px) {
    
    .blog-banner { padding: 140px 0 50px; }
    .blog-listing .list-wrapper .items { width: 100%; }
    
    .post-banner { padding: 130px 0 60px; }
    .post-banner .left h1 { font-size: 40px; }
    .content-postbody .wrap h2 { font-size: 34px; }
    .content-postbody .wrap h3 { font-size: 30px; }
    .content-postbody .wrap blockquote { font-size: 20px; padding-left: 20px; }
    .content-postbody .wrap h4 { font-size: 26px; }
    .blog-listing.related-posts { padding: 60px 0; }
    .related-posts .title-part { margin-bottom: 40px; }

}