@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --primary-light: #40916c;
  --accent: #f4a261;
  --accent-dark: #e76f51;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text: #212529;
  --text-muted: #6c757d;
  --border: #dee2e6;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --financial: #2196f3;
  --healthcare: #4caf50;
  --hobbies: #ff9800;
  --social: #9c27b0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; color: var(--text); background: url('/images/background.jpg') center/cover fixed; line-height: 1.7; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { line-height: 1.3; font-weight: 700; font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; }

/* ── Admin Bar ───────────────────────────────────────────────────────────── */
.admin-bar {
  background: #060e18;
  color: #fff;
  padding: 0.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
}
.admin-bar a { color: #7fb3d0; }
.admin-bar a:hover { color: #fff; }
.admin-bar span { font-weight: 600; color: var(--accent); }

/* ── Header ──────────────────────────────────────────────────────────────── */
header {
  background: #0d1e2d;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-branding { display: flex; flex-direction: column; }
.site-branding-row { display: flex; align-items: center; gap: 0.5rem; }
.site-title-chinese { font-size: 1.1rem; color: #e8c87a; letter-spacing: 0.05em; }
.site-logo { height: 40px; width: auto; display: block; }
.site-title { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.site-title:hover { color: #e8c87a; }
.site-tagline { font-size: 0.78rem; color: #7fb3d0; margin-top: 2px; }
nav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
nav a { color: #b0cde0; padding: 0.35rem 0.65rem; border-radius: 6px; font-size: 0.9rem; transition: all 0.2s; }
nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Main content panel ──────────────────────────────────────────────────── */
main { background: rgba(245, 247, 250, 0.93); }

/* ── Container ───────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; }
.narrow { max-width: 480px; margin: 0 auto; padding: 2rem 1.5rem; }
.narrow-lg { max-width: 820px; margin: 0 auto; padding: 2rem 1.5rem; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('/images/banner.jpg') center/cover no-repeat;
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.hero-inner { max-width: 700px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); margin-bottom: 0.75rem; }
.hero p { font-size: 1.05rem; color: #c8e6c9; margin-bottom: 1.25rem; }
.hero-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { background: transparent; border: 2px solid rgba(255,255,255,0.75); color: #fff; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1.4rem; border-radius: 6px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-danger { background: #dc3545; color: #fff; border-color: #dc3545; }
.btn-danger:hover { background: #bb2d3b; border-color: #bb2d3b; color: #fff; }
.btn-sm { padding: 0.3rem 0.8rem; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }
.hero .btn-primary { background: var(--accent); font-size: 1.05rem; padding: 0.75rem 2rem; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.badge.active { outline: 2px solid currentColor; }
.badge-financial { background: #e3f2fd; color: var(--financial); }
.badge-healthcare { background: #e8f5e9; color: #2e7d32; }
.badge-hobbies { background: #fff3e0; color: #e65100; }
.badge-social { background: #f3e5f5; color: #6a1b9a; }

/* ── Section Headers ─────────────────────────────────────────────────────── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem; }
.section-header h2 { font-size: 1.4rem; }
.section-header h1 { font-size: 1.8rem; }

/* ── Topics Grid ─────────────────────────────────────────────────────────── */
.topics-section { margin-top: 3rem; }
.topics-section > h2 { text-align: center; font-size: 1.8rem; margin-bottom: 2rem; }
.topics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }

.topic-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  text-decoration: none;
  color: var(--text);
  border-top: 4px solid transparent;
}
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.topic-icon { font-size: 2.8rem; margin-bottom: 0.75rem; }
.topic-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.topic-card p { font-size: 0.9rem; color: var(--text-muted); }

.topic-financial { border-top-color: var(--financial); }
.topic-financial:hover { background: #e3f2fd; }
.topic-healthcare { border-top-color: var(--healthcare); }
.topic-healthcare:hover { background: #e8f5e9; }
.topic-hobbies { border-top-color: var(--hobbies); }
.topic-hobbies:hover { background: #fff3e0; }
.topic-social { border-top-color: var(--social); }
.topic-social:hover { background: #f3e5f5; }

/* ── Topic Hero ──────────────────────────────────────────────────────────── */
.topic-hero { padding: 3rem 1.5rem; color: #fff; text-align: center; background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('/images/banner.jpg') center/cover no-repeat; }
.topic-hero h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.topic-hero-logo { width: 3rem; height: 3rem; object-fit: contain; }
.topic-breadcrumb { font-size: 0.9rem; opacity: 0.85; margin-bottom: 0.5rem; }
.topic-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.topic-hero-financial, .topic-hero-healthcare, .topic-hero-hobbies, .topic-hero-social { background: url('/images/banner.jpg') center/cover no-repeat; }

/* ── Two-col layout ──────────────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; margin-top: 1rem; }
.two-col aside h3 { font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ── Posts Grid ──────────────────────────────────────────────────────────── */
.recent-posts { padding-top: 3rem; padding-bottom: 3rem; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.posts-grid-1 { grid-template-columns: 1fr; }

/* ── Blog title list (Blogs & Articles page) ────────────────────────────── */
.blog-categories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.blog-category-section { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.5rem; }
.blog-category-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.view-all-link { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.view-all-link:hover { color: var(--primary); }
.no-videos-msg { font-size: 0.88rem; color: var(--text-muted); padding: 0.5rem 0; }
.blog-title-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.blog-title-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.blog-title-list li:last-child { border-bottom: none; }
.blog-list-title { flex: 1; font-size: 0.95rem; font-weight: 600; color: var(--text); transition: color 0.15s; }
.blog-list-title:hover { color: var(--primary); }
.blog-list-date { flex-shrink: 0; font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }

/* ── Posts List (home page horizontal row layout) ────────────────────────── */
.posts-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.posts-list .card { flex-direction: row; align-items: flex-start; gap: 1.5rem; padding: 0.9rem 1.25rem; }
.posts-list .card .card-meta { flex-shrink: 0; width: 170px; flex-direction: column; gap: 0.35rem; align-items: flex-start; }
.card-topic-icon { width: 2.5rem; height: 2.5rem; object-fit: contain; display: block; }
.posts-list .card .card-body { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.posts-list .card .card-body h3 { font-size: 1rem; }
.posts-list .card .card-body p { font-size: 0.87rem; }

/* ── Card ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.date { font-size: 0.82rem; color: var(--text-muted); }
.card h3 { font-size: 1.1rem; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary); }
.card p { font-size: 0.9rem; color: var(--text-muted); flex-grow: 1; }
.read-more { font-size: 0.88rem; font-weight: 600; color: var(--primary); align-self: flex-start; }
.read-more:hover { color: var(--primary-dark); }

/* ── Filter Bar ──────────────────────────────────────────────────────────── */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* ── Post ────────────────────────────────────────────────────────────────── */
.post-container { max-width: 860px; }
.post-header { margin-bottom: 1.5rem; }
.post-header h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0.75rem 0; }
.featured-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.post-body { font-size: 1.05rem; line-height: 1.8; }
.post-body h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; color: var(--primary-dark); }
.post-body h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; color: var(--primary); }
.post-body p { margin-bottom: 1.1rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body a { text-decoration: underline; }

.page-content { font-size: 1.02rem; line-height: 1.8; }
.page-content h2 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--primary-dark); }
.page-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; color: var(--primary); }
.page-content p { margin-bottom: 1rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: 0.4rem; }

.admin-actions { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }

/* ── Comments ────────────────────────────────────────────────────────────── */
.comments-section { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--border); }
.comments-section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.comments-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.comment { background: var(--surface); padding: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--primary-light); }
.comment-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.comment-meta strong { color: var(--text); }
.comment p { font-size: 0.95rem; }
.no-comments { color: var(--text-muted); font-style: italic; }

.comment-form-wrap { background: var(--surface); padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.comment-form-wrap h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.comment-form-wrap .note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group label { font-weight: 600; font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

input[type=text], input[type=email], input[type=password], select, textarea {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.15);
}
textarea { resize: vertical; }
.form-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.required { color: #dc3545; }
.note { font-size: 0.82rem; color: var(--text-muted); font-weight: normal; }

/* ── Editor Toolbar ──────────────────────────────────────────────────────── */
.editor-toolbar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 6px 8px;
  background: #f0f4f2;
  border: 1.5px solid var(--border);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}
.editor-toolbar button {
  padding: 4px 10px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.editor-toolbar button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.editor-toolbar + textarea { border-radius: 0 0 6px 6px; font-family: 'Consolas', monospace; font-size: 0.9rem; }

/* ── Auth Card ───────────────────────────────────────────────────────────── */
.auth-card { background: var(--surface); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-top: 3rem; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 1.5rem; }

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.alert { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.95rem; }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* ── Admin ───────────────────────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.stat-card { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-card div:last-child { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }

.admin-section { background: var(--surface); padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 2rem; }
.admin-section .section-header { margin-bottom: 1.25rem; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th { text-align: left; padding: 0.6rem 0.75rem; background: var(--bg); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.admin-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg); }

.status-pub { color: #16a34a; font-weight: 700; font-size: 0.82rem; }
.status-draft { color: var(--text-muted); font-weight: 700; font-size: 0.82rem; }

.topics-grid-admin { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-top: 1rem; }
.topic-admin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: 8px;
  border: 2px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.2s;
  text-decoration: none;
}
.topic-admin-card span:first-child { font-size: 1.8rem; }
.topic-admin-card:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.admin-form { background: var(--surface); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Subtopics ───────────────────────────────────────────────────────────── */
.subtopics-section { margin-bottom: 2rem; }
.subtopics-section h3, .posts-section h3 { font-size: 1.1rem; margin-bottom: 0.75rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--border); }
.subtopics-grid { display: flex; flex-direction: column; gap: 0.5rem; }
.subtopic-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  background: var(--bg);
  border-radius: 6px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}
.subtopic-card:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.subtopic-title { font-weight: 600; font-size: 0.92rem; }
.subtopic-count { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }
.subtopic-card:hover .subtopic-count { color: rgba(255,255,255,0.8); }

/* ── Sidebar Recent Posts ─────────────────────────────────────────────────── */
.sidebar-recent { list-style: none; display: flex; flex-direction: column; gap: 0; }
.sidebar-recent li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.sidebar-recent li:last-child { border-bottom: none; }
.sidebar-recent a { font-size: 0.92rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.archive-count { font-size: 0.82rem; color: var(--text-muted); margin-left: 0.35rem; }
.sidebar-recent a:hover { color: var(--primary); }
.sidebar-recent .date { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── About SongYah ───────────────────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, #0d1e2d 0%, #1b4332 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: #fff;
}
.about-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  letter-spacing: 0.03em;
  color: #e8c87a;
}
.about-container { max-width: 760px; }
.about-content { padding: 2.5rem 0; }
.about-pfp-wrap { display: flex; justify-content: center; margin-bottom: 2rem; }
.about-pfp { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; border: 4px solid var(--accent); }
.about-lead {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary-dark);
  border-left: 4px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.about-intro { color: var(--text-muted); font-size: 1rem; margin-bottom: 0.5rem; }
.about-section { background: var(--surface); border-radius: var(--radius); padding: 1.75rem 2rem; margin: 1.5rem 0; box-shadow: var(--shadow); }
.about-section h2 { font-size: 1.6rem; margin-bottom: 0.75rem; font-style: italic; }
.about-pine { color: var(--primary-dark); }
.about-elegance { color: var(--accent-dark); }
.about-section p { color: var(--text); line-height: 1.9; }
.about-divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.about-content > p { margin-bottom: 1.1rem; line-height: 1.9; color: var(--text); }
.about-quote {
  border-left: 4px solid var(--primary);
  background: #f0f7f3;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 2rem;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary-dark);
  line-height: 1.8;
}

/* ── Contact Business Card ───────────────────────────────────────────────── */
.contact-bg {
  min-height: calc(100vh - 120px);
  background: url('/images/contact_page.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.biz-cards-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 900px;
}
.biz-card {
  background: rgba(10, 21, 16, 0.88);
  border: 1px solid rgba(232, 200, 122, 0.35);
  border-radius: 16px;
  flex: 1 1 340px;
  max-width: 420px;
  padding: 2.5rem 2.25rem 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
}
.biz-card-top { text-align: center; margin-bottom: 1.25rem; }
.biz-logo { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 1rem; }
.biz-tagline {
  color: #e8c87a;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}
.biz-divider { border: none; border-top: 1px solid rgba(232,200,122,0.3); margin: 1.25rem 0; }
.biz-card-body {}
.biz-name-block { margin-bottom: 1.25rem; }
.biz-name { display: block; font-size: 1.4rem; font-weight: 700; color: #ffffff; letter-spacing: 0.02em; }
.biz-role { display: block; font-size: 0.82rem; color: #e8c87a; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.2rem; }
.biz-info { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.biz-info li { display: flex; align-items: baseline; gap: 0.75rem; }
.biz-label { font-size: 0.75rem; color: #9ec4a8; text-transform: uppercase; letter-spacing: 0.08em; min-width: 58px; flex-shrink: 0; }
.biz-value { font-size: 0.95rem; color: #e8e8e8; }
.biz-value a { color: #e8e8e8; text-decoration: none; }
.biz-value a:hover { color: #e8c87a; }
.biz-socials { margin-top: 1.5rem; display: flex; gap: 1rem; }
.biz-social-link { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: #e8e8e8; font-size: 0.9rem; padding: 0.45rem 0.85rem; border: 1px solid rgba(232,200,122,0.3); border-radius: 6px; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.biz-social-link:hover { border-color: #e8c87a; color: #e8c87a; background: rgba(232,200,122,0.07); }
.biz-social-icon { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }

/* ── Archives Sidebar ────────────────────────────────────────────────────── */
.archives-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.archives-header h3 { margin-bottom: 0; }
.archives-buttons { display: flex; gap: 0.4rem; flex-shrink: 0; }
.archives-search { margin-bottom: 0.75rem; }
.search-input { width: 100%; padding: 0.5rem 0.75rem; border: 1.5px solid var(--border); border-radius: 6px; font-size: 0.9rem; font-family: 'Playfair Display', Georgia, serif; background: #fff; transition: border-color 0.2s; }
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,106,79,0.15); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer { background: #0a1510; color: #9ec4a8; padding: 1.5rem 1.5rem; margin-top: 1rem; text-align: center; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.4rem; }
footer p { font-size: 0.9rem; }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; width: 100%; font-size: 0.9rem; }
.footer-copy { text-align: left; }
.footer-quote { text-align: center; }
.footer-categories { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; padding-bottom: 1.25rem; margin-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-cat { color: #9ec4a8; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.footer-cat:hover { color: #d4eeda; }
.footer-cat span { font-weight: 400; opacity: 0.65; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  nav { gap: 0.1rem; }
  nav a { font-size: 0.82rem; padding: 0.3rem 0.5rem; }
  .hero { padding: 3rem 1.25rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .posts-list .card { flex-direction: column; gap: 0.5rem; }
  .posts-list .card .card-meta { width: auto; flex-direction: row; flex-wrap: wrap; }
  .blog-categories-grid { grid-template-columns: 1fr; }
}

/* ── Print ───────────────────────────────────────────────────────────────── */
@media print {
  header, footer, .admin-bar, nav, .comment-form-wrap, .admin-actions { display: none; }
  body { background: #fff; }
}
