/* ====================================
GENERAL & RESET
==================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #374151;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====================================
BREADCRUMBS
==================================== */
.blog-breadcrumbs {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
}

.blog-breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-breadcrumbs a {
  color: #214f99;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.blog-breadcrumbs a:hover {
  opacity: 0.8;
}

.blog-breadcrumbs strong {
  color: #111827;
  font-size: 14px;
}

/* ====================================
HERO SECTION
==================================== */
.single-blog-hero {
  background: #ffffff;
  padding: 60px 0 40px;
  border-bottom: 1px solid #e5e7eb;
}

.single-blog-hero .section-tag {
  display: inline-block;
  background: #214f99;
  color: #ffffff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 18px;
}

.single-blog-hero h1 {
  font-size: 54px;
  line-height: 1.2;
  color: #111827;
  max-width: 1000px;
  margin-bottom: 20px;
}

.blog-meta {
  display: flex;
  gap: 25px;
  color: #667085;
  font-size: 14px;
}

/* ====================================
FEATURED IMAGE SECTION
==================================== */
.single-blog-featured-image {
  background: #ffffff;
  padding: 30px 0 50px;
}

.single-blog-featured-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

/* ====================================
LAYOUT & CONTENT
==================================== */
.single-blog-content {
  background: #f5f7fa;
  padding: 60px 0;
}

.single-blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.blog-article {
  background: #ffffff;
  padding: 50px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.blog-article p {
  color: #475467;
  font-size: 18px;
  line-height: 2;
  margin-bottom: 24px;
}

.blog-article h2 {
  font-size: 38px;
  color: #111827;
  margin: 45px 0 20px;
}

.blog-article h3 {
  font-size: 30px;
  color: #111827;
  margin: 35px 0 18px;
}

.blog-article img {
  width: 100%;
  border-radius: 6px;
  margin: 25px 0;
}

.blog-article ul,
.blog-article ol {
  padding-left: 22px;
  margin-bottom: 25px;
}

.blog-article li {
  margin-bottom: 10px;
  line-height: 1.9;
}

.blog-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.blog-article th {
  background: #214f99;
  color: #ffffff;
  padding: 14px;
  text-align: left;
}

.blog-article td {
  border: 1px solid #e5e7eb;
  padding: 14px;
}

/* ====================================
SIDEBAR SECTION
==================================== */
.blog-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
}

.sidebar-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #111827;
}

.blog-search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-search-form input {
  width: 100%;
  padding: 14px;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
}

.blog-search-form button {
  background: #214f99;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.blog-search-form button:hover {
  background: #1a3d75;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  border-bottom: 1px solid #eef2f7;
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: #374151;
  transition: 0.3s;
}

.sidebar-links a:hover {
  color: #214f99;
  padding-left: 8px;
}

.sidebar-cta {
  background: #214f99;
  color: #ffffff;
}

.sidebar-cta h3,
.sidebar-cta p {
  color: #ffffff;
}

.sidebar-cta p {
  margin-bottom: 25px;
  line-height: 1.8;
  opacity: 0.9;
}

.sidebar-btn {
  display: block;
  text-align: center;
  background: #ffffff;
  color: #214f99;
  padding: 12px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.sidebar-btn:hover {
  transform: translateY(-2px);
}

/* ====================================
CTA & NAVIGATION
==================================== */
.blog-cta-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 50px;
  margin-top: 30px;
  border-radius: 8px;
}

.blog-navigation {
  margin-top: 40px;
}

.blog-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.blog-prev a,
.blog-next a {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 20px;
  text-decoration: none;
  color: #111827;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.blog-prev a:hover,
.blog-next a:hover {
  border-color: #214f99;
}

.blog-next {
  text-align: right;
}

/* ====================================
RELATED POSTS
==================================== */
.related-posts {
  background: #ffffff;
  padding: 70px 0;
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 35px;
  font-size: 38px;
}

.related-posts .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ====================================
RESPONSIVE BREAKPOINTS
==================================== */
@media (max-width: 1200px) {
  .single-blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    display: none;
  }
}

@media (max-width: 991px) {
  .related-posts .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .single-blog-hero h1 {
    font-size: 34px;
  }

  .blog-meta {
    flex-direction: column;
    gap: 8px;
  }

  .blog-article {
    padding: 25px;
  }

  .blog-nav-grid {
    grid-template-columns: 1fr;
  }

  .related-posts .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .single-blog-hero h1 {
    font-size: 28px;
  }

  .blog-article h2 {
    font-size: 28px;
  }

  .blog-article h3 {
    font-size: 22px;
  }
}