/* ===============================================
   Contact Question Form Block Styles
   Using Kredlo Design System and global form styles
   =============================================== */

.contact-question-form-section {
    padding: 20px 0;
    overflow: hidden;
    background-color: #FFFFFF;
}

.contact-question-form-section__container {
    max-width: var(--form-container-max-width, 1400px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    align-items: start;
}

/* Content & Form Column */
.contact-question-form-section__content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-question-form-section__header {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.contact-question-form-section__title {
    /* Using .h2 styles from design system */
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 44px;
    line-height: 54px;
    letter-spacing: 0px;
    color: #000233;
    margin: 0 0 24px 0;
}

.contact-question-form-section__description {
    /* Using .ingress styles from design system */
    font-family: Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0px;
    color: #000233;
    margin: 0;
}

.contact-question-form-section__description p {
    margin: 0 0 16px 0;
    font-size: 18px;
}

.contact-question-form-section__description p:last-child {
    margin-bottom: 0;
}

/* Form Styling - relies on global form styles */
.contact-question-form-section__form {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.contact-question-form-section__form-placeholder {
    background: #F2EAE2; /* Using --beige from design system */
    border: 1px solid #A5A8A9; /* Using --ljusgrå from design system */
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.contact-question-form-section__form-placeholder p {
    margin: 0 0 8px 0;
    color: #868B8C; /* Using --grå from design system */
    font-family: Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-question-form-section__form-placeholder p:last-child {
    margin-bottom: 0;
    font-style: italic;
}

/* Image Column */
.contact-question-form-section__image-wrapper {
    position: relative;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    height: 100%;
    width: 100%;
}

@media(max-width: 768px) {
    .contact-question-form-section__image-wrapper {
        display: none;
    }
}


.contact-question-form-section__image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.contact-question-form-section__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    height: 100%;
}

.contact-question-form-section__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: #F9FAFB;
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    color: #6B7280;
}

.contact-question-form-section__image-placeholder .placeholder-content {
    text-align: center;
}

.contact-question-form-section__image-placeholder p {
    margin: 12px 0 0 0;
    font-size: 14px;
}

/* Form Integration - All form styling handled by global _form.scss
   This block only handles layout and spacing specific to this block */

/* Responsive Design - matching other block patterns */
@media (max-width: 1200px) {
    .contact-question-form-section__title {
        font-size: 36px; /* Scaled down from 44px */
        line-height: 44px;
    }
}

@media (max-width: 768px) {
    .contact-question-form-section__container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .contact-question-form-section__content-wrapper {
        gap: 30px;
    }

    .contact-question-form-section__title {
        font-size: 28px; /* Using .h3 size from design system */
        line-height: 34px;
    }

    .contact-question-form-section__description {
        font-size: 16px; /* Using .bröd size from design system */
        line-height: 26px;
    }

    .contact-question-form-section__image-placeholder {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-question-form-section__title {
        font-size: 24px; /* Using .h4 size from design system */
        line-height: 29px;
    }

}

/* Accessibility and print styles handled by global _form.scss */
