/* Inner pages — refined to match Figma v3 */
:root {
  --swbc-hero-deep: #2d0f45;
  --swbc-hero-mid: #49155f;
  --swbc-hero-soft: #6b2a82;
  --swbc-line: rgba(73, 21, 95, 0.15);
  --swbc-base-font: 18px;
}

.page-hero,
.main-content,
.main-content p,
.main-content li,
.main-content span,
.main-content a,
.main-content label,
.footer,
.footer li,
.footer a {
  font-size: var(--swbc-base-font);
  line-height: 1.65;
}

.font-weight-bold {
  font-weight: 700;
}

.page-hero {
  position: relative;
  min-height: 280px;
  padding: 4.2rem 0 3.2rem;
  background: linear-gradient(
    135deg,
    var(--swbc-hero-deep) 0%,
    var(--swbc-hero-mid) 48%,
    var(--swbc-hero-soft) 100%
  );
  color: #fff;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 992px) {
  .page-hero {
    min-height: 400px;
  }
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.inner-page-hero1 {
  background: url(../images/inner/inner-banner1.png) no-repeat center center;
  background-size: cover;
}

.inner-page-hero2 {
  background: url(../images/inner/inner-banner2.png) no-repeat center center;
  background-size: cover;
}

.inner-page-hero3 {
  background: url(../images/inner/inner-banner3.png) no-repeat center center;
  background-size: cover;
}

.inner-page-hero4 {
  background: url(../images/inner/inner-banner4.png) no-repeat center center;
  background-size: cover;
}

.inner-page-hero5 {
  background: url(../images/inner/inner-banner5.png) no-repeat center center;
  background-size: cover;
}

.inner-page-hero6 {
  background: url(../images/inner/inner-banner6.png) no-repeat center center;
  background-size: cover;
}

.inner-page-hero7 {
  background: url(../images/inner/inner-banner7.png) no-repeat center center;
  background-size: cover;
}

.page-hero .container {
  transform: translateY(70%);
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.page-hero .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
  justify-content: center;
  margin-bottom: 0;
  font-size: 18px;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.95rem;
}

.page-hero .breadcrumb-item.active {
  color: #fff;
}

.inner-section {
  padding: 3.4rem 0;
}

@media (min-width: 992px) {
  .inner-section {
    padding: 4.5rem 0;
  }

  .main-content > .inner-section:last-of-type:not(.fellowship-split-band) {
    padding-bottom: 120px;
  }

  .page-hero .container {
    transform: translateY(100%);
  }

  .page-hero h1 {
    margin-bottom: 1rem;
  }
}

.inner-section.alt-bg {
  background: #FBFBFC;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--swbc-hero-mid);
}

.section-title .title-rule {
  width: 60px;
  height: 4px;
  background: var(--swbc-hero-mid);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.lead-intro {
  max-width: 44rem;
  margin: 0 auto 2rem;
  font-size: 20px;
  line-height: 1.75;
  text-align: center;
}

@media (min-width: 992px) {
  .lead-intro {
    font-size: 30px;
    line-height: 1.75;
  }
}

.doctrine-list .list-group-item {
  border-radius: 0;
  border: 0;
  border-bottom: 1px dashed var(--swbc-line);
  padding: 1rem 1rem 1rem 3rem;
  position: relative;
  font-size: 18px;
}

@media (min-width: 992px) {
  .doctrine-list .list-group-item {
    font-size: 24px;
  }
}

.doctrine-list .list-group-item::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.55rem;
  width: 20px;
  height: 20px;
  background: url(../images/inner/fh.svg) no-repeat center center;
  background-size: contain;
}

.covenant-box {
  max-width: 58rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 40px rgba(45, 15, 69, 0.06);
}

.mark-quote {
  padding: 0 1rem;
  line-height: 1.75;
  text-align: center;
  position: relative;
}

@media (min-width: 992px) {
  .covenant-box {
    padding: 2rem 3rem;
  }

  .mark-quote {
    padding: 0 4rem;
    font-size: 24px !important;
  }
}

.mark-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: url(../images/inner/mark.svg) no-repeat center center;
  background-size: contain;
}

@media (min-width: 992px) {
  .mark-quote::before {
    width: 3rem;
    height: 3rem;
  }
}

.covenant-box ul {
  padding-left: 0;
  margin: 0;
}

.covenant-box li {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 0.85rem;
  list-style: none;
}

