:root {
  --blue: #005293;
  --blue-dark: #003b69;
  --yellow: #FECC02;
  --text: #202429;
  --muted: #5b6470;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --radius: 10px;
  --max-width: 960px;
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; }

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid #e5e9ee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue-dark);
}
.logo span { color: var(--yellow); background: var(--blue-dark); padding: 0 4px; border-radius: 4px; }

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.site-header nav a {
  color: var(--text);
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue-dark);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  transition: transform 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

/* Main content */
main.container {
  padding: 56px 20px;
}

section + section {
  margin-top: 48px;
}

section h2 {
  color: var(--blue-dark);
  border-bottom: 3px solid var(--yellow);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 18px;
}

.cta-box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}

.cta-box h2 {
  border: none;
}

/* Blog list */
.post-list {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.post-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 5px solid var(--blue);
}

.post-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.post-card .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.post-card a.read-more {
  font-weight: 600;
}

/* Single post */
.post-header {
  margin-bottom: 32px;
}

.post-header .meta {
  color: var(--muted);
  font-size: 0.95rem;
}

article.post h2 {
  color: var(--blue-dark);
  border: none;
  margin-top: 32px;
}

.tip-list {
  padding-left: 20px;
}

.tip-list li {
  margin-bottom: 12px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: #dce8f2;
  padding: 32px 0;
  margin-top: 60px;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--yellow);
}

.resource-link {
  margin-top: 8px;
  opacity: 0.9;
}

@media (min-width: 640px) {
  .post-list {
    grid-template-columns: 1fr 1fr;
  }
}
