/* ---- GLOBAL DARK THEME ---- */

body {
  background-color: #2f2f2f;
  color: #f5f5f5;
}

/* Homepage background */

body.homepage {
  background-image: url("images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.homepage main {
  background: rgba(0,0,0,0.45);
  min-height: 100vh;
  padding: 2rem;
}

/* Homepage header styling */

.homepage h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 6px;
}

.homepage h3 {
  font-size: 1.3rem;
  font-weight: 400;
  color: #1f8a8a;
  margin-top: 0;
  margin-bottom: 12px;
}

.homepage em {
  color: #cfcfcf;
  font-size: 1.05rem;
}

/* Homepage text width */

.homepage main {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- PROFILE PHOTO ---- */

.profile {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* spacing between photo and text */

.columns .column:first-child {
  padding-right: 30px;
}

/* ---- PUBLICATION BUTTONS ---- */

.btn {
  margin-top: 8px;
  margin-right: 6px;
  border-radius: 6px;
  padding: 4px 10px;
}

/* cleaner academic-style buttons */

.btn-secondary {
  background-color: #444;
  border-color: #444;
}

.btn-secondary:hover {
  background-color: #666;
  border-color: #666;
}

/* ---- GOLD AWARD BADGE ---- */

.award {
  display: inline-block;
  background: #d4af37;
  color: black;
  font-size: 0.75rem;
  padding: 3px 7px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
}

/* ---- ABSTRACT BOX ---- */

.callout-note {
  background: #3a3a3a;
  border: none;
  color: #eaeaea;
}

/* ---- PUBLICATIONS LAYOUT ---- */

.pub-entry {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}



.pub-year {
  min-width: 60px;
  font-weight: 700;
  color: #d9d9d9;
  flex-shrink: 0;
}

.pub-body {
  flex: 1;
}

.btn {
  margin-top: 8px;
  margin-right: 6px;
  border-radius: 6px;
  padding: 4px 10px;
}

.btn-secondary {
  background-color: #444;
  border-color: #444;
}

.btn-secondary:hover {
  background-color: #666;
  border-color: #666;
}

.award {
  display: inline-block;
  background: #d4af37;
  color: black;
  font-size: 0.75rem;
  padding: 3px 7px;
  border-radius: 4px;
  margin: 6px 0;
  font-weight: 600;
}

/* Abstract collapsible */

.callout-note {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 8px;
}

.callout-note .callout-header {
  background: transparent;
  color: #bbbbbb;
  font-size: 0.9rem;
  padding: 4px 0;
}

.callout-note .callout-header:hover {
  color: #ffffff;
}

.callout-note .callout-body {
  background: #3a3a3a;
  padding: 12px;
  border-radius: 6px;
  margin-top: 6px;
}

/* Abstract toggle */

.abstract {
  margin-top: 8px;
}

.abstract summary {
  display: inline-block;
  cursor: pointer;
  color: #bbbbbb;
  font-size: 0.95rem;
}

.abstract summary:hover {
  color: white;
}

.abstract p {
  margin-top: 8px;
}

/* Abstract button */

.abstract {
  display: inline-block;
  margin-left: 6px;
}

.abstract summary {
  list-style: none;
}

.abstract summary::-webkit-details-marker {
  display: none;
}

.abstract[open] summary {
  margin-bottom: 8px;
}

.abstract p {
  margin-top: 10px;
}

.btn {
  margin-right: 6px;
}

.buttons-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 8px;
}

.abstract-inline {
  display: inline-block;
}

.abstract-inline summary {
  list-style: none;
}

.abstract-inline summary::-webkit-details-marker {
  display: none;
}

.abstract-inline[open] {
  display: block;
  margin-top: 10px;
}

.abstract-inline .abstract-text {
  margin-top: 10px;
  color: #eaeaea;
}

/* Publication hover effect */

.pub-entry {
  padding: 14px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pub-entry:hover {
  background: rgba(255,255,255,0.05);
  transform: translateX(3px);
}

.pub-entry {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pub-entry:last-child {
  border-bottom: none;
}

h2 {
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 8px;
  margin-top: 50px;
  margin-bottom: 25px;
}

/* Link color */

a {
  color: #1f8a8a;
  text-decoration: none;
}

a:hover {
  color: #3fb3b3;
  text-decoration: underline;
}

/* Article / Abstract buttons */

.btn-secondary {
  background-color: #444;
  border-color: #444;
  color: #1f8a8a;
}

.btn-secondary:hover {
  background-color: #555;
  border-color: #555;
  color: #2aa3a3;
}

/* Navbar styling */

.navbar {
  background-color: #262626 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar a,
.navbar-brand {
  color: #f5f5f5 !important;
}

.navbar a:hover,
.navbar-brand:hover {
  color: #1f8a8a !important;
}

/* Fixed navbar */

.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: rgba(38, 38, 38, 0.95) !important;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body {
  padding-top: 70px;
}

.navbar {
  background-color: rgba(38,38,38,0.9) !important;
  backdrop-filter: blur(6px);
}

.hero-banner {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 14px;
  margin-bottom: 05px !important;
  filter: brightness(0.75);
}

/* Navbar brand (your name) */

.navbar-brand {
  color: #1f8a8a !important;
  font-weight: 600;
}

.navbar-brand:hover {
  color: #2aa3a3 !important;
}

/* Other navbar links */

.navbar-nav .nav-link {
  color: #f5f5f5 !important;
}

.navbar-nav .nav-link:hover {
  color: #1f8a8a !important;
}

body {
  padding-top: 60px !important;
}

.tagline {
  font-weight: 400;
  font-size: 0.85em;
  color: #cfcfcf;
  font-style: italic;
}

.affiliation {
  display: block;
  font-size: 1rem;
  color: #1f8a8a;
  margin-top: 4px;
  margin-bottom: 12px;
}

.profile-links {
  margin-top: 18px;
  margin-bottom: 10px;
}

.profile-links a {
  margin-right: 18px;
  color: #1f8a8a;
  font-weight: 500;
  text-decoration: none;
}

.profile-links a:hover {
  color: #2aa3a3;
  text-decoration: underline;
}

.profile-icons {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.profile-icons a {
  font-size: 1.35rem;
  color: #1f8a8a;
  text-decoration: none;
}

.profile-icons a:hover {
  color: #2aa3a3;
}