.body-blog { background-image: url(/assets/img/blog-background.jpg); background-repeat: no-repeat; background-position: center top; background-size: cover; background-attachment: fixed; }

.blog-section { padding: 30px 0 90px; }

.article-item { display: flex; flex-direction: column; position: relative; z-index: 0; background-color: #fff; color: var(--bs-dark); border-radius: 8px; margin-bottom: 30px; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05); -webkit-transition: 0.25s; transition: 0.25s; }
.article-item .post-title { position: relative; height: 48px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-item .post-photo { position: relative; z-index: 0; display: block; }
.article-item .post-photo img { display: block; width: 100%; border-radius: 3px; }
.article-item .post-photo .post-view { position: absolute; right: 5px; top: 5px; z-index: 1; display: flex; align-items: center; justify-content: center; background-color: #0a122263; padding: 2px 5px; border-radius: 5px; font-size: 12px; font-weight: 600; line-height: 1; color: #fff; text-transform: uppercase; }
.article-item .post-photo .post-view svg { width: 17px; height: 17px; fill: #fff; margin-right: 5px; }
.article-item .post-photo .post-category { position: absolute; left: 0; bottom: 0; z-index: 1; background-color: var(--bs-dark); padding: 5px; font-size: 12px; font-weight: 600; line-height: 1; color: #fff; text-transform: uppercase; }
.article-item .post-detail { padding: 15px; min-height: 121px; overflow: hidden; }
.article-item .post-detail .post-title h2 { font-size: 18px; font-weight: 700; display: inline; line-height: 1.3; margin: 0;  }
.article-item .post-detail .post-meta { display: flex; align-items: center; border-top: 1px solid #e9ecef; padding: 14px 0 0; margin-top: 10px; font-size: 12px; }
.article-item .post-detail .post-meta div:before { content: ""; margin-left: 8px; margin-right: 8px; width: 5px; height: 5px; background: var(--bs-dark); display: inline-flex; border-radius: 10px; }
.article-item .post-detail .post-meta div:first-child:before { display: none; }
.article-item .post-detail .post-meta div:last-child:before { display: none; }

.article-item2 a { position: relative; display: flex; align-items: center; background-color: #fff; color: var(--bs-dark); height: 297px; overflow: hidden; border-radius: 8px; margin-bottom: 30px; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05); -webkit-transition: 0.25s; transition: 0.25s; }
.article-item2 a>img { width: 100%; height: 100%; object-fit: cover; }
.article-item2 a> span { position: absolute; left: 260px; top: 95px; font-size: 26px; font-weight: 600; line-height: 1.3; width: 330px; color: var(--bs-dark); }

@media only screen and (max-width: 767px){
    .article-item2 a>span { left: 20px; width: 140px; top: 20px; }
}

.blog-projects { padding: 0 0 40px; }
.blog-projects .bp-main { position: relative; z-index: 0; background-color: var(--bs-dark); min-height: 370px; padding: 40px 60px; border-radius: 20px; }
.blog-projects .bp-main .btn-all { position: absolute; z-index: 1; right: 60px; top: 50px; color: #fff; }
.blog-projects .bp-main .heading { margin-bottom: 20px; }
.blog-projects .bp-main .heading .h-title { color: #fff; }
.blog-projects .bp-main .heading .h-desc { color: #fff; opacity: .6; }
.blog-projects .bp-main .bp-item { position: relative; z-index: 0; display: flex; align-items: center; overflow: hidden; border-radius: 10px; color: #fff; }
.blog-projects .bp-main .bp-item:after { content: ""; position: absolute; width: 100%; height: 70%; left: 0; bottom: 0; background: rgba(0,0,0,.25); background: -webkit-gradient(linear, left bottom, left top, from(#1a1a1a), to(rgba(0, 0, 0, 0))); background: -webkit-linear-gradient(bottom, #1a1a1a 0%, rgba(0, 0, 0, 0) 100%); background: -moz-linear-gradient(bottom, #1a1a1a 0%, rgba(0, 0, 0, 0) 100%); background: -o-linear-gradient(bottom, #1a1a1a 0%, rgba(0, 0, 0, 0) 100%); background: linear-gradient(0deg, #1a1a1a 0%, rgba(0, 0, 0, 0) 100%); }
.blog-projects .bp-main .bp-item img { width: 100%; }
.blog-projects .bp-main .bp-item span { position: absolute; bottom: 0; z-index: 1; width: 100%; font-size: 14px; font-weight: 600; line-height: 1.2; padding: 10px; }



.section-article { padding: 40px 0 60px; }

.single-post-title { margin-bottom: 20px; }
.single-post-title h1 { font-size: 42px; letter-spacing: -.25px; color: var(--bs-dark); font-weight: 700; line-height: 1.25; }
.single-post-breadcrumb { padding: 10px 0; border-bottom: 1px solid #e3e6ed; border-top: 1px solid #e3e6ed; }
.main-breadcrumb { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; font-size: 13px; }
.main-breadcrumb li { padding: 0; }
.main-breadcrumb li + li { padding-left: 10px; }
.main-breadcrumb li:after { display: none; }
.main-breadcrumb li:before { margin-top: 0; border: 0; }
.main-breadcrumb li + li:before { color: var(--bs-primary); content: "\2B24"; font-size: 6px; position: relative; top: -2px; display: inline-block; padding-right: 12px;}
.main-breadcrumb li a { color: var(--bs-primary); }

.share { display: flex; align-items: center; justify-content: center; flex-direction: column; }
.share a { display: flex; align-items: center; justify-content: center; flex-direction: column; width: 40px; height: 40px; border-radius: 5px; margin: 4px 0; }
.share a svg { width: 22px; height: 22px; fill: #7a8084; -webkit-transition: .3s ease fill; -o-transition: .3s ease fill; -moz-transition: .3s ease fill; transition: .3s ease fill; }
.share a span { font-size: 11px; display: none; }

.single-post-image { margin-top: 24px; margin-bottom: 46px; }
.single-post-image img { aspect-ratio: 16 / 9; width: 100%; display: block; object-fit: cover; border-radius: 4px; }
.single-post-content { margin: 0 0 46px; }
.single-post-content > * { color: #525659; font-size: 19px; font-weight: 400; font-stretch: normal; font-style: normal; line-height: 1.5; letter-spacing: normal; }
.single-post-content p { margin-bottom: 30px; }
.single-post-content h2 { font-size: 26px; font-weight: 600; line-height: 1.5; margin: 0 0 5px; color: var(--bs-dark); }
.single-post-content h3 { font-size: 22px; font-weight: 600; line-height: 1.5; margin: 0 0 5px; color: var(--bs-dark); }
.single-post-content p { font-size: 19px; margin: 0 0 15px; line-height: 1.5; color: var(--bs-dark-gray); }
.single-post-content strong { font-weight: 700; }
.single-post-content a { font-weight: 700; color: var(--bs-primary) }
.single-post-content ul { list-style: square; padding-left: 30px; margin: 15px 0; font-size: 19px; }
.single-post-content ul li { padding: 5px 0; }
.single-post-content iframe { max-width: 100%; max-height: 600px; border: 0; border-radius: 15px; }
.single-post-content img { max-width: 100%; }

.section-related { padding: 0 0 60px;  }
.section-related .container { position: relative; z-index: 1; padding-top: 40px;  }
.section-related .post-general-title { color: #fff; font-size: 42px; line-height: 1.25; margin: 0 0 20px 0; letter-spacing: -1px; }
.section-related .bg-angled-edge { color: #fff; position: relative; z-index: 1; margin: 0; padding: 30px 15px 125px 15px; }
.section-related .bg-angled-edge:after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 100px; background-repeat: no-repeat; background-size: 100% 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon fill='%23f2f2f3' points='0,100 100,0 100,100'/%3E%3C/svg%3E"); }
.section-related .black-g-head { height: 240px; position: absolute; left: 0; right: 0; z-index: 0; background-image: linear-gradient(to bottom,var(--bs-dark), #363738); }

.related-post { position: relative; z-index: 1; padding:0; border-radius: 8px; background-color: #fff; box-shadow: 0 4px 8px -2px rgba(0,0,0,.08); }
.related-post .post-photo { display: block; }
.related-post .post-photo a { display: block; overflow: hidden; width: 100%; padding-top: 56%; position: relative; }
.related-post .post-photo .post-image { aspect-ratio: 16 / 9; border-radius: 3px; width: 100%; display: block; position: absolute; top: 0; right: 0; }
.related-post .post-detail { padding: 16px 24px; }
.related-post .post-detail .post-category { position: relative; }
.related-post .post-detail .post-category a { font-size: 12px; color: #7a8085; font-weight: 600; line-height: 1.64; text-transform: uppercase; }
.related-post .post-detail .post-title { margin-top: 5px; min-height: 110px; }
.related-post .post-detail .post-title a { color: var(--bs-dark); }
.related-post .post-detail .post-title a h2 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: normal; margin: 0; display: inline; }
.related-post .post-detail .post-meta { margin: 0; padding: 0; position: absolute; bottom: 13px; left: 24px; right: 0; }
.related-post .post-detail .post-meta .post-author { font-weight: 400; font-size: 14px; color: #7a8085; line-height: 1.71; display: inline-block; }
.related-post .post-detail .post-meta .post-date { position: relative; padding-left: 14px; margin-left: 8px; font-size: 14px; color: var(--bs-gray); }
.related-post .post-detail .post-meta .post-date:before { content: ''; position: absolute; background: var(--bs-gray); display: block; width: 6px; height: 6px; border-radius: 50%; left: 0; top: 6px; }

.single-post-avatar { margin-top: 30px; background-color: #fff; padding: 20px; border-radius: 6px; border: 1px solid #eaeaea; }
.single-post-avatar .u-info { display: flex; align-items: center; justify-content: flex-start; padding-bottom: 15px; border-bottom: 1px solid #eaeaea; }
.single-post-avatar .u-info .u-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 76px; width: 76px; height: 76px; overflow: hidden; border-radius: 6px; }
.single-post-avatar .u-info .u-avatar img { width: 100%; }
.single-post-avatar .u-info .u-name { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding-left: 10px; }
.single-post-avatar .u-info .u-name h3 { font-size: 18px; line-height: 1; margin: 0 0 5px; }
.single-post-avatar .u-info .u-name span { font-size: 12px; opacity: .6; }
.single-post-avatar .u-about { font-size: 15px; opacity: .6; padding-top: 10px; }
.single-post-avatar .u-about p { margin: 0 0 10px; }
.single-post-avatar .u-about p b { font-size: 16px; }
.single-post-avatar .u-about p:last-child { margin-bottom: 0; }
.single-post-avatar .u-social { display: flex; align-items: center; justify-content: flex-start; margin-top: 5px; }
.single-post-avatar .u-social a { width: 20px; height: 20px; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-right: 5px;}
.single-post-avatar .u-social a svg { width: 12px; height: 12px; fill:#ffffff; }

.mini-call-form { background-color: #fff; border-radius: 6px; padding: 20px; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05); -webkit-transition: 0.25s; transition: 0.25s; }
.mini-call-form .form-group { margin-bottom: 10px; }
.mini-call-form .form-group label { display: inline-flex; font-size: 14px; margin-bottom: 2px; }

/* region Pagination */
.pagination-section { padding-top: 40px; }
.pagination { display: flex; align-items: center; justify-content: center; }
.pagination .page-link { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 15px; color: #0a0b0d; background-color: #fff; font-weight: 600; width: 38px; height: 38px; border: 1px solid #dee2e6; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
.pagination .page-item:first-child .page-link { border-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem; }
.pagination .page-item:last-child .page-link { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }
.pagination .page-item:not(:first-child) .page-link { margin-left: calc(1px * -1); }
.pagination .page-item.active .page-link { background-color: var(--bs-primary); color: #fff; pointer-events: none; }
.pagination .page-item.disabled .page-link { background-color: #e9ecef; color: #212529bf; pointer-events: none; }
.pagination .page-item.prev .page-link,
.pagination .page-item.next .page-link { width: auto; padding: 0 10px; }
.pagination .page-item.prev .page-link span { line-height: 1; margin-right: 4px; }
.pagination .page-item.next .page-link span { line-height: 1; margin-left: 4px; }
.pagination-count { display: flex; align-items: center; justify-content: center; padding-bottom: 20px; }
/* endregion */

@media only screen and (max-width: 767px){
    .pagination-section { overflow-y: scroll; }

    .blog-projects .bp-main { padding: 30px 20px; }
    .blog-projects .bp-main .btn-all { top: 20px; height: 42px; right: 30px; }
    .blog-projects .bp-main .bp-item { margin: 15px 0; }
    .blog-projects .bp-main .bp-item img { height: auto; }

    .article-item { margin-bottom: 15px; }
    .article-item2 a { margin-bottom: 15px; }
    .article-item .post-photo img { height: auto; }

    .single-post-title h1 { font-size: 22px; }
    .single-post-image { margin: 15px 0 10px; }
    .share { flex-direction: row; margin-bottom: 10px; }
    .single-post-content { zoom: 90%; overflow: hidden; }
    .other-project { padding-bottom: 40px; padding-top: 0; overflow: hidden; }
}