/* ==========================================
================== fonts ====================
========================================== */
@font-face {
  font-family: iransans;
  src: url("../fonts/IRANSansXV.ttf") format("truetype");
}

:root {
  --background-color: #ffffff;
  --font-primary-color: #ffffff;
  --normal-white-color: #ffffff;

  --light-primary-color: #f0545e;
  --normal-primary-color: #f03a44;
  --dark-primary-color: #d12a34;

  --normal-secondary-color: #f9f9f9;
  --dark-secondary-color: #f0f0f0;

  --green-color: #9ae6c5;
  --gold-color: #ffe88c;

  --primary-transparent-1: rgba(236, 58, 68, 0.2);
  --primary-transparent-2: rgba(236, 58, 68, 0.5);
  --secondary-transparent-1: rgba(168, 179, 201, 0.2);
  --white-transparent-1: #fffffff5;
  --white-transparent-2: #ffffffee;

  --site-bg-color: #191c1f;
  --header-bg-color: #191c1fb2;
  --header-font-color: #ffffff;
  --header-gray-color: #838383;
  --header-red-color: #ec3a44;
  --header-red-dark-color: #c7222c;
}

/* ==========================================
================ reset ======================
========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  list-style: none;
  font-family: "iransans";
}
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* افکت اسکرول/پارالکس عمودی در تمام سایت حفظ می‌شود. */
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

/*
 * صفحات داخلی بلند و با ارتفاع متغیر هستند. scroll-snap روی ریشه‌ی این صفحات
 * باعث قفل شدن جهت برگشت و پرش بین هیرو/فوتر می‌شد. بنابراین snap فقط برای
 * صفحه‌ی اصلیِ سکشنی باقی می‌ماند؛ پارالکس صفحات داخلی مستقل و با JS اجرا می‌شود.
 */
html.rs-snap-js { scroll-snap-type: none; scroll-behavior: auto; }
html.is-inner-page {
  scroll-snap-type: none;
  scroll-padding-top: 0;
}
html.is-inner-page .single-hero,
html.is-inner-page .archive-hero,
html.is-inner-page .video-page-wrapper,
html.is-inner-page .single-page-wrapper > .container,
html.is-inner-page .archive-wrapper > .container,
html.is-inner-page #comments,
html.is-inner-page .single-events-section,
html.is-inner-page .single-news-section,
html.is-inner-page .single-features-section,
html.is-inner-page footer,
html.is-inner-page .main-footer {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}
body {
  background-color: var(--site-bg-color);
  overflow-x: hidden;
  overflow-wrap: break-word;
  font: 13px "iransans";
  color: var(--font-primary-color);
}
.number { direction: ltr; }
p { font-weight: 600; line-height: 1.1rem; }
a { text-decoration: none; color: var(--font-primary-color); }
.icon { width: 18px; height: 18px; }
.icon svg,
.icon emdad-icon { width: 100%; height: 100%; }
img { width: 100%; }
h2 { font-size: 18px; }

/* ==========================================
================ container ==================
========================================== */
.container {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
  height: 100%;
}

/* ==========================================
===== SWEEP HOVER — سیستم یکپارچه دکمه‌ها ====
  فقط sweep پس‌زمینه مشترکه.
  رنگ متن و بوردر هر المان جداگانه تعریف می‌شه
  تا هیچ استایل موجودی خراب نشه.
========================================== */
.btn, .btn--download, .see-more, .music-section__playlist-link,  .news-item__more, .np-btn, .gp-btn, .gp-icon-btn, .lang-switch, .notif-btn, .event-item {
  position: relative; overflow: hidden; isolation: isolate; transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; }

/* این بخش جدید است: اضافه کردن تاخیر (Delay) در زمان هاور شدن برای تغییر رنگ متن */
.btn:hover, .btn--download:hover, .see-more:hover, .music-section__playlist-link:hover,  .gp-btn:hover, .gp-icon-btn:hover, .lang-switch:hover, .notif-btn:hover, .event-item:hover {
  transition: color 0.3s ease 0.15s, border-color 0.3s ease 0.15s, background-color 0.3s ease 0.15s; }

.btn::before, .btn--download::before, .see-more::before, .music-section__playlist-link::before, .news-item__more::before, .np-btn::before, .gp-btn::before, .gp-icon-btn::before, .lang-switch::before, .notif-btn::before, .event-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background-color: var(--header-font-color); transform: scaleX(0); transform-origin: right; transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1); }

.btn:hover::before, .btn--download:hover::before, .see-more:hover::before, .music-section__playlist-link:hover::before,   .gp-btn:hover::before, .gp-icon-btn:hover::before, .lang-switch:hover::before, .notif-btn:hover::before, .event-item:hover::before {
  transform: scaleX(1); }

/* ==========================================
================ main-header ================
========================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  color: var(--header-font-color);
  transition: box-shadow 0.3s ease;
}
.main-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--header-bg-color);
  backdrop-filter: blur(10px);
}
.main-header.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.35); }
.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 64px;
}
.main-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.main-header__logo:hover { transform: scale(1.05); }
.main-header__logo img { width: auto; height: 52px; max-width: 190px; object-fit: contain; }
.rs-logo-text { font-size: 16px; font-weight: 800; color: #fff; }
.main-footer__logo { display: inline-flex; margin-bottom: 4px; }
.main-footer__logo img { width: auto; height: 88px; max-width: 240px; object-fit: contain; }
.main-header__logo img, .main-footer__logo img { filter: brightness(0) invert(1); }

/* ---- nav ---- */
.main-nav__list { display: flex; align-items: center; gap: 28px; }
.main-nav__item { position: relative; }
.main-nav__item > a {
  display: block;
  position: relative;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--header-font-color);
  transition: color 0.2s ease;
}
.main-nav__item > a::before {
  content: "";
  position: absolute;
  right: 0; bottom: 4px;
  width: 0; height: 2px;
  background-color: var(--header-red-color);
  transition: width 0.25s ease;
}
.main-nav__item > a:hover { color: var(--header-red-color); }
.main-nav__item > a:hover::before { width: 100%; }

/* ---- mega menu ---- */
.main-nav__item.has-mega > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 6px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  vertical-align: 2px;
  transition: transform 0.3s ease;
}
.main-nav__item.has-mega.is-open > a::after { transform: rotate(-135deg); }
.mega-menu {
  position: absolute;
  /* top sits flush against the nav item (no gap) so the cursor never
     crosses a "dead zone" between the trigger and the panel while
     moving the mouse down into it — that dead zone was what made the
     menu feel like it "jumps"/closes before the mouse arrives. */
  top: 100%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(27,30,34,.97), rgba(16,18,21,.97));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px) scale(.97);
  transform-origin: top right;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}
.main-nav__item.has-mega:hover .mega-menu,
.main-nav__item.has-mega:focus-within .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.mega-menu__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--header-gray-color);
  padding: 10px 14px;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.mega-menu__link:hover {
  color: var(--header-font-color);
  background-color: rgba(255,255,255,.06);
  transform: translateX(-4px);
}

/* ---- actions: lang-switch + notif-btn ---- */
.main-header__actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  cursor: pointer;
  color: var(--header-font-color);
  font-size: 13px;
}
.lang-switch:hover { color: var(--header-red-color); transform: translateY(-2px); }
/* sweep سفید → متن به سایت‌بک می‌ره */
.lang-switch::before { background-color: transparent; } /* لغو sweep — hover رنگی کافیه */

.notif-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  cursor: pointer;
  color: var(--header-font-color);
  font-size: 13px;
  border: 1px solid var(--header-gray-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
}
.notif-btn:hover {
  color: var(--site-bg-color);
  border-color: var(--header-font-color);
  transform: translateY(-2px);
}
/* notif-btn sweep سفید اوکیه — از لیست مشترک ارث می‌بره */

.lang-switch .icon,
.notif-btn .icon { width: 18px; height: 18px; }
.lang-switch .icon svg,
.notif-btn .icon svg { width: 100%; height: 100%; fill: currentColor; }

