.twc-churchsuite-events {
    width: 100%;
    display: grid;
    grid-gap: 30px;
    max-width: var(--wp--style--global--wide-size);
    margin-left:  auto;
    margin-right:  auto;
}

.twc-churchsuite-events__item {
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
    border-radius: 9px;
    position: relative;
    transition: transform 0.2s ease 0s;
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
}

.twc-churchsuite-events__link {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

.twc-churchsuite-events__item:hover {
    transform: translateY(-.25rem);
}

.twc-churchsuite-events__item img {
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    vertical-align: middle;
    height: 210px;
}

.twc-churchsuite-events__details {
    padding: 10px 20px 20px 20px;
}

.twc-churchsuite-events__details h3 {
    font-size: var(--wp--preset--font-size--medium);
    margin-top: 20px;
    margin-bottom: 10px;
}

.twc-churchsuite-events__details p i {
    margin-right: 10px;
}

.twc-churchsuite-events__details p {
    font-size: var(--wp--preset--font-size--normal);
    margin-bottom: 0px;
}

.twc-churchsuite-events__round-date {
    width: 80px;
    height: 80px;
    background: white;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);
    font-weight: 600;
    border-radius: 9999px;
    display: flex;
    gap: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 10px;
    margin-top: -60px;
}

.twc-churchsuite-events__round-date .day,
.twc-churchsuite-events__round-date .month {
    font-size: .75rem;
    line-height: 1rem;
    text-transform: uppercase;
}

.twc-churchsuite-events__round-date .date {
    font-size: 1.875rem;
    line-height: 1rem;
}

.twc-churchsuite-events__details .location:has(span:empty) {
    display: none;
}

.twc-churchsuite-events__details .signup:has(span:empty) {
    display: none;
}

.twc-churchsuite-events__details p {
    margin-top: 0px;
}

@media (min-width: 640px) {
    .twc-churchsuite-events {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (min-width: 1024px) {
    .twc-churchsuite-events {
        grid-template-columns: repeat(4, 1fr);
    }
}