/*
 * 벨뷰 캠퍼스 - 시애틀형제교회
 * Design: hyungjae.org inspired
 */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --hj-primary:    #415678;   /* steel-blue brand */
  --hj-cta:        #0073a8;   /* action blue */
  --hj-cta-dark:   #005075;   /* hover */
  --hj-navy:       #002041;   /* dark sections / footer */
  --hj-text:       #333333;
  --hj-heading:    #111111;
  --hj-link:       #4d6995;
  --hj-bg-alt:     #F8F7F5;
  --hj-bg-blue:    #F2F7FB;
  --hj-border:     #F2F2F2;
  --hj-radius:     2px;
  --hj-ease:       0.25s ease;

  /* ── Type scale ── */
  --hj-font:       'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --hj-size-h1:    clamp(2rem, 5vw, 3rem);   /* 32–48px */
  --hj-size-h2:    2rem;                      /* 32px */
  --hj-size-h3:    1.5rem;                    /* 24px */
  --hj-size-h4:    1.25rem;                   /* 20px */
  --hj-size-h5:    1rem;                      /* 16px */
  --hj-size-h6:    0.875rem;                  /* 14px */
}

/* ── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--hj-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--hj-text);
  padding-top: 72px;
}
body.home { padding-top: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hj-font);
  color: var(--hj-heading);
  line-height: 1.3;
}
h1 {
  font-size: var(--hj-size-h1);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
}
h2 { font-size: var(--hj-size-h2); font-weight: 700; }
h3 { font-size: var(--hj-size-h3); font-weight: 700; }
h4 { font-size: var(--hj-size-h4); font-weight: 600; }
h5 { font-size: var(--hj-size-h5); font-weight: 700; }
h6 { font-size: var(--hj-size-h6); font-weight: 600; }

a { color: var(--hj-link); transition: color var(--hj-ease); }
a:hover { color: var(--hj-cta); }

/* ── Navbar ────────────────────────────────────────────── */
#main-navbar {
  background: #002042;
  border-bottom: 1px solid #002042;
  box-shadow: 0 1px 0 #002042;
  transition: background var(--hj-ease), box-shadow var(--hj-ease), border-color var(--hj-ease);
  z-index: 1050 !important;
}

#main-navbar .navbar-brand,
#main-navbar .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}
#main-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}
#main-navbar .navbar-toggler:focus,
#main-navbar .navbar-toggler:active {
  outline: 2px solid #0073ab;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0, 115, 171, 0.35);
}
#main-navbar .navbar-toggler-icon {
  filter: invert(1);
}

#main-navbar .navbar-brand {
  font-family: var(--hj-font);
  font-size: 1rem;
  font-weight: 500;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#main-navbar .navbar-brand img {
  height: 32px;
  width: auto;
}

#main-navbar .nav-link {
  font-family: var(--hj-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff !important;
  padding: 0.5rem 0.85rem;
  position: relative;
  transition: color var(--hj-ease);
}
#main-navbar .nav-link:hover,
#main-navbar .nav-link:focus { color: #0073ab !important; }


.dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--hj-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 0.4rem 0;
  background: #fff;
}
.dropdown-item {
  font-size: 0.84rem;
  font-weight: 400;
  padding: 0.5rem 1.25rem;
  color: var(--hj-text);
  transition: background var(--hj-ease), color var(--hj-ease);
}
.dropdown-item:hover {
  background: var(--hj-bg-alt);
  color: var(--hj-cta);
}
.dropend:hover > .dropdown-menu {
  display: block;
}
.dropend > .dropdown-item::after {
  display: inline-block;
  margin-left: auto;
  content: "\203A";
}

/* ── Hero ──────────────────────────────────────────────── */
.hj-hero {
  position: relative;
  height: 500px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hj-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.hj-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 30, 0.58);
}
.hj-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
  max-width: 800px;
  transform: translateY(0);
}
.hj-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1rem;
}
.hj-hero__title {
  font-family: var(--hj-font);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}
