/* =========================================================================
   ژورنال RHÉA — صفحه‌ی ژورنال، تک‌مقاله، جستجو و دسته‌ها
   (page-journal.php, single.php, search.php, category.php, template-parts/journal-card.php)
   هم‌زبان با بقیه‌ی سایت: شیشه‌ی روشن، کارت عاجی، متن سرمه‌ای، تأکید بورگاندی.
   وابسته به Tailwind نیست؛ همه‌ی انتخابگرها با .rj شروع می‌شوند تا با preflight تداخل نکنند.
   ========================================================================= */
.rj {
  --rj-b: #4e0000;
  --rj-b2: #6a0a14;
  --rj-n: #13273f;
  --rj-iv: #fdfbf7;
  --rj-gold: #c5a059;
  --rj-line: rgba(19, 39, 63, .09);
  --rj-mute: rgba(19, 39, 63, .62);
  --rj-e: cubic-bezier(.16, 1, .3, 1);
  max-width: 1120px; margin: 0 auto; padding: 18px 14px 130px;
  font-family: 'Noto Naskh Arabic', Tahoma, sans-serif; color: var(--rj-n); text-align: right;
}
.rj *, .rj *::before, .rj *::after { box-sizing: border-box; }
.rj h1, .rj h2, .rj h3, .rj h4, .rj p, .rj ul, .rj ol, .rj figure { margin: 0; }
.rj a { color: inherit; text-decoration: none; }
.rj img { display: block; max-width: 100%; }
.rj .rj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rj a:focus-visible, .rj button:focus-visible, .rj input:focus-visible, .rj textarea:focus-visible, .rj summary:focus-visible {
  outline: 2px solid var(--rj-b); outline-offset: 3px;
}

/* ---------- سطح‌ها ---------- */
.rj .rj-glass {
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(232, 240, 248, .5);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 18px 40px -22px rgba(28, 48, 76, .42);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .rj .rj-glass { background: rgba(242, 243, 246, .96); }
}
.rj .rj-ivory {
  background: var(--rj-iv); border: 1px solid rgba(19, 39, 63, .05);
  box-shadow: 0 22px 34px -22px rgba(19, 39, 63, .5), inset 0 1px 0 #fff;
}
.rj .rj-box { border-radius: 24px; padding: 18px; }
.rj .rj-box__t {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rj-line);
  font-size: 13px; font-weight: 800; color: var(--rj-b);
}
.rj .rj-box__t small { font-size: 9.5px; font-weight: 600; letter-spacing: .18em; color: var(--rj-mute); direction: ltr; }

/* ---------- کادر بالای صفحه (هم‌خانواده‌ی صفحه‌های راهنما) ---------- */
.rj .rj-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 26px 22px 30px; border-radius: 30px; color: var(--rj-iv);
  background: linear-gradient(165deg, var(--rj-b2), var(--rj-b) 55%, #2c0207);
  box-shadow: 0 30px 50px -28px rgba(78, 0, 0, .8);
}
.rj .rj-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 6px);
}
.rj .rj-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11px; opacity: .82; }
.rj .rj-crumb a { border-bottom: 1px solid rgba(253, 251, 247, .35); padding-bottom: 1px; transition: border-color .3s ease; }
.rj .rj-crumb a:hover { border-color: var(--rj-iv); }
.rj .rj-crumb span[aria-hidden] { opacity: .55; }
.rj .rj-hero__title { margin-top: 14px; font-size: 21px; font-weight: 800; line-height: 1.65; }
.rj .rj-hero__sub { margin-top: 8px; max-width: 40em; font-size: 12.5px; line-height: 2.1; opacity: .86; }
.rj .rj-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rj .rj-meta span {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid rgba(253, 251, 247, .22); background: rgba(253, 251, 247, .08); font-size: 10.5px;
}
.rj .rj-hero__img { margin-top: 18px; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid rgba(253, 251, 247, .25); }
.rj .rj-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.rj .rj-hero--sm { padding: 22px 20px 24px; }
.rj .rj-hero--sm .rj-hero__title { font-size: 21px; margin-top: 10px; }

