* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  color: #222;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #0d9488;
}


.logo a {
  font-size: 20px;
  font-weight: 700;
  color: #0d9488;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav a:hover {
  color: #0d9488;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

.hero {
  height: 85vh;
  background: url('https://images.unsplash.com/photo-1584515933487-779824d29309?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  background: rgba(0,0,0,0.55);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 55px;
  max-width: 800px;
}

.hero p {
  margin-top: 20px;
  font-size: 18px;
  max-width: 700px;
}

.search-box {
  margin-top: 30px;
  display: flex;
  width: 90%;
  max-width: 600px;
}

.search-box input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.search-box button {
  padding: 15px 25px;
  border: none;
  background: #0d9488;
  color: white;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.posts-section {
  padding: 70px 6%;
}

.posts-section h2 {
  margin-bottom: 30px;
  font-size: 35px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.post-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

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

.post-card img,
.post-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 12px;
}

.post-content p {
  color: #666;
  line-height: 1.7;
}

.read-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #0d9488;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.post-page {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  padding: 50px 6%;
}

.main-post {
  background: white;
  padding: 30px;
  border-radius: 15px;
}

.main-post img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.main-post h1 {
  margin-bottom: 15px;
}

.main-post h2 {
  margin-bottom: 10px;
}

.main-post h3 {
  margin-bottom: 5px;
}

.main-post p {
  margin-bottom: 20px;
  line-height: 1.9;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
}

.sidebar-card ul {
  margin-top: 10px;
}

.sidebar-card li {
  margin-bottom: 10px;
}

.related-link {
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
  color: #0d9488;
}

.affiliate-box {
  margin: 30px 0;
  padding: 20px;
  background: #ecfeff;
  border-left: 5px solid #0d9488;
  border-radius: 12px;
}

.affiliate-box a {
  color: #0d9488;
  font-weight: bold;
  text-decoration: none;
}

footer {
  background: #062c30;
  color: white;
  padding: 60px 6% 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-grid h3 {
  margin-bottom: 15px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}

@media(max-width: 900px) {

  .post-page {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: 80px;
    right: 0;
    background: white;
    width: 260px;
    flex-direction: column;
    padding: 20px;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 38px;
  }
}

@media(max-width: 600px) {

  .hero h1 {
    font-size: 30px;
  }

  .posts-section h2 {
    font-size: 28px;
  }

}


.related-card{
  display:block;
  background:#fff;
  padding:12px 15px;
  margin-bottom:12px;
  border-radius:10px;
  text-decoration:none;
  box-shadow:0 2px 10px rgba(0,0,0,0.06);
  transition:0.3s ease;
}

.related-card:hover{
  transform:translateY(-3px);
  box-shadow:0 5px 18px rgba(0,0,0,0.12);
}

.related-title{
  font-size:14px;
  font-weight:600;
  color:#111;
  margin-bottom:5px;
}

.related-tag{
  font-size:12px;
  font-weight:500;
}

.affiliate-box{
  display:flex;
  gap:15px;
  align-items:center;
  background:#ecfeff;
  border-left:5px solid #0d9488;
  padding:15px;
  margin:20px 0;
  border-radius:12px;
}

.affiliate-box img{
  width:90px;
  height:90px;
  object-fit:cover;
  border-radius:10px;
}

.affiliate-box a{
  color:#0d9488;
  font-weight:bold;
  text-decoration:none;
}

.affiliate-box a:hover{
  text-decoration:underline;
}

.newsletter input{
  padding:12px;
  width:100%;
  border:none;
  border-radius:8px;
  margin-top:10px;
}

.newsletter button{
  margin-top:10px;
  padding:10px;
  width:100%;
  background:#0d9488;
  color:white;
  border:none;
  border-radius:8px;
  cursor:pointer;
}


.comments-section{
  margin-top:40px;
  background:#fff;
  padding:20px;
  border-radius:12px;
}

.comment-form input,
.comment-form textarea{
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border:1px solid #ddd;
  border-radius:8px;
  font-size:15px;
}

.comment-form textarea{
  min-height:120px;
  resize:vertical;
}

.comment-form button{
  background:#0d9488;
  color:white;
  border:none;
  padding:12px 20px;
  border-radius:8px;
  cursor:pointer;
}

.comment-card{
  padding:15px;
  border-bottom:1px solid #eee;
}

.comment-name{
  font-weight:bold;
  color:#0d9488;
  margin-bottom:5px;
}

.comment-date{
  font-size:12px;
  color:gray;
  margin-top:5px;
}

.post-views,
.view-count{
  font-size:13px;
  color:#0d9488;
  margin:8px 0;
  font-weight:500;
}

.story-share,
.share-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:15px 0;
}

.share{
  text-decoration:none;
  color:white;
  padding:10px 15px;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
}

.whatsapp{
  background:#25D366;
}

.facebook{
  background:#1877F2;
}

.x{
  background:#000;
}

.telegram{
  background:#229ED9;
}

.share:hover{
  transform:translateY(-2px);
}

.copy-link{
  background:#6b7280;
  border:none;
  cursor:pointer;
  }

.chapter-nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  align-items:center;
  margin:40px 0;
}

.chapter-btn{
  background:#0d9488;
  color:white;
  text-decoration:none;
  padding:10px 16px;
  border-radius:8px;
}

.chapter-number{
  text-decoration:none;
  padding:8px 12px;
  border:1px solid #ddd;
  border-radius:6px;
  color:#333;
}

.chapter-number.active{
  background:#2563eb;
  color:white;
  border-color:#2563eb;
  }

