/* --- AWEA GRID SYSTEM --- */
.awea-grid-row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.awea-grid-item {
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Desktop Column Logic */
.awea-col-1, .awea-grid-desktop-12 { width: 100%; }
.awea-col-2 { width: 50%; }
.awea-col-3, .awea-grid-desktop-4 { width: 33.3333%; }
.awea-col-4 { width: 25%; }

/* Tablet Breakpoint (991px - 1024px range) */
@media screen and (max-width: 1024px) {
    .awea-grid-item, .awea-grid-tablet-6 { 
        width: 50% !important; 
    }
}

/* Mobile Breakpoint */
@media screen and (max-width: 767px) {
    .awea-grid-item, .awea-grid-mobile-12 { 
        width: 100% !important; 
    }
}

/* --- BLOG CARD STYLES --- */
.awea-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #fff;
    border-radius: 40px;
    border: 1px solid #f1f5f9;
    padding: 12px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: aweaCardReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes aweaCardReveal {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.awea-blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(99, 102, 241, 0.15);
}

/* Image Handling */
.awea-blog-img-wrap {
    position: relative;
    height: 260px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 24px;
}

.awea-blog-img-wrap img, .awea-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.awea-blog-card:hover .awea-blog-img-wrap img,
.awea-blog-card:hover .awea-blog-img { 
    transform: scale(1.1); 
}

/* Badge */
.awea-blog-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    background: #fff;
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* Body Content */
.awea-blog-body {
    flex-grow: 1;
    padding: 0 16px 20px;
}

.awea-blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 12px;
}

.awea-blog-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin: 0 0 12px 0;
    transition: color 0.3s;
}

.awea-blog-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

/* Footer & Link */
.awea-blog-footer {
    margin-top: auto;
    padding: 24px 16px 12px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.awea-blog-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.awea-blog-link i {
    transition: transform 0.3s;
}

.awea-blog-card:hover .awea-blog-link {
    padding-right: 32px;
}

.awea-blog-card:hover .awea-blog-link i {
    transform: translateX(8px);
}

.awea-post-num, .awea-blog-num { 
    font-weight: 900; 
    opacity: 0.15; 
    font-size: 0.8rem; 
}