.events .event {
    background-color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    margin-bottom: 36px;
    box-shadow: 2px 4px 12px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    max-height: 12rem;
}

.event-thumbnail {
    width: 10rem;
    height: 10rem;
    background-size: cover;
    background-position: center;
}

.events .event .event-text {
    display: flex;
    flex-direction: column;
    width: min-content;
    flex-grow: 1;
}

.events .event .event-text .event-title {
    flex-grow: 1;
    font-size: x-large;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events .event .event-text .event-description {
    color: #0d0e0f;
    opacity: 0.64;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}
.events .event .event-text .event-description::after {
    display: block;
    content: "";
    box-shadow: 0 -2rem 1rem -1.5rem white inset;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
}

.events .event .event-date {
    min-width: max-content;
    text-align: right;
    font-size: large;
    color: #0d0e0f;
    opacity: 0.8;
}

.event-type-badge {
    border: solid 1px rgba(120, 170, 4, 0.34);
    background-color: rgba(120, 170, 4, 0.26);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.32px;
    color: #78aa04;
    transition: all 0.1s;
}

.event-type-badge:hover {
    text-decoration: none;
    color: hsl(78deg 95% 20%);
}

.event .rounded {
    border-radius: 1rem !important;
}

.event .opaque {
    opacity: 1;
}

.event .o-64 {
    opacity: 0.64;
}

.event .back-link {
    margin-bottom: 2rem;
    display: inline-block;
}

.event-header {
    width: 100%;
}

.event .h1 {
    font-weight: bold;
    font-size: x-large;
    color: #0d0e0f;
    margin-bottom: 2rem;
}

.event .h2 {
    font-weight: bold;
    font-size: large;
    color: #0d0e0f;
    margin-top: 1.5rem;
}

.event .h3 {
    font-weight: bold;
    font-size: medium;
    color: #0d0e0f;
    margin-top: 1.5rem;
}

.event p {
    color: #0d0e0f;
    opacity: 0.64;
}

.event .speakers {
    text-align: center;
}

.event .speakers .col-md-4 {
    padding: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}

.speaker-image {
    width: 5rem;
    height: 5rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.event .speakers .name {
    color: #0d0e0f;
    font-weight: bold;
}

.event .speakers .title {
    color: #0d0e0f;
    opacity: 0.64;
}

.event .signup-form {
    background-color: #1a4e5b;
    text-align: center;
    color: white;
    padding: 2rem;
}

.event .signup-form h2 {
    color: white;
}

.event .signup-form label {
    width: 100%;
    position: relative;
    margin: 0.5rem 0;
}

.event .signup-form .centered {
    margin-left: auto;
    margin-right: auto;
}

.event .signup-form input.box {
    background: none;
    border: 2px solid white;
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: white;
    width: 100%;
}

.event .call-to-action {
    text-align: center;
    max-width: 25rem;
    margin-left: auto;
    margin-right: auto;
}

.event .call-to-action h2 {
    font-weight: bold;
}

.event .text-small {
    font-size: small;
}

.event .call-to-action .contact-email {
    font-size: x-large;
    font-weight: bold;
    display: block;
}
