.tr-health-tools {
    --tr-hub-ink: #13263d;
    --tr-hub-muted: #647384;
    --tr-hub-line: #e0e8ed;
    --tr-hub-brand: #123d5b;
    box-sizing: border-box;
    width: min(1180px, calc(100% - 28px));
    margin: 28px auto 0;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--tr-hub-line);
    border-radius: 26px;
    background: linear-gradient(145deg, #f5fbfc 0%, #fff 46%, #fffaf1 100%);
    color: var(--tr-hub-ink);
    box-shadow: 0 16px 44px rgba(20, 49, 69, .075);
}

.tr-health-tools *,
.tr-health-tools *::before,
.tr-health-tools *::after {
    box-sizing: inherit;
}

.tr-health-tools > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.tr-health-tools > header span {
    display: block;
    margin-bottom: 4px;
    color: #c44848;
    font-size: 12px;
    font-weight: 900;
}

.tr-health-tools > header h2 {
    margin: 0;
    color: var(--tr-hub-ink);
    font-size: clamp(24px, 3.5vw, 34px);
    line-height: 1.25;
}

.tr-health-tools > header > small {
    color: var(--tr-hub-muted);
    white-space: nowrap;
}

.tr-health-tools > header > small strong {
    color: var(--tr-hub-brand);
    font-size: 22px;
}

.tr-health-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.tr-health-tool-card {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-width: 0;
    min-height: 94px;
    padding: 14px;
    border: 1px solid var(--tr-hub-line);
    border-radius: 17px;
    background: rgba(255, 255, 255, .88);
    color: var(--tr-hub-ink);
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tr-health-tool-card:hover,
.tr-health-tool-card:focus {
    transform: translateY(-2px);
    border-color: #b9cfdb;
    color: var(--tr-hub-ink);
    box-shadow: 0 10px 25px rgba(18, 61, 91, .09);
}

.tr-health-tool-card > i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: #eaf4f8;
    color: #17647b;
    font-style: normal;
    font-size: 18px;
    font-weight: 900;
}

.tr-health-tool-card > span {
    min-width: 0;
}

.tr-health-tool-card > span strong,
.tr-health-tool-card > span small {
    display: block;
}

.tr-health-tool-card > span strong {
    color: var(--tr-hub-ink);
    font-size: 15px;
    line-height: 1.4;
}

.tr-health-tool-card > span small {
    margin-top: 3px;
    color: var(--tr-hub-muted);
    font-size: 11px;
    line-height: 1.55;
}

.tr-health-tool-card > b {
    align-self: start;
    padding: 4px 7px;
    border-radius: 999px;
    background: #f0f4f6;
    color: #6c7986;
    font-size: 9px;
    white-space: nowrap;
}

.tr-health-tool-card.is-urgent {
    border-color: #efcbcb;
    background: #fff8f8;
}

.tr-health-tool-card.is-urgent > i {
    background: #feeaea;
    color: #aa2d2d;
}

.tr-health-tool-card.is-urgent > b {
    background: #feeaea;
    color: #9b2929;
}

.tr-health-tools + .tr-health-center {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .tr-health-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .tr-health-tools {
        width: min(100% - 18px, 1180px);
        margin-top: 14px;
        padding: 15px;
        border-radius: 21px;
    }

    .tr-health-tools > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .tr-health-tools > header > small {
        white-space: normal;
    }

    .tr-health-tools-grid {
        grid-template-columns: 1fr;
    }

    .tr-health-tool-card {
        min-height: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tr-health-tool-card {
        transition: none;
    }
}
