/*
Theme Name: Great King Alliance Church Bilingual
Theme URI: https://www.greatking.ca
Author: GKAC
Description: Professional bilingual English/Chinese WordPress theme for 荣耀君王宣道会 / Great King Alliance Church
Version: 2.0
License: GPLv2 or later
Text Domain: gkac
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0c1f3d;
  --navy-dark:  #060f1e;
  --gold:       #b8892e;
  --gold-light: #d4aa55;
  --cream:      #f7f4ef;
  --ink:        #111827;
  --muted:      #6b7280;
  --border:     rgba(0,0,0,0.08);
  --font-main:  'Times New Roman', Times, serif;
  --radius-card: 4px;
}

body {
  font-family: var(--font-main);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }


/* ============================================================
   LANGUAGE VISIBILITY
   ============================================================ */
.zh, .en { display: none; }
.lang-zh .zh { display: inline; }
.lang-en .en { display: inline; }


/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-brand { display: block; }
.nav-brand .brand-zh {
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.25;
}
.nav-brand .brand-en {
  font-size: 9px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
  margin-top: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.52);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }

/* Language toggle */
.lang-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.38);
  padding: 5px 12px;
  font-size: 10px;
  font-family: system-ui, sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-btn.active { background: rgba(255,255,255,0.12); color: #fff; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: transparent;
  border: none;
}
.nav-hamburger span {
  width: 20px;
  height: 1.5px;
  background: rgba(255,255,255,0.6);
  display: block;
  transition: all 0.2s;
}

/* Mobile menu */
.mobile-menu {
  background: #0a1828;
  display: none;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: system-ui, sans-serif;
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.03); }

.mobile-lang {
  display: flex;
  gap: 10px;
  padding: 16px 24px 20px;
}
.mobile-lang-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-card);
  font-size: 13px;
  font-family: system-ui, sans-serif;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
  transition: all 0.15s;
}
.mobile-lang-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(6,14,32,0.96) 0%,
    rgba(6,14,32,0.55) 50%,
    rgba(6,14,32,0.18) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 64px 0;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: system-ui, sans-serif;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.hero-en-title {
  display: block;
  font-size: clamp(15px, 2.2vw, 22px);
  color: rgba(255,255,255,0.42);
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.52);
  max-width: 460px;
  line-height: 1.9;
  margin-bottom: 34px;
  font-family: system-ui, sans-serif;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.78);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-live {
  background: transparent;
  border: 1px solid rgba(220,60,60,0.45);
  color: #f88;
}
.btn-live:hover { border-color: #f66; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f55;
  display: inline-block;
  flex-shrink: 0;
}


/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 72px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--navy); }

.section-overline {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: system-ui, sans-serif;
  margin-bottom: 16px;
  display: none; /* 用户要求：全站隐藏版块小标签（eyebrow）。想恢复改回 display: block */
}
.section h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--navy);
}
.section.dark h2 { color: #fff; }
.section-lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  max-width: clamp(500px, 58vw, 720px); /* 自适应：宽屏更饱满，窄屏占满 */
  margin-bottom: 36px;
  font-family: system-ui, sans-serif;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.about-vision p {
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
}
.pastoral-card {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 32px;
}
.pastoral-card h3 {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
  color: var(--muted);
  margin-bottom: 18px;
}
.pastoral-card p {
  font-size: 14px;
  font-family: system-ui, sans-serif;
  line-height: 2;
  color: #374151;
}
.pastoral-card strong { color: var(--navy); font-weight: 500; }


/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.schedule-item { background: #fff; padding: 26px 24px; }
.schedule-item strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 7px;
}
.schedule-item .time {
  font-size: 13px;
  font-family: system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.7;
}


/* ============================================================
   SERMON ARCHIVE
   ============================================================ */
.sermon-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.sermon-tab {
  padding: 10px 0;
  margin-right: 28px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -1px;
  transition: all 0.15s;
}
.sermon-tab.active { color: var(--ink); border-bottom-color: var(--gold); }

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sermon-card { cursor: pointer; }

.sermon-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
  border-radius: 2px;
  margin-bottom: 14px;
}
.sermon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform 0.4s ease, filter 0.3s;
  display: block;
}
.sermon-card:hover .sermon-thumb img {
  transform: scale(1.04);
  filter: brightness(0.5);
}
.sermon-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sermon-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: all 0.2s;
}
.sermon-card:hover .sermon-play-btn {
  background: rgba(184,137,46,0.75);
  border-color: transparent;
  transform: scale(1.08);
}

