:root {
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    color: #202124;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.event-feed {
    width: min(calc(100% - 32px), 720px);
    margin: 40px auto 80px;
}

.event {
    margin: 0 0 36px;
    overflow: hidden;
    border: 1px solid #dadce0;
    border-radius: 10px;
    background: #fff;
}

.event-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.event-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eceff1;
}

.event-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eceff1;
}

.event-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.event-content {
    padding: 20px 22px 22px;
}

.event h2 {
    margin: 0 0 8px;
    font-size: clamp(22px, 4vw, 28px);
    line-height: 1.15;
}

.event-date {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
}

.event-venue {
    margin-bottom: 14px;
    color: #5f6368;
    font-size: 15px;
}

.event-description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #3c4043;
    font-size: 16px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.event-link:hover h2 {
    text-decoration: underline;
}
.feed-ad {
    margin: 4px 0 46px;
    padding: 14px 4px;
    border-top: 1px solid #dadce0;
    border-bottom: 1px solid #dadce0;
    color: #5f6368;
    font-size: 14px;
    line-height: 1.4;
}

.feed-ad-label {
    display: block;
    margin-bottom: 3px;
    color: #80868b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.feed-ad a {
    color: #174ea6;
    font-weight: 700;
    text-decoration: none;
}

.feed-ad a:hover {
    text-decoration: underline;
}

.no-events {
    padding: 30px 0;
    border-top: 1px solid #dadce0;
    border-bottom: 1px solid #dadce0;
}

.event-cta {
    display: inline-block;
    margin-top: 18px;
    padding: 9px 14px;
    border: 1px solid #202124;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.event-link:hover .event-cta {
    background: #202124;
    color: #fff;
}

.event-image,
.event-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.event-image {
    object-fit: cover;
    object-position: top;
}

.event-image-placeholder {
    text-transform: uppercase;
    letter-spacing: .04em;
}

.event-description {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.event-card-link {
    display: block;
    color: inherit;
}

.event-card-link:hover {
    color: inherit;
}

.event-card-link:hover .card-title {
    text-decoration: underline;
}

.event-card-link:hover .btn {
    background-color: var(--bs-dark);
    color: var(--bs-white);
}

/* .event-title-link:hover,
.event-venue-link:hover {
    text-decoration: underline !important;
} */

@media (max-width: 600px) {
    .event-feed {
	   width: min(calc(100% - 24px), 720px);
	   margin-top: 20px;
    }

    .event {
	   margin-bottom: 34px;
    }

    .event-content {
	   padding-top: 14px;
    }

    .event-description {
	   font-size: 15px;
    }

    .feed-ad {
	   margin-bottom: 38px;
    }
}
