/* Import PT Serif + Lora (optimized) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,300;0,400;0,700;1,400;1,700&family=PT+Serif:wght@400;700&display=swap');

.blog {
  background-color: #f4f4f4;
  font-family: "Lora", serif; /* Body font */
  color: #444;
  font-weight: 400;
  font-size: 0.95rem; /* ~18px */
  line-height: 1.8;
  letter-spacing: 0.9px;
}

.blog .title-divider {
  border: none;
  height: 1px;
  background-color: #e0e0e0;
  margin: 20px 0;
}

.blog .container {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  margin-top: 70px;
}

.blog main.content {
  background: #f4f4f4;
  max-width: 800px;
  width: 100%;
  padding: 40px 20px;
}

.blog main.content .subtitle {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: 0.5px;
  color: #888;
  margin-top: -10px;
  margin-bottom: 30px;
}

.blog main.content h1 {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.blog main.content p {
  margin-bottom: 20px;
}

.blog main.content a {
  color: #007acc;
  text-decoration: none;
}

.blog main.content a:hover {
  text-decoration: underline;
}

.blog .section-subtitle {
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
  color: #333;
  margin-top: 40px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.blog .left-sidebar {
  border: 1px solid #f4f4f4;
}

.blog .right-sidebar {
  border: 1px solid #f4f4f4;
}

@media (max-width: 768px) {
  .blog .container {
    display: block;  /* Stop flex layout on mobile */
  }

  .blog .left-sidebar,
  .blog .right-sidebar {
    display: none;  /* Fully hide sidebars on mobile */
  }

  .blog main.content {
    width: 100%;
    max-width: 100%;  /* Remove max-width limit */
    padding: 20px;    /* Tighter padding for small screens */
    box-sizing: border-box;
  }

  .blog main.content img.blog-image {
    width: 100% !important;  /* full width of container */
    float: none !important;  /* remove float */
    display: block;          /* block to take full line */
    margin: 0 auto 20px auto; /* center with bottom margin */
  }
}

/* Date */

.date-info {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #555;
  margin-top: 1rem;
}

.date-info .icon-rounded-box {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;  /* box size */
  height: 32px;
  border: 1px solid #ccc;
  border-radius: 8px;  /* rounded edges instead of full circle */
  overflow: hidden;
  margin-right: 0.5rem;
  background: #fff;  /* same as image background so edges blend */
}

.date-info .icon-rounded-box img {
  width: 100%;
  height: auto;
  display: block;
}

