/* ================================================
   PersianTrend — Main Stylesheet
   RTL · Mobile-first · Vazirmatn
   ================================================ */

/* ---- Custom Properties ---- */
:root {
  --c-bg:           #ffffff;
  --c-bg-alt:       #f7f8fa;
  --c-bg-dark:      #0f1923;
  --c-bg-dark2:     #1a2a3a;
  --c-bg-card:      #ffffff;
  --c-accent:       #c0392b;
  --c-accent-h:     #a93226;
  --c-gold:         #c9a227;
  --c-text:         #1a1a1a;
  --c-text-muted:   #6b7280;
  --c-text-light:   #9ca3af;
  --c-border:       #e5e7eb;
  --c-border-dark:  rgba(255,255,255,0.1);
  --c-white:        #ffffff;
  --c-overlay:      rgba(15,25,35,0.85);

  --font:           'Vazirmatn', Tahoma, Arial, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;

  --header-h: 70px;
  --max-w:    1280px;
  --radius:   8px;
  --radius-lg: 12px;
  --trans:    0.2s ease;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  direction: rtl;
  lang: fa;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* No overflow-x:hidden here: on mobile Safari/Chrome it can corrupt
     the containing block for position:fixed elements (the reading
     progress bar, mobile nav, etc. start jumping to odd positions
     instead of hugging the viewport edge) — a known engine quirk, not
     spec behavior. The real fixes are min-width:0 on grid/flex columns
     and overflow-wrap on content typography below; max-width alone is
     a harmless extra safety net that doesn't affect fixed positioning. */
  max-width: 100%;
}
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}
img, video, iframe, embed, object { max-width: 100%; }
img, video { height: auto; display: block; }
table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: var(--font);
  font-size: inherit;
  color: inherit;
}
button { cursor: pointer; border: none; background: none; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section {
  padding-block: 4rem;
}
.section--alt {
  background: var(--c-bg-alt);
}
.section--dark {
  background: var(--c-bg-dark);
  color: var(--c-white);
}
.section--dark2 {
  background: var(--c-bg-dark2);
  color: var(--c-white);
}

.section-header {
  margin-bottom: 2.5rem;
}
.section-tag {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.3;
  color: inherit;
}
@media (min-width: 768px) {
  .section-title { font-size: var(--fs-3xl); }
}
.section-title--light { color: var(--c-white); }
.section-subtitle {
  font-size: var(--fs-base);
  color: var(--c-text-muted);
  margin-top: 0.5rem;
  max-width: 640px;
}
.section-subtitle--light { color: rgba(255,255,255,0.7); }

.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

/* ---- Grid ---- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: background var(--trans), color var(--trans), border-color var(--trans), transform var(--trans);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  border: 2px solid var(--c-accent);
}
.btn--primary:hover { background: var(--c-accent-h); border-color: var(--c-accent-h); }

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn--outline-dark {
  background: transparent;
  color: var(--c-text);
  border: 2px solid var(--c-border);
}
.btn--outline-dark:hover { border-color: var(--c-accent); color: var(--c-accent); }

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 2px solid transparent;
}
.btn--ghost:hover { background: rgba(255,255,255,0.2); }

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: var(--fs-base);
}
.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--fs-xs);
}

.btn--live {
  background: var(--c-accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background var(--trans);
}
.btn--live::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
.btn--live:hover { background: var(--c-accent-h); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--c-bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.header-logo img {
  height: 40px;
  width: auto;
}
.header-logo .logo-text {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.header-logo .logo-text span { color: var(--c-accent); }

.header-nav {
  display: none;
  flex: 1;
  justify-content: center;
}
@media (min-width: 1024px) {
  .header-nav { display: flex; }
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-nav ul li a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: var(--fs-sm);
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color var(--trans), background var(--trans);
}
.header-nav ul li a:hover,
.header-nav ul li.current-menu-item a {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  transition: background var(--trans);
}
.menu-toggle:hover { background: rgba(255,255,255,0.15); }
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* ================================================
   MOBILE NAV
   ================================================ */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--c-bg-dark2);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-inner {
  padding: 1.5rem 1.25rem;
}
.mobile-nav ul li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: var(--fs-lg);
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--trans);
}
.mobile-nav ul li a:hover { color: #fff; }
.mobile-nav-live {
  margin-top: 1.5rem;
}
.mobile-nav-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.mobile-nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.7);
  transition: background var(--trans), color var(--trans);
}
.mobile-nav-social a:hover { background: var(--c-accent); color: #fff; }

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  background: var(--c-bg-dark);
  color: var(--c-white);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(192,57,43,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  color: #e07060;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 0.35rem 0.875rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: #fff;
}
@media (min-width: 768px) {
  .hero { padding-block: 6rem 5rem; }
  .hero-title { font-size: var(--fs-4xl); }
}
@media (min-width: 1024px) {
  .hero-title { font-size: var(--fs-5xl); }
}
.hero-title em {
  font-style: normal;
  color: var(--c-accent);
}
.hero-desc {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-value {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--c-accent);
}
.hero-stat-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  margin-top: 0.125rem;
}

