.social-hero {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 5rem auto;
  align-items: flex-start;
  gap: 3rem;
  padding: 0 1.5rem;
}


.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 3rem;
  color: #6cf;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.hero-text .note {
  font-size: 0.95rem;
  font-style: italic;
  color: #666;
  margin-bottom: 1.5rem;
}

.btn-gradient {
  background: linear-gradient(90deg, #6cf, #4a90e2);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.hero-visual {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
  gap: 2rem;
}

.mock-feed {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.mock-post {
  flex: 1 1 220px;
  max-width: 220px;
  background: #fdfdfd;
  border-radius: 1rem;
  box-shadow: 0 8px 20px #0002;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.mock-post:hover {
  transform: translateY(-5px);
}

.post-header {
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  gap: 0.5rem;
  background: #eee;
}

.social-logo {
  width: 20px;
  height: 20px;
}

.post-body {
  padding: 1rem;
}

.post-line {
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.post-line.large {
  width: 85%;
}

.post-line.medium {
  width: 60%;
}

.post-line.short {
  width: 40%;
}
.main-sec{overflow-x: hidden;margin-top: 0;}

@media (max-width: 1024px) {
  .hero-text, .hero-visual {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-visual {
    flex: 2 1 auto;
  }

  .mock-feed {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 1rem;
  }

  .mock-post {
    flex: 0 0 auto;
    width: 220px;
  }
}

@media (max-width: 768px) {
  .social-hero {
    flex-direction: column;
    align-items: center;
    margin: 3rem 1rem;
  }


  .mock-feed {
    display: flex;
    width: unset;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 1rem;
  }

  .mock-post {
    flex: 0 0 auto;
    width: 180px;
  }
}
