/* ============================================================
   Pastor Installation Services Announcement
   South Mountain Baptist Church
   ============================================================ */

/* --- Announcement Bar --- */
#smbc-announcement-bar {
  background-color: #6b2d8b;
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 9999;
  line-height: 1.5;
}

#smbc-announcement-bar a {
  color: #f0c8ff;
  text-decoration: underline;
  margin-left: 8px;
  white-space: nowrap;
}

#smbc-announcement-bar a:hover {
  color: #ffffff;
}

#smbc-announcement-bar .smbc-bar-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

#smbc-announcement-bar .smbc-bar-close:hover {
  color: #ffffff;
}

/* --- Installation Section --- */
#smbc-installation-section {
  background-color: #1a1a2e;
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
}

/* Full-width title block */
.smbc-install-title-wrap {
  max-width: 1100px;
  margin: 0 auto 48px auto;
  text-align: center;
}

.smbc-install-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: #c084e8;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 12px 0;
}

.smbc-install-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.smbc-install-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.smbc-install-subtitle strong {
  color: #d4a8e8;
}

.smbc-install-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* Left column: cropped flyer image */
.smbc-install-left {
  flex: 0 0 42%;
  max-width: 42%;
}

.smbc-install-flyer {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Logo beneath the flyer */
.smbc-install-logo-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.smbc-install-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  opacity: 0.92;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* Right column: event details */
.smbc-install-right {
  flex: 1;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* (headline moved to full-width title block above) */

/* Service cards */
.smbc-service-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.smbc-service-card {
  background: rgba(107, 45, 139, 0.18);
  border: 1px solid rgba(107, 45, 139, 0.45);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.smbc-pastor-circle {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #8b4db3;
  box-shadow: 0 4px 16px rgba(107,45,139,0.4);
  background-color: #2a1a3e;
}

.smbc-pastor-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.smbc-service-info {
  flex: 1;
}

.smbc-service-time {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c084e8;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.smbc-service-date {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.smbc-service-location {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.smbc-service-pastor {
  font-size: 0.88rem;
  font-weight: 600;
  color: #d4a8e8;
  margin: 0;
}

.smbc-service-pastor-church {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin: 2px 0 0 0;
}

/* Divider between the two service cards */
.smbc-service-divider {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: -8px 0;
}

/* Countdown timer */
.smbc-countdown-wrapper {
  border-top: 1px solid rgba(107,45,139,0.4);
  padding-top: 20px;
}

.smbc-countdown-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px 0;
  text-align: center;
}

.smbc-countdown-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.smbc-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(107,45,139,0.25);
  border: 1px solid rgba(107,45,139,0.5);
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 68px;
}

.smbc-countdown-number {
  font-size: 2rem;
  font-weight: 700;
  color: #e2b8f5;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.smbc-countdown-unit-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.smbc-countdown-expired {
  text-align: center;
  color: #d4a8e8;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 0;
}

/* --- Responsive: tablet and mobile --- */
@media (max-width: 900px) {
  .smbc-install-container {
    flex-direction: column;
    gap: 32px;
  }

  .smbc-install-left {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .smbc-install-left img {
    max-height: 340px;
    width: 100%;
    object-fit: cover;
    object-position: top;
  }
}

@media (max-width: 520px) {
  #smbc-installation-section {
    padding: 40px 16px;
  }

  .smbc-service-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .smbc-pastor-circle {
    width: 72px;
    height: 72px;
  }

  .smbc-countdown-unit {
    min-width: 54px;
    padding: 10px 10px;
  }

  .smbc-countdown-number {
    font-size: 1.6rem;
  }

  #smbc-announcement-bar {
    font-size: 0.82rem;
    padding-right: 40px;
  }
}
