/* 새소망장로교회 — custom accents on top of Tailwind CDN */

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

.nav-link { position: relative; padding-bottom: 2px; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: #b98a2f; transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }

.mnav { padding: 10px 4px; border-bottom: 1px solid #f1f5f9; }
.mnav:last-child { border-bottom: none; }

.btn-gold {
  display: inline-block; background: #b98a2f; color: #fff;
  padding: 13px 30px; border-radius: 6px; font-weight: 600; font-size: 15px;
  letter-spacing: .02em; transition: background .2s ease, transform .2s ease;
  box-shadow: 0 4px 14px rgba(185,138,47,.35);
}
.btn-gold:hover { background: #a2761f; transform: translateY(-1px); }

.btn-gold-sm {
  background: #b98a2f; color: #fff; padding: 8px 18px; border-radius: 6px;
  font-weight: 600; font-size: 14px; transition: background .2s ease;
}
.btn-gold-sm:hover { background: #a2761f; }

.btn-outline {
  display: inline-block; border: 1px solid rgba(255,255,255,.55); color: #fff;
  padding: 13px 30px; border-radius: 6px; font-weight: 600; font-size: 15px;
  transition: background .2s ease, border-color .2s ease;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.sec-eyebrow {
  color: #b98a2f; font-size: 13px; letter-spacing: .28em; font-weight: 600;
  margin-bottom: 10px;
}
.sec-title {
  font-family: "Noto Serif KR", serif; font-weight: 900; color: #1b3350;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.25;
  position: relative; padding-bottom: 18px;
}
.sec-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px; background: #b98a2f;
}

.sub-title {
  font-family: "Noto Serif KR", serif; font-weight: 700; color: #1b3350;
  font-size: 1.25rem;
}

.card {
  background: #fff; border: 1px solid #e7e2d8; border-radius: 10px;
  box-shadow: 0 1px 3px rgba(27,51,80,.06);
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: 0 10px 28px rgba(27,51,80,.12); transform: translateY(-2px); }

.wrow {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 15px 24px; font-size: 15px;
}
.wrow > span:first-child { font-weight: 600; color: #1b3350; }
.wtime { color: #64748b; font-size: 14.5px; text-align: right; }

.photo-frame {
  border-radius: 10px; overflow: hidden; border: 1px solid #e7e2d8;
  box-shadow: 0 8px 24px rgba(27,51,80,.10);
}

.person img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; object-position: top; border-radius: 10px 10px 0 0; }
.elder img { width: 100%; aspect-ratio: 1/1.1; object-fit: cover; object-position: top; border-radius: 10px 10px 0 0; }
.pname { font-weight: 700; color: #1b3350; font-size: 17px; }
.pen { font-weight: 400; color: #94a3b8; font-size: 13px; margin-left: 4px; }
.prole { color: #b98a2f; font-size: 14px; margin-top: 3px; font-weight: 500; }
.pname-sm { font-weight: 700; color: #1b3350; font-size: 15px; }
.pen-sm { color: #94a3b8; font-size: 12.5px; margin-top: 1px; }

.dept { overflow: hidden; }
.dept > img { width: 100%; height: 200px; object-fit: cover; }
.dept-name {
  font-family: "Noto Serif KR", serif; font-weight: 700; color: #1b3350;
  font-size: 1.15rem; margin-bottom: 8px;
}
.dept-desc { color: #475569; font-size: 14.5px; line-height: 1.75; }
.dept-meta {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid #f1f5f9;
  color: #b98a2f; font-size: 13.5px; font-weight: 500; line-height: 1.7;
}

.course {
  background: #faf7f1; border: 1px solid #e7e2d8; border-left: 3px solid #b98a2f;
  border-radius: 8px; padding: 22px 24px;
}
.course h3 {
  font-family: "Noto Serif KR", serif; font-weight: 700; color: #1b3350;
  font-size: 1.05rem; margin-bottom: 4px;
}
.course h3 span {
  font-family: "Noto Sans KR", sans-serif; font-weight: 500; font-size: 12px;
  color: #b98a2f; background: #f3e8cf; border-radius: 99px; padding: 2px 10px;
  margin-left: 6px; vertical-align: 2px; white-space: nowrap;
}
.course .cby { color: #94a3b8; font-size: 12.5px; margin-bottom: 8px; }
.course p:last-child { color: #475569; font-size: 14px; line-height: 1.7; }

.counter-list { counter-reset: value; }
.counter-list li { counter-increment: value; position: relative; padding-left: 44px; }
.counter-list li::before {
  content: counter(value); position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border: 1px solid rgba(217,178,95,.6);
  border-radius: 50%; color: #d9b25f; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

.gal { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; border: 1px solid #e7e2d8; }
figure figcaption { font-size: 12px; color: #94a3b8; margin-top: 5px; line-height: 1.4; }

.pin {
  flex-shrink: 0; background: #1b3350; color: #fff; font-size: 13px; font-weight: 600;
  border-radius: 6px; padding: 7px 12px; min-width: 60px; text-align: center;
}
