section[data-cattype="50034"] {
    padding: clamp(58px, 5vw, 78px) 0;
    background-color: #FBFAF6;
}

[data-cattype="50034"] > .container {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 820px;
    margin: auto;
    padding: 0;
}


/* ================================
   TITLE
================================ */

[data-cattype="50034"] h2 {
    margin: 0;
    color: #536B3B;
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(42px, 3.6vw, 54px);
    font-weight: 400;
    line-height: 1.05;
    text-align: center;
    text-transform: none;
}

[data-cattype="50034"] hr {
    width: 72px;
    margin: 16px auto 34px;
    border: 0;
    border-top: 2px solid #D87958;
    opacity: 1;
}


/* ================================
   FORM WRAPPER
================================ */

[data-cattype="50034"] .wrapper_form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: calc(100% - 40px);
    max-width: 720px;

    margin: 0 auto;

    column-gap: 20px;
    row-gap: 26px;

    text-align: left;
}


/* ================================
   FORM INTRO / TEXT CONTENT
   Always Full Width
================================ */

[data-cattype="50034"] .wrapper_form > p,
[data-cattype="50034"] .wrapper_form > .text,
[data-cattype="50034"] .wrapper_form > .form-description,
[data-cattype="50034"] .wrapper_form > .form-description-text {
    grid-column: 1 / -1;

    width: 100%;
    margin: 0;

    color: #1E241C;

    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;

    text-align: center;
}


/* ================================
   FORM GROUP
================================ */

[data-cattype="50034"] .form-group {
    position: relative;

    display: block;

    width: 100%;
    margin: 0;
    padding: 0;

    border: 0;

    background-color: transparent;
}

[data-cattype="50034"] .form-group:nth-child(even) {
    background-color: transparent;
}

[data-cattype="50034"] .form-group > * {
    min-width: 0;
    max-width: none;
}

