.tool-container {
    width: 95%;
    margin: 0 auto;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
    width: 100%;
}

/* tool-card specific styles */
.tool-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    font-family: 'Inter', sans-serif;
}

.tool-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
    border-color: #3b82f6; /* Subtle blue border on hover */
}

/* Image Header */
.tool-image-header {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.tool-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.tool-card:hover .tool-image {
    transform: scale(1.1);
}

.tool-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Content Area */
.tool-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tool-title {
    color: #111827;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.tool-description {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Version & Dates Metadata */
.tool-metadata {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.tool-version {
    font-size: 0.8rem;
    font-weight: 600;
    color: #3b82f6;
    background: #eff6ff;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tool-dates {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: right;
}

.date-row span {
    font-weight: 600;
    color: #374151;
}

.date-row.highlight {
    color: #059669; /* Green text for "Updated" */
}