/**
 * Integra Default Content Block Styles
 */

/* Wrapper */
.integradefaultcontent-wrapper {
    position: relative;
    width: 100%;
}

/* Row Layout */
.integradefaultcontent-row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    /*align-items: center;*/
    align-items: flex-start;
    max-width: 1250px;
    margin: auto;
}

/* Columns */
.integradefaultcontent-image-col,
.integradefaultcontent-content-col {
    flex: 1;
    min-width: calc(50% - 25px);
    width: calc(50% - 25px);
}

/* Order Classes */
.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

/* Image Styles */
.integradefaultcontent-image-wrapper {
    position: relative;
    min-height: 550px;
}

/* Left image pseudo element */
.order-1 .integradefaultcontent-image-wrapper::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    height: 50%;
    aspect-ratio: 1/1;
    background-color: var(--tertiary);
    z-index: 0;
}

/* Right image pseudo element */
.order-2 .integradefaultcontent-image-wrapper::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    left: initial;
    height: 50%;
    aspect-ratio: 1/1;
    background-color: var(--tertiary);
    z-index: 0;
}

.integradefaultcontent-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    z-index: 1;
}

/* Border Radius Classes */
.border-radius-bottom-right .integradefaultcontent-image {
    border-bottom-right-radius: 350px;
}

.border-radius-bottom-left .integradefaultcontent-image {
    border-bottom-left-radius: 350px;
}

/* Content Styles */
.integradefaultcontent-content {
    text-align: left;
    /*padding: 20px 0;*/
    padding: 50px 0 10px 0;
}

.integradefaultcontent-title {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

/* Color Classes */
.color-primary {
    color: var(--primary);
}

.color-secondary {
    color: var(--secondary);
}

.color-tertiary {
    color: var(--tertiary);
}

.integradefaultcontent-copy {
    margin-bottom: 15px;
}

/* Check List Styles */
.integradefaultcontent-list {
    margin-bottom: 30px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
}

.check-list .check-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 12px;
}

.integradefaultcontent-button {
    margin-top: 20px;
}



/* Responsive Styles */
@media (max-width: 991px) {
    .integradefaultcontent-content {
        text-align: left;
        padding: 0px 0px;
    }
    .integradefaultcontent-row {
        flex-direction: column;
        gap: 30px;
    }

    .integradefaultcontent-image-col,
    .integradefaultcontent-content-col {
        width: 100%;
        min-width: 100%;
    }

    .integradefaultcontent-image-wrapper {
        min-height: 500px;
    }

    .integradefaultcontent-image {
        min-height: 500px;
        border-radius: 0 !important;
        /* Remove border radius on tablet */
    }

    .order-1, .order-2 {
        order: unset;
        /* Reset order on tablet */
    }

    .integradefaultcontent-image-col {
        order: 1;
        /* Always show image first on tablet/mobile */
    }

    .integradefaultcontent-content-col {
        order: 2;
    }
}

@media (max-width: 767px) {
    .integradefaultcontent-image-wrapper {
        min-height: 400px;
    }

    .integradefaultcontent-image {
        min-height: 400px;
    }

    .integradefaultcontent-title {
        font-size: 2rem;
    }

    .integradefaultcontent-button {
        display: flex;
    }
}