/* GENERAL */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #000;
  background-color: #fff;
}
h1, h2 {
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 15px;
}
p {
  line-height: 25px;
}

/* blog-body-1 */
.blog-body-1 {
  background-color: #0C3149;
  color: white;
  text-align: center;
  padding: 40px 20px;
}
.blog-body-1 h1 {
  font-size: 2rem;
  margin-top: 120px;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.author-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* blog-body-2 */
.blog-body-2 {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.blog-body-2 img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

/* blog-body-3 */
.blog-body-3 {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}
.blog-body-3 .author {
  text-align: center;
  min-width: 150px;
}
.blog-body-3 .author-img {
  background-color: black;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
}
.blog-body-3 .text {
  max-width: 600px;
}
.text h2,
.text p {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* blog-body-4 */
.blog-body-4 {
  padding: 30px 20px;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.blog-body-4 img {
  width: 100%;
  height: auto;
  margin: 20px 0;
}

/* blog-body-5 */
.blog-body-5 {
  background-color: #0C3149;
  color: white;
  padding: 40px 20px;
}
.blog-body-5 h2,
.blog-body-5 p {
  text-align: center;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* blog-body-6 */
.blog-body-6 {
  padding: 30px 20px;
}
.blog-body-6-container {
  max-width: 70%;
  margin: 0 auto;
}
.blog-body-6-grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-body-6 .column-a,
.blog-body-6 .column-b {
  flex: 1 1 300px;
}
.blog-body-6 img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* blog-body-7 */

/* Estilo para el botón en .blog-body-7 */

/* blog-body-7 */
.blog-body-7 {
  border: 3px solid #000;
  margin: 40px 20px;
  padding: 30px 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.blog-body-7-inner {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.blog-body-7-inner p {
  margin-bottom: 20px;
}

.contact-button {
  display: inline-block;
  background-color: #0C3149;
  color: white;
  padding: 12px 25px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: #081f30;
}



/* RESPONSIVE */
@media (max-width: 768px) {
  .blog-body-3, 
  .blog-body-6-grid {
    flex-direction: column;
    text-align: center;
  }

  .blog-body-3 .text,
  .blog-body-6 .column-a {
    max-width: 100%;
  }

  .blog-body-3 .author-img {
    width: 80px;
    height: 80px;
  }

  .blog-body-1 h1 {
    font-size: 1.5rem;
  }

  .blog-body-5 h2 {
    font-size: 1.25rem;
  }
}