/* ---- mobile toggle ---- */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  background: none;
}
.nav-toggle-btn span {
  display: block;
  width: 100%; height: 2px;
  background-color: var(--header-font-color);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.main-header.nav-open .nav-toggle-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.main-header.nav-open .nav-toggle-btn span:nth-child(2) { opacity: 0; }
.main-header.nav-open .nav-toggle-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
================ hero section ================
========================================== */
main { position: relative; }
.hero-section {
  position: relative;
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-section .hero-slider { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-slider .swiper-slide { width: 100%; }
.hero-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slider .swiper-pagination { bottom: 24px; z-index: 3; }
.hero-slider .swiper-pagination-bullet { background: rgba(255,255,255,.6); opacity: 1; }
.hero-slider .swiper-pagination-bullet-active { background: var(--header-red-color); }

/* ---- کراس‌فید بین اسلایدها (به‌جای اسلاید کنار هم) + زوم آروم روی
   عکس فعال، مثل افکت Ken Burns؛ Swiper با effect:"fade" این رو کنترل
   می‌کنه، اینجا فقط ترنزیشن و زوم عکس رو تعریف می‌کنیم ---- */
.hero-slider .swiper-slide img {
  transform: scale(1);
  transition: transform 6.5s linear;
}
.hero-slider .swiper-slide-active img {
  animation: heroSlideZoom 6.5s linear forwards;
}
@keyframes heroSlideZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .swiper-slide-active img { animation: none; }
}

/* ---- متن روی هیرو با هر تغییر اسلاید یه افکت فید+بالا‌اومدن ملایم
   می‌گیره؛ کلاس is-animating توسط main.js موقع slideChange دوباره
   ست می‌شه تا انیمیشن ریست بشه ---- */
.hero-section__content.is-animating .hero-section__badge,
.hero-section__content.is-animating .hero-section__title,
.hero-section__content.is-animating .hero-section__desc,
.hero-section__content.is-animating .hero-section__actions {
  animation: heroTextIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-section__content.is-animating .hero-section__title { animation-delay: 0.08s; }
.hero-section__content.is-animating .hero-section__desc { animation-delay: 0.16s; }
.hero-section__content.is-animating .hero-section__actions { animation-delay: 0.24s; }

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-section__content.is-animating .hero-section__badge,
  .hero-section__content.is-animating .hero-section__title,
  .hero-section__content.is-animating .hero-section__desc,
  .hero-section__content.is-animating .hero-section__actions {
    animation: none;
  }
}
.hero-section__overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(to top left, #2b3235 0%, #2b3235 25%, rgba(43,50,53,0) 75%),
    linear-gradient(to left, #2b3235 0%, #2b3235 3%, rgba(43,50,53,0) 52%);
}
.hero-section .container { position: relative; z-index: 2; display: flex; align-items: center; height: 100%; }
.hero-section__content { text-align: right; max-width: 560px; }
.hero-section__badge {
  display: inline-block;
  padding: 6px 16px; margin-bottom: 22px;
  border: 1px solid var(--header-red-color);
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--header-red-color);
}
.hero-section__title { font-size: 54px; font-weight: 900; line-height: 1.25; color: var(--header-font-color); }
.hero-section__title span { color: var(--header-red-color); }
.hero-section__desc { margin-top: 22px; max-width: 440px; font-size: 15px; font-weight: 500; line-height: 2; color: var(--header-gray-color); }
.hero-section__actions { display: flex; align-items: center; gap: 16px; margin-top: 38px; }

/* ==========================================
================ buttons (site-wide) =========
========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn .icon { width: 16px; height: 16px; transition: transform 0.4s ease; }
.btn:hover .icon { transform: translateX(-3px); }

.btn--primary { background-color: var(--header-red-color); color: var(--header-font-color); }
.btn--primary:hover { color: var(--header-red-color); }

.btn--outline { background-color: transparent; border-color: var(--header-gray-color); color: var(--header-font-color); }
.btn--outline:hover { border-color: var(--header-font-color); color: var(--site-bg-color); }

/* download */
.btn--download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  padding: 15px 16px;
  border-radius: 999px;
  border:1px solid var(--header-red-color);
  font-size: 12px;
  font-weight: 600;
  color: var(--header-font-color);
}
.btn--download:hover { color: var(--header-red-color); }
.btn--download svg { width: 14px; height: 14px; }

/* see-more */
.see-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  font-size: 12px;
  font-weight: 600;
  color: var(--header-gray-color);
  width: fit-content;
  padding: 4px 2px;
  border-radius: 50px;
  margin-top: 3px;
}
.see-more:hover { color: var(--site-bg-color); }
.see-more__icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex-shrink: 0; }
.see-more__icon svg { width: 100%; height: 100%; display: block; }
.see-more > span:first-child { display: inline-flex; align-items: center; line-height: 1; padding-top: 1px; }

/* event-item */
.event-item { color: var(--normal-white-color); }
.event-item::before { background-color: var(--white-transparent-1); }
.event-item:hover {
  border-color: var(--header-font-color);
  color: var(--site-bg-color);
  background-color: transparent;
}
.event-item:hover .event-item__icon,
.event-item:hover .event-item__meta { color: var(--site-bg-color); }

/* ==========================================
================ music section ===============
========================================== */
.music-section {
  position: relative;
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #191C1F;
  color: var(--header-font-color);
}
.music-section__inner {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  grid-template-areas: "menu list player";
  gap: 28px;
  width: 100%;
  height: auto;
}

.music-section__menu { grid-area: menu; align-self: start; display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; }
.music-section__menu-head { display: flex; align-items: center; justify-content: flex-start; gap: 10px; font-size: 16px; font-weight: 800; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.music-section__menu-icon {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border-radius: 9px;
  background-color: var(--primary-transparent-1);
  color: var(--header-red-color);
  flex-shrink: 0;
}
.music-section__menu-icon svg { width: 16px; height: 16px; }

.music-tabs { display: flex; flex-direction: column; gap: 6px; }
.music-tabs__item {
  position: relative;
  display: flex; align-items: center;
  padding: 11px 16px;
  border-radius: 12px;
  color: var(--header-gray-color);
  font-size: 14px; font-weight: 600;
  transition: color .25s ease, background-color .25s ease;
}
.music-tabs__item::before {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 3px; height: 0; border-radius: 3px;
  background: var(--header-red-color);
  transform: translateY(-50%);
  transition: height .3s ease;
}
.music-tabs__item:hover { color: var(--header-font-color); background-color: rgba(255,255,255,.04); }
.music-tabs__item.is-active { color: var(--header-font-color); font-weight: 800; background-color: rgba(255,255,255,.07); }
.music-tabs__item.is-active::before { height: 58%; }

.music-section__playlist-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 9px 22px;
  border: 1px solid var(--header-gray-color);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--header-gray-color);
}
.music-section__playlist-link:hover {
  color: var(--site-bg-color);
  border-color: var(--header-font-color);
}

.music-section__list {
  grid-area: list;
  display: flex; flex-direction: column;
  max-height: 320px;
  overflow-y: auto;
  justify-content: center;
  scrollbar-width: thin;
}
.music-section__list::-webkit-scrollbar { width: 6px; }
.music-section__list::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,.15); border-radius: 999px; }

.song-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 4px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background-color 0.2s ease;
}
.music-section__list .song-row:last-child { border-bottom: none; }
.song-row:hover { background-color: rgba(255,255,255,.04); }
.song-row.is-active { color: var(--header-red-color); }
.song-row__rank { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.song-row__avatar { width: 30px; height: 30px; border-radius: 5px; overflow: hidden; border: 2px solid transparent; flex-shrink: 0; }
.song-row__avatar img { width: 100%; height: 100%; object-fit: cover; }
.song-row__index { font-size: 13px; color: var(--header-gray-color); }
.song-row.is-active .song-row__index { color: var(--header-red-color); }
.song-row__note { flex-shrink: 0; width: 16px; height: 16px; color: var(--header-red-color); }
.song-row__note svg { width: 100%; height: 100%; }
.song-row__title { flex: 1; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row__time { font-size: 12px; color: var(--header-gray-color); flex-shrink: 0; }
.song-row.is-active .song-row__time { color: var(--header-red-color); }
.song-row__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.song-row__icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: none; cursor: pointer;
  color: var(--header-gray-color);
}
.song-row__icon-btn svg { width: 14px; height: 14px; }
.song-row__icon-btn:hover { stroke: var(--site-bg-color); }
.song-row.is-active .song-row__icon-btn { color: var(--header-red-color); }

/* ---- now playing card ---- */
.now-playing {
  grid-area: player;
  display: flex; flex-direction: column;
  width: 100%; height: 100%;
  min-height: 320px;
  overflow: hidden;
}
.now-playing__art {
  width: 100%; flex: 1; min-height: 0;
  overflow: hidden;
  filter: grayscale(1);
  border-radius: 16px;
  border: 2px solid #585858;
}
.now-playing__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.now-playing__shade { display: none; }
.now-playing__title { padding: 14px 14px 0; text-align: center; font-size: 14px; font-weight: 700; }
.now-playing__controls { padding: 10px 14px 0; display: flex; align-items: center; justify-content: center; gap: 14px; }
.now-playing__progress { padding: 10px 14px 14px; display: flex; align-items: center; gap: 8px; }
.now-playing__time { font-size: 12px; color: var(--header-gray-color); flex-shrink: 0; }
.now-playing__bar { flex: 1; height: 4px; border-radius: 999px; background-color: rgba(255,255,255,.15); overflow: hidden; }
.now-playing__bar-fill { height: 100%; width: 0%; background-color: var(--header-red-color); border-radius: 999px; transition: width 0.2s linear; }

/* np buttons */
.np-btn {
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--header-gray-color);
}
.np-btn svg { width: 15px; height: 15px; }
.np-btn:hover { stroke: var(--site-bg-color); }

.np-btn--play {
  width: 38px; height: 38px;
  border-radius: 50%;
  background-color: var(--header-red-color);
  color: var(--header-font-color);
  stroke: var(--header-font-color);
}
.np-btn--play svg { width: 16px; height: 16px; }
/* np-btn sweep ندارد؛ هاور فقط پس‌زمینه را تیره می‌کند تا آیکون pause روی قرمز گم نشود */
.np-btn--play:hover { background-color: var(--header-red-dark-color); color: var(--header-font-color); }

.np-btn--play .pause-ico { display: none; gap: 4px; }
.np-btn--play .pause-ico i { width: 4px; height: 16px; border-radius: 2px; background-color: currentColor; }
.np-btn--play.is-playing .play-ico { display: none; }
.np-btn--play.is-playing .pause-ico { display: flex; }

/* ==========================================
======= highlights section (events + news) ===
========================================== */
.highlights-section {
  position: relative;
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--site-bg-color);
  color: var(--header-font-color);
}
.highlights-section__inner {
  display: flex; flex-direction: column; justify-content: center;
  width: 100%;
  padding-top: 60px; padding-bottom: 60px;
}

.events-card__header,
.news-card__header {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: flex-start;
  gap: 10px; font-size: 16px; font-weight: 700;
  margin-bottom: 18px;
}
.card-header__icon {
  display: inline-flex; width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  background-color: var(--primary-transparent-1);
  color: var(--header-red-color); flex-shrink: 0;
}
.card-header__icon svg { width: 16px; height: 16px; }

/* ---- events-card ---- */
.events-card {
  position: relative;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  padding: 20px 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}
