* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #172033;
  --muted: #667085;
  --soft: #f5f7fb;
  --line: #e8ebf0;
  --accent: #7b2f3d;
  --accent-2: #b88746;
  --dark: #111827;
  --max: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 235, 240, 0.8);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent), #9f4b59);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 16px;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 135, 70, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(10,17,31,0.92) 0%, rgba(10,17,31,0.68) 48%, rgba(10,17,31,0.28) 100%),
    url("images/church-exterior.jpeg") center 45% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 0 0 90px rgba(255,255,255,0.025), 0 0 0 180px rgba(255,255,255,0.018);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,12,22,0.45), rgba(8,12,22,0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 90px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.hero .eyebrow,
.section-kicker.light {
  color: #e7c28a;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-sub {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  background: rgba(255,255,255,0.06);
}

.btn-light {
  background: white;
  color: var(--dark);
}

.quick-info {
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.quick-grid article {
  display: flex;
  gap: 15px;
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

.quick-grid article:last-child {
  border-right: 0;
}

.icon {
  font-size: 26px;
}

.quick-grid strong {
  display: block;
  margin-bottom: 4px;
}

.quick-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: var(--dark);
  color: white;
}

.section h2,
.cta h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.lead {
  font-size: 19px;
  color: #344054;
}

.split {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 70px;
  align-items: center;
}

.verse-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  border-radius: 24px;
  color: white;
  background:
    linear-gradient(145deg, rgba(123,47,61,0.95), rgba(17,24,39,0.9)),
    #5f2631;
  box-shadow: 0 24px 60px rgba(95,38,49,0.18);
}

.verse-card p {
  margin: 0;
  font-size: 27px;
  line-height: 1.45;
  font-weight: 750;
}

.verse-card span {
  margin-top: 18px;
  color: rgba(255,255,255,0.7);
}

.cards {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.mini-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: white;
  padding: 30px;
}

.card h3,
.mini-card h3 {
  margin: 0 0 14px;
}

.card p,
.mini-card p {
  color: var(--muted);
}

.card .big {
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
}

.mini-card span {
  font-size: 32px;
  display: inline-block;
  margin-bottom: 14px;
}

.sermon-placeholder {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
  padding: 24px;
  border-radius: 22px;
  background: #1d2939;
}

.sermon-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.sermon-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sermon-link-row {
  margin-top: 18px;
}

.sermon-youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7d8aa;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 216, 170, 0.45);
  padding-bottom: 3px;
}

.sermon-youtube-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.tag {
  color: #e7c28a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.sermon-placeholder h3 {
  font-size: 27px;
  line-height: 1.35;
}

.sermon-placeholder p {
  color: #d0d5dd;
}

.visit-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 28px;
}

