/* Contact */
.layout-contact .img-container.aspect-ratio-contact {
    aspect-ratio: 2 / 1;
    position: relative;
}
@media (min-width: 768px) {
    .layout-contact .img-container.aspect-ratio-contact {
        aspect-ratio: 1920 / 585;
    }
}
.layout-contact .img-container.aspect-ratio-contact img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout-contact .outter-form-container {
    background: var(--color-white);
    padding: 20px;
}
@media (min-width: 768px) {
    .layout-contact .outter-form-container {
        padding: 40px;
    }
}
@media (min-width: 1200px) {
    .layout-contact .outter-form-container {
        padding: 60px;
    }
}
.layout-contact .wpcf7 {
    max-width: 100%;
}

.layout-contact .wpcf7 .wpcf7-form p {
    margin-bottom: 0;
}

.layout-contact .wpcf7 .wpcf7-form label {
    width: 100%;
    background-color: transparent;
    color: var(--color-black);
    display: block;
}
.layout-contact .wpcf7 .wpcf7-form .acceptance label {
    display: flex;
}

.layout-contact .wpcf7 input[type=text],
.layout-contact .wpcf7 input[type=email],
.layout-contact .wpcf7 input[type=tel],
.layout-contact .wpcf7 textarea {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    border-bottom: 1px solid #E8E8E8 !important;
    color: var(--color-black) !important;
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    font-size: 1rem;
    font-family: var(--font-b);
    padding: 0 0 15px 11px !important;
    margin: 0;
}

.layout-contact .wpcf7 input[type=text]::placeholder,
.layout-contact .wpcf7 input[type=email]::placeholder,
.layout-contact .wpcf7 input[type=tel]::placeholder,
.layout-contact .wpcf7 textarea::placeholder {
    color: var(--color-black);
    font-family: var(--font-b);
}

.layout-contact .wpcf7-list-item {
    margin: 0;
}

/* .layout-contact .wpcf7-list-item-label {
    margin-inline-start: 10px;
} */
.layout-contact .wpcf7-list-item {
    margin: 0;
}

.layout-contact .wpcf7 .wpcf7-not-valid-tip {
    margin-top: 10px;
}

.layout-contact .wpcf7-not-valid-tip {
    background: var(--color-beige);
}
/* Input Checkbox Override */
.wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* UNCHECKED SVG */
.wpcf7-acceptance input[type="checkbox"]:not(:checked) {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='19' height='19' rx='5.5' stroke='%23D2D2D2'/%3E%3C/svg%3E");
}

/* CHECKED SVG */
.wpcf7-acceptance input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='19' height='19' rx='5.5' stroke='%23D2D2D2'/%3E%3Cpath d='M6.25 9.77941L9.93421 13.75L14.6531 6.76357L15 6.25' stroke='%232C2C2C' stroke-linecap='round'/%3E%3C/svg%3E");
}