/* ================================================
   SOCIAL BAR
   ================================================ */
.social-bar {
  background: var(--c-bg-dark2);
  padding-block: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.social-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.25rem;
}
.social-bar-inner::-webkit-scrollbar { display: none; }
.social-bar-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.social-bar-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.875rem;
  border-radius: 20px;
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity var(--trans), transform var(--trans);
  flex-shrink: 0;
}
.social-pill:hover { opacity: 0.85; transform: translateY(-1px); }
.social-pill--yt  { background: #ff0000; color: #fff; }
.social-pill--tg  { background: #0088cc; color: #fff; }
.social-pill--ig  { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-pill--tw  { background: #000; color: #fff; }
.social-pill--web { background: var(--c-accent); color: #fff; }
.social-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ================================================
   VIDEO CARDS
   ================================================ */
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--trans);
}
.video-card:hover {
  transform: translateY(-4px);
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
}
.video-card__thumb img {
  width: 100%;
  height: 100%;
  /* contain: shows the whole thumbnail, never cropped/zoomed — needed
     because many source photos aren't a true 9:16 crop (older uploads,
     YouTube's fixed 16:9 auto-thumbnail). No background is set on
     .video-card__thumb, so any letterboxed gap is transparent and just
     shows the page background instead of a visible box/frame. */
  object-fit: contain;
  transition: transform 0.4s ease;
}
.video-card:hover .video-card__thumb img { transform: scale(1.04); }
.video-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2a3a, #0f1923);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--trans);
}
.video-card:hover .video-card__play { opacity: 1; }
.video-card__play-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card__play-icon svg { width: 20px; height: 20px; color: var(--c-bg-dark); margin-right: -2px; }
.video-card__cat {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  background: var(--c-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.video-card__duration {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}
.video-card__body {
  padding: 1rem 1.125rem 1.25rem;
}
.video-card__title {
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.625rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--c-text);
  transition: color var(--trans);
}
.video-card:hover .video-card__title { color: var(--c-accent); }
.video-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}
.video-card__date {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.video-card__btn {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--trans);
}
.video-card:hover .video-card__btn { gap: 0.5rem; }

/* ================================================
   LIVE BANNER
   ================================================ */
.live-banner {
  background: linear-gradient(135deg, #0f1923 0%, #1a0a08 50%, #2a0f0d 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid rgba(192,57,43,0.25);
  position: relative;
  overflow: hidden;
}
.live-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(192,57,43,0.2) 0%, transparent 70%);
  pointer-events: none;
}
@media (min-width: 768px) {
  .live-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 3rem;
  }
}
.live-banner__dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #ff4444;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.live-banner__dot::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
.live-banner__title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .live-banner__title { font-size: var(--fs-3xl); }
}
.live-banner__desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 480px;
}
.live-banner__action { flex-shrink: 0; }

/* ================================================
   AD BLOCKS
   ================================================ */