.events-card__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.events-card__panel {
  position: relative; z-index: 1;
  /* حداقل عرض ۳۴۰px — از له‌شدن در ویوپورت‌های کم‌عرض جلوگیری می‌کنه */
  width: clamp(340px, 62%, 600px);
  margin-right: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.events-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.event-item {
  display: flex; flex-direction: column; gap: 5px;
  padding: 2px 14px;
  border-radius: 10px;
  border: 1px solid var(--header-gray-color);
}
.event-item__top { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.event-item__title { position: relative; z-index: 1; font-size: 13px; font-weight: 700; }
.event-item__icon { position: relative; z-index: 1; display: inline-flex; width: 18px; height: 18px; flex-shrink: 0; color: var(--normal-white-color); }
.event-item__icon svg { width: 100%; height: 100%; }
.event-item__meta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: var(--normal-white-color); font-size: 11px; }
.event-item__meta-item { display: inline-flex; align-items: center; gap: 4px; }
.event-item__meta-item svg { width: 13px; height: 13px; }

/* ---- news-card ---- */
.news-card { padding: 20px 24px; }
.news-card__body { display: flex; gap: 20px; height: 240px; }
.news-card__feature { flex-shrink: 0; width: 50%; display: flex; align-items: stretch; gap: 16px; }
.news-card__feature-text { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
.news-card__feature-icon { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; color: var(--header-red-color); }
.news-card__feature-icon svg { width: 16px; height: 16px; }
.news-card__feature-text h4 { font-size: 14px; font-weight: 700; margin: 0; }
.news-card__feature-text p { font-size: 12px; line-height: 1.7; color: var(--header-gray-color); margin: 0; }
.news-card__feature-text .title-text{display: flex; align-items: center;}
.btn--download { }
.news-card__feature-img { width: 300px; flex-shrink: 0; border-radius: 14px; object-fit: cover; display: block; }
.news-card__list { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-item { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
.news-card__list .news-item:last-child { border-bottom: none; }
.news-item__avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; }
.news-item__avatar img { width: 100%; height: 100%; object-fit: cover; }
.news-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.news-item__title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item__sub { font-size: 11px; color: var(--header-gray-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item__more {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: none; cursor: pointer;
  color: var(--header-gray-color);
}
.news-item__more svg { width: 16px; height: 16px; }
.news-item__more:hover { stroke: var(--site-bg-color); }

/* ==========================================
============= global sticky player ===========
========================================== */
.global-player {
  position: fixed;
  left: 0; bottom: 0;
  width: 100%; z-index: 1500;
  height: 60px;
  background-color: var(--header-bg-color);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.08);
  transform: translateY(110%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .35s ease, visibility 0s linear .5s;
}
/* پلیر فقط بعد از اولین پخش آهنگ ظاهر می‌شود */
.global-player.is-active {
  transform: none; opacity: 1; visibility: visible; pointer-events: auto;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .35s ease, visibility 0s;
}
.global-player__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }

.global-player__track { display: flex; align-items: center; gap: 10px; width: 240px; flex-shrink: 0; }
.global-player__track img { width: 38px; height: 38px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.global-player__track-info { display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.global-player__track-title { font-size: 12px; font-weight: 700; color: var(--header-font-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.global-player__track-artist { font-size: 11px; color: var(--header-gray-color); }

.gp-icon-btn {
  background: none; cursor: pointer; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--header-gray-color);
}
.gp-icon-btn svg { width: 16px; height: 16px; }
.gp-icon-btn:hover { color: var(--site-bg-color); }

.global-player__center { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; max-width: 520px; }
.global-player__buttons { display: flex; align-items: center; gap: 14px; }

.gp-btn {
  background: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--header-gray-color);
}
.gp-btn svg { width: 16px; height: 16px; }
.gp-btn:hover { color: var(--site-bg-color); }

.gp-btn--play {
  width: 30px; height: 30px;
  border-radius: 50%;
  background-color: var(--header-red-color);
  color: var(--header-font-color);
}
.gp-btn--play svg { width: 14px; height: 14px; }
.gp-btn--play::before { display: none; }
.gp-btn--play:hover { background-color: var(--header-red-dark-color); color: var(--header-font-color); }

.gp-btn--play .pause-ico { display: none; gap: 3px; }
.gp-btn--play .pause-ico i { width: 3px; height: 11px; border-radius: 2px; background-color: currentColor; }
.gp-btn--play.is-playing .play-ico { display: none; }
.gp-btn--play.is-playing .pause-ico { display: flex; }

.global-player__progress { display: flex; align-items: center; gap: 8px; width: 100%; }
.global-player__time { font-size: 10px; color: var(--header-gray-color); flex-shrink: 0; }
.global-player__bar { flex: 1; height: 3px; border-radius: 999px; background-color: rgba(255,255,255,.15); overflow: hidden; cursor: pointer; }
.global-player__bar-fill { height: 100%; width: 0%; background-color: var(--header-red-color); border-radius: 999px; transition: width 0.2s linear; }

.global-player__volume { display: flex; align-items: center; gap: 8px; width: 130px; flex-shrink: 0; color: var(--header-gray-color); }
.global-player__volume svg { width: 16px; height: 16px; }
.global-player__volume-bar { flex: 1; height: 4px; border-radius: 999px; background-color: rgba(255,255,255,.15); overflow: hidden; }
.global-player__volume-fill { width: 70%; height: 100%; background-color: var(--header-font-color); border-radius: 999px; }

/* ==========================================
========= global player art popup ===========
========================================== */
.global-player__track { cursor: pointer; }
.global-player__track .gp-icon-btn { cursor: pointer; }

.gp-art-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.gp-art-modal.is-open { visibility: visible; opacity: 1; }
.gp-art-modal__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(40px) brightness(0.45);
  transform: scale(1.15);
}
.gp-art-modal__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(10, 11, 13, 0.55);
}
.gp-art-modal__close {
  position: absolute;
  top: 24px; left: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background-color: rgba(255,255,255,.08);
  color: var(--header-font-color);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 1;
}
.gp-art-modal__close svg { width: 20px; height: 20px; }
.gp-art-modal__close:hover { background-color: rgba(255,255,255,.18); transform: rotate(90deg); }
.gp-art-modal__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  transform: scale(.92) translateY(14px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.gp-art-modal.is-open .gp-art-modal__content { transform: scale(1) translateY(0); opacity: 1; }
.gp-art-modal__art {
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.gp-art-modal__title { font-size: 20px; font-weight: 700; color: var(--header-font-color); text-align: center; }
.gp-art-modal__artist { font-size: 13px; color: var(--header-gray-color); }
body.gp-modal-open { overflow: hidden; }

.combo-section {
display: block; width: 100%; }

.video-section, .shop-section {
height: auto; scroll-snap-align: start; direction: rtl; overflow: hidden; }

.video-section {
background-color: #481616; }

.shop-section {
background-color: var(--site-bg-color); }

.video-section .container {
min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 0; }

.shop-section .container {
min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 0; }

.section-header {
display: flex; align-items: center; justify-content: flex-start; gap: 10px; font-size: 16px; font-weight: 700; margin-bottom: 24px; color: var(--header-font-color); flex-shrink: 0; }

.section-header--shop {
justify-content: flex-start; }

.shop-icon {
color: var(--header-red-color); width: 22px; height: 22px; display: inline-flex; }

.shop-icon svg {
width: 100%; height: 100%; }

.video-section__slider, .shop-section__slider {
width: 100%; overflow: hidden; margin-bottom: 20px; flex-shrink: 1; }

.video-section__slider .swiper-slide, .shop-section__slider .swiper-slide {
height: auto;
opacity: 0;
transform: scale(0.9);
transition: opacity 0.6s ease, transform 0.6s ease; }

/* Swiper با watchSlidesProgress:true این کلاس رو خودش روی اسلایدهایی
   که داخل دید هستن می‌ذاره؛ همینه که افکت زوم-این و فید رو می‌سازه */
.video-section__slider .swiper-slide-visible, .shop-section__slider .swiper-slide-visible {
opacity: 1;
transform: scale(1); }

.video-card {
display: flex; flex-direction: column; cursor: pointer; text-decoration: none; height: auto; }

.video-card__thumb {
position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 2 / 3; width: 100%; }

.video-card__thumb img {
width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }

.video-card:hover .video-card__thumb img {
transform: scale(1.05); }

.video-card__overlay {
position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.2); display: flex; justify-content: center; align-items: center; opacity: 0.8; transition: opacity 0.3s ease; }

.video-card:hover .video-card__overlay {
opacity: 1; }

.video-card__play {
width: 50px; height: 50px; background-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 50%; display: flex; justify-content: center; align-items: center; border: 1px solid rgba(255, 255, 255, 0.15); }

.video-card__play svg {
width: 20px; height: 20px; filter: brightness(200%); }

.video-card__title {
font-size: 13px; font-weight: 600; color: var(--normal-white-color); text-align: right; margin: 16px 0 0 0; }

.shop-card {
display: flex; flex-direction: column; cursor: pointer; text-decoration: none; height: auto; }

.shop-card__thumb {
background-color: var(--dark-secondary-color); border-radius: 8px; aspect-ratio: 1 / 1; overflow: hidden; display: flex; justify-content: center; align-items: center; width: 100%; }

.shop-card__thumb img {
width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }

.shop-card:hover .shop-card__thumb img {
transform: scale(1.05); }

.shop-card__info {
display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding: 0 4px; direction: rtl; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

.shop-card__price {
color: var(--header-gray-color); direction: rtl; display: flex; align-items: center; gap: 4px; }

.shop-card__title {
display: flex; align-items: center; gap: 4px; color: var(--normal-white-color); font-weight: 600; }

.shop-card__title svg {
width: 14px; height: 14px; color: var(--header-gray-color); }

.section-footer {
display: flex; justify-content: flex-end; flex-shrink: 0; }

.fan-club-section {
height: 100vh; scroll-snap-align: start; background-color: #2b3034; direction: rtl; position: relative; }

.fan-club-section .container {
display: flex; flex-direction: column; justify-content: center; height: 100%; padding-top: 0; }

.fan-club-wrapper {
display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; width: 100%; }

.fan-club-info {
display: flex; flex-direction: column; justify-content: center; }

.fan-club-info__header {
display: flex; align-items: center; justify-content: flex-start; gap: 14px; margin-bottom: 24px; }

.fan-club-info__title {
font-size: 18px; font-weight: 800; color: var(--normal-white-color); margin: 0; }

.fan-club-info__avatar {
width: 65px; height: 65px; border-radius: 50%; border: 3px solid #cfd3d6; overflow: hidden; flex-shrink: 0; }
.fan-club-info__avatar img , .fan-news-item__thumb img{ height: 100%; object-fit: cover;}
.fan-club-info__desc {
font-size: 11px; line-height: 2.2; color: #cfd3d6; text-align: justify; margin-bottom: 30px; font-weight: 500; }

.fan-club-info__actions {
display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.btn--rules {
border-color: #575656; color: #838383; font-size: 12px; height: 46px; }

.btn--join {
border-color: var(--header-red-dark-color); color: var(--header-red-color); font-size: 12px; height: 46px; }

.fan-club-news {
display: flex; flex-direction: column; }

.section-header--fan {
margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 15px; }

.fan-news-list {
display: flex; flex-direction: column; gap: 14px; margin-bottom: 10px; }

.fan-news-item {
display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

.fan-news-item__thumb {
width: 48px; height: 48px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }

.fan-news-item__text {
flex: 1; display: flex; flex-direction: column; gap: 6px; text-align: right; }

.fan-news-item__title {
font-size: 13px; font-weight: 700; color: #cfd3d6; margin: 0; }

.fan-news-item__sub {
font-size: 10px; color: #575656; }

.fan-news-item__more {
background: none; color: #575656; width: 28px; height: 28px; cursor: pointer; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }

.fan-news-item__more svg {
width: 20px; height: 20px; }

.fan-news-item__more:hover {
color: var(--normal-white-color); }

.features-section {
height: auto; padding: 70px 0 20px; scroll-snap-align: start; background: linear-gradient(to bottom, #2b3034 50%, var(--site-bg-color) 50%); direction: rtl; position: relative; }

.features-section .container {
display: flex; flex-direction: column; justify-content: center; padding-top: 0; }

.features-grid {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }

.feature-card {
position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; text-decoration: none; }

.feature-card__bg {
position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.4s ease; }

.feature-card:hover .feature-card__bg {
transform: scale(1.05); }

.feature-card__overlay {
position: absolute; inset: 0; z-index: 1; }

.feature-card--red .feature-card__overlay {
background: linear-gradient(to top left, rgba(200, 0, 0, 0.9) 0%, rgba(200, 0, 0, 0.1) 60%); }

.feature-card--blue .feature-card__overlay {
background: linear-gradient(to top left, rgba(10, 40, 80, 0.95) 0%, rgba(10, 40, 80, 0.1) 60%); }

.feature-card--dark-red .feature-card__overlay {
background: linear-gradient(to top left, rgba(80, 10, 10, 0.95) 0%, rgba(80, 10, 10, 0.1) 60%); }

.feature-card__title {
position: relative; z-index: 2; font-size: 15px; font-weight: 800; color: var(--normal-white-color); text-align: right; line-height: 1.6; margin: 0; }

footer, .main-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  background-color: var(--site-bg-color);
  padding: 30px 0 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  direction: rtl;
}
  .main-footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.main-footer__right {
  display: flex; flex-direction: column; gap: 15px; flex: 1; min-width: 300px; }
.main-footer__links {
  display: flex; gap: 30px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.main-footer__links a {
  color: var(--normal-white-color); font-size: 13px; font-weight: 700; transition: color 0.3s; }
.main-footer__links a:hover {
  color: var(--header-red-color); }
.main-footer__copy {
  color: #cfd3d6; font-size: 11px; margin: 0; font-weight: 500; line-height: 1.8; }
.main-footer__divider {
  width: 1px; height: 85px; background-color: rgba(255, 255, 255, 0.1); display: block; margin: 0 10px; border: none; }
.main-footer__left {
  display: flex; flex-direction: column; gap: 18px; min-width: 300px; align-items: flex-start; }
.main-footer__social-title {
  color: var(--normal-white-color); font-size: 14px; font-weight: 700; margin: 0; }
.main-footer__socials {
  display: flex; gap: 8px; direction: rtl; list-style: none; padding: 0; margin: 0; }
.social-btn {
  width: 40px; height: 40px; background-color: #2b3034; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #cfd3d6; transition: background-color 0.3s, color 0.3s; }
.social-btn:hover {
  background-color: var(--normal-white-color); color: var(--site-bg-color); }
.social-btn svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.main-footer__credits {
  display: flex; gap: 20px; color: #cfd3d6; font-size: 11px; flex-wrap: wrap; margin: 0; }

.single-page-wrapper {
  position: relative; overflow: hidden;
  padding: 0 0 140px; min-height: 100vh; background-color: var(--site-bg-color); }

/* ---- هیرو بالای صفحه‌ی سینگل (عیناً مثل ویژوالایزر آرشیو) ---- */
.single-hero {
  margin-bottom: 0;
}
.single-hero .single-header-text {
  margin-bottom: 0;
}
/* دقیقاً مثل archive-layout: پنل پلیر کمی میاد بالا و روی پایین ریتم/ویژوالایزر می‌شینه */
.single-hero + .container .track-layout {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

/* گرادینت ملایم پشت هر سکشن؛ خیلی کم‌رنگه که فقط عمق بده، تو چشم نباشه */
.single-page-wrapper .track-main {
  background: linear-gradient(160deg, rgba(236, 58, 68,0.05), rgba(255,255,255,0.015) 45%, transparent 75%); }
.single-page-wrapper .single-events-section {
  background: linear-gradient(200deg, rgba(236, 58, 68,0.04), transparent 60%); }
.single-page-wrapper .single-news-section {
  background: linear-gradient(20deg, rgba(255,255,255,0.02), rgba(236, 58, 68,0.035) 70%); }
.single-page-wrapper .single-features-section {
  background: linear-gradient(340deg, rgba(236, 58, 68,0.045), transparent 65%); }

/* ==========================================
   ambient-bg: پس‌زمینه‌ی محو و متحرک (قابل استفاده در
   single/archive/video) — چند دایره‌ی بلور‌شده که خیلی
   آروم و دایره‌وار دور خودشون می‌چرخن. مینیمال و کم‌رنگ،
   شبیه همون حال‌وهوای ویژوالایزر آرشیو ولی بدون شلوغی.
========================================== */
.ambient-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  will-change: transform;
}
.ambient-bg__orb--1 {
  width: 520px; height: 520px;
  top: -140px; inset-inline-end: -120px;
  background: radial-gradient(circle at 35% 35%, var(--header-red-color), transparent 70%);
  animation: ambientOrbit1 48s ease-in-out infinite;
}
.ambient-bg__orb--2 {
  width: 440px; height: 440px;
  top: 40%; inset-inline-start: -160px;
  background: radial-gradient(circle at 60% 40%, #4a5560, transparent 70%);
  opacity: 0.22;
  animation: ambientOrbit2 60s ease-in-out infinite;
}
.ambient-bg__orb--3 {
  width: 380px; height: 380px;
  bottom: -170px; inset-inline-end: 18%;
  background: radial-gradient(circle at 50% 50%, var(--header-red-color), transparent 70%);
  opacity: 0.18;
  animation: ambientOrbit3 66s ease-in-out infinite;
}

@keyframes ambientOrbit1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(-50px, 40px) scale(1.08); }
  50%      { transform: translate(-15px, 85px) scale(0.95); }
  75%      { transform: translate(35px, 30px) scale(1.04); }
}
@keyframes ambientOrbit2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(55px, -35px) scale(1.1); }
  66%      { transform: translate(20px, 45px) scale(0.92); }
}
@keyframes ambientOrbit3 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-65px, -45px); }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-bg__orb { animation: none; }
}

.single-header-text {
  text-align: center; margin-bottom: 40px; color: var(--normal-white-color); }

.single-header-text h1 {
  font-size: 28px; font-weight: 900; margin-bottom: 8px; }

.single-header-text h2 {
  font-size: 16px; font-weight: 500; color: var(--header-gray-color); margin-bottom: 12px; }

.single-header-text span {
  font-size: 12px; color: var(--header-gray-color); }

.track-layout {
  display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }

.track-main {
  flex: 1; position: relative; overflow: hidden; background-color: transparent; border-radius: 12px; padding: 30px; min-width: 0;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1); }

.track-sidebar {
  width: 250px; position: relative; overflow: hidden; background-color: transparent; border-radius: 12px; padding: 15px; flex-shrink: 0;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1); }

/* ---- liquid glass background (track-main / track-sidebar) ---- */
.track-glass-effect {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  filter: none; }

.track-glass-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(150deg, rgb(50 57 62 / 32%), rgba(30, 34, 38, .92)); }

.track-glass-shine {
  position: absolute; inset: 0; z-index: 2;
  overflow: hidden;
  pointer-events: none;
  box-shadow: inset 1px 1px 1px 0 #24292d33, inset -1px -1px 1px 1px #24292d33; }

/* ---- fallback برای فایرفاکس/مرورگرهایی که ترکیب backdrop-filter +
   فیلتر SVG (feTurbulence/feDisplacementMap) رو درست رندر نمی‌کنن ----
   این یک محدودیت شناخته‌شده‌ی موتور رندر این مرورگرهاست، نه یه باگ CSS
   ساده؛ راه‌حل: به‌جای تلاش برای شبیه‌سازی دقیق کروم، یه نسخه‌ی «شیشه‌ی
   مات» تمیز و بدون اعوجاج نشونش می‌دیم که در همه‌جا درست دیده می‌شه.
   کلاس .no-glass-distortion توسط main.js روی <html> ست می‌شه. */
html.no-glass-distortion .track-glass-effect {
  filter: none;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
html.no-glass-distortion .track-glass-tint {
  background: linear-gradient(150deg, rgba(50,57,62,.86), rgba(30,34,38,.92));
}
html.no-glass-distortion .track-glass-shine {
  box-shadow: inset 1px 1px 1px 0 #ffffff14, inset -1px -1px 1px 1px #00000033;
}

.track-main__inner,
.track-sidebar > .track-meta,
.track-sidebar > .track-next-songs {
  position: relative; z-index: 3; }

.track-main__inner {
  display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }

.track-media {
  width: 330px; flex-shrink: 0; display: flex; flex-direction: column; gap: 25px; }

.track-cover {
  width: 100%; aspect-ratio: 1/1; border-radius: 12px; object-fit: cover; }

.track-title {
  font-size: 15px; font-weight: 700; color: var(--normal-white-color); text-align: center; margin: 0; }

.track-player-box {
  display: flex; flex-direction: column; gap: 20px; }

.track-controls {
  display: flex; align-items: center; justify-content: center; gap: 20px; }

.t-btn {
  background: none; color: var(--header-gray-color); cursor: pointer; display: flex; align-items: center; justify-content: center; }

.t-btn svg {
  width: 20px; height: 20px; }

.t-btn:hover {
  color: var(--normal-white-color); }

.t-btn--play {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--header-gray-color); color: var(--normal-white-color); }

.track-progress {
  display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--header-gray-color); }

.t-bar {
  flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }

.t-fill {
  height: 100%; background: var(--normal-white-color); border-radius: 4px; }

.track-downloads {
  display: flex; flex-direction: column; gap: 12px; }

.dl-row {
  display: flex; gap: 10px; }

.dl-row--top {
  display: flex; gap: 10px; align-items: stretch; }

.dl-btn {
  display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(236, 58, 68, 0.4); border-radius: 8px; padding: 12px 16px; color: var(--header-red-color); font-size: 11px; font-weight: 600; transition: all 0.3s; }

.dl-btn:hover {
  background: rgba(236, 58, 68, 0.05); border-color: var(--header-red-color); }

.dl-btn svg {
  width: 16px; height: 16px; margin-right: 6px; vertical-align: middle; }

.dl-btn--buy {
  flex: 1; }

.dl-btn--half {
  flex: 1; justify-content: center; text-align: center; }

.dl-icon-btn {
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(236, 58, 68, 0.4); background: none; color: var(--header-red-color); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; flex-shrink: 0; }

.dl-icon-btn:hover {
  background: rgba(236, 58, 68, 0.05); border-color: var(--header-red-color); }

.dl-icon-btn svg {
  width: 20px; height: 20px; }

.track-lyrics {
  flex: 1; min-width: 260px; }

.track-lyrics p {
  font-size: 15px; line-height: 2.3; color: #cfd3d6; margin: 0; font-weight: 500; text-align: right; }

/* ---- متن آهنگ: ۴ خط + مشاهده بیشتر ---- */
@property --rs-fade { syntax: '<length>'; inherits: false; initial-value: 0px; }
.rs-lyrics { position: relative; }
.rs-lyrics__body { overflow: hidden; }
.rs-lyrics.is-collapsible .rs-lyrics__body {
  transition: max-height .7s cubic-bezier(.4, 0, .2, 1), --rs-fade .7s ease;
  --rs-fade: 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--rs-fade)), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - var(--rs-fade)), transparent);
}
.rs-lyrics.is-collapsible.is-open .rs-lyrics__body { --rs-fade: 0px; }
.rs-lyrics__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 8px 18px;
  background: rgba(255,255,255,.05); color: var(--header-font-color);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.rs-lyrics__toggle[hidden] { display: none; }
.rs-lyrics__toggle:hover { background: rgba(236, 58, 68,.18); border-color: var(--header-red-color); }
.rs-lyrics__chev {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .4s ease;
}
.rs-lyrics.is-open .rs-lyrics__chev { transform: rotate(-135deg) translateY(-2px); }

.track-meta {
  list-style: none; padding: 0; margin: 0 0 30px 0; display: flex; flex-direction: column; gap: 18px; }

.track-meta li {
  display: flex; align-items: center; font-size: 11px; color: var(--header-gray-color); gap: 10px; }

.track-meta svg {
  width: 16px; height: 16px; color: var(--header-red-color); }

.track-meta strong {
  color: var(--normal-white-color); font-weight: 600; }

.track-next-songs {
  display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; }

.next-song-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.3s; color: var(--header-gray-color); font-size: 12px; font-weight: 600; }

.next-song-item:hover {
  background: rgba(255,255,255,0.05); color: var(--normal-white-color); }

.next-song-item:last-child {
  border-bottom: none; }

.next-song-item img {
  width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }

.single-events-section {
  margin: 80px 0; }

.events-card--full {
  height: auto; min-height: 420px; max-height: 640px; overflow: hidden; padding: 40px 0; display: block; border-radius: 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }

.events-card--full::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(25, 28, 31, 0.1) 0%, rgba(25, 28, 31, 0.8) 40%, var(--site-bg-color) 100%); z-index: 1; }

.events-card__container {
  position: relative; z-index: 2; height: 100%; max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; }

.events-card__header--absolute {
  position: static; margin-bottom: 25px; font-size: 16px; font-weight: 700; color: var(--normal-white-color); }

.events-card__panel--wide {
  width: 75%; margin-top: 0; }

.events-card__grid--4col {
  grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 25px; }

.event-item--alt {
  flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 16px; border-color: rgba(255,255,255,0.08); background: rgb(0 0 0 / 39%); }

.event-item--alt .event-item__info {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.event-item--alt .event-item__top {
  justify-content: flex-start; }

.event-item--alt .event-item__meta {
  justify-content: flex-start; gap: 8px; color: var(--header-gray-color); }

.event-item--alt .event-item__icon {
  color: var(--header-red-dark-color); width: 28px; height: 28px; opacity: 0.8; }

.events-card__actions {
  display: flex; gap: 15px; justify-content: flex-end; align-items: center; }

.single-news-section {
  margin: 60px 0 100px; padding-top: 60px; border-top: 1px solid rgba(255,255,255,0.05); }

.single-news-body {
  height: auto; gap: 50px; align-items: center; }

.single-feature-img {
  width: 250px; height: 250px; object-fit: cover; border-radius: 16px; flex-shrink: 0; }

.single-news-feature {
  flex: 1.2; align-items: center; }

.single-news-feature .title-text {
  justify-content: flex-start; gap: 8px; margin-bottom: 15px; }

.single-news-feature p {
  font-size: 12px; line-height: 2.2; color: #cfd3d6; text-align: justify; margin-bottom: 25px; }

.single-news-list {
  flex: 1; justify-content: center; gap: 0; }

.single-news-item {
  padding: 18px 0; border-color: rgba(255,255,255,0.06); text-decoration: none; transition: all 0.3s; }

.single-news-item:hover {
  background: rgba(255,255,255,0.02); padding-right: 12px; padding-left: 12px; border-radius: 8px; border-color: transparent; }

.single-news-item__side-icon {
  display: flex; align-items: center; justify-content: center; color: var(--header-gray-color); flex-shrink: 0; width: 20px; }

.single-news-item__side-icon svg {
  width: 16px; height: 16px; }

.single-news-item .news-item__avatar {
  width: 55px; height: 55px; border-radius: 12px; }

/* ==========================================
================ archive page ================
  صفحه‌ی آرشیو (لیست آهنگ‌های یک آلبوم)
  - scroll-snap/parallax سراسری حفظ شده است.
  - هدر آرشیو اولین snap point صفحه است تا ورود صفحه از بالا باشد.
  - سه ستون کنار هم با افکت liquid glass (همون
    .track-glass-effect / .track-glass-tint / .track-glass-shine
    که در صفحه‌ی سینگل استفاده شده، اینجا هم عیناً
    روی سه پنل (منو / لیست آهنگ‌ها / پلیر) استفاده می‌شه)
========================================== */

.archive-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 140px;
  min-height: 100vh;
  background-color: var(--site-bg-color);
}

/* ---- hero (شبیه هدر صفحه‌ی سینگل + ویژوالایزر) ---- */
.archive-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 36px;
  background-color: var(--site-bg-color);
}
.archive-hero__visualizer {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.archive-hero__visualizer rect {
  fill: var(--header-red-color); transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(1); transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), fill 0.5s, opacity 0.5s; }
/* ویژوالایزر زنده: ارتفاع میله‌ها توسط Web Audio API و از خود فایل صوتی تغذیه می‌شود. */
.archive-hero.has-live-visualizer .archive-hero__visualizer rect,
.archive-hero.has-live-visualizer.is-playing .archive-hero__visualizer rect {
  animation: none !important;
  transition: opacity 70ms linear, fill 120ms linear;
}
html.is-inner-page .archive-hero__visualizer,
html.is-inner-page .archive-hero__inner {
  will-change: transform;
}
.archive-hero.is-playing .archive-hero__visualizer rect {
  animation-name: beautifulEqualizer; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
@keyframes beautifulEqualizer {
  0%, 100% { transform: scaleY(0.75); fill: var(--header-red-dark-color); opacity: 0.6; } 50% { transform: scaleY(1.25); fill: var(--light-primary-color); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .archive-hero.is-playing .archive-hero__visualizer rect { animation: none; } }
.archive-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:linear-gradient(to top, #191c1f9e 0%, rgba(25, 28, 31, 0.35) 40%, rgba(25, 28, 31, 0.78) 100%), linear-gradient(to bottom, rgb(25 28 31) 0%, rgba(25, 28, 31, 0) 32%);
}
.archive-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
}
.archive-hero__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--header-font-color);
  transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.archive-hero__icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.archive-hero__icon-btn:hover {
  background-color: var(--header-font-color);
  color: var(--site-bg-color);
  transform: translateY(-2px);
}
.archive-hero__icon-btn.is-active {
  color: var(--header-red-color);
  border-color: var(--header-red-color);
}
.archive-hero__icon-btn.is-active svg {
  fill: currentColor;
}

.archive-hero__text {
  text-align: center;
  max-width: 460px;
}
.archive-hero__text h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--header-font-color);
  margin-bottom: 8px;
}
.archive-hero__text h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--header-gray-color);
  margin-bottom: 10px;
  direction: ltr;
}
.archive-hero__text span {
  font-size: 12px;
  color: var(--header-gray-color);
}

/* ---- layout: سه ستون کنار هم ---- */
.archive-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  align-items: stretch;
  gap: 20px;
  margin-top: -34px;
}
.archive-layout .track-glass-tint{background: unset;}

.archive-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}
.archive-panel > *:not(.track-glass-effect):not(.track-glass-tint):not(.track-glass-shine) {
  position: relative;
  z-index: 3;
}

