/*********** ACTUAL PROJECT PAGE ****/
div[class="article-details unidadesorganicas"] .fields-container {
  background-color: #005a93;
  color: white;
  padding: 24px;
  border-radius: 8px;
  list-style: none;
  margin-left: -150px;  /* Cancel parent's left padding */
  margin-right: -150px; /* Cancel parent's right padding */  
}

/* Remove negative margins on screens smaller than 1200px */
@media (max-width: 1199px) {
  div[class="article-details unidadesorganicas"] .fields-container {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

div[class="article-details unidadesorganicas"] .fields-container a{
    color: white;
    text-decoration: underline; 
}

div[class="article-details unidadesorganicas"] .field-entry {
    display: flex;
    flex-direction: column; /* Each label-value pair in its own line */
    margin-bottom: 12px;
}

.unidadesorganicas .field-label {
    font-weight: 600; /* Slightly stronger */
}

.unidadesorganicas .field-value {
    font-weight: 400; /* Normal weight */
}

.unidadesorganicas .tags {
    display: none; /* Slightly stronger */
}


.foto-de-intro {
  position: relative;
  width: 100%;
  max-height: 300px;       /* Conservative height for faculty page */
  overflow: hidden;        /* Clips the image to the container */
  border-radius: 8px;      /* Optional: rounded corners */
}

.foto-de-intro .field-value {
  position: relative;
  width: 100%;
  height: 100%;
}

.foto-de-intro img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* Makes the image behave like a cover */
  transition: transform 0.4s ease;  /* Smooth zoom on hover */
}

.foto-de-intro:hover img {
  transform: scale(1.03);  /* Slight zoom effect on hover */
}

#biblioteca-contactos li,
#bibliotecas-intro li{
  list-style: none;
}

#bibliotecas-contactos h4,
#bibliotecas-intro h4{
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 36px;
  text-decoration: none;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #0078c1;
}

#bibliotecas-intro p {
    font-size: 18px;
    line-height: 1.7;
    padding-top: 24px;
}