/* HBA Global Consultancy - Insights Static Blog Styles */
:root {
  --hba-navy: #000F5D;
  --hba-navy-light: #0A1E85;
  --hba-navy-deep: #000A40;
  --hba-yellow: #FFDE00;
  --hba-yellow-hover: #EED000;
  --hba-text: #1A2035;
  --hba-muted: #555E73;
  --hba-border: #E2E6F0;
  --hba-bg: #F5F7FB;
  --hba-white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0, 15, 93, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--hba-text);
  background: var(--hba-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--hba-navy-light); text-decoration: none; }
a:hover { color: var(--hba-navy); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--hba-navy);
  color: var(--hba-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--hba-yellow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--hba-white);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand:hover { color: var(--hba-white); }
.brand img {
  height: 44px;
  width: auto;
  border-radius: 6px;
  background: var(--hba-white);
  padding: 2px;
}
.brand span small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hba-yellow);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--hba-white);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--hba-yellow);
}
.nav-cta {
  background: var(--hba-yellow);
  color: var(--hba-navy) !important;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--hba-yellow-hover);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--hba-navy) 0%, var(--hba-navy-light) 100%);
  color: var(--hba-white);
  padding: 56px 0 48px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 222, 0, 0.16);
  color: var(--hba-yellow);
  border: 1px solid rgba(255, 222, 0, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  line-height: 1.2;
  color: var(--hba-white);
}
.hero p {
  margin: 0;
  max-width: 700px;
  color: #DCE2F5;
  font-size: 1.05rem;
}

/* Filter & Search Bar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 32px 0 24px;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  border: 1px solid var(--hba-border);
  background: var(--hba-white);
  color: var(--hba-navy);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pill:hover { border-color: var(--hba-navy); background: #EEF1FA; }
.pill.active {
  background: var(--hba-navy);
  color: var(--hba-yellow);
  border-color: var(--hba-navy);
}
.search-input {
  min-width: 240px;
  padding: 9px 14px;
  border: 1px solid var(--hba-border);
  border-radius: 8px;
  font-size: 0.92rem;
  background: var(--hba-white);
  color: var(--hba-text);
}
.search-input:focus {
  outline: none;
  border-color: var(--hba-navy);
}

/* Cards Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.post-card {
  background: var(--hba-white);
  border: 1px solid var(--hba-border);
  border-top: 3px solid var(--hba-navy);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 15, 93, 0.12);
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--hba-muted);
  margin-bottom: 10px;
}
.cat-tag {
  background: #EEF1FA;
  color: var(--hba-navy);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
}
.post-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.35;
}
.post-card h2 a { color: var(--hba-navy); }
.post-card h2 a:hover { color: var(--hba-navy-light); }
.post-card p {
  margin: 0 0 18px;
  color: var(--hba-muted);
  font-size: 0.94rem;
}
.read-more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--hba-navy);
}
.read-more:hover {
  color: var(--hba-navy-light);
  text-decoration: underline;
}

/* Article Layout */
.breadcrumb {
  font-size: 0.86rem;
  color: var(--hba-muted);
  margin: 24px 0 16px;
}
.breadcrumb a { color: var(--hba-muted); }
.breadcrumb a:hover { color: var(--hba-navy); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  margin-bottom: 64px;
  align-items: start;
}
.article-card {
  background: var(--hba-white);
  border: 1px solid var(--hba-border);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}
.article-header h1 {
  margin: 12px 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.25;
  color: var(--hba-navy);
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--hba-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hba-border);
  margin-bottom: 26px;
}
.article-body h2 {
  margin: 30px 0 12px;
  font-size: 1.4rem;
  color: var(--hba-navy);
  border-left: 4px solid var(--hba-yellow);
  padding-left: 12px;
}
.article-body h3 {
  margin: 22px 0 8px;
  font-size: 1.12rem;
  color: var(--hba-navy);
}
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  background: #FFFCE6;
  border-left: 4px solid var(--hba-yellow);
  border-radius: 0 8px 8px 0;
  color: var(--hba-navy);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.93rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--hba-border);
  padding: 11px 14px;
  text-align: left;
}
.article-body th {
  background: var(--hba-navy);
  color: var(--hba-white);
}
.article-body tr:nth-child(even) { background: #F5F7FB; }

/* CTA Box */
.cta-box {
  margin-top: 34px;
  padding: 26px 28px;
  background: linear-gradient(135deg, var(--hba-navy) 0%, var(--hba-navy-light) 100%);
  color: var(--hba-white);
  border-radius: var(--radius);
  border-left: 5px solid var(--hba-yellow);
}
.cta-box h3 { margin: 0 0 8px; color: var(--hba-yellow); font-size: 1.25rem; }
.cta-box p { margin: 0 0 18px; color: #DCE2F5; }
.cta-btn {
  display: inline-block;
  background: var(--hba-yellow);
  color: var(--hba-navy);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
}
.cta-btn:hover { background: var(--hba-yellow-hover); color: var(--hba-navy); }

/* Sidebar */
.sidebar-card {
  background: var(--hba-white);
  border: 1px solid var(--hba-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.sidebar-card h3 {
  margin: 0 0 14px;
  font-size: 1.02rem;
  color: var(--hba-navy);
  border-bottom: 3px solid var(--hba-yellow);
  padding-bottom: 8px;
}
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-links li { margin-bottom: 10px; font-size: 0.92rem; }
.sidebar-links a { color: var(--hba-text); font-weight: 500; }
.sidebar-links a:hover { color: var(--hba-navy); text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--hba-navy);
  color: #D5DCF0;
  padding: 44px 0 28px;
  font-size: 0.9rem;
  border-top: 4px solid var(--hba-yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer h4 {
  color: var(--hba-yellow);
  margin: 0 0 12px;
  font-size: 0.98rem;
}
.site-footer a { color: var(--hba-white); }
.site-footer a:hover { color: var(--hba-yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 18px;
  font-size: 0.82rem;
  color: #A8B3D6;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-card { padding: 24px 20px; }
  .header-inner { flex-direction: column; padding: 12px 0; }
  .main-nav { justify-content: center; gap: 14px; }
}
