body {
  margin: 0;
   font-family: 'Vazir', sans-serif;
  direction: rtl;
}

.container {
  display: flex;
  height: 100vh;
}

/* ستون راست */
.sidebar-right {
  width: 19%;
  background: #fff;
  padding: 1rem;
  box-sizing: border-box;
  transition: width 0.3s ease;
  position: relative;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

/* ستون چپ */
.main-content {
  width: 81%;
  background: #f4f4f4;
  box-sizing: border-box;
  transition: width 0.3s ease;
  position: relative;
  padding-top: 60px; /* فاصله از زیر هدر */
}

/* هدر داخل ستون چپ */
#header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 63px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);  
}

/* حالت جمع‌شده */
#right.collapsed {
  width: 6%;
}
#left.expanded {
  width: 94%;
}

/* همبرگری */
.hamburger-wrapper {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  background: transparent;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
}

.hamburger span {
  width: 19px;
  height: 2px;
  background-color: red;
  border-radius: 2px;
}

/* لوگو در حالت اولیه */
.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: red;
  white-space: nowrap;
}

/* فاصله همبرگری از بالا */
.hamburger-wrapper {
  top: 20px; /* قبلاً 10px بود */
}


/* آیتم منو خانه */
.menu-item {
  margin-top: 60px;
  background-color: #ee3a3a;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* آیکون خانه با فونت‌آیکون */
.home-icon {
  font-size: 18px;
  color: white;
}
.home-text{
    font-weight: bold;
    margin-left: 103px;
}

/* وقتی ستون راست جمع می‌شه، فقط آیکون بمونه */
#right.collapsed .home-text {
  opacity: 0;
  width: 0;
  padding: 0;
  margin: 0;
}

.line{
        margin: 16px 0px 24px;
    flex-shrink: 0;
    border-width: 0px 0px thin;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.12);
}
.daste{
    color:#979797;
    font-weight: bold;
    margin-bottom: 25px; 
}
svg{
    width:25px;
    height:25px;
}

/* متن خانه */
.home-text {
  transition: opacity 0.3s ease, width 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
}

/* وقتی ستون راست جمع می‌شه، فقط آیکون بمونه */
#right.collapsed .home-text {
  opacity: 0;
  width: 0;
  padding: 0;
  margin: 0;
}

.podcast-icon {
  display: flex;
  align-items: center;
  margin-bottom: 22px; /* فاصله بین آیتم‌ها */
}
.podcast-icon span.home-text{
    margin-right:15px;
}

.podcast-icon.centered {
  justify-content: center;
  margin: 20px 0;
}

.podcast-icon.centered .home-text {
  display: none;
}
.category-header.centered {
  justify-content: center;
}

.category-header.centered svg {
  margin: 0 auto;
}






#header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 70px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-sizing: border-box;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* سمت راست: لوگو + سرچ */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* باکس جستجو */
.search-box {
  display: flex;
  align-items: center;
  background-color: #f2f2f2;
  border-radius: 10px;
  padding: 5px 15px;
  width: 250px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  padding: 8px;
  flex: 1;
  font-size: 14px;
}

.search-box button {
background-color:transparent;
  border: none;
  color: white;
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size:17px;
}

.search-box input::placeholder {
  color: #999; /* رنگ خاکستری ملایم */
  font-family: 'Vazir';
}

/* سمت چپ: کاربر + اشتراک */
.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-section {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #333;
}

.user-section i {
    font-size: 32px;
    color: rgba(0, 0, 0, 0.54);
}

.subscribe-btn {
  background-color: #ee3a3a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* سایه ملایم اطراف دکمه */
  margin-left: 15px;
  font-family: 'Vazir';
}

.subscribe-btn:hover {
  background-color: darkred;
}


.arrow-icon {
  font-size: 14px;
  color: #555;
  transition: transform 0.3s ease;
}

.arrow-icon.rotate {
  transform: rotate(180deg);
}

.podcast-categories {
  padding: 10px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-top: 5px;
}

ul li{
        list-style: none;
}

.category-header{
    display:flex;
    margin-bottom: 20px;
    justify-content: space-between;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 97%;
  height: 400px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
    margin-top: 50px;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.6);
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  border-radius: 20%;
}

.nav.prev { left: 10px; }
.nav.next { right: 10px; }

.indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #ff4081;
}

.titr{
    display:flex;
    margin-top: 40px;
}
.titr svg.svg{
        margin-right: 15px;
    fill: rgb(247 0 0);
}
.titr b{
        margin-right: 8px;
color:rgb(247 0 0);
}

.boxcontent {
    max-width:97%;
    margin: auto;
    border-radius: 12px;
    margin-top: 50px;
    background: #ff0000;
    height: 548px;
}
