.module-bundle-card {
    display: flex;
    padding: var(--spacing-ld);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-ld);
    flex: 1 0 0;
    border-radius: var(--radius-xxl);
    border: 1px solid var(--content-stroke);
    background: var(--content-bg);
    transition: all 0.3s ease-in-out;
    user-select: none;
}

.module-bundle-card .top {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    flex-grow: 1;
    width: 100%;
}

.module-bundle-card .top .arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var( --radius-sm);
    width: 24px;
    height: 24px;
    background-color: transparent;
    overflow: hidden;
    isolation: isolate;
}
.module-bundle-card .top .arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--gradient-red);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
}
.module-bundle-card .top .arrow .icon {
    position: relative;
    z-index: 1;
    color: var(--white-black-70);
    width: 16px;
    height: 16px;
}
.module-bundle-card .top .icon {
    width: 24px;
    height: 24px;
    color: var(--sodon-100);
}

.module-bundle-card .title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
    flex: 1 0 0;
    align-self: stretch;
    overflow: hidden;
    color: var(--white-black-70);
    text-overflow: ellipsis;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 21.6px */
}
.module-bundle-card .title .caption {
    overflow: hidden;
    color: var(--white-black-50);
    text-overflow: ellipsis;
    /* Caption */
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.module-bundle-card .grid {
    display: inline-grid;
    padding: 0 var(--spacing-s, 8px);
    row-gap: var(--spacing-s, 8px);
    column-gap: var(--spacing-s, 8px);
    align-self: stretch;
    grid-template-rows: repeat(5,fit-content(100%));
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-auto-flow: row;
}
.module-bundle-card .grid-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm, 12px);
    align-self: stretch;
    grid-row: span 1;
    grid-column: span 1;
    justify-self: stretch;
    overflow: hidden;
    color: var(--white-black-50, rgba(255, 255, 255, 0.50));
    text-overflow: ellipsis;
    font-family: "Roboto Condensed";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 100%; /* 16px */
}
.module-bundle-card .grid-item::before {
    content: url("../icons/check.svg");
}


.module-bundle-card:hover {
    background: var(--content-bg-hover);
}
.module-bundle-card:hover .arrow::before {
    opacity: 1;
}

/* Module Card */
.module-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--spacing-ms);
    border-radius: var(--radius-xxl);
    border: 1px solid var(--content-stroke);
    background: var(--content-bg);
    transition: all 0.3s ease-in-out;
    user-select: none;
    text-decoration: none;
    gap: var(--spacing-md);
}

.module-card .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.module-card .top .top-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sodon-100);
}

.module-card .top .action,
.module-card .top .plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--white-black-50);
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.module-card .top .action svg,
.module-card .top .plus svg,
.module-card .top .action .icon,
.module-card .top .plus .icon {
    width: 16px;
    height: 16px;
}

.module-card .content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxs);
}

.module-card .title {
    color: var(--white-black-70);
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    transition: color 0.3s ease;
}

.module-card .caption {
    color: var(--white-black-30);
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    transition: color 0.3s ease;
}

.module-card:hover {
    background: var(--content-bg-hover);
    border-color: var(--stroke-primary);
}

.module-card:hover .top .action,
.module-card:hover .top .plus {
    color: var(--white-black-90);
}

.module-card:hover .title {
    color: var(--white-black-100);
}



.work-card {
    /*position: relative;*/
    display: flex;
    flex-flow: column;
    gap: var(--spacing-ms);
    text-decoration: none;
}

.work-card .img-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.work-card .img-wrapper img {
    border: 1px solid var(--stroke-primary);
    border-radius: var(--radius-xl);
    object-fit: cover;
    aspect-ratio: 6/4;
    width: 100%;
    transition: border-color 0.3s ease;
}
.work-card .content {
    display: flex;
    gap: var(--spacing-s);
}
.work-card .title {
    color: var(--white-black-70);
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    transition: color 0.3s ease;
}
.work-card .caption {
    overflow: hidden;
    color: var(--white-black-30, rgba(255, 255, 255, 0.35));
    text-overflow: ellipsis;

    /* Body Text/Large */
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
    transition: color 0.3s ease;
}
.work-card .overlay {
    position: absolute;
    top: 50%;
    right: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    transform: translate(50%, -50%);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white-black-100);
    background-color: var(--sodon-100);
    font-family: "Roboto Condensed", sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card .overlay svg,
.work-card .overlay .icon {
    width: 20px;
    height: 20px;
}
.work-card:hover .overlay {
    opacity: 1;
}
.work-card:hover .title {
    color: var(--sodon-100);
}
.work-card:hover .caption {
    color: var(--sodon-50);
}
.work-card:hover img {
    border-color: var(--sodon-100);
}