/* Blog Inner Page Styles */

body {
  background: #fff;
}

.blog-inner-main {
  max-width: 1328px;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 80px;
  position: relative;
}

.divider-line {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
}

.article-meta {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 27px;
  color: #949494;
  margin-left: 4px;
  margin-bottom: 32px;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
}

.hero-title-container {
  width: 100%;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  line-height: 107px;
  color: #333;
  font-weight: 400;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  line-height: 39px;
  color: #949494;
  margin-bottom: 16px;
  max-width: 98%;
}

.author-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 32px;
}

.author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 29px;
  color: #0F172A;
  opacity: 0.7;
}

.hero-image {
  width: 100%;
  max-width: 1328px;
  height: 673px;
  object-fit: cover;
  border: 0.8px solid #949494;
  border-radius: 25px;
  margin-bottom: 32px;
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  line-height: 59px;
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-text {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  line-height: 39px;
  color: #949494;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

/* Remove margin below last .section-text before image for tight spacing */
.section-text:last-child {
  margin-bottom: 0;
}

/* If .section-text is immediately followed by an image, reduce margin */
.section-text + img,
.section-text + .content-image {
  margin-top: 8px !important;
}

.content-image {
  width: 100%;
  max-width: 1328px;
  height: 673px;
  object-fit: cover;
  border: 0.8px solid #949494;
  border-radius: 25px;
  margin: 16px 0 0px 0px;
}

.deep-learning-text,
.transfer-text,
.data-viz-text {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  color: #000;
  margin: 36px 0 24px 0;
  text-align: left;
}

.centered-topic-text {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ff965d;
  margin: 32px auto 0px auto;
  padding: 12px 0 0 0;
  text-align: center;
  display: block;
  max-width: 600px;
}

.reinforcement-text {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ff965d;
  margin: 0 auto 0 auto;
  text-align: center;
  display: block;
  max-width: 600px;
}

.data-viz-text {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #ff965d;
  margin: 0 auto 0 auto;
  padding: 32px 0 32px 0;
  text-align: center;
  display: block;
  max-width: 600px;
}

.highlight-boxes {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border-radius: 20px;
  background: #fcebf6;
}

.highlight-box.yellow {
  background: #fdf3e0;
}

.highlight-box.purple {
  background: #f0eafd;
}

.highlight-icon {
  width: 72px;
  height: 72px;
}

.highlight-text {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  line-height: 39px;
  color: #949494;
  letter-spacing: 0.01em;
  max-width: 900px;
}

@media (max-width: 1400px) {
  .blog-inner-main {
    max-width: 98vw;
    padding-left: 1vw;
    padding-right: 1vw;
  }
  .hero-image, .content-image {
    height: auto;
    min-height: 200px;
    max-height: 400px;
  }
  .hero-title {
    font-size: 48px;
    line-height: 1.2;
  }
  .section-title {
    font-size: 32px;
    line-height: 1.2;
  }
  .section-text, .highlight-text {
    font-size: 20px;
    line-height: 32px;
  }
}

@media (max-width: 900px) {
  .blog-inner-main {
    padding-top: 50px;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: 28px;
    text-align: center;
  }
  .section-title {
    font-size: 20px;
    text-align: center;
  }
  .hero-image, .content-image {
    border-radius: 12px;
  }
  .hero-subtitle {
    text-align: center;
  }
  .section-text {
    text-align: center;
  }
  .highlight-boxes {
    gap: 14px;
    margin-top: 18px;
  }
  .highlight-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 12px;
    gap: 12px;
    border-radius: 12px;
  }
  .highlight-icon {
    width: 36px;
    height: 36px;
  }
  .highlight-text {
    font-size: 15px;
    line-height: 22px;
    max-width: 100%;
  }
}