.visit-details p {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.map-card {
  border-radius: 24px;
  min-height: 410px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 18px;
}

.map-placeholder {
  min-height: 370px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed #c9ced8;
  background:
    linear-gradient(45deg, #f8fafc 25%, transparent 25%),
    linear-gradient(-45deg, #f8fafc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f8fafc 75%),
    linear-gradient(-45deg, transparent 75%, #f8fafc 75%);
  background-size: 34px 34px;
  background-position: 0 0, 0 17px, 17px -17px, -17px 0px;
}

.map-placeholder span {
  font-size: 44px;
}

.map-placeholder p {
  margin: 10px 0 5px;
  font-weight: 800;
}

.map-placeholder small {
  max-width: 280px;
  color: var(--muted);
}

.cta {
  padding: 78px 0;
  color: white;
  background: linear-gradient(120deg, var(--accent), #592430);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta p {
  max-width: 720px;
  color: rgba(255,255,255,0.78);
}

.site-footer {
  padding: 44px 0;
  background: #0b1220;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 24px;
  font-size: 13px;
}

.footer-grid strong {
  color: white;
  font-size: 15px;
}

.footer-grid p {
  margin: 4px 0;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(15,23,42,0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 590px;
  }

  .quick-grid,
  .cards.three,
  .cards.four,
  .split,
  .sermon-placeholder,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-grid article:last-child {
    border-bottom: 0;
  }

  .split {
    gap: 36px;
  }

  .section {
    padding: 82px 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand-text small {
    display: none;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .quick-info {
    margin-top: -26px;
  }

  .visit-details {
    grid-template-columns: 1fr;
  }

  .verse-card {
    min-height: 300px;
    padding: 30px;
  }
}


/* Real church photography */
.church-photo-card {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  background: #eef2f6;
}

.church-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.church-photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 15px;
  color: white;
  background: rgba(17, 24, 39, 0.78);
  backdrop-filter: blur(9px);
}

.church-photo-card figcaption strong,
.church-photo-card figcaption span {
  display: block;
}

.church-photo-card figcaption strong {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.church-photo-card figcaption span {
  margin-top: 3px;
  font-size: 14px;
  color: rgba(255,255,255,.78);
}

.visit-gallery {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.visit-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--soft);
  box-shadow: 0 14px 36px rgba(15,23,42,.09);
}

.visit-photo.main {
  grid-row: 1 / 3;
}

.visit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.visit-photo:hover img {
  transform: scale(1.025);
}

.visit-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17,24,39,.72);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

@media (max-width: 860px) {
  .visit-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 190px;
  }

  .visit-photo.main {
    grid-column: 1 / 3;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    background-position: 62% center;
  }

  .visit-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .visit-photo.main {
    grid-column: auto;
  }

  .visit-photo {
    min-height: 240px;
  }

  .visit-photo.main {
    min-height: 330px;
  }
}


/* V3: Worship hall feature */
.worship-feature {
  position: relative;
  margin: 34px 0 26px;
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
  background: #e9edf2;
  box-shadow: 0 20px 55px rgba(15,23,42,.12);
}

.worship-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17,24,39,0.02) 30%,
    rgba(17,24,39,0.78) 100%
  );
  pointer-events: none;
}

.worship-feature img {
  width: 100%;
  height: 500px;
  display: block;
  object-fit: cover;
  object-position: center 55%;
}

.worship-feature figcaption {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 28px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.worship-feature figcaption strong {
  max-width: 760px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.worship-feature figcaption > span:last-child {
  color: rgba(255,255,255,.76);
  font-size: 14px;
}

.worship-label {
  color: #f1ce97;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

.visit-gallery-four {
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 145px 145px 145px;
}

.visit-gallery-four .visit-photo.main {
  grid-row: 1 / 4;
}

@media (max-width: 860px) {
  .worship-feature img {
    height: 430px;
  }

  .visit-gallery-four {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 340px 180px 180px;
  }

  .visit-gallery-four .visit-photo.main {
    grid-column: 1 / 3;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .worship-feature {
    min-height: 390px;
  }

  .worship-feature img {
    height: 410px;
  }

  .worship-feature figcaption {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .visit-gallery-four {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .visit-gallery-four .visit-photo.main {
    grid-column: auto;
  }
}


/* V4: Community life */
.community-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(184,135,70,.10), transparent 24%),
    #fff;
}

.community-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 34px;
}

.community-heading h2 {
  margin-bottom: 0;
}

.community-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 17px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
}

.community-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #eef1f5;
  box-shadow: 0 13px 35px rgba(15,23,42,.08);
  grid-column: span 4;
}

.community-photo-wide {
  grid-column: span 8;
  grid-row: span 2;
}

.community-photo:nth-child(2) {
  grid-column: span 4;
}

.community-photo:nth-child(3),
.community-photo:nth-child(4),
.community-photo:nth-child(5),
.community-photo:nth-child(6) {
  grid-column: span 3;
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.community-photo-wide img {
  object-position: center center;
}

.community-photo:hover img {
  transform: scale(1.025);
}

.community-photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(9,15,26,.78));
  pointer-events: none;
}

.community-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: white;
}

.community-photo figcaption strong,
.community-photo figcaption span {
  display: block;
}

.community-photo figcaption strong {
  font-size: 15px;
}

.community-photo-wide figcaption strong {
  font-size: 24px;
}

.community-photo figcaption span {
  margin-top: 2px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.community-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 16px;
  background: var(--soft);
  border-left: 4px solid var(--accent);
}

.community-quote span {
  font-size: 18px;
  font-weight: 700;
}

.community-quote strong {
  white-space: nowrap;
  color: var(--accent);
  font-size: 13px;
}

@media (max-width: 860px) {
  .community-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .community-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .community-photo,
  .community-photo:nth-child(2),
  .community-photo:nth-child(3),
  .community-photo:nth-child(4),
  .community-photo:nth-child(5),
  .community-photo:nth-child(6) {
    grid-column: span 1;
  }

  .community-photo-wide {
    grid-column: 1 / 3;
    grid-row: span 2;
  }
}

@media (max-width: 560px) {
  .community-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .community-photo,
  .community-photo-wide,
  .community-photo:nth-child(2),
  .community-photo:nth-child(3),
  .community-photo:nth-child(4),
  .community-photo:nth-child(5),
  .community-photo:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .community-photo-wide {
    min-height: 340px;
  }

  .community-quote {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* V5: Pastor greeting */
.greeting-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
}

.greeting-wrap {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.greeting-photo {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15,23,42,.13);
  background: #eef1f5;
}

.greeting-photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(11,18,32,.75));
}

.greeting-photo img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.greeting-photo-caption {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 24px;
  color: white;
}

