/**
 * @file
 * Styles for church teaser view mode.
 */

.church-teaser {
  margin-bottom: 0;
}

.church-teaser__wrapper {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px dashed #ccc;
  transition: all 0.2s ease;
}

.church-teaser__wrapper:hover {

}

/* Left Icon */
.church-teaser__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.church-teaser__icon svg {
  width: 40px;
  height: 40px;
}

/* Center Content */
.church-teaser__content {
  flex: 1;
  min-width: 0;
}

.church-teaser__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.church-teaser__title a {
  color: #0097db;
  text-decoration: underline;
}

.church-teaser__title a:hover {
  color: #000;
}

.church-teaser__address {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 4px;
  line-height: 1.5;
}

.church-teaser__denomination {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* Remove field labels in teaser */
.church-teaser__address .field__label,
.church-teaser__denomination .field__label {
  display: none;
}

/* Clean field output */
.church-teaser__address .field__item,
.church-teaser__denomination .field__item {
  display: inline;
}

/* Right Link */
.church-teaser__link {
  flex-shrink: 0;
  margin-left: auto;
}

.church-profile-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: transparent;
  color: #71AB1D;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .church-teaser__wrapper {
    flex-wrap: wrap;
    gap: 15px;
  }

  .church-teaser__content {
    flex: 1 1 100%;
    order: 2;
  }

  .church-teaser__icon {
    order: 1;
  }

  .church-teaser__link {
    order: 3;
    margin-left: auto;
  }

  .church-teaser__title {
    font-size: 16px;
  }

  .church-teaser__address,
  .church-teaser__denomination {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .church-teaser__wrapper {
    padding: 15px;
  }

  .church-profile-link {
    font-size: 13px;
    padding: 6px 12px;
  }
}

