/*
 * practice-areas - the six practice area cards.
 *
 * The whole card is one anchor, so the tap target is the card and not just
 * the "Learn more" line.
 */

.practice-card {
    display: block;
    height: 100%;
    text-decoration: none;
    background-color: var(--site-surface);
    border: 1px solid var(--site-border);
    border-top: 3px solid var(--site-primary);
    padding: 1.5rem 1.25rem;
    color: var(--site-text);
    transition: border-color 0.15s, transform 0.15s;
}

.practice-card:hover {
    border-top-color: var(--site-accent-ink);
    transform: translateY(-2px);
}

.practice-card > i {
    font-size: 1.5rem;
    color: var(--site-accent-ink);
}

.practice-card h3 {
    margin: 0.85rem 0 0.4rem;
}

.practice-card p {
    color: var(--site-muted);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* The "Learn more" affordance is a label, not a sentence, so it stays a step
   below the copy above it rather than following it up to 1.2rem. */
.practice-card .more {
    font-weight: 600;
    color: var(--site-link);
    font-size: 1rem;
}

.practice-intro {
    max-width: 56ch;
}
