.blog__content {
    width: 100%;
    position: relative;

}

.blog__content-container {
    width: 1350px;
    margin: 0 auto;
    padding-top: 207px;
    z-index: 300;
    position: relative;
}

.blog__content-tabs-search {
    width: 100%;

    height: 65px;
    margin-bottom: 55px;
    display: flex;
    justify-content: space-between;
}

.blog__content-tabs {

    height: 100%;

    display: flex;

}

.blog__content-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0px 10px;
    border-bottom: 1px solid rgba(194, 194, 194, 1);
    color: rgba(194, 194, 194, 1);
    cursor: pointer;

}

.blog__content-tabs a:hover {
    color: #1F9D96;
    border-bottom: 1px solid #1F9D96;
}

.blog__content-search {
    width: 423px;
    height: 65px;
    border: 1px solid rgba(194, 194, 194, 1);
    border-radius: 40px;
    padding: 19px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog__conten-search {
    width: 26px;
    padding-right: 8px;
    border-right: 1px solid rgba(194, 194, 194, 1);
    background-color: rgba(0, 0, 0, 0);
}

.blog__conten-search img {
    width: 18px;
    height: 18px;
}

.blog__content-search input {
    width: calc(100% - 36px);
    height: 40px;
    background-color: rgba(0, 0, 0, 0);
    color: rgba(217, 217, 217, 1);

    font-weight: 400;

    font-size: 16px;

    line-height: 100%;
    letter-spacing: 0px;
    vertical-align: middle;


}

.blog__content-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.blog__element {
    width: 401px;
    height: 598px;
    position: relative;
    margin-bottom: 30px;
    cursor: pointer;
}

.blog__element-back {
    position: absolute;
    z-index: 150;
    width: 457px;
    height: 436px;
    border-radius: 16px;
    bottom: -15px;


    background-image: url('../images/ui/blog_placeholder.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    left: calc(50% - 228.5px);
    opacity: 0;
}

.blog__element:hover .blog__element-back {
    opacity: 1;
}

.blog__element-content {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 200;

}

.blog__element-image {
    width: 401px;
    height: 263px;
    overflow: hidden;
    border-radius: 16px;
}

.blog__element-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog__element-hashtag {
    width: 100%;
    margin-top: 20px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog__element-hashtag p {
    height: 35px;
    padding: 0px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;

    font-weight: 400;

    font-size: 16px;

    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 1)
}

.blog__element-name {
    margin-top: 20px;
    font-size: 25px;
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
    margin-bottom: 20px;
}

.blog__element-desc {

    font-weight: 400;
    line-height: 21px;
    font-size: 16px;

    text-align: justify;
    color: #fff;
}

.blog__element-date {
    margin-top: 20px;
    display: flex;
    align-items: center;

}

.blog__element-date time {
    margin-left: 10px;
    color: #fff;
}

/*******BLOG IMAGE ABSOLUTE***************/
.blog__image1 {
    position: absolute;
    z-index: 100;
    right: 0;
    top: 0;
}

.blog__image2 {
    position: absolute;
    z-index: 100;
    right: 0;
    top: 0;
}


/************SINGLE BLOCK PAGE*******/

.blog__content-single {
    color: #fff;
    width: 1350px;
    margin: 0 auto;
    padding-top: 205px;
    position: relative;
    z-index: 300;
}

.blog__single-nav {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog__single-nav a {
    height: 35px;
    width: 165px;
    background-color: #1F9D96;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    border: 1px solid #fff;
    color: #fff;
}

.blog__single-nav a p {
    margin-left: 10px;
}

.blog__single-nav div {
    display: flex;
    align-items: center;
}

.blog__single-nav div time {

    font-weight: 400;

    font-size: 16px;

    line-height: 100%;
    letter-spacing: 0%;
    margin-left: 15px;
    margin-right: 25px;
}

.blog__single-nav div p {

    height: 35px;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    border: 1px solid #fff;
}

.blog__single-content {
    width: 100%;
    margin-top: 40px;
}

.blog__single-name {
    margin-bottom: 23px;
    font-size: 32px;


}

.blog__single-name h3 {
    font-weight: 600;
}

.blog__single-desc {
    width: 100%;
}

.blog__single-desc p {

    font-weight: 400;

    font-size: 16px;

    line-height: 21px;
    margin-bottom: 15px;
    letter-spacing: 0%;

}

.blog__single-image {
    margin-top: 35px;
    width: 100%;
    height: 851px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
}

.blog__single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog__single-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 62px;
    padding-bottom: 50px;
}

.blog__single-social p {

    font-weight: 600;

    color: #fff;
    line-height: 100%;
    letter-spacing: 0%;
    font-size: 32px;
}
.blog__single-social  div {
     width: 549px;
     display: flex;
     align-items: center;
     justify-content: space-between;
}
.blog__single-social div a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    color: #fff;
    border-radius: 6px;
    background: rgba(157, 157, 157, 0.5);


}
.blog__single-social div a:hover{
    background: linear-gradient(180deg, #1F9D96 0%, #9D9D9D 100%);
}








/************PORTFOLIO SINGLE*******/

.portfolio__single-link {
    margin-top: 35px;
}

.portfolio__single-link a {
    height: 55px;
    padding: 0px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1F9D96 0%, #9D9D9D 100%);
    border-radius: 40px;
    border: 1px solid #fff;
    color: #fff;
    transition: opacity 0.3s ease;
}

.portfolio__single-link a:hover {
    opacity: 0.85;
}

.portfolio__single-link a p {
    font-weight: 600;
    font-size: 16px;
    margin-right: 12px;
}

.portfolio__single-gallery {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.portfolio__gallery-item {
    width: calc((100% - 60px) / 3);
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio__gallery-item:hover img {
    transform: scale(1.05);
}

.blog__single-image a {
    width: 100%;
    height: 100%;
    display: block;
}
.blog__single-desc a {
    color: #1F9D96;
}
@media only screen and (max-width: 1150px) {
    .blog__content-container{
        width: 95%;
    }
    .blog__content-tabs-search{
        height: initial;
        flex-direction: column-reverse;
    }
    .blog__content-search{
        margin-bottom: 15px;
    }
    .blog__content-tabs{
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .blog__content-tabs a {
        padding: 0px 15px;
        width: 47%;
        height: 40px;
    }
    .blog__element-name {
        font-size: 21px;
        line-height: 130%;
    }
    .blog__content-search{
        width: 100%;
    }
    .blog__content-single{
        width: 95%;
    }
    .blog__single-nav{
        height: initial;
        flex-direction: column;
        align-items: initial;
    }
    .blog__single-nav a{
        margin-bottom: 40px;
    }
    .blog__single-image{
        height: 300px;
    }
    .blog__single-social{
        flex-direction: column;
        align-items: initial;
    }
    .blog__single-social div{
        width: 100%;
        
        margin-top: 20px;
    }
    .portfolio__gallery-item{
        width: 30%;
        height: 100px;
        margin-bottom: 15px;
    }
    .portfolio__single-gallery{
        gap: initial;
        justify-content: space-between;
    }
    .blog__element{
        width: 100%;
        margin-bottom: 20px;
    }
}