/* ---------- جستجو ---------- */
.rj .rj-search { position: relative; }
.rj .rj-search input {
  width: 100%; height: 44px; padding: 0 14px 0 46px; border-radius: 16px;
  border: 1px solid rgba(19, 39, 63, .12); background: rgba(255, 255, 255, .78);
  font: inherit; font-size: 12.5px; color: var(--rj-n); transition: border-color .3s ease, box-shadow .3s ease;
}
.rj .rj-search input::placeholder { color: rgba(19, 39, 63, .45); }
.rj .rj-search input:focus { outline: none; border-color: rgba(78, 0, 0, .45); box-shadow: 0 0 0 4px rgba(78, 0, 0, .07); }
.rj .rj-search button {
  position: absolute; left: 5px; top: 5px; width: 34px; height: 34px; border: 0; border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: var(--rj-b); color: var(--rj-iv);
  transition: background-color .3s ease;
}
.rj .rj-search button:hover { background: var(--rj-b2); }
.rj .rj-search svg { width: 16px; height: 16px; }

/* ---------- فهرست مطالب ---------- */
.rj .rj-toc { display: flex; flex-direction: column; gap: 2px; counter-reset: rjtoc; }
.rj .rj-toc a {
  position: relative; display: flex; align-items: baseline; gap: 8px; padding: 7px 10px; border-radius: 12px;
  font-size: 12px; line-height: 1.85; color: rgba(19, 39, 63, .78); transition: background-color .3s ease, color .3s ease;
}
.rj .rj-toc a::before {
  counter-increment: rjtoc; content: counter(rjtoc, persian);
  flex: 0 0 auto; min-width: 1.4em; font-size: 11px; font-weight: 800; color: var(--rj-gold);
}
.rj .rj-toc a:hover { background: rgba(255, 255, 255, .7); color: var(--rj-n); }
.rj .rj-toc a.is-on { background: var(--rj-b); color: var(--rj-iv); }
.rj .rj-toc a.is-on::before { color: rgba(253, 251, 247, .75); }
.rj .rj-toc__empty { font-size: 11.5px; color: var(--rj-mute); }

/* ابزار بالای مقاله در موبایل (جستجو + فهرست) */
.rj .rj-tools { margin-top: 14px; }
.rj .rj-tools .rj-search { margin-bottom: 12px; }
.rj .rj-tools details > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 2px 2px 10px; font-size: 13px; font-weight: 800; color: var(--rj-b);
}
.rj .rj-tools details > summary::-webkit-details-marker { display: none; }
.rj .rj-tools details > summary svg { width: 16px; height: 16px; transition: transform .4s var(--rj-e); }
.rj .rj-tools details[open] > summary svg { transform: rotate(180deg); }
.rj .rj-tools details > summary small { margin-inline-start: auto; margin-inline-end: 8px; font-size: 10.5px; font-weight: 600; color: var(--rj-mute); }

/* ---------- چیدمان تک‌مقاله ---------- */
.rj .rj-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.rj .rj-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rj .rj-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rj .rj-only-d { display: none; }
@media (min-width: 1024px) {
  .rj { padding-top: 26px; }
  .rj .rj-layout { grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: 'side main'; gap: 26px; align-items: start; }
  .rj .rj-main { grid-area: main; }
  .rj .rj-side {
    grid-area: side; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto;
    padding: 2px; scrollbar-width: thin; scrollbar-color: rgba(19, 39, 63, .2) transparent;
  }
  .rj .rj-only-d { display: block; }
  .rj .rj-only-m { display: none; }
  .rj .rj-hero__title { font-size: 30px; }
  .rj .rj-hero { padding: 32px 34px 36px; }
}

