.datom-thinking-grid-widget {
    text-align: center;
}

.datom-thinking-section-title {
    margin-top: 0;
}

.datom-thinking-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    transition: all 0.3s ease;
}

.datom-thinking-card {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.datom-thinking-card:last-child {
    border-right: none;
}

.datom-thinking-card-index {
    margin-bottom: 25px;
    line-height: 1;
}

.datom-thinking-card-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.datom-thinking-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.datom-thinking-card:hover .datom-thinking-card-image img {
    transform: scale(1.05);
}

.datom-thinking-card-title {
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.datom-thinking-card-excerpt {
    line-height: 1.6;
    margin-bottom: 35px;
    flex-grow: 1;
}

.datom-thinking-card-link {
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    transition: opacity 0.3s ease;
}

.datom-thinking-card-link:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .datom-thinking-card {
        flex: 0 0 50%;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    .datom-thinking-card:nth-child(2n) {
        border-right: none;
    }
    .datom-thinking-card:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .datom-thinking-card {
        flex: 0 0 100%;
        border-right: none;
        padding: 40px 20px;
    }
    .datom-thinking-card:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}
