:root {
  --black-logo: #232323;
  --yellow-logo: #fdc613;
}

body {
    background-color: #fff !important;
}

h1.site-title {
    display: none;
}
#search{
    display: none;
}
.searchHeader{
    display: initial !important;
}

.stack {
  position: relative;
  width: 100%;
}

/* Capas del fondo */
.box1,
.box2,
.box3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.box1 {
  height: 150px;
  background: var(--yellow-logo);
  clip-path: ellipse(90% 90% at 50% 0);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
}

.box2 {
  height: 175px;
  background: #fff;
  clip-path: ellipse(90% 90% at 50% 0);
  z-index: 2;
}

.box3 {
  height: 200px;
  background: var(--black-logo);
  clip-path: ellipse(90% 90% at 50% 0);
  z-index: 1;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Overlay sobre la imagen */
.img-overlay {
  position: absolute;
  top: 210px;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 4;
  pointer-events: none;
}

.overlay-inner {
  margin: 0 auto; /* ✅ centra horizontalmente */
  display: flex;
  justify-content: space-between;
  align-items: center; /* o flex-start si lo querés arriba */
  pointer-events: auto;
}

.content, .overlay-inner{
  width: 100%;
  max-width: 1700px;
  padding: 0 60px;
}

#welcome, #login {
    margin: auto;
    font-size: 40px;
    color: #fff;
    font-family: sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 15px;
}

#imgheader {
    width: 100%;
    height: 460px;
    background: url(/omeka-s/files/asset/26ef110c6c855ac3debffff1ca1c6cdb920983d1.jpg) no-repeat center center;
    background-size: cover;
    display: block;
    border-bottom: 12px solid var(--yellow-logo);
}

.logo {
  height: 175px;
  pointer-events: auto;
}
div#search {
    position: initial;
}
div#search {
    padding: 20px;
    background-color: var(--yellow-logo);
    border: none;
}
div#search {
    padding: 20px;
    background-color: var(--yellow-logo);
    border: none;
    width: 100%;
    max-width: 400px;
}

#menuBSV {
    background-color: var(--black-logo);
    padding: 0;
    border: none;
    margin-bottom: 50px;
}

li.active {
    background-color: #fff;
}

#menuBSV li.active a {
    color: #000;
}

#menuBSV li a {
    color: #fff;
    margin: 15px 30px;
    font-size: 16px;
}

.separator {
    width: 100vw;                          /* Ocupa todo el ancho de la ventana */
    margin-left: calc(-50vw + 50%);        /* Centra la línea en la pantalla */
    border: none;
    border-top: 4px solid var(--yellow-logo);
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: var(--yellow-logo) !important;
}

ul#ultimos-items {
    padding: 0;
    margin-top: 30px;
}

.items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#ultimos-items .items {
    display: flex;
    margin-bottom: 25px;
}

.thumb {
    width: 105px;
    height: 145px;
    flex-shrink: 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
}

.thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.info h3 {
    margin: 0 0 5px 0;
    font-weight: bold;
    font-size: 16px;
}

.info p {
    margin: 0;
    text-align: justify;
    font-size: 1rem;
}

        .welcome-title {
            font-size: 30px;
            margin: 0;
            font-weight: bold;
        }

        .welcome-columns {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .welcome-column {
            flex: 1 1 250px;
        }

        .column-title {
            font-size: 1rem;
        }

        .column-text {
            font-size: 1rem;
            color: #444;
        }
  .collections-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
  }

  .collection-item {
    margin-top:30px;
    flex: 1 1 calc(25% - 20px); /* 4 items por fila en desktop con espacio */
    min-width: 200px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: left;
    font-family: Arial, sans-serif;
  }

.collection-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin-bottom: 10px;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #eee;
    border: 1px solid #ccc;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    max-height: 300px;
}

  .collection-title {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 16px;
    color: #222;
  }

  .collection-description {
    font-size: 1rem;
    color: #555;
  }

  #search button {
    background-color: transparent !important;
}

  @media (max-width: 768px) {
    .collection-item {
      flex: 1 1 calc(50% - 20px);
    }
    header nav:before {
        top: -173px !important;
        color: #fff Im !important;
        background-color: #fff !important;
    }
  .overlay-inner {
    width: auto;
    margin-bottom: 16px;
    margin-top: -25px;
}

  }

  @media (max-width: 480px) {
    .collection-item {
      flex: 1 1 100%;
    }
  }

  #item-sets-list {
      margin-top: 20px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
  }

  .collection-card {
    display: flex;
    align-items: flex-start;
    border-radius: 8px;
    margin: 0; /* lo manejamos con gap */
  }

  @media (max-width: 800px) {
    #item-sets-list {
      grid-template-columns: 1fr; /* 1 columna en móvil */
    }
  }


    .collection-card img {
        width: 160px;
        min-width: 160px;
        height: 160px;
        object-fit: cover;
        margin-right: 75px;
        border: 1px solid #ccc;
    }

    .collection-content h3 {
        line-height: 0px !important;
        margin: 0 0 8px 0;
        padding: 9px 0 12px 0;
    }

    .collection-content p {
        margin: 0;
        color: #555;
        font-size: 1rem;
    }
    .collection-title{
        font-size: 1rem;
    }

@media (max-width: 800px) {

  p#welcome, #login {
    font-size: 20px !important;
  }
  p#welcome {
      margin-right: 30px  !important;
  }

  .content, .overlay-inner {
      padding: 0 25px !important;
  }

  div#search {
    max-width: 100%;
    position: absolute;
  }
  
}

.info a:link, .collection-content a:link {
    text-decoration: none;
    color: #7a2635;
}

.sidebar {
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.metadata {
    display: none !important;
}

.ver-mas-btn {
    color: rgb(0, 123, 255) !important;
}