.ad-block {
  width: 100%;
  overflow: hidden;
}
.ad-block--banner {
  background: var(--c-bg-alt);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-light);
  font-size: var(--fs-xs);
  text-align: center;
  padding: 0.5rem;
}
.ad-block--sidebar {
  background: var(--c-bg-alt);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-light);
  font-size: var(--fs-xs);
  text-align: center;
}

/* ================================================
   VIDEO PLAYER PAGE
   ================================================ */
.player-page { padding-block: 2rem; }

.player-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .player-layout {
    grid-template-columns: 1fr 280px;
    gap: 2rem;
  }
  /* No sidebar widget/banner assigned — main column takes the full
     width instead of leaving an empty 280px gutter. */
  .player-layout--full {
    grid-template-columns: 1fr;
  }
}

/* min-width:0 is the actual fix for the mobile horizontal-scroll bug:
   a grid item's default min-width is "auto", which sizes to the
   max-content width of its children — a long unbroken word/URL/table/
   iframe pasted into the article would otherwise stretch this whole
   column (and the page) wider than the viewport. */
.player-main { min-width: 0; }

.video-wrapper {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  width: 100%;
}
.video-wrapper video,
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius-lg);
}
.video-embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pt-video-player {
  width: 100%;
  height: auto;
  background: #000;
}

.video-info {
  padding: 1.25rem 0;
}
.video-info__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.video-info__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}
.video-info__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.8;
  /* Root fix for the mobile overflow bug: a long unbroken word/URL
     pasted into a post would otherwise force this box (and the whole
     page, absent min-width:0 upstream) wider than the viewport. */
  overflow-wrap: anywhere;
  word-break: break-word;
}
.video-info__desc > * + * { margin-top: 1.1em; }
.video-info__desc img,
.video-info__desc iframe,
.video-info__desc video,
.video-info__desc table,
.video-info__desc embed,
.video-info__desc object {
  max-width: 100%;
  border-radius: var(--radius);
}
.video-info__desc iframe { aspect-ratio: 16/9; height: auto; width: 100%; }
.video-info__desc h2, .video-info__desc h3, .video-info__desc h4 {
  font-weight: 800;
  line-height: 1.5;
  color: var(--c-text);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.video-info__desc h2 { font-size: var(--fs-xl); }
.video-info__desc h3 { font-size: var(--fs-lg); }
.video-info__desc a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }
.video-info__desc ul, .video-info__desc ol { list-style: initial; padding-inline-start: 1.5em; }
.video-info__desc blockquote {
  border-inline-start: 3px solid var(--c-accent);
  padding-inline-start: 1rem;
  color: var(--c-text-muted);
  font-style: italic;
}
.video-share {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.video-share-label {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}
.video-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  font-weight: 600;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  transition: background var(--trans), border-color var(--trans);
}
.video-share-btn:hover { background: var(--c-bg-alt); border-color: var(--c-accent); color: var(--c-accent); }

.player-sidebar { min-width: 0; }
.player-sidebar .ad-block + .ad-block { margin-top: 1rem; }

/* ================================================
   CATEGORY FILTER
   ================================================ */
.cat-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.5rem;
  margin-bottom: 2rem;
}
.cat-filter::-webkit-scrollbar { display: none; }
.cat-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: var(--fs-sm);
  font-weight: 500;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  white-space: nowrap;
  transition: background var(--trans), border-color var(--trans), color var(--trans);
  flex-shrink: 0;
}
.cat-btn:hover,
.cat-btn.is-active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

/* ================================================
   ARCHIVE GRID
   ================================================ */
.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 0.75rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 500;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  color: var(--c-text);
  transition: background var(--trans), border-color var(--trans), color var(--trans);
}
.pagination a:hover,
.pagination .current {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

/* ================================================
   ADVERTISING PAGE
   ================================================ */
.ad-page-hero {
  background: var(--c-bg-dark);
  color: #fff;
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.ad-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(192,57,43,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ad-package-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--trans), border-color var(--trans), transform var(--trans);
}
.ad-package-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--c-accent);
  transform: translateY(-2px);
}
.ad-package-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(192,57,43,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.ad-package-card__icon svg { width: 24px; height: 24px; color: var(--c-accent); }
.ad-package-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ad-package-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}

