/* ===== SHARED PAGES STYLES ===== */

/* PAGE CONTAINER */
.page-main {
  flex: 1; width: 100%; max-width: 1024px;
  margin: 0 auto; padding: 2.5rem 1rem 4rem;
}
@media (min-width: 640px) { .page-main { padding: 3.5rem 1.5rem 5rem; } }

/* PAGE HERO */
.page-hero { margin-bottom: 2.5rem; max-width: 42rem; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 0.75rem;
}
.page-hero p { font-size: 1rem; color: var(--muted-fg); line-height: 1.7; }
.page-hero .badge {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary); background: var(--primary-10);
  padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 1rem;
}

/* CONTENT SECTIONS */
.content-section { margin-bottom: 2.5rem; }
.content-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 500; margin-bottom: 0.75rem;
}
.content-section h3 {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; margin-top: 1.5rem;
}
.content-section p {
  color: var(--muted-fg); line-height: 1.75; margin-bottom: 1rem; font-size: 0.925rem;
}
.content-section ul, .content-section ol {
  color: var(--muted-fg); padding-left: 1.5rem; margin-bottom: 1rem;
  line-height: 1.75; font-size: 0.925rem;
}
.content-section li { margin-bottom: 0.35rem; }
.content-section a { color: var(--primary); text-decoration: underline; }
.content-section a:hover { opacity: 0.8; }

/* LAST UPDATED */
.last-updated {
  font-size: 0.8rem; color: var(--muted-fg); margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}

/* ABOUT - VALUE CARDS */
.values-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin: 1.5rem 0;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.value-card .v-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.6rem;
  background: var(--primary-10); display: flex; align-items: center;
  justify-content: center; color: var(--primary); margin-bottom: 0.75rem;
}
.value-card .v-icon svg { width: 1.2rem; height: 1.2rem; }
.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 500; margin: 0 0 0.4rem; color: var(--fg);
}
.value-card p { color: var(--muted-fg); font-size: 0.85rem; line-height: 1.6; margin: 0; }

/* ABOUT - STATS */
.stats-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 1.25rem; text-align: center;
}
.stat-card .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--primary); display: block;
}
.stat-card .stat-label { font-size: 0.8rem; color: var(--muted-fg); }

/* BLOG GRID */
.blog-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 0.75rem; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card .blog-thumb {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--muted); display: flex; align-items: center;
  justify-content: center; color: var(--primary); font-size: 2.5rem;
}
.blog-card .blog-thumb svg { width: 3rem; height: 3rem; opacity: 0.3; }
.blog-card .blog-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .blog-meta {
  font-size: 0.7rem; color: var(--muted-fg); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.blog-card .blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 500; line-height: 1.35; margin-bottom: 0.5rem;
}
.blog-card .blog-excerpt {
  font-size: 0.85rem; color: var(--muted-fg); line-height: 1.55; flex: 1;
}
.blog-card .blog-read {
  font-size: 0.8rem; color: var(--primary); font-weight: 600;
  margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.3rem;
}
.blog-card .blog-read svg { width: 0.85rem; height: 0.85rem; }

/* BLOG DETAIL */
.blog-detail-hero { margin-bottom: 2rem; }
.blog-detail-hero .blog-meta {
  font-size: 0.75rem; color: var(--muted-fg); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.75rem;
}
.blog-detail-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 500;
  line-height: 1.2; margin-bottom: 0.75rem;
}
.blog-detail-hero p { color: var(--muted-fg); font-size: 1.05rem; line-height: 1.65; }
.blog-detail-img {
  width: 100%; aspect-ratio: 2/1; background: var(--muted);
  border-radius: 0.75rem; margin-bottom: 2rem; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.blog-detail-img svg { width: 4rem; height: 4rem; color: var(--primary); opacity: 0.2; }

.article-content { max-width: 48rem; }
.article-content p {
  color: var(--muted-fg); line-height: 1.8; margin-bottom: 1.25rem; font-size: 0.95rem;
}
.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 500; margin: 2rem 0 0.75rem; color: var(--fg);
}
.article-content ul {
  color: var(--muted-fg); padding-left: 1.5rem; margin-bottom: 1.25rem;
  line-height: 1.8; font-size: 0.95rem;
}
.article-content li { margin-bottom: 0.4rem; }
.article-content blockquote {
  border-left: 3px solid var(--primary); padding: 1rem 1.25rem;
  background: var(--primary-10); border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0; font-style: italic; color: var(--fg); font-size: 0.95rem;
}

/* BACK LINK */
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: var(--primary); text-decoration: none;
  font-weight: 500; margin-bottom: 1.5rem; transition: opacity 0.15s;
}
.back-link:hover { opacity: 0.7; }
.back-link svg { width: 1rem; height: 1rem; }

/* RELATED POSTS */
.related-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 500; margin-bottom: 1.25rem;
}

/* NAV BREADCRUMB */
.breadcrumb {
  font-size: 0.8rem; color: var(--muted-fg); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