/* ---- ستون منو (آلبوم‌های دیگر) ---- */
.archive-menu {
  padding: 18px 14px;
}
.archive-menu__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}
.archive-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}
.archive-menu__item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.archive-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--header-gray-color);
}
.archive-menu__icon svg {
  width: 14px;
  height: 14px;
}
.archive-menu__label {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--header-gray-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.archive-menu__item:hover .archive-menu__label {
  color: var(--header-font-color);
}
.archive-menu__thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.archive-menu__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-ads {
  flex: 1;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--header-gray-color);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ---- ستون لیست آهنگ‌ها ---- */
.archive-list {
  padding: 0;
}

.archive-list__inner {
  max-height: 640px;
  overflow-y: auto;
  padding: 14px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.archive-list__inner::-webkit-scrollbar {
  width: 6px;
}
.archive-list__inner::-webkit-scrollbar-track {
  background-color: transparent;
}
.archive-list__inner::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  transition: background-color 0.2s ease;
}
.archive-list__inner::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
/* ردیف‌های آهنگ همون کلاس‌های .song-row صفحه‌ی اصلی هستن، فقط پدینگ کمی فرق داره */
.archive-list .song-row {
  padding: 11px 4px;
}

/* ---- ستون پلیر (کاور، کنترل‌ها، دانلود، توضیحات) ---- */
.archive-player {
  padding: 18px;
}
.archive-player__art {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.archive-player__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.archive-player__title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--header-font-color);
  margin-bottom: 14px;
}
.archive-player__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}
.archive-player__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--header-gray-color);
  margin-bottom: 18px;
}

