/*--------------------------------------------------------------
# Blog Layout
--------------------------------------------------------------*/
.blog-body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
  background: #f5f8fd;
  min-height: 100vh;
}

.blog-header {
  background: #040b14;
  padding: 18px 0;
  box-shadow: 0 4px 18px rgba(4, 11, 20, 0.3);
}

.blog-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-logo {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.blog-logo:hover {
  color: #149ddd;
}

.blog-nav-links {
  display: flex;
  gap: 18px;
}

.blog-nav-links a {
  color: #d7e3f4;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.blog-nav-links a:hover,
.blog-nav-links a.active {
  color: #fff;
}

.blog-hero {
  padding: 60px 0 30px;
  text-align: center;
}

.blog-hero h1 {
  font-family: "Raleway", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #173b6c;
  margin-bottom: 12px;
}

.blog-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: #495057;
  font-size: 17px;
}

.blog-content {
  padding-bottom: 80px;
}

/*--------------------------------------------------------------
# Blog Cards (index)
--------------------------------------------------------------*/
.blog .section-title p {
  max-width: 540px;
  color: #6c757d;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(23, 59, 108, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(23, 59, 108, 0.12);
}

.blog-meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8892b0;
  margin-bottom: 12px;
  display: block;
}

.blog-title {
  font-size: 20px;
  font-weight: 700;
  color: #173b6c;
  margin-bottom: 12px;
}

.blog-summary {
  flex-grow: 1;
  font-size: 15px;
  color: #495057;
  margin-bottom: 18px;
}

.blog-link {
  font-weight: 600;
  color: #149ddd;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-link::after {
  content: "\2192";
  font-size: 16px;
  line-height: 1;
}

.blog-link:hover {
  color: #0f73a8;
}

/*--------------------------------------------------------------
# Article Pages
--------------------------------------------------------------*/
.blog-article-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.blog-article {
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 18px 40px rgba(23, 59, 108, 0.12);
}

.blog-article header {
  margin-bottom: 32px;
}

.blog-article h1 {
  font-family: "Raleway", sans-serif;
  font-size: 34px;
  color: #173b6c;
  margin-bottom: 12px;
}

.blog-article .blog-meta {
  margin-bottom: 20px;
}

.blog-article p {
  font-size: 17px;
  line-height: 1.7;
  color: #343a40;
  margin-bottom: 22px;
}

.blog-article img {
  width: 100%;
  border-radius: 12px;
  margin: 18px 0;
  box-shadow: 0 12px 24px rgba(4, 11, 20, 0.12);
}

.blog-article figure {
  margin: 24px 0;
}

.blog-article figcaption {
  font-size: 14px;
  color: #6c757d;
  margin-top: 8px;
  text-align: center;
}

.blog-article pre {
  background: #0e172a;
  color: #e9eef9;
  padding: 18px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.blog-article code {
  font-family: "Source Code Pro", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.blog-article blockquote {
  border-left: 4px solid #149ddd;
  padding-left: 16px;
  color: #495057;
  font-style: italic;
  margin: 24px 0;
}

.blog-article .blog-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #173b6c;
  margin: 32px 0 12px;
}

.blog-footer {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-footer a {
  font-weight: 600;
  color: #149ddd;
}

.blog-footer a:hover {
  color: #0f73a8;
}

.blog-site-footer {
  padding: 32px 0;
  background: #040b14;
}

.blog-site-footer__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-site-footer a {
  color: #d7e3f4;
  font-weight: 600;
}

.blog-site-footer a:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .blog-article {
    padding: 28px;
  }

  .blog-nav {
    flex-direction: column;
    gap: 16px;
  }

  .blog-nav-links {
    gap: 12px;
  }
}