/* ---------- متن مقاله ---------- */
.rj .rj-article { border-radius: 28px; padding: 24px 20px; }
@media (min-width: 768px) { .rj .rj-article { padding: 34px 40px; } }
.rj-prose { font-size: 14.5px; line-height: 2.15; color: var(--rj-n); overflow-wrap: anywhere; }
.rj-prose > * + * { margin-top: 1.05em !important; }
.rj-prose h2 {
  position: relative; margin-top: 1.9em !important; padding-top: 14px; scroll-margin-top: 96px;
  font-size: 19px; font-weight: 800; line-height: 1.8; color: var(--rj-b);
}
.rj-prose h2::before { content: ''; position: absolute; top: 0; right: 0; width: 34px; height: 2px; border-radius: 2px; background: var(--rj-gold); }
.rj-prose > h2:first-child { margin-top: 0 !important; }
.rj-prose h3 { margin-top: 1.5em !important; scroll-margin-top: 96px; font-size: 15.5px; font-weight: 800; line-height: 1.9; color: var(--rj-n); }
.rj-prose h4 { font-size: 14.5px; font-weight: 800; }
.rj-prose p { text-align: justify; }
.rj-prose strong, .rj-prose b { font-weight: 800; color: #0d1b2e; }
.rj-prose a { color: var(--rj-b); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rj-prose a:hover { text-decoration-color: var(--rj-gold); }
.rj-prose ul, .rj-prose ol { padding-right: 1.4em; padding-left: 0; }
.rj-prose ul { list-style: none; }
.rj-prose ul > li { position: relative; }
.rj-prose ul > li::before { content: ''; position: absolute; right: -1em; top: .95em; width: 5px; height: 5px; border-radius: 50%; background: var(--rj-gold); }
.rj-prose ol { list-style: persian; }
.rj-prose ol > li::marker { color: var(--rj-b); font-weight: 800; }
.rj-prose li + li { margin-top: .45em; }
.rj-prose blockquote {
  margin-right: 0; margin-left: 0; padding: 14px 18px; border-radius: 18px; border-right: 3px solid var(--rj-gold);
  background: rgba(197, 160, 89, .08); font-size: 14px;
}
.rj-prose img, .rj-prose figure { border-radius: 18px; height: auto; }
.rj-prose figcaption { margin-top: 6px; font-size: 11.5px; color: var(--rj-mute); text-align: center; }
.rj-prose hr { border: 0; height: 1px; background: var(--rj-line); margin: 2em 0 !important; }
.rj-prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 1.9; border: 1px solid var(--rj-line); border-radius: 16px; overflow: hidden; }
.rj-prose th, .rj-prose td { padding: 9px 12px; text-align: center; border-bottom: 1px solid var(--rj-line); }
.rj-prose thead th { background: var(--rj-b); color: var(--rj-iv); font-weight: 800; border-bottom: 0; }
.rj-prose tbody tr:nth-child(even) td { background: rgba(19, 39, 63, .03); }
.rj-prose tbody tr:last-child td { border-bottom: 0; }
.rj-prose .rj-table-wrap, .rj-prose figure.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
@media (max-width: 480px) { .rj-prose { font-size: 14px; line-height: 2.1; } .rj-prose h2 { font-size: 17.5px; } .rj-prose table { font-size: 12px; } }

/* ---------- بلوک‌های اختصاصی مقاله‌ی قدیمی «گیپور و دانتل» ---------- */
.rj .rj-split { display: grid; gap: 16px; align-items: center; border-radius: 28px; padding: 18px; }
.rj .rj-split__img { aspect-ratio: 1; border-radius: 20px; overflow: hidden; }
.rj .rj-split__img img { width: 100%; height: 100%; object-fit: cover; }
.rj .rj-kicker { display: block; margin-bottom: 6px; font-size: 9.5px; letter-spacing: .22em; color: var(--rj-gold); direction: ltr; text-align: right; }
.rj .rj-split h2, .rj .rj-split h3 { font-size: 17px; font-weight: 800; line-height: 1.8; color: var(--rj-b); margin-bottom: 6px; }
.rj .rj-split p { font-size: 13.5px; line-height: 2.1; text-align: justify; }
@media (min-width: 640px) { .rj .rj-split { grid-template-columns: 5fr 7fr; padding: 22px; } .rj .rj-split--rev .rj-split__img { order: 2; } }
.rj .rj-arc { position: relative; padding: 6px 0; }
.rj .rj-arc__img { display: none; }
@media (min-width: 640px) {
  .rj .rj-arc__img { display: block; position: absolute; top: 50%; transform: translateY(-50%); width: 112px; height: 88%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 20px 40px -24px rgba(19, 39, 63, .6); }
  .rj .rj-arc__img img { width: 100%; height: 100%; object-fit: cover; }
  .rj .rj-arc__img--r { right: -6px; border-radius: 110px 45px 45px 110px; }
  .rj .rj-arc__img--l { left: -6px; border-radius: 45px 110px 110px 45px; }
}
.rj .rj-arc__list { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.rj .rj-arc__card { border-radius: 22px; padding: 16px 18px; }
.rj .rj-arc__card em { display: inline-block; margin-bottom: 4px; padding: 2px 10px; border-radius: 999px; background: rgba(78, 0, 0, .08); color: var(--rj-b); font-style: normal; font-size: 10px; font-weight: 800; }
.rj .rj-arc__card h3 { font-size: 14px; font-weight: 800; color: var(--rj-b); margin-bottom: 4px; }
.rj .rj-arc__card p { font-size: 12.5px; line-height: 2.05; text-align: justify; }

/* ---------- دسته‌ها ---------- */
.rj .rj-cats { display: flex; flex-direction: column; gap: 2px; }
.rj .rj-cats a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px;
  font-size: 12.5px; transition: background-color .3s ease, color .3s ease;
}
.rj .rj-cats a:hover { background: rgba(255, 255, 255, .7); color: var(--rj-b); }
.rj .rj-cats a.is-on { background: var(--rj-b); color: var(--rj-iv); }
.rj .rj-cats a b { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: rgba(19, 39, 63, .07); font-size: 10.5px; font-weight: 700; text-align: center; }
.rj .rj-cats a.is-on b { background: rgba(253, 251, 247, .18); }

.rj .rj-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; margin: 16px 0 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rj .rj-chips::-webkit-scrollbar { display: none; }
.rj .rj-chips a {
  flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .75); background: rgba(232, 240, 248, .55); color: var(--rj-n);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.rj .rj-chips a:hover { border-color: rgba(78, 0, 0, .35); color: var(--rj-b); }
.rj .rj-chips a.is-on { background: var(--rj-b); border-color: var(--rj-b); color: var(--rj-iv); }

/* ---------- کارت مقاله ---------- */
.rj .rj-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 14px; }
@media (min-width: 640px) { .rj .rj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1024px) { .rj .rj-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.rj .rj-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; height: 100%;
  background: var(--rj-iv); border: 1px solid rgba(19, 39, 63, .05);
  box-shadow: 0 22px 34px -24px rgba(19, 39, 63, .5), inset 0 1px 0 #fff;
  transition: transform .6s var(--rj-e), box-shadow .6s var(--rj-e);
}
.rj .rj-card:hover { transform: translateY(-5px); box-shadow: 0 30px 44px -26px rgba(19, 39, 63, .6), inset 0 1px 0 #fff; }
.rj .rj-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #efe9df; }
.rj .rj-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--rj-e); }
.rj .rj-card:hover .rj-card__media img { transform: scale(1.045); }
.rj .rj-card__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(120% 90% at 50% 15%, #fbf7ef, #efe5d6 70%, #e6d8c3);
}
.rj .rj-card__ph::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(197, 160, 89, .45); border-radius: 16px; }
.rj .rj-card__ph b { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-size: 26px; letter-spacing: .32em; color: var(--rj-b); direction: ltr; padding-left: .32em; }
.rj .rj-card__ph i { font-style: normal; font-size: 9px; letter-spacing: .4em; color: rgba(78, 0, 0, .55); direction: ltr; }
.rj .rj-card__cat {
  position: absolute; top: 12px; right: 12px; padding: 4px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  background: rgba(253, 251, 247, .82); color: var(--rj-b); border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.rj .rj-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px 18px 18px; }
