.eb-tools-widget {
    background: var(--eb-white);
    /* padding: 96px 52px; */
    /* font-family: 'DM Sans', sans-serif; */
}

.eb-tools-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 52px;
    gap: 40px;
}

.eb-tools-text {
    /* max-width: 480px; */
}

.eb-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--eb-gold-dk);
    margin-bottom: 14px;
}

.eb-section-tag::before {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--eb-gold);
    border-radius: 2px;
}

.eb-tools-title {
    /* font-family: 'Playfair Display', serif; */
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.01em;
    margin-bottom: 14px;
    color: var(--eb-txt);
}

.eb-tools-title em {
    font-style: normal;
    color: var(--eb-blue);
}

.eb-tool-desc {
    color: var(--eb-txt-mid);
    font-size: 16px;
    line-height: 1.78;
    /* max-width: 800px; */
    font-weight: 400;
}

.eb-tools-certs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 600px;
}

.eb-cert-badge {
    padding: 8px 14px;
    border: 1.5px solid var(--eb-bdr-gold);
    font-size: 11px;
    color: var(--eb-gold-dk);
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--eb-gold-pale);
    border-radius: 3px;
    font-weight: 700;
    white-space: nowrap;
}

.eb-tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--eb-bdr);
    border: 1px solid var(--eb-bdr);
    border-radius: 6px;
    overflow: hidden;
}

.eb-tool-item {
    background: var(--eb-white);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: background .2s;
}

.eb-tool-item:hover {
    background: var(--eb-blue-pale);
}

.eb-tool-icon {
    width: 44px;
    height: 44px;
    background: var(--eb-blue-pale);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eb-tool-icon svg {
    width: 22px;
    height: 22px;
}

.eb-tool-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--eb-txt);
}

@media (max-width: 1100px) {
    .eb-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .eb-tools-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .eb-tools-certs {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .eb-tools-widget {
        /* padding: 64px 20px; */
    }
    .eb-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
