/* =========================
   ARTICLE SINGLE PAGE
   (Header & Footer از style.css اصلی می‌آیند)
========================= */

.container-narrow {
  max-width: 860px;
}

/* =========================
   ARTICLE HERO
========================= */
.single-article-hero {
  padding: 160px 0 50px;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--border);
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 600;
}

.badge-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(108, 59, 255, 0.08);
  border: 1px solid rgba(108, 59, 255, 0.15);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.article-main-title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 22px;
  color: var(--text);
}

.article-lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 720px;
}

.author-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.author-info-inline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.author-info-inline div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.publish-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.read-time-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(108, 59, 255, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.single-hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.single-hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================
   CONTENT LAYOUT (Sidebar + Body)
========================= */
.article-content-section {
  padding: 70px 0 100px;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: 980px 1fr;
  gap: 50px;
  align-items: start;
}

/* Sidebar order: در RTL سایدبار سمت راست باشد، محتوا سمت چپ */
.article-sidebar {
  order: 2;
}

.article-body {
  order: 1;
}

.sticky-sidebar-inner {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* TOC Widget */
.toc-widget {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.toc-toggle-mobile {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.toc-arrow {
  font-size: 0.75rem;
  color: var(--muted);
  transition: var(--transition);
}

.toc-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 2px solid var(--border);
}

.toc-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--muted);
  border-right: 2px solid transparent;
  margin-right: -2px;
  transition: var(--transition);
}

.toc-link:hover {
  color: var(--primary);
}

.toc-link.active {
  color: var(--primary);
  font-weight: 700;
  border-right-color: var(--primary);
  background: rgba(108, 59, 255, 0.06);
  border-radius: 0 8px 8px 0;
}

/* Share Widget */
.share-widget {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.share-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.share-btn:hover {
  transform: translateY(-3px);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.copy-message {
  display: block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.copy-message.hidden {
  display: none;
}

/* =========================
   ARTICLE BODY CONTENT
========================= */
.article-block {
  margin-bottom: 44px;
}

.article-block h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  padding-right: 16px;
  border-right: 4px solid var(--primary);
}

.article-block p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2;
  margin-bottom: 18px;
}

.styled-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.styled-list li {
  position: relative;
  padding-right: 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.styled-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gradient-primary);
}

.styled-list li strong {
  color: var(--text);
  font-weight: 700;
}

/* Quote Box */
.custom-quote {
  position: relative;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  margin: 32px 0;
  border-right: 4px solid var(--primary);
}

.custom-quote .quote-icon {
  color: var(--primary);
  font-size: 2.5rem;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.custom-quote p {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 14px;
}

.custom-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Info Boxes (Tip / Warning) */
.info-box {
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0;
  border: 1px solid var(--border);
}

.info-box .box-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.info-box p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.tip-box {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
}

.tip-box .box-title {
  color: var(--blue);
}

.warning-box {
  background: rgba(255, 138, 61, 0.07);
  border-color: rgba(255, 138, 61, 0.25);
}

.warning-box .box-title {
  color: var(--orange);
}

/* Data Table */
.table-responsive {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.custom-table thead th {
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 16px 20px;
  text-align: right;
  white-space: nowrap;
}

.custom-table tbody td {
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.custom-table tbody tr:nth-child(even) {
  background: var(--light-bg);
}

.custom-table tbody td:first-child {
  font-weight: 700;
  color: var(--text);
}

/* Code Block */
.code-block-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 28px 0;
  box-shadow: var(--shadow-lg);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark-2);
  padding: 12px 20px;
}

.code-lang {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.copy-code-btn {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.copy-code-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.code-content {
  background: var(--dark);
  padding: 24px;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
}

.code-content code {
  font-family: "Fira Code", Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #d7ddf5;
  white-space: pre;
}

/* Image Gallery */
.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.img-caption {
  display: block;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--light-bg);
}

/* =========================
   AUTHOR BOX
========================= */
.author-box-card {
  display: flex;
  gap: 24px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 50px 0;
}

.author-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.author-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.author-bio {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.author-socials {
  display: flex;
  gap: 10px;
}

.author-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.author-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* =========================
   PREV / NEXT NAV
========================= */
.article-prev-next-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

.prev-next-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.prev-next-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.prev-next-card.next {
  text-align: left;
}

.nav-direction {
  display: block;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.nav-article-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

/* =========================
   COMMENTS SECTION
========================= */
.comments-section {
  margin-bottom: 20px;
}

.comments-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--text);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.comment-item {
  display: flex;
  gap: 16px;
}

.comment-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.comment-author {
  font-size: 0.95rem;
  color: var(--text);
}

.comment-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.comment-content p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* Comment Form */
.add-comment-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
}

.add-comment-form-wrap h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--light-bg);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: var(--muted);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(108, 59, 255, 0.08);
}

.comment-form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-comment-btn {
  align-self: flex-start;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(108, 59, 255, 0.3);
}

.submit-comment-btn:hover {
  transform: translateY(-3px);
  background: #5b2ee6;
}

/* =========================
   LIGHTBOX MODAL
========================= */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 42, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  left: 28px;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* =========================
   ARTICLE CTA SECTION EXTRAS
========================= */
.dark-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.35;
}