.archive-player__downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.archive-dl-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid rgba(236, 58, 68, 0.4);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--header-red-color);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s;
}
.archive-dl-btn:hover {
  background: rgba(236, 58, 68, 0.05);
  border-color: var(--header-red-color);
}
.archive-player__dl-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 10px;
  flex-shrink: 0;
}

.archive-player__desc {
  flex: 1;
  font-size: 11px;
  line-height: 2.1;
  color: #cfd3d6;
  text-align: justify;
  font-weight: 500;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.archive-player__artist {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--header-gray-color);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}
.archive-player__artist svg {
  width: 16px;
  height: 16px;
  color: var(--header-red-color);
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.archive-player__artist strong {
  color: var(--header-font-color);
  font-weight: 700;
}

.video-page-wrapper {
  position: relative; overflow: hidden;
  padding-top: 60px; padding-bottom: 140px; min-height: 100vh; background-color: var(--site-bg-color); }
.video-page__header {
  text-align: center; margin-bottom: 35px; color: var(--normal-white-color); }
.video-page__header h1 {
  font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.video-page__header h2 {
  font-size: 14px; font-weight: 500; color: var(--normal-white-color); margin-bottom: 15px; direction: ltr; }
.video-page__header span {
  font-size: 12px; color: var(--header-gray-color); }

/* ستون اصلی (پلیر) جلوتر، ستون کناری بعدش — طبق ترتیب جدید HTML */
.video-layout {
  position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 240px; gap: 20px; align-items: stretch; }

.video-panel {
  position: relative; overflow: hidden; border-radius: 14px; display: flex; flex-direction: column; background-color: transparent; }
.video-panel > *:not(.track-glass-effect):not(.track-glass-tint):not(.track-glass-shine) {
  position: relative; z-index: 3; }
.video-panel .track-glass-tint {
  background: rgba(36, 41, 45, 0.25); }

.video-sidebar__inner {
  padding: 25px 20px; display: flex; flex-direction: column; gap: 30px; height: 100%; }
.track-meta li svg {
  width: 16px; height: 16px; color: var(--header-red-color); fill: none; stroke: currentColor; }

.video-playlist {
  display: flex; flex-direction: column; gap: 18px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 25px; margin-top: auto; }
.video-playlist-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--header-gray-color); font-size: 12px; font-weight: 600; text-decoration: none; transition: color 0.3s; }
.video-playlist-item:hover {
  color: var(--normal-white-color); }
