/* 웨딩로드 — wedding-sites 공용 베이스 + 사이트 테마 */
:root {
  --accent: #0b7285;
  --accent-dark: #095c6b;
  --ink: #212529; --ink-soft: #495057; --ink-faint: #868e96;
  --line: #e9ecef; --bg: #ffffff; --bg-soft: #f8f9fa;
  --badge-live: #0ca678; --radius: 20px;
  --hot-bg: #f08c00; --hot-fg: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
  "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.site-header { position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.logo em { color: var(--accent); font-style: normal; }
.header-cta { background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.header-cta:active { background: var(--accent-dark); }
.region-nav { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px;
  max-width: 1080px; margin: 0 auto; -ms-overflow-style: none; scrollbar-width: none; }
.region-nav::-webkit-scrollbar { display: none; }
.region-nav a { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.region-nav a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

.hero { padding: 36px 0 10px; text-align: center; }
.hero h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.hero .sub { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.hero .stamp { margin-top: 6px; color: var(--ink-faint); font-size: 13px; }
.hero .stamp strong { color: var(--accent); font-weight: 700; }

.section { padding: 26px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.section-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.section-head .more { font-size: 14px; font-weight: 600; color: var(--accent); }
.section-head .count { font-size: 14px; color: var(--ink-faint); font-weight: 500; margin-left: 6px; }
.intro-text { color: var(--ink-soft); font-size: 15px; }
.intro-text a { color: var(--accent); font-weight: 700; }
.empty-note { color: var(--ink-faint); padding: 20px 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: box-shadow .15s, transform .15s; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.09); transform: translateY(-2px); }
.poster { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.dday { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.dday.live { background: var(--badge-live); }
.dday.today { background: #f08c00; }
.hot { position: absolute; top: 10px; right: 10px; background: var(--hot-bg); color: var(--hot-fg);
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.hot-inline { display: inline-block; margin-left: 8px; background: var(--hot-bg); color: var(--hot-fg);
  font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }
.card-body .date { margin-top: 6px; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.card-body .addr { margin-top: 3px; font-size: 13px; color: var(--ink-faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn { margin-top: 12px; display: block; text-align: center; background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 700; padding: 12px 0; border-radius: 10px; }
.card .btn { margin-top: auto; }
.card-body .btn { margin-top: 12px; }
.btn:active { background: var(--accent-dark); }

.trows { border-top: 2px solid var(--ink); }
.trow { display: flex; align-items: center; gap: 14px; padding: 12px 4px;
  border-bottom: 1px solid var(--line); }
.trow:hover { background: var(--bg-soft); }
.trow img { flex: 0 0 96px; width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.trow-main { flex: 1; min-width: 0; }
.trow-main .r-date { font-weight: 800; font-size: 13px; color: var(--accent); }
.trow-main h3 { font-size: 15px; font-weight: 700; line-height: 1.35; margin-top: 2px; }
.trow-main p { font-size: 13px; color: var(--ink-faint); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.trow .r-btn { flex: 0 0 auto; background: var(--accent); color: #fff; font-size: 13px;
  font-weight: 700; padding: 9px 14px; border-radius: 8px; white-space: nowrap; }

.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  margin-bottom: 10px; background: #fff; }
.faq summary { font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; }
.faq summary::before { content: "Q. "; color: var(--accent); font-weight: 800; }
.faq details p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

.article { max-width: 720px; margin: 0 auto; padding: 36px 16px 48px; }
.article h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.35; }
.article .meta { margin: 10px 0 24px; color: var(--ink-faint); font-size: 13px; }
.article h2 { font-size: 20px; font-weight: 800; margin: 32px 0 10px; }
.article p, .article li { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 10px; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 14px; }
.article .tip { background: var(--bg-soft); border-left: 4px solid var(--accent);
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; }
.article .tip p { margin: 0; }
.article img { border-radius: 12px; }

.post-item { display: block; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 12px; }
.post-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.post-item h3 { font-size: 17px; font-weight: 700; }
.post-item p { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.post-item .post-date { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-faint); }

.rel-list { list-style: none; padding: 0 !important; }
.rel-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rel-list a { color: var(--accent); font-weight: 700; }
.rel-date { color: var(--ink-faint); font-size: 13px; margin-left: 8px; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); display: none; }
.sticky-cta .btn { margin: 0; font-size: 16px; padding: 14px 0; }
@media (max-width: 640px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
  .hero h1 { font-size: 22px; }
}

.site-footer { margin-top: 48px; padding: 28px 0 40px; background: var(--bg-soft);
  border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.site-footer .links a { font-weight: 600; color: var(--ink-soft); }
.site-footer p { margin-bottom: 6px; }
