/* css styles */

:root {
  --primary-orange: #E06E53;
  --secondary-orange: #B8573E;
  --bs-navbar-hover-color: #E06E53;
}

.navbar-brand{
  font-weight: bold;
}

.card .listing-author{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}

.quarto-listing-table .listing-image img{
  max-width: 80px;
  object-fit: contain;
}

.quarto-title-banner{
  background-blend-mode: multiply;
}



.fancylist ul {
  list-style: none;
  padding-left: 0;
  margin: 0
}

.fancylist ul li{
  position: relative;
  padding: .75rem 0 .75rem 2rem;
  margin-bottom: .75rem;
  transition: all .3s ease
}

.fancylist ul li::before{
  content: "▸";
  position: absolute;
  left: .5rem;
  color: rgba(51,51,51,.5);
  font-size: 1rem;
  transition: all .3s ease
}

.fancylist ul li:hover{
  padding-left: 2.25rem;
  color: #333
}

.fancylist ul li:hover::before {
  color: #333;
  left: .25rem
}

.fancylist ul li p{
  margin: 0
}

.fancylist ul li p strong {
  color: #333;
  font-weight: 600
}

.fancylist section.level2 ul li p em{
  color: rgba(51,51,51,.7)
}

.fancylist ul li{
  background-color: rgba(51,51,51,.02);
  border-left: 2px solid rgba(51,51,51,.15);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1rem 1rem 2rem
}

.fancylist ul li:hover {
  background-color: rgba(51,51,51,.05);
  border-left-color: rgba(51,51,51,.3)
}

.fancylist ul li strong:last-of-type {
  color: rgba(51,51,51,.7);
  font-size: .95em
}

td > span, td > a{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

td .listing-author{
  /*white-space: nowrap;*/
  max-width: 200px;
}

td > span.listing-container-title{
  font-style: italic;
}

/* Organigrama (Endesa-UGR Chair) */
.org-tier {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.org-card {
  width: 210px;
  text-align: center;
  padding: 1rem .75rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.org-card img,
.org-card .org-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto .6rem;
}

.org-card .org-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.07);
  color: rgba(0,0,0,.4);
  font-size: 2rem;
}

.org-card .org-name { font-weight: 600; display: block; }
.org-card .org-role { font-size: .85em; color: rgba(51,51,51,.8); display: block; }
.org-card .org-affil { font-size: .8em; color: rgba(51,51,51,.6); display: block; margin-top: .25rem; }
.org-card.org-lead { border-top: 4px solid var(--bs-primary); width: 240px; }
.org-side-title { text-align: center; font-weight: 600; margin-top: 1.5rem; }
.org-logos { display: flex; justify-content: center; align-items: center; gap: 2.5rem; margin: 1rem 0 1.5rem; }
.org-logos img { width: auto; max-width: none; }
.org-logos .logo-ugr { height: 110px; }
.org-logos .logo-endesa { height: 48px; }

/* Navbar: azul medio refinado */
.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.navbar-title {
  font-weight: 700;
  color: #fff;
}
.navbar-nav .nav-link {
  padding: 0.375rem 0;
  margin: 0 0.75rem;
  border-bottom: 2px solid transparent;
}
.navbar-nav .nav-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.navbar-nav .nav-link.active {
  color: #fff;
  border-bottom-color: #fff;
}
.quarto-navigation-tool {
  color: #e0f2fe;
}
.quarto-navigation-tool:hover {
  color: #fff;
}
.navbar a:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}