.audience-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
}
.audience-item:last-child { border-bottom: none; }
.audience-item__bullet {
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.audience-item__text {
  font-size: var(--fs-base);
  color: var(--c-text);
  line-height: 1.6;
}

.ad-placement-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ad-placement-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}
.ad-placement-item__icon {
  width: 36px;
  height: 36px;
  background: rgba(192,57,43,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ad-placement-item__icon svg { width: 18px; height: 18px; color: var(--c-accent); }
.ad-placement-item__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}

.cta-box {
  background: var(--c-bg-dark);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
}
.cta-box__title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .cta-box__title { font-size: var(--fs-3xl); } }
.cta-box__desc {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
}
.cta-box__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-box__email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-sm);
  transition: color var(--trans);
}
.cta-box__email:hover { color: #fff; }

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-hero {
  background: var(--c-bg-dark);
  color: #fff;
  padding-block: 4rem;
}
.about-content {
  max-width: 720px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.about-content img,
.about-content iframe,
.about-content table {
  max-width: 100%;
}
.about-content p {
  font-size: var(--fs-lg);
  line-height: 2;
  color: var(--c-text);
  margin-bottom: 1.5rem;
}
.about-content p:last-child { margin-bottom: 0; }

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .activity-grid { grid-template-columns: repeat(3, 1fr); }
}
.activity-item {
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid var(--c-border);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--c-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}
@media (min-width: 640px) {
  .team-card {
    flex-direction: row;
    align-items: flex-start;
  }
}
.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-bg-dark), var(--c-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.team-card__name {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.team-card__role {
  font-size: var(--fs-sm);
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.team-card__bio {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.8;
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
}

.contact-info {}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(192,57,43,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item__icon svg { width: 20px; height: 20px; color: var(--c-accent); }
.contact-info-item__label {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-bottom: 0.25rem;
}
.contact-info-item__value {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}
.contact-info-item__value a {
  color: var(--c-accent);
  transition: opacity var(--trans);
}
.contact-info-item__value a:hover { opacity: 0.8; }

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  transition: background var(--trans), border-color var(--trans), color var(--trans);
}
.contact-social-btn:hover { background: var(--c-bg-alt); border-color: var(--c-accent); color: var(--c-accent); }

/* Contact Form */
.contact-form-wrap {
  background: var(--c-bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--c-border);
}
.contact-form-title {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--c-text);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: var(--fs-sm);
  transition: border-color var(--trans), box-shadow var(--trans);
  direction: rtl;
  text-align: right;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 130px;
}
.form-select {
  cursor: pointer;
}

/* CF7 Compatibility */
.wpcf7 .wpcf7-form-control { width: 100% !important; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: var(--fs-sm);
  font-family: var(--font);
  direction: rtl;
  text-align: right;
}
.wpcf7 input[type="submit"] {
  background: var(--c-accent) !important;
  color: #fff !important;
  padding: 0.75rem 2rem !important;
  border-radius: var(--radius) !important;
  font-family: var(--font) !important;
  font-weight: 700 !important;
  font-size: var(--fs-base) !important;
  cursor: pointer !important;
  border: none !important;
  transition: background var(--trans) !important;
}
.wpcf7 input[type="submit"]:hover { background: var(--c-accent-h) !important; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-logo-text {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
}
.footer-logo-text span { color: var(--c-accent); }
.footer-about-text {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: background var(--trans), color var(--trans);
}
.footer-social-btn:hover { background: var(--c-accent); color: #fff; }
.footer-social-btn svg { width: 18px; height: 18px; }

.footer-col-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-col ul li {
  margin-bottom: 0.625rem;
}
.footer-col ul li a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}
.footer-contact-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.125rem;
}
.footer-contact-value {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
}
.footer-contact-value a {
  color: rgba(255,255,255,0.6);
  transition: color var(--trans);
}
.footer-contact-value a:hover { color: var(--c-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copyright {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
}

/* ================================================
   LOADING / SPINNER
   ================================================ */
.loading-spinner {
  display: flex;
  justify-content: center;
  padding: 3rem;
}
.loading-spinner::after {
  content: '';
  width: 36px;
  height: 36px;
  border: 3px solid var(--c-border);
  border-top-color: var(--c-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================
   UTILITIES
   ================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-accent { color: var(--c-accent); }
.text-muted { color: var(--c-text-muted); }
.text-white { color: #fff; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* ================================================
   MID-ROLL AD OVERLAY
   ================================================ */

/* video-wrapper must be relative for the overlay to position correctly */
.video-wrapper { position: relative; }

.pt-midroll-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 20;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pt-midroll-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.pt-midroll-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pt-midroll-ui {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pt-midroll-badge {
  background: #f4c430;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.pt-midroll-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.pt-midroll-mute {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  border-radius: 4px;
  padding: 0.3rem 0.625rem;
  font-size: 16px;
  cursor: pointer;
  transition: background var(--trans);
  line-height: 1;
}
.pt-midroll-mute:hover { background: rgba(255,255,255,0.22); }

.pt-midroll-skip {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 4px;
  padding: 0.35rem 0.875rem;
  font-family: var(--font);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  direction: rtl;
  transition: background var(--trans), border-color var(--trans);
  white-space: nowrap;
}
.pt-midroll-skip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.pt-midroll-skip:not(:disabled) {
  background: rgba(255,255,255,0.28);
  border-color: #fff;
}
.pt-midroll-skip:not(:disabled):hover {
  background: rgba(255,255,255,0.38);
}
.pt-midroll-skip .pt-skip-countdown {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
  font-weight: 800;
  color: #f4c430;
}

/* ================================================
   PER-VIDEO SIDEBAR BANNERS
   ================================================ */
.pt-video-banners {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.pt-video-banner {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: opacity var(--trans), transform var(--trans);
}
.pt-video-banner:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.pt-video-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.pt-video-banner a {
  display: block;
}

/* Lazy load blur-up */
img.lazy { filter: blur(8px); transition: filter 0.4s; }
img.lazy.loaded { filter: none; }

/* No results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--c-text-muted);
}
.no-results svg { width: 48px; height: 48px; margin: 0 auto 1rem; opacity: 0.3; }

/* Page hero shared */
.page-hero {
  background: var(--c-bg-dark);
  color: #fff;
  padding-block: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .page-hero__title { font-size: var(--fs-4xl); } }
.page-hero__desc {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  line-height: 1.8;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin-block: 0;
}
.divider--dark { border-top-color: rgba(255,255,255,0.08); }

/* Value highlights */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

.value-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
}
.value-item__num {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.value-item__label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
}

/* ================================================
   LIVE DOT (header + mobile nav)
   ================================================ */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 1.2s infinite;
}

.btn--live--on {
  background: #d63031;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.05em;
  animation: live-glow 2s ease-in-out infinite;
}
.btn--live--on:hover { background: #c0392b; transform: translateY(-1px); }

@keyframes live-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214,48,49,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(214,48,49,0); }
}

/* ================================================
   LIVE EMBED SECTION (page-live.php)
   ================================================ */
.live-embed-section { padding-block: 2.5rem; }

.live-embed-layout {
  max-width: 900px;
  margin-inline: auto;
}

.live-embed-main {}

.live-embed-info {
  padding: 1rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Override video-share btn colors on dark bg */
.live-embed-section .video-share-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}
.live-embed-section .video-share-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

/* ================================================
   NEWS SYSTEM (Posts / Categories / Tags)
   Homepage "مهم‌ترین اخبار" section + news cards
   ================================================ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .news-layout {
    /* Explicit named areas instead of order-based auto-placement —
       unambiguous regardless of RTL. In RTL the first column of
       grid-template-areas is the right-hand side, so "grid" (the small
       2x2 cards) sits on the right and "featured" (the big headline
       card, given the wider track) sits on the left — matching the
       reference layout exactly. */
    grid-template-columns: 1fr 1.35fr;
    grid-template-areas: "grid featured";
    gap: 1.75rem;
    align-items: stretch;
  }
  .news-layout__featured { grid-area: featured; min-width: 0; }
  .news-layout__grid { grid-area: grid; min-width: 0; }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

/* ---- Featured (headline) card ---- */
.news-featured {
  position: relative;
  min-height: 320px;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--c-bg-dark2);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 1024px) {
  .news-featured { min-height: 460px; }
}
.news-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,25,35,0) 30%, rgba(15,25,35,0.55) 65%, rgba(15,25,35,0.95) 100%);
  pointer-events: none;
}
.news-featured__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}
.news-featured__body {
  /* No position:relative here on purpose — .news-featured is the flex
     parent (display:flex), so z-index still applies and paints this
     above .news-featured::before per the flexbox spec, without this
     div becoming a containing block that would trap the stretched-link
     ::after (see .news-featured__link::after) to just this text area
     instead of the full card. */
  z-index: 1;
  padding: 1.5rem;
  color: #fff;
}
.news-featured__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.625rem;
}
@media (min-width: 768px) {
  .news-featured__title { font-size: var(--fs-2xl); }
}
.news-featured__title a { color: #fff; transition: color var(--trans); }
.news-featured__title a:hover { color: var(--c-gold); }
.news-featured__link::after {
  /* Stretched link: no position on .news-featured__link itself — that
     would make the <a> its own containing block and shrink this ::after
     down to just the title's box. Left unpositioned (static), it falls
     through to the nearest positioned ancestor, .news-featured (which
     has position:relative), so inset:0 covers the entire card. */
  content: '';
  position: absolute;
  inset: 0;
}
.news-featured__excerpt {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-featured__meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
}
.news-featured__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

/* ---- Small news card ---- */
.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans);
}
.news-card:hover {
  transform: translateY(-3px);
}
.news-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card__thumb img { transform: scale(1.04); }
.news-card__cat {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--c-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.news-card__body {
  padding: 0.75rem 0.875rem 0.875rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--c-text);
  transition: color var(--trans);
}
.news-card:hover .news-card__title { color: var(--c-accent); }
.news-card__meta {
  margin-top: auto;
  padding-top: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  color: var(--c-text-muted);
}
.news-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-text-light);
  flex-shrink: 0;
}

