/* margin background - shows through on either side of the centered
   content column (and above/below, on short pages). Drop a file in as
   www/margin_bg.jpg (or .png/.webp) to change it; #8a7159 is the fallback
   color shown while it loads or if the file's missing. */
html {
  background-color: #8a7159;
  background-image: url('www/margin_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

body {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
}

/* reusable centered/italic line - e.g. the Instagram callout on Contact */
.centered-italic {
  text-align: center;
  font-style: italic;
}

.contact-button-wrap {
  text-align: center;
  margin: 1.5rem 0;
}

.contact-button {
  font-size: 1.1rem;
  padding: 0.6rem 1.5rem;
}

/* logo in the navbar - drop your file in as www/logo.png */
.navbar-brand {
  background-image: url('www/logo.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 32px 32px; /* fixed size - "contain" scaled to the whole
  (very wide) navbar-brand box and ended up overlapping the title text */
  padding-left: 46px;
}

/* banner photo at the top of a page, filling the content column */
.page-banner {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .page-banner {
    height: 180px;
  }
}

.team-section-heading {
  text-align: center;
  font-style: italic;
}

.team-member {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
}

.team-member:last-child {
  border-bottom: none;
}

.team-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.team-bio h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

@media (max-width: 500px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.home-section {
  margin-bottom: 1.5rem;
}

.home-section h2 {
  margin-bottom: 1.25rem;
}

.home-section-featured {
  text-align: center;
  padding: 1rem 1.5rem 1.5rem;
}

.goal-photo {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 4px;
}

.home-section-featured p {
  font-style: italic;
  font-size: 2.4rem; /* this theme's root font-size is 10px, so 1rem = 10px -
  double the site's usual body text (14px) to actually read as "much larger" */
  line-height: 1.35;
}

@media (max-width: 600px) {
  .home-section-featured p {
    font-size: 1.8rem;
  }
}

.news-list {
  margin-bottom: 1.5rem;
}

.news-item {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  color: #666;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  width: 6.5rem;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.partner-logo {
  max-height: 60px;
  max-width: 160px;
  object-fit: contain;
}

.partner-name {
  font-size: 0.95rem;
  color: #555;
}

.call-type {
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
}

.call-type:last-child {
  border-bottom: none;
}

.call-type h2 {
  margin-bottom: 0.25rem;
}

.call-type-description {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.call-example {
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 3px solid #eee;
  margin-bottom: 1rem;
}

.call-meta {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 0.35rem 0;
}

.spectrogram {
  display: block;
  max-width: 100%;
  border: 1px solid #ccc;
  margin: 0.25rem 0;
}

.call-example audio {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0.25rem 0;
}
