body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    overflow: auto;
}

.ajuda-container {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}
.ajuda-capsalera{
    display: flex;
    height: 60px;
    width: 100%;
    background-color: var(--color-primari);
    color: var(--color-primari-trext);
    justify-content: space-evenly;
    align-items: center;
}
.ajuda-capsalera span{
    color: #fff;
    font-size: 2rem;
    letter-spacing: 1.4px;
}
.ajuda-capsalera img{
    height: 50px;
}

h1 {
    margin-top: 0;
}

.ajuda-llista {
    list-style: none;
    padding: 0;
}

.ajuda-llista li {
    margin: 10px 0;
}

.ajuda-llista a {
    text-decoration: none;
    color: #0073e6;
}

.ajuda-bloc {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    align-items: flex-start;
    margin-bottom: 60px;
    border-top: 1px solid gray;
    padding: 20px 10px;
 }

.ajuda-bloc:hover{
    background-color: #fafaff;
    cursor: default;
   
}

.sense-separacio{
    margin-top: 0;
    border: none;
     margin-top: -86px;

}
.columna_imatges{
    display: flex;
    flex-direction: column;
    border: 2px solid green;
} 

.ajuda-contenidor-imatge {
    display: block;
    margin: auto;
    transition: all 0.3s ease;
    height: 100%;
    cursor: zoom-in;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    width: 30%;
 }
.ajuda-contenidor-text {
    max-width: 70%;
    line-height: 1.5;
     padding:5px;
}
 
.sense-imatge{
    max-width: none;
}
.ajuda-contenidor-text p{
    font-size: 1rem;
    margin-bottom: 10px;
    margin-top: 6px;
    text-align: justify;
}
.ajuda-contenidor-text h3 {
    margin-top: 0;
}



.ajuda-zoom {
    cursor: zoom-in;
    transition: transform 0.2s;
}

.ajuda-zoom:hover {
    transform: scale(1.03);
}

#ajuda-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 233, 250, 0.8);
    justify-content: center;
    align-items: center;
}

#ajuda-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    cursor: zoom-out;
}
#ajuda-lightbox img {
    transition: transform 0.2s;
}

#ajuda-lightbox {
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



.peu-ajuda {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #def3fd;
    z-index: 1001;
    border-top: 1px solid #fce7c3;
    height: 2dvh;
    min-height: 15px;
}
.peu-ajuda p {
    text-align: right;
    color: #aeaedd;
    font-size: 10px;
    letter-spacing: 1.8px;
    padding-top: 2px;
}
.peu-ajuda p:hover{
    color: #000;
    cursor:default;
}
.ajuda-index {
    margin-top: 30px;
}

.ajuda-index-article {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}

.ajuda-index-article h3 {
    margin-top: 0;
}

.ajuda-index-article a {
    text-decoration: none;
    color: #0073e6;
}

.ajuda-index-article a:hover {
    text-decoration: underline;
}

.conclusio{
    text-align: left;
    margin-left: 70px;
    color: #000;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.observacio-al-peu{
    border-top: 1px dotted rgb(219, 219, 219);
    margin-top: 30px;
    padding: 10px;
}
.observacio-al-peu p{
    font-size: 0.9rem;
    color: rgb(92, 90, 90);
    font-style: italic;
    text-align: center;

}


li h5{
    font-size: 1.05rem;
    color: var(--color-primari-trext);
    margin: 0;
    text-decoration: underline;
    font-weight: bold;
}

/* INICI ETIQUETA PERSONALIZADA*/
.eti {
    position: relative;
    border: none;
    border-bottom: 1px dashed #3326eb;
    cursor: help;
    font-size: inherit;
    background-color: transparent;
    color: inherit;
    font-weight: inherit;
}

.eti:hover::after {
    content: attr(data-ajuda);
    position: absolute;
    left: 0;
    bottom: 130%;
    width: 390px;
    background: rgb(241, 245, 187);
    color: #000;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    z-index: 999;
    letter-spacing: 1px;
    font-weight: normal;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    white-space: pre-line;
}
/* .eti:hover::after,
.eti.activa::after {
    content: attr(data-ajuda);
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 320px;
    background: var(--color-primari);
    color: var(--color-primari-text);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: normal;
        letter-spacing: 1px;


    white-space: normal;
    word-wrap: break-word;

    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

    z-index: 9999;
} */

.tornar{
    display: block;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
}
.ajuda-exemple{
    display: block;
    margin: 25px auto;
    width: 80%;
    max-width: 80%;
    border: 1px solid var(--color-primari);
    padding:15px;
    background-color: #f7f5f5;
    border-radius: 6px;  
}
.ajuda-exemple span{
    position: relative;
    top: -25px!important;
    left:10px ;
    color: #3326eb;
    font-size: 12px;
    background-color: #fff;
    padding: 5px 20px;
    border: 1px solid var(--color-primari);
    border-radius: 3px;
}
.paraula-destacada{
    color:inherit;
    font-size:1.4rem;
}
