/* 50th.css — 진흥창립50주년 기념감사예배 모바일 순서지 */

.p-jh50 {
  --jh50-navy: #062140;
  --jh50-navy-2: #0a315d;
  --jh50-gold: #cfa15a;
  --jh50-gold-2: #f0d79b;
  --jh50-ink: #121827;
  --jh50-muted: #667085;
  --jh50-line: rgba(18, 24, 39, .10);
  --jh50-soft: #f6f7fb;
  color: var(--jh50-ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(207, 161, 90, .16), transparent 32%),
    linear-gradient(180deg, #f9fafc 0%, #fff 20%, #f5f7fb 100%);
  padding: 12px 14px 34px;
}

.p-jh50 * { box-sizing: border-box; }

.jh50-kicker {
  margin: 0 0 8px;
  color: var(--jh50-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.jh50-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 30px;
  background: var(--jh50-navy);
  color: #fff;
  box-shadow: 0 22px 55px rgba(6, 33, 64, .28);
}

.jh50-hero::before,
.jh50-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -80px -80px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(207,161,90,.28), transparent 70%);
  pointer-events: none;
}

.jh50-hero::after {
  inset: -90px -80px auto auto;
  background: radial-gradient(circle, rgba(73,142,220,.32), transparent 70%);
}

.jh50-hero__visual {
  height: 182px;
  overflow: hidden;
  background: #0b2b52;
}

.jh50-hero__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: .96;
}

.jh50-hero__body {
  position: relative;
  z-index: 1;
  padding: 25px 22px 24px;
}

.jh50-hero h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', 'Nanum Myeongjo', 'Batang', serif;
  font-size: clamp(36px, 10vw, 54px);
  line-height: 1.07;
  letter-spacing: -.07em;
}

.jh50-hero__lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.68;
  color: rgba(255,255,255,.84);
  word-break: keep-all;
}

.jh50-hero__lead b {
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}

.jh50-meta {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.jh50-meta div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 13px;
  border: 1px solid rgba(240, 215, 155, .22);
  border-radius: 17px;
  background: rgba(255,255,255,.07);
}

.jh50-meta dt {
  color: var(--jh50-gold-2);
  font-size: 12px;
  font-weight: 900;
}

.jh50-meta dd {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  word-break: keep-all;
}


.jh50-venue-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 215, 155, .58);
}

.jh50-venue-link::after {
  content: "지도";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  color: #10213a;
  background: var(--jh50-gold-2);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.jh50-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.jh50-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

.jh50-btn--primary {
  color: #111827;
  background: linear-gradient(135deg, #f7df9a, #cfa15a);
  box-shadow: 0 12px 26px rgba(207,161,90,.30);
}

.jh50-btn--light {
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
}

.jh50-anchor {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top));
  z-index: 20;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 12px -14px 0;
  padding: 10px 14px;
  background: rgba(248,250,252,.88);
  border-bottom: 1px solid rgba(18,24,39,.06);
  backdrop-filter: blur(13px);
}

.jh50-anchor::-webkit-scrollbar { display: none; }

.jh50-anchor a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: #1f2937;
  background: #fff;
  border: 1px solid rgba(18,24,39,.08);
  box-shadow: 0 5px 16px rgba(18,24,39,.05);
  font-size: 12.5px;
  font-weight: 900;
  text-decoration: none;
}

.jh50-section {
  margin-top: 18px;
  padding: 20px 16px;
  border: 1px solid var(--jh50-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 24, 39, .06);
}

.jh50-section__head {
  margin-bottom: 16px;
}

.jh50-section__head h2 {
  margin: 0;
  color: var(--jh50-ink);
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: -.06em;
}

.jh50-section__head p:not(.jh50-kicker) {
  margin: 9px 0 0;
  color: var(--jh50-muted);
  font-size: 13.5px;
  line-height: 1.65;
  word-break: keep-all;
}

.jh50-section__head span {
  display: block;
  margin-top: 2px;
  color: #98a2b3;
  font-size: 12px;
}

.jh50-program-card,
.jh50-stage-card,
.jh50-word-card,
.jh50-greeting-card,
.jh50-shop-card {
  border: 1px solid var(--jh50-line);
  border-radius: 22px;
  background: #fff;
}

.jh50-program-card {
  overflow: hidden;
}

.jh50-program-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--jh50-navy), var(--jh50-navy-2));
}

.jh50-program-card__head b {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.jh50-program-card__head span {
  flex: 0 0 auto;
  color: var(--jh50-gold-2);
  font-size: 11px;
  font-weight: 900;
}

.jh50-order-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.jh50-order-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(18,24,39,.06);
}

.jh50-order-list li:last-child { border-bottom: 0; }

.jh50-order-list__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  color: var(--jh50-gold);
  background: #fff7e7;
  font-size: 12px;
  font-weight: 950;
}

.jh50-order-list__body strong {
  display: block;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.jh50-order-list__body small {
  display: block;
  margin-top: 3px;
  color: var(--jh50-muted);
  font-size: 12px;
  line-height: 1.35;
  word-break: keep-all;
}

.jh50-order-list em {
  color: #374151;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.jh50-stage-card {
  margin-top: 12px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #fffaf0, #fff);
}

.jh50-stage-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.05em;
}

.jh50-stage-card p {
  margin: 8px 0 0;
  color: var(--jh50-muted);
  font-size: 13px;
}

.jh50-stage-card strong,
.jh50-stage-card span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 900;
}

.jh50-stage-card span {
  color: var(--jh50-gold);
}

