body { font-family: 'Noto Sans KR', Arial, sans-serif; margin: 0; padding: 0; background: #f8f9fa; }
.top-bar { background: #004863; color: #fff; font-size: 0.75em; padding: 0.3em 0; text-align: right; }
.top-bar .contact-info span { margin-right: 1.5em; }
.main-header { display: flex; align-items: center; justify-content: space-between; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 0.7em 2em;margin-bottom: 1em; position: relative; }
.logo-area .logo { font-size: 1.5em; font-weight: bold; color: #7ea033; letter-spacing: 1px; }
.main-nav { flex: 1; text-align: left; display: flex; justify-content: flex-end; align-items: center; gap: 0.5em; }
.main-nav > a, .main-nav .dropdown > a { color: #004863; text-decoration: none; margin: 0 1.2em; font-weight: 500; font-size: 1.1em; position: relative; transition: color 0.2s; padding: 0.3em 0.7em; border-radius: 6px; }
.main-nav > a:hover, .main-nav .dropdown > a:hover { color: #7ea033; background: #eaf3e0; }
.donate-btn { background: #18a9b4; color: #fff; padding: 0.5em 1.3em; border-radius: 22px; font-weight: bold; text-decoration: none; margin-left: 1em; transition: background 0.2s; }
.donate-btn:hover { background: #7ea033; color: #fff; }
main { padding: 0; min-height: 70vh; }
footer { background: #3b4c5e; color: #fff; text-align: center; padding: 1.5em 0 1em 0; margin-top: 2em; font-size: 1em; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.main-banner { text-align: center; margin-bottom: 2em; }
.header-inner { width: 100%;max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between; }
.banner-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16/6;
  height: auto;
  max-height: 450px;
  overflow: hidden;
  background: #eaf3e0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(126,160,51,0.08);
}
.banner-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s, transform 1s;
  z-index: 1;
  border-radius: 12px;
}
.banner-slide.active {
  opacity: 1;
  z-index: 2;
}
.banner-slide.fade { transition: opacity 1s; }
.banner-slide.slide { transition: transform 1s, opacity 1s; }
.banner-slide.slide-in { transform: translateX(0); opacity: 1; }
.banner-slide.slide-out-left { transform: translateX(-100%); opacity: 0; }
.banner-slide.slide-in-right { transform: translateX(100%); opacity: 0; }
.banner-controls {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.banner-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b7c9a2;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.banner-dot.active {
  background: #7ea033;
}
.gallery img { border-radius: 6px; box-shadow: 0 1px 4px rgba(126,160,51,0.08); }

.info-boxes {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 3.5em auto;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(126,160,51,0.08);
  padding: 0.5em 0;
  border: 2px solid #eaf3e0;
}
.info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}
.info-box {
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
  margin: 0 0.5em;
  padding: 1.5em 0.5em 1.2em 0.5em;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
}
.info-box:hover {
  background: #f7f7f7;
  box-shadow: none;
  border: none;
}
.info-box .icon { font-size: 2.2em; margin-bottom: 0.3em; color: #18a9b4; display: flex; justify-content: center; align-items: center; }
.info-box .icon i { font-size: 2em; color: #18a9b4; }
.info-box .title { font-weight: bold; font-size: 1.1em; color: #777; margin-bottom: 0.2em; }
.info-box .desc { color: #3f5566; font-size: 0.98em; }

.latest-section { display: flex; justify-content: space-between; max-width: 1200px; margin: 2em auto; gap: 1.5em; }
.latest-block { background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(24,58,109,0.08); flex: 1; padding: 1.2em 1em; min-width: 0; border-top: 4px solid #7ea033; overflow: hidden; }
.latest-block h3 { color: #004863; font-size: 1.1em; margin-top: 0; }
.latest-block .caption { font-weight: bold; margin: 0.5em 0 0.2em 0; color: #3f5566; }
.latest-block .desc { color: #3f5566; font-size: 0.97em; }
.latest-block ul {
  padding-left: 1.2em;
  margin: 0.5em 0;
  list-style: disc inside;
}
.latest-block ul li {
  margin-bottom: 0.3em;
  line-height: 1.7;
}
.latest-block ul li a {
  text-decoration: none;
  color: #000;
  transition: color 0.2s;
}
.latest-block ul li a:hover {
  color: #7ea033;
  text-decoration: underline;
}
.latest-block iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 10px;
  display: block;
  margin: 0 auto 0.5em auto;
}

.gallery-title { text-align: left; max-width: 1200px; margin: 2.5em auto 0.5em auto; color: #004863; font-size: 1.1em; font-weight: bold; }
.gallery {
  max-width: 1200px;
  margin: 0 auto 2em auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 0 8px;
}
.event-gallery { max-width: 1200px; margin: 0 auto 2em auto; display: flex; flex-wrap: wrap; gap: 10px; }
.event-thumb { background: #eaf3e0; border-radius: 8px; box-shadow: 0 1px 4px rgba(126,160,51,0.08); flex: 1 1 200px; min-width: 180px; min-height: 120px; display: flex; align-items: center; justify-content: center; color: #004863; font-weight: bold; font-size: 1.1em; border: 2px solid #7ea033; }
.event-thumb:hover { background: #7ea033; color: #fff; }

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}
.dropdown::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  top: 100%;
  z-index: 99;
  pointer-events: auto;
}
.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 40px;
  min-width: 170px;
  background: #fff;
  box-shadow: 2px 13px 11px rgba(0,72,99,0.09);
  border-radius: 0 0 8px 8px;
  z-index: 100;
  padding: 0.5em 0;
}
.dropdown-content a { display: block; color: #004863; padding: 0.5em 1.2em; text-decoration: none; font-size: 1em; border-radius: 4px; transition: background 0.2s, color 0.2s; }
.dropdown-content a:hover { background: #eaf3e0; color: #7ea033; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 4px;
  margin: 4px 0;
  background: #7ea033;
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 90vw;
  max-width: 450px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 16px rgba(0,72,99,0.10);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.3s;
  padding-top: 2.5em;
}
.mobile-nav.active {
  display: block;
  transform: translateX(0);
}
.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2em;
  color: #004863;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
  padding: 0 0.2em;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-nav-close:hover {
  color: #7ea033;
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 0 1.5em;
}
.mobile-nav-inner a {
  color: #004863;
  text-decoration: none;
  font-size: 1.1em;
  padding: 0.7em 0;
  border-bottom: 1px solid #eaf3e0;
  transition: color 0.2s;
}
.mobile-nav-inner a:hover {
  color: #7ea033;
}
@media (max-width: 900px) {
  .info-boxes { flex-direction: column; gap: 0.5em; padding: 0.5em; }
  .info-col { width: 100%; }
  .info-box { margin: 0; border-radius: 10px; background: #fff; box-shadow: 0 1px 4px rgba(126,160,51,0.08); }
  .latest-section, .gallery, .event-gallery { flex-direction: column; gap: 1em; }
  .latest-block, .event-thumb { min-width: 0; }
  .banner-slider {
    max-width: 100vw;
    aspect-ratio: 16/7;
    max-height: 260px;
  }
  .main-nav { display: none !important; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .donate-btn { font-size: 1em; padding: 0.5em 1em; }
  .gallery { flex-direction: column; gap: 1em; }
  .photo-category-thumb { width: 100%; max-width: 100%; flex: 1 1 100%; }
}
@media (min-width: 901px) {
  .mobile-nav, .hamburger { display: none !important; }
}

.photo-category-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 calc((100% - 54px) / 4);
  max-width: calc((100% - 54px) / 4);
  min-width: 0;
  margin: 0;
  cursor: pointer;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  height: 240px;
}
.photo-category-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: 0 1px 4px rgba(126,160,51,0.10);
  display: block;
}
.photo-category-name {
  color: #004863;
  font-weight: 500;
  font-size: 0.98em;
  margin-top: 0.1em;
  text-align: center;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.photo-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-modal-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.photo-modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  padding: 2em 2em 1.5em 2em;
  min-width: 320px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.photo-modal-image-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}
.photo-modal-image-area img {
  max-width: 60vw;
  max-height: 60vh;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(126,160,51,0.10);
}
.photo-modal-prev, .photo-modal-next {
  background: #7ea033;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5em;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-modal-prev:hover, .photo-modal-next:hover {
  background: #18a9b4;
}
.photo-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2em;
  color: #004863;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0 0.2em;
  line-height: 1;
  transition: color 0.2s;
}
.photo-modal-close:hover {
  color: #7ea033;
}
.photo-modal-caption {
  margin-top: 1em;
  color: #3f5566;
  font-size: 1.08em;
  text-align: center;
}

/* Django admin even row(짝수행) 배경 제거 */
tr:nth-child(even), .row2 { background: none !important; } 

.main > #nav-sidebar {
  visibility: visible !important;
}
#nav-sidebar {
  margin-left: 0 !important;
  left: 0 !important;
}

.section-title-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  margin-top: 0;
  margin-bottom: 0.5em;
}
.section-more-link {
  font-size: 0.85em;
  font-weight: 400;
  color: #888;
  text-decoration: underline;
  margin-left: 8px;
  align-self: flex-end;
  transition: color 0.2s;
}
.section-more-link:hover {
  color: #7ea033;
  text-decoration: underline;
}

.sermon-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 2em;
}
.sermon-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(33,118,174,0.08);
  padding: 1.2em 1.2em 1em 1.2em;
  width: 340px;
  margin-bottom: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sermon-card:hover {
  box-shadow: 0 4px 24px rgba(33,118,174,0.13);
  transform: translateY(-4px) scale(1.03);
}
.sermon-thumb {
  width: 100%;
  margin-bottom: 1em;
}
.sermon-title {
  font-size: 1.13em;
  font-weight: bold;
  color: #2176ae;
  margin-bottom: 0.5em;
  text-align: center;
}
.sermon-meta {
  display: flex;
  gap: 1.2em;
  color: #888;
  font-size: 0.98em;
  justify-content: center;
  align-items: center;
}
.sermon-date i, .sermon-speaker i {
  margin-right: 3px;
  color: #2176ae;
}
.sermon-speaker {
  color: #3f5566;
  font-weight: 500;
}
.sermon-title-link {
  color: #2176ae;
  text-decoration: none;
  transition: color 0.2s;
}
.sermon-title-link:hover {
  color: #7ea033;
  text-decoration: underline;
}
@media (max-width: 1100px) {
  .sermon-list-grid { gap: 18px; }
  .sermon-card { width: 95vw; max-width: 340px; }
}
@media (max-width: 700px) {
  .sermon-list-grid { flex-direction: column; gap: 1em; }
  .sermon-card { width: 88vw; max-width: 99vw; margin: 0 auto; }
}

.photo-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2% 1.5%;
  justify-content: space-between;
  margin-top: 2em;
}
.photo-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33,118,174,0.08);
  padding: 1em 1em 0.8em 1em;
  width: 23%;
  margin-bottom: 2.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  box-sizing: border-box;
}
.photo-card:hover {
  box-shadow: 0 4px 24px rgba(33,118,174,0.13);
  transform: translateY(-4px) scale(1.03);
}
.photo-thumb {
  width: 100%;
  margin-bottom: 0.7em;
}
.photo-title {
  color: #000;
  margin-bottom: 0.4em;
  text-align: center;
}
.photo-meta {
  display: flex;
  gap: 0.7em;
  color: #888;
  font-size: 0.97em;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.photo-category i, .photo-uploader i, .photo-date i {
  margin-right: 2px;
  color: #2176ae;
}
@media (max-width: 1100px) {
  .photo-list-grid { gap: 2% 1.5%; }
  .photo-card { width: 48%; max-width: 100%; }
}
@media (max-width: 700px) {
  .photo-list-grid { flex-direction: column; gap: 1em; }
  .photo-card { width: 94vw; max-width: 99vw; margin: 0 auto; }
  .page-breadcrumb { margin-left: 10px; }
}
.page-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.7em auto;
}

/* Page Detail */
.page-container {
  max-width: 1000px;
  margin: 1em auto;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2em;
}
.page-breadcrumb {
  font-size: 1em;
  color: #888;
}
.page-breadcrumb a {
  color: #2176ae;
  text-decoration: none;
}
.back-to-list-btn {
  font-size: 0.98em;
  color: #fff;
  background: #2176ae;
  padding: 0.4em 1.1em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}
.page-detail {
  background: #fff;
  padding: 2em 2em 1.5em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(126,160,51,0.08);
}
.page-title {
  color: #7ea033;
}
.page-content {
  color: #3f5566;
  font-size: 1.08em;
  line-height: 1.8;
}

/* Post Detail */
.post-container {
  max-width: 1000px;
  margin: 2em auto;
}
.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2em;
}
.post-breadcrumb {
  font-size: 1em;
  color: #888;
}
.post-breadcrumb a {
  color: #2176ae;
  text-decoration: none;
}
.post-detail {
  background: #fff;
  padding: 2em 2em 1.5em 2em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(126,160,51,0.08);
}
.post-title {
  color: #7ea033;
}
.post-meta {
  color: #888;
  font-size: 0.98em;
  margin-bottom: 1em;
}
.post-content {
  color: #3f5566;
  font-size: 1.08em;
  line-height: 1.8;
}

/* Post List By Category */
.post-list-container {
  max-width: 1000px;
  margin: 2em auto;
}
.post-list-title {
  color: #7ea033;
}
.post-list-date {
  color: #888;
  font-size: 0.95em;
  margin-left: 0.5em;
}

/* Floating Top Button */
.top-btn {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-align: center;
  background: none;
  border: none;
}
.top-btn-circle {
  width: 54px;
  height: 54px;
  background: #2176ae;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(33,118,174,0.13);
  transition: background 0.2s;
}
.top-btn-circle:hover {
  background: #7ea033;
}
.top-btn-arrow {
  color: #fff;
  font-size: 2em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-btn-label {
  margin-top: 2px;
  font-size: 0.95em;
  color: #2176ae;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: #fff;
  border-radius: 8px;
  padding: 0 0.5em;
  box-shadow: 0 1px 4px rgba(33,118,174,0.08);
}
@media (max-width: 700px) {
  .top-btn { right: 12px; bottom: 12px; }
  .top-btn-circle { width: 44px; height: 44px; }
  .top-btn-arrow { font-size: 1.5em; }
  .top-btn-label { font-size: 0.9em; }
}

/* Board List Styles */
.board-filter-bar {
  display: flex;
  gap: 8px;
  margin: 2em auto 1.2em auto;
  max-width: 700px;
  justify-content: flex-start;
}
.board-filter-btn {
  background: #f7f8fa;
  border: none;
  color: #222;
  font-size: 1em;
  font-weight: 500;
  padding: 0.6em 1.5em;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.board-filter-btn.active, .board-filter-btn:hover {
  background: #2176ae;
  color: #fff;
}
.board-list {
  max-width: 700px;
  margin: 0 auto 2em auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(33,118,174,0.06);
  padding: 0.5em 0.5em 0 0.5em;
}
.board-list-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #eaeaea;
  padding: 1.1em 0.7em 0.7em 0.7em;
  gap: 0.2em;
}
.board-list-item:last-child {
  border-bottom: none;
}
.board-list-mainline {
  display: flex;
  align-items: center;
  gap: 0.5em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board-list-category {
  flex-shrink: 0;
}
.board-list-title {
  color: #222;
  font-size: 1.08em;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
  display: inline-block;
  vertical-align: middle;
}
.board-list-title:hover {
  color: #2176ae;
  text-decoration: none;
}
.board-list-meta {
  color: #888;
  font-size: 0.97em;
  display: flex;
  gap: 1.2em;
  margin-top: 0.1em;
}
.board-list-date {
  color: #888;
}
.board-list-author {
  color: #888;
}
.board-list-empty {
  text-align: center;
  color: #888;
  padding: 2em 0;
}
.board-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  margin: 1.5em auto 2em auto;
  font-size: 1.1em;
}
.board-page-link {
  color: #7a8ba3;
  background: none;
  border: none;
  font-size: 1.1em;
  font-weight: 500;
  padding: 0.2em 0.7em;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.board-page-link.active {
  background: #2176ae;
  color: #fff;
  font-weight: 700;
}
.board-page-link.disabled {
  color: #bfc8d6;
  cursor: default;
  background: none;
}
.board-page-link:not(.active):not(.disabled):hover {
  background: #eaf3e0;
  color: #2176ae;
}

.photocollage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.5em 0 1.5em 0;
  justify-content: flex-start;
}
.photocollage-thumb {
  flex: 0 0 calc(25% - 8px);
  max-width: calc(25% - 8px);
  width: 240px;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(33,118,174,0.10);
  cursor: pointer;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.photocollage-thumb:hover {
  box-shadow: 0 4px 16px rgba(33,118,174,0.18);
  transform: scale(1.04);
}
.photocollage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
@media (max-width: 1100px) {
  .photocollage-thumb {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}
@media (max-width: 700px) {
  .photocollage-thumb {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.photocollage-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photocollage-modal-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.photocollage-modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  padding: 2em 2em 1.5em 2em;
  min-width: 320px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.photocollage-modal-image-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}
.photocollage-modal-image-area img {
  max-width: 60vw;
  max-height: 60vh;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(126,160,51,0.10);
}
.photocollage-modal-prev, .photocollage-modal-next {
  background: #7ea033;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5em;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photocollage-modal-prev:hover, .photocollage-modal-next:hover {
  background: #2176ae;
}
.photocollage-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2em;
  color: #004863;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0 0.2em;
  line-height: 1;
  transition: color 0.2s;
}
.photocollage-modal-close:hover {
  color: #7ea033;
}
.photocollage-modal-caption {
  margin-top: 1em;
  color: #3f5566;
  font-size: 1.08em;
  text-align: center;
}
.church-message-bg {
  background:url('/media/uploads/2025/07/05/sungshin_message_bg.png');
  background-position:right bottom;
  background-repeat: no-repeat;
  background-size: 40%;
}
.highlight {
  color: #0000ff;
}
@media (max-width: 1100px) {
  .church-message-bg {
    background-size: 70%;
  }
}

.mobile-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  margin-top: 20px;
}
.mobile-accordion-item {
  background: #eaf3f7;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(33,118,174,0.06);
  overflow: hidden;
}
.mobile-accordion-toggle {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7em;
  font-size: 1.08em;
  font-weight: 500;
  color: #3f5566;
  padding: 1em 1.2em;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-accordion-toggle:active, .mobile-accordion-toggle:focus {
  background: #dbeaf7;
}
.mobile-accordion-arrow {
  margin-left: auto;
}
.mobile-accordion-panel {
  display: none;
  flex-direction: column;
  background: #f7f8fa;
  padding: 0.5em 0.5em 0.7em 2.5em;
}
.mobile-accordion-panel a {
  display: flex;
  align-items: center;
  gap: 0.7em;
  color: #3f5566;
  font-size: 1em;
  padding: 0.7em 0;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-accordion-panel a:hover {
  background: #eaf3f7;
  color: #2176ae;
}
.mobile-accordion-panel i {
  font-size: 1.1em;
  color: #7a8ba3;
}
.mobile-accordion > a {
  background: #eaf3f7;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(33,118,174,0.06);
  display: flex;
  align-items: center;
  gap: 0.7em;
  color: #3f5566;
  font-size: 1.08em;
  font-weight: 500;
  padding: 1em 1.2em;
  margin-bottom: 0.5em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-accordion > a:hover {
  background: #dbeaf7;
  color: #2176ae;
}
.mobile-accordion > a i {
  font-size: 1.2em;
  color: #7a8ba3;
}

.breadcrumb {
  font-size: 1em;
  color: #888;
  margin-bottom: 0.7em;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.breadcrumb a {
  color: #2176ae;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #7ea033;
  text-decoration: underline;
}
.breadcrumb > span, .breadcrumb > .current {
  color: #3f5566;
}
@media (max-width: 700px) {
  .breadcrumb {
    margin-left: 10px;
  }
  .page-detail {
    max-width: 88vw;
    padding: 1em;
    margin: 0 auto;
  }
}