/* ================================================
   DONATION PAGE
   ================================================ */
.donate-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .donate-methods {
    grid-template-columns: 0.85fr 1.4fr 0.85fr;
    gap: 1.75rem;
  }
}

.donate-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  height: 100%;
}
.donate-card--bank {
  border-color: rgba(192,57,43,0.35);
  background: linear-gradient(180deg, rgba(192,57,43,0.05), transparent 40%);
}
.donate-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-alt);
  flex-shrink: 0;
}
.donate-card--bank .donate-card__icon {
  background: rgba(192,57,43,0.12);
  color: var(--c-accent);
}
.donate-card__title {
  font-size: var(--fs-lg);
  font-weight: 800;
}
.donate-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}
.donate-card__link {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  text-align: center;
  direction: ltr;
  transition: color var(--trans);
}
.donate-card__link:hover { color: var(--c-accent); }

/* ---- Crypto coin cards ---- */
.crypto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .crypto-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) and (max-width: 1240px) {
  .crypto-grid { grid-template-columns: 1fr; }
}
.crypto-coin {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}
.crypto-coin__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.crypto-coin__head small {
  font-size: 10px;
  font-weight: 500;
  color: var(--c-text-muted);
}
.crypto-coin__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
}
.crypto-coin__qr {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  border: 1px solid var(--c-border);
}
.crypto-coin__qr-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 6px;
  border: 1px dashed var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-light);
  font-size: var(--fs-xs);
  text-align: center;
  padding: 0.5rem;
}
.crypto-coin__label {
  font-size: 11px;
  color: var(--c-text-muted);
}
.crypto-coin__address {
  font-size: 11px;
  color: var(--c-text);
  direction: ltr;
  word-break: break-all;
  max-width: 100%;
}