.sermon-series {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: system-ui, sans-serif;
  margin-bottom: 6px;
}
.sermon-title {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 5px;
  color: var(--ink);
}
.sermon-meta {
  font-size: 11px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  margin-bottom: 10px;
}
.sermon-dl {
  font-size: 10px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: border-color 0.15s;
}
.sermon-dl:hover { border-color: rgba(0,0,0,0.2); color: var(--ink); }
a.sermon-dl { text-decoration: none; }
/* thumbnail becomes a button when a video is set */
button.sermon-thumb { width: 100%; border: 0; padding: 0; font: inherit; cursor: pointer; }
.sermon-actions { display: flex; flex-wrap: wrap; gap: 8px; }


/* ============================================================
   EVENTS
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}
.event-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.event-item:nth-child(odd)  { padding-right: 32px; }
.event-item:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--border); }

.event-date { min-width: 50px; flex-shrink: 0; }
.event-month {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-family: system-ui, sans-serif;
}
.event-day {
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--navy);
}
.event-title {
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 5px;
}
.event-info {
  font-size: 12px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  line-height: 1.75;
  margin-bottom: 8px;
}
.event-tag {
  display: inline-block;
  font-size: 9px;
  padding: 3px 9px;
  border-radius: 2px;
  font-family: system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ============================================================
   MISSION
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.mission-item {
  padding: 40px 36px;
  background: rgba(255,255,255,0.03);
}
.mission-item h3 {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
}
.mission-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  font-family: system-ui, sans-serif;
  line-height: 1.8;
}


/* ============================================================
   GALLERY
   ============================================================ */
.gallery-strip { display: flex; flex-direction: column; gap: 3px; }

.gallery-big-left {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 3px;
}
.gallery-big-left .gallery-photo:first-child { grid-row: span 2; }

.gallery-big-right {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 230px 230px;
  gap: 3px;
}
.gallery-big-right .gallery-photo:last-child { grid-row: span 2; }

.gallery-photo { overflow: hidden; }
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.86);
  transition: transform 0.4s ease, filter 0.3s;
  cursor: zoom-in;
}
.gallery-photo:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}


/* ============================================================
   GIVE ONLINE
   ============================================================ */
.give-section { background: var(--navy); padding: 72px 0; }
.give-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.give-text h2 { color: #fff; margin-bottom: 10px; }
.give-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-family: system-ui, sans-serif;
  line-height: 1.85;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.contact-info p {
  font-size: 14px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  line-height: 2;
  margin-top: 14px;
}
.contact-map { border-radius: var(--radius-card); overflow: hidden; }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-dark); padding: 48px 0 28px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand .brand-zh {
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.footer-brand .brand-en {
  font-size: 9px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: system-ui, sans-serif;
  margin-bottom: 16px;
}
.footer-brand .footer-info {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  font-family: system-ui, sans-serif;
  line-height: 2;
}

.footer-social-label {
  font-size: 9px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: system-ui, sans-serif;
  margin-bottom: 12px;
}
.social-links { display: flex; gap: 8px; }
.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: all 0.15s;
  background: transparent;
}
.social-btn:hover { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.16);
  font-family: system-ui, sans-serif;
  letter-spacing: 0.04em;
}
.footer-credit {
  text-align: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
  color: rgba(255,255,255,0.42);
  font-family: system-ui, sans-serif;
  letter-spacing: 0.02em;
}


/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  color: rgba(255,255,255,0.5);
  font-size: 34px;
  cursor: pointer;
  background: transparent;
  border: none;
  line-height: 1;
  transition: color 0.15s;
}
.lightbox-close:hover { color: #fff; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.85);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.lightbox-nav:hover { background: rgba(0,0,0,0.6); color: #fff; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 28px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* video modal (sermon videos) */
.videobox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 24px; }
.videobox.open { display: flex; }
.videobox-frame { width: min(960px, 94vw); aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,0.5); }
.videobox-frame iframe, .videobox-frame video { width: 100%; height: 100%; display: block; border: 0; }


/* ============================================================
   UPCOMING CARD — now a link to the event detail page
   ============================================================ */
