/* IBERO cyan theme. The title must remain text, with exactly one small logo beside it. */
:root {
  --ibero-cyan: #009FC2;
  --ibero-cyan-dark: #007F9B;
  --ibero-cyan-pale: #F3FCFE;
}

/* Remove any theme-generated logo container so it cannot duplicate the mark. */
.side-bar .site-title .site-logo,
.side-bar .site-title img,
.side-bar .site-header .site-logo {
  display: none !important;
  background-image: none !important;
}

/* Sidebar and header */
.side-bar,
.side-bar .site-header {
  background-color: #008EAD !important;
}
.side-bar .site-title {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-height: 58px;
  color: #FFFFFF !important;
  font-size: 1.2rem;
  line-height: 1.2;
  white-space: nowrap;
}
.side-bar .site-title::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 58px !important;
  width: 58px !important;
  height: 40px !important;
  background: url("/documentacion-Mau-salas/assets/images/logo-ibero.jpg?v=2") center / contain no-repeat !important;
}
.side-bar .site-button,
.side-bar .site-button .icon {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

/* Main page */
.main, .main-content-wrap, .main-content, .page-content, body {
  background-color: #F3FCFE !important;
}
.main-content { color: #17343B; }
a, a:visited { color: #007F9B; }
a:hover { color: #00596D; }

/* Navigation */
.side-bar .nav-list-link,
.side-bar .nav-list-link:visited,
.side-bar .site-footer,
.side-bar .site-footer a {
  color: #FFFFFF !important;
}
.side-bar .nav-list-link:hover,
.side-bar .nav-list-link.active {
  background-color: rgba(255,255,255,.18) !important;
  color: #FFFFFF !important;
}
.search-input, .search-input:focus {
  background-color: #E7FBFF !important;
  border-color: #8AD8E8 !important;
}


/* Autobiography: keep the photo and Instagram together in the left column. */
.bio-layout {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin: 1.5rem 0 2.5rem;
}
.bio-profile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .85rem;
  min-width: 0;
}
.bio-photo-placeholder {
  width: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 2px dashed #009FC2;
  border-radius: 14px;
  background: linear-gradient(145deg, #DDF7FC, #F3FCFE);
  color: #006C83;
  text-align: center;
  font-weight: 600;
  letter-spacing: .08em;
}
.bio-text p:first-child { margin-top: 0; }
.bio-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 0;
  padding: .55rem .9rem;
  border: 1px solid rgba(0,127,155,.4);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 700px) {
  .bio-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .bio-profile {
    width: min(100%, 260px);
    margin: 0 auto;
  }
  .bio-photo-placeholder {
    min-height: 260px;
  }
}
