:root {
    --slc-form-padding: 1.2rem;
    --slc-form-padding-inline: 1rem;
    --slc-contact-form-font-size: calc(18 / 16 * 1rem);
    --slc-input-padding: calc(10 / 16 * 1rem) calc( 16 / 16 *  1rem);
}

:root :where(p) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

:root :where(p) label {
    display: grid;
    place-items: center;
}

[class*="wpcf7-"] label {
    flex: 0 0 100%;
}
[class*="wpcf7-"] label br {
    display: none;
}
[class*="wpcf7-"] label span {
    display: block;
    min-height: 52px;
    width: 100%;
}
[class*="wpcf7-"] label br {
    display: none;
}

[class*="wpcf7-"] p > *:not(.wpcf7-spinner) {
    box-sizing:border-box;
    color: #333;
    font-family: var(--wp--preset--font-family--inter);
    font-size: var(--slc-contact-form-font-size);
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.6;
    min-height: calc(52 / 16 * 1rem);
    -moz-transition: all 250ms;
    -webkit-transition: all 250ms;
    transition: all 250ms;
}

[class*="wpcf7-"] input:not(input[type="submit"]),
[class*="wpcf7-"] textarea {
	font-size: var(--slc-contact-form-font-size);
    letter-spacing: 0;
    min-height: 52px;
    height: 100%;
    padding: var(--slc-input-padding);
    width: 100%;

}

[class*="wpcf7-"] p  input:focus,
[class*="wpcf7-"] p  textarea:focus {
    font-size: inherit;
    font-weight: 500;
    letter-spacing: normal;
    padding: var(--slc-input-padding);
}

[class*="wpcf7-"] input::placeholder,
[class*="wpcf7-"] textarea::placeholder {
    color: #333;
    letter-spacing:normal;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.5;
}

[class*="wpcf7-"] input:focus::placeholder,
[class*="wpcf7-"] textarea:focus::placeholder {
    letter-spacing: normal;
    color: #333;
    font-weight: 500;
    opacity: 0.5;
}

[class*="wpcf7-"] input[type="submit"] {
    background: #fff;
    border: 0;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    max-width: 150px;
    -moz-transition: all 250ms;
    -webkit-transition: all 250ms;
    transition: all 250ms;

}

[class*="wpcf7-"] input[type="submit"]:hover,
[class*="wpcf7-"] input[type="submit"]:active {
    background: #9b0909 !important;
    color: #fff;
}

.wpcf7-response-output {
    color: #000;
}
