/* ===========================
   MODERN BLOG REDESIGN
============================= */

.blog-details {
  background: #ffffff;
  padding-bottom: 100px;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

/* ===== Hero ===== */

.blog-hero {
  width: 100%;
  height: 480px;
  overflow: hidden;
  position: relative;
}

.blog-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* subtle overlay for depth */
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.6)
  );
}

/* ===== Wrapper ===== */

.blog-wrapper {
  max-width: 900px;
  margin: -120px auto 0 auto; /* pulls content over hero */
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ===== Header Block ===== */

.blog-header {
  background: #ffffff;
  padding: 60px 60px 40px 60px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* Title */

.blog-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #111;
}

/* Hook */

.blog-hook {
  font-size: 20px;
  color: #003366;
  font-weight: 500;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}

/* ===== Body ===== */

.blog-body {
  margin-top: 50px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.blog-body p {
  font-size: 18px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 30px;
}

.blog-body ul,
.blog-body ol {
  margin: 0 0 30px 1.4em;
  padding-left: 1.2em;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.85;
  font-family: inherit;
  list-style-position: inside;
}

.blog-body li {
  margin-bottom: 12px;
  color: #444;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.blog-body ul li::marker,
.blog-body ol li::marker {
  color: #003366;
  font-weight: 700;
}

.blog-body ul ul,
.blog-body ol ol {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 400;
}

.blog-body h2 {
  font-size: 32px;
  margin: 40px 0 20px;
  color: #111;
  font-weight: 700;
  line-height: 1.25;
}

.blog-body h3 {
  font-size: 28px;
  margin: 30px 0 15px;
  color: #111;
  font-weight: 700;
  line-height: 1.25;
}

.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.blog-body th,
.blog-body td {
  border: 1px solid #e3e8ef;
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  color: #444;
}

.blog-body th {
  background: #f5f8fc;
  font-weight: 600;
}

.blog-body tr:nth-child(even) {
  background: #fbfdff;
}

.blog-body caption {
  caption-side: bottom;
  padding-top: 10px;
  color: #667085;
  font-size: 14px;
}

/* ===== Responsive ===== */

@media (max-width: 992px) {
.blog-title {
    font-size: 34px;
  }

.blog-header {
    padding: 40px 35px 30px 35px;
  }
}

@media (max-width: 768px) {
.blog-hero {
    height: 300px;
  }

.blog-wrapper {
    margin-top: -80px;
  }

.blog-title {
    font-size: 26px;
  }

.blog-hook {
    font-size: 16px;
  }

.blog-body p {
    font-size: 16px;
  }
}