@media (min-width: 992px) {
  .covenant-box li {
    font-size: 20px !important;
  }
  .mark-quote-content {
    font-size: 24px !important;
  }
}

.covenant-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: url(../images/inner/add1.svg) no-repeat center center;
  background-size: contain;
  transform: translateY(25%);
}

.history-intro {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.timeline-wrap {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.75rem 0 0.25rem;
}

.timeline-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(
    var(--swbc-hero-mid),
    rgba(73, 21, 95, 0.2)
  );
}

@media (max-width: 767.98px) {
  .timeline-wrap::before {
    left: 1rem;
    margin-left: 0;
  }
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 0 2rem;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  text-align: right;
  padding-right: 4.5rem;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  text-align: left;
  padding-left: 4.5rem;
}

@media (max-width: 767.98px) {
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    text-align: left;
    padding: 0 0 1.5rem 3rem;
  }
}

.timeline-card {
  display: inline-block;
  text-align: left;
  background: #fff;
  border: 1px solid #e3deea;
  border-radius: 4px;
  padding: 1.4rem 1.5rem;
  max-width: 416px;
  box-shadow: 0 8px 24px rgba(45, 15, 69, 0.06);
  transition: all 0.3s ease-in-out;
}

@media (min-width: 992px) {
  .timeline-card {
    min-width: 416px;
  }
}

.timeline-year {
  font-size: 32px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  color: var(--swbc-hero-mid);
  margin-bottom: 15px;
  line-height: 1.1;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--swbc-line);
}

.timeline-dot {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--swbc-hero-mid);
  top: 1.4rem;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -15px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -15px;
}

@media (max-width: 767.98px) {
  .timeline-dot {
    left: 0.45rem !important;
    right: auto !important;
  }
}

.timeline-card:hover {
  background: var(--swbc-hero-mid);
}

.timeline-card:hover .timeline-year {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.timeline-card:hover p {
  color: #fff;
}

.staff-grid .col {
  margin-bottom: 1.5rem;
}

.staff-card {
  position: relative;
  border: 1px solid #e3deea;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  transition: box-shadow 0.25s ease;
  box-shadow: 0 8px 20px rgba(45, 15, 69, 0.06);
}

.staff-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.staff-card .staff-photo {
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 20% 20%, #f2f2f2, #e4e4e4 72%);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

.staff-card .staff-meta {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.85rem 1rem 1rem;
  margin: 0 10px;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.staff-card:hover .staff-meta {
  background: rgba(255, 255, 255, 1);
}

.staff-card:hover .staff-photo img {
  transform: scale(1.1);
}

.staff-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-align: center;
}

.staff-role-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #555;
}

.staff-role-row .divider {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: #d9d9d9;
}

.staff-role-row .role,
.staff-role-row .branch {
  font-size: 18px;
  margin: 0;
}

.worship-card {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  background: #fff;
}

.worship-card .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 100px;
  background: rgba(73, 21, 95, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--swbc-hero-mid);
  font-size: 1.5rem;
}

.worship-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--swbc-hero-mid);
  margin-bottom: 1rem;
}

.online-worship-panel {
  border-radius: 0;
  padding: 3.25rem 1.25rem;
  text-align: center;
  background-color: #4d176e;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  color: #fff;
}