[data-cattype="50034"] .form-group > div {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ================================
   NON-FIELD CONTENT IN FORM GROUP
   Full Width
================================ */

[data-cattype="50034"] .form-group:not(:has(input)):not(:has(textarea)):not(:has(select)) {
    grid-column: 1 / -1;

    width: 100%;

    color: #1E241C;

    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
}

[data-cattype="50034"] .form-group:not(:has(input)):not(:has(textarea)):not(:has(select)) p {
    margin: 0 0 5px;
}

[data-cattype="50034"] .form-group:not(:has(input)):not(:has(textarea)):not(:has(select)) p:last-child {
    margin-bottom: 0;
}


/* ================================
   LABEL
================================ */

[data-cattype="50034"] .form-group > label,
[data-cattype="50034"] .control-label {
    position: absolute;

    top: -8px;
    left: 12px;

    z-index: 2;

    width: auto !important;

    margin: 0;
    padding: 0 6px;

    background-color: #FBFAF6;

    color: #777777;

    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.2;

    text-align: left;

    pointer-events: none;
}


/* ================================
   INPUT / SELECT / TEXTAREA
================================ */

[data-cattype="50034"] .form-control,
[data-cattype="50034"] input[type="text"],
[data-cattype="50034"] input[type="email"],
[data-cattype="50034"] input[type="password"],
[data-cattype="50034"] input[type="tel"],
[data-cattype="50034"] input[type="url"],
[data-cattype="50034"] select,
[data-cattype="50034"] textarea {
    box-sizing: border-box;

    display: block;

    width: 100%;
    min-height: 52px;

    margin: 0;
    padding: 13px 15px;

    border: 1px solid #D8C9A7;
    border-radius: 6px;

    outline: 0;

    background-color: #FFFFFF;
    color: #1E241C;

    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

[data-cattype="50034"] input::placeholder,
[data-cattype="50034"] textarea::placeholder {
    color: #8A8A84;
    opacity: 1;
}


/* ================================
   FOCUS
================================ */

[data-cattype="50034"] .form-control:focus,
[data-cattype="50034"] input:focus,
[data-cattype="50034"] select:focus,
[data-cattype="50034"] textarea:focus {
    border-color: #536B3B;

    box-shadow:
        0 0 0 3px rgba(83, 107, 59, 0.08);
}


/* ================================
   TEXTAREA
================================ */

[data-cattype="50034"] textarea.form-control,
[data-cattype="50034"] textarea {
    min-height: 125px;
    padding-top: 15px;
    resize: vertical;
}


/* Address / Message Full Width */

[data-cattype="50034"] .form-group:has(textarea) {
    grid-column: 1 / -1;
}


/* ================================
   SELECT
================================ */

[data-cattype="50034"] select {
    padding-right: 42px;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #D87958 50%
        ),
        linear-gradient(
            135deg,
            #D87958 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 14px) 50%;

    background-size:
        6px 6px,
        6px 6px;

    background-repeat: no-repeat;
}


/* ================================
   CHECKBOX / RADIO
================================ */

[data-cattype="50034"] input[type="checkbox"],
[data-cattype="50034"] input[type="radio"] {
    width: auto;
    min-height: 0;
    margin-right: 7px;
}


/* ================================
   VERIFICATION
================================ */

[data-cattype="50034"] .wrapper_image-verification {
    display: inline-flex;
    align-items: center;

    min-height: 48px;

    margin-right: 10px;
}

[data-cattype="50034"] .refresh-code {
    color: #D87958;
    cursor: pointer;
}


/* ================================
   SUBMIT ROW
================================ */

[data-cattype="50034"] .wrapper_form > .form-group:last-child {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    text-align: center;
}

[data-cattype="50034"] .wrapper_form > .form-group:last-child > div {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100% !important;

    text-align: center;
}


/* ================================
   SUBMIT BUTTON
================================ */

[data-cattype="50034"] .btn.btn-primary,
[data-cattype="50034"] input[type="submit"] {
    min-width: 140px;
    min-height: 48px;

    margin: 10px auto 0;
    padding: 11px 28px;

    border: 1px solid #536B3B;
    border-radius: 0;

    background-color: #536B3B;
    color: #FFFFFF;

    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;

    box-shadow: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

[data-cattype="50034"] .btn.btn-primary:hover,
[data-cattype="50034"] .btn.btn-primary:focus,
[data-cattype="50034"] input[type="submit"]:hover,
[data-cattype="50034"] input[type="submit"]:focus {
    border-color: #536B3B;

    background-color: #FFFFFF;
    color: #536B3B;
}


/* ================================
   ALERT
================================ */

[data-cattype="50034"] .alert {
    margin: 0 0 30px;
    padding: 16px 20px;

    border-radius: 0;

    font-family: 'DM Sans', Arial, sans-serif;
}

[data-cattype="50034"] .alert-success {
    border-color: #536B3B;

    background-color: #F7F0E3;
    color: #536B3B;
}

[data-cattype="50034"] .alert-danger {
    border-color: #D87958;

    background-color: #F7F0E3;
    color: #D87958;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 767px) {

    section[data-cattype="50034"] {
        padding: 52px 0 60px;
    }

    [data-cattype="50034"] .wrapper_form {
        grid-template-columns: 1fr;

        gap: 24px;

        width: calc(100% - 20px);
    }

    [data-cattype="50034"] .form-group,
    [data-cattype="50034"] .form-group:has(textarea),
    [data-cattype="50034"] .form-group:not(:has(input)):not(:has(textarea)):not(:has(select)),
    [data-cattype="50034"] .wrapper_form > .form-group:last-child {
        grid-column: auto;
    }

    [data-cattype="50034"] .wrapper_form > p,
    [data-cattype="50034"] .wrapper_form > .text,
    [data-cattype="50034"] .wrapper_form > .form-description,
    [data-cattype="50034"] .wrapper_form > .form-description-text {
        grid-column: auto;
    }

    [data-cattype="50034"] .form-group > label,
    [data-cattype="50034"] .control-label {
        top: -8px;
        left: 11px;
    }

    [data-cattype="50034"] .wrapper_form > .form-group:last-child {
        display: flex;
        justify-content: center;
    }

}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

    [data-cattype="50034"] > .container {
        width: calc(100% - 32px);
    }

    [data-cattype="50034"] h2 {
        font-size: 40px;
    }

    [data-cattype="50034"] hr {
        margin-bottom: 28px;
    }

    [data-cattype="50034"] .wrapper_form {
        width: 100%;
        gap: 22px;
    }

    [data-cattype="50034"] .form-group > label,
    [data-cattype="50034"] .control-label {
        font-size: 11px;
    }

    [data-cattype="50034"] .form-control,
    [data-cattype="50034"] input[type="text"],
    [data-cattype="50034"] input[type="email"],
    [data-cattype="50034"] input[type="password"],
    [data-cattype="50034"] input[type="tel"],
    [data-cattype="50034"] input[type="url"],
    [data-cattype="50034"] select {
        min-height: 50px;

        font-size: 15px;
    }

    [data-cattype="50034"] textarea.form-control,
    [data-cattype="50034"] textarea {
        min-height: 120px;
    }

}