:root {
  --ink: #1f2a24;
  --muted: #6e786f;
  --cream: #f4f0e7;
  --paper: #fffdf9;
  --green: #274c3a;
  --green2: #35664e;
  --gold: #b79652;
  --line: #dedbd1;
  --brick: #8b4d3b;
  --shadow: 0 18px 55px rgba(36, 48, 40, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.utility-bar {
  background: #1f3329;
  color: #dce7df;
  font-size: 13px;
}
.utility-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility-inner div {
  display: flex;
  gap: 22px;
}
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 253, 249, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-wrap {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-mark {
  width: 48px;
  height: 52px;
  border: 1px solid #c9b77e;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 100%, 0 100%, 0 25%);
  background: #fbf6e9;
}
.cross {
  font-size: 24px;
  color: var(--green);
}
.brand strong {
  font-family: "Noto Serif TC", serif;
  font-size: 19px;
  letter-spacing: 0.08em;
}
.brand small {
  display: block;
  color: #7f877f;
  font-size: 10px;
  letter-spacing: 0.15em;
  margin-top: 2px;
}
.main-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}
.main-nav a {
  position: relative;
  padding: 32px 0;
}
.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 21px;
  height: 2px;
  background: var(--gold);
  transition: 0.25s;
}
.main-nav a:hover:after {
  right: 0;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
}
/* =========================================================
   HERO - Guishan Church watercolor
========================================================= */
.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #102d23;
  color: white;
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #102d23 0%,
    #102d23 32%,
    rgba(16, 45, 35, 0.96) 41%,
    rgba(16, 45, 35, 0.78) 50%,
    rgba(16, 45, 35, 0.32) 64%,
    rgba(16, 45, 35, 0.05) 82%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 4;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 35px;
  padding-bottom: 70px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #e5cf96;
  margin: 0 0 14px;
}

.eyebrow.dark {
  color: #90753a;
}

.hero h1 {
  position: relative;
  z-index: 5;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.25;
  margin: 0 0 18px;
  letter-spacing: 0.04em;
  color: white;
  max-width: 720px;
}

.hero h1 span {
  color: #f0ddb1;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(620px, 55%);
  font-size: 17px;
  color: #ecf0ed;
  margin: 6px 0 30px;
}

.hero-actions {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}
.btn.primary {
  background: var(--gold);
  color: #fff;
}
.btn.primary:hover {
  background: #9b793b;
}
.btn.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  background: rgba(255, 255, 255, 0.04);
}
.btn.light {
  background: white;
  color: var(--green);
}
.btn.small {
  padding: 9px 15px;
  background: var(--green);
  color: white;
}
.btn.outline {
  background: white;
  color: var(--green);
  border-color: #bfc9c2;
}

