.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-bottom: 3.6rem
}

.card {
    background-color: var(--color-lilly-neutral-rose-tint);
    border-radius: 2.4rem;
    position: relative;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    gap: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 8px 16px rgba(0, 0, 0, .1), 0 16px 32px rgba(0, 0, 0, .1);
    transition: box-shadow .3s ease, transform .3s ease
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .12), 0 12px 24px rgba(0, 0, 0, .12), 0 24px 48px rgba(0, 0, 0, .15);
    transform: translateY(-4px)
}

.card-image {
    height: 15rem;
    border-radius: 2.4rem 2.4rem 0 0;
    overflow: hidden;
    position: relative
}

.card-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.card-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    transition: transform 0.3s ease;
}

.card:hover .card-banner {
    transform: scale(1.05);
}

.card-content,
.card-header {
    padding: 1.2rem;
    text-align: left;
    user-select: none
}

.card-header {
    padding-bottom: 1.6rem;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    gap: .8rem
}

.card-header-time {
    font: var(--lds-g-typography-ringside-special-caption);
    color: var(--color-lilly-red);
    text-transform: uppercase;
}

.card-title-link {
    text-decoration: none;
    color: inherit;
}

.card-content {
    flex-grow: 1
}

.cme-text-badge,
.powered-by-medical-badge {
    position: absolute;
    top: 1.5rem;
    padding: .6rem 1rem;
    background-color: var(--color-lilly-transparent-black);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 3.2rem;
    font: var(--lds-g-typography-ringside-special-caption);
    color: var(--color-lilly-white);
    text-transform: uppercase;
    z-index: 10;
}
.cme-text-badge {
    right: 1.5rem;
}
.powered-by-medical-badge {
    right: 1.5rem;
    bottom: 1.5rem;
    top: auto;
}



.card-button a,
.card-content,
.card-date-time,
.card-header h3 {
    margin: 0
}

.card-header h3 {
    font: var(--lds-g-typography-ringside-heading-6);
    overflow: hidden;
}

.card-date-time {
    font: var(--lds-g-typography-ringside-body-small);
    padding: 1.2rem;
    display: flex;
    flex-direction: row;
    gap: 1.6rem;
    align-items: start;
    justify-content: space-between;
    text-align: center;
}

.card-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;

    color: var(--color-lilly-dark-grey)
}

.card-info-icon {
    width: 3.2rem;
    height: 3.2rem;
    flex-shrink: 0
}

.card-button {
    padding: 1.2rem
}

.card-button a {
    color: var(--color-lilly-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    position: relative;
    transition: all .3s ease;
    font: var(--lds-g-typography-ringside-special-cta-text-link);
}

.card-button a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-lilly-red);
    transition: width .4s cubic-bezier(.25, .46, .45, .94)
}

.card-button:hover a::after {
    width: calc(100% - 3.2rem)
}

.card-button img {
    transition: transform .3s cubic-bezier(.25, .46, .45, .94);
    filter: brightness(0) saturate(100%) invert(18%) sepia(92%) saturate(6289%) hue-rotate(357deg) brightness(89%) contrast(109%)
}

.card-button:hover img {
    transform: translateX(4px)
}

.card-button-placeholder {
    color: var(--color-lilly-dark-grey);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    position: relative;
    font: var(--lds-g-typography-ringside-special-cta-text-link);
    cursor: default;
    opacity: 0.7
}

.card-image {
    height: 25rem;
}

@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}