.centered-container {
    text-align: center;
    margin: 30px auto;
    max-width: 1200px;
    padding-left: 30px;
    padding-right: 30px;
}

.centered-container p {
    text-align: justify;
}

h2 {
    background: linear-gradient(to right, #0A4381, #FACB3D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.columns-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin: 30px 0;
}

.left-column {
    flex: 1 1 52%;
    width: 100%;
    max-width: 52%;
    padding-right: 20px;
    box-sizing: border-box;
    text-align: justify;
}

.right-column {
    flex: 1 1 32%;
    width: 100%;
    max-width: 32%;
    box-sizing: border-box;
    text-align: justify;
}

#imagen-kit {
    width: 100%;
    max-width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(10, 67, 129, 0.12);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.right-column ul {
    list-style: none;
    padding: 0;
}

.right-column ul li:first-child a {
    font-size: 1.4em;
    text-decoration: underline;
}

.right-column ul li:not(:first-child) a {
    display: flex;
    align-items: center;
}

.right-column ul li:not(:first-child) a::before {
    content: "\2192";
    margin-right: 5px;
}

.right-column li {
    margin: 10px 0;
}

.right-column a {
    text-decoration: none;
    color: #0A4381;
}

section {
    margin: 50px 0;
    text-align: justify;
}

section h3 {
    text-align: left;
    margin-top: 30px;
    font-size: 1.5em;
    background: linear-gradient(to right, #0A4381, #FACB3D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

section a {
    color: #0A4381;
    text-decoration: none;
}

#soluciones-subvencionables table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#soluciones-subvencionables th, #soluciones-subvencionables td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

#soluciones-subvencionables th {
    background-color: #f2f2f2;
}

.left-column-aeptic {
    flex: 1 1 35%;
    width: 100%;
    max-width: 35%;
    box-sizing: border-box;
    text-align: justify;
}

.right-column-aeptic {
    flex: 1 1 60%;
    width: 100%;
    max-width: 60%;
    padding-left: 20px;
    box-sizing: border-box;
    text-align: justify;
}

.button-list-aeptic {
    list-style: none;
    padding: 0;
}

.button-list-aeptic li {
    margin-bottom: 10px;
}

.btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #FACB3D;
    border: none;
    border-radius: 10px;
    text-align: left;
    color: #023469;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
    text-wrap: wrap;
}


.btn:hover {
    background-color: #FFD700;
}

.btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FACB3D;
    border-radius: 10px;
    z-index: -1;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}


.texto-activado-aeptic {
    display: none;
    padding: 10px;
    background-color: #FFFFE0;
    border: 2px solid #FACB3D;
    border-radius: 10px;
    transition: all 0.3s ease;
    max-width: 100%;
    margin: 0 auto;
    text-align: justify;
    max-height: 100%; /* Ajustar según sea necesario */
    overflow-y: auto; /* Mostrar barra de desplazamiento vertical cuando sea necesario */
}

.texto-activado-aeptic.active {
    display: block;
}


@media (max-width: 768px) {
    .centered-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .columns-container {
        gap: 20px;
        margin: 24px 0;
    }

    .texto-activado-aeptic {
        padding: 0 10px;
    }

    .left-column,
    .right-column,
    .left-column-aeptic,
    .right-column-aeptic {
        max-width: 100%;
        width: 100%;
    }

    .left-column {
        padding-right: 0;
    }

    .right-column-aeptic {
        padding-left: 0;
    }

    .btn {
        font-size: 15px;
    }

    #soluciones-subvencionables table {
        min-width: 640px;
    }
}


.btn.selected {
    background-color:#0A4381;
    color: #FFFFFF; /* Cambiar el color del texto si es necesario */
}
