/* Component: Card
 * Description: Provides a flexible card component with default, interactive, compact, and wide variants.
 *              Includes header and footer styling. Supports hover effects for interactive cards and
 *              adapts layout for compact and wide presentations. Utilizes CSS variables for color theming.
 */


/* Default Card Styles */
.smd-component_card {
    background-color: var(--color-background-deep);
    min-height: 250px;
    height: auto;
    width: 250px;
    border-radius: 25px;
    padding: 20px;
    text-decoration: none;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    color: white;
}

.smd-component_card h1 {
    margin-top: 0px;
}

.smd-component_card hr {
    margin-top: -15px;
}

.smd-component_card--glassy {
    background-color: var(--glassmorphism-bg);
    backdrop-filter: blur(18px) saturate(180%) brightness(1.15) contrast(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(180%) brightness(1.15) contrast(1.1);
    box-shadow:
        0 4px 24px 0 rgba(0, 0, 0, 0.25),
        0 1.5px 6px 0 rgba(255,255,255,0.15) inset;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}



/* Interactive card */
.smd-component_card--interactive {
    cursor: pointer;
    transition: all 0.3s ease;
}

.smd-component_card--interactive:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Compact card */
.smd-component_card--compact {
    min-height: 150px;
}

/* Wide card */
.smd-component_card--wide {
    width: 100%;
    max-width: 600px;
}

.smd-component_card-header {
    padding: 0px 12px 12px 0px;
    border-bottom: 1px solid var(--color-background-lighter);
    margin-bottom: 25px;
}

.smd-component_card-footer {
    padding: 12px 12px 0px 0px;
    border-top: 1px solid var(--color-background-lighter);
    margin-top: 25px;
}