.main-content.blog.style {
    background: #fff;
}

.container.aaa {
    margin-top: 0;
}

.projects-portfolio-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 16px;
}

.projects-portfolio-wrap .item {
    width: calc(50% - 8px);
    margin: 0 0 35px;
    box-sizing: border-box;
}

.projects-portfolio-wrap .portfolio-img {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.projects-portfolio-wrap .portfolio-img img {
    width: 100%;
    min-height: 206px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.projects-portfolio-wrap .portfolio-img:hover img {
    transform: scale(1.05);
}

.projects-portfolio-wrap .portfolio-img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projects-portfolio-wrap .portfolio-img:hover .overlay {
    opacity: 1;
}

.flat-button.style1 {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.projects-portfolio-wrap .portfolio-img:hover .flat-button.style1 {
    opacity: 1;
}

.flat-button.style1 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 6px;
    background: #35a8dd;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.flat-button.style1 a:hover {
    background: #2691c3;
}

.portfolio-content {
    padding: 15px 0;
}

.portfolio-title,
.blog-box .post-content h2 {
    margin-top: 0;
}

.portfolio-title {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.3;
}

.portfolio-title a,
.post-content h2 a {
    color: #222;
    text-decoration: none;
}

.portfolio-title a:hover {
    color: #35a8dd;
}

.portfolio-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portfolio-categories li a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.page-banner-wrap {
    position: relative;
    max-height: 300px;
    overflow: hidden;
}

.page-banner-wrap img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .container.aaa {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .projects-portfolio-wrap .item {
        width: 100%;
    }
}