.center-glow {
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 500px;
  height: 500px;
  background: var(--primary);
}

.dark-section .cta-title {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto 16px;
}

.dark-section .cta-desc {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto 32px;
}

.dark-section .btn-gradient {
  position: relative;
  z-index: 1;
  background: var(--gradient-primary);
  color: var(--white);
}

.dark-section .btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* =========================
   FLOATING CONTACT (این صفحه)
========================= */
.floating-contact {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.08);
}

.floating-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.floating-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-item {
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.float-item:hover {
  background: var(--primary);
  color: var(--white);
}

/* =========================
   POST TERMS (Categories / Tags) - داینامیک
========================= */
.post-terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.terms-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.terms-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.term-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.term-pill.cat-pill {
  background: rgba(108, 59, 255, 0.08);
  color: var(--primary);
}

.term-pill.cat-pill:hover {
  background: var(--primary);
  color: var(--white);
}

.term-pill.tag-pill {
  background: var(--light-bg);
  color: var(--muted);
  border: 1px solid var(--border);
}

.term-pill.tag-pill:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Sidebar extra widget (categories / tags) */
.sidebar-widget-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-widget-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 4px;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.sidebar-widget-list li:last-child a {
  border-bottom: none;
}

.sidebar-widget-list li a:hover {
  color: var(--primary);
  padding-right: 6px;
}

.sidebar-widget-list .count {
  font-size: 0.75rem;
  background: var(--light-bg);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Search form (اگر در سایدبار استفاده شود) */
.sidebar-search-form {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.sidebar-search-form input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.85rem;
  background: var(--light-bg);
  color: var(--text);
}

.sidebar-search-form input:focus {
  outline: none;
}

.sidebar-search-form button {
  padding: 0 18px;
  background: var(--primary);
  color: var(--white);
}

/* =========================
   RELATED POSTS (جایگزین prev/next با داده واقعی)
========================= */
.related-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

.related-post-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.related-post-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.related-post-thumb {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gradient-blue);
}

.related-post-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.related-post-label {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.related-post-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================
   NESTED COMMENT REPLIES
========================= */
.comment-item {
  flex-direction: column;
}

.comment-item .comment-main {
  display: flex;
  gap: 16px;
  width: 100%;
}

.comment-replies {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
  padding-right: 46px;
}

.comment-replies .comment-item {
  flex-direction: column;
}

/* پیام موفقیت/خطا فرم نظر */
.form-alert {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.form-alert.success {
  background: rgba(16, 185, 129, 0.1);
  color: #0f9e6f;
}

.form-alert.error {
  background: rgba(255, 77, 103, 0.1);
  color: var(--red);
}

.field-error {
  color: var(--red);
  font-size: 0.78rem;
  margin-top: -10px;
}

/* =========================
   SIDEBAR CTA BOX (برای صفحه تکی خدمت)
========================= */
.cta-sidebar-box {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  color: var(--white);
}

.cta-sidebar-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 60%);
  pointer-events: none;
}

.cta-sidebar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
}

.cta-sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
}

.cta-sidebar-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 22px;
  position: relative;
}

.cta-sidebar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  position: relative;
}

.cta-sidebar-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-sidebar-phone {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  direction: ltr;
}

.cta-sidebar-phone:hover {
  color: var(--white);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
  }

  .sticky-sidebar-inner {
    position: static;
  }

  .share-widget {
    display: none;
  }

  .toc-widget {
    padding: 16px 20px;
  }

  .toc-toggle-mobile {
    display: flex;
  }

  .toc-body {
    display: none;
    margin-top: 16px;
  }

  .toc-body.open {
    display: block;
  }

  .toc-toggle-mobile.open .toc-arrow {
    transform: rotate(180deg);
  }
}

@media (max-width: 768px) {
  .single-article-hero {
    padding: 130px 0 40px;
  }

  .author-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-gallery {
    grid-template-columns: 1fr;
  }

  .author-box-card {
    flex-direction: column;
    text-align: center;
  }

  .author-socials {
    justify-content: center;
  }

  .article-prev-next-nav {
    grid-template-columns: 1fr;
  }

  .prev-next-card.next {
    text-align: right;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    left: 18px;
    bottom: 18px;
  }

  .post-terms {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .comment-replies {
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .custom-quote {
    padding: 26px 22px;
  }

  .author-box-card,
  .add-comment-form-wrap {
    padding: 22px;
  }

  .dark-section {
    padding: 60px 0;
  }
}
