



body{
    margin-top: 120px;
}


.saidbarOfPadcast {
  width: 200px;
  display: flex;
  margin: 50px 10px ;
  background:#8FBC8F;
  padding: 1rem;
  border-radius: 5px;
  flex-direction: column;
  justify-content:flex-start;
  overflow: auto;
  gap: 0.8rem;
  border-left:#ffffff;
  border-left-style: solid;
  border-right:#ffffff;
  border-right-style: solid;
  box-shadow:inset 0px 0px 5px rgba(0, 0, 0, 0.3);

  /* border-radius: 10px; */
  height: 120vh;
  
  
  
}

.saidbarOfPadcast:hover{
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}
 
.education-hr{
  margin-top: 50px;
  height: 120vh;
}

.saidbarOfPadcast a {
  margin-top: 50px;
  color:white;
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
  transition: all 0.3s;
}

.saidbarOfPadcast a:hover {
  background:#48a74b;
  
  text-shadow:inset 0px 0px 5px rgba(0, 0, 0, 0.3);
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  font-weight: bolder;
  transform: translateX(-5px);
}

.padcasts {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  overflow: auto;
  height: 120vh;
  padding: 1rem;
}


.Allpadcast {
  display: flex;
  gap: 1.5rem;
 
  flex-wrap: wrap;
  overflow: hidden;
  direction: rtl;
}


.content-section {
  display: none;       /* پیش‌فرض مخفی */
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;    /* پر کردن فضا */
}

.content-section.active {
  display: flex;       /* فقط بخش فعال نمایش داده شود */
}







@media (max-width: 768px) {
  .Allpadcast {
    display: grid;
    grid-template-columns: 1fr; /* سایدبار بالا، محتوا پایین */
    grid-template-rows: auto 1fr;
    
    margin-bottom: 100px;

  }

  body{
    margin-top: 120px;
  }

  .saidbarOfPadcast {
    width: 80%;
    height: auto;
    flex-direction: column;
    margin: 0 auto;
    overflow-x: auto;
    margin-top: 50px;

  }

  .saidbarOfPadcast a {
    flex: 1;
    text-align: center;
  }

  .padcasts {
    justify-content: center;
  }

}

