/*
Theme Name: Child Hello Elementor
Template: hello-elementor
Version: 1.0.0
*/

.body{
    font-family: 'Open Sans', sans-serif;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 20px;
  border-radius: 10px;
}

.hero-content .category-label {
  background: #00b4d8;
  color: #fff;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero-content .meta {
  font-size: 14px;
  color: #f0f0f0;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 3;
  overflow: hidden;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.custom-post-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.post-left {
  flex: 2;
  min-width: 0;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  padding: 20px 40px;
  border-radius: 20px;
}

.post-right {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  width: 100%;
  max-width: 100%;
}

.post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.related-posts {
  margin-top: 60px;
}

.related-posts h2 {
  font-size: 28px;
  color: #ff6f61;
  margin-bottom: 30px;
  text-align: center;
}

.related-posts ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  justify-content: center;
}

.related-posts li {
  width: 30%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  text-align: center;
}

.related-posts img {
  width: 100%;
  height: auto;
  display: block;
}

.related-posts a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 768px) {
  .custom-post-container {
    flex-direction: column;
  }
  .post-left {
    width: 100%;
  }
  .post-right {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 20px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content .meta {
    font-size: 12px;
  }
}
.other-categories {
  margin-top: 40px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
}
.other-categories h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}
.other-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  justify-content: center;
  padding: 0;
}
.other-categories li {
  background: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.other-categories a {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}
