/* Base card styles */
.pw-card {
    display: block;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* When card is clickable (has data-card-url attribute) */
.pw-card[data-card-url] {
    cursor: pointer;
}

/* Smooth transitions for all children (for group-hover effects) */
.pw-card * {
    transition: opacity 0.3s ease-in-out,
    transform 0.3s ease-in-out,
    color 0.3s ease-in-out,
    background-color 0.3s ease-in-out,
    border-color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

/* When card is clickable, children inherit pointer cursor */
.pw-card[data-card-url] * {
    cursor: inherit;
}

/* Interactive children should still show pointer */
.pw-card[data-card-url] a,
.pw-card[data-card-url] button,
.pw-card[data-card-url] input,
.pw-card[data-card-url] textarea,
.pw-card[data-card-url] select {
    cursor: pointer;
}