/* styles.css — shared styles for all pages */

:root {
  --accent: #d7e2c5;      /* sage, slightly deeper — navbar background and light accents */
  --accent-deep: #4e6139; /* deep sage — used for text/icons, readable on white */
}

body {
  font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
}

/* Navbar (single, site-wide navbar generated from _site.yml) */
.navbar {
  background-color: var(--accent);
  border: none;
  padding: 15px 20px;
  font-size: 16px;
}

.navbar a {
  color: #555555;
}

.navbar a:hover,
.navbar a:focus {
  color: var(--accent-deep);
}

.navbar-brand {
  font-weight: 700;
  font-size: 20px !important;
}

/* Auto-generated page title (from each page's YAML `title:`) */
h1.title {
  margin-top: 45px;
  font-size: 28px;
}

/* Generic page content wrapper (bio, research, teaching, contact) */
.page-content {
  margin-top: 20px;
  font-size: 16px;
}

.page-content h3 {
  font-size: 21px;
  display: inline-block;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 4px;
}

/* Homepage intro block */
.intro-row {
  margin-top: 80px;
  align-items: center;
}

.intro-photo img {
  max-height: 300px;
  width: auto;
  border-radius: 20px;
}

.intro-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.social-icons a {
  color: #555555;
  margin-right: 15px;
  display: inline-block;
}

.social-icons a:hover {
  color: var(--accent-deep);
}

/* Homepage "News" heading + date badges */
.intro-text h3 {
  display: inline-block;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 4px;
}

.intro-text h3 i.fa-bullhorn {
  color: var(--accent-deep);
}

.news-date-hand {
  display: inline-block;
  background: var(--accent);
  color: #3f5230;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

.news-heading {
  margin-top: 24px;
}

.intro-text {
  font-size: 16px;
  margin-top: 45px;
  text-align: left;
}

@media (max-width: 767px) {
  .intro-text-col {
    text-align: center;
    margin-top: 20px;
  }
}
