header  .site-title img {
    max-width: 100%;
    object-fit: contain;
}



.item-main-content > div.thumbnail {
    flex: 1 1 30%;
    height: fit-content;
}

.item-main-content > div.description {
    flex: 1 1 70%;
    
}

/* Estilos para el menú de navegación */
.sub-menu {
   
   font-size: 1.3rem;
    padding: 10px; /* Espaciado interno */
}


.sub-menu .navigation li {
    list-style-type: none; 
    margin-bottom: 0.8rem; 
}


.sub-menu .navigation a {
    text-decoration: none; 
    
    display: block; 
    padding: 0.5rem 0.9rem; 
    transition: background-color 0.3s ease; 
    width: fit-content;
}

.sub-menu .navigation a:hover {
   /*  background-color: #e0e0e0;  */

}


.item-gallery-list-content .item-gallery-list a {

    border-bottom: 1px solid var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.item-gallery-list-content .item-gallery-list img{
    object-fit: contain;
    height: 5rem;
    width: 7rem;
}

@media (max-width: 600px) {
    .item-gallery-list-content .item-gallery-list a {

        flex-direction: column;
    }

    .item-gallery-list-content .item-gallery-list img{
       
        width: 100%;
    }

    header  .site-title img {
        height: 2em;
    }
    header  .site-title {
        margin: 0.5rem;
    }
    
  
}


/* footer */

.footer-child-1 .content-1{

    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0.5em;
    padding: 1em;
}

.footer-child-1 .content-1 img{
height: 1.6em;
}

.footer-child-1 .Social-media ul{
    display: flex;
    gap: 2rem;
}

.footer-child-1 .text-content-footer img{
    height: 3em;
    width: 100%;
    object-fit: contain;
}

div.field:has(label[for="has_tags"]), div.field:has(#select-tag) {
    display: none;
}

.site-page-pagination{
    display: flex;
    justify-content: space-between;
}

.sub-menu .navigation a{
    color: var(--links);
    font-weight: bold;
}

.sub-menu .navigation a:hover {
    color: var(--links);
    opacity: .75;
}

div.toc-block {
    font-size: 1.3rem;
    margin-top: 1rem;
    line-height: 30px;
}

div.toc-block>ul {
    margin: 1rem 0;
    list-style-type: none;
    border-left: 5px solid var(--links);
}

div.toc-block ul ul {
    list-style-type: none;
    padding-left: 0;
} 

div.toc-block ul ul li:before {
    content: "—";
    color: var(--links);
}

div.toc-block ul li a, body a {
    color: var(--links);
}
div.toc-block ul li a:hover, body a:hover {
    color: var(--links);
    opacity: .75;
}

body ul.menu a:hover {
    opacity: initial;
}

div.toc-block>ul>li {
    margin-bottom: .5rem;
}
div.toc-block>ul>li>a {
    font-weight: bold;
}

div.toc-block>ul>li>a:hover {
    color: var(--links);
    opacity: .75;
}

.toc-block ul ul ul {
    padding-left: 1.25em;
}

.text-content-footer a{
    text-decoration: underline;
}

.text-content-footer a:hover{
    text-decoration: none;
}

div#mapping-section-browse {
    min-width: 50vw;
    margin: 2rem auto;
    max-width: 90%;
  }

  div.metadata {
    margin-top: 1em;
    box-shadow: initial;
  }