.lt-event-inquiry-form {
    --lt-event-inquiry-form--container--width: 1440px;
    --lt-event-inquiry-form--background-color: #fff;
    width: 100%;
    background-color: var(--lt-event-inquiry-form--background-color);
}

.lt-event-inquiry-form__container {
    display: grid;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    overflow: hidden;
    padding: 100px 10px;
    grid-template-columns: 1fr;
    grid-template-areas: "title" "image" "form";
    gap: 50px;
}

.lt-event-inquiry-form__form-title {
    grid-area: title;
}

.lt-event-inquiry-form__image-wrapper {
    grid-area: image;
}

.lt-event-inquiry-form__form {
    grid-area: form;
    margin-top: 25px;
}

.lt-event-inquiry-form__title {
    color: var(--wp--preset--color--black-100, #1c1c1c);
    font-family: var(--font--secondary), serif;
    font-size: var(--wp--preset--font-size--title-two);
    font-weight: 400;
    line-height: 94%;
    text-transform: uppercase;
    margin: 0;
}

.lt-event-inquiry-form__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .lt-event-inquiry-form__container {
        grid-template-columns: 1fr minmax(auto, 334px);
        grid-template-areas: "title image" "form image";
        gap: 95px;
        align-items: start;
    }
    .lt-event-inquiry-form__form {
        margin-top: 0;
    }
}

.lt-event-inquiry-form__form #hubspot-form-target,
.lt-event-inquiry-form__form #hubspot-form-target * {
    box-sizing: border-box;
    font-family: var(--font--primary, serif);
    color: var(--wp--preset--color--black-100, #1c1c1c);
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 15px;
    width: 100%;
}

.lt-event-inquiry-form__form #hubspot-form-target fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    display: contents;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-form-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(28, 28, 28, .20);
    transition: border-color .2s, border-bottom-width .2s;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:focus-within,
.lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:hover {
    border-bottom: 2px solid #1C1C1C;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-form-field>label {
    display: flex !important;
    align-items: center;
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.11px;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--wp--preset--color--black-100, #1C1C1C);
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-form-field>label .hs-form-required {
    margin-left: 6px;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-form-field .input {
    width: 100%;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-input,
.lt-event-inquiry-form__form #hubspot-form-target textarea,
.lt-event-inquiry-form__form #hubspot-form-target select {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
    background: transparent;
    outline: none;
    font-size: 15px;
    line-height: 1.44;
    letter-spacing: -0.15px;
    color: rgba(28, 28, 28, .75);
    transition: border-color .2s, box-shadow .2s;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-input::placeholder,
.lt-event-inquiry-form__form #hubspot-form-target textarea::placeholder,
.lt-event-inquiry-form__form #hubspot-form-target select::placeholder {
    color: rgba(28, 28, 28, .75);
}

.lt-event-inquiry-form__form #hubspot-form-target textarea {
    resize: none;
    min-height: 84px;
}

@media (min-width: 768px) {
    .lt-event-inquiry-form__form #hubspot-form-target textarea {
        min-height: 100px;
    }
}

.lt-event-inquiry-form__form #hubspot-form-target select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    padding-right: 28px;
    cursor: pointer;
}

