/* WordPress integration layer: keeps the supplied frontend intact while styling dynamic states. */
.admin-bar .main-header{top:32px}
@media(max-width:782px){.admin-bar .main-header{top:46px}}

.rs-svg-sprite{pointer-events:none}
.main-header__logo img{display:block}
.main-header__actions a.notif-btn{display:flex;text-decoration:none}

.rs-empty{padding:24px;text-align:center;color:#b8b8b8;width:100%}
.rs-empty strong{color:#fff}

/* Generic archives */
.rs-archive-page{min-height:80vh}
.rs-archive-heading{min-height:0;height:170px;padding-bottom:20px}
.rs-archive-content{position:relative;z-index:2;padding-top:0;padding-bottom:60px;margin:0;margin-top:-15px}
.rs-full-list{width:100%;min-height:0}
.rs-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rs-video-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.rs-grid-card{min-width:0}
.rs-album-grid .archive-menu__item{min-height:92px}
.rs-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.rs-post-card{overflow:hidden;border-radius:10px;background:#2b3235;border:1px solid rgba(87,86,86,.5)}
.rs-post-card a{color:inherit;text-decoration:none}
.rs-post-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.rs-post-card h2{font-size:18px;padding:16px 16px 8px;margin:0}
.rs-post-card p{font-size:13px;line-height:2;color:#aaa;padding:0 16px 18px;margin:0}
.rs-event-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rs-pagination{display:flex;justify-content:center;margin-top:30px}
.rs-pagination .nav-links{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.rs-pagination .page-numbers{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#ddd;text-decoration:none;padding:0 10px}
.rs-pagination .current,.rs-pagination a:hover{background:#ec3a44;color:#fff;border-color:#ec3a44}

/* Single generic content */
.rs-generic-single{min-height:80vh}
.rs-content-panel{position:relative;overflow:hidden;background:rgba(43,50,53,.7);border:1px solid rgba(87,86,86,.5);border-radius:10px;padding:28px;margin:0 0 40px;margin-top:-15px;z-index:3}
.rs-content-panel>*{position:relative;z-index:2}
.rs-content-cover{width:100%;max-height:620px;object-fit:cover;border-radius:10px;margin-bottom:24px}
.rs-entry-content{color:#ddd;line-height:2.2;font-size:15px}
.rs-entry-content img{max-width:100%;height:auto;border-radius:10px}
.rs-entry-content a{color:#e45757}

/* Album data / legacy controls */
.rs-album-actions{display:grid;gap:8px;margin-top:14px}
.rs-album-actions .archive-dl-btn{justify-content:center}
.song-row a.song-row__icon-btn{display:inline-flex;text-decoration:none}
.song-row{cursor:pointer}
.rs-special-song{width:100%;padding:18px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(0,0,0,.15)}
.rs-special-song p{margin:0 0 14px;line-height:2;color:#ddd}
.rs-video-description{margin-top:22px;padding:18px;border-top:1px solid rgba(255,255,255,.1);color:#d5d5d5;line-height:2}
.rs-video-description p{margin:0 0 1em}
.rs-video-lyric{margin-top:20px;padding-top:20px;border-top:1px solid rgba(255,255,255,.08)}

/* Comments */
.rs-comments{margin:30px auto 50px;background:rgba(43,50,53,.65);border:1px solid rgba(87,86,86,.5);border-radius:10px;padding:24px;color:#ddd}
.rs-comments h2,.rs-comments h3{font-size:18px;margin-top:0}
.rs-comments .comment-list{list-style:none;padding:0;margin:0}
.rs-comments .comment{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.rs-comments textarea,.rs-comments input[type=text],.rs-comments input[type=email],.rs-comments input[type=url]{width:100%;background:#191c1f;border:1px solid rgba(255,255,255,.15);color:#fff;border-radius:10px;padding:12px}
.rs-comments input[type=submit]{border:0;border-radius:10px;background:#ec3a44;color:#fff;padding:11px 22px;cursor:pointer}

/* 404 */
.rs-404{min-height:70vh;display:flex;align-items:center}
.rs-404-inner{text-align:center;padding:100px 20px}
.rs-404 h1{font-size:96px;margin:0;color:#ec3a44}
.rs-404 p{color:#aaa;margin-bottom:28px}

@media(max-width:1024px){.rs-card-grid,.rs-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rs-event-grid,.rs-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.rs-card-grid,.rs-video-grid,.rs-event-grid,.rs-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rs-archive-heading{min-height:0;height:150px}.rs-content-panel{padding:18px}}
@media(max-width:480px){.rs-post-grid{grid-template-columns:1fr}}
.rs-comments{width:calc(100% - 30px);max-width:1200px}


/* v0.1.6: preserve the original single set of red frequency bars.
   550px total height; symmetric from y=275, NO extra lower line/tail.
   The SAME waveform protrudes 230px above the cards and 320px behind them. */
#singleHero, #albumHero { overflow: visible; }
#singleHero .archive-hero__visualizer--music,
#albumHero .archive-hero__visualizer--music {
  inset: auto 0 auto;
  top: calc(100% - 120px);
  height: 300px;
  width: 100%;
  overflow: visible;
  pointer-events: none;
}
/* The fade extends to the full waveform bottom, eliminating the horizontal
   color seam at the hero/content boundary. Cards remain layered above it. */
#singleHero .archive-hero__overlay,
#albumHero .archive-hero__overlay {
  bottom: -180px;
  pointer-events: none;
}
#singleHero .archive-hero__visualizer--music rect,
#albumHero .archive-hero__visualizer--music rect {
  transform-origin: 50% 50%;
}
.single-page-wrapper > .container,
.archive-wrapper > .container { position: relative; z-index: 2; }

/* v0.1.7 – halve music waveform bars on phones, enlarge the remaining bars.
   The original 110-bar SVG, geometry, gradient and 550px desktop height stay intact. */
@media (max-width: 767px) {
  .archive-hero__visualizer--music rect:nth-of-type(even) { display: none; }
  .archive-hero__visualizer--music rect:nth-of-type(odd) { width: 14px; }
}

/* Albums catalog: archive.html in the supplied frontend was a SINGLE album,
   therefore the multi-album listing uses the same dark/glass/cover language. */
.rs-album-catalog__hero { height: 265px; }
.rs-album-catalog__body { position: relative; z-index: 3; margin-top: -36px; padding-bottom: 90px; }
.rs-album-catalog__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rs-album-card { min-width: 0; display: block; overflow: hidden; border-radius: 14px;
  background: linear-gradient(145deg, rgba(57, 63, 67, .9), rgba(31, 35, 39, .96));
  border: 1px solid rgba(255,255,255,.09); color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.2); transition: transform .25s ease, border-color .25s ease; }
.rs-album-card:hover { transform: translateY(-5px); border-color: rgba(236, 58, 68,.65); }
.rs-album-card__cover { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; background: #26292d; }
.rs-album-card__cover img { display: block; height: 100%; width: 100%; object-fit: cover; transition: transform .4s ease; }
.rs-album-card:hover .rs-album-card__cover img { transform: scale(1.045); }
.rs-album-card__cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5)); }
.rs-album-card__badge { position: absolute; top: 14px; right: 14px; border-radius: 8px; font-size: 11px;
  background: rgba(25,28,31,.8); color: white; padding: 6px 12px; backdrop-filter: blur(6px); }
.rs-album-card__view { position: absolute; left: 14px; bottom: 14px; width: 40px; height: 40px;
  border-radius: 50%; background: #ec3a44; display: grid; place-items: center; }
.rs-album-card__view svg { width: 20px; height: 20px; }
.rs-album-card__info { min-height: 122px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.rs-album-card__title { font-size: 16px; font-weight: 800; line-height: 1.65; }
.rs-album-card__en { font-size: 12px; color: #aaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.rs-album-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); color: #9e9e9e; font-size: 11px; }
.rs-album-card__foot > span { display: inline-flex; align-items: center; gap: 5px; color: #ddd; }
.rs-album-card__foot svg { width: 14px; height: 14px; }
@media (max-width: 1024px) { .rs-album-catalog__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; } }
@media (max-width: 767px) { .rs-album-catalog__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .rs-album-card__info { padding: 10px; min-height: 115px; } .rs-album-card__title { font-size: 13px; }
  .rs-album-card__foot { flex-wrap: wrap; } .rs-album-card__badge { top: 8px; right: 8px; }
  .rs-album-catalog__body { margin-top: -24px; } }

/* Muted video background shares the exact 230px exposed/320px behind layout
   of the waveform on the song/album page; no second visible video controls. */
.rs-video-page { padding-top: 0; }
.rs-video-hero { overflow: visible; height: 170px; min-height: 0; max-height: none; padding-bottom: 20px; }
.rs-video-hero__background { position: absolute; z-index: 0; left: 0; right: 0;
  top: calc(100% - 110px); height: 420px; overflow: hidden; pointer-events: none;
  background-position: center; background-size: cover; opacity: .35;
  filter: blur(5px); -webkit-filter: blur(5px); }
.rs-video-hero__background video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-video-hero .archive-hero__overlay { bottom: -320px; pointer-events: none; }
.rs-video-hero .video-page__header { margin: 0; }
.rs-video-page > .container { position: relative; z-index: 3; }
.rs-video-page .video-layout { margin-top: -34px; }
@media (max-width: 1024px) { .rs-video-page .video-layout { margin-top: -24px; } }
@media (max-width: 767px) { .rs-video-hero { height: 150px; } }


/* v0.1.9: Separate artwork per archive. Behind the existing heading/overlay. */
.rs-archive-hero-image {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-repeat: no-repeat; background-position: center;
  pointer-events: none;
}
.rs-archive-heading.has-custom-bg .archive-hero__visualizer { display: none; }
.rs-archive-heading.has-custom-bg .archive-hero__overlay,
.rs-album-catalog__hero.has-custom-bg .archive-hero__overlay {
  background: linear-gradient(180deg, rgba(25,28,31,.65), rgba(25,28,31,.68) 55%, #191c1f);
}
/* Shared artwork and archive grid for songs, articles and products. */
.rs-song-catalog__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.rs-song-card { text-decoration:none; }
.rs-song-card__title, .rs-song-card .rs-album-card__title { overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
@media(max-width:1024px) {.rs-song-catalog__grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}}
@media(max-width:767px) {.rs-song-catalog__grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}}

/* Hero and the circle story strip share one screen. Neither is taller than the viewport. */
.rs-home-top {
  --rs-stories-height: 200px;
  width: 100%; max-width: 100%;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  display: flex; flex-direction: column;
  min-height: 0; overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: #191c1f;
}
/* Account for the WordPress toolbar while keeping the slide + stories inside the screen. */
.admin-bar .rs-home-top {height:calc(100vh - 64px - 32px);height:calc(100dvh - 64px - 32px);}
@media(max-width:782px) {
  .admin-bar .rs-home-top {height:calc(100vh - 64px - 46px);height:calc(100dvh - 64px - 46px);}
}
.rs-home-top > .hero-section {
  height: auto; min-height: 0; flex: 1 1 auto;
  width: 100%; max-width: 100%;
  scroll-snap-align: none;
}
.rs-home-top .hero-slider,
.rs-home-top .hero-slider .swiper-wrapper,
.rs-home-top .hero-slider .swiper-slide { min-width: 0; max-width: 100%; }
.rs-home-top .hero-section__content {max-width: min(560px, 100%);}
.rs-stories {
  width:100%; max-width:100%; min-width:0;
  flex:0 0 var(--rs-stories-height); height:var(--rs-stories-height);
  overflow:hidden; scroll-snap-align:none;
  background:linear-gradient(180deg,#23282b,#191c1f);
  border-top:1px solid rgba(255,255,255,.08);
}
/* AF Story supplies the rings, modal and behavior. Theme controls section placement only. */
.rs-home-top--no-stories { --rs-stories-height: 0px; }
.rs-stories__inner {height:100%;display:flex;align-items:center;min-width:0;}
.rs-stories__inner > .af-stories-feed {width:100%;min-width:0;max-width:100%;}
.rs-stories .af-stories__rail {width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;}
.rs-stories .af-stories__label {color:#fff;}
@media(max-width:767px) {
  .rs-home-top {--rs-stories-height:200px;}
  .rs-home-top .hero-section__content {max-width:100%;padding:4px 0 12px;}
  .rs-home-top .hero-section__title {font-size:clamp(21px,6vw,32px);line-height:1.35;}
  .rs-home-top .hero-section__badge {padding:4px 10px;margin-bottom:10px;font-size:10px;}
  .rs-home-top .hero-section__desc {font-size:12px;line-height:1.7;margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .rs-home-top .hero-section__actions {margin-top:12px;gap:8px;}
  .rs-home-top .hero-section__actions .btn {height:38px;padding:0 10px;font-size:11px;}
  .rs-home-top .hero-slider .swiper-pagination {bottom:8px;}
}
@media(max-height:540px) and (max-width:767px) {
  .rs-home-top .hero-section__desc {display:none;}
  .rs-home-top .hero-section__actions .btn--outline {display:none;}
  .rs-home-top .hero-section__title {font-size:21px;}
}

/* v0.2.0: one reusable card across the music, article/category and product catalogs. */
.rs-loop-catalog__grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.rs-loop-card {text-decoration:none;}
.rs-loop-card .rs-album-card__title {overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.rs-loop-card__icon {color:#fff;}
.rs-loop-card__icon svg {color:#fff;stroke:#fff;fill:none;width:22px;height:22px;filter:brightness(0) invert(1);}
.rs-loop-card__excerpt {direction:rtl;text-align:right;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.7;}
.rs-loop-card__price {color:#fff;font-weight:700;min-width:0;}
.rs-loop-card__price .amount,.rs-loop-card__price ins {color:#fff;}
.rs-loop-card__price del {opacity:.6;font-weight:400;}
.rs-loop-card__price ins {text-decoration:none;}
.rs-product-catalog__hero {height:265px;background:linear-gradient(145deg,#24292c,#191c1f);}
.rs-product-catalog__grid {clear:both;}
.rs-product-catalog .woocommerce-result-count {color:#bcbcbc;margin-bottom:12px;}
.rs-product-catalog .woocommerce-ordering {margin:0 0 20px;}
.rs-product-catalog .woocommerce-ordering select {background:#2b3235;color:#fff;border:1px solid #575656;border-radius:10px;padding:10px;max-width:100%;}
.rs-product-catalog .woocommerce-pagination {display:flex;justify-content:center;margin-top:30px;}
.rs-product-catalog .woocommerce-pagination ul {display:flex;gap:8px;flex-wrap:wrap;}
.rs-product-catalog .woocommerce-pagination li a,.rs-product-catalog .woocommerce-pagination li span {display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border-radius:10px;color:#fff;border:1px solid rgba(255,255,255,.15);}
.rs-product-catalog .woocommerce-pagination li .current {background:#ec3a44;border-color:#ec3a44;}
@media(max-width:1024px){.rs-loop-catalog__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}}
@media(max-width:767px){.rs-loop-catalog__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.rs-loop-card__icon{width:34px;height:34px;left:8px;bottom:8px;}.rs-loop-card__price{font-size:11px;}.rs-loop-card .rs-album-card__foot{gap:5px;}}

/* Category icons remain white even when reused from legacy colored SVG symbols. */
.rs-category-feature-icon svg,.rs-loop-card .rs-album-card__foot svg {filter:brightness(0) invert(1);color:#fff;}


/* ==========================================
   کامنت‌ها — طراحی سفارشی
========================================== */
.rs-comments{position:relative;margin:40px auto 60px;padding:0;background:none;border:0;color:#d9dde0}
.rs-comments__title{display:flex;align-items:center;gap:12px;margin:0 0 22px;font-size:20px;font-weight:800;color:#fff}
.rs-comments__count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border-radius:10px;background:rgba(236, 58, 68,.18);color:#ff6b6b;font-size:15px}
.rs-comments .comment-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.rs-comments .comment-list .children{list-style:none;margin:14px 0 0;padding:0 26px 0 0;border-right:2px solid rgba(236, 58, 68,.35);display:flex;flex-direction:column;gap:14px}
.rs-comments .comment{padding:0;border:0}
.rs-comment__body{display:flex;gap:16px;padding:20px 22px;border-radius:18px;background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.08);transition:border-color .3s ease,transform .3s ease}
.rs-comment__body:hover{border-color:rgba(236, 58, 68,.4)}
.rs-comment__avatar{position:relative;flex:0 0 52px;width:52px;height:52px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#ec3a44,#8f1a22);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:20px}
.rs-comment__avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.rs-comment__main{flex:1;min-width:0}
.rs-comment__head{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:8px}
.rs-comment__author{font-size:15px;font-weight:800;color:#fff}
.rs-comment__badge{padding:2px 10px;border-radius:999px;background:#ec3a44;color:#fff;font-size:11px;font-weight:700}
.rs-comment__text{font-size:14px;line-height:2.1;color:#d5d9dc;overflow-wrap:anywhere}
.rs-comment__text p{margin:0 0 .6em}
.rs-comment__text p:last-child{margin-bottom:0}
.rs-comment__wait{margin:0 0 8px;padding:8px 12px;border-radius:10px;background:rgba(255,200,0,.1);color:#ffd35a;font-size:12px}
.rs-comment__actions{display:flex;align-items:center;gap:12px;margin-top:12px}
.rs-comment__actions a{display:inline-flex;align-items:center;padding:5px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.14);color:#c9ced1;font-size:12px;font-weight:700;transition:background-color .25s ease,border-color .25s ease,color .25s ease}
.rs-comment__actions a:hover{background:#ec3a44;border-color:#ec3a44;color:#fff}
.rs-comments__empty{padding:26px;border-radius:18px;border:1px dashed rgba(255,255,255,.16);text-align:center;color:#9aa1a6}

.rs-comments .comment-respond{margin-top:30px;padding:26px;border-radius:20px;background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.09)}
.rs-comments .comment-reply-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px;font-size:18px;font-weight:800;color:#fff}
.rs-comments .comment-reply-title small a{font-size:12px;font-weight:700;color:#ff6b6b}
.rs-comments .logged-in-as,.rs-comments .comment-notes{margin:0 0 16px;font-size:12px;color:#9aa1a6;line-height:1.9}
.rs-comments .logged-in-as a{color:#ff6b6b}
.rs-comments .required-field-message{display:none}
.rs-comments .comment-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.rs-comments .comment-form>*{grid-column:1/-1;margin:0}
.rs-comments .comment-form-author,.rs-comments .comment-form-email{grid-column:auto}
.rs-comments .comment-form label{display:block;margin-bottom:8px;font-size:13px;font-weight:700;color:#c9ced1}
.rs-comments textarea,.rs-comments input[type=text],.rs-comments input[type=email],.rs-comments input[type=url]{width:100%;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.12);color:#fff;border-radius:14px;padding:14px 16px;font-size:14px;line-height:1.9;transition:border-color .25s ease,box-shadow .25s ease}
.rs-comments textarea{min-height:150px;resize:vertical}
.rs-comments textarea:focus,.rs-comments input[type=text]:focus,.rs-comments input[type=email]:focus,.rs-comments input[type=url]:focus{border-color:#ec3a44;box-shadow:0 0 0 3px rgba(236, 58, 68,.22)}
.rs-comment-submit{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 34px;border:0;border-radius:999px;background:#ec3a44;color:#fff;font-size:14px;font-weight:800;cursor:pointer;transition:background-color .25s ease,transform .25s ease}
.rs-comment-submit:hover{background:#f24853;transform:translateY(-2px)}
@media(max-width:767px){
  .rs-comment__body{padding:16px;gap:12px}
  .rs-comment__avatar{flex-basis:42px;width:42px;height:42px;font-size:17px}
  .rs-comments .comment-list .children{padding-right:14px}
  .rs-comments .comment-respond{padding:18px}
  .rs-comments .comment-form{grid-template-columns:1fr}
}


/* هیرو صفحه‌ی تک‌آهنگ/خبر/رویداد/آلبوم کوچک‌تر + ویژوالایزر کوتاه‌تر از پایین */
.archive-hero.single-hero, #albumHero { height: 200px; padding-bottom: 24px; }
@media (max-width: 767px) { .archive-hero.single-hero, #albumHero { height: 170px; padding-bottom: 18px; } }


/* ==========================================
   ویدیو و امبد داخل متن بلاگ/صفحه — مثل صفحه‌ی سینگل ویدیو
========================================== */
.rs-entry-content video { max-width: 100%; }
.rs-entry-content .rs-post-video { margin: 30px 0; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; box-shadow: 0 24px 56px rgba(0,0,0,.45); max-height: 80vh; background: #000; }
.rs-post-video video.video-cover-img { object-fit: contain; opacity: 1; cursor: pointer; }
.rs-post-video .glass-play-btn { cursor: pointer; }
.rs-post-video .video-controls-overlay { transition: opacity .3s ease; }
.rs-post-video.is-playing .video-controls-overlay { opacity: 0; }
.rs-post-video.is-playing:hover .video-controls-overlay, .rs-post-video.is-paused .video-controls-overlay { opacity: 1; }
.rs-embed, .rs-entry-content .wp-block-embed__wrapper, .rs-entry-content .wp-video {
  position: relative; margin: 30px 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.1);
  background: #000; box-shadow: 0 24px 56px rgba(0,0,0,.45);
}
.rs-embed, .rs-entry-content .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.rs-embed iframe, .rs-entry-content .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rs-entry-content .wp-block-embed, .rs-entry-content figure.wp-block-video { margin: 0; }
.rs-entry-content figcaption { margin-top: -18px; margin-bottom: 26px; text-align: center; font-size: 12px; color: #9aa1a6; }

/* v0.4.0 typography — متن صفحه‌ها (زندگی‌نامه و ...) استاندارد و جاستیفای */
.rs-entry-content { font-size: 16px; line-height: 2.25; color: #dfe3e6; text-align: justify; text-justify: inter-word; overflow-wrap: break-word; }
.rs-entry-content p { font-weight: 400; line-height: 2.25; margin: 0 0 1.35em; text-align: justify; }
.rs-entry-content h1, .rs-entry-content h2, .rs-entry-content h3, .rs-entry-content h4 { margin: 1.7em 0 .7em; color: #fff; font-weight: 800; line-height: 1.7; text-align: right; }
.rs-entry-content h2 { font-size: 1.45em; }
.rs-entry-content h3 { font-size: 1.22em; }
.rs-entry-content h4 { font-size: 1.08em; }
.rs-entry-content ul, .rs-entry-content ol { margin: 0 0 1.35em; padding-inline-start: 1.7em; }
.rs-entry-content ul { list-style: disc; }
.rs-entry-content ol { list-style: decimal; }
.rs-entry-content li { margin-bottom: .55em; line-height: 2.15; font-weight: 400; text-align: justify; }
.rs-entry-content strong, .rs-entry-content b { color: #fff; font-weight: 800; }
.rs-entry-content blockquote { margin: 1.7em 0; padding: 16px 22px; border-right: 4px solid #ec3a44; border-radius: 12px; background: rgba(255,255,255,.045); font-style: normal; }
.rs-entry-content blockquote p:last-child { margin-bottom: 0; }
.rs-entry-content img { display: block; margin: 1.4em auto; }
.rs-entry-content hr { border: 0; height: 1px; margin: 2em 0; background: rgba(255,255,255,.12); }
.rs-entry-content > *:first-child { margin-top: 0; }
.rs-entry-content > *:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .rs-entry-content { font-size: 15px; line-height: 2.15; } .rs-entry-content p { line-height: 2.15; } }
