/* === Soft Orange Theme Overrides === */

:root {
    --bs-primary: #f4a261;
    --bs-primary-rgb: 244, 162, 97;
    --bs-link-color: #f4a261;
    --bs-link-hover-color: #e76f51;
    --bs-border-color: #e76f51;
}

/* Bootstrap component overrides with soft orange */

.btn-primary,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    background-color: #ffffff !important;
    border-color: #e76f51 !important;
    color: #e76f51 !important;
}

.text-primary {
    color: #f4a261 !important;
}

.bg-primary {
    background-color: #f4a261 !important;
}

.border-primary {
    border-color: #e76f51 !important;
}


/* Links */
a {
    color: #f4a261;
}

a:hover {
    color: #e76f51;
}

#mainNav {
    background-color: white !important;
}

.logo {
    height: 40px;
    width: auto;
    max-width: 150px; /* optional max width */
    padding-right: 10px;
}

body {
    color: #495057;
}

.card-body {
    color: #495057;
}
/* Optional: link hover state in navbar */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-brand:hover {
    color: #e76f51 !important;  /* your defined hover color */
}


/* Match navbar font color to body text (#495057) */

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-brand {
    color: #495057 !important;
}

/* Optional: Match hover color to your theme accent */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-brand:hover {
    color: #e76f51 !important;
}

/* Applies to all links with class .navbar-brand, not just in the navbar */
.navbar-brand:hover {
    color: #e76f51 !important;
}

/* Applies to any link inside card-body */
.card-body a:hover {
    color: #e76f51 !important;
}


/* === extra vertical gap between stacked sections ============== */
/* phones (default) ---------- */
.mt-gap { margin-top: 3rem; }          /* 48 px if root font-size = 16 px */

/* tablets (≥ md, 768 px) ----- */
@media (min-width: 768px) {
    .mt-gap { margin-top: 4.5rem; }    /* 72 px */
}
/* desktops (≥ lg, 992 px) ----- */
@media (min-width: 992px) {
    .mt-gap { margin-top: 6rem; }      /* 96 px */
}

/* unified icon container */
.icon-linkedin,
.icon-orcid,
.icon-scholar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 6px;
  text-decoration: none !important;
}

/* LinkedIn / ORCID images */
.social-icon-img {
  display: block;
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
}

/* Bootstrap icons */
.icon-orcid i,
.icon-scholar i {
  font-size: 18px;
  line-height: 1;
}

.icon-linkedin:hover,
.icon-orcid:hover,
.icon-scholar:hover {
  transform: scale(1.1);
  transition: 0.15s ease;
}

.scholar-fallback-icon {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}

@media (max-width: 576px) {
  .contributors-list {
    min-width: 0 !important;
    width: 100%;
  }

  .contributors-item {
    margin-bottom: 1rem;
  }

  .contributors-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.35rem;
  }

  .contributors-name {
    white-space: normal;
  }

  .contributors-row .icon-linkedin {
    margin-left: 1rem !important; /* keeps some gap after the flag */
  }
}