.rj .rj-card__t { font-size: 15px; font-weight: 800; line-height: 1.85; color: var(--rj-n); transition: color .3s ease; }
.rj .rj-card:hover .rj-card__t { color: var(--rj-b); }
.rj .rj-card__ex { font-size: 12.5px; line-height: 2.05; color: rgba(19, 39, 63, .72); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rj .rj-card__ft {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rj-line);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--rj-mute);
}
.rj .rj-card__more { color: var(--rj-b); font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.rj .rj-card__more svg { width: 13px; height: 13px; transition: transform .5s var(--rj-e); }
.rj .rj-card:hover .rj-card__more svg { transform: translateX(-4px); }

/* کارت ویژه (اولین مقاله) */
@media (min-width: 640px) {
  .rj .rj-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .rj .rj-card--feature .rj-card__media { aspect-ratio: auto; min-height: 320px; }
  .rj .rj-card--feature .rj-card__body { padding: 26px 28px; justify-content: center; gap: 12px; }
  .rj .rj-card--feature .rj-card__t { font-size: 20px; }
  .rj .rj-card--feature .rj-card__ex { -webkit-line-clamp: 4; font-size: 13px; }
  .rj .rj-card--feature .rj-card__ft { margin-top: 8px; }
}

/* کارت کوچک (مقالات پیشنهادی) */
.rj .rj-mini { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 18px; transition: background-color .3s ease; }
.rj .rj-mini:hover { background: rgba(255, 255, 255, .7); }
.rj .rj-mini__img { position: relative; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: #efe5d6; }
.rj .rj-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.rj .rj-mini__img .rj-card__ph::before { inset: 5px; border-radius: 10px; }
.rj .rj-mini__img .rj-card__ph b { font-size: 12px; letter-spacing: .2em; padding-left: .2em; }
.rj .rj-mini__img .rj-card__ph i { display: none; }
.rj .rj-mini__t { font-size: 12.5px; font-weight: 800; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rj .rj-mini__d { display: block; margin-top: 2px; font-size: 10.5px; color: var(--rj-mute); }
.rj .rj-mini-list { display: flex; flex-direction: column; gap: 4px; }
.rj .rj-box__more { font-size: 11px; font-weight: 700; color: var(--rj-b); letter-spacing: 0; }

/* ---------- صفحه‌بندی ---------- */
.rj .rj-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.rj .rj-pager .page-numbers {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--rj-n); border: 1px solid rgba(255, 255, 255, .75); background: rgba(232, 240, 248, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .3s ease, color .3s ease;
}
.rj .rj-pager a.page-numbers:hover { color: var(--rj-b); background: rgba(253, 251, 247, .9); }
.rj .rj-pager .page-numbers.current { background: var(--rj-b); border-color: var(--rj-b); color: var(--rj-iv); }
.rj .rj-pager .page-numbers.dots { background: none; border: 0; }

/* ---------- دکمه، خالی، نظرات ---------- */
.rj .rj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 800; background: var(--rj-b); color: var(--rj-iv);
  box-shadow: 0 12px 22px -12px rgba(78, 0, 0, .8); transition: background-color .3s ease, transform .3s ease;
}
.rj .rj-btn:hover { background: var(--rj-b2); transform: translateY(-1px); }
.rj .rj-empty { margin-top: 16px; padding: 30px 22px; border-radius: 26px; text-align: center; }
.rj .rj-empty p { font-size: 13.5px; line-height: 2.1; margin-bottom: 14px; }

.rj .rj-comments { border-radius: 28px; padding: 22px 20px; }
@media (min-width: 768px) { .rj .rj-comments { padding: 28px 34px; } }
.rj .rj-comments__t { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; font-size: 16px; font-weight: 800; color: var(--rj-b); }
.rj .rj-comments__t small { font-size: 11px; font-weight: 600; color: var(--rj-mute); }
.rj .rj-cmt { padding: 12px 14px; border-radius: 16px; background: rgba(19, 39, 63, .035); border: 1px solid var(--rj-line); }
.rj .rj-cmt + .rj-cmt, .rj .rj-cmt .rj-cmt { margin-top: 10px; }
.rj .rj-cmt__h { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; margin-bottom: 4px; }
.rj .rj-cmt__h b { font-weight: 800; color: var(--rj-n); }
.rj .rj-cmt__h time { font-size: 10.5px; color: var(--rj-mute); }
.rj .rj-cmt__x { font-size: 13px; line-height: 2.05; }
.rj .rj-cmt__x p + p { margin-top: .6em; }
.rj .rj-cmt-list { margin-bottom: 18px; }
.rj .rj-form { display: grid; gap: 10px; }
@media (min-width: 640px) { .rj .rj-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } }
.rj .rj-form__row { display: grid; gap: 10px; }
.rj .rj-form input[type='text'], .rj .rj-form input[type='email'], .rj .rj-form textarea {
  width: 100%; padding: 11px 14px; border-radius: 14px; border: 1px solid rgba(19, 39, 63, .12); background: #fff;
  font: inherit; font-size: 12.5px; color: var(--rj-n); transition: border-color .3s ease, box-shadow .3s ease;
}
.rj .rj-form textarea { min-height: 110px; resize: vertical; line-height: 2; }
.rj .rj-form input:focus, .rj .rj-form textarea:focus { outline: none; border-color: rgba(78, 0, 0, .45); box-shadow: 0 0 0 4px rgba(78, 0, 0, .07); }
.rj .rj-form__ft { display: flex; justify-content: flex-end; }

/* ---------- سرصفحه‌ی ژورنال ---------- */
.rj .rj-jhead { text-align: center; }
.rj .rj-jhead__k { display: block; margin-bottom: 12px; font-size: 9.5px; font-weight: 700; letter-spacing: .45em; color: rgba(19, 39, 63, .62); direction: ltr; }
.rj .rj-jhead__frame {
  position: relative; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 50px -30px rgba(19, 39, 63, .65);
  border: 1px solid rgba(255, 255, 255, .72); background: rgba(232, 240, 248, .45); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
@media (min-width: 640px) { .rj .rj-jhead__frame { aspect-ratio: 16 / 7; } }
.rj .rj-jhead__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rj .rj-jhead__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 39, 63, .12), rgba(19, 39, 63, .35)); }
.rj .rj-jhead__arch {
  position: absolute; z-index: 1; inset: 24px 24px 0; overflow: hidden; border-radius: 9999px 9999px 0 0;
  border: 2px solid rgba(253, 251, 247, .7); border-bottom: 0; box-shadow: 0 -10px 40px rgba(19, 39, 63, .35);
}
@media (min-width: 640px) { .rj .rj-jhead__arch { inset: 26px 18% 0; } }
.rj .rj-jhead__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.rj .rj-jhead__arch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(78, 0, 0, .72), rgba(78, 0, 0, .12) 60%, rgba(19, 39, 63, .1)); }
.rj .rj-jhead__txt { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; color: var(--rj-iv); }
.rj .rj-jhead__logo { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-size: 34px; letter-spacing: .28em; padding-left: .28em; direction: ltr; text-shadow: 0 4px 18px rgba(0, 0, 0, .45); }
@media (min-width: 640px) { .rj .rj-jhead__logo { font-size: 60px; } }
.rj .rj-jhead__sub { margin-top: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; opacity: .92; }
.rj .rj-jhead__intro { max-width: 36em; margin: 16px auto 0; font-size: 13px; line-height: 2.1; color: rgba(19, 39, 63, .78); }

@media (prefers-reduced-motion: reduce) {
  .rj .rj-card, .rj .rj-card__media img, .rj .rj-card__more svg, .rj .rj-btn, .rj .rj-tools details > summary svg { transition: none; }
  .rj .rj-card:hover, .rj .rj-btn:hover { transform: none; }
  .rj .rj-card:hover .rj-card__media img { transform: none; }
}
