/* ======= blogs.css - Premium Legal Blog Styling (Musyoka & Mutinda) ======= */
:root {
  --mutindamaroon: #7a1f1f;
  --mutindagreen: #9D863F;
  --mutindamaroon-light: rgba(122, 31, 31, 0.08);
  --mutindagreen-light: rgba(157, 134, 63, 0.12);
  --charcoal: #1e2a32;
  --light-gray: #f7fafc;
  --white: #ffffff;
  --gold-accent: #c9a03d;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
  --border-radius-card: 28px;
  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--light-gray);
  color: var(--charcoal);
  font-family: 'jost', sans-serif;
  line-height: 1.55;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header Premium */
header {
  background: linear-gradient(105deg, var(--mutindamaroon) 0%, #4a1a1a 100%);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.9rem;
  font-weight: 700;
  font-family: ''jost'', serif;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--gold-accent); }

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  font-size: 1.05rem;
}
nav ul li a:hover { color: var(--gold-accent); letter-spacing: 0.3px; }

.breadcrumb {
  background: white;
  padding: 14px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.breadcrumb a { color: var(--mutindamaroon); text-decoration: none; }

/* Main grid */
.main-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) 1fr;
  gap: 2.5rem;
  margin: 2.5rem auto 4rem;
}

.article-card {
  background: var(--white);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-hover); }

.article-header {
  padding: 2rem 2rem 0 2rem;
}
.article-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: #4a5568;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.article-category {
  background: var(--mutindagreen-light);
  color: var(--mutindagreen);
  padding: 0.2rem 0.9rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.75rem;
}
.article-title {
  font-family: 'jost', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mutindamaroon);
  margin-bottom: 1rem;
}
.featured-image {
  width: 100%;
  max-height: 460px;
  overflow: hidden;
}
.featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-body {
  padding: 2rem;
}
.premium-body p {
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
}
.dropcap::first-letter {
  font-size: 4rem;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  margin-right: 12px;
  color: var(--mutindagreen);
  font-family: ''jost'', serif;
}
h2 {
  font-family: 'jost', serif;
  font-size: 1.8rem;
  margin: 1.8rem 0 1rem;
  color: #2c3e2f;
  border-left: 5px solid var(--mutindagreen);
  padding-left: 18px;
}
h3 {
  font-weight: 600;
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--mutindamaroon);
}

/* premium components */
.insight-box {
  background: #fef9e6;
  border-left: 5px solid var(--gold-accent);
  padding: 1.2rem 1.5rem;
  border-radius: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin: 1.8rem 0;
}
.insight-box i { font-size: 2rem; color: var(--gold-accent); }
.warning-callout {
  background: #ffefef;
  border-left: 5px solid #c0392b;
  padding: 1rem 1.5rem;
  border-radius: 18px;
  margin: 1.5rem 0;
  font-weight: 500;
}
.checklist-styled, .steps-numbered {
  list-style: none;
  padding-left: 0;
}
.checklist-styled li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.checklist-styled li i { color: var(--mutindagreen); font-size: 1.2rem; }
.steps-numbered {
  counter-reset: step-counter;
}
.steps-numbered li {
  counter-increment: step-counter;
  margin-bottom: 1rem;
  padding-left: 2.3rem;
  position: relative;
  font-weight: 500;
}
.steps-numbered li::before {
  content: counter(step-counter);
  background: var(--mutindagreen);
  color: white;
  font-weight: bold;
  width: 28px;
  height: 28px;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 0.85rem;
}
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 12px;
  background: #f2f5f2;
  padding: 1.5rem;
  border-radius: 24px;
  margin: 1.5rem 0;
}
blockquote {
  font-style: italic;
  border-left: 4px solid var(--mutindagreen);
  background: #f7f3e9;
  padding: 1.5rem 2rem;
  border-radius: 24px;
  margin: 1.8rem 0;
  font-weight: 500;
}

/* SIDEBAR PREMIUM */
.sidebar-premium {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.sidebar-widget {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  transition: 0.2s;
}
.widget-title {
  font-family: 'jost', serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--mutindagreen-light);
  padding-bottom: 8px;
}
.related-articles li {
  list-style: none;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.8rem;
}
.related-articles a {
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-articles a:hover { color: var(--mutindamaroon); }
.meta-sm { font-size: 0.7rem; color: #6c757d; display: block; margin-top: 4px; }
.categories-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.categories-list a { text-decoration: none; color: #2c3e50; font-weight: 500; }
.categories-list span { background: #e9ecef; padding: 2px 10px; border-radius: 40px; font-size: 0.7rem; }
.btn-widget {
  background: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  display: inline-block;
  text-decoration: none;
  margin-top: 14px;
  font-weight: 600;
}

/* ========== ENHANCED FOOTER STYLES ========== */
/* ========== ENHANCED FOOTER STYLES ========== */
footer {
  background: linear-gradient(135deg, #0a0f1c 0%, #121826 100%);
  color: #e0e4f0;
  padding: 3rem 0 1.8rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(157, 134, 63, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-about p {
  color: #b9c2d4;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-logo img {
  max-width: 180px;
  
  transition: transform 0.3s;
}
.footer-logo img:hover { transform: scale(1.02); }

.footer-links h3, .footer-services h3, .footer-contact h3 {
  color: #ffd966;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}
.footer-links h3:after, .footer-services h3:after, .footer-contact h3:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-accent);
  border-radius: 2px;
}



.footer-links ul, .footer-services ul, .footer-contact ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li, .footer-services ul li, .footer-contact ul li {
  margin-bottom: 0.75rem;
}
.footer-links a, .footer-services a, .footer-contact a {
  color: #cfd9e6;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-links a:hover, .footer-services a:hover, .footer-contact a:hover {
  color: var(--gold-accent);
  padding-left: 5px;
}
.footer-contact ul li i {
  width: 28px;
  color: var(--gold-accent);
  font-size: 1rem;
}

.copyright {
  text-align: center;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(157, 134, 63, 0.2);
  font-size: 0.85rem;
  color: #9fa8bf;
}
.copyright p {
  margin: 0.4rem 0;
}
.credit {
  font-size: 0.85rem;
}
.credit span {
  color: #ffd966;
  font-size: 1rem;
  display: inline-block;
  animation: pulse 1.6s infinite;
}
.credit a {
  color: var(--gold-accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}
.credit a:hover {
  text-decoration: underline;
  color: #ffd966;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Whatsapp Float */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: 0.2s;
  z-index: 999;
}
.whatsapp-float:hover { transform: scale(1.1); }

@media (max-width: 900px) {
  .main-content { grid-template-columns: 1fr; }
  .article-title { font-size: 1.9rem; }
  .header-content { flex-direction: column; gap: 12px; }
  .footer-content { gap: 2rem; text-align: center; }
  .footer-links h3:after, .footer-services h3:after, .footer-contact h3:after { left: 50%; transform: translateX(-50%); }
}