.online-worship-title {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.online-worship-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.online-worship-btn {
  min-width: 200px;
  padding: 0.9rem 1.5rem;
  border: 1px solid #fff;
  text-align: center;
  text-decoration: none;
  font-size: 42px;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.online-worship-btn-primary {
  background: #fff;
  color: #5b1f7f;
}

.online-worship-btn-primary:hover,
.online-worship-btn-primary:focus {
  background: #f3eaf9;
  color: #5b1f7f;
}

.online-worship-btn-outline {
  background: transparent;
  color: #fff;
}

.online-worship-btn-outline:hover,
.online-worship-btn-outline:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.course-card {
  border-left: 4px solid rgba(255, 255, 255, 0);
  border-bottom: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 2rem;
  transition: all 0.3s ease-in-out;
}

.course-card:hover {
  border-left-color: var(--swbc-hero-mid);
  background: #fff;
  box-shadow: 0 8px 20px rgba(45, 15, 69, 0.06);
}

.course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--swbc-hero-mid);
  margin-bottom: 1rem;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

@media (min-width: 992px) {
  .course-card h3 {
    font-size: 30px;
  }

  .course-card p.mb-0 {
    font-size: 20px;
  }
}

@media (min-width: 768px) {
  .course-meta {
    flex-direction: row;
    align-items: center;
    gap: 3.2rem;
  }

  /* .course-meta .course-meta-item + .course-meta-item::before {
    content: "｜";
    color: #888;
    margin-right: 0.9rem;
  } */
}

.fellowship-tabs .nav-link {
  color: #333;
  border-radius: 0;
}

.fellowship-tabs .nav-link.active {
  background: rgba(73, 21, 95, 0.1);
  color: var(--swbc-hero-mid);
  border-bottom: 2px solid var(--swbc-hero-mid);
}

@media (max-width: 991.98px) {
  .fellowship-tabs {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 0.25rem;
    padding-bottom: 0.05rem;
  }

  .fellowship-tabs .nav-item {
    flex: 0 0 auto;
    border-bottom: none;
    margin-bottom: 0;
  }

  .fellowship-tabs .nav-link {
    white-space: nowrap;
  }
}

.content-media {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: linear-gradient(120deg, #e8e8e8, #f4f4f4);
  min-height: 220px;
}

@media (min-width: 992px) {
  .tab-pane.fade p.mb-0 {
    font-size: 20px;
  }
  .sp-inner .h4 {
    font-size: 32px;
  }

  .sp-inner p {
    font-size: 24px;
  }

  .sp-inner ul li {
    font-size: 24px;
  }
}

.fellowship-feature {
  min-height: 640px;
}

.fellowship-feature .content-media {
  min-height: 640px;
  border: 0;
  border-radius: 0;
}

/* 團契頁：詩班／音樂小組 Figma 分欄（全寬、白底字、影像滿版裁切） */
.fellowship-split-band {
  overflow: hidden;
}

.fellowship-media-wrap {
  position: relative;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  background: #1a1a1a;
}

.fellowship-split-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.fellowship-media-wrap--bottom .fellowship-split-photo {
  object-position: center bottom;
}

.fellowship-copy--split {
  padding: 0;
  background-color: #fbfbfc !important;
}

.fellowship-copy-inner {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.fellowship-split-body,
.fellowship-split-footer {
  font-size: clamp(1.125rem, 2.1vw, 1.25rem);
  line-height: 1.65;
  color: #333;
}

.fellowship-split-footer {
  font-weight: 500;
}

@media (min-width: 992px) {
  .fellowship-copy-inner {
    padding: 2.5rem 3rem 2.5rem 3.5rem;
    margin: 0;
    margin-left: auto;
    margin-right: 0;
  }

  .fellowship-split-band .fellowship-feature > .col-lg-6:last-child .fellowship-copy-inner {
    margin-left: 0;
    margin-right: auto;
  }

  .fellowship-media-wrap {
    min-height: 640px;
  }

  .fellowship-split-body {
    font-size: 24px !important;
  }
}

.fellowship-copy {
  padding: 0 1.25rem;
}

.fellowship-copy h3 {
  font-size: 42px;
  color: var(--swbc-hero-mid);
  margin-bottom: 1.5rem;
}

.fellowship-copy p {
  max-width: 560px;
}

/* 覆蓋 .fellowship-copy h3 紫色；分欄標題依 Figma 用大號黑字 */
.fellowship-copy--split h3.fellowship-split-title {
  font-size: clamp(2rem, 4vw, 2.625rem);
  font-weight: 700;
  color: #111;
  margin-bottom: 1.25rem;
}

/* 奉獻頁三卡 — 對齊 Figma「奉獻」2023:396 */
.donation-methods-row {
  margin-top: 0.25rem;
}

.donation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  padding: 2.75rem 1.5rem 2rem;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
  .donation-card {
    max-width: 392px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991.98px) {
  .donation-card {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.donation-card-title {
  font-size: clamp(1.375rem, 2.8vw, 1.55rem);
  font-weight: 400;
  color: #333;
  margin-bottom: 1.35rem;
  line-height: 1.35;
}

.donation-card-fields {
  width: 100%;
}

.donation-field-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: #333;
}

.donation-field-value {
  font-size: 1.125rem;
  font-weight: 400;
  color: #666;
  line-height: 1.55;
}

.donation-field-value--mono {
  font-family: Arial, Helvetica, sans-serif;
}

.donation-card-note {
  font-size: 1.125rem;
  font-weight: 400;
  color: #666;
  line-height: 1.55;
}

.donation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(73, 21, 95, 0.1);
  color: var(--swbc-hero-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 32px;
  flex-shrink: 0;
}

.donation-cash-divider {
  border: 0;
  border-top: 1px solid #d9d9d9;
  width: 172px;
  max-width: 85%;
  margin: 1.5rem auto 0;
  opacity: 1;
}

.donation-cash-warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #ef2525;
  font-size: 1.125rem;
}

.donation-cash-warning .fa {
  font-size: 20px;
}

.quote-block {
  max-width: 62rem;
  margin: 0 auto;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 2rem 1.75rem;
  background: #fff;
  position: relative;
}

.contact-map {
  border: 0;
  width: 100%;
  min-height: 520px;
  border-radius: 4px;
}

/* 聯絡我們頁 — 對齊 Figma 2024:519 */
.contact-main-section {
  background: #fff;
}

.contact-info-stack {
  max-width: 660px;
}

.contact-location-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #333;
  margin-bottom: 1.25rem;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  color: #333;
  font-size: clamp(1rem, 1.4vw, 1.15rem) !important;
  line-height: 1.5;
  padding-top: 0.15rem;
}

.contact-detail-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.contact-detail-value {
  font-size: clamp(1rem, 1.4vw, 1.2rem) !important;
  font-weight: 400;
  color: #333;
  line-height: 1.45;
}

.contact-detail-value--mono {
  font-family: Arial, Helvetica, sans-serif;
}

a.contact-detail-value {
  text-decoration: none;
  color: #333;
  font-size: clamp(1rem, 1.4vw, 1.2rem) !important;
}

a.contact-detail-value:hover {
  color: var(--swbc-hero-mid);
  text-decoration: underline;
}

.contact-location-divider {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #e0e0e0;
  opacity: 1;
}

.contact-form-panel--figma {
  background: #f5f5f4;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2.25rem);
  max-width: 582px;
  margin-left: auto;
}

@media (max-width: 991.98px) {
  .contact-form-panel--figma {
    margin-left: 0;
    max-width: none;
  }
}

.contact-form-label-top {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.65rem;
}

.contact-figma-form .contact-figma-control {
  min-height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-size: 1.125rem;
  padding: 0.65rem 1rem;
  /* background: #fff; */
}

.contact-figma-form .contact-figma-control::placeholder {
  color: #ccc;
}

.contact-figma-form .contact-figma-textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-figma-form .contact-figma-select {
  cursor: pointer;
}

.contact-form-rule {
  border: 0;
  border-top: 1px solid #d9d9d9;
  margin: 1rem 0 1.25rem;
  opacity: 1;
}

.contact-captcha-slot {
  /* max-width: 296px;
  min-height: 60px; */
  /* display: flex;
  align-items: center;
  justify-content: center; */
  /* background: #fafafa; */
  border-radius: 4px;
}

.contact-captcha-slot-inner {
  font-size: 0.875rem;
  color: #888;
  text-align: center;
  line-height: 1.4;
}

.contact-submit-btn {
  background: var(--swbc-hero-mid);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  min-height: 46px;
  border-radius: 5px;
  padding: 0.5rem 1rem;
}

.contact-submit-btn:hover {
  background: var(--swbc-hero-deep);
  color: #fff;
}

.contact-map-section {
  padding-bottom: 81px;
}

.contact-map-stack {
  max-width: 1320px;
  margin: 0 auto;
}

.contact-map-tabs-wrap {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.contact-map-tab-group {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.contact-map-tab {
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #333;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-map-tab:hover {
  background: rgba(73, 21, 95, 0.08);
}

.contact-map-tab.active {
  background: var(--swbc-hero-mid);
  color: #fff;
}

.contact-map-tab.active:hover {
  background: var(--swbc-hero-mid);
  color: #fff;
}

.contact-map-frame-shell {
  border: 4px solid #fff;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #e5e5e5;
}

.contact-map-pane {
  display: none;
  background: #fff;
  min-height: 420px;
}

.contact-map-pane iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  border: 0;
}

.contact-map-pane.active {
  display: block;
}

.contact-map--framed {
  display: block;
  width: 100%;
  min-height: 420px;
  border-radius: 0;
}

@media (max-width: 767.98px) {
  .contact-map-tabs-wrap {
    margin-bottom: 1rem;
  }

  .contact-map-tab {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

.contact-info-card {
  border: 1px solid #e3deea;
  border-radius: 4px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(45, 15, 69, 0.06);
}

.quote-block .quote-mark {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  font-size: 2rem;
  line-height: 1;
  color: rgba(73, 21, 95, 0.25);
  font-family: Georgia, "Times New Roman", serif;
}

/* 寶田福音堂 — 對齊 Figma 2021:186（年題卡、聚會時間列、教牧卡片） */
.potin-quote-section.inner-section {
  padding-top: 0;
  position: relative;
  z-index: 2;
  margin-top: clamp(-3.5rem, -10vw, -7.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.potin-quote-card.quote-block {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 50px rgba(0, 0, 0, 0.05);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.5rem);
}

.potin-quote-year {
  font-size: clamp(1.375rem, 2.5vw, 1.8rem) !important;
  font-weight: 700;
  color: var(--swbc-hero-mid);
  text-align: center;
  margin-bottom: 1.5rem;
}

.potin-quote-verse-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.potin-quote-mark {
  display: block;
  width: clamp(40px, 8vw, 53px);
  height: auto;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .potin-quote-verse-wrap {
    padding-left: 4.25rem;
    min-height: 3.5rem;
  }

  .potin-quote-mark {
    position: absolute;
    left: 0.25rem;
    top: 0.1rem;
    margin: 0;
    width: 53px;
  }
}

.potin-quote-verse {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 400;
  color: #333;
  line-height: 1.65;
  text-align: center;
  max-width: 49.375rem;
  margin-left: auto;
  margin-right: auto;
  margin-block: 0;
  padding: 0;
  border: 0;
}

.potin-quote-ref {
  font-size: clamp(1rem, 1.4vw, 1.15rem) !important;
  font-weight: 700;
  color: var(--swbc-hero-mid);
  text-align: center;
}

.potin-body-section .lead-intro.potin-mission {
  margin-bottom: 2.5rem;
}

p.lead-intro.potin-mission {
  font-size: clamp(1rem, 1.4vw, 1.35rem) !important;
}

.potin-section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.potin-team-row {
  max-width: 1000px;
  margin: 0 auto;
}

.potin-section-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(73, 21, 95, 0.1);
  color: var(--swbc-hero-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.potin-section-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  color: #333;
}

.potin-schedule-wrap {
  max-width: 582px;
}

.potin-schedule-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.potin-schedule-row:last-of-type {
  margin-bottom: 0;
}

.potin-schedule-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--swbc-hero-mid);
}

.potin-schedule-loc {
  font-size: 1rem;
  color: #666;
}

.potin-schedule-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: #333;
}

.potin-schedule-time {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--swbc-hero-mid);
}

@media (min-width: 768px) {
  .potin-schedule-right {
    text-align: right;
  }
}

.potin-team-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.1rem;
  border: none;
}

.potin-team-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #666;
  font-size: 1.35rem;
}

