/**
 * Meet the Pastor content layout: "Meet the Pastor" heading, then 20% image left, 80% content right.
 */

/* Church name and "Meet the Pastor" title: grey (match church page) */
.pastor-header .church-title,
.pastor-header .church-title a {
  color: #666 !important;
  text-decoration: none;
}
.pastor-header .church-title a:hover {
  color: #0097db;
  text-decoration: underline;
}

/* "Meet the Pastor" section heading - blue */
.pastor-content__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0097db;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
}

/* Pastor title and name from church profile (above description) */
.pastor-content__church-profile-info {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.pastor-content__pastor-title {
  font-weight: 600;
  color: #374151;
}


.pastor-content__pastor-name {
  font-weight: 600;
  color: #374151;
}

.pastor-content {
  margin-top: 1rem;
}

.pastor-content__layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.pastor-content__image {
  flex: 0 0 20%;
  min-width: 180px;
  max-width: 240px;
}

.pastor-content__image .field__item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.pastor-content__body {
  flex: 1;
  min-width: 0;
}

/* No image: content full width */
.pastor-content__layout--no-image .pastor-content__image {
  display: none;
}

.pastor-content__layout--no-image .pastor-content__body {
  flex: 1 1 100%;
  max-width: 100%;
}

.pastor-content__back-to-church {
  margin-top: 2rem;
  margin-bottom: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.pastor-content__back-to-church .back-to-church-link {
  color: #0097db;
  text-decoration: none;
  font-weight: 500;
}

.pastor-content__back-to-church .back-to-church-link:hover {
  text-decoration: underline;
}

/* Denomination: same layout, title and fields in right column */
.denomination-content__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 1rem;
}

.denomination-content__description {
  margin-bottom: 1.25rem;
  color: #666;
  line-height: 1.6;
}

.denomination-content__fields {
  margin-top: 1rem;
}

.denomination-content__fields .field {
  margin-bottom: 0.5rem;
}

.denomination-content__fields .field__label {
  font-weight: 600;
  color: #374151;
}

.denomination-content__fields .field--name-field-official-website a {
  color: #0097db;
  text-decoration: none;
}

.denomination-content__fields .field--name-field-official-website a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .pastor-content__image {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