/* ---- Card-to-card / gateway tabs ---- */
.donate-tabs {
  display: flex;
  gap: 0.5rem;
}
.donate-tab {
  flex: 1;
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-bg-alt);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-muted);
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.donate-tab.is-active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.donate-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm);
}
.donate-field:last-child { border-bottom: none; }
.donate-field span { color: var(--c-text-muted); font-size: var(--fs-xs); }
.donate-field strong { direction: ltr; }

.donate-note {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
  text-align: center;
  margin-top: 0.5rem;
}
.live-embed-section .video-share-label { color: rgba(255,255,255,0.4); }

/* ================================================
   NEWS PAGE (page-news.php)
   Breaking ticker, priority showcase, latest list + sidebar
   ================================================ */
.news-card__excerpt {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-top: 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Showcase grid (4-across on desktop, independent of the
   homepage teaser's always-2-column .news-grid) ---- */
.news-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .news-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Breaking news ticker ---- */
.news-ticker {
  background: var(--c-bg-dark2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-block: 0.625rem;
}
.news-ticker__inner {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.news-ticker__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}
.news-ticker__nav {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}
.news-ticker__nav:hover { background: rgba(255,255,255,0.18); }
.news-ticker__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.news-ticker__list {
  position: relative;
  height: 1.5em;
}
.news-ticker__item {
  display: none;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-ticker__item.is-active { display: block; }
.news-ticker__item a { color: inherit; transition: color var(--trans); }
.news-ticker__item a:hover { color: var(--c-gold); }
.news-ticker__dots {
  flex-shrink: 0;
  display: flex;
  gap: 0.3rem;
}
.news-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background var(--trans), transform var(--trans);
}
.news-ticker__dot.is-active { background: var(--c-accent); transform: scale(1.3); }
@media (max-width: 640px) {
  .news-ticker__dots { display: none; }
}

/* ---- Latest news list + sidebar layout ---- */
.news-layout-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.news-latest,
.news-layout-main .news-sidebar { min-width: 0; }
@media (min-width: 1024px) {
  .news-layout-main { grid-template-columns: 1fr 340px; }
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.news-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-border);
}
.news-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-list-item__thumb {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg-alt);
}
.news-list-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list-item__body { flex: 1; min-width: 0; }
.news-list-item__title {
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.375rem;
}
.news-list-item__title a { color: var(--c-text); transition: color var(--trans); }
.news-list-item__title a:hover { color: var(--c-accent); }
.news-list-item__excerpt {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list-item__arrow {
  flex-shrink: 0;
  align-self: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.news-list-item:hover .news-list-item__arrow {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

/* ---- News sidebar widgets ---- */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.news-widget {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.news-widget__title {
  font-size: var(--fs-base);
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--c-accent);
  display: inline-block;
}
.news-popular-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.news-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.news-popular-item__num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--c-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-popular-item__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.2rem;
}
.news-popular-item__title a { color: var(--c-text); }
.news-popular-item__title a:hover { color: var(--c-accent); }
.news-popular-item__time { font-size: 11px; color: var(--c-text-muted); }

.news-widget-cats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.news-widget-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--c-text);
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius);
  transition: background var(--trans), color var(--trans);
}
.news-widget-cats a:hover { background: var(--c-bg-card); color: var(--c-accent); }
.news-widget-cats a span { font-size: 11px; color: var(--c-text-muted); }