.potin-team-text {
  text-align: left;
  flex: 1;
  min-width: 0;
}

.potin-team-role {
  font-size: 1.125rem;
  color: #666;
}

.potin-team-name {
  font-size: clamp(1.2rem, 1.4vw, 1.5rem) !important;
  font-weight: 700;
  color: var(--swbc-hero-mid);
}

@media (max-width: 767.98px) {
  .potin-schedule-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .potin-schedule-label {
    text-align: center;
  }

  .potin-schedule-right {
    text-align: left;
  }
}

.contact-form-panel {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 1.75rem;
  background: #F5F5F4;
}

.activity-grid .col {
  margin-bottom: 1rem;
}

.activity-thumb {
  aspect-ratio: 305 / 356;
  background: linear-gradient(160deg, #ddd, #f5f5f5);
  border-radius: 4px;
  border: 1px solid #e5e5e5;
}

.activity-label {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--swbc-hero-mid);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 2px;
}

/* 街頭佈道：立約條文清單（與內文對齊、行距舒適） */
.street-covenant-list {
  max-width: 48rem;
  line-height: 1.65;
}

.street-covenant-list li {
  margin-bottom: 0.65rem;
  padding-left: 0.15rem;
}

.street-covenant-list li:last-child {
  margin-bottom: 0;
}

