/* Diretório de saúde. Regras isoladas para preservar os restantes módulos. */
.health-directory {
    padding-top: 48px;
    padding-bottom: 64px;
}

.health-intro {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 40px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--ml-border);
}

.health-intro h2,
.health-section-heading h2 {
    margin: 0;
    font: 500 34px/1.15 'Cormorant Garamond', Georgia, serif;
}

.health-intro p,
.health-summary {
    font-size: 16px;
    line-height: 1.65;
}

.health-intro .eyebrow {
    font-size: 14px;
}

.health-intro p:first-child {
    margin-top: 0;
}

.health-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.health-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--ml-border);
    border-radius: 12px;
    background: var(--ml-surface);
}

.health-filters label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
}

.health-filters input,
.health-filters select {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--ml-border);
    border-radius: 6px;
    background: white;
    color: var(--ml-ink);
    font: inherit;
    font-size: 16px;
}

.health-filter-actions {
    display: flex;
    align-items: end;
    gap: 20px;
}

.health-reset,
.health-website {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--ml-ink);
}

.health-reset {
    padding: 12px 0;
}

.health-directory .result-bar {
    margin: 26px 0 18px;
    gap: 18px;
    flex-wrap: wrap;
}

.health-directory .result-bar p {
    margin: 0;
    font-size: 15px;
}

.health-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--ml-border);
}

.health-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--ml-border);
}

.health-symbol {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #eee6d7;
    color: #705421;
}

.health-symbol svg {
    width: 24px;
    height: 24px;
}

.health-meta,
.health-network,
.health-contacts,
.health-tags {
    font-size: 14px;
    line-height: 1.5;
}

.health-meta {
    color: #635b50;
    margin: 0 0 6px;
}

.health-row h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.35;
}

.health-row h3 a {
    color: var(--ml-ink);
    font-size: inherit;
    text-decoration: none;
}

.health-row h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.health-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.health-tags span {
    padding: 4px 10px;
    background: #f1eee8;
    border-radius: 4px;
    color: #514a40;
}

.health-tags .health-nature {
    background: #e7ede4;
    color: #354631;
}

.health-summary {
    margin: 12px 0 0;
}

.health-network {
    margin: 8px 0 0;
    color: #635b50;
}

.health-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 12px;
}

.health-contacts a {
    color: var(--ml-ink);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.health-row-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 4px;
}

.health-directory .button {
    font-size: 14px;
}

.health-notice {
    margin-top: 32px;
    color: #635b50;
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .health-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .health-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .health-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
    }

    .health-symbol {
        display: none;
    }
}

@media (max-width: 600px) {
    .health-directory {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .health-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 16px;
    }

    .health-filters {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .health-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .health-row-actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .health-intro h2,
    .health-section-heading h2 {
        font-size: 30px;
    }
}

.health-map-symbol {
    display: grid;
    place-items: center;
    background: #eee6d7;
    color: #705421;
}