.lt-event-inquiry-form__form #hubspot-form-target select::-ms-expand {
    display: none;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-fieldtype-select .input {
    position: relative;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-fieldtype-select .input::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 10px;
    height: 8px;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none"><path d="M5 7.5L0.669873 0.75L9.33013 0.75L5 7.5Z" fill="%231C1C1C"/></svg>');
    background-repeat: no-repeat;
    background-size: 10px 8px;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-error-msgs.inputs-list,
.lt-event-inquiry-form__form #hubspot-form-target .hs-error-msgs,
.lt-event-inquiry-form__form #hubspot-form-target .inputs-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 6px 0 0 !important;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-error-msg {
    color: var(--wp--preset--color--service-error, #E8382C);
    font-size: 14px;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-submit .actions {
    display: flex;
    gap: 5px;
    margin-top: 30px;
    align-items: center;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-submit .hs-button {
    border: none;
    background: transparent;
    color: var(--wp--preset--color--black-100, #1c1c1c);
    font-family: var(--font--primary), serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s, transform .06s;
    padding: 0;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-submit .actions::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'><path d='M14.342 4.5V11.8125C14.342 12.0363 14.2531 12.2509 14.0949 12.4091C13.9366 12.5674 13.722 12.6562 13.4983 12.6562C13.2745 12.6562 13.0599 12.5674 12.9016 12.4091C12.7434 12.2509 12.6545 12.0363 12.6545 11.8125V6.53906L5.09521 14.097C4.93671 14.2555 4.72172 14.3445 4.49756 14.3445C4.27339 14.3445 4.05841 14.2555 3.8999 14.097C3.74139 13.9384 3.65234 13.7235 3.65234 13.4993C3.65234 13.2751 3.74139 13.0601 3.8999 12.9016L11.4592 5.34375H6.18576C5.96198 5.34375 5.74737 5.25486 5.58914 5.09662C5.43091 4.93839 5.34201 4.72378 5.34201 4.5C5.34201 4.27622 5.43091 4.06161 5.58914 3.90338C5.74737 3.74514 5.96198 3.65625 6.18576 3.65625H13.4983C13.722 3.65625 13.9366 3.74514 14.0949 3.90338C14.2531 4.06161 14.342 4.27622 14.342 4.5Z' fill='%231C1C1C'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -5px;
    transition: all 0.3s ease;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-submit .hs-button:hover {
    opacity: .5;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-submit .hs-button:hover+.actions::after {
    opacity: 0.5;
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-submit .hs-button:active {
    transform: translateY(1px);
}

@media (min-width: 1024px) {
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form {
        grid-template-columns: 1fr 1fr;
        gap: 20px 15px;
        grid-template-areas: "firstname lastname" "email company" "level_ten_interest how_did_you_hear_about_level_ten_" "level_ten_event_date number_of_guests" "message message" "submit submit";
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="firstname"]) {
        grid-area: firstname;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="lastname"]) {
        grid-area: lastname;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="email"]) {
        grid-area: email;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="company"]) {
        grid-area: company;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="level_ten_interest"]) {
        grid-area: level_ten_interest;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="how_did_you_hear_about_level_ten_"]) {
        grid-area: how_did_you_hear_about_level_ten_;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="message"]) {
        grid-area: message;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="level_ten_event_date"]) {
        grid-area: level_ten_event_date;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="number_of_guests"]) {
        grid-area: number_of_guests;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-submit {
        grid-area: submit;
    }
}

@media (max-width: 767px) {
    .lt-event-inquiry-form__container {
        padding: 60px 15px;
        gap: 40px;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form {
        grid-template-columns: 1fr;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="firstname"]) {
        order: 1;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="lastname"]) {
        order: 2;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="email"]) {
        order: 3;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="company"]) {
        order: 4;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="level_ten_interest"]) {
        order: 5;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="how_did_you_hear_about_level_ten_"]) {
        order: 6;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="level_ten_event_date"]) {
        order: 7;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="number_of_guests"]) {
        order: 8;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-form-field:has([name="message"]) {
        order: 9;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-submit {
        order: 10;
    }
    .lt-event-inquiry-form__form #hubspot-form-target .hs-submit .actions {
        margin-top: 20px;
    }
}

@media (min-width: 768px) {
    .lt-event-inquiry-form__container {
        width: 100%;
        max-width: var(--lt-event-inquiry-form--container--width);
        margin: 0 auto;
        overflow: hidden;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1280px) {
    .lt-event-inquiry-form__form {
        max-width: 920px;
    }
    .lt-event-inquiry-form__container {
        gap: 95px;
    }
}

.lt-event-inquiry-form__form #hubspot-form-target .hs-form {
    max-width: 100%;
    width: 100%;
}
