/* Three Column Feature CSS */


/* Main container */

.wf-three-column-feature {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
}


/* Columns */

.wf-tcf-column {
    position: relative;
    width: 33.333%;
    overflow: hidden;
}


/* Content column styling */

.wf-tcf-content-column {
    position: relative;
    z-index: 1;
}

.wf-tcf-content-inner {
    background: #8963BA !important;
    border-radius: 1rem;
    position: relative;
    height: 100%;
    width: 100%;
    max-height: 24rem !important;
    border-radius: 0.5rem !important;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
}

.wf-tcf-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-height: 24rem !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start !important;
    align-items: start !important;
    padding: 2rem;
}

.wf-tcf-content-text {
    margin-bottom: 1.5rem;
    text-align: left !important;
    color: #ffffff !important;
}

.wf-tcf-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.wf-tcf-subtitle {
    font-size: 1.25rem;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}


/* Button styling */

.wf-tcf-button-wrapper {
    margin-top: auto;
}

.wf-tcf-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wf-tcf-button:hover {
    background-color: transparent;
    color: #0D0D0D;
    background-color: #ffffff;
    border-color: #ffffff;
}


/* Background image and overlay */

.wf-tcf-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.wf-tcf-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


/* Image column styling */

.wf-tcf-image-column,
.wf-tcf-background-column {
    height: 24rem;
    max-height: 100%;
    border-radius: 0.5rem !important;
    -webkit-border-radius: 0.5rem !important;
    -moz-border-radius: 0.5rem !important;
    -ms-border-radius: 0.5rem !important;
    -o-border-radius: 0.5rem !important;
}

.wf-tcf-image {
    width: 100%;
    height: 24rem !important;
    max-height: 100%;
    object-fit: cover;
    display: block;
}


/* Background column styling */

.wf-tcf-bg-column-inner {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.wf-tcf-bg-column-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}


/* Responsive styles */

@media (max-width: 1024px) {
    .wf-three-column-feature {
        flex-direction: column;
    }
    .wf-tcf-column {
        width: 100%;
        min-height: 300px;
    }
    .wf-tcf-content {
        padding: 2.5rem 1.5rem;
    }
    .wf-tcf-title {
        font-size: 1.75rem;
    }
    .wf-tcf-subtitle {
        font-size: 1.1rem;
    }
    .wf-tcf-bg-column-inner {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .wf-tcf-column {
        min-height: 250px;
    }
    .wf-tcf-content {
        padding: 2rem 1rem;
    }
    .wf-tcf-title {
        font-size: 1.5rem;
    }
    .wf-tcf-subtitle {
        font-size: 1rem;
    }
    .wf-tcf-button {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
    .wf-tcf-bg-column-inner {
        min-height: 250px;
    }
}