/**
 * Loile Text Split Module Styles
 */

.loile-text-split {
    padding: 40px 0;
}

.loile-text-split__container {
    padding: 0 20px;
}

.loile-text-split__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.loile-text-split__title-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.loile-text-split__title {
    font-size: 3.75rem;
    font-weight: 600;
    line-height: 1.1;
    color: #1d1d1d;
    margin: 0;
    text-transform: none;
}

.loile-text-split__content-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.loile-text-split__content {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #2b2b2b;
    margin: 0;
}

.loile-text-split__content a,
.loile-text-split__content a:visited {
    color: #2563EB;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
}

.loile-text-split__content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #2563EB;
    transition: width 0.3s ease;
}

.loile-text-split__content a:hover {
    color: #2563EB;
}

.loile-text-split__content a:hover::after {
    width: 100%;
}

.loile-text-split__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.loile-text-split__badge {
    background: #2563EB;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    white-space: nowrap;
}

.loile-text-split__badge--link {
    text-decoration: none !important;
    display: inline-block;
}

/* Button styles */

.loile-text-split__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 48px 10px 20px;
    background-color: #2563EB;
    color: #FFF;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.loile-text-split__button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    border-radius: 50px;
    transition: width 0.4s ease 0.3s, width 0.4s ease 0.4s;
    z-index: 1;
}

.loile-text-split__button:hover::before {
    width: 100%;
    right: 0;
}

.loile-text-split__button-text {
    color: #FFF;
    position: relative;
    z-index: 3;
}

.loile-text-split__button-text {
    color: #fff;
    background: linear-gradient(to right, #fff 0%, #fff 50%, #2563EB 50%, #2563EB 100%);
    background-size: 200% 100%;
    background-position: 0% 0;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 3;
}

.loile-text-split__button-icon-bg {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 33px;
    height: 33px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.4s ease 0.8s, right 0.4s ease 0.8s;
    z-index: 2;
}

.loile-text-split__button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.loile-text-split__button-icon svg {
    width: 16px;
    height: 16px;
    color: #2563EB;
    position: relative;
    z-index: 3;
}

.loile-text-split__button:hover {
    text-decoration: none !important;
    background-color: #2563EB;
    transition: background-color 0.4s ease 0.7s;
}

.loile-text-split__button:hover::before {
    width: 100%;
}

.loile-text-split__button:hover .loile-text-split__button-icon-bg {
    transform: translateY(-50%) scale(1.25);
    transition: transform 0.3s ease;
}

/* Desktop: verberg mobiele titel */
.desktop-title {
    display: block;
}

.mobile-title {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .loile-text-split {
        padding: 0;
    }
    
    .loile-text-split__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .loile-text-split__title {
        font-size: 2.5rem;
    }
    
    .loile-text-split__content {
        font-size: 1.8rem;
    }
    
    .loile-text-split__button {
        padding: 10px 48px 10px 20px;
        font-size: 1.5rem;
    }
    
    .desktop-title {
        display: none;
    }
    
    .mobile-title {
        display: block;
    }
}

@media (max-width: 480px) {
    .loile-text-split__title {
        font-size: 2rem;
    }
    
    .loile-text-split__content {
        font-size: 18px;
    }
}

/* Kruimelpad boven de titel/tekst; zelfde opmaak als hero-focus-grid__breadcrumbs */
.loile-text-split__breadcrumb {
    margin: 0 0 28px;
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #2b2b2b;
}

.loile-text-split__breadcrumb a {
    color: #2b2b2b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.loile-text-split__breadcrumb a:hover,
.loile-text-split__breadcrumb a:focus {
    color: #2563eb;
    text-decoration: none;
}

.loile-text-split__breadcrumb .breadcrumb_last {
    font-weight: 600;
    color: #1d1d1d;
}

.loile-text-split__breadcrumb-sep {
    display: inline-flex;
    align-items: center;
    margin: 0 0.4em;
    vertical-align: middle;
    color: #64748b;
}

.loile-text-split__breadcrumb-sep .fa-chevron-right {
    font-size: 0.65em;
}

/* Ruimte onder de zwevende header wanneer de text-split het eerste element
   van de pagina-inhoud is (de header overlapt de content anders). */
.fl-builder-content-primary > .fl-row:first-child .fl-col-group:first-child .fl-col:first-child .fl-module:first-child.fl-module-loile-text-split .loile-text-split {
    padding-top: 130px;
}
