/*
Theme Name: Logistics group
Theme URI: https://wordpress.com/
Author: Logistics group
Author URI: https://wordpress.com/
Description: Тема на основі власної верстки
Version: 2.0
*/
@media screen and (max-width: 600px) {.header .button:before {background: url(/wp-content/themes/logisticsgroup/assets/img/tg.svg) center center no-repeat !important;width: 24px !important;height: 24px !important;}}

/* call btns */
.price__buttons{display:flex;flex-direction:row !important;gap:10px;flex-wrap:wrap;align-items:center}
.button--phone{display:inline-flex !important;align-items:center;gap:8px;transition:background-color .2s ease}
.button--phone:hover{background-color:#444}
.button--phone svg{flex-shrink:0}
.phone-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;background-color:#3f4845;border-radius:50%}

/* menu add Blog */
.menu{gap:22px!important}
.menu a{font-size:13px!important}

/* BLOG */
.entry-header{margin:30px 0}
.entry-title{font-size:46px;font-family:"HelB";text-align:center}
.entry-content.container{margin-bottom:60px}
/* Categories Filter */
.blog-categories{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:40px}
.category-filter{padding:12px 30px;background:#F3F7F9;color:#3F4845;text-decoration:none;border-radius:10px;font-weight:600;font-size:14px;text-transform:uppercase;white-space:nowrap;transition:all .4s ease}
.category-filter.active,.category-filter:hover{background:#F1C743}
.category-clear{padding:12px 20px;background:0 0;color:#999;text-decoration:none;font-size:14px}
/* Blog Grid */
.blog-items{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0;margin:0 0 40px 0}
.blog-item{flex:0 0 calc(25% - 15px);max-height:263px;border-radius:8px;overflow:hidden}
.blog-item-link{display:block;position:relative;height:263px;text-decoration:none;overflow:hidden}
.blog-item-image{width:100%;height:100%;position:relative}
.blog-item-image::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);transition:background .4s ease}
.blog-item:hover .blog-item-image::after{background:rgba(0,0,0,.7)}
.blog-item-image img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .5s ease}
.blog-item:hover .blog-item-image img{transform:scale(1.1)}
.blog-item-content{position:absolute;bottom:20px;left:20px;right:20px;z-index:1;text-align:center;transition:all .4s ease}
.blog-item:hover .blog-item-content{bottom:50%;transform:translateY(50%)}
.blog-item-content h4{color:#fff;font-size:16px;font-weight:700;line-height:1.4;margin:0;text-transform:uppercase;transition:color .4s ease}
.blog-item:hover .blog-item-content h4{color:#F1C743}
/* Pagination */
.pagenavi{display:flex;justify-content:center;gap:10px}
.pagenavi a,.pagenavi span{padding:10px 15px;background:#f5f5f5;color:#333;text-decoration:none;border-radius:5px}
.pagenavi .current{background:#F1C743;color:#000}

/* SINGLE POST */
.post h2,.post h3,.post h4,.post h5,.post h6{font-family:"HelB";font-size:18px;margin:20px 0}
.post h1{font-size:26px}
.post ul,.post ol{margin:20px 20px 20px 18px}
.post p{margin-bottom:15px}
.post-columns{display:flex;flex-wrap:wrap;gap:70px;padding-top:102px}
.post-column-toc{width:303px;margin-top:30px}
.post-column-content{flex:1}
.post .section__head{margin-bottom:40px}
.post .entry-image-wrap{position:relative;display:flex;align-items:center;margin:20px 0;overflow:hidden;max-height:450px;border-radius:10px}
.post .entry-image-wrap img{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-o-object-fit:cover;object-fit:cover}
.post .post-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:14px;border-radius:10px;background:#F3F7F9;position:absolute;bottom:15px;left:15px;right:15px;padding:10px 15px}
.post .post-meta img{width:20px}
.post .post-meta div{display:flex;align-items:center;gap:9px}
/* Related posts */
.related-posts{margin:50px 0 100px}
.related-posts h2{font-size:40px;margin-bottom:20px}
/* CTA block */
.cta-block{display:flex;flex-wrap:wrap;justify-content:space-around;margin:40px 0;background:#F3F7F9;border-radius:16px}
.cta-block-text{display:flex;flex-direction:column;justify-content:center;padding:25px}
.cta-block h2{margin:0 0 20px;line-height:26px;font-size:26px}
.cta-block-subtitle{margin-bottom:15px}
.cta-block-lead,.cta-block-subtitle{font-size:18px}
.cta-block-lead{font-family:"HelB"}
.cta-block-btns{display:flex;gap:20px}
.cta-block-btn{transition:all 0.3s ease}
.cta-block-btn:hover,.cta-block-btn:focus{transform: scale(1.1) rotate(15deg)}
.cta-block-btn img{width:44px;height:44px;-o-object-fit:contain;object-fit:contain}
.cta-block-line{height:3px;max-width:190px;background:#F1C743;margin:30px 0 23px}
.cta-block-img{max-width:350px}
.cta-block-img img{-o-object-fit:contain;object-fit:contain}

/* TOC */
.table-of-contents-sidebar{width:100%;transition:opacity .3s}
.table-of-contents-sidebar .inner-wrapper-sticky{opacity:0;width:100%;background:#F3F7F9;padding:20px 25px 70px;border-radius:10px;transition:opacity .3s}
.table-of-contents-sidebar.ready .inner-wrapper-sticky{opacity:1}
.table-of-contents-sidebar .inner-wrapper-sticky.is-bottom{bottom:120px;padding-bottom:20px!important}
.table-of-contents-sidebar .toc-title{font-size:18px;font-weight:700;margin-bottom:15px;margin-top:0}
.table-of-contents-sidebar .toc-line{height:1px;background:#DBDFE1;margin:20px 0}
.table-of-contents-sidebar .toc-list{list-style:none;padding:0;margin:0}
.table-of-contents-sidebar .toc-list li{margin-bottom:12px;line-height:1.4}
.table-of-contents-sidebar .toc-list a{color:#333;text-decoration:none;display:block;outline:none;transition:color .2s}
.table-of-contents-sidebar .toc-list a:hover{color:#F1C743}
.table-of-contents-sidebar .toc-list a.active{color:#F1C743;font-weight:700}
.table-of-contents-sidebar .toc-level-h2{padding-left:0}
.table-of-contents-sidebar .toc-level-h3{padding-left:15px;font-size:14px}
.table-of-contents-sidebar .toc-level-h4{padding-left:30px;font-size:13px}
.table-of-contents-sidebar .toc-level-h5,.table-of-contents-sidebar .toc-level-h6{padding-left:45px;font-size:12px}
.post-template-default .entry-body ul li {list-style: disc;} 



/* MEDIA */
@media (max-width:991px) {
.blog-item{flex:0 0 calc(33.333% - 14px)}
}

@media (max-width:768px) {
.entry-header{margin:20px 0}
.entry-title{font-size:33px}
.post h1{font-size:22px;line-height:26px;text-align:left}
.blog-item{flex:0 0 calc(50% - 2px)}
.blog-item-link{height:220px}
.blog-item-content{left:10px;right:10px;bottom:50%;transform:translateY(50%)}
.blog-item-content h4{font-family:"HelR";font-size:12px;line-height:14px;text-transform:none}
.blog-items{gap:4px}
.post-columns{padding-top:60px}
.post-column-toc{display:none}
.cta-block{flex-direction:column;align-items:center;text-align:center}
.cta-block h2{font-size:22px}
.cta-block-lead{font-size:18px}
.cta-block-line{display:flex;align-self:center;width:100%;margin:17px 0}
.cta-block-text{text-align:center;padding:20px}
.cta-block-subtitle{font-size:16px}
.cta-block-btns{justify-content:center}
.related-posts{margin:30px 0 50px}
.related-posts h2{font-size:20px}
}

@media screen and (max-width:576px){
.blog-categories{font-size:12px;text-align:center;gap:5px;flex-direction:column;margin-bottom:20px}
.category-filter{padding:10px 20px;font-size:12px}
.blog-item-link{height:140px}
.price__buttons .button{font-size:14px;padding:10px 14px}
}