
:root {
  --primary-navy: #002a5c;
  --secondary-blue: #0056b3;
  --accent-teal: #00a88f;
  --light-bg: #f4f7f9;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: var(--light-bg); color: var(--text-dark); line-height: 1.6; }

header { background: var(--primary-navy); color: #ffffff; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 4px solid var(--accent-teal); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #ffffff; }
.brand svg { width: 42px; height: 42px; }
.brand-text h1 { font-size: 1.4rem; font-weight: 700; letter-spacing: 0.5px; }
.brand-text p { font-size: 0.75rem; color: #a0aec0; }

nav a { color: #e2e8f0; text-decoration: none; margin-left: 1.5rem; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover { color: var(--accent-teal); }

.hero { background: linear-gradient(135deg, #002a5c 0%, #004085 100%); color: white; padding: 3.5rem 1.5rem; text-align: center; }
.hero h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: #ffffff; }
.hero p { font-size: 1.15rem; max-width: 750px; margin: 0 auto; color: #cbd5e1; }

.container { max-width: 1200px; margin: 2rem auto; padding: 0 1.5rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.8rem; }
.card { background: var(--card-bg); border-radius: 10px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.03); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 18px rgba(0,0,0,0.08); }
.card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.badge { display: inline-block; background: #e0f2fe; color: #0369a1; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 4px; margin-bottom: 0.8rem; width: fit-content; }
.card-title { font-size: 1.2rem; font-weight: 700; color: var(--primary-navy); text-decoration: none; margin-bottom: 0.5rem; line-height: 1.4; }
.card-title:hover { color: var(--secondary-blue); }
.card-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.card-excerpt { font-size: 0.95rem; color: #475569; margin-bottom: 1.2rem; flex-grow: 1; }
.btn-link { color: var(--secondary-blue); font-weight: 600; text-decoration: none; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 4px; }
.btn-link:hover { color: var(--accent-teal); text-decoration: underline; }

.post-wrapper { max-width: 820px; margin: 2rem auto; background: white; padding: 2.5rem; border-radius: 10px; border: 1px solid var(--border-color); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.post-header { border-bottom: 1px solid var(--border-color); padding-bottom: 1.2rem; margin-bottom: 1.8rem; }
.post-header h1 { font-size: 2.1rem; color: var(--primary-navy); margin-bottom: 0.8rem; line-height: 1.3; }
.post-body p { margin-bottom: 1.2rem; font-size: 1.05rem; color: #334155; }
.post-body h2 { color: var(--primary-navy); margin: 1.8rem 0 0.8rem 0; font-size: 1.4rem; }
.post-body ul { margin: 1rem 0 1.5rem 1.5rem; color: #334155; }
.post-body li { margin-bottom: 0.4rem; }

footer { background: var(--primary-navy); color: #94a3b8; text-align: center; padding: 2rem 1rem; margin-top: 4rem; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); }
footer a { color: var(--accent-teal); text-decoration: none; }
