/**
 * 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;
    /* 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;
}

.integradefaultcontent-image {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Image Fit Options */
.integradefaultcontent-image.image-cover {
    object-fit: cover;
}

.integradefaultcontent-image.image-contain {
    object-fit: contain;
}

/* Caption Styles */
.integradefaultcontent-caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
    background-color: var(--tertiary);
    border-radius: 10px;
    padding: 30px 15px 15px;
    font-size: 14px;
    z-index: 2;
    text-align: center;
}

.quotemark-circle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.quotemark-circle svg {
    width: 24px;
    height: 24px;
}

.quotemark-circle svg path {
    fill: var(--secondary);
}

.caption-quote {
    font-weight: bold;
    color: #439DC9;
    margin-bottom: 10px;
}

.caption-attribution {
    font-weight: normal;
    color: black;
}


/* Content Styles */
.integradefaultcontent-content {
    text-align: left;
    padding: 20px 0;
}

.integradefaultcontent-title {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--primary);
}

/* Color Classes - Kept for backward compatibility */
.color-primary {
    color: var(--primary);
}

.color-secondary {
    color: var(--secondary);
}

.color-tertiary {
    color: var(--tertiary);
}

.integradefaultcontent-copy {
    margin-bottom: 30px;
}

/* 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;
    font-weight: 700;
}

.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-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;
    }
}