/* Blog Banner */
.blog-banner {
  text-align: center;
  background: var(--main-color-darker);
  color: #ffffff;
  min-height: 30vh;
  padding: 5% 2%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-banner-text {
  max-width: 800px;
  width: 100%;
  padding: 4%;
  text-align: left;
}

#banner-title {
  font-size: 5em;
}

#banner-desc {
  font-size: 2.5em;
}

.orange {
  color: var(--main-color-orange);
}

@media screen and (max-width: 768px) {
  #banner-title {
    font-size: 3em;
  }

  #banner-desc {
    font-size: 2em;
  }
}

@media screen and (max-width: 480px) {
  #banner-title {
    font-size: 2em;
  }

  #banner-desc {
    font-size: 1.5em;
  }
}

/* Posts */
.posts {
  margin: 0;
  padding: 2%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: #f0f0f0;
}

.post-card {
  margin: 1%;
  width: 60%;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
}

.post-card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  color: inherit;
}

.author-section {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #fafafa;
}

.author-icon img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.post-image {
  width: 100%;
  height: 20%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.post-content {
  padding: 15px;
  width: 50%;
}

.post-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.post-description {
  font-size: 14px;
  margin-bottom: 10px;
}

.post-date {
  font-size: 12px;
  color: #555;
}

.post {
  margin: 0;
  padding: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: #f0f0f0;
}

.post-banner {
  width: 80%;
  height: 200px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px 10px 10px 10px;
}

.content-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.content-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.content-text {
  font-size: 1rem;
  margin-bottom: 10px;
  text-align: justify;
}

.content-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

.content-image img {
  height: auto;
  padding: 1%;
}

.single-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 100%;
}

.single-image img {
  max-width: 100%;
  height: auto;
  padding: 1%;
}

.two-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.two-images a {
  width: 48%;
  margin-bottom: 1%;
}

.two-images img {
  max-width: 100%;
  height: auto;
  padding: 1%;
}

@media screen and (max-width: 768px) {
  .post-card {
    width: 70%;
  }
  .content-title {
    font-size: 1.5rem;
  }
  .two-images a {
    width: 100%;
  }
  .single-image {
    width: 100%;
  }
  .post-content {
    width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .post-card {
    width: 90%;
  }
  .content-title {
    font-size: 1.2rem;
  }
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-btn {
  color: #fff;
  font-size: 2em;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}