.hj-hero__sub {
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}
.hj-hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hj-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hj-scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  transform: rotate(45deg);
  animation: hjBounce 1.8s infinite;
}
@keyframes hjBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(7px); }
}

/* ── Buttons ───────────────────────────────────────────── */
.hj-btn-primary {
  background: var(--hj-cta);
  color: #fff;
  border: 2px solid var(--hj-cta);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  text-decoration: none;
  transition: background var(--hj-ease), border-color var(--hj-ease), box-shadow var(--hj-ease), transform var(--hj-ease);
  display: inline-block;
}
.hj-btn-primary:hover {
  background: var(--hj-cta-dark);
  border-color: var(--hj-cta-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 115, 168, 0.45);
  transform: translateY(-2px);
}
.hj-btn-primary:active {
  background: #003f5e;
  border-color: #003f5e;
  color: #fff;
  box-shadow: none;
  transform: scale(0.97);
}
.hj-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  text-decoration: none;
  transition: background var(--hj-ease), border-color var(--hj-ease);
  display: inline-block;
}
.hj-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}
.hj-btn-dark {
  background: var(--hj-navy);
  color: #fff;
  border: 2px solid var(--hj-navy);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  text-decoration: none;
  transition: background var(--hj-ease);
  display: inline-block;
}
.hj-btn-dark:hover { background: #001428; border-color: #001428; color: #fff; }

.hj-btn-link {
  color: var(--hj-cta);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--hj-ease);
}
.hj-btn-link:hover { color: var(--hj-cta-dark); }

/* Global button shape & weight */
.btn {
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}
.btn-sm { font-size: 0.8rem; }
.btn-lg { font-size: 1rem; }

/* Bootstrap primary override */
.btn-primary {
  background: var(--hj-cta);
  border-color: var(--hj-cta);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--hj-cta-dark);
  border-color: var(--hj-cta-dark);
}
.btn-outline-primary {
  color: var(--hj-cta);
  border-color: var(--hj-cta);
}
.btn-outline-primary:hover {
  background: var(--hj-cta);
  border-color: var(--hj-cta);
}
.text-primary { color: var(--hj-cta) !important; }

/* ── Service Strip ─────────────────────────────────────── */
.hj-service-strip {
  background: var(--hj-navy);
  padding: 2rem 0;
}
.hj-service-item {
  text-align: center;
  color: #fff;
  padding: 0.5rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.hj-service-item:last-child { border-right: none; }
.hj-service-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.3rem;
}
.hj-service-time {
  font-family: var(--hj-font);
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.3rem;
}
.hj-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--hj-ease);
}
.hj-service-cta:hover { color: #fff; }

/* ── Section Headings ──────────────────────────────────── */
.hj-section-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hj-cta);
}
.hj-section-title {
  font-family: var(--hj-font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--hj-heading);
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 0;
}
.hj-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--hj-cta);
}
.hj-section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* backwards-compat alias used by inner pages */
.section-title {
  font-family: var(--hj-font);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--hj-heading);
  position: relative;
  padding-bottom: 1rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--hj-cta);
}

/* ── Sermon Cards ──────────────────────────────────────── */
.hj-sermon-card {
  background: #fff;
  border: 1px solid var(--hj-border);
  border-radius: var(--hj-radius);
  overflow: hidden;
  height: 100%;
  transition: transform var(--hj-ease), box-shadow var(--hj-ease);
}
.hj-sermon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.hj-sermon-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--hj-border);
}
.hj-sermon-body { padding: 1.2rem; }
.hj-sermon-date {
  font-size: 0.75rem;
  color: var(--hj-cta);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.hj-sermon-title {
  font-family: var(--hj-font);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--hj-heading);
  text-decoration: none;
  line-height: 1.45;
  display: block;
  margin-bottom: 0.5rem;
}
.hj-sermon-title:hover { color: var(--hj-cta); }
.hj-sermon-scripture { font-size: 0.78rem; color: #888; margin-bottom: 0.15rem; }
.hj-sermon-pastor  { font-size: 0.78rem; color: #666; }

/* old sermon-card alias */
.sermon-card {
  border-radius: var(--hj-radius);
  overflow: hidden;
  border: 1px solid var(--hj-border);
  transition: transform var(--hj-ease), box-shadow var(--hj-ease);
  background: #fff;
}
.sermon-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.sermon-thumb {
  width: 100%;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
  background-color: var(--hj-border);
}

/* ── Welcome / About Section ───────────────────────────── */
.hj-welcome { background: var(--hj-bg-alt); }
.hj-welcome__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--hj-radius);
}
.hj-welcome__text {
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 0.75rem;
}