.hero-verse {
  position: absolute;
  z-index: 6;
  right: 4%;
  bottom: 24px;
  max-width: 470px;
  text-align: right;
  color: #fff4dc;
  font-family: "Noto Serif TC", serif;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-verse span {
  display: block;
  font-size: 15px;
  line-height: 1.7;
}

.hero-verse small {
  display: block;
  font-family: "Noto Sans TC", sans-serif;
  color: #e6ece8;
  margin-top: 4px;
}

.quick-links {
  position: relative;
  z-index: 8;
  margin-top: -1px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: white;
  box-shadow: var(--shadow);
}
.quick-links > a {
  min-height: 112px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}
.quick-links > a:last-child {
  border-right: 0;
}
.quick-links > a:hover {
  background: #fbf8f0;
}
.quick-icon {
  font-size: 27px;
  color: var(--gold);
}
.quick-links strong,
.quick-links small {
  display: block;
}
.quick-links small {
  color: var(--muted);
  font-size: 12px;
}
.quick-links b {
  margin-left: auto;
  color: var(--gold);
}
.section {
  padding: 100px 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.section h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 38px;
  margin: 0 0 24px;
  letter-spacing: 0.05em;
}
.section-copy p:not(.eyebrow) {
  color: #5f6b63;
}
.text-link {
  color: var(--green2);
  font-weight: 800;
  font-size: 14px;
}
.about-card {
  height: 440px;
  background: linear-gradient(160deg, #b98264, #714437);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.arch {
  position: absolute;
  bottom: -35px;
  width: 120px;
  height: 350px;
  border: 13px solid rgba(242, 223, 185, 0.85);
  border-radius: 70px 70px 0 0;
  background: #2b443a;
}
.arch-a {
  left: 42px;
}
.arch-b {
  left: 190px;
  height: 390px;
}
.arch-c {
  left: 338px;
}
.about-card-copy {
  position: absolute;
  inset: auto 30px 26px 30px;
  z-index: 2;
  background: rgba(27, 49, 39, 0.92);
  color: white;
  padding: 22px;
}
.about-card-copy span {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #dac995;
}
.about-card-copy strong {
  display: block;
  font-family: "Noto Serif TC";
  font-size: 20px;
  margin-top: 4px;
}
.gatherings {
  background: var(--cream);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 14px;
}
.gather-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gather-grid article {
  background: white;
  padding: 30px;
  border-top: 3px solid #d8d0bc;
  min-height: 225px;
}
.gather-grid article > span {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #9b8759;
}
.gather-grid h3 {
  font-size: 21px;
}
.meeting {
  display: flex;
  gap: 18px;
  border-top: 1px solid #e8e3d8;
  padding-top: 12px;
  margin-top: 12px;
}
.meeting b {
  color: var(--green);
}
.meeting p {
  margin: 0;
  color: var(--muted);
}
.gather-grid .featured {
  background: var(--green);
  color: white;
  border-top-color: var(--gold);
}
.featured .meeting {
  border-color: rgba(255, 255, 255, 0.2);
}
.featured .meeting b,
.featured .meeting p {
  color: white;
}
.news-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
}
.news-lead {
  display: grid;
  grid-template-columns: 46% 54%;
  background: var(--cream);
  min-height: 400px;
}
.news-image.poster {
  background: linear-gradient(145deg, #6e3b32, #b4775f);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.poster:before {
  content: "✝";
  position: absolute;
  font-size: 210px;
  color: rgba(255, 255, 255, 0.1);
}
.poster span {
  font-family: "Noto Serif TC";
  color: #f8edcc;
  font-size: 38px;
  writing-mode: vertical-rl;
  letter-spacing: 0.15em;
}
.news-body {
  padding: 34px;
}
.tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 3px 9px;
  font-size: 11px;
  margin-right: 10px;
}
.tag.muted {
  background: #eee8d9;
  color: #665c46;
}
.news-body time,
.news-list time {
  font-size: 12px;
  color: #8b938d;
}
.news-body h3 {
  font-family: "Noto Serif TC";
  font-size: 26px;
  margin: 18px 0 12px;
}
.news-body p,
.news-list p {
  color: var(--muted);
  font-size: 14px;
}
.news-body a {
  font-weight: 700;
  color: var(--green2);
}
.news-list article {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.news-list h3 {
  font-size: 18px;
  margin: 7px 0 2px;
}
.news-list p {
  margin: 0;
}
.schedule-section {
  background: #f8f7f3;
}
.schedule-actions {
  display: flex;
  gap: 10px;
}
.schedule-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.sheet-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.sheet-tabs button {
  border: 1px solid #d5d7d2;
  background: white;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
}
.sheet-tabs button.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.table-shell {
  overflow: auto;
  background: white;
  border: 1px solid #dfe1db;
  box-shadow: 0 8px 30px rgba(34, 50, 41, 0.05);
}
#scheduleTable {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  white-space: nowrap;
}
#scheduleTable th,
#scheduleTable td {
  padding: 11px 12px;
  border-right: 1px solid #e2e4df;
  border-bottom: 1px solid #e2e4df;
  text-align: center;
}
#scheduleTable th {
  position: sticky;
  top: 0;
  background: var(--green);
  color: white;
  font-weight: 700;
}
#scheduleTable tr:nth-child(even) td {
  background: #faf9f5;
}
.empty-state {
  text-align: center;
  padding: 60px;
  color: var(--muted);
}
.schedule-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.schedule-note a {
  font-weight: 700;
  color: var(--green2);
}

.schedule-cards {
  display: none;
}

.schedule-card {
  background: #fff;
  border: 1px solid #dedbd1;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(36, 48, 40, 0.06);
}

.schedule-card-head {
  background: var(--green);
  color: #fff;
  padding: 16px 18px;
}

.schedule-card-head strong {
  display: block;
  font-size: 18px;
  font-family: "Noto Serif TC", serif;
}

.schedule-card-head span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #d9e4dc;
}

.schedule-card-body {
  padding: 8px 18px;
}

.schedule-duty {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #ece9e1;
}

.schedule-duty:last-child {
  border-bottom: 0;
}

.schedule-duty span {
  color: #90753a;
  font-size: 13px;
  font-weight: 700;
}

.schedule-duty strong {
  color: var(--ink);
  font-size: 15px;
}

