.gallery-contact {
    padding-top: var(--gc-pt, 6rem);
    padding-bottom: var(--gc-pb, 6rem);
    overflow: hidden;

    .inner-row {
        align-items: stretch;
    }

    .img-col {
        padding-left: 0;
        padding-right: 0;
        flex: 0 0 auto;
        width: calc(50% + (100vw - 100%) / 2);
        max-width: calc(50% + (100vw - 100%) / 2);
        margin-inline-start: calc((100% - 100vw) / 2);
    }

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

    .content-col {
        display: flex;
        align-items: flex-start;
        padding-right: 4rem;
    }

    .content-wrap {
        width: 100%;
        max-width: 56rem;
        margin-left: 0;
        margin-right: auto;
        padding: 4rem 0;
        color: black;
    }

    .content-heading {
        font-family: var(--font-heading-family);
        font-weight: 800;
        font-size: 4.8rem;
        line-height: 1.1;
        margin: 0 0 2rem;
        letter-spacing: initial;
        color: black;
    }

    .content-richtext {
        font-size: 1.6rem;
        line-height: 1.7;
        margin-bottom: 3rem;
        color: black;

        p,
        h1, h2, h3, h4, h5, h6,
        ul, ol, li,
        strong, em, span {
            color: black;
        }

        h1, h2, h3, h4, h5, h6,
        strong, b {
            font-weight: 800;
        }

        p {
            margin: 0 0 1rem;
        }

        a {
            text-decoration: underline;
            color: black;
        }
    }

    .form-wrapper {
        width: 100%;
        color: black;
    }

    .form-title {
        font-family: var(--font-heading-family);
        font-weight: 800;
        font-size: 3.6rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
        letter-spacing: initial;
        color: black;
    }

    .form-subtitle {
        font-size: 1.6rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        color: black;
    }

    .form-row {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1rem;
        width: 100%;
    }

    .form-input {
        border: 1px solid black;
        background: transparent;
        font-size: 1.6rem;
        padding: 1rem 1.5rem;
        font-family: var(--font-body-family) !important;
        direction: rtl;
        text-align: right;
        flex: 0 0 100%;
        max-width: 100%;
        color: black;

        &:focus,
        &:focus-visible {
            outline: none;
            box-shadow: none;
            border-color: black;
        }

        &::placeholder {
            color: rgba(0, 0, 0, 0.55);
        }

        &.half {
            flex: 0 0 calc(50% - 0.5rem);
            max-width: calc(50% - 0.5rem);
        }
    }

    textarea.form-input {
        resize: vertical;
        min-height: 10rem;
    }

    .form-row-actions {
        align-items: center;
        margin-top: 1rem;
    }

    .checkboxes {
        flex: 0 0 65%;
        max-width: 65%;

        .checkbox-wrapper {
            margin-bottom: 0.6rem;
            display: flex;
            align-items: center;

            input[type="checkbox"] {
                margin-left: 0.6rem;
                margin-right: 0;
            }

            label {
                color: black;
                font-size: 1.3rem;
                line-height: 1.4;
                cursor: pointer;
            }
        }
    }

    .btn-wrap {
        flex: 0 0 calc(35% - 1rem);
        max-width: calc(35% - 1rem);

        .btn {
            width: 100%;
            min-width: initial;
            padding: 0.9rem;
        }
    }

    .response-message {
        margin-top: 1rem;
        font-size: 1.4rem;

        &.success {
            color: green;
        }

        &.error {
            color: red;
        }
    }

    @media (max-width: 991px) {

        padding-top: 0;

        .inner-row {
            flex-direction: column;
            flex-wrap: nowrap;
        }

        .img-col {
            flex: 0 0 100%;
            width: 100%;
            max-width: 100%;
            margin-inline-start: 0;
            padding: 0;
        }

        .content-col {
            flex: 0 0 100%;
            max-width: 100%;
            width: 100%;
            padding-right: 1.5rem;
        }

        .contact-img {
            width: 100%;
            height: auto;
            max-height: 60vh;
        }

        .content-wrap {
            padding: 2.4rem 0;
            max-width: 100%;
            margin-left: auto;
        }

        .content-heading {
            font-size: 3.2rem;
        }

        .form-title {
            font-size: 2.6rem;
        }

        .content-richtext {
            font-size: 1.4rem;
        }

        .form-input {
            font-size: 1.4rem;
            padding: 1rem;
        }

        .checkboxes,
        .btn-wrap {
            flex: 0 0 100%;
            max-width: 100%;
        }

        .checkboxes .checkbox-wrapper label {
            font-size: 1.2rem;
        }
    }
}
