/* Atlastek Blog Listing Styles */
.atlastek-blog-section {
    background-color: #F5F7F6;
    padding: 100px 0;
}

.atlastek-blog-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 128px;
}

.atlastek-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.atlastek-blog-card {
    transition: transform 0.3s ease,
}


.atlastek-blog-image-container {
    position: relative;
    border-radius: 20px;
    height: 300px;
    display: block;
    clip-path: polygon(6.726% 0%, 93.274% 0%, 93.274% 0%, 94.364% 0.119%, 95.399% 0.464%, 96.364% 1.015%, 97.245% 1.755%, 98.029% 2.664%, 98.701% 3.723%, 99.249% 4.915%, 99.657% 6.219%, 99.912% 7.617%, 100% 9.091%, 100% 66.97%, 100% 66.97%, 99.732% 70.984%, 98.988% 73.969%, 97.863% 76.111%, 96.447% 77.599%, 94.835% 78.618%, 93.119% 79.355%, 91.39% 79.998%, 89.742% 80.733%, 88.268% 81.747%, 87.061% 83.227%, 87.061% 83.227%, 86.147% 85.185%, 85.483% 87.323%, 84.946% 89.551%, 84.409% 91.777%, 83.749% 93.91%, 82.839% 95.86%, 81.556% 97.535%, 79.775% 98.844%, 77.369% 99.696%, 74.215% 100%, 6.726% 100%, 6.726% 100%, 5.636% 99.881%, 4.601% 99.536%, 3.636% 98.985%, 2.755% 98.245%, 1.971% 97.336%, 1.299% 96.277%, 0.751% 95.085%, 0.343% 93.781%, 0.088% 92.383%, 0% 90.909%, 0% 9.091%, 0% 9.091%, 0.088% 7.617%, 0.343% 6.219%, 0.751% 4.915%, 1.299% 3.723%, 1.971% 2.664%, 2.755% 1.755%, 3.636% 1.015%, 4.601% 0.464%, 5.636% 0.119%, 6.726% 0%);
}


.atlastek-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.atlastek-blog-card:hover .atlastek-blog-image {
    transform: scale(1.1);
}

.atlastek-blog-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 60px 20px 20px;
}


.atlastek-blog-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: bold;
}

.atlastek-blog-logo-text-red {
    color: #e74c3c;
}

.atlastek-blog-logo-text-black {
    color: #333;
}

.atlastek-blog-action-button {
    position: absolute;
    bottom: 5px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #02617e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.atlastek-blog-card:hover  .atlastek-blog-action-button {
    background: #d9e506;
}

.atlastek-blog-action-icon {
    width: 16px;
    height: 16px;
    color: white;
    transform: rotate(45deg);
}

.atlastek-blog-content {
    padding: 25px;
}

.atlastek-blog-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.atlastek-blog-date-icon {
    width: 18px;
    height: 21px;
    color: #888;
}

.atlastek-blog-title {
    color: #333;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.atlastek-blog-card:hover .atlastek-blog-title {
    color: #02617e;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .atlastek-blog-container {
        padding: 0 60px;
    }
    
    .atlastek-blog-grid {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .atlastek-blog-section {
        padding: 80px 0;
    }
    
    .atlastek-blog-container {
        padding: 0 40px;
    }
    
    .atlastek-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .atlastek-blog-section {
        /* padding: 60px 0; */
        padding: 60px 0 60px 0;
    }
    
    .atlastek-blog-container {
        padding: 0 30px;
    }
    
    .atlastek-blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .atlastek-blog-image-container {
        height: 220px;
    }
    
    .atlastek-blog-content {
        padding: 20px;
    }
    
    .atlastek-blog-title {
        font-size: 23px;
    }

    .atlastek-blog-action-button {
        position: absolute;
        bottom: 0px;
        right: 6px;
        width: 40px;
        height: 40px;
    }
    
  
}

@media (max-width: 480px) {
    .atlastek-blog-container {
        padding: 0 20px;
    }
    
    .atlastek-blog-image-container {
        height: 200px;
    }
    
    .atlastek-blog-content {
        padding: 15px;
    }
    
    .atlastek-blog-title {
        font-size: 21px;
    }
    
   
}


@media screen and (min-width: 768px) and (max-width: 1024px) { 
    .atlastek-blog-action-button {
        right: 0px !important;
    }
}