/* ========================= */
/* GLOBAL */
/* ========================= */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg-surface: #f8fafc;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: var(--bg-surface);
  color: var(--text-dark);
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
  background: white;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.navbar a {
  text-decoration: none;
  color: var(--text-muted);
  margin-left: 25px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s ease;
}

.navbar a:hover {
  color: var(--primary);
}

/* ========================= */
/* HEADER */
/* ========================= */

.header {
  background: white;
  padding: 80px 20px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.header h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
}

.header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* ========================= */
/* BLOG CONTAINER */
/* ========================= */

.blog-container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

/* ========================= */
/* FILTER BUTTONS */
/* ========================= */

.filter-bar {
  text-align: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 18px;
  margin: 6px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  transition: 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eef2ff;
}

/* ========================= */
/* ARTICLE GRID */
/* ========================= */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.article-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: 0.2s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}
.back-to-blog {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  font-size: 14px;
  text-decoration: none;
  color: #1a1a1a;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background-color: #f9f9f9;
  transition: all 0.2s ease;
}

.back-to-blog:hover {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}
.article-card a {
  text-decoration: none;
  color: inherit;
}

.article-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.article-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.article-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.read-more {
  margin-top: 15px;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 120px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: white;
}

.footer-logo span {
  color: var(--primary);
}

.footer-brand p {
  margin-top: 15px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-columns {
  display: flex;
  gap: 60px;
}

.footer-columns h4 {
  font-size: 14px;
  margin-bottom: 12px;
  color: white;
}

.footer-columns a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #94a3b8;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-columns a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 120px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: white;
}

.footer-logo span {
  color: var(--primary);
}

.footer-brand p {
  margin-top: 15px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-columns {
  display: flex;
  gap: 60px;
}

.footer-columns h4 {
  font-size: 14px;
  margin-bottom: 12px;
  color: white;
}

.footer-columns a {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #94a3b8;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-columns a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