.news-widget--telegram {
  text-align: center;
  background: linear-gradient(135deg, var(--c-bg-dark), var(--c-bg-dark2));
  color: #fff;
  border: none;
}
.news-widget--telegram__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,136,204,0.15);
  color: #0088cc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.news-widget--telegram__text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ================================================
   HEADER SEARCH
   ================================================ */
.header-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background var(--trans);
  flex-shrink: 0;
}
.header-search-toggle:hover { background: rgba(255,255,255,0.15); }

.header-search-box {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1200;
  background: var(--c-bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.25rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.header-search-box.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.header-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.6);
}
.header-search-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: var(--fs-base);
  outline: none;
}
.header-search-input::placeholder { color: rgba(255,255,255,0.4); }
.header-search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
  transition: color var(--trans);
}
.header-search-close:hover { color: #fff; }

.search-suggest {
  margin-top: 0.75rem;
  background: var(--c-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.search-suggest__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--trans);
}
.search-suggest__item:last-child { border-bottom: none; }
.search-suggest__item:hover { background: var(--c-bg-alt); }
.search-suggest__thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
}
.search-suggest__thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-suggest__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.search-suggest__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-suggest__cat { font-size: 11px; color: var(--c-text-muted); }
.search-suggest__empty { padding: 1rem; text-align: center; color: var(--c-text-muted); font-size: var(--fs-sm); }

