.kbtg-solution-tab a
{
    color: #010101;
    text-decoration: none;
    font-size: 20px;
}

.kbtg-solutions-hub {    
    margin: 0 auto;
}

/* Estilos para la lista de pestañas */
.kbtg-solutions-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

/* Estilos para cada pestaña individual */
.kbtg-solution-tab {
    margin-right: 10px;
}

/* Estilos para los enlaces de las pestañas */
.kbtg-solution-tab-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;    
}

/* Estilo para la pestaña activa */
.kbtg-solution-tab-link.active, .kbtg-solution-tab-link:hover {
    font-weight: bold;
    color: #03A8A9 !important;
    
    
}

/* Estilos para el contenido de las pestañas */
.kbtg-solution-tab-content {
    display: none;
}

/* Estilo para el contenido de la pestaña activa */
.kbtg-solution-tab-content.active {
    display: block;
}

/* Transiciones para el efecto fade */
.kbtg-solution-tab-content {
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
    height: 0;
    overflow: hidden;
}

.kbtg-solution-tab-content-inner{
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1597/542;
    border-radius: 20px;

}

.kbtg-solution-tab-content-inner::before 
{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    z-index: 0;
}

.kbtg-solution-tab-content.active 
{
    opacity: 1;
    height: auto;    
}

.kbtg-solution-tab-content-inner h3 
{
    color: #FFFFFF;
    font-size: 48px;
    margin-bottom: 10px;
    line-height: 120%;
    z-index: 1;
    position: relative;
    border-bottom: 2px solid #03A8A9;
    display: inline-block;
}

.kbtg-solution-tab-content-inner p {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 150%;
    z-index: 1;
    position: relative;
    margin-top: 10px;

}

.kbtg-recent-post-thumbnail
{
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 456/317;
    border-radius: 20px;
}

.kbtg-recent-posts
{
    display: grid;
}

.kbtg-recent-post h5
{
    font-family: 'HelveticaNeueLt', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 150%;
    margin-top: 5px;
    
}

.kbtg-recent-post p
{
    font-family: 'HelveticaNeueMd', Helvetica, Arial, sans-serif;
    font-size: 24px;
    color: #202024;
}

.kbtg-solution-tab-footer
{
    text-align: center;    
}

a.kbtg-solution-tab-more
{
    text-decoration: underline;
    color: #000000;
    font-family: 'HelveticaNeueMd', Helvetica, Arial, sans-serif;
    font-size: 20px;

}


@media only screen and (max-width : 600px) 
{
    .kbtg-recent-posts
    {
        grid-template-columns: repeat(1, 1fr);
    }

    .kbtg-solutions-tabs
    {
        text-align: center;
        margin-bottom: 10px !important;
    }

    .kbtg-solution-tab {
        display: inline-block;
    }

    .kbtg-solution-tab-content-inner{
        padding: 80px 30px 40px;
    }

    .kbtg-solution-tab-content-inner h3
    {
        margin-top: 50px;
    }

    .kbtg-solution-tab-link {
        padding: 2px 5px;
    }

    .kbtg-recent-post
    {
        margin-top: 30px;
    }

    .kbtg-solution-tab-footer
    {
        margin-top: 30px;
    }


}

@media only screen and (min-width : 601px) and (max-width : 1024px) 
{
    .kbtg-solutions-tabs {
        display: flex;
    }

    .kbtg-solution-tab-link {
        padding: 8px 15px;
    }

    .kbtg-recent-posts
    {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 30px;
    }

    .kbtg-solution-tab-content-inner
    {
        padding: 100px 50px 20px 50px;
        
    }
}


@media only screen and (min-width : 1025px) and (max-width : 1380px) 
{
    .kbtg-solutions-tabs {
        display: flex;
    }

    .kbtg-recent-posts
    {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        margin-top: 40px;
    }

    .kbtg-solution-tab-content-inner
    {
        padding: 160px 50px 20px 50px;
        aspect-ratio: 1597/542;
    }

    .kbtg-solution-tab-content-inner h3 
    {
        font-size: 36px;
    }

    .kbtg-solution-tab-content-inner p 
    {
        font-size: 16px;
    }
}


@media only screen and (min-width : 1381px) 
{
    /* Estilos para la lista de pestañas */
    .kbtg-solutions-tabs {
        display: flex;
    }

    .kbtg-recent-posts
    {
        grid-template-columns: repeat(3, 1fr);
        gap: 114px;
        margin-top: 56px;
    }

    .kbtg-solution-tab-content-inner{
        padding: 160px 100px 20px 100px;
    }

    .kbtg-solution-tab-link {
        padding: 10px 20px;
    }

    .kbtg-recent-post h5
    {
        margin-bottom: 20px;
    }

    .kbtg-solution-tab-footer
    {
        margin-top: 40px;
    }


}
