/* Inner pages: request-style top bar + photo-church title card */

.iam-bar {
  height: 70px;
  min-height: 70px;
  padding: 0 28px;
  box-sizing: border-box;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px 20px;
  position: relative;
  z-index: 10;
}

.iam-bar .home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 0;
  line-height: 0;
  color: inherit;
  text-decoration: none !important;
}

.iam-bar .home-link:hover {
  background: #f1f5f9;
}

.iam-bar .home-link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.iam-bar .home-link svg {
  display: block;
}

.iam-bar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
}

.iam-bar-nav a {
  color: inherit;
  text-decoration: none;
}

.iam-bar-nav a:hover,
.iam-bar-nav a.is-active {
  color: var(--navy);
  font-weight: 600;
}

.iam-bar-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--gold);
  padding-bottom: 2px;
}

.iam-countdown {
  margin-left: auto;
  text-align: right;
  line-height: 1.25;
  max-width: 11rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #64748b;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-sans);
}

.iam-countdown::before {
  content: "Countdown";
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 2px;
  font-family: var(--font-sans);
}

/* Church-dawn hero + logo title (no stats on inner pages) */
.page-hero {
  padding: 28px 20px 48px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(15, 42, 66, 0.5) 0%, rgba(245, 247, 250, 0.94) 90%),
    url("media/iam-hero-church-dawn.jpg") center 40% / cover no-repeat;
}

.page-hero .title-card-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero .title-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(14, 28, 46, 0.18);
}

.page-hero .title-brand {
  text-align: center;
  padding: 22px 20px 20px;
  border-bottom: none;
}

.page-hero .title-brand svg {
  display: block;
  margin: 0 auto 4px;
  width: min(260px, 72vw);
  height: auto;
}

.page-hero .title-brand .t1 {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: #64748b;
  margin-top: 2px;
}

.page-hero .title-brand .t2 {
  font-size: clamp(1.45rem, 4.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--navy);
  line-height: 1.05;
}

.page-hero .title-brand .t3 {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
}

.page-main {
  max-width: 1180px;
  margin: -24px auto 0;
  padding: 0 22px 56px;
  position: relative;
  z-index: 2;
}

.page.page-main {
  margin-top: 6px;
}

@media (max-width: 800px) {
  .page.page-main {
    margin-top: 24px;
  }
}
