/* Wedding 醬 Guides 共用樣式 */
:root {
  --ivory-50: #fafaf8;
  --ivory-100: #f5f5f0;
  --ivory-200: #e8e6dc;
  --bronze: #8b7355;
  --bronze-light: #a68968;
  --bronze-dark: #6b5744;
  --text-primary: #2d2925;
  --text-secondary: #5a544e;
  --text-tertiary: #8b857d;
  --gold: #d4af37;
  --rose: #c2185b;
  --morandi-blue: #627d98;
  --morandi-blue-dark: #486581;
  --green: #5fb878;
  --green-dark: #2d8b4e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans TC', sans-serif;
  background: linear-gradient(135deg, #faf9f7 0%, #f5f2ed 50%, #fff8f0 100%);
  color: var(--text-primary);
  min-height: 100vh;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ivory-200);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--bronze-dark);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}
.header-nav a:hover { color: var(--bronze); }

/* Main container */
.guide-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--bronze); text-decoration: underline; }
.breadcrumb span.sep { margin: 0 8px; }

.guide-category {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}
.guide-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}
.guide-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}
.guide-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 40px;
}

/* Content typography */
.guide-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.guide-content h2 {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  margin-top: 44px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(139, 115, 85, 0.15);
}
.guide-content h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
}
.guide-content p { margin-bottom: 18px; }
.guide-content ul,
.guide-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
}
.guide-content li { margin-bottom: 7px; }
.guide-content strong { color: var(--text-primary); font-weight: 600; }
.guide-content a {
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.guide-content blockquote {
  border-left: 3px solid var(--bronze-light);
  padding: 4px 0 4px 16px;
  margin: 20px 0;
  color: var(--text-tertiary);
  font-style: italic;
}
.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.guide-content th,
.guide-content td {
  border: 1px solid rgba(139, 115, 85, 0.15);
  padding: 10px 13px;
  text-align: left;
}
.guide-content th {
  background: rgba(139, 115, 85, 0.08);
  color: var(--text-primary);
  font-weight: 600;
}

/* Wedding flow CTA (cross-site) */
.flow-cta {
  margin-top: 56px;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139,115,85,0.06), rgba(212,175,55,0.04));
  border: 1px solid rgba(139, 115, 85, 0.15);
}
.flow-cta h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.flow-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}
.flow-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 640px) { .flow-cards { grid-template-columns: 1fr; } }
.flow-cards a {
  display: block;
  padding: 16px;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.flow-cards a:hover { background: #fff; }
.flow-cards .flow-name { font-weight: 600; margin-bottom: 4px; font-size: 15px; }
.flow-cards .flow-desc { font-size: 12px; color: var(--text-tertiary); }
.flow-invite .flow-name { color: var(--morandi-blue-dark); }
.flow-card .flow-name { color: var(--rose); }
.flow-game .flow-name { color: var(--green-dark); }

/* Back to guides */
.back-to-guides {
  margin-top: 40px;
  text-align: center;
}
.back-to-guides a {
  color: var(--bronze);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.back-to-guides a:hover { text-decoration: underline; }

/* Guides index */
.guides-index-header {
  text-align: center;
  margin-bottom: 56px;
}
.guides-index-header .label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}
.guides-index-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.guides-index-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) { .guides-grid { grid-template-columns: 1fr; } }

.guide-card {
  display: block;
  padding: 24px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(232, 230, 220, 0.8);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.guide-card .cat {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}
.guide-card h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 10px;
}
.guide-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}
.guide-card .link {
  color: var(--bronze);
  font-size: 14px;
  font-weight: 500;
}
