.vanta-events-section {
--vanta-accent: #00b85a;
--vanta-text: #142033;
--vanta-muted: #667085;
--vanta-border: #e8eee9;
width: 100%;
min-width: 0;
padding: 22px 0;
color: var(--vanta-text);
box-sizing: border-box; container-type: inline-size;
}
.vanta-events-section *,
.vanta-events-section *::before,
.vanta-events-section *::after {
box-sizing: border-box;
} .vanta-events-section .vanta-section-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 18px;
margin-bottom: 16px;
}
.vanta-events-section .vanta-section-title {
position: relative;
margin: 0;
padding-bottom: 10px;
color: var(--vanta-text);
font-size: clamp(20px, 1.8vw, 28px);
line-height: 1.12;
font-weight: 760;
letter-spacing: -0.025em;
}
.vanta-events-section .vanta-section-title::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 28px;
height: 2px;
border-radius: 999px;
background: var(--vanta-accent);
}
.vanta-events-section .vanta-section-link {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--vanta-accent);
font-size: 11px;
line-height: 1.2;
font-weight: 760;
text-decoration: none;
white-space: nowrap;
} .vanta-events-layout {
display: grid;
gap: 16px;
min-width: 0;
} .vanta-event-featured {
display: grid;
grid-template-columns: minmax(150px, 0.92fr) minmax(0, 1.08fr);
min-width: 0;
overflow: hidden;
border: 1px solid var(--vanta-border);
border-radius: 10px;
background: #fff;
box-shadow: 0 10px 26px rgba(6, 43, 99, 0.045);
}
.vanta-event-featured-image {
position: relative;
display: block;
width: 100%;
min-width: 0; aspect-ratio: 16 / 11;
overflow: hidden;
background: #f3f8f5;
}
.vanta-event-featured-image img {
display: block;
width: 100%;
height: 100%;
max-width: none;
object-fit: cover;
}
.vanta-event-date-card {
position: absolute;
left: 16px;
top: 16px;
display: grid;
justify-items: center;
min-width: 58px;
padding: 10px 9px;
border-radius: 10px;
background: rgba(6, 43, 99, 0.72);
color: #fff;
line-height: 1;
backdrop-filter: blur(6px);
}
.vanta-event-date-card span,
.vanta-event-row-date span {
font-size: 10px;
font-weight: 760;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.vanta-event-date-card strong,
.vanta-event-row-date strong {
margin-top: 4px;
font-size: clamp(22px, 2.2vw, 30px);
font-weight: 520;
}
.vanta-event-date-card small,
.vanta-event-row-date small {
margin-top: 4px;
font-size: 10px;
opacity: 0.88;
}
.vanta-event-featured-body {
min-width: 0;
padding: clamp(18px, 2vw, 26px);
}
.vanta-event-type,
.vanta-event-small-type {
display: inline-flex;
width: max-content;
max-width: 100%;
color: var(--vanta-accent);
font-size: 10px;
line-height: 1.2;
font-weight: 760;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.vanta-event-featured-title {
margin: 8px 0 10px;
font-size: clamp(14px, 1.55vw, 18px);
line-height: 1.18;
font-weight: 760;
letter-spacing: -0.015em;
overflow-wrap: anywhere;
}
.vanta-event-featured-title a,
.vanta-event-row-title a {
color: inherit;
text-decoration: none;
}
.vanta-event-location {
margin: 0 0 10px;
color: var(--vanta-text);
font-size: 12px;
line-height: 1.5;
font-weight: 700;
}
.vanta-event-excerpt {
margin: 0 0 15px;
color: var(--vanta-muted);
font-size: 12px;
line-height: 1.52;
}
.vanta-event-register {
display: inline-flex;
align-items: center;
gap: 9px;
color: var(--vanta-accent);
font-size: 12px;
font-weight: 760;
text-decoration: none !important;
}
.vanta-event-register span {
font-size: 18px;
line-height: 1;
}
.vanta-event-register svg {
width: 1.6rem;
height: 1.6rem;
fill: currentColor;
}
span.icon svg {
width: 1em;
height: 1em;
fill: currentColor;
} .vanta-event-list {
display: grid;
min-width: 0;
border-top: 1px solid var(--vanta-border);
}
.vanta-event-row {
display: grid;
grid-template-columns: 64px minmax(0, 1fr) max-content;
align-items: center;
gap: 14px;
min-width: 0;
padding: 13px 0;
border-bottom: 1px solid var(--vanta-border);
}
.vanta-icon {
width: 1em;
height: 1em;
fill: currentColor;
vertical-align: middle;
margin: 0 4px;
}
.vanta-event-row-date {
display: grid;
justify-items: center;
color: var(--vanta-text);
text-decoration: none;
}
.vanta-event-row-date strong {
font-size: 23px;
}
.vanta-event-row-body {
min-width: 0;
}
.vanta-event-row-title {
max-width: 46ch;
margin: 6px 0 0;
font-size: clamp(12.5px, 1vw, 15px);
line-height: 1.28;
font-weight: 700;
letter-spacing: -0.01em;
overflow-wrap: anywhere;
}
.vanta-event-row-meta {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 8px;
color: var(--vanta-muted);
font-size: 11px;
line-height: 1.35;
font-weight: 620;
text-align: right;
white-space: nowrap;
}
.vanta-event-row-meta a {
color: var(--vanta-muted);
text-decoration: none;
font-size: 15px;
} .vanta-empty-state {
padding: 18px;
border: 1px dashed var(--vanta-border);
border-radius: 12px;
color: var(--vanta-muted);
font-size: 13px;
}  @container (min-width: 900px) {
.vanta-event-featured {
grid-template-columns: minmax(180px, 0.92fr) minmax(0, 1.08fr);
}
.vanta-event-featured-image {
aspect-ratio: 16 / 11;
}
} @container (max-width: 899px) {
.vanta-events-layout {
gap: 16px;
}
.vanta-event-featured {
grid-template-columns: minmax(170px, 0.9fr) minmax(0, 1.1fr);
}
.vanta-event-featured-image {
aspect-ratio: 16 / 11;
}
.vanta-event-featured-body {
padding: 20px;
}
.vanta-event-row {
grid-template-columns: 60px minmax(0, 1fr) max-content;
gap: 12px;
}
.vanta-event-row-title {
max-width: none;
}
} @container (max-width: 680px) {
.vanta-events-section {
padding: 18px 0;
}
.vanta-events-section .vanta-section-head {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 14px;
}
.vanta-events-section .vanta-section-title {
font-size: 22px;
}
.vanta-event-featured {
grid-template-columns: minmax(135px, 0.82fr) minmax(0, 1.18fr);
}
.vanta-event-featured-image {
aspect-ratio: 4 / 5;
}
.vanta-event-featured-body {
padding: 16px;
}
.vanta-event-date-card {
left: 10px;
top: 10px;
min-width: 48px;
padding: 8px 7px;
border-radius: 9px;
}
.vanta-event-date-card strong {
font-size: 21px;
}
.vanta-event-date-card span,
.vanta-event-date-card small {
font-size: 9px;
}
.vanta-event-featured-title {
font-size: 15px;
line-height: 1.22;
}
.vanta-event-location,
.vanta-event-excerpt {
font-size: 11.5px;
}
.vanta-event-excerpt {
margin-bottom: 12px;
}
.vanta-event-row {
grid-template-columns: 58px minmax(0, 1fr) max-content;
gap: 10px;
}
.vanta-event-row-meta {
font-size: 10.5px;
}
} @container (max-width: 520px) {
.vanta-events-section .vanta-section-head {
display: flex;
}
.vanta-events-section .vanta-section-link {
font-size: 10px;
}
.vanta-event-featured {
grid-template-columns: minmax(120px, 0.78fr) minmax(0, 1.22fr);
}
.vanta-event-featured-image {
aspect-ratio: 3 / 4;
}
.vanta-event-featured-body {
padding: 14px;
}
.vanta-event-type,
.vanta-event-small-type {
font-size: 9px;
}
.vanta-event-featured-title {
margin: 7px 0 8px;
font-size: 14px;
}
.vanta-event-location {
margin-bottom: 8px;
}
.vanta-event-excerpt {
display: none;
}
.vanta-event-register {
font-size: 11px;
}
.vanta-event-row {
grid-template-columns: 52px minmax(0, 1fr);
align-items: flex-start;
}
.vanta-event-row-meta {
grid-column: 2;
justify-content: flex-start;
text-align: left;
white-space: normal;
}
.vanta-event-row-date strong {
font-size: 21px;
}
.vanta-event-row-title {
font-size: 13.5px;
}
} @container (max-width: 390px) {
.vanta-events-section .vanta-section-head {
display: block;
}
.vanta-events-section .vanta-section-link {
margin-top: 10px;
}
.vanta-event-featured {
grid-template-columns: minmax(108px, 0.72fr) minmax(0, 1.28fr);
}
.vanta-event-featured-image {
aspect-ratio: 3 / 4;
}
.vanta-event-featured-body {
padding: 12px;
}
.vanta-event-featured-title {
font-size: 13.5px;
}
.vanta-event-location {
font-size: 11px;
}
.vanta-event-date-card {
left: 8px;
top: 8px;
min-width: 44px;
padding: 7px 6px;
}
.vanta-event-date-card strong {
font-size: 19px;
}
} @media (max-width: 760px) {
.vanta-events-section .vanta-section-head {
display: flex;
}
.vanta-event-featured {
grid-template-columns: minmax(120px, 0.78fr) minmax(0, 1.22fr);
}
.vanta-event-featured-image {
aspect-ratio: 3 / 4;
}
.vanta-event-featured-body {
padding: 14px;
}
.vanta-event-excerpt {
display: none;
}
.vanta-event-row {
grid-template-columns: 52px minmax(0, 1fr);
}
.vanta-event-row-meta {
grid-column: 2;
justify-content: flex-start;
text-align: left;
white-space: normal;
}
}