/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/Footer2/Footer.module.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.Footer_wrapper__0uT6I {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 5px;
  z-index: 9999;
}

.Footer_button__mPykY {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f39c12, #f39c12);
  color: #fff;
  border: 1px solid #f39c12;
  cursor: pointer;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 1px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.Footer_button__mPykY:hover {
  transform: translateY(-2px) scale(1.07);
}

.Footer_panel__WgV6P {
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  background: #f39c12;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-radius: 40px;
  border: 1px solid #1e293b;
  transition:
    max-width 0.45s cubic-bezier(0.42, 0, 0.2, 1),
    opacity 0.3s ease,
    padding 0.32s ease;
  padding: 0;

}

/* باز شدن */
.Footer_open__9erML {
  box-sizing: border-box;
  max-width: 260px;
  padding: 5px 22px;
  opacity: 1;
}

/* لینک */
.Footer_link__R4Std {
  color: black;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 500;
  transition: color 0.25s ease;
  line-height: 29px;
}

.Footer_link__R4Std:hover {
  color: #fff;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/header/header.module.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
/* ========================================= */
/* دسکتاپ و تبلت (بزرگتر از 750px) */
/* ========================================= */
@media (min-width: 751px) {
  .header_mainmobile__aRsSl {
    display: none;
  }

  .header_mainweb__OqNu0 {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 15%;
    background: #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 40px 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

  .header_image__Omt_3 {
    width: 60%;
    max-width: 120px;
    margin-bottom: 50px;
  }

  .header_image__Omt_3 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  }

  .header_items__QpYMM {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    flex: .9 1;
  }

  .header_item__vAgdV {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 300;
    cursor: pointer;
    text-decoration: none;
    padding: 16px 30px;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header_item__vAgdV:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-right: 35px;
  }

  .header_item__vAgdV::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #f39c12;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 4px 0 0 4px;
  }

  .header_item__vAgdV:hover::before {
    transform: scaleY(1);
  }

  /* استایل تب فعال (Active) */
  .header_activeItem__HuCo0 {
    background: rgba(243, 156, 18, 0.1) !important;
    color: #f39c12 !important;
    font-weight: 700;
  }

  .header_activeItem__HuCo0::before {
    transform: scaleY(1);
  }

  .header_desktopFooter__Fl3sq {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 751px) and (max-width: 1024px) {
  .header_item__vAgdV {
    font-size: 13px;
    padding: 14px 15px;
  }

  .header_item__vAgdV:hover {
    padding-right: 20px;
  }
}

/* ========================================= */
/* موبایل (کوچکتر از 750px) - بازسازی کامل */
/* ========================================= */
@media (max-width: 750px) {
  .header_mainweb__OqNu0 {
    display: none;
  }

  .header_mainmobile__aRsSl {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(30, 41, 59, 0.95);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1100;
  }

  .header_topbar__xFF2V {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .header_leftBtn__lZtje img {
    height: 38px;
    object-fit: contain;
  }

  .header_rightBtn__t90mx {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
  }

  .header_rightBtn__t90mx:active {
    background: rgba(255, 255, 255, 0.1);
  }

  .header_mobileOverlay__hwHn1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    z-index: 1200;
  }

  .header_sideMenu__zcGh4 {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #1e293b;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .header_sideMenuHeader__f_1Y4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .header_sideMenuHeader__f_1Y4 img {
    height: 35px;
  }

  .header_closeMenuBtn__kfoea {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .header_menuList__JWyXT {
    list-style: none;
    padding: 16px 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1;
    gap: 8px;
  }

  .header_menuList__JWyXT a {
    text-decoration: none;
  }

  .header_menuList__JWyXT li {
    padding: 14px 20px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s;
  }

  .header_menuList__JWyXT li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
  }

  .header_activeMobileItem__MhA7L {
    background: rgba(243, 156, 18, 0.15) !important;
    color: #f39c12 !important;
    font-weight: 700 !important;
  }

  .header_sideMenuFooter__5wNPA {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* ========================================= */
/* دکمه احراز هویت مشترک */
/* ========================================= */
.header_authButton__2Hh85 {
  width: max-content;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #fff;
  box-sizing: border-box;
  padding: 14px 10px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  justify-content: center;
  display: flex;
  align-items: center;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: auto auto;
  box-shadow: 0 8px 16px rgba(243, 156, 18, 0.25);
}

.header_authButton__2Hh85:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(243, 156, 18, 0.35);
}

/* ========================================= */
/* پاپ آپ (Popup) مدرن شده */
/* ========================================= */
.header_popupOverlay__hx5ss {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.header_popup__UtfWW {
  background: #ffffff;
  border-radius: 28px;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  direction: rtl;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.header_popupHeader__Qc7gi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

.header_popupHeader__Qc7gi h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.header_closeButton__JpsX7 {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.header_closeButton__JpsX7:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.header_popupBody__zqP_f {
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  flex: 1 1;
  overflow: hidden;
  background: #f8fafc;
}

.header_selectGroup__YRXH2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.header_selectWrapper__IMd_A {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header_selectWrapper__IMd_A label {
  font-size: 14px;
  color: #64748b;
  font-weight: 700;
}

.header_select__drS_r {
  width: 100%;
  padding: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background-color: #fff;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 16px center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.header_select__drS_r:focus {
  outline: none;
  border-color: #f39c12;
  box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.1);
}

.header_subListContainer__vdT2G {
  flex: 1 1;
  overflow-y: auto;
  padding-right: 4px;
}

.header_subListContainer__vdT2G::-webkit-scrollbar {
  width: 6px;
}

.header_subListContainer__vdT2G::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.header_subGrid__HTObV {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  gap: 10px;
}

.header_subCard__zqBxr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.header_subCard__zqBxr:hover {
  border-color: #f39c12;
  color: #f39c12;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(243, 156, 18, 0.08);
}

.header_subCard__zqBxr:hover .header_arrowIcon__mOltE {
  color: #f39c12;
  transform: translateX(-4px);
}

.header_arrowIcon__mOltE {
  color: #cbd5e1;
  font-size: 20px;
  transition: all 0.2s;
}

.header_emptyState__3VNez {
  text-align: center;
  color: #94a3b8;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.header_emptyCircle__5sR4I {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e2e8f0;
  opacity: 0.5;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/rankingPage/Box1/Box1.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
/* پایه */
.Box1_main__rFG_x {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 40px 16px;
  box-sizing: border-box;
  direction: rtl;
}

.Box1_header__QVRpH {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.Box1_headerText__Nhj4r {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 900;
  color: #34495e;
  border-bottom: 4px solid #f39c12;
  padding-bottom: 8px;
  border-radius: 2px;
}

/* لیست باکس‌ها */
.Box1_list__RHrQU {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* باکس اصلی (Liquid Glass متعادل‌تر) */
.Box1_item__jvi7F {
  border-radius: 24px;
  padding: 0;
  overflow: hidden;

  /* پس‌زمینه کمی تیره‌تر برای خوانایی بهتر متن */
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.4));

  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.1);
  transition: all 300ms ease;
}

/* هاور ملایم‌تر */
.Box1_item__jvi7F:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.5));
}

.Box1_itemActive__Cp8SE {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.6));
  border: 1px solid rgba(243, 156, 18, 0.3);
}

/* استایل ویژه رتبه اول (حذف سفیدی زننده و جایگزینی با هاله گرم) */
.Box1_firstRankItem__r0UQb {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(211, 84, 0, 0.25));
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-top: 1px solid rgba(243, 156, 18, 0.6);
  box-shadow: 0 12px 35px 0 rgba(243, 156, 18, 0.1), inset 0 1px 2px rgba(243, 156, 18, 0.2);
}

