/* CARDS */

.card {
    background: #faf8f4;
    border: 1px solid #e0d8ce;
    border-radius: 14px; /* rounded corners */
    padding: 0.75rem 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: hidden;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(60,80,40,0.12);
  transform: translateY(-3px);
}

.card:focus {
    outline: 3px solid #3d5c3d;
    outline-offset: 2px;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(circle at top, rgba(255,255,255,0.4), transparent);
    transition: opacity 0.2s;
}
.card-text {
    flex: 1;
}

.card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1e2e14;
    margin-bottom: 2px;
}

.card p {
    font-size: 13px;
    color: #4a6a4a;
}

.card-icon {
    font-size: 22px;
    flex-shrink: 0;
}