/* ── Ministry Cards ────────────────────────────────────── */
.hj-ministry-card {
  background: #fff;
  border: 1px solid var(--hj-border);
  border-radius: var(--hj-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  display: block;
  color: inherit;
  height: 100%;
  transition: transform var(--hj-ease), box-shadow var(--hj-ease), border-color var(--hj-ease);
}
.hj-ministry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
  border-color: var(--hj-cta);
  color: inherit;
}
.hj-ministry-icon {
  width: 62px;
  height: 62px;
  background: var(--hj-bg-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--hj-cta);
}
.hj-ministry-title {
  font-family: var(--hj-font);
  font-size: 1rem;
  font-weight: 400;
  color: var(--hj-heading);
  margin-bottom: 0.5rem;
}
.hj-ministry-desc { font-size: 0.82rem; color: #888; line-height: 1.6; margin: 0; }

/* old ministry-card alias */
.ministry-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--hj-border);
  border-radius: var(--hj-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--hj-ease);
}
.ministry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: var(--hj-cta);
}
.card-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card-content h3 { font-weight: 600; margin-bottom: 0.75rem; color: var(--hj-heading); }
.card-content p  { font-size: 0.92rem; color: #666; margin-bottom: 1rem; }
.card-content a  { text-decoration: none; font-weight: 600; color: var(--hj-cta); }
.card-link-text  { font-weight: 600; color: var(--hj-cta); }

/* ── News Cards ────────────────────────────────────────── */
.news-card {
  border-radius: var(--hj-radius);
  border: 1px solid var(--hj-border) !important;
  transition: transform var(--hj-ease), box-shadow var(--hj-ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -72px;
  padding-top: 72px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 30, 0.58);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.page-hero-title {
  font-family: var(--hj-font);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
}

/* ── About / Staff / Service-info (inner pages) ─────────── */
.about-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hj-cta);
  margin-bottom: 0.5rem;
}
.about-heading {
  font-family: var(--hj-font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--hj-heading);
}
.about-welcome-text { font-size: 1rem; line-height: 1.9; color: #555; }
.about-img-wrap img { border-radius: var(--hj-radius); }

.staff-card {
  padding: 1.5rem 1rem;
  border-radius: var(--hj-radius);
  background: #fff;
  border: 1px solid var(--hj-border);
  transition: transform var(--hj-ease), box-shadow var(--hj-ease);
}
.staff-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.09); }
.staff-photo-wrap {
  width: 110px; height: 110px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--hj-bg-blue);
}
.staff-photo { width: 100%; height: 100%; object-fit: cover; }
.staff-photo-placeholder {
  width: 100%; height: 100%;
  background: var(--hj-bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: #bbb;
}
.staff-name  { font-size: 1rem; font-weight: 600; color: var(--hj-heading); }
.staff-role  { font-size: 0.83rem; color: #666; }
.staff-email { display: block; color: var(--hj-cta); font-size: 0.8rem; text-decoration: none; }
.staff-email:hover { text-decoration: underline; }
.staff-phone { font-size: 0.8rem; color: #888; }

.service-info-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hj-border);
  background: #fff;
  transition: box-shadow var(--hj-ease);
}
.service-info-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.service-info-header { background: var(--hj-navy); padding: 1rem 1.5rem; }
.service-info-title {
  color: #fff;
  font-family: var(--hj-font);
  font-size: 1rem;
  font-weight: 300;
  margin: 0;
}
.service-info-body { padding: 1.25rem 1.5rem; }
.service-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--hj-border);
  font-size: 0.9rem;
}
.service-info-row:last-of-type { border-bottom: none; }
.service-info-label  { color: #555; font-weight: 500; flex: 1; }
.service-info-value  { color: var(--hj-heading); font-weight: 600; text-align: right; flex: 1; }
.service-info-note   { font-size: 0.83rem; color: #888; line-height: 1.6; }
.service-info-link   { display: inline-block; font-size: 0.88rem; color: var(--hj-cta); text-decoration: none; font-weight: 500; }
.service-info-link:hover { text-decoration: underline; }

/* Location */
.location-info { background: #fff; border-radius: 16px; border: 1px solid var(--hj-border); }
.location-item { display: flex; align-items: flex-start; gap: 1rem; }
.location-icon {
  width: 40px; height: 40px;
  background: var(--hj-bg-blue);
  border-radius: var(--hj-radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--hj-cta);
  flex-shrink: 0;
}
.location-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.2rem;
}
.location-value { font-size: 0.95rem; font-weight: 500; color: var(--hj-heading); line-height: 1.5; }
.map-embed iframe { display: block; }

/* Ministry page compat */
.btn-dept-action {
  background: #fff;
  border: 1px solid var(--hj-border);
  color: var(--hj-text);
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--hj-ease);
}
.btn-dept-action:hover {
  background: var(--hj-navy);
  color: #fff;
  transform: translateY(-4px);
}
.ministry-hero { border-radius: 0 0 50px 50px; padding: 100px 0; margin-top: -72px; }
.short-hr { width: 50px; height: 3px; background: #fff; border: none; opacity: 1; }

/* ── Footer ────────────────────────────────────────────── */
.hj-footer {
  background: var(--hj-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}
.hj-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--hj-ease);
}
.hj-footer a:hover { color: #fff; }
.hj-footer__brand-name {
  font-family: var(--hj-font);
  font-size: 1.05rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.5rem;
}
.hj-footer__brand-sub { font-size: 0.82rem; opacity: 0.55; line-height: 1.8; }
.hj-footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.hj-footer__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--hj-ease);
}
.hj-footer__social a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.hj-footer__nav-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.hj-footer__nav-list { list-style: none; padding: 0; margin: 0; }
.hj-footer__nav-list li { margin-bottom: 0.5rem; }
.hj-footer__divider { border-color: rgba(255, 255, 255, 0.08); margin: 2.5rem 0 1.5rem; }
.hj-footer__copy { font-size: 0.75rem; opacity: 0.38; text-align: center; margin: 0; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 991px) {
  #main-navbar {
    background: #002042 !important;
    border-bottom-color: #002042 !important;
  }
  #main-navbar .navbar-collapse {
    background: #002042;
    padding: 0.5rem 0 1rem;
  }
  #main-navbar .nav-link,
  #main-navbar .dropdown-item {
    color: #fff !important;
  }
  #main-navbar .dropdown-menu {
    background: #002042;
    border-color: rgba(255,255,255,0.1);
  }
  #main-navbar .dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
  }
  .hj-service-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.2rem;
  }
  .hj-service-item:last-child { border-bottom: none; }
}