.mak-pagination .page-link {
  color: var(--swbc-hero-mid);
  border-color: #ddd;
  min-width: 44px;
  text-align: center;
}

.mak-pagination .page-item.active .page-link {
  background-color: var(--swbc-hero-mid);
  border-color: var(--swbc-hero-mid);
  color: #fff;
}

.tp_card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tp_card p {
  text-align: left;
  font-size: 16px !important;
  line-height: 1.45;
}

.page-item {
  margin: 0 5px;
}

.page-item .page-link {
  border-radius: 0 !important;
}

.mak-lau-panel {
  border-left: 4px solid var(--swbc-hero-mid);
  padding: 1.5rem;
  background: #f5f5f5;
}

.mak-lau-panel p {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #333;
}

@media (max-width: 991.98px) {
  .fellowship-feature {
    min-height: auto;
  }

  .fellowship-feature .content-media {
    min-height: 360px;
  }

  .fellowship-media-wrap {
    min-height: 360px;
  }

  .fellowship-copy {
    padding: 1.5rem 0;
  }

  .fellowship-copy--split {
    padding: 0 0.75rem;
  }

  .fellowship-copy-inner {
    padding: 1.5rem 1.25rem;
    margin-left: auto;
    margin-right: auto;
  }

  .fellowship-copy-inner--last {
    padding-bottom: 60px; 
  }
}

