h1, h2 {
  text-transform: uppercase;
}
h1, h2, h3, h4, h5, h6 {
  color: #00aeef;
  font-family: 'Jost', Arial, sans-serif;
  letter-spacing: 0.15em;
  margin: 1em 0 0.5em 0;
  text-align: center;
  }

h1 {
  font-weight: 300;
  font-size: clamp(1.8em, 4.5vw, 3.5em);
  line-height: 1.2;
  max-width: 95%;
  margin: 1em auto;
  padding: 0 0.5em;
}

h2 {
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  line-height: 1.3;
}
.blog-container {
  max-width: 900px;
  margin: 3em auto;
  padding: 0 1em;
}

.blog-post {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(0, 174, 239, 0.07);
  padding: 2em;
  gap: 2em;
  margin-bottom: 3em;
}

.blog-post img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0;
}

.blog-summary {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  /* removed text-align: left for better heading style */
}

.blog-summary h2 {
  text-align: center;
  font-family: 'Jost', Arial, sans-serif;
  color: #00aeef;
  font-weight: 400;                  /* matches homepage section headers */
  letter-spacing: 0.15em;
  margin: 1em 0 0.5em 0;
  font-size: clamp(1.1rem, 4vw, 2.2rem);
  line-height: 1.2;
  text-transform: uppercase;         /* optional: remove if you don't want all-caps */
}

.blog-summary p {
  font-family: 'Questrial', Arial, sans-serif;
  font-size: 1.33em;
  color: #333;
  line-height: 1.85;
  margin: 0;
  font-weight: 400;
}

.blog-summary a {
  text-decoration: none;
  color: inherit;
  display: block;
}


/* ---- MOBILE/TABLET STACKING --- */
@media (max-width: 900px) {
  .blog-post {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em;
    gap: 1.3em;
  }
  .blog-post img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.7em;
  }
  .blog-summary {
    max-width: 100%;
  }
}