.Box1_firstRankItem__r0UQb:hover {
  box-shadow: 0 15px 40px 0 rgba(243, 156, 18, 0.15), inset 0 1px 2px rgba(243, 156, 18, 0.25);
}

/* بالای کارت */
.Box1_itemTop__Co4k0 {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: right;
}

/* رتبه */
.Box1_rankWrapper__CUzP5 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.Box1_firstRankWrapper__QgBoz {
  background: linear-gradient(135deg, #f39c12, #d35400);
  border: none;
  box-shadow: 0 4px 12px rgba(211, 84, 0, 0.3);
}

.Box1_rank__qDd9x {
  font-weight: 300;
  font-size: 24px;
  color: #f39c12;
}

.Box1_firstRankText__PZigC {
  color: #fff;
  font-size: 20px;
}

/* عکس */
.Box1_thumbWrap__pW1Jg {
  width: 110px;
  height: 80px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.Box1_thumb__H8amc {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.Box1_item__jvi7F:hover .Box1_thumb__H8amc {
  transform: scale(1.05);
  /* هاور عکس هم ملایم‌تر شد */
}

/* عنوان - اصلاح برای موبایل */
.Box1_titleWrapper__xT4Hq {
  flex: 1 1;
  min-width: 0;
}

.Box1_itemName__To5Cp {
  margin: 0;
  font-weight: 300;
  color: #ffffff;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.4;

  /* نمایش تا ۲ خط و سپس نقطه چین */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

/* آیکون دراپ‌داون */
.Box1_iconWrapper__pwF3Z {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  transition: all 200ms ease;
}

.Box1_firstRankItem__r0UQb .Box1_iconWrapper__pwF3Z {
  background: rgba(243, 156, 18, 0.15);
}

.Box1_itemTop__Co4k0:hover .Box1_iconWrapper__pwF3Z {
  background: rgba(255, 255, 255, 0.1);
}

.Box1_icon__kHJRV {
  transition: transform 300ms ease;
}

.Box1_itemTop__Co4k0[aria-expanded="true"] .Box1_icon__kHJRV {
  transform: rotate(180deg);
}

/* dropdown */
.Box1_dropdownBox__W48B2 {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 500ms ease, opacity 400ms ease;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.Box1_dropdownOpen__CinXU {
  max-height: 800px;
  opacity: 1;
}

.Box1_dropdownInner___77x1 {
  padding: 24px;
}

/* details */
.Box1_details__qrkiX {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.Box1_detailGrid__XPKVX {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.Box1_detailRow__DmPy6,
.Box1_detailRowFull__B4wiB {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.Box1_detailLabel__tRUTD {
  font-size: 11px;
  color: #f39c12;
  font-weight: 700;
  opacity: 0.9;
}

.Box1_detailValue__e6xUv {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

/* پنل رضایت و رای */
.Box1_votePanel__jZmS8 {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.Box1_satisfactionDisplay__oTg8p {
  flex: 1 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.Box1_satisfactionText__OUngn {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.Box1_percentage__qV_cB {
  font-weight: 900;
  font-size: 28px;
  color: #fff;
}

.Box1_label__SiHQT {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.Box1_progress__AlcqP {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.Box1_progressFill__GD33G {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f39c12, #f1c40f);
  transition: width 500ms ease;
}

/* دکمه‌ها */
.Box1_voteSection__WwJgb {
  display: flex;
  gap: 12px;
}

.Box1_voteBtn__lHNEP {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
}

.Box1_likeBtn__k__aU {
  background: rgba(46, 204, 113, 0.15);
}

.Box1_likeBtn__k__aU:hover {
  background: rgba(46, 204, 113, 0.3);
  transform: translateY(-2px);
}

.Box1_dislikeBtn__hy_8k {
  background: rgba(231, 76, 60, 0.15);
}

.Box1_dislikeBtn__hy_8k:hover {
  background: rgba(231, 76, 60, 0.3);
  transform: translateY(-2px);
}

.Box1_disabled__fbDei {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.Box1_empty__GjLDP {
  text-align: center;
  padding: 40px;
  color: #34495e;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  max-width: 800px;
  margin: 40px auto;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .Box1_itemTop__Co4k0 {
    padding: 16px;
    gap: 12px;
  }

  .Box1_rankWrapper__CUzP5 {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .Box1_rank__qDd9x {
    font-size: 20px;
  }

  .Box1_firstRankText__PZigC {
    font-size: 16px;
  }

  .Box1_thumbWrap__pW1Jg {
    width: 85px;
    height: 65px;
    border-radius: 10px;
  }

  .Box1_dropdownInner___77x1 {
    padding: 16px;
  }

  .Box1_votePanel__jZmS8 {
    flex-direction: column;
    align-items: stretch;
  }

  .Box1_voteSection__WwJgb {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .Box1_main__rFG_x {
    padding: 16px 12px;
  }

  .Box1_itemTop__Co4k0 {
    /* بازگشت به چیدمان خطی برای موبایل به جای شکستن خط */
    flex-wrap: nowrap;
    padding: 14px 12px;
    gap: 10px;
  }

  .Box1_thumbWrap__pW1Jg {
    width: 75px;
    height: 55px;
  }

  .Box1_itemName__To5Cp {
    font-size: 14px;
  }

  .Box1_iconWrapper__pwF3Z {
    width: 32px;
    height: 32px;
  }
}




.Box1_link___2eGd {
  color: #f39c12;
  text-decoration: none;
  font-weight: bold;
  transition: all 200ms ease;
  display: inline-block;
}

.Box1_link___2eGd:hover {
  text-decoration: underline;
  opacity: 0.8;
  transform: translateY(-1px);
}


@media (max-width: 750px) {
  .Box1_main__rFG_x {
    margin-top: 50px;
  }
}
/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/Item2/Item2.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
/* wrapper کلی برای لینک */
.Item2_linkWrapper__0tDJ5 {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  /* برای اینکه در حالت فلکس‌باکس درست جای بگیرد */
}

/* استایل اصلی کارت مقاله */
.Item2_cardMain__n5tA5 {
  display: flex;
  flex-direction: column;
  /* در موبایل، عکس بالا، متن پایین */
  background-color: #ffffff;
  /* پس‌زمینه سفید تمیز */
  border-radius: 25px;
  /* گوشه‌های گرد و جذاب */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  /* سایه نرم و مدرن */
  overflow: hidden;
  /* جلوگیری از بیرون زدن محتوا از گوشه‌ها */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* انیمیشن ظریف برای هاور */
  cursor: pointer;
  width: 100%;
  height: 350px;
  /* ارتفاع ثابت برای هم‌ترازی در گرید */
  margin: 0 auto;
  /* برای سنتر شدن در صورت داشتن عرض محدود */
  direction: rtl;
  /* پیش‌فرض برای فارسی */
}

.Item2_cardMain__n5tA5:hover {
  transform: translateY(-5px);
  /* کمی بالا آمدن کارت هنگام هاور */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  /* سایه قوی‌تر */
}

/* کانتینر عکس */
.Item2_imageContainer__0XeJY {
  width: 100%;
  height: 200px;
  /* ارتفاع عکس */
  overflow: hidden;
  /* برای اطمینان از اینکه عکس داخل محدوده خود است */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* استایل عکس */
.Item2_cardImage__Rc__p {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* پوشش کامل کانتینر با حفظ نسبت ابعاد */
  display: block;
  /* حذف فضای اضافی زیر عکس */
  border-top-left-radius: 25px;
  /* تطابق با گوشه‌های کارت */
  border-top-right-radius: 25px;
}

/* کانتینر متن و عنوان */
.Item2_contentContainer__aEt_9 {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* برای جا دادن عنوان و باقی موارد */
  flex-grow: 1;
  /* برای اینکه این بخش فضای خالی را پر کند */
}

/* عنوان مقاله */
.Item2_cardTitle__VvC0Q {
  font-size: 18px;
  font-weight: 700;
  /* فونت ضخیم‌تر برای عنوان */
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* نمایش حداکثر دو خط عنوان */
  -webkit-box-orient: vertical;
}

/* استایل برای وضعیت بارگذاری */
.Item2_loading__x2pug {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  /* ارتفاع ثابت برای لودینگ */
  background-color: #f8f8f8;
  color: #777;
  font-size: 16px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- Media Queries برای ریسپانسیو شدن --- */

/* موبایل (کوچکتر از 750px) */
@media (max-width: 750px) {
  .Item2_cardMain__n5tA5 {
    flex-direction: row;
    /* در موبایل، کنار هم: عکس سمت راست، متن سمت چپ */
    height: 120px;
    /* ارتفاع کمتر */
    padding: 15px;
    gap: 15px;
    border-radius: 15px;
  }

  .Item2_cardMain__n5tA5:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .Item2_imageContainer__0XeJY {
    height: 90px;
    /* عکس کوچکتر */
    width: 120px;
    /* عرض ثابت برای عکس */
    flex-shrink: 0;
    /* جلوگیری از کوچک شدن عکس */
  }

  .Item2_cardImage__Rc__p {
    border-radius: 15px;
    /* گوشه‌های گردتر برای عکس در موبایل */
    object-fit: cover;
  }

  .Item2_contentContainer__aEt_9 {
    padding: 0;
    /* حذف padding اضافی */
  }

  .Item2_cardTitle__VvC0Q {
    font-size: 14px;
    /* فونت کوچکتر برای عنوان */
    margin-bottom: 5px;
    -webkit-line-clamp: 3;
    /* اجازه نمایش سه خط عنوان */
  }

  .Item2_linkWrapper__0tDJ5 {
    direction: ltr !important;
    /* جهت کل لینک برای چیدمان صحیح */
  }
}

/* تبلت (بین 750px تا 1250px) */
@media (min-width: 750px) and (max-width: 1250px) {
  .Item2_cardMain__n5tA5 {
    height: 280px;
    /* ارتفاع متوسط */
    padding: 20px;
    gap: 15px;
    border-radius: 20px;
  }

  .Item2_cardMain__n5tA5:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  }

  .Item2_imageContainer__0XeJY {
    height: 160px;
    /* ارتفاع عکس متوسط */
  }

  .Item2_cardImage__Rc__p {
    border-radius: 20px;
  }

  .Item2_cardTitle__VvC0Q {
    font-size: 16px;
    /* فونت کمی بزرگتر */
    margin-bottom: 10px;
    -webkit-line-clamp: 2;
  }
}

/* دسکتاپ (بزرگتر از 1250px) */
@media (min-width: 1250px) {
  .Item2_cardMain__n5tA5 {
    width: 100%;
    /* اجازه بده عرض به صورت داینامیک تنظیم شود */
    max-width: 400px;
    /* حداکثر عرض کارت */
    height: 380px;
    /* ارتفاع کمی بیشتر */
    padding: 25px;
    gap: 15px;
    border-radius: 25px;
  }

  .Item2_cardImage__Rc__p {
    border-radius: 20px;
    /* کمی گردتر */
  }

  .Item2_cardTitle__VvC0Q {
    font-size: 18px;
    /* فونت عنوان اصلی */
    margin-bottom: 12px;
  }
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/rankingPage/Box2/Box2.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
@media (max-width: 750px) {
  .Box2_mainmobile__15OJa {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    height: max-content;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
  }

  .Box2_title__ePLcQ {
    font-size: 20px;
    height: max-content;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35%;
    text-wrap: nowrap;
    border-bottom: 3px solid #f39c12;
    align-self: flex-end;
  }

  .Box2_item__lYIXb {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    /* overflow-y: hidden;
    flex-wrap: nowrap; */
    box-sizing: border-box;
    /* align-items: flex-end;
    justify-content: flex-end; */
    padding: 20px;
    gap: 20px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .Box2_item__lYIXb>* {
    flex-shrink: 0;
  }

  .Box2_mainweb__RBGQz {
    display: none;
  }
}

@media (min-width: 750px) and (max-width: 1250px) {
  .Box2_mainmobile__15OJa {
    display: none;
  }

  .Box2_mainweb__RBGQz {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    height: max-content;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
  }

  .Box2_title__ePLcQ {
    font-size: 15px;
    height: max-content;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15%;
    border-bottom: 3px solid #f39c12;
    align-self: flex-end;
  }

  .Box2_item__lYIXb {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    /* align-items: flex-end;
    justify-content: flex-end; */
    /* overflow-y: hidden;
    flex-wrap: nowrap; */
    box-sizing: border-box;
    padding: 20px;
    gap: 20px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .Box2_item__lYIXb>* {
    flex-shrink: 0;
  }
}

@media (min-width: 1250px) {
  .Box2_mainmobile__15OJa {
    display: none;
  }

  .Box2_mainweb__RBGQz {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    height: max-content;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    gap: 20px;
  }

  .Box2_title__ePLcQ {
    font-size: 18px;
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15%;
    border-bottom: 3px solid #f39c12;
    align-self: flex-end;
  }

  .Box2_item__lYIXb {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    /* align-items: flex-end;
    justify-content: flex-end; */
    box-sizing: border-box;
    padding: 20px;
    gap: 20px;
    width: 100%;
    scrollbar-width: none;
  }

  .Box2_item__lYIXb>* {
    flex-shrink: 0;
  }
}

.Box2_item__lYIXb {
  direction: rtl;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/commentBox/commentBox.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
.commentBox_wrapper__beU5Z {

  width: 100%;

  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px;

  display: grid;
  grid-template-columns: 1fr 350px;
  grid-gap: 40px;
  gap: 40px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.25);
  direction: rtl;
  border: var(--bg) 1px solid;
}

/* comments */

.commentBox_comments__9U_sF {

  height: 420px;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 18px;

  padding-left: 10px;

}

/* scrollbar */

.commentBox_comments__9U_sF::-webkit-scrollbar {
  width: 6px;
}

.commentBox_comments__9U_sF::-webkit-scrollbar-thumb {
  background: #f39c12;
  border-radius: 10px;
}

/* comment */

.commentBox_comment__6hBw5 {

  display: flex;
  gap: 12px;
  align-items: flex-start;

}

.commentBox_avatar__y_WB5 {

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: #f39c12;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;

  flex-shrink: 0;

}

.commentBox_content__OS_Zd {

  background: #f5f5f5;
  box-sizing: border-box;
  padding: 12px 14px;

  border-radius: 10px;

  max-width: 520px;

}

.commentBox_name__mKQ_l {

  font-size: 13px;
  font-weight: 600;

  margin-bottom: 4px;

  color: #333;

}

.commentBox_text__8zLJ4 {

  font-size: 14px;
  line-height: 1.7;

  color: #444;

}

/* form */

.commentBox_form__MrNqc {

  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: auto auto;
  width: 100%;
}

.commentBox_form__MrNqc input,
.commentBox_form__MrNqc textarea {

  border: 1px solid #e3e3e3;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 11px 12px;

  font-family: inherit;
  font-size: 14px;

}

.commentBox_form__MrNqc textarea {

  height: 190px;
  resize: none;

}

.commentBox_form__MrNqc button {

  background: #f39c12;
  color: white;

  border: none;
  border-radius: 8px;

  padding: 12px;

  cursor: pointer;

  font-weight: 600;

}

.commentBox_form__MrNqc button:hover {
  background-color: #f39d12c3;
}

/* mobile */

@media(max-width:900px) {

  .commentBox_wrapper__beU5Z {

    grid-template-columns: 1fr;
    gap: 30px;

  }

  .commentBox_comments__9U_sF {

    height: 360px;

  }

}
/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/rankingPage/Box3/Box3.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
.Box3_wrapper__n3KHl {

  width: 100%;
  max-width: 1400px;
  box-sizing: border-box;
  margin: auto auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===== header ===== */

.Box3_header__fVgkO {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.Box3_header__fVgkO h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: #1e1e1e;
}

.Box3_line__QsMAF {
  width: 120px;
  height: 4px;
  background: #f39c12;
  border-radius: 4px;
}

.Box3_content__KMXye {
  width: 100%;
  display: flex;
  justify-content: center;
}


@media(max-width:900px) {

  .Box3_wrapper__n3KHl {

    margin: 10px auto;
    gap: 25px;

  }

  .Box3_header__fVgkO h2 {

    font-size: 20px;

  }

  .Box3_line__QsMAF {

    width: 90px;

  }

}

@media(max-width:500px) {

  .Box3_header__fVgkO h2 {

    font-size: 18px;

  }

  .Box3_line__QsMAF {

    width: 70px;

  }

  /* 
  .comment {
    padding: 0;
  } */

}
/*!********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/component/rankingPage/rankingPage.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************/
@media (min-width: 750px) {
  .rankingPage_content__2wPrX {
    width: 85%;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