@media (max-width: 768px) {
  .desktop-schedule {
    display: none;
  }

  .schedule-cards {
    display: block;
  }

  .schedule-card {
    border-radius: 6px;
    overflow: hidden;
  }

  .schedule-actions {
    flex-direction: column;
  }

  .schedule-actions .btn {
    width: 100%;
  }

  .section-head {
    align-items: stretch;
  }
}
.media {
  background: var(--green);
  color: white;
}
.media-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.media h2 {
  font-size: 40px;
}
.media p:not(.eyebrow) {
  color: #d7e2db;
  max-width: 510px;
}
.youtube-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

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

.play {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
  padding-left: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 26px;
}
.map-container {
  width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
  background: #f0ede4;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 手機 */
@media (max-width: 768px) {
  .map-container {
    height: 360px;
  }
}

.contact-card {
  background: var(--cream);
  padding: 38px;
}
.contact-card h3 {
  font-family: "Noto Serif TC";
  font-size: 23px;
}
.contact-card dl div {
  padding: 14px 0;
  border-bottom: 1px solid #d8d1c2;
}
.contact-card dt {
  font-size: 12px;
  font-weight: 800;
  color: #8a7445;
}
.contact-card dd {
  margin: 4px 0 0;
  color: #5f675f;
}
footer {
  background: #19271f;
  color: #dbe1dc;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}
.footer-grid > div:not(.brand) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.footer-grid b {
  color: #fff;
  margin-bottom: 8px;
}
.footer-brand .brand-mark {
  background: #22382c;
}
.footer-brand strong {
  color: #fff;
}
.copyright {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  color: #8fa096;
}
@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 126px;
    background: white;
    display: none;
    flex-direction: column;
    padding: 20px 30px;
    box-shadow: var(--shadow);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 8px 0;
  }
  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 720px;
  }
  .hero-photo {
    width: 100%;
    height: 100%;
  }
  .hero-photo img {
    object-position: 58% center;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(16, 45, 35, 0.06) 0%,
      rgba(16, 45, 35, 0.22) 28%,
      rgba(16, 45, 35, 0.82) 52%,
      #102d23 76%,
      #102d23 100%
    );
  }
  .hero-content {
    min-height: 720px;
    justify-content: flex-end;
    padding-top: 250px;
    padding-bottom: 70px;
  }
  .hero h1 {
    font-size: 44px;
    max-width: 680px;
  }
  .hero-copy {
    width: min(650px, 92%);
  }
  .hero-verse {
    display: none;
  }

  .quick-links {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .news-grid,
  .media-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gather-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-lead {
    grid-template-columns: 1fr;
  }
  .news-image.poster {
    min-height: 240px;
  }
  .section {
    padding: 75px 0;
  }
  .about-card {
    max-width: 580px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}

@media (max-width: 768px) {
  .desktop-schedule {
    display: none;
  }
  .schedule-cards {
    display: block;
  }
  .schedule-card {
    border-radius: 6px;
    overflow: hidden;
  }
  .schedule-actions {
    flex-direction: column;
  }
  .schedule-actions .btn {
    width: 100%;
  }
  .section-head {
    align-items: stretch;
  }
  .map-container {
    height: 360px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .utility-inner > span {
    display: none;
  }
  .utility-inner {
    justify-content: flex-end;
  }
  .nav-wrap {
    height: 76px;
  }
  .brand strong {
    font-size: 16px;
  }
  .brand-mark {
    width: 40px;
    height: 43px;
  }
  .main-nav {
    top: 112px;
  }

  .hero {
    min-height: 780px;
  }
  .hero-photo {
    width: 100%;
  }
  .hero-photo img {
    object-position: 58% center;
  }
  .hero-content {
    min-height: 780px;
    justify-content: flex-end;
    padding-top: 280px;
    padding-bottom: 55px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.32;
    margin-bottom: 14px;
  }
  .hero-copy {
    width: 100%;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 22px;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }
  .quick-links > a {
    min-height: 86px;
  }
  .section h2 {
    font-size: 31px;
  }
  .split {
    gap: 45px;
  }
  .gather-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 10px;
  }
  .schedule-actions {
    margin-top: 18px;
  }
  .news-list article {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .arch {
    transform: scale(0.85);
    transform-origin: bottom left;
  }
  .arch-b {
    left: 160px;
  }
  .arch-c {
    left: 278px;
  }
}

@media print {
  .site-header,
  .hero,
  .quick-links,
  #about,
  #gatherings,
  #news,
  #media,
  #contact,
  footer,
  .schedule-actions,
  .schedule-note {
    display: none !important;
  }
  .schedule-section {
    padding: 0;
    background: white;
  }
  .container {
    width: 100%;
  }
  #scheduleTable {
    font-size: 10px;
  }
  .table-shell {
    border: 0;
    box-shadow: none;
  }
}

.hero-content {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 999 !important;
}

.hero-content * {
  visibility: visible !important;
  opacity: 1 !important;
}
