img {
    height: auto;
}

.section-blog.section-grey {
    background-color: #fbfbfd;
    border-bottom: 1px solid #eceef2;
    border-top: 1px solid #eceef2;
}

.section-blog { /* <-- WTF ??? */

    .post.post-thumb {
        position: relative;
    }

    .post {
        margin-bottom: 40px;
    }

    .section {
        padding-top: 40px;
   }

    .section.section-grey {
        background-color: #fbfbfd;
        border-bottom: 1px solid #eceef2;
        border-top: 1px solid #eceef2;
   }

    .section .section-title {
        margin-bottom: 20px;
   }

    .section .section-title h2 {
        text-transform: capitalize;
        font-size: 28px;
   }

    .section-row {
        margin-bottom:20px;
   }

    .section-blog {
        padding-top: 40px;
    }

    .section-blog .section-title {
        margin-bottom: 40px;
    }

    .section-blog .section-title h2 {
        text-transform: capitalize;
        font-size: 28px;
    }

    .post {
        margin-bottom: 40px;
    }

    .post.post-widget:after {
        content: '';
        display: block;
        clear: both;
    }

    .post.post-widget .post-img {
        width: 90px;
        float: left;
        margin-right: 15px;
    }

    .post.post-widget .post-img img {
        width: 100%;
    }

    .post.post-widget .post-title {
        font-size: 18px;
    }

    .post.post-row .post-img {
        width: 40%;
        float: left;
        position: relative;
        color: white;
    }

    .post .post-img {
        display: block;
        -webkit-transition: 0.2s opacity;
        transition: 0.2s opacity;
    }
    .post.post-row .post-title {
        margin-bottom: 15px;
    }
    .post .post-title {
        font-size: 18px;
        margin-bottom: 0px;
    }
    .post .post-meta {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .post-meta .post-category.cat-1 {
        background-color: #4BB92F;
    }
    .post-meta .post-category {
        font-size: 13px;
        text-transform: uppercase;
        padding: 3px 10px;
        font-weight: 600;
        border-radius: 2px;
        margin-right: 15px;
        color: #FFF;
        background-color: #212631;
        -webkit-transition: 0.2s opacity;
        transition: 0.2s opacity;
    }
    .post-meta .post-date {
        font-size: 13px;
        font-weight: 600;
    }

    .post-meta .post-data {
        font-size: 13px;
        font-weight: 600;
    }
    .aside-widget {
        margin-bottom: 40px;
    }
    .post a {
        font-weight: 600;
        color: #212631;
        text-decoration: none;
    }
    .post.post-thumb .post-title > a {
        color: #FFF;
    }
    a:hover, a:focus {
        color: #212631;
        text-decoration: underline;
        outline: none;
    }
    .post.post-thumb {
        position: relative;
    }
    .post.post-thumb .post-meta .post-date {
        color: #eceef2;
    }
    .post.post-thumb .post-body {
        position: absolute;
        bottom: 0px;
        padding: 20px 15px;
    }

    .post.post-widget .post-title {
        font-size: 18px;
    }
    .post.post-widget .post-img {
        width: 90px;
        float: left;
        margin-right: 15px;
    }
    .post .post-img {
        display: block;
        -webkit-transition: 0.2s opacity;
        transition: 0.2s opacity;
    }
    h2 {
        font-size: 26px;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #333;
        font-weight: 500;
        padding: 0;
    }
    h1, h2, h3, h4 {
        /* font-family: 'Nunito Sans', sans-serif; */
        font-weight: 700;
        color: #212631;
        margin: 0px 0px 15px;
    }
    .post.post-thumb .post-img:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        background: -webkit-gradient(linear, left bottom, left top, from(rgba(33, 38, 49, 0.3)), to(transparent));
        background: linear-gradient(to top, rgba(33, 38, 49, 0.3) 0%, transparent 100%);
    }
    .post-img a:hover,
    .post-img a:focus {
        color: #212631;
        text-decoration: underline;
        outline: none;
        transition: color 0.3s ease, text-decoration 0.3s ease; /* Плавный переход */
    }

    .post-img a:focus {
        box-shadow: 0 0 0 3px rgba(33, 38, 49, 0.5); /* Подсветка при фокусе */
    }
    .img-responsive {
        display: block;
        max-width: 100%;
        height: auto;
    }
    img {
        vertical-align: middle;
    }
    .category-widget ul li {
        display: block;
        padding-bottom: 10px;
        border-bottom: 1px solid #eceef2;
    }

    .category-widget ul li > a {
        display: block;
        -webkit-transition: 0.2s color;
        transition: 0.2s color;
    }

    .tags-widget ul li a {
        display: block;
        color: #fff;
        background-color: #ff6b35;
        padding: 5px 7px;
        font-weight: 600;
        line-height: 18px;
        border-radius: 2px;
        -webkit-transition: 0.2s opacity;
        transition: 0.2s opacity;
    }

    .tags-widget ul li {
        display: inline-block;
        margin-right: 3px;
        margin-bottom: 5px;
    }

    ul, ol {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .post-meta .post-category.cat-2 {
        background-color: #ff8700;
    }

    .post.post-row .post-title {
        margin-bottom: 15px;
    }

    .post .post-img > img {
        width: 100%;
    }

    .category-widget ul li > a.cat-1 > span {
        background-color: #4BB92F;
    }

    .category-widget ul li > a > span {
        float: right;
        color: #fff;
        background-color: #212631;
        padding: 0px 5px;
        font-weight: 600;
        border-radius: 2px;
        font-size: 14px;
    }

    .category-widget ul li > a.cat-2 > span {
        background-color: #ff8700;
    }

    .category-widget ul li > a.cat-4 > span {
        background-color: #0078ff;
    }

    .category-widget ul li > a.cat-3 > span {
        background-color: #8d00ff;
    }

    .post.post-row .post-body {
        margin-left: calc(40% + 30px);
    }

    a:hover, a:focus {
        color: #212631;
        text-decoration: underline;
        outline: none;
    }

    .post.post-row:after {
        content: '';
        display: block;
        clear: both;
    }

    .primary-button {
        padding: 9px 45px;
        border: none;
        background-color: #212631;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 13px;
        color: #fff;
        -webkit-transition: 0.2s opacity;
        transition: 0.2s opacity;
    }

    .center-block {
        display: block;
        margin-right: auto;
        margin-left: auto;
    }

    a {
        font-weight: 600;
        color: #212631;
        text-decoration: none;
    }

} /* <!--- WTF ??????? */

.hoverImage {
    position: relative;
    align-self: stretch;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
    max-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.hoverImageWrapper:hover .hoverImage {
    transform: scale(1.2);
}

@media only screen and (max-width: 991px) {
    #nav .nav-menu {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .page-header h1 {
        font-size: 28px;
    }
    .post.post-row .post-img {
        width: 100%;
        float: none;
    }
    .post.post-row .post-body {
        margin-left: 0px;
    }
    .post.post-row .post-meta {
        margin-top: 15px;
    }
    .post.post-row .post-body p {
        display:none;
    }
}

/*=========================================================
	POST PAGE
===========================================================*/
 .sticky-container {
    position: relative;
    padding-left: 80px;
}
.sticky-container .sticky-shares {
    position: absolute;
    top: 0;
    left: 0;
}

.sticky-shares a {
    display: block;
    margin-bottom: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #fbfbfd;
    color: #a7b3c6;
    border: 1px solid #eceef2;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}
.sticky-shares a:hover {
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}
.sticky-shares a.share-facebook:hover {
    color: #3b5998;
    border-color: #3b5998;
}
.sticky-shares a.share-twitter:hover {
    color: #55acee;
    border-color: #55acee;
}
.sticky-shares a.share-google-plus:hover {
    color: #dd4b39;
    border-color: #dd4b39;
}
.sticky-shares a.share-whatsup:hover {
    color: #09b426;
    border-color: #3ba10c;
}
.sticky-shares a.share-telegram:hover {
    color: #1268ca;
    border-color: #1366c4;
}
.sticky-shares a.share-pinterest:hover {
    color: #ff0000;
    border-color: #ff0000;
}
.sticky-shares a.share-linkedin:hover {
    color: #007bb5;
    border-color: #007bb5;
}

@media (max-width: 991px) {
    .sticky-container {
        padding-left: 0;
    }

    .sticky-container .sticky-shares {
        position: relative;
        padding-top: 10px;
    }

    .sticky-shares a {
        display: inline-block;
    }
}

/*----------------------------*\
   author
\*----------------------------*/
.post-author .media .media-left {
    /* padding-right: 40px; */
    padding-right: 20px;
    width: 10%;
}
.post-author .media .media-left .media-object {
    width:120px;
    border-radius: 50%;
}
.post-author .author-social {
    margin-top:15px;
}
.post-author .author-social li {
    display: inline-block;
    margin-right: 5px;
}
.post-author .author-social li > a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #a7b3c6;
    color: #FFF;
    border-radius: 2px;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}
.post-author .author-social li > a:hover, .post-author .author-social li > a:focus {
    color: #FFF;
    opacity: 0.9;
}
/*----------------------------*\
   comments
\*----------------------------*/
.post-comments .media {
    padding-top: 15px;
    border-top: 1px solid #eceef2;
}
.post-comments .media:nth-child(1) {
    padding-top: 0px;
    border-top: none;
}
.post-comments .media .media-left {
    padding-right: 15px;
}
.post-comments .media .media-left .media-object {
    width:70px;
    border-radius: 50%;
}
.post-comments .media .media-body .media-heading h4 {
    text-transform: capitalize;
}
.post-comments .media .media-body .media-heading .time {
    font-size: 13px;
    margin-right: 15px;
    color: #a7b3c6;
}
.post-comments .media .media-body .media-heading .reply {
    font-size: 13px;
    color: #a7b3c6;
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
}
.post-comments .media .media-body .media-heading .reply:hover, .post-comments .media .media-body .media-heading .reply:focus {
    color: #212631;
    text-decoration: none;
}
.media, .media-body {
    overflow: hidden;
    zoom: 1;
}
.media {
    margin-top: 15px;
}
.media-object {
    display: block;
}
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
/*----------------------------*\
	search
\*----------------------------*/
.nav-btns {
    float:right;
}
.nav-btns > button {
    padding: 25px 25px;
    border: none;
    line-height: 20px;
    background: transparent;
}
.nav-btns .search-form {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0px;
    padding: 0px 15px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
}
.nav-btns .search-form.active {
    opacity: 1;
    visibility: visible;
}
.nav-btns .search-form .search-input {
    height: 100%;
    width: 100%;
    border: none;
    background: #FFF;
    padding: 0px;
    font-weight: 600;
}
.nav-btns .search-form .search-close {
    position: absolute;
    top: 50%;
    right: 15px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border: none;
    background: transparent;
    line-height: 20px;
    color: #212631;
    font-size: 22px;
    padding: 0;
}
/*=========================================================
	NAVIGATION
===========================================================*/
#nav {
    height: 70px;
}
#nav:after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(33, 38, 49, 0.5);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}
#nav.shadow-active:after {
    opacity: 1;
    visibility: visible;
}
#nav-fixed {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 90;
    background-color: #FFF;
    -webkit-box-shadow: 0px -1px 0px 0px #eceef2 inset;
    box-shadow: 0px -1px 0px 0px #eceef2 inset;
}
#nav-fixed.slide-down {
    -webkit-animation: slide-down 0.3s;
    animation: slide-down 0.3s;
}
#nav-fixed.slide-up {
    -webkit-animation: slide-up 0.3s;
    animation: slide-up 0.3s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