.jh50-word-card {
  padding: 18px 16px;
  background: linear-gradient(150deg, #0a315d, #061d37);
  color: #fff;
  border: 0;
}

.jh50-word-card p {
  margin: 0;
  font-family: 'Nanum Myeongjo', 'Batang', serif;
  font-size: 17px;
  line-height: 1.82;
  letter-spacing: -.04em;
  word-break: keep-all;
}

.jh50-word-card strong {
  display: block;
  margin-top: 12px;
  color: var(--jh50-gold-2);
  font-size: 13px;
  text-align: right;
}

.jh50-details {
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid var(--jh50-line);
  border-radius: 20px;
  background: #fff;
}

.jh50-details summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 14px 15px;
  cursor: pointer;
  list-style: none;
}

.jh50-details summary::-webkit-details-marker { display: none; }

.jh50-details summary::after {
  content: "expand_more";
  font-family: 'Material Symbols Outlined';
  color: #9ca3af;
  font-size: 24px;
  transition: transform .18s ease;
}

.jh50-details[open] summary::after { transform: rotate(180deg); }

.jh50-details summary span,
.jh50-details summary b {
  grid-column: 1;
  min-width: 0;
}

.jh50-details summary span {
  color: var(--jh50-gold);
  font-size: 11.5px;
  font-weight: 900;
}

.jh50-details summary b {
  margin-top: 3px;
  color: var(--jh50-ink);
  font-size: 15px;
  letter-spacing: -.04em;
}

.jh50-details__body {
  padding: 0 15px 16px;
  color: #374151;
  font-size: 14px;
  line-height: 1.78;
  word-break: keep-all;
}

.jh50-details__body p {
  margin: 0;
}

.jh50-hymn p + p { margin-top: 8px; }

.jh50-greeting-card {
  padding: 18px 16px;
  background:
    linear-gradient(180deg, rgba(255,250,240,.88), #fff),
    #fff;
}

.jh50-greeting-card p {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.78;
  word-break: keep-all;
}

.jh50-greeting-card p + p { margin-top: 14px; }

.jh50-sign {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(18,24,39,.08);
  text-align: right;
}

.jh50-sign span,
.jh50-sign b {
  display: block;
}

.jh50-sign span {
  color: var(--jh50-muted);
  font-size: 12px;
}

.jh50-sign b {
  margin-top: 5px;
  color: var(--jh50-ink);
  font-size: 13px;
  font-weight: 900;
}

.jh50-history-img {
  margin: 0;
}

.jh50-scroll-figure {
  overflow: hidden;
  border: 1px solid rgba(207, 161, 90, .28);
  border-radius: 22px;
  background: #f3f5f8;
}

.jh50-scroll-image {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  background:
    linear-gradient(90deg, rgba(6,33,64,.08), transparent 38px) left center / 60px 100% no-repeat,
    linear-gradient(270deg, rgba(6,33,64,.08), transparent 38px) right center / 60px 100% no-repeat,
    #f6f7fb;
}

.jh50-scroll-image:focus {
  outline: 2px solid rgba(207, 161, 90, .75);
  outline-offset: -2px;
}

.jh50-scroll-image a {
  display: block;
  width: max-content;
  min-width: 100%;
}

.jh50-scroll-image img {
  display: block;
  width: 1280px;
  max-width: none;
  height: auto;
}

.jh50-history-img figcaption,
.jh50-image-help {
  margin: 0;
  padding: 11px 12px 13px;
  color: var(--jh50-muted);
  font-size: 12px;
  text-align: center;
  background: #fff;
}

.jh50-original .jh50-details__body {
  padding: 0;
  background: #f6f7fb;
}

.jh50-mobile__banner img,
.jh50-phone-card img {
  width: 100%;
  display: block;
}

.jh50-mobile {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(207,161,90,.20), transparent 30%),
    #fff;
}

.jh50-mobile__banner {
  overflow: hidden;
  margin: -20px -16px 18px;
  background: var(--jh50-navy);
}

.jh50-mobile__banner img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.jh50-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.jh50-phone-card {
  overflow: hidden;
  border: 1px solid var(--jh50-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18,24,39,.05);
}

.jh50-phone-card img {
  height: 210px;
  object-fit: cover;
  object-position: top center;
  background: #f3f5f8;
}

.jh50-phone-card strong,
.jh50-phone-card span {
  display: block;
  padding-inline: 12px;
}

.jh50-phone-card strong {
  padding-top: 12px;
  color: var(--jh50-ink);
  font-size: 14px;
  font-weight: 950;
}

.jh50-phone-card span {
  padding-top: 4px;
  padding-bottom: 13px;
  color: var(--jh50-muted);
  font-size: 12px;
  line-height: 1.4;
}

.jh50-shop-card {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 18px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--jh50-navy), var(--jh50-navy-2));
  border: 0;
}

.jh50-shop-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.05em;
  word-break: keep-all;
}

@media (max-width: 360px) {
  .jh50-order-list li {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .jh50-order-list em {
    grid-column: 2;
    text-align: left;
  }
  .jh50-phone-card img { height: 180px; }
}

@media (min-width: 560px) {
  .p-jh50 { padding-inline: 26px; }
  .jh50-hero { min-height: 500px; }
  .jh50-hero__visual { height: 230px; }
  .jh50-section { padding: 24px; }
  .jh50-mobile__banner { margin: -24px -24px 20px; }
  .jh50-mobile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jh50-phone-card img { height: 260px; }
  .jh50-shop-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