/* ── Instagram Carousel ── */
.hj-ig-carousel {
  position: relative;
}
.hj-ig-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0;
}
.hj-ig-track::-webkit-scrollbar { display: none; }
.hj-ig-slide {
  flex: 0 0 min(100%, 340px);
  scroll-snap-align: start;
}
.hj-ig-slide .instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 340px !important;
  transform: scale(0.85);
  transform-origin: top left;
}
.hj-ig-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--hj-heading, #002042);
  z-index: 2;
}
.hj-ig-arrow:hover { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.hj-ig-arrow--prev { left: -20px; }
.hj-ig-arrow--next { right: -20px; }
.hj-ig-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 360px;
  background: var(--hj-bg-alt, #f8f9fa);
  border-radius: 12px;
  text-decoration: none;
  color: var(--hj-heading, #002042);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.hj-ig-more i:first-child { font-size: 2rem; }
.hj-ig-more:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  color: var(--hj-heading, #002042);
}
@media (max-width: 767.98px) {
  .hj-ig-arrow { display: none; }
}

/* ── Mosaic Hero ───────────────────────────────────────── */
.hj-mosaic-hero {
  background: var(--hj-navy);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hj-mosaic-hero__text {
  text-align: center;
  color: #fff;
  padding: 4rem 1rem 2.5rem;
}
.hj-mosaic-hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.75rem;
}
.hj-mosaic-hero__title {
  font-family: var(--hj-font);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.hj-mosaic-hero__sub {
  font-size: 1rem;
  opacity: 0.75;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}
.hj-mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 10px;
  padding: 0 10px;
  align-items: end;
}
.hj-mosaic-col {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.hj-mosaic-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hj-mosaic-col--side  { height: 320px; }
.hj-mosaic-col--center { height: 440px; }
.hj-wave-divider {
  line-height: 0;
  margin-top: -2px;
}
.hj-wave-divider svg { display: block; width: 100%; }

@media (max-width: 991.98px) {
  .hj-mosaic-col--side   { height: 260px; }
}
@media (max-width: 767.98px) {
  .hj-mosaic-grid { grid-template-columns: 1fr; gap: 6px; padding: 0 6px; }
  .hj-mosaic-col--side  { height: 260px; }
  .hj-mosaic-col--center { height: 260px; }
}

/* ── Mission 2×2 Grid ──────────────────────────────────── */
.hj-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-radius: 12px;
  overflow: hidden;
}
.hj-mission-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hj-mission-grid img:hover { transform: scale(1.04); }

/* ── Next Steps Cards ──────────────────────────────────── */
.hj-next-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid var(--hj-border);
  transition: box-shadow var(--hj-ease), transform var(--hj-ease);
}
.hj-next-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}
.hj-next-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--hj-bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--hj-cta);
  margin-bottom: 1rem;
}
.hj-next-card__title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--hj-heading);
}
.hj-next-card__desc {
  font-size: 0.88rem;
  color: #777;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ── Sermons Section ───────────────────────────────────── */
.hj-sermons-section { background: #fff; }

/* ── Get Connected Tabs ────────────────────────────────── */
.hj-tab-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.hj-tab-btn {
  background: #fff;
  border: 2px solid var(--hj-border);
  border-radius: 50px;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hj-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color var(--hj-ease), color var(--hj-ease), background var(--hj-ease);
}
.hj-tab-btn:hover {
  border-color: var(--hj-cta);
  color: var(--hj-cta);
}
.hj-tab-btn.active {
  background: var(--hj-navy);
  border-color: var(--hj-navy);
  color: #fff;
}
.hj-tab-num {
  font-size: 0.7rem;
  opacity: 0.65;
  letter-spacing: 0.05em;
}
.hj-tab-panel { display: none; }
.hj-tab-panel.active { display: block; }
.hj-tab-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
@media (max-width: 991.98px) {
  .hj-tab-img { min-height: 240px; max-height: 300px; }
}

/* ── Ministry Cards — Dark Variant ────────────────────── */
.hj-ministry-card--dark {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.hj-ministry-card--dark:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--hj-cta);
  color: #fff;
}
.hj-ministry-card--dark .hj-ministry-icon {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.hj-ministry-card--dark .hj-ministry-title { color: #fff; }
.hj-ministry-card--dark .hj-ministry-desc  { color: rgba(255,255,255,0.6); }

/* Pastor */
.about-pastor { background: #fff; }
.about-pastor__photo-wrap {
  width: 280px; height: 280px;
  margin: 0 auto; border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.about-pastor__photo { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .about-pastor__photo-wrap { width: 200px; height: 200px; }
}