.video-playlist-item img {
  width: 50px; height: 50px; border-radius: 8px; object-fit: cover; border: 1px solid rgba(255,255,255,0.1); }

.video-main__inner {
  padding: 20px; display: flex; flex-direction: column; gap: 20px; }

/* ==========================================
   ---- پلیر ویدیو (custom video player) ----
   قبلاً این کانتینر flex بود (align-items/justify-content:
   center) و overlay کنترل‌ها هیچ position ای نداشت، پس
   ویدیو/دکمه‌پلی/نوار کنترل‌ها همه به‌عنوان آیتم فلکس وسط
   کادر جمع می‌شدن و layout بهم می‌ریخت. الان ویدیو با
   position:absolute کل کادر رو پر می‌کنه و نوار کنترل‌ها هم
   absolute چسبیده به پایینه — دقیقاً مثل یک پلیر استاندارد.
========================================== */
.video-player-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 16/9;
}
.video-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  display: block;
}
video.video-cover-img {
  background-color: #000;
}

/* ---- دکمه پخش وسط ویدیو با افکت liquid glass ---- */
.glass-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 85px; height: 85px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease; }
.glass-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08); }
.glass-play-btn__icon {
  width: 32px; height: 32px; color: var(--normal-white-color);
  position: relative; z-index: 3; margin-left: 6px; }
.glass-play-btn .track-glass-effect {
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-radius: 50%;
  filter: url(#glass-distortion); }
.glass-play-btn .track-glass-tint {
  background: rgba(255,255,255,0.1); }
.glass-play-btn .track-glass-shine {
  box-shadow: inset 1px 1px 1px 0 rgba(255,255,255,0.15), inset -1px -1px 1px 1px rgba(255,255,255,0.08); }
/* موقع پخش شدن ویدیو دکمه محو می‌شه */
.glass-play-btn.is-playing {
  opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.85); }

/* ---- نوار کنترل‌های ویدیو: چسبیده به پایین کادر، روی یک
   گرادیان تیره تا زمان/آیکون‌ها همیشه خوانا بمونن ---- */
.video-controls-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.4) 55%, transparent 100%);
  flex-wrap: wrap;
  row-gap: 10px;
}
.video-volume { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.video-volume__btn { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: none; cursor: pointer; color: var(--normal-white-color); flex-shrink: 0; }
.video-volume__btn svg { width: 18px; height: 18px; }
.video-volume__bar { width: 70px; height: 4px; border-radius: 999px; background-color: rgba(255,255,255,.25); overflow: hidden; cursor: pointer; flex-shrink: 0; }
.video-volume__fill { height: 100%; width: 100%; background-color: var(--normal-white-color); border-radius: 999px; }
.video-fullscreen-btn { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; background-color: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--normal-white-color); cursor: pointer; flex-shrink: 0; transition: background-color 0.2s ease; }
.video-fullscreen-btn svg { width: 15px; height: 15px; }
.video-fullscreen-btn:hover { background-color: rgba(255,255,255,.18); }
.video-controls-overlay .time {
  font-size: 11px; color: var(--normal-white-color); }
.video-controls-overlay .t-bar {
  flex: 1; height: 4px; background: rgba(255,255,255,0.2); border-radius: 4px; overflow: hidden; cursor: pointer; }
.video-controls-overlay .t-fill {
  height: 100%; background: var(--normal-white-color); border-radius: 4px; }

.video-downloads {
  display: flex; gap: 15px; justify-content: center; align-items: center; width: 100%; }
.video-downloads .dl-btn {
  flex: 1; text-align: center; justify-content: center; padding: 12px; gap: 6px; }
.video-downloads .dl-btn svg {
  width: 14px; height: 14px; }
  
.video-footer {    scroll-snap-align: unset;}
/* ==========================================================
   ================== MEDIA QUERIES ===========================
   یک بار برای هر بریک‌پوینت، به ترتیب صعودی min-width و
   نزولی max-width در انتهای فایل
========================================================== */

/* ---- min-width: 576px ---- */
@media (min-width: 576px) {
  .container { padding-left: calc(50% - 275px); padding-right: calc(50% - 275px); }
}

/* ---- min-width: 768px ---- */
@media (min-width: 768px) {
  .container { padding-left: calc(50% - 368px); padding-right: calc(50% - 368px); }
}

/* ---- min-width: 992px and max-height: 700px (short desktop viewport) ---- */
@media (min-width: 992px) and (max-height: 700px) {
  .events-card { overflow-x: auto; overflow-y: hidden; }
  .events-card__panel { min-width: 340px; flex-shrink: 0; }
}

/* ---- min-width: 1024px ---- */
@media (min-width: 1024px) {
  .container { padding-left: calc(50% - 500px); padding-right: calc(50% - 500px); }
}

/* ---- min-width: 1280px ---- */
@media (min-width: 1280px) {
  .container { padding-left: calc(50% - 580px); padding-right: calc(50% - 580px); }
}

/* ---- max-width: 1200px ---- */
@media (max-width: 1200px) {
  .events-card__grid--4col { grid-template-columns: repeat(3, 1fr); }
  .archive-layout { grid-template-columns: 200px 1fr 270px; }
}

