/*  ────────────  Base  ──────────── */
:root {
  --accent: #005ba3;
  --accent-light: #e6f0ff;
  --text:   #212121;
  --muted:  #6b7280;
  --bg:     #fafafa;
  --radius: .5rem;
  --max: 960px;
}

* { box-sizing: border-box; }
html,body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a          { color: var(--accent); text-decoration: none; }
a:hover    { text-decoration: underline; }

.container  { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.flex-between{ display: flex; justify-content: space-between; align-items: center; }

/*  ────────────  Header  ──────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}
.logo        { display: flex; align-items: center; column-gap: .5rem; }
.logo-img    { width: 40px; height: 40px; }
.logo-text   { font-weight: 700; font-size: 1.25rem; color: var(--accent); }

.nav-link {
  margin-left: 1.25rem;
  color: var(--muted);
  font-weight: 500;
}
.nav-link.active,
.nav-link:hover { color: var(--accent); }

/*  ────────────  Hero  ──────────── */
.hero {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(135deg, var(--accent-light) 0%, #ffffff 100%);
  text-align: center;
}
.hero-title { font-size: 2.5rem; margin: 0 0 .5rem; color: var(--accent); }
.hero-sub   { color: var(--muted); margin-bottom: 1.5rem; }
.btn-primary{
  display: inline-block;
  padding: .75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 500;
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .85; }

/*  ────────────  Card Grid  ──────────── */
.section-title { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--accent); }
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
}
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
  transform: translateY(-2px);
}
.card-title   { margin: 0 0 .25rem; font-size: 1.1rem; font-weight: 600; }
.card-meta    { color: var(--muted); font-size: .85rem; margin-bottom: .75rem; }
.card-excerpt { margin: 0; color: #374151; }
.card-link    { color: inherit; text-decoration: none; }

/*  ────────────  Blog List  ──────────── */
.page-title  { margin-top: 2rem; color: var(--accent); }
.post-list   { list-style: none; padding: 0; margin: 0; }
.post-list li{ padding: .75rem 0; border-bottom: 1px solid #e5e7eb; }
.post-list a { font-weight: 500; }
.date        { color: var(--muted); font-size: .85rem; }

/*  ────────────  Post Page  ──────────── */
.post-title { margin-top: 2rem; font-size: 2rem; color: var(--accent); }
.post-meta  { color: var(--muted); margin-bottom: 2rem; }

/*  ────────────  Footer  ──────────── */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}

/* cloud-specific skins */
.azure-skin .page-title          { color: #0078d4; }
.aws-skin   .page-title          { color: #ff9900; }
.azure-skin .nav-link.active     { color: #0078d4; }
.aws-skin   .nav-link.active     { color: #ff9900; }

/* Tag chips on article pages */
.post-tags {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.post-tags li {
  background: #e5e7eb;
  border-radius: var(--radius);
  padding: .25rem .75rem;
  font-size: .8rem;
  color: var(--text);
}