@media (max-width: 767.98px) {
  .page-hero,
  .main-content,
  .main-content p,
  .main-content li,
  .main-content span,
  .main-content a,
  .main-content label,
  .footer,
  .footer li,
  .footer a {
    font-size: 18px;
  }

  .page-hero {
    min-height: 240px;
    padding: 3.2rem 0 2.4rem;
  }

  .timeline-card {
    max-width: 100%;
    width: 100%;
  }

  .timeline-year {
    font-size: 34px;
  }

  .staff-card h3 {
    font-size: 22px;
  }

  .fellowship-copy h3 {
    font-size: 34px;
  }

  .fellowship-copy--split h3.fellowship-split-title {
    font-size: clamp(1.35rem, 5.5vw, 2.25rem);
  }

  .online-worship-panel {
    padding: 2.4rem 1rem 2.2rem;
  }

  .online-worship-title {
    margin-bottom: 1.5rem;
    font-size: 36px;
  }

  .online-worship-btn {
    min-width: 100%;
    font-size: 30px;
  }
}

/* -------- Subtle Effects For Inner Pages -------- */
.main-content .content-media,
.main-content .activity-thumb,
.main-content .contact-map--framed,
.main-content .fellowship-media-wrap,
.main-content .online-worship-panel,
.main-content .timeline-card,
.main-content .staff-card,
.main-content .course-card,
.main-content .donation-card,
.main-content .contact-form-panel,
.main-content .contact-map-frame-shell,
.main-content .potin-team-card,
.main-content .contact-location-block,
.main-content .mak-lau-panel {
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.main-content .timeline-card:hover,
.main-content .staff-card:hover,
.main-content .course-card:hover,
.main-content .donation-card:hover,
.main-content .contact-form-panel:hover,
.main-content .potin-team-card:hover,
.main-content .mak-lau-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(45, 15, 69, 0.12);
}

.main-content .content-media img,
.main-content .fellowship-media-wrap img,
.main-content .activity-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.main-content .content-media:hover img,
.main-content .fellowship-media-wrap:hover img,
.main-content .activity-thumb:hover img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.main-content .btn,
.main-content .online-worship-btn,
.main-content .contact-submit-btn,
.main-content .contact-map-tab {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.main-content .btn:hover,
.main-content .online-worship-btn:hover,
.main-content .contact-submit-btn:hover,
.main-content .contact-map-tab:hover {
  transform: translateY(-1px);
}

.effect-reveal {
  opacity: 0;
  transform: translateY(18px);
  --reveal-delay: 0ms;
}

.effect-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease var(--reveal-delay), transform 0.55s ease var(--reveal-delay);
}

@media (prefers-reduced-motion: reduce) {
  .main-content .content-media,
  .main-content .activity-thumb,
  .main-content .contact-map--framed,
  .main-content .fellowship-media-wrap,
  .main-content .online-worship-panel,
  .main-content .timeline-card,
  .main-content .staff-card,
  .main-content .course-card,
  .main-content .donation-card,
  .main-content .contact-form-panel,
  .main-content .contact-map-frame-shell,
  .main-content .potin-team-card,
  .main-content .contact-location-block,
  .main-content .mak-lau-panel,
  .main-content .content-media img,
  .main-content .fellowship-media-wrap img,
  .main-content .activity-thumb img,
  .main-content .btn,
  .main-content .online-worship-btn,
  .main-content .contact-submit-btn,
  .main-content .contact-map-tab,
  .effect-reveal,
  .effect-reveal.is-visible {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }

  .effect-reveal {
    opacity: 1 !important;
  }
}
