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

:root {
  --navy: #0a1628;
  --navy-light: #132240;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --text: #2c3e50;
  --text-light: #5a6a7a;
  --bg: #f4f6f9;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sarabun", "Noto Sans Thai", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

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

/* Header */
.site-header {
  background: var(--navy);
  padding: 16px 0;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo {
  height: 48px;
  width: auto;
}

/* Banner */
.hero-banner {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

/* Article */
.article-wrapper {
  background: var(--white);
  margin: 32px auto 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-header {
  padding: 40px 40px 24px;
  border-bottom: 1px solid #e8ecf1;
}

.article-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 16px;
}

.article-meta {
  font-size: 0.9rem;
  color: var(--text-light);
}

.article-meta time {
  margin-right: 16px;
}

.article-body {
  padding: 32px 40px 40px;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--navy);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 40px;
  text-align: center;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 162, 39, 0.55);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 24px 20px;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .article-header,
  .article-body,
  .cta-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .article-header h1 {
    font-size: 1.55rem;
  }

  .article-body h2 {
    font-size: 1.25rem;
  }

  .site-logo {
    height: 40px;
  }
}