/* ================================================
   READING PROGRESS BAR
   ================================================ */
.reading-progress {
  position: fixed;
  top: var(--header-h);
  right: 0; /* plain physical fallback alongside the logical property below */
  inset-inline-start: 0;
  left: auto;
  height: 3px;
  width: 0%;
  background: var(--c-accent);
  z-index: 999;
  margin: 0; /* this is a plain <div>, not a grid/flex item — no inherited margin should apply, but be explicit */
  transition: width 0.1s linear;
}

/* ================================================
   ARTICLE: Table of Contents
   ================================================ */
.article-toc {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.article-toc__title {
  font-size: var(--fs-sm);
  font-weight: 800;
  margin-bottom: 0.625rem;
}
.article-toc__list {
  list-style: decimal;
  padding-inline-start: 1.25em;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.article-toc__item a {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  transition: color var(--trans);
}
.article-toc__item a:hover { color: var(--c-accent); }
.article-toc__item--h3 { margin-inline-start: 1rem; }

/* ================================================
   ARTICLE: Tags
   ================================================ */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.article-tags__item {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-muted);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 0.3rem 0.875rem;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.article-tags__item:hover {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}

/* ================================================
   ARTICLE: Author Box
   ================================================ */
.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: var(--c-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}
.author-box__avatar { flex-shrink: 0; }
.author-box__avatar img { width: 56px; height: 56px; border-radius: 50%; display: block; }
.author-box__body { min-width: 0; }
.author-box__label {
  display: block;
  font-size: 11px;
  color: var(--c-text-light);
  margin-bottom: 0.2rem;
}
.author-box__name {
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--c-text);
}
.author-box__bio {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-top: 0.375rem;
}
.author-box__count {
  display: inline-block;
  font-size: var(--fs-xs);
  color: var(--c-text-light);
  margin-top: 0.5rem;
}

/* ================================================
   NEWS PAGE: Trending List
   ================================================ */
.news-trending-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.news-trending-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius);
  transition: transform var(--trans);
}
.news-trending-item:hover { transform: translateX(-2px); }
.news-trending-item__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-bg-dark);
  color: var(--c-gold);
  font-weight: 800;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-trending-item__title {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-trending-item__meta {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--c-text-muted);
}

/* ================================================
   NEWS PAGE: Filter Bar
   ================================================ */
.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.news-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 130px;
}
.news-filter-group label {
  font-size: 11px;
  color: var(--c-text-muted);
  font-weight: 600;
}
.news-filter-group select {
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: var(--fs-sm);
  cursor: pointer;
}

/* ================================================
   NEWS PAGE: Most-Viewed range tabs
   ================================================ */
.news-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.news-widget__head .news-widget__title { margin-bottom: 0; }
.news-range-tabs {
  display: flex;
  gap: 0.25rem;
  background: var(--c-bg-card);
  border-radius: 20px;
  padding: 0.2rem;
}
.news-range-tab {
  font-size: 11px;
  font-weight: 600;
  color: var(--c-text-muted);
  padding: 0.3rem 0.625rem;
  border-radius: 16px;
  transition: background var(--trans), color var(--trans);
}
.news-range-tab.is-active,
.news-range-tab:hover {
  background: var(--c-accent);
  color: #fff;
}
.news-popular-item--empty {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  text-align: center;
  padding: 1rem 0;
}