@-webkit-keyframes slide-down {
    from {
        -webkit-transform:translateY(-100%);
        transform:translateY(-100%);
   }
    to {
        -webkit-transform:translateY(0%);
        transform:translateY(0%);
   }
}
@keyframes slide-down {
    from {
        -webkit-transform:translateY(-100%);
        transform:translateY(-100%);
   }
    to {
        -webkit-transform:translateY(0%);
        transform:translateY(0%);
   }
}
@-webkit-keyframes slide-up {
    from {
        -webkit-transform:translateY(0%);
        transform:translateY(0%);
   }
    to {
        -webkit-transform:translateY(-100%);
        transform:translateY(-100%);
   }
}
@keyframes slide-up {
    from {
        -webkit-transform:translateY(0%);
        transform:translateY(0%);
   }
    to {
        -webkit-transform:translateY(-100%);
        transform:translateY(-100%);
   }
}
#nav .container {
    position: relative;
}

/*=========================================================
	HEADER
===========================================================*/
.page-header {
    position: relative;
    margin: 0;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fbfbfd;
    border-bottom: 2px solid #F4f4f9;
}
.page-header .background-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center;
    background-size: cover;
}
.page-header .background-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(33, 38, 49, 0.3)), to(transparent));
    background-image: linear-gradient(to top, rgba(33, 38, 49, 0.3) 0%, transparent 100%);
}
#post-header.page-header {
    padding-top: 120px;
}
.page-header h1 {
    text-transform: capitalize;
    margin-bottom: 0px;
}
#post-header.page-header h1 {
    color: #FFF;
}
.page-header .post-meta {
    margin: 15px 0px;
}
.page-header .post-meta .post-date {
    color: #eceef2;
}
.page-header .page-header-breadcrumb {
    margin: 15px 0px;
}
.page-header .page-header-breadcrumb li {
    display: inline-block;
}
.page-header .page-header-breadcrumb li, .page-header .page-header-breadcrumb li a {
    font-size: 13px;
    text-transform: capitalize;
    color: #a7b3c6;
}
.page-header .page-header-breadcrumb li a {
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
}
.page-header .page-header-breadcrumb li a:hover, .page-header .page-header-breadcrumb li a:focus {
    color: #0b0f28;
    text-decoration: none;
}
.page-header .page-header-breadcrumb li + li:before {
    content: '/';
    display: inline-block;
    margin: 0px 10px;
}
/*=========================================================
   POST
===========================================================*/