/* ---- max-width: 991px ---- */
@media (max-width: 991px) {
  /* header / nav */
  .nav-toggle-btn { display: flex; position: relative; z-index: 1; }
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px; max-width: 80%;
    padding-top: 64px;
    overflow-y: auto;
    background-color: var(--header-bg-color);
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--header-gray-color);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .main-header.nav-open .main-nav { transform: translateX(0); }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px; }
  .main-nav__item > a { padding: 14px 10px; }
  .mega-menu {
    position: static;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    width: 100%; min-width: 0;
    flex-direction: column;
    border: none;
    box-shadow: none;
    background: none;
    display: flex;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 10px;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  }
  .main-nav__item.has-mega.is-open .mega-menu { max-height: 600px; opacity: 1; padding: 6px 10px 10px; overflow-y: auto; }

  /* music section */
  .music-section { height: auto; display: block; padding: 76px 0 64px; }
  .music-section__inner {
    grid-template-columns: 120px 1fr;
    grid-template-areas: "player player" "menu list";
    gap: 16px 18px;
  }
  .now-playing { position: relative; display: block; height: 190px; min-height: 0; background-color: transparent; }
  .now-playing__art { position: absolute; inset: 0; flex: none; }
  .now-playing__shade {
    display: block; position: absolute; inset: 0;
    background-image: linear-gradient(to top, rgba(10,11,12,.92) 0%, rgba(10,11,12,.92) 6%, rgba(10,11,12,0) 34%);
  }
  .now-playing__title { position: absolute; right: 0; left: 0; bottom: 19%; padding: 0; }
  .now-playing__controls { position: absolute; right: 0; left: 0; bottom: 9%; padding: 0; }
  .now-playing__progress { position: absolute; right: 7%; left: 7%; bottom: 2.5%; padding: 0; }
  .music-section__list { max-height: 260px; }
  .music-section__menu { gap: 12px; }
  .music-section__menu-head { font-size: 14px; flex-wrap: wrap; padding-bottom: 10px; }
  .music-tabs { gap: 4px; }
  .music-tabs__item { padding: 9px 12px; font-size: 13px; }
  .song-row__actions { display: none; }

  /* highlights section (events + news) — mobile
     ارتفاع کامل صفحه حفظ می‌شود ولی اگر محتوا بلندتر بود رشد می‌کند (بدون بریده‌شدن/روی‌هم‌افتادن). */
  .highlights-section {
    height: auto; min-height: 100vh; min-height: 100svh;
    overflow: visible;
  }
  .highlights-section__inner { padding-top: 84px; padding-bottom: 64px; }

  .events-card,
  .news-card {
    width: 100%;
    display: flex; flex-direction: column; justify-content: center;
    border-radius: 0;
  }
  .events-card, .news-card { height: auto; }

  /* events-card موبایل:
     - کارت با ارتفاع محدود (نه تمام‌صفحه) با position:relative و overflow:hidden
     - تصویر absolute پشت همه محتوا، فوکوس از سمت راست
     - overlay تاریک برای خوانایی متن
     - هدر و panel روی تصویر با z-index مناسب
  */
  .events-card {
    position: relative;
    overflow: hidden;           /* تصویر از کارت بیرون نزنه */
    min-height: 420px;
    max-height: none;
    height: auto;
    padding: 32px 18px;
    gap: 0;
    align-items: flex-start;
    justify-content: center;
  }

  /* تصویر: پوشش کامل کارت، فوکوس از راست */
  .events-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;  /* همیشه سمت راست تصویر نشون داده می‌شه */
    z-index: 0;
  }

  /* overlay تاریک روی تصویر برای خوانایی */
  .events-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to left,
      rgba(10, 12, 14, 0.15) 0%,
      rgba(10, 12, 14, 0.65) 50%,
      rgba(10, 12, 14, 0.85) 100%
    );
  }

  /* هدر و panel روی overlay */
  .events-card__header {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
  }

  .events-card__panel {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    align-items: flex-start;
  }

  .events-card__grid { width: 100%; grid-template-columns: 1fr 1fr; gap: 8px; }
  .see-more { align-self: flex-start; }

  /* news-card موبایل */
  .news-card__body { flex-direction: column; height: auto; }
  .news-card__feature { flex-direction: column; width: 100%; }
  .news-card__feature-img { width: 100%; height: 160px; }

  /* combo section (video + shop) */
  .combo-section {
  height: 100vh; scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; }

  .video-section {
  height: 55%; flex: 0 0 55%; scroll-snap-align: none; overflow: hidden; padding: 0; }

  .shop-section {
  height: 42%; flex: 0 0 42%; scroll-snap-align: none; overflow: hidden; padding: 0; }

  .video-section .container {
  padding-top: 74px; min-height: 0; height: 100%; justify-content: space-between; padding-bottom: 15px; }

  .shop-section .container {
  padding-top: 15px; min-height: 0; height: 100%; justify-content: space-between; padding-bottom: 15px; }

  .section-header {
  margin-bottom: 10px; }

  .video-section__slider, .shop-section__slider {
  margin-bottom: 10px; flex-shrink: 1; }

  .video-card {
  flex: 0 0 110px; scroll-snap-align: center; }

  .video-card__title {
  margin-top: 12px; }

  .shop-card {
  flex: 0 0 110px; scroll-snap-align: center; }

  .shop-card__info {
  flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 12px; }

  .section-footer {
  margin-top: 0; }

  /* fan-club / features section */
  .fan-club-section { height: auto; scroll-snap-align: none; }
  .features-section { height:25vh; scroll-snap-align: none; background: var(--site-bg-color); }
  .fan-club-section .container, .features-section .container { padding-top: 0; height: 100%; justify-content: flex-start; }
  .fan-club-wrapper { display: flex; flex-direction: column; gap: 0; width: 100%; }
  .fan-club-info { height: 100vh; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; }
  .fan-club-news { height: 75vh; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 70px; }
  .features-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-top: -65px; padding-bottom: 20px; -webkit-overflow-scrolling: touch; }
  .feature-card { flex: 0 0 85%; scroll-snap-align: center; aspect-ratio: 2.2 / 1; padding: 16px; }
  .features-grid::-webkit-scrollbar { display: none; }
  .fan-club-info__desc { font-size: 11px; line-height: 1.8; margin-bottom: 16px; }
  .fan-club-info__header { margin-bottom: 16px; }
  .section-header--fan {margin-bottom: 12px; padding-bottom: 5px;}
  .fan-news-list { gap: 5px; margin-bottom: 0px; }
  .fan-news-item { padding-bottom: 10px; }

  /* single track page */
  .track-layout, .track-main__inner { flex-direction: column; }
  .track-main, .track-sidebar, .track-media { width: 100%; max-width: none; }
  .track-media { max-width: 350px; margin: 0 auto; }

  /* single events / news */
  .events-card__panel--wide { width: 100%; margin-top: 0; }
  .events-card__header--absolute { margin-bottom: 20px; text-align: right; }
  .events-card__grid--4col { grid-template-columns: repeat(2, 1fr); }

  .single-news-feature { flex-direction: column; align-items: stretch; text-align: right; }
  .single-feature-img { width: 100%; height: 200px; margin-bottom: 20px; }

  /* archive page */
  .archive-hero { height: 250px; }
  .archive-layout {
    grid-template-columns: 1fr;
    margin-top: -24px;
  }
  .archive-list { order: 1; }
  .archive-player { order: 2; }
  .archive-menu { order: 3; }
  .archive-list__inner { max-height: none; }
  .archive-ads { min-height: 90px; }

  /* video page */
  .video-layout { grid-template-columns: 1fr; }
  .video-main { order: 1; }
  .video-sidebar { order: 2; }
  .video-downloads { flex-direction: column; }
  .glass-play-btn { width: 68px; height: 68px; }
  .glass-play-btn__icon { width: 26px; height: 26px; }
}

/* ---- max-width: 767px ---- */
@media (max-width: 767px) {
  /* hero section */
  .hero-section__content { max-width: 100%; }
  .hero-section__title { font-size: 34px; }
  .hero-section__desc { max-width: 100%; font-size: 14px; }
  .hero-section__actions { flex-wrap: wrap; }
  .btn { height: 46px; padding: 0 22px; font-size: 13px; }

  /* global sticky player */
  .global-player { height: 64px; }
  .global-player__track { width: 150px; }
  .global-player__track img { width: 40px; height: 40px; }
  .global-player__volume { display: none; }
  .global-player__center { max-width: none; }

  /* archive page */
  .archive-hero__text h1 { font-size: 20px; }
  .archive-hero__inner { gap: 14px; }
  .archive-hero__icon-btn { width: 36px; height: 36px; }
}

/* ---- max-width: 576px ---- */
@media (max-width: 576px) {
  .events-card__grid--4col { grid-template-columns: 1fr; }
  .events-card__actions { flex-direction: column; width: 100%; }
  .events-card__actions .btn { width: 100%; }
}
/* اسنپ سکشن اول: هدر sticky ۶۴px ارتفاع دارد؛ بدون این، هیرو با ۶۴px فاصله از پایین می‌چسبید */
.rs-home-top { scroll-margin-top: 64px; }
.admin-bar .rs-home-top { scroll-margin-top: 96px; }