a.upcoming-item { color: inherit; text-decoration: none; cursor: pointer; margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: var(--radius-card); transition: background 0.15s; outline: none; }
a.upcoming-item:hover { background: var(--cream); }
a.upcoming-item:focus-visible { box-shadow: 0 0 0 2px var(--gold-light); }
.upcoming-body { flex: 1; min-width: 0; }
.upcoming-arrow { flex-shrink: 0; align-self: center; color: rgba(0,0,0,0.22); transition: color 0.15s, transform 0.15s; }
a.upcoming-item:hover .upcoming-arrow { color: var(--gold); transform: translateX(2px); }
/* weekly-recurring events show a weekday instead of a day number */
.upcoming-date .ud-dow { font-size: 21px; font-weight: 400; }

/* calendar detail item that links through to an event */
a.cal-detail-link { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
a.cal-detail-link .t { flex: 1; }
a.cal-detail-link .cal-detail-arrow { flex-shrink: 0; color: rgba(0,0,0,0.22); transition: color 0.15s, transform 0.15s; }
a.cal-detail-link:hover .t { color: var(--gold); }
a.cal-detail-link:hover .cal-detail-arrow { color: var(--gold); transform: translateX(2px); }


/* ============================================================
   EVENT DETAIL PAGE  (/event/<slug>)
   ============================================================ */
.event-single { color: var(--ink); }

/* hero — photo variant when a poster exists, navy-gradient variant otherwise */
.event-hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.event-hero--photo { min-height: 440px; background-size: cover; background-position: center; }
.event-hero--plain { min-height: 300px; background:
    radial-gradient(130% 150% at 87% 6%, rgba(184,137,46,0.32) 0%, rgba(184,137,46,0) 46%),
    linear-gradient(135deg, #0c1f3d 0%, #060f1e 100%); }
.event-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,15,30,0.86) 0%, rgba(6,15,30,0.30) 58%, rgba(6,15,30,0.10) 100%); }
.event-hero-inner { position: relative; padding: 52px 0 48px; color: #fff; }
.event-hero-title { font-size: clamp(30px, 5vw, 54px); font-weight: 400; line-height: 1.14; color: #fff; margin-top: 16px; text-shadow: 0 2px 22px rgba(0,0,0,0.30); }
.event-hero--photo .event-hero-title { text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.event-hero-rule { display: block; width: 68px; height: 3px; margin-top: 22px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* back link (always sits on a dark hero) — same serif font as the rest of the site */
.event-back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-family: var(--font-main); transition: color 0.15s; }
.event-back-light { color: rgba(255,255,255,0.82); margin-bottom: 14px; }
.event-back-light:hover { color: #fff; }
.event-hero .event-tag { display: inline-block; margin-left: 12px; }

/* body — left-aligned column */
.event-body { padding-top: 48px; }
.event-col { max-width: 760px; }

/* countdown to next weekly meeting */
.event-countdown { display: inline-block; font-family: var(--font-main); font-size: 15px; color: var(--gold); background: rgba(184,137,46,0.08); border: 1px solid rgba(184,137,46,0.32); border-radius: 999px; padding: 8px 18px; margin-bottom: 26px; }
.event-countdown:empty { display: none; }

/* key info — date + time/place, listed left-aligned (serif, matching the homepage) */
.event-facts { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.event-facts li { display: flex; align-items: center; gap: 14px; font-size: 23px; line-height: 1.3; color: var(--navy); font-family: var(--font-main); }
.event-facts svg { width: 25px; height: 25px; flex-shrink: 0; color: var(--gold); }
@media (max-width: 640px) { .event-facts li { font-size: 20px; } }

/* sections (details / map) — serif headings like the rest of the site */
.event-section { margin-bottom: 42px; }
.event-sub { font-family: var(--font-main); font-size: clamp(20px, 2.6vw, 26px); font-weight: 400; color: var(--navy); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.event-desc { font-family: var(--font-main); font-size: 17px; color: #374151; line-height: 1.9; }
.event-desc p { margin: 0 0 1em; }
.event-map-addr { font-family: var(--font-main); font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.event-map-frame { border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }

/* watch-online call-to-action — frosted-glass pill button */
.event-cta { margin-top: 8px; }
.event-watch-meta { font-family: var(--font-main); font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.event-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 38px; font-size: 16px; color: var(--navy);
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(184,137,46,0.55);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 6px 22px rgba(12,31,61,0.08), inset 0 1px 0 rgba(255,255,255,0.75);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.event-cta-btn svg { color: var(--gold); }
.event-cta-btn:hover {
  background: rgba(255,255,255,0.72);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(12,31,61,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .sermon-grid { grid-template-columns: 1fr 1fr; }
  .schedule-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .event-item:nth-child(even) { padding-left: 0; border-left: none; }
  .mission-grid { grid-template-columns: 1fr; }
  .event-hero--photo { min-height: 340px; }
  .give-inner { flex-direction: column; align-items: flex-start; }
  .gallery-big-left,
  .gallery-big-right { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .gallery-big-left .gallery-photo:first-child,
  .gallery-big-right .gallery-photo:last-child { grid-row: span 2; }
}

@media (max-width: 640px) {
  .topbar .wrap { flex-direction: column; gap: 3px; text-align: center; font-size: 11px; }
  .hero { min-height: 480px; }
  .section { padding: 52px 0; }
  .sermon-grid { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
  .gallery-big-left,
  .gallery-big-right { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-big-left .gallery-photo:first-child,
  .gallery-big-right .gallery-photo:last-child { grid-row: span 1; }
  .gallery-photo img { height: 200px; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}


/* ============================================================
   MULTI-PAGE ADDITIONS (v3) — nav active, home calendar,
   explore cards, footer map, animations
   ============================================================ */

/* active nav link */
.nav-links a.active { color: #fff; }

/* hero tagline + desc (new home) */
.hero-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-family: system-ui, sans-serif;
  line-height: 1.8;
  margin-bottom: 16px;
}
.hero-desc {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(15px, 1.15vw, 17px);
  color: rgba(255,255,255,0.68);
  max-width: clamp(600px, 66vw, 820px); /* 自适应：宽屏随视口变宽，窄屏占满 */
  line-height: 1.9;
  margin-bottom: 28px;
}

/* live pulse dot on secondary button */
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.btn-secondary .live-dot { animation: livepulse 1.5s ease-in-out infinite; }

/* home: calendar + upcoming */
.home-cal-sec { padding: 64px 0; }
.home-cal-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: start; }
.home-cal-h2 { font-size: clamp(20px,2.8vw,30px); font-weight: 400; line-height: 1.15; color: var(--navy); margin-bottom: 22px; }

.gkac-calendar { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 18px; background: #fafafa; max-width: 480px; } /* 上限：防止格子随宽度无限膨胀 */
.gkac-cal-detail { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); min-height: 52px; max-width: 480px; }
.cal-legend { display: flex; gap: 18px; margin-top: 12px; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-family: system-ui, sans-serif; }
.cal-legend-item .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-regular { background: var(--gold); }
.dot-special { background: #60A5FA; }

/* calendar internals (built by JS) */
.gkac-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gkac-cal-head button { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background .15s; }
.gkac-cal-head button:hover { background: var(--cream); }
.gkac-cal-title { font-size: 13px; font-family: system-ui, sans-serif; color: var(--navy); font-weight: 600; }
.gkac-cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 6px; }
.gkac-cal-weekdays div { text-align: center; font-size: 11px; font-weight: 500; color: var(--muted); font-family: system-ui, sans-serif; padding: 4px 0; }
.gkac-cal-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.cd { aspect-ratio: 1; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: background .15s; border: 1.5px solid transparent; }
.cd .cd-num { font-size: 12px; font-family: 'Times New Roman', Times, serif; color: var(--ink); line-height: 1; }
.cd .cd-dots { display: flex; gap: 2px; margin-top: 2px; }
.cd .cd-dots i { width: 3px; height: 3px; border-radius: 50%; display: block; }
.cd.has-ev { cursor: pointer; }
.cd.has-ev:hover { background: var(--cream); }
.cd.today { border-color: var(--gold); }
.cd.today .cd-num { font-weight: 600; }
.cd.sel { background: var(--navy); }
.cd.sel .cd-num { color: #fff; }
.cd.sel .cd-dots i { background: rgba(255,255,255,0.7) !important; }
.cal-detail-date { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-family: system-ui, sans-serif; margin-bottom: 8px; }
.cal-detail-empty { font-size: 12px; color: var(--muted); font-family: system-ui, sans-serif; padding: 10px 0; }
.cal-detail-item { padding: 7px 0; border-bottom: 1px solid var(--border); }
.cal-detail-item .t { font-size: 13px; color: var(--navy); margin-bottom: 2px; }
.cal-detail-item .m { font-size: 11px; color: var(--muted); font-family: system-ui, sans-serif; }

/* upcoming list */
.upcoming-list { border-top: 1px solid var(--border); }
.upcoming-item { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; gap: 16px; align-items: flex-start; }
.upcoming-date { min-width: 44px; flex-shrink: 0; }
.upcoming-date .um { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-family: system-ui, sans-serif; }
.upcoming-date .ud { font-size: 28px; font-weight: 300; line-height: 1; color: var(--navy); }
.upcoming-title { font-size: 14px; color: var(--navy); margin-bottom: 3px; }
.upcoming-info { font-size: 12px; color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.6; margin-bottom: 6px; }

/* arrow text link */
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-family: system-ui, sans-serif; color: var(--muted); border: 1px solid rgba(0,0,0,0.12); padding: 9px 18px; border-radius: 2px; transition: border-color .15s, color .15s; }
.text-link:hover { border-color: rgba(0,0,0,0.25); color: var(--ink); }

/* explore cards */
.explore-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.ec-card {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 24px 52px;
  min-height: 176px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.ec-card:hover {
  border-color: rgba(184,137,46,0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(12,31,61,0.09);
}
.ec-card:hover::before { transform: scaleX(1); }

.ec-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .25s ease;
}
.ec-icon svg { width: 20px; height: 20px; color: var(--gold-light); }
.ec-card:hover .ec-icon { background: var(--gold); }
.ec-card:hover .ec-icon svg { color: #fff; }

.ec-over { font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-family: system-ui, sans-serif; margin-bottom: 6px; }
.ec-body h3 { font-size: 18px; font-weight: 400; color: var(--navy); }

.ec-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform .25s ease, border-color .25s ease, color .25s ease;
}
.ec-card:hover .ec-arrow { transform: translateX(3px); border-color: var(--gold); color: var(--gold); }

/* footer additions */
.footer-contact-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-family: system-ui, sans-serif; border-radius: 2px; border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.5); padding: 7px 14px; transition: border-color .15s, color .15s; }
.footer-contact-link:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }
.footer-map { border-radius: var(--radius-card); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); height: 280px; margin-bottom: 24px; }

/* scroll reveal（方向性：默认上浮，gr-l 从左滑入，gr-r 从右滑入） */
.gr { opacity: 0; transform: translateY(26px); transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.gr-l { transform: translateX(-36px); }
.gr-r { transform: translateX(36px); }
.gr.in { opacity: 1; transform: none; }

/* split-text chars */
.gkac-char { display: inline-block; opacity: 0; transform: translateY(0.3em); }

@media (max-width: 900px) {
  .home-cal-grid { grid-template-columns: 1fr; gap: 36px; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .explore-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   INNER PAGES (New, About, Gather, Events, Connect, Give, Gallery)
   ============================================================ */

/* page header (navy) */
.page-head { background: var(--navy); padding: 52px 0 44px; }
.page-head .section-overline { color: var(--gold); }
.page-head h1 { font-size: clamp(28px,4vw,46px); font-weight: 400; color: #fff; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 14px; }
.page-sub { font-size: 14px; color: rgba(255,255,255,0.45); font-family: system-ui, sans-serif; line-height: 1.8; max-width: clamp(560px, 60vw, 780px); }
/* light variant (gallery) */
.page-head-light { background: var(--cream); }
.page-head-light .head-dark { color: var(--navy); }
.page-head-light .page-sub-dark { color: var(--muted); }

/* smaller hero (events) */
.hero.hero-sm { min-height: 420px; }

/* generic 2-col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }

/* btn dark (navy) */
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #16335c; }

/* info card (New) */
.info-card { background: var(--cream); border-radius: var(--radius-card); padding: 28px 32px; margin: 26px 0; }
.info-title { font-size: 10px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; font-family: system-ui, sans-serif; color: var(--muted); margin-bottom: 16px; }
.info-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--border); font-family: system-ui, sans-serif; font-size: 14px; }
.info-row:last-child { border-bottom: none; }
.info-k { color: var(--muted); }
.info-v { color: var(--ink); text-align: right; }

/* FAQ grid (New) */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.faq-item { background: #fff; padding: 26px 28px; }
.faq-item strong { display: block; font-size: 15px; font-weight: 400; color: var(--navy); margin-bottom: 8px; }
.faq-item p { font-size: 13px; color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.75; }

/* find us grid */
.find-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.find-grid .contact-info p { margin-top: 0; }

/* vision (About) */
.vision-statement { font-size: 16px; line-height: 1.85; color: var(--navy); font-weight: 500; margin: 4px 0 18px; }
.vision-quote { background: var(--cream); border-left: 3px solid var(--gold); border-radius: 0 3px 3px 0; padding: 24px 26px; margin-top: 26px; }
.vq-title { font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 12px; font-family: system-ui, sans-serif; }
.vq-verse { font-family: 'Times New Roman', Times, serif; font-style: italic; font-size: 16px; color: #374151; line-height: 1.7; }
.vq-attr { font-size: 12px; color: var(--muted); font-family: system-ui, sans-serif; text-align: right; margin-top: 8px; }

/* pastoral large card (About) */
.pastoral-lg { padding: 44px; }
.pastor-entry { padding: 20px 0; border-bottom: 1px solid var(--border); }
.pastor-entry:last-child { border-bottom: none; }
.pastor-role { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-family: system-ui, sans-serif; margin-bottom: 8px; }
.pastor-name { font-size: 24px; font-weight: 400; color: var(--navy); }

/* spotlight cards keep base bg under the mouse glow */
.mission-item.spotlight-card { transition: none; }

/* next steps (Connect) */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.step-item { background: #fff; padding: 32px 26px; }
.step-num { font-size: 32px; font-weight: 300; color: rgba(184,137,46,0.3); font-family: 'Times New Roman', Times, serif; margin-bottom: 12px; }
.step-item strong { display: block; font-size: 15px; font-weight: 400; color: var(--navy); margin-bottom: 8px; }
.step-item p { font-size: 13px; color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.75; }

/* prayer form (Connect) */
.prayer-form { display: flex; flex-direction: column; gap: 16px; }
.pf-field label { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: system-ui, sans-serif; margin-bottom: 6px; }
.pf-field input, .pf-field textarea { width: 100%; border: 1px solid var(--border); border-radius: 2px; padding: 11px 14px; font-size: 14px; font-family: system-ui, sans-serif; color: var(--ink); background: #fff; }
.pf-field input:focus, .pf-field textarea:focus { outline: none; border-color: var(--gold); }
.pf-field textarea { resize: vertical; }
.prayer-thanks { background: var(--cream); border-radius: var(--radius-card); padding: 40px 32px; text-align: center; }
.pt-icon { font-size: 32px; margin-bottom: 12px; }
.prayer-thanks h3 { font-size: 18px; font-weight: 400; color: var(--navy); margin-bottom: 10px; }
.prayer-thanks p { font-size: 14px; color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.8; }

/* dark contact (Connect) */
.find-grid-dark { grid-template-columns: 1fr 1.6fr; }
.contact-info-dark p { color: rgba(255,255,255,0.55); font-family: system-ui, sans-serif; line-height: 2; margin-bottom: 18px; }
.contact-info-dark strong { color: #fff; font-weight: 500; }
.contact-info-dark a { color: rgba(255,255,255,0.78); }
.contact-info-dark a:hover { color: #fff; }

/* giving (Give) */
.give-methods { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.give-method { background: #fff; padding: 28px; }
.gm-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-family: system-ui, sans-serif; margin-bottom: 8px; }
.gm-title { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.give-method p { font-size: 13px; color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.75; }
.give-note { font-size: 12px; color: #9ca3af; font-family: system-ui, sans-serif; margin-top: 16px; }
.give-cta { background: var(--cream); }

/* album cards (Events preview) */
.album-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.album-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.album-card { display: block; position: relative; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 16/9; background: var(--navy); }
.album-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.72); transition: transform .55s cubic-bezier(.2,0,0,1), filter .4s; }
.album-card:hover img { transform: scale(1.05); filter: brightness(0.6); }
.album-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,14,32,0.85) 0%, transparent 55%); }
.album-label { position: absolute; bottom: 0; left: 0; padding: 22px 24px; }
.album-date { font-size: 10px; letter-spacing: 0.12em; color: var(--gold-light); font-family: system-ui, sans-serif; margin-bottom: 6px; }
.album-label h3 { font-size: 19px; font-weight: 400; color: #fff; margin-bottom: 4px; }
.album-count { font-size: 11px; color: rgba(255,255,255,0.6); font-family: system-ui, sans-serif; }

/* album introduction (Gallery page) */
.album-intro { max-width: 760px; font-family: var(--font-main); font-size: 16px; line-height: 1.85; color: #374151; margin: 2px 0 26px; }
.album-intro div { margin: 0; }

/* gallery photo grid (Gallery page) */
.album-photos { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.album-photos .gallery-photo { aspect-ratio: 4/3; border-radius: 2px; }

@media (max-width: 900px) {
  .two-col, .find-grid, .find-grid-dark { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .album-grid { grid-template-columns: 1fr; }
  .album-photos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .album-photos { grid-template-columns: 1fr; }
  .album-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}


/* ============================================================
   HERO SUN RAYS (WebGL — React Bits SideRays shader)
   ============================================================ */
/* rays sit UNDER the dark overlay — the gradient masks them at the bottom,
   so light shows only through the transparent top (small glow + dark bottom) */
.hero-rays { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-rays canvas { width: 100%; height: 100%; display: block; }


/* ============================================================
   MOTION LAYER —— 丝滑动画（克制优雅版）
   ============================================================ */

/* 页面载入淡入 + 平滑滚动 */
html { scroll-behavior: smooth; }
body { animation: gkacPageIn .55s ease both; }
@keyframes gkacPageIn { from { opacity: 0; } to { opacity: 1; } }

/* Hero:背景缓慢推远(Ken Burns) */
.hero-bg { animation: gkacKenburns 14s cubic-bezier(.22,.6,.36,1) both; }
@keyframes gkacKenburns { from { transform: scale(1.07); } to { transform: scale(1); } }

/* Hero 内容依次入场(标题本身已有逐字动画) */
.hero-eyebrow, .hero-tagline, .hero-desc, .hero-buttons { animation: gkacRise .9s cubic-bezier(.16,1,.3,1) backwards; }
.hero-eyebrow { animation-delay: .1s; }
.hero-tagline { animation-delay: .5s; }
.hero-desc    { animation-delay: .65s; }
.hero-buttons { animation-delay: .8s; }
@keyframes gkacRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 小节标题:金色短线从左展开 */
.section-overline::after {
  content: ''; display: block; width: 36px; height: 1px; background: var(--gold);
  margin-top: 8px; transform: scaleX(0); transform-origin: left;
  transition: transform .9s cubic-bezier(.16,1,.3,1) .25s;
}
.gr.in .section-overline::after, .section-overline.gr.in::after { transform: scaleX(1); }

/* 卡片与列表微交互 */
.upcoming-item { transition: transform .3s cubic-bezier(.16,1,.3,1), background .3s; }
.upcoming-item:hover { transform: translateX(6px); }
.upcoming-date .ud { transition: color .3s; }
.upcoming-item:hover .ud { color: var(--gold); }

.btn { transition: all .22s cubic-bezier(.16,1,.3,1); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(6,15,30,.18); }

.text-link svg, .footer-contact-link svg { transition: transform .28s cubic-bezier(.16,1,.3,1); }
.text-link:hover svg, .footer-contact-link:hover svg { transform: translateX(4px); }

.album-card { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.album-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(12,31,61,.16); }
.sermon-card { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.sermon-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(12,31,61,.12); }

.social-btn { transition: transform .25s cubic-bezier(.16,1,.3,1), background .25s, color .25s; }
.social-btn:hover { transform: translateY(-3px); }

.gallery-photo img { transition: transform .6s cubic-bezier(.2,0,0,1); }
.gallery-photo:hover img { transform: scale(1.045); }

/* 日历:切月/切语言时天数网格滑入;详情逐条浮现;选中日期轻弹 */
.gkac-cal-days { animation: gkacCalIn .4s cubic-bezier(.16,1,.3,1) both; }
@keyframes gkacCalIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cal-detail-item { animation: gkacRise .5s cubic-bezier(.16,1,.3,1) backwards; }
.cal-detail-item:nth-child(2) { animation-delay: .05s; }
.cal-detail-item:nth-child(3) { animation-delay: .12s; }
.cal-detail-item:nth-child(4) { animation-delay: .19s; }
.cal-detail-item:nth-child(5) { animation-delay: .26s; }
.cd { transition: background .2s, border-color .2s; }
.cd.sel { animation: gkacPop .32s cubic-bezier(.34,1.56,.64,1); }
@keyframes gkacPop { 0% { transform: scale(.85); } 100% { transform: scale(1); } }

/* 尊重系统「减少动态效果」设置:全部动画关闭 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .gr, .gr-l, .gr-r { opacity: 1; transform: none; }
}


/* 代祷表单蜜罐字段：真人看不见，机器人会填 → 后台据此丢弃垃圾提交 */
.gkac-hp-wrap { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