figure.figure-img figcaption {
    padding-top: 5px;
    font-size: 13px;
    font-weight: 600;
}
figure.figure-img {
    margin-bottom: 20px;
}

figure.figure-img img {
    height: auto;
}

figure {
    margin: 0;
}
figure {
    margin: 1em 40px;
}
aside, figcaption, figure, footer, header, main, nav, section {
    display: block;
}
.post.post-thumb .post-body {
    position: absolute;
    bottom: 0px;
    padding: 20px 15px;
}
.section .section-title h2 {
    text-transform: capitalize;
    font-size: 28px;
}
.post {
    margin-bottom: 40px;
}

.post.post-thumb {
    position: relative;
    text-shadow: 1px 1px 3px #010101;
}

.post.post-thumb .post-img:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(33, 38, 49, 0.3)), to(transparent));
    background: linear-gradient(to top, rgba(33, 38, 49, 0.3) 0%, transparent 100%);
}

.post.post-widget:after {
    content: '';
    display: block;
    clear: both;
}

.post.post-widget .post-img {
    width: 90px;
    float: left;
    margin-right: 15px;
}
.post .post-img {
    display: block;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
}
.post.post-thumb .post-title {
    font-size: 22px;
}
.post .post-title {
    font-size: 18px;
    margin-bottom: 0px;
}
.post .post-meta {
    margin-top: 15px;
    margin-bottom: 15px;
}
.post.post-thumb .post-body {
    position: absolute;
    bottom: 0px;
    padding: 20px 15px;
}
.section .section-title {
    margin-bottom: 20px;
}
.aside-widget {
    margin-bottom: 40px;
    /*float: left;*/
    width: 100%;
}


