/* Tree comparison cards */
.tree-compare-card {
    background: var(--light);
    transition: transform .25s ease, box-shadow .25s ease;
}

.tree-compare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .12);
}

.tree-compare-img-box {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio, keeps both tree photos aligned */
    overflow: hidden;
}

.tree-compare-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tree-compare-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .03em;
}

.tree-compare-fact {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.tree-compare-fact img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-top: .1rem;
}

.tree-compare-fact h6 {
    margin-bottom: .25rem;
}

/* "VS" divider between the two comparison cards, desktop only */
.tree-compare-vs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--light);
    font-weight: 700;
    font-size: .9rem;
    z-index: 3;
    box-shadow: 0 0 0 6px var(--light);
}
