/* Site-wide overrides on top of main.css (Beautiful Jekyll): lighter navbar, smaller page headings. */

/* Navbar */
.navbar-custom {
  background-color: #fff;
  border-bottom: 1px solid #e6e8eb;
}
.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-weight: 700;
  color: #1f2328;
}
.navbar-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}
.navbar-custom .nav li a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 600;
  color: #444c56;
}
@media only screen and (min-width: 768px) {
  .navbar-custom { padding: 6px 0; }
  .navbar-custom.top-nav-short { padding: 0; }
}

/* Page and post headings */
.intro-header { margin: 80px 0 10px; }
.intro-header .page-heading { text-align: left; }
.intro-header .page-heading h1 {
  font-size: 32px;
  letter-spacing: -0.01em;
}
.intro-header .post-heading h1 { font-size: 30px; }
.intro-header .page-heading hr.small,
.intro-header .post-heading hr.small { display: none; }
.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  color: #5f6b76;
  margin-top: 6px;
}
@media only screen and (min-width: 768px) {
  .intro-header { margin-top: 110px; }
  .intro-header .page-heading h1 { font-size: 40px; }
  .intro-header .post-heading h1 { font-size: 38px; }
  .intro-header .page-heading .page-subheading,
  .intro-header .post-heading .post-subheading { font-size: 20px; }
}

/* Phones: keep the brand on one line next to the menu button */
@media only screen and (max-width: 767px) {
  .navbar-custom .navbar-brand {
    max-width: calc(100% - 70px);
    font-size: 15px;
  }
  .navbar-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