.aside-widget .section-title {
    /*float: left;*/
    width: 100%;
    margin-bottom: 10px;
}

.aside-widget .post-widget {
    width: 100%;
    /*float: left;*/
    margin-bottom: 20px;
}

.aside-widget .post.post-thumb {
    /* width: 100%; */
    /*float: left;*/
    margin-bottom: 20px;
}


.section .section-title h2 {
    text-transform: capitalize;
    font-size: 28px;
}
h2 {
    font-size: 28px;
}
h1, h2, h3, h4 {
    /* font-family: 'Nunito Sans', sans-serif; */
    font-weight: 700;
    color: #212631;
    margin: 0px 0px 15px;
}

.post-meta .post-category.cat-3 {
    background-color: #8d00ff;
}

.post-meta .post-category {
    font-size: 13px;
    text-transform: uppercase;
    padding: 3px 10px;
    font-weight: 600;
    border-radius: 2px;
    margin-right: 15px;
    color: #FFF;
    background-color: #212631;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
    display: inline-block;
    line-height: 18px;
}

.post.post-thumb .post-meta .post-date {
    color: #eceef2;
}
.post-meta .post-date {
    font-size: 13px;
    font-weight: 600;
}
.category-widget ul li > a {
    display: block;
    -webkit-transition: 0.2s color;
    transition: 0.2s color;
}
.category-widget ul li > a.cat-1 > span {
    background-color: #4BB92F;
}
.category-widget ul li > a > span {
    float: right;
    color: #fff;
    background-color: #212631;
    padding: 0px 5px;
    font-weight: 600;
    border-radius: 2px;
    margin-top: 5px;
    min-width: 19px;
}

