.has-text-align-justify {
    text-align: justify;
}

.wp-block-image, .wp-block-gallery {
    margin: 0px;
}

.ipq-form-section {
    margin-top: 32px;
}

.ipq-form-shell {
    padding: 32px;
    border: 1px solid #d9dee7;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.ipq-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.ipq-success {
    border: 1px solid #b7e4c7;
    background: #f0fff4;
    color: #1f5133;
}

.ipq-form-intro {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid #e7ecf3;
}

.ipq-form-intro__inner {
    font-size: 14px;
    line-height: 1.6;
}

.ipq-form__header {
    margin-bottom: 24px;
}

.ipq-form__title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.ipq-form__subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #475467;
}

.ipq-form__grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.ipq-form__grid--two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ipq-form__grid--single-col {
    grid-template-columns: 1fr;
}

.ipq-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ipq-field__label {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #111827;
}

.ipq-field__required {
    color: #c81e1e;
}

.ipq-field__input,
.ipq-field__select,
.ipq-field__textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cfd6e4;
    border-radius: 10px;
    background: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ipq-field__textarea {
    min-height: 140px;
    resize: vertical;
    padding-top: 14px;
}

.ipq-field__input:focus,
.ipq-field__select:focus,
.ipq-field__textarea:focus {
    outline: none;
    border-color: #98a2b3;
    box-shadow: 0 0 0 4px rgba(152, 162, 179, 0.18);
}

.ipq-field__input::placeholder,
.ipq-field__textarea::placeholder {
    color: #98a2b3;
}

.ipq-field__help {
    font-size: 13px;
    line-height: 1.5;
    color: #667085;
}

.ipq-form__actions {
    margin-top: 28px;
}

.ipq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.ipq-button--primary {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.16);
}

.ipq-button--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.ipq-button--primary:active {
    transform: translateY(0);
}

.ipq-form__legal {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.5;
    color: #667085;
}

.ipq-field--honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .ipq-form-shell {
        padding: 22px;
        border-radius: 14px;
    }

    .ipq-form__title {
        font-size: 24px;
    }

    .ipq-form__grid--two-cols {
        grid-template-columns: 1fr;
    }
}