.tekoalysta-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tekoalysta-tool-card {
    background: #111827;
    color: #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tekoalysta-tool-card__header {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.tekoalysta-tool-card__logo img {
    border-radius: 0.5rem;
    display: block;
}

.tekoalysta-tool-card__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.tekoalysta-tool-card__title {
    margin: 0;
    font-size: 1.05rem;
}

.tekoalysta-tool-card__title a {
    color: #f9fafb;
    text-decoration: none;
}

.tekoalysta-tool-card__title a:hover {
    text-decoration: underline;
}

.tekoalysta-tool-card__rating {
    font-size: 0.85rem;
    color: #fbbf24;
}

.tekoalysta-tool-card__summary {
    margin: 0;
    font-size: 0.9rem;
    color: #d1d5db;
}

.tekoalysta-tool-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.tekoalysta-tool-card__meta-item strong {
    font-weight: 600;
}

.tekoalysta-tool-card__footer {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tekoalysta-tool-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.50rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: #022c22;
    text-decoration: none;
}

.tekoalysta-tool-card__btn:hover {
    filter: brightness(1.05);
}

.tekoalysta-tool-card__link {
    font-size: 0.85rem;
    color: #93c5fd;
    text-decoration: none;
}

.tekoalysta-tool-card__link:hover {
    text-decoration: underline;
}

/* Compare table */
.tekoalysta-tools-compare-wrapper {
    overflow-x: auto;
}

.tekoalysta-tools-compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tekoalysta-tools-compare th,
.tekoalysta-tools-compare td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.tekoalysta-tools-compare th {
    text-align: left;
    background: #020617;
    color: #e5e7eb;
}

.tekoalysta-tools-compare tr:nth-child(even) td {
    background: rgba(15, 23, 42, 0.8);
}