.greeting-photo-caption span {
  display: block;
  margin-bottom: 6px;
  color: #f0cd96;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

.greeting-photo-caption strong {
  font-size: 22px;
  line-height: 1.35;
}

.greeting-copy h2 {
  margin-bottom: 26px;
}

.greeting-copy p {
  color: #475467;
}

.greeting-lead {
  color: #27364e !important;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.75;
}

.pastor-signature {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.pastor-signature span {
  color: var(--muted);
  font-size: 13px;
}

.pastor-signature strong {
  color: var(--accent);
  font-size: 19px;
}

/* V5: Statement of faith */
.beliefs-section {
  background: #f7f8fb;
}

.beliefs-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
}

.beliefs-intro h2 {
  margin-bottom: 0;
}

.beliefs-intro > div:last-child p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.belief-card {
  position: relative;
  min-height: 250px;
  padding: 32px 32px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.belief-card h3 {
  margin: 26px 0 11px;
  font-size: 19px;
}

.belief-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.belief-number {
  position: absolute;
  top: 21px;
  right: 24px;
  color: #d7c2a4;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
}

.creed-box {
  margin-top: 22px;
  padding: 34px 38px;
  border-radius: 22px;
  color: white;
  background:
    radial-gradient(circle at 90% 20%, rgba(184,135,70,.28), transparent 25%),
    linear-gradient(125deg, #192235, #542732);
}

.creed-kicker {
  margin: 0 0 9px !important;
  color: #eccb97 !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .17em;
}

.creed-box h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.creed-box p {
  max-width: 900px;
  margin: 0;
  color: rgba(255,255,255,.78);
}

/* V5: Google Map */
.visit-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.google-map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 38px rgba(15,23,42,.09);
}

.google-map-card iframe {
  display: block;
}

.map-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 20px;
}

.map-actions strong,
.map-actions span {
  display: block;
}

.map-actions strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.map-actions span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.btn-map {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
  color: white;
  background: var(--accent);
  font-size: 12px;
}

.visit-details small {
  color: var(--muted);
}

@media (max-width: 860px) {
  .greeting-wrap,
  .beliefs-intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .greeting-photo,
  .greeting-photo img {
    min-height: 470px;
    height: 470px;
  }

  .belief-grid {
    grid-template-columns: 1fr;
  }

  .map-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .greeting-photo,
  .greeting-photo img {
    min-height: 390px;
    height: 390px;
  }

  .greeting-photo-caption {
    left: 20px;
    right: 20px;
  }

  .belief-card {
    min-height: auto;
    padding: 28px 24px 25px;
  }

  .creed-box {
    padding: 28px 24px;
  }

  .google-map-card iframe {
    height: 300px;
  }

  .btn-map {
    width: 100%;
  }
}


/* V6: Pastor contact details */
.pastor-contact {
  align-items: center;
  justify-content: space-between;
}

.pastor-contact > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pastor-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.pastor-contact-links a {
  color: var(--muted);
  font-size: 12px;
}

.pastor-contact-links a:hover {
  color: var(--accent);
}

/* V6: Contact section */
.contact-section {
  background: #fff;
}

.contact-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 5%, rgba(184,135,70,.10), transparent 28%),
    #fff;
  box-shadow: 0 20px 50px rgba(15,23,42,.08);
}

.contact-person {
  padding: 4px 4px 22px;
  border-bottom: 1px solid var(--line);
}

.contact-role {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.contact-person strong {
  font-size: 24px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 4px;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
  border-bottom: 0;
}

a.contact-line {
  transition: transform .2s ease;
}

a.contact-line:hover {
  transform: translateX(3px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--soft);
  font-size: 20px;
}

.contact-line small,
.contact-line strong,
.contact-line div > span {
  display: block;
}

.contact-line small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
}

.contact-line strong {
  color: var(--text);
  font-size: 16px;
}

.contact-line div > span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer a:hover {
  color: white;
}

@media (max-width: 860px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pastor-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .pastor-contact > div:first-child {
    flex-direction: column;
    gap: 2px;
  }

  .pastor-contact-links {
    align-items: flex-start;
  }
}


@media (max-width: 560px) {
  .sermon-video {
    min-height: 0;
  }
}


/* v9: media sections reorganized */
.intro-video-section {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.media-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: center;
}

.media-copy .lead {
  margin-bottom: 22px;
}

.media-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 135, 70, 0.4);
  padding-bottom: 3px;
}

.media-link:hover {
  border-bottom-color: currentColor;
}

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sermon-local-video {
  min-height: 0;
  background: #050b16;
}

.sermon-local-video video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0;
}

.sermon-scripture {
  margin: 8px 0 14px;
  color: #f7d8aa;
  font-weight: 800;
  letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  .media-feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .media-frame,
  .sermon-local-video video {
    border-radius: 14px;
  }
}


/* v10: robust YouTube channel button */
.sermon-link-row {
  position: relative;
  z-index: 10;
}

.sermon-youtube-button {
  position: relative;
  z-index: 11;
  pointer-events: auto !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid rgba(247, 216, 170, 0.55);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  line-height: 1.2;
}

.sermon-youtube-button:hover,
.sermon-youtube-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  outline: none;
}

.youtube-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff0033;
  color: white;
  font-size: 11px;
  padding-left: 2px;
}


/* v11: Korean-first bilingual language switch */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(184, 135, 70, 0.38);
  border-radius: 999px;
  background: #fffaf3;
  color: #7a4e18;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: #f8ead7;
  border-color: rgba(184, 135, 70, 0.7);
  outline: none;
  transform: translateY(-1px);
}

html[lang="en"] body {
  word-break: normal;
}

html[lang="en"] .nav-links {
  gap: 20px;
}

@media (max-width: 860px) {
  .lang-toggle {
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
  }
}
