.indice {
    position: sticky;
    top: var(--header-height);
    left: 0;
    width: 23%;
    max-width: 300px;
    height: 100%;
}

.indice h3 {
    margin-top: 0;
}

.indice ul {
    list-style: none;
    margin-bottom: 15px;
}

.indice ul li {
    margin-bottom: 10px;
}

.indice ul li a {
    text-decoration: none;
    color: black;
}

.indice-mobile {
    @media only screen and (min-width:1120px) {
        display: none;
    }    
    @media only screen and (max-width:1120px) {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgb(240, 240, 240);
        color: black;
        text-align: left;
        padding: 10px 15px;
        cursor: pointer;
        z-index: 999;
        font-size: 18px;
        
        justify-content: space-between;
        align-items: center;
    }
}

.indice-mobile span {
    font-weight: bold;
}

#indice-desplegable {
    position: fixed;
    top: calc(var(--header-height) + 47px);
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

@media (max-width: 768px) {
    .indice {
        display: none;
    }

    .indice-mobile {
        height: 27px;
    }
}

.index-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.arrow-right {
    position: relative;
    top: 0;
    align-self: flex-start;

    margin-right: 5px;
    margin-top: 4px;

    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--excerpt-bg);
  }

.arrow-right.hidden {
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid transparent;
}

.index-banner {
    margin-bottom: 60px;
    max-width: 300px;
    max-height: 250px;
    img {
        max-width: 100%; 
        max-height: 100%;
    }
}