.category-widget {
    width: 100%;
    /*float: left;*/
}

.category-widget ul {
    display: block;
    width: 100%;
}

.category-widget ul li {
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid #eceef2;
    width: 100%;
}

.post.post-thumb .post-title > a {
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    padding: 5px 10px;
    margin-bottom: 5px;
    color: #f1f1f1;
    text-shadow: none;
    background: #00000080;
}
.post .post-meta {
    margin-top: 15px;
    margin-bottom: 15px;
}

.post-meta .post-category.cat-3 {
    background-color: #8d00ff;
}
.media-heading {
    margin-top: 0;
    margin-bottom: 5px;
}
.post-author .author-social li > a:hover, .post-author .author-social li > a:focus {
    color: #FFF;
    opacity: 0.9;
}
.post-comments .media .media-left .media-object {
    width: 70px;
    border-radius: 50%;
}
.post-comments .media .media-left {
    padding-right: 15px;
}
.media-body, .media-left {
    display: table-cell;
    vertical-align: top;
}
.media-body {
    /* width: 10000px; */
    /* width: auto; */
    width: 90%;
}
.section-row {
    margin-bottom: 20px;
}
.media:first-child {
    margin-top: 0;
}
.input {
    height: 40px;
    border: 2px solid #eceef2;
    width: 100%;
    padding: 0px 15px;
    -webkit-transition: 0.2s border;
    transition: 0.2s border;
}
.fa {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.shadow-image {
    transition: box-shadow 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.shadow-image:hover {
    filter: brightness(0.8);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.01);
}

.bottom-right {
    position: absolute;
    bottom: 4px;
    right: 0;
    font-size: 15px;
    line-height: 18px;
    padding: 1px 10px;
    background: #00000080;
}

@media only screen and (max-width: 1199px) {
    
    .post.post-widget .post-title {
        font-size: 16px;
    }
    
    .post.post-thumb .post-title,
    .post.post-thumb .post-title > a {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .section-blog .category-widget ul li {
        padding: 8px 0;
    }

    .section-blog .category-widget ul li > a {
        font-size: 14px;
        line-height: 16px;
    }
}

@media (max-width: 768px) {
    .section-title h1 {
        font-size: 1.8em;
    }

    .section-title h2 {
        font-size: 1.6em;
    }

    .bottom-right {
        padding-left: 5px;
        padding-right: 5px;
        right: 0;
        left: auto;
        font-size: 14px;
        font-weight: normal;
        line-height: 16px;
    }
}

@media (max-width: 575px) {
    .section-title h1 {
        font-size: 1.6em;
    }

    .section-title h2 {
        font-size: 1.4em;
    }

    .section .section-title h2 {
        font-size: 1.4em;
    }

    .post-thumb .post-meta .post-category {
        font-size: 0.7em;
    }

    .post.post-thumb .post-title, .post.post-thumb .post-title > a {
        font-size: 0.91em;
    }
}

@media (max-width: 480px) {
    .section-title h1 {
        font-size: 1.4em;
    }

    .section-title h2 {
        font-size: 1.2em;
    }

    .bottom-right {
        font-size: 12px;
        line-height: 14px;
    }
}

.notification-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.notification-icon img[src*="work.png"] {
    border-radius: 0;
    width: 32px;
    height: 32px;
    object-fit: contain;
}