/* rs-volume-ui: کنترل صدای پلیر پایین */
.np-btn--play svg, .gp-btn--play svg { color: #fff; }
.global-player__volume svg { cursor: pointer; flex-shrink: 0; transition: color .2s ease; }
.global-player__volume svg:hover { color: #fff; }
.global-player__volume-bar { position: relative; overflow: visible; cursor: pointer; touch-action: none; }
.global-player__volume-bar::after { content: ""; position: absolute; inset: -10px 0; }
.global-player__volume-fill { position: relative; }
.global-player__volume-fill::after { content: ""; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translateY(-50%); box-shadow: 0 2px 6px rgba(0,0,0,.5); opacity: 0; transition: opacity .2s ease; }
.global-player__volume:hover .global-player__volume-fill::after { opacity: 1; }

/* v0.3.1 */
/* دکمه‌های پلیر پایین: بدون لایه‌ی سفید هاور */
.gp-btn::before, .gp-icon-btn::before, .gp-btn:hover::before, .gp-icon-btn:hover::before { display: none !important; }
.gp-btn, .gp-icon-btn { transition: color .25s ease, transform .25s ease, background-color .25s ease; }
.gp-btn:hover, .gp-icon-btn:hover { color: #fff; transition-delay: 0s; }
.gp-btn:not(.gp-btn--play):hover, .gp-icon-btn:hover { transform: scale(1.14); }

/* دکمه‌ی «ادامه مطلب»: کشیده‌تر و کوتاه‌تر */
.btn--download { padding: 8px 32px; min-width: 156px; gap: 8px; font-size: 12px; line-height: 1.4; }

/* پلیر صفحه‌ی سینگل: آیکون پخش/توقف + نوار قابل کلیک */
.t-btn--play svg { color: #fff; }
.t-btn--play .pause-ico { display: none; gap: 4px; }
.t-btn--play .pause-ico i { width: 4px; height: 15px; border-radius: 2px; background-color: currentColor; }
.t-btn--play.is-playing .play-ico { display: none; }
.t-btn--play.is-playing .pause-ico { display: flex; }
.track-progress .t-bar, .archive-player__progress .t-bar { position: relative; overflow: visible; cursor: pointer; }
.track-progress .t-bar::after, .archive-player__progress .t-bar::after { content: ""; position: absolute; inset: -9px 0; }
.t-bar, .t-fill, .t-btn { cursor: pointer; }

/* تصاویر موبایل جدا */
.hero-slider picture, .events-card picture { display: block; }
.hero-slider picture { width: 100%; height: 100%; }

/* ==========================================================================
   v0.3.3 — دسکتاپ: کارت رویدادها و اخبار (.highlights-section) بزرگ‌تر
   ========================================================================== */
@media (min-width: 992px) {
  .highlights-section .events-card__header, .highlights-section .news-card__header { font-size: 24px; gap: 14px; margin-bottom: 26px; }
  .highlights-section .card-header__icon { width: 48px; height: 48px; border-radius: 13px; }
  .highlights-section .card-header__icon svg { width: 24px; height: 24px; }

  /* ---- رویدادهای پیشرو ---- */
  .highlights-section .events-card { height: auto; min-height: 430px; max-height: none; padding: 38px 46px; gap: 26px; border-radius: 26px; }
  .highlights-section .events-card__panel { width: clamp(480px, 68%, 840px); gap: 18px; }
  .highlights-section .events-card__grid { gap: 12px; }
  .highlights-section .event-item { padding: 14px 22px; gap: 10px; border-radius: 16px; }
  .highlights-section .event-item__top { gap: 12px; }
  .highlights-section .event-item__title { font-size: 17px; line-height: 1.8; }
  .highlights-section .event-item__icon { width: 26px; height: 26px; }
  .highlights-section .event-item__meta { font-size: 14px; }
  .highlights-section .event-item__meta-item { gap: 7px; }
  .highlights-section .event-item__meta-item svg { width: 17px; height: 17px; }
  .highlights-section .events-card .see-more, .highlights-section .news-card .see-more { font-size: 15px; gap: 10px; }
  .highlights-section .see-more__icon { width: 34px; height: 34px; }
  .highlights-section .see-more__icon svg { width: 18px; height: 18px; }

  /* ---- اخبار و مقالات ---- */
  .highlights-section .news-card { padding: 38px 46px; }
  .highlights-section .news-card__body { height: 400px; min-height: 0; gap: 38px; }
  .highlights-section .news-card__feature { width: 58%; gap: 26px; }
  .highlights-section .news-card__feature-img { width: 340px; height: 100%; border-radius: 22px; }
  .highlights-section .news-card__feature-text { gap: 14px; }
  .highlights-section .news-card__feature-text .title-text { gap: 10px; }
  .highlights-section .news-card__feature-icon { width: 38px; height: 38px; }
  .highlights-section .news-card__feature-icon svg { width: 22px; height: 22px; }
  .highlights-section .news-card__feature-text h4 { font-size: 21px; line-height: 1.7; }
  .highlights-section .news-card__feature-text p { font-size: 14px; line-height: 1.95; }
  .highlights-section .news-card__feature-text .btn--download { padding: 11px 42px; min-width: 200px; font-size: 14px; }
  .highlights-section .news-card__list { gap: 6px; }
  .highlights-section .news-item { gap: 16px; padding: 13px 6px; }
  .highlights-section .news-item__avatar { width: 68px; height: 68px; border-radius: 15px; }
  .highlights-section .news-item__text { gap: 6px; }
  .highlights-section .news-item__title { font-size: 17px; }
  .highlights-section .news-item__sub { font-size: 13px; }
  .highlights-section .news-item__more { width: 36px; height: 36px; }
  .highlights-section .news-item__more svg { width: 20px; height: 20px; }
}

/* دسکتاپ کوتاه (لپ‌تاپ ۷۶۸px): کمی جمع‌وجورتر تا سکشن بریده نشود */
@media (min-width: 992px) and (max-height: 760px) {
  .highlights-section__inner { padding-top: 76px; padding-bottom: 28px; }
  .highlights-section .events-card__header, .highlights-section .news-card__header { font-size: 21px; margin-bottom: 16px; }
  .highlights-section .card-header__icon { width: 42px; height: 42px; }
  .highlights-section .events-card { min-height: 0; padding: 26px 38px; }
  .highlights-section .event-item { padding: 10px 18px; }
  .highlights-section .event-item__title { font-size: 15px; }
  .highlights-section .event-item__meta { font-size: 13px; }
  .highlights-section .news-card { padding: 26px 38px; }
  .highlights-section .news-card__body { min-height: 0; height: 310px; gap: 30px; }
  .highlights-section .news-card__feature-img { width: 280px; height: 100%; }
  .highlights-section .news-card__feature-text h4 { font-size: 18px; }
  .highlights-section .news-card__feature-text p { font-size: 13px; line-height: 1.8; }
  .highlights-section .news-item { padding: 8px 6px; }
  .highlights-section .news-item__avatar { width: 56px; height: 56px; }
  .highlights-section .news-item__title { font-size: 15px; }
}

/* تعویض دسته‌ی موسیقی (آلبوم برنده / تک‌آهنگ‌ها / رادیو): انیمیشن */
#songList { transition: opacity .22s ease, transform .22s ease; }
#songList.is-out { opacity: 0; transform: translateY(10px); }
#songList.is-in .song-row { animation: rsRowIn .5s cubic-bezier(.22, 1, .36, 1) both; }
#songList.is-in .song-row:nth-child(1) { animation-delay: 0s; }
#songList.is-in .song-row:nth-child(2) { animation-delay: .06s; }
#songList.is-in .song-row:nth-child(3) { animation-delay: .12s; }
#songList.is-in .song-row:nth-child(4) { animation-delay: .18s; }
#songList.is-in .song-row:nth-child(5) { animation-delay: .24s; }
#songList.is-in .song-row:nth-child(6) { animation-delay: .30s; }
@keyframes rsRowIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
#nowPlaying.is-swap .now-playing__art { animation: rsArtIn .6s ease both; }
@keyframes rsArtIn { from { opacity: .15; transform: scale(1.07); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #songList, #songList.is-in .song-row, #nowPlaying.is-swap .now-playing__art { animation: none; transition: none; } }

/* v0.4.0 */
.fan-club-info__desc { font-size: 14.5px; line-height: 2.1; }
.fan-news-item__title { font-size: 16px; line-height: 1.7; }
/* v0.4.2 — تیتر اخبار هواداران همیشه تک‌خطی؛ متن بلند با ... کوتاه می‌شود */
.fan-news-item__text { min-width: 0; }
.fan-news-item__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fan-news-item__sub { font-size: 13px; line-height: 1.9; }


/* ==========================================================================
   v0.4.3 — سکشن رویدادهای صفحه‌ی اصلی: ویدیو/عکس تمام‌سکشن، هدر بالای گرید، ۹ کارت (۳×۳)
   ========================================================================== */
.highlights-section--events { isolation: isolate; }
.events-section__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.events-section__bg picture { display: block; width: 100%; height: 100%; }
.events-section__media { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.events-section__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,23,26,.55), rgba(20,23,26,.35) 45%, rgba(20,23,26,.75)); }
.highlights-section--events .highlights-section__inner { position: relative; z-index: 1; }
.highlights-section--events .events-card { flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; min-height: 0; max-height: none; overflow: visible; background: none; padding: 0; gap: 0; border-radius: 0; }
.highlights-section--events .events-card::after { content: none; }
.highlights-section--events .events-card__header { margin-bottom: 20px; }
.highlights-section--events .events-card__grid.rs-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; grid-auto-columns: auto; gap: 12px; width: 100%; margin: 0; padding: 0; overflow: visible; }
.highlights-section--events .event-item--alt { padding: 14px 18px; border-radius: 16px; gap: 12px; min-width: 0; }
.highlights-section--events .event-item--alt .event-item__info { min-width: 0; }
.highlights-section--events .event-item--alt .event-item__title { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.highlights-section--events .event-item--alt .event-item__meta { font-size: 12.5px; flex-wrap: wrap; }
.highlights-section--events .event-item--alt .event-item__icon { width: 26px; height: 26px; flex-shrink: 0; }
.highlights-section--events .see-more { margin-top: 22px; align-self: flex-start; }
@media (min-width: 992px) and (max-height: 760px) {
  .highlights-section--events .events-card__header { margin-bottom: 12px; }
  .highlights-section--events .events-card__grid.rs-event-grid { gap: 8px; }
  .highlights-section--events .event-item--alt { padding: 9px 14px; }
  .highlights-section--events .see-more { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .events-section__media { animation: none; } }


/* ==========================================================================
   v0.4.3b — سایدبار سینگل ویدیو: ارتفاع به اندازه‌ی محتوا (مثل track-sidebar)
   و هم‌ترازی «ادامه مطلب» با «مشاهده بیشتر» در کارت اخبار
   ========================================================================== */
.video-layout > .video-sidebar { align-self: start; height: auto; }
.video-sidebar .video-sidebar__inner { height: auto; padding: 18px 16px; gap: 22px; }
.video-sidebar .video-playlist { margin-top: 0; padding-top: 20px; gap: 14px; }

.news-card__feature-text { justify-content: flex-start; }
.news-card__feature-text .btn--download { margin-top: auto; align-self: flex-start; min-height: 40px; }
.news-card__side > .see-more { margin-top: 0; align-self: flex-start; min-height: 40px; padding-block: 0; }
@media (min-width: 992px) {
  .highlights-section .news-card__feature-text .btn--download,
  .highlights-section .news-card__side > .see-more { min-height: 46px; }
  .highlights-section .news-card__feature-text .btn--download { padding-block: 0; }
}
@media (max-width: 991px) {
  .video-layout > .video-sidebar { align-self: stretch; }
}
