/* --- Link styling: no blue + no underline by default --- */
.content a,
.content a:visited {
  color: inherit;
  text-decoration: none;
}

.content a:hover,
.content a:focus {
  text-decoration: underline;
}

/* --- Accent colors (deep blue, soft background) --- */
:root {
  --accent-color: #004c7b;    /* deep blue */
  --accent-soft:  #e7f3fb;    /* very light blue background */
}

/* Headings in content */
.content h1,
.content h2,
.content h3 {
  color: var(--accent-color);
}

/* Navbar hover color */
.navbar a:hover {
  color: var(--accent-color) !important;
}

/* Horizontal rules */
hr {
  border-top: 1px solid var(--accent-color);
}

/* --- Contact box styling (if you use it elsewhere) --- */
.contact-box {
  background: var(--accent-soft);
  padding: 16px 18px;
  border-radius: 8px;
  margin: 1rem 0 1.5rem 0;
}

.contact-box ul {
  margin-bottom: 0;
}

/* ====================================== */
/* HOME PAGE ONLY (class=home-page)      */
/* Header row: text left, image right    */
/* ====================================== */

.home-page .home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;             /* space between text and image */
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* left side: name, title, affiliation */
.home-page .home-header-text {
  flex: 1 1 auto;
}

/* right side: photo */
.home-page .home-header-photo {
  flex: 0 0 auto;
}


/* ---- HOME IMAGE: force it small and round ---- */
.home-page .home-photo {
  width: 100px !important;       
  max-width: 100px !important;   /* keep this the same as width */
  height: auto;
  border-radius: 50%;            /* ← round image */
  display: block;
  margin-left: auto;             /* push to the right within its column */
}

