/* جزئیات خبر / مرکز طرف‌قرارداد — بهبود سبک بدون بازنویسی کل صفحه */
.blog-single-section > .container,
.Blog-list.blog-single-section > .container {
  max-width: 1320px;
  width: 100%;
}
.blog-single-section,
.Blog-list.blog-single-section,
.rc-detail,
.blog-single-section .cc-box {
  position: relative;
  z-index: 0;
}
.rc-detail {
  --rc-ink: #1e293b;
  --rc-muted: #64748b;
  --rc-line: #e2e8f0;
  --rc-teal: #0f766e;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto 1.25rem;
  padding: 1.15rem 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--rc-line);
  border-radius: 0.85rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.04);
  color: var(--rc-ink);
  direction: rtl;
}
.rc-detail__head {
  margin: 0 0 1.05rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--rc-line);
}
.rc-detail__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.7rem;
}
.rc-detail__date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rc-muted);
  font-variant-numeric: tabular-nums;
}
.rc-detail__date i { opacity: 0.9; }
.rc-detail__tools {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.rc-detail__tool {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid var(--rc-line);
  background: #f8fafc;
  color: #475569;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}
.rc-detail__tool:hover {
  color: var(--rc-teal);
  border-color: #99f6e4;
  background: #ecfdf5;
}
.rc-detail__tool--danger:hover {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}
.rc-detail__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--rc-ink);
}
.rc-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.rc-detail__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.55rem;
  border: 0;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.25;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.rc-detail__cta:hover { filter: brightness(1.05); color: #fff !important; }
.rc-detail__cta--ok { background: #15803d; }
.rc-detail__cta--warn { background: #d97706; }
.rc-detail__cta--primary { background: #0369a1; }
/* قاب با ارتفاع ثابت؛ برای عکس‌های عمودی پس‌زمینهٔ محو از خود تصویر */
.rc-detail__media {
  position: relative;
  margin: 0 0 1.1rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--rc-line);
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc-detail__media-blur {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(28px) saturate(1.15) brightness(0.72);
  transform: scale(1.12);
  pointer-events: none;
}
.rc-detail__media-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.28));
}
.rc-detail__media > img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  border-radius: 0.35rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.rc-detail__body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #334155;
}
.rc-detail__body > *:first-child { margin-top: 0; }
.rc-detail__body > *:last-child { margin-bottom: 0; }
.rc-detail__body p {
  margin: 0 0 0.85rem;
  line-height: 1.9;
  color: #334155;
}
.rc-detail__body ul,
.rc-detail__body ol {
  margin: 0 0 0.85rem;
  padding-right: 1.25rem;
}
.rc-detail__body li { margin-bottom: 0.25rem; }
.rc-detail__body strong,
.rc-detail__body b { color: var(--rc-ink); }
.rc-detail__body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.rc-detail__info {
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--rc-line);
  display: grid;
  gap: 0.55rem;
}
.rc-detail__info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.35rem 0.65rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}
.rc-detail__info-row strong {
  min-width: 3.5rem;
  color: var(--rc-ink);
  font-weight: 750;
}
.rc-detail__info-row a {
  color: var(--rc-teal);
  font-weight: 700;
  text-decoration: none;
}
.rc-detail__info-row a:hover { text-decoration: underline; }
.rc-detail__attach {
  margin: 0.85rem 0 0;
  max-width: 9.5rem;
}
.rc-detail__attach .card {
  border: 1px solid var(--rc-line);
  border-radius: 0.65rem;
  overflow: hidden;
  box-shadow: none;
}
.rc-detail__attach .card-img-top {
  height: 100px !important;
  object-fit: contain;
  background: #f8fafc;
  padding: 0.5rem;
}
.rc-detail__attach .card-text {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--rc-teal);
}

/* نظرات زیر کارت مطلب هم‌عرض بماند */
.blog-single-section .cc-box,
.Blog-list .cc-box {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991.98px) {
  .rc-detail__media { height: 300px; }
}
@media (max-width: 575.98px) {
  .rc-detail {
    padding: 0.95rem 0.9rem 1.1rem;
    border-radius: 0.7rem;
  }
  .rc-detail__media { height: 220px; }
  .rc-detail__media-blur { filter: blur(18px) saturate(1.1) brightness(0.7); }
}
