/* BEM Styling for the Card */
.design-card {
    position: relative;

    /* Context for absolute children */
    width: 21vw;

    /* Adjust as needed */
    aspect-ratio: 1/1;

    /* Maintain square-ish shape */
    border-radius: 0.5rem;

    /* Rounded corners */
    overflow: hidden;

    /* Clip video/content to rounded corners */
    cursor: pointer;

    /* Indicate interactivity */
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) */
    /* Optional shadow */
}

.design-card__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Cover the area, might crop video */
    z-index: 1;

    /* Behind the overlay */
}

.design-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;

    /* Above the video */
    pointer-events: none;

    /* Allow hover events to pass through to the card */
    /* Padding for content */
    box-sizing: border-box;

    /* Include padding in width/height */
    display: flex;

    /* Use flex for easier positioning (alternative to absolute) */
    flex-direction: column;
    justify-content: space-between;

    /* Pushes icon to top, content to bottom */
}

.design-card__icon {
    width: 3.5rem;

    /* Adjust icon size */
    height: auto;

    /* Assuming a white SVG/PNG is used. If using a black icon: */
    /* filter: brightness(0) invert(1); */
    align-self: flex-start;

    /* Keep icon at the top left */
    margin-bottom: auto;

    /* Pushes content down */
}

.design-card__number {
    position: absolute;

    /* Absolute within the overlay */
    top: 25px;
    right: 25px;

    /* color: white */
    /* font-size: 3rem */
    /* Adjust size */
    /* font-weight: 700 */
    /* Bold */
    line-height: 1;
}

.design-card__content {
    align-self: flex-start;

    /* Keep content block at bottom left */
}

/* .design-card__title {
    color: white;
    font-size: 1.8rem; ||*| Adjust text size |*||
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Slight shadow for readability */
} */