.taxonomy-section__heading {
    display: flex;
    align-items: end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.taxonomy-section__heading .taxonomy-eyebrow {
    margin-bottom: 0.35rem;
    color: var(--tlm-brand-gold);
}

.taxonomy-section__rule {
    flex: 1;
    height: 1px;
    margin-bottom: 0.4rem;
    background: var(--tlm-border);
}

.taxonomy-card {
    border: 1px solid var(--tlm-border);
    border-top: 4px solid var(--tlm-brand-ink);
    border-radius: var(--tlm-card-radius);
    background: var(--tlm-surface);
    box-shadow: var(--tlm-card-shadow);
    color: var(--tlm-text);
    transition: transform 0.5s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.taxonomy-card--tag {
    border-top-color: var(--tlm-brand-gold);
}

.taxonomy-card:hover,
.taxonomy-card:focus-within {
    transform: translateY(-3px);
    border-color: var(--tlm-brand-gold);
    box-shadow: 0 0.6rem 1.2rem rgba(9, 28, 47, 0.13);
}

.taxonomy-card__body {
    position: relative;
    min-height: 8rem;
    padding: 1.25rem;
}

.taxonomy-card__mark {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1.25rem;
    place-items: center;
    border: 1px solid rgba(240, 173, 0, 0.5);
    border-radius: 50%;
    color: var(--tlm-brand-gold);
    font-size: 0.85rem;
    font-weight: 700;
}

.taxonomy-card__title {
    max-width: 85%;
    color: var(--tlm-brand-ink);
    font-size: 1.08rem;
    line-height: 1.35;
}

.taxonomy-card__arrow {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    color: var(--tlm-brand-gold);
    font-size: 1.25rem;
}

.taxonomy-back {
    display: inline-block;
    color: var(--tlm-brand-ink);
    font-size: 1.05rem;
    font-weight: 600;
}

.taxonomy-back:hover {
    color: var(--tlm-brand-gold);
}

@media (max-width: 575.98px) {
    .taxonomy-section__heading {
        display: block;
    }

    .taxonomy-section__rule {
        display: block;
        margin-top: 1rem;
    }
}
