.th-guest-list-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
    align-items: normal;
}

.th-guest-list-form__event {
    display: flex;
    flex-direction: column;
}

.th-guest-list-form__event-top {
    padding: 67px 32px;
    background-color: #0d0d0d;
}

.th-guest-list-form__overline {
    margin: 0 0 20px;
    color: #f2eee5;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;
    text-transform: uppercase;
}

.th-guest-list-form__title {
    margin: 0 0 8px;
    color: #f2eee5;
    font-family: var(--font-primary);
    font-size: 80px;
    font-weight: 400;
    line-height: 90%;
    letter-spacing: 0;
    text-transform: uppercase;
}

.th-guest-list-form__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.th-guest-list-form__meta span {
    color: #f2eee5;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;
    text-transform: uppercase;
}

.th-guest-list-form__meta span:first-child {
    color: #81f249;
}

.th-guest-list-form__event-image {
    position: relative;
    flex: 1;
    min-height: 260px;
    overflow: hidden;
}

.th-guest-list-form__event-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #00000033;
    pointer-events: none;
}

.th-guest-list-form__event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.th-guest-list-form__form-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 45px 25px;
    background: #f2eee5;
}

.th-guest-list-form__logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 56px;
}

.th-guest-list-form__logo-link {
    display: inline-flex;
}

.th-guest-list-form__logo-link img,
.th-guest-list-form__logo-link svg,
.th-guest-list-form__logo-wrap img,
.th-guest-list-form__logo-wrap svg {
    width: 30px;
    height: auto;
}

.th-guest-list-form__form-header {
    text-align: center;
    margin-bottom: 20px;
}

.th-guest-list-form__form-title {
    margin: 0 0 16px;
    color: #0d0d0d;
    font-family: var(--font-primary);
    font-size: 44px;
    font-weight: 400;
    line-height: 90%;
    letter-spacing: 0;
    text-transform: uppercase;
}

.th-guest-list-form__form-text {
    margin: 0 0 20px;
    color: #0d0d0d;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;
}

.th-guest-list-form__form,
.th-guest-list-form__thank-you {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.th-guest-list-form__form-main {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 40px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.th-guest-list-form__footer {
    border-top: 1px solid rgba(13, 13, 13, .12);
    padding-top: 16px;
}

.th-guest-list-form__footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 150%;
}

.th-guest-list-form__footer-inner a {
    color: #0D0D0D;
    text-decoration: underline;
}

.th-guest-list-form__thank-you {
    display: none;
}

.th-guest-list-form.is-thank-you .th-guest-list-form__form {
    display: none;
}

.th-guest-list-form.is-thank-you .th-guest-list-form__form-header {
    display: none;
}

.th-guest-list-form.is-thank-you .th-guest-list-form__thank-you {
    display: block;
    margin: auto;
    text-align: center;
}

.th-guest-list-form__field {
    margin-bottom: 30px;
}

.th-guest-list-form__field label {
    display: block;
    margin: 0 0 10px;
    color: #0d0d0d;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;
    text-transform: uppercase;
}

.th-guest-list-form__field input[type="text"],
.th-guest-list-form__field input[type="email"] {
    width: 100%;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid #0d0d0d80;
    background: transparent;
    border-radius: 0;
    color: #0d0d0d;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 400;
    line-height: 150%;
}

.th-guest-list-form__field input[type="text"]:focus,
.th-guest-list-form__field input[type="email"]:focus {
    outline: none;
    border-bottom-color: #0d0d0d;
}

.th-guest-list-form__field--terms {
    margin-top: 8px;
}

.th-guest-list-form__field--terms label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-transform: none;
}

.th-guest-list-form__field--terms label a {
    color: inherit;
    text-decoration: underline;
    transition: .3s;
}

.th-guest-list-form__field--terms label a:hover {
    text-decoration: none;
}

.th-guest-list-form__field--terms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.th-guest-list-form__actions {
    margin-top: 28px;
    text-align: center;
}

.th-guest-list-form__response {
    display: none;
    margin-top: 12px;
    color: #ac0003;
    font-size: 12px;
    line-height: 1.4;
}

.not-valid-tip {
    display: none;
    color: #ac0003;
    font-size: 12px;
    margin-top: 6px;
}

@media (max-width: 1200px) {

}

@media (max-width: 1024px) {
    .th-guest-list-form {
        grid-template-columns: 1fr;
    }

    .th-guest-list-form__title {
        font-size: 44px;
    }

    .th-guest-list-form__event-top {
        padding: 60px 20px;
    }

    .th-guest-list-form__form-side {
        padding: 24px 20px 20px;
    }
}
