/* =========================================================
   VIETPD BRAND GUIDELINES V1.0 — FRONTEND THEME
   ========================================================= */
:root {
  --vp-orange: #F15A24;
  --vp-charcoal: #242424;
  --vp-teal: #14252D;
  --vp-bg: #FFFDFA;
  --vp-surface: #FFFFFF;
  --vp-border: #EAE6DF;
  --vp-muted: #5C5B57;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: Arial, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--vp-bg);
  color: var(--vp-charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header (Light Background for Full Logo) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 250, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--vp-border);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14.5px; font-weight: 700; color: var(--vp-charcoal); transition: color .15s; }
.nav-links a:hover { color: var(--vp-orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: transform .15s, filter .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-orange { background: var(--vp-orange); color: #fff; }
.btn-teal { background: var(--vp-teal); color: #fff; }
.btn-outline { background: transparent; color: var(--vp-teal); border: 1.5px solid var(--vp-teal); }

/* Diagonal Brand Motif */
.vp-slashes {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
}
.vp-slashes span {
  display: block;
  width: 14px;
  height: 28px;
  background: var(--vp-orange);
  transform: skewX(-22deg);
  border-radius: 2px;
}
.vp-slashes span:last-child { background: var(--vp-teal); opacity: 0.35; }

/* Sections */
.section { padding: 80px 0; }
.section-dark { background: var(--vp-teal); color: #FFFDFA; }
.section-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vp-orange);
  margin-bottom: 12px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; line-height: 1.18; }
.h1-hero { font-size: clamp(32px, 4.8vw, 52px); color: var(--vp-teal); margin-bottom: 18px; }
.h2-title { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 14px; }
.lead { font-size: 17px; color: var(--vp-muted); max-width: 680px; }
.section-dark .lead { color: #cbd5e1; }

/* Grids & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.card {
  background: var(--vp-surface);
  border: 1px solid var(--vp-border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .18s, transform .18s;
}
.card:hover { border-color: var(--vp-orange); transform: translateY(-2px); }
.card-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--vp-orange);
  margin-bottom: 12px;
}

/* Orange Accent Rule */
.vp-rule { width: 64px; height: 5px; background: var(--vp-orange); border-radius: 99px; margin: 18px 0 24px; }

/* Blog & Article */
.post-card {
  background: #fff;
  border: 1px solid var(--vp-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card-img { width: 100%; height: 200px; object-fit: cover; background: var(--vp-teal); }
.post-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-cat { font-size: 12px; font-weight: 700; color: var(--vp-orange); text-transform: uppercase; margin-bottom: 8px; }
.post-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 10px; color: var(--vp-teal); }
.post-card p { font-size: 14px; color: var(--vp-muted); margin-bottom: 16px; flex: 1; }

/* Single Post Prose */
.article-wrap { max-width: 820px; margin: 0 auto; }
.toc-box {
  background: #fff;
  border: 1px solid var(--vp-border);
  border-left: 4px solid var(--vp-orange);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
}
.toc-box h4 { font-family: var(--font-display); font-size: 14px; margin-bottom: 10px; color: var(--vp-teal); }
.toc-box ul { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.toc-box li.toc-h3 { padding-left: 16px; color: var(--vp-muted); }
.toc-box a:hover { color: var(--vp-orange); }

.prose h2 { font-size: 24px; color: var(--vp-teal); margin: 32px 0 12px; }
.prose h3 { font-size: 19px; color: var(--vp-teal); margin: 24px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 10px; margin: 20px auto; }
.vp-callout {
  background: #FFF6F1;
  border-left: 4px solid var(--vp-orange);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 22px 0;
  font-size: 15px;
}

/* Footer (Dark Teal #14252D + VP Orange Icon) */
.site-footer {
  background: var(--vp-teal);
  color: #e2e8f0;
  padding: 60px 0 32px;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-bottom { padding-top: 22px; font-size: 13px; color: #94a3b8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
