/* ------------------------------------------------------------------
   ShaadiTaiyari single-post reading experience v3
   Primary: #785fff. Scoped to body.single-post.
   ------------------------------------------------------------------ */

body.single-post {
  --st-accent: #785fff;
  --st-accent-hover: #5b43e0;
  --st-link: #5b43e0; /* #785fff on white is 4.16:1, below AA for body text */
  --st-link-hover: #3f2cbe;
  --st-accent-soft: #f3f0ff;
  --st-accent-softer: #ebe6ff;
  --st-ink: #16161d;
  --st-body: #2c2c35;
  --st-muted: #5f5f6b;
  --st-line: #e6e6ec;
  --st-page: #f5f5f7;
  --st-card: #ffffff;
  --st-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --st-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  --st-radius: 16px;
  background-color: var(--st-page);
  color: var(--st-body);
}

body.single-post ::selection {
  background: var(--st-accent-softer);
  color: var(--st-ink);
}

/* Neutral canvas around the article only */
body.single-post .elementor-location-single > .elementor-section.elementor-top-section:first-of-type {
  background-color: var(--st-page) !important;
  padding-top: 28px !important;
  padding-bottom: 64px !important;
}

body.single-post .elementor-location-single > .elementor-section.elementor-top-section:first-of-type > .elementor-container {
  max-width: 800px;
}

body.single-post .elementor-element-76880829,
body.single-post .elementor-location-single > .elementor-top-section:first-of-type > .elementor-container > .elementor-column {
  background: var(--st-card);
  border-radius: var(--st-radius);
  box-shadow: 0 1px 2px rgba(16, 16, 24, 0.04), 0 12px 32px rgba(16, 16, 24, 0.05);
  border: 1px solid #ececf1;
  overflow: visible;
  position: relative;
}

body.single-post .elementor-element-76880829 > .elementor-widget-wrap,
body.single-post .elementor-location-single > .elementor-top-section:first-of-type > .elementor-container > .elementor-column > .elementor-widget-wrap {
  padding: 40px 48px 52px !important;
}

/* No decorative accent bar. No extra inner-section cards. */
body.single-post .elementor-location-single > .elementor-top-section:first-of-type .elementor-inner-section {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.single-post .elementor-element-76880829 .elementor-inner-section > .elementor-container,
body.single-post .elementor-element-76880829 .elementor-inner-section .elementor-column,
body.single-post .elementor-element-76880829 .elementor-inner-section .elementor-widget-wrap {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.single-post .elementor-location-single > .elementor-top-section:first-of-type .elementor-inner-section::before {
  content: none !important;
  display: none !important;
}

body.single-post .elementor-element-76880829::before,
body.single-post .elementor-location-single > .elementor-top-section:first-of-type > .elementor-container > .elementor-column::before {
  content: none !important;
  display: none !important;
}

/* ------------------------------------------------------------------
   Reading progress
   ------------------------------------------------------------------ */
.st-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100000;
  background: transparent;
  pointer-events: none;
}

.st-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--st-accent);
}

body.admin-bar .st-progress { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .st-progress { top: 46px; }
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.st-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-family: var(--st-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--st-muted);
  margin: 0 0 0.85rem;
  line-height: 1.3;
}

.st-breadcrumb a {
  color: var(--st-muted) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.st-breadcrumb a:hover,
.st-breadcrumb a:focus {
  color: var(--st-link) !important;
}

.st-breadcrumb__sep {
  color: #b0b0ba;
  font-weight: 400;
}

/* Shared left edge: kill Elementor icon-list indents on the pills */
body.single-post .elementor-element-726169d4,
body.single-post .elementor-element-726169d4 .elementor-widget-container,
body.single-post .elementor-element-726169d4 .elementor-icon-list-items,
body.single-post .elementor-element-726169d4 .elementor-icon-list-item,
body.single-post .elementor-element-726169d4 .elementor-icon-list-text,
body.single-post .elementor-element-726169d4 ul,
body.single-post .elementor-post-info__terms-list {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-indent: 0 !important;
}

body.single-post .elementor-widget-post-info.elementor-element-726169d4 {
  margin: 0 0 0.95rem !important;
}

body.single-post .elementor-post-info__terms-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.4rem;
}

body.single-post .elementor-element-726169d4 .elementor-icon-list-icon,
body.single-post .elementor-element-726169d4 .elementor-icon-list-items {
  justify-content: flex-start !important;
}

body.single-post .elementor-element-726169d4 .elementor-icon-list-icon {
  display: none;
}

body.single-post .elementor-post-info__terms-list-item {
  display: inline-flex;
  align-items: center;
  background: var(--st-accent-soft);
  color: var(--st-link) !important;
  font-family: var(--st-sans);
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

body.single-post .elementor-post-info__terms-list-item:hover,
body.single-post .elementor-post-info__terms-list-item:focus {
  background: var(--st-accent);
  color: #fff !important;
}

body.single-post .elementor-widget-theme-post-title {
  margin: 0 0 0.85rem !important;
}

body.single-post .elementor-widget-theme-post-title .elementor-heading-title,
body.single-post .elementor-element-120a47d4 .elementor-heading-title,
body.single-post h1.elementor-heading-title {
  font-family: var(--st-serif) !important;
  font-weight: 650 !important;
  font-size: clamp(2.35rem, 1.7rem + 1.7vw, 3.05rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.028em !important;
  color: var(--st-ink) !important;
  text-align: left !important;
  text-transform: none !important;
  max-width: none;
  text-wrap: pretty;
}

/* Replaced Elementor meta row */
body.single-post .st-hidden-meta,
body.single-post .elementor-element-6db50107 {
  display: none !important;
}

.st-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-family: var(--st-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--st-muted);
  margin: 0 0 1.05rem;
  line-height: 1.3;
}

.st-hero-meta__author {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--st-ink) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.st-hero-meta__author:hover .st-hero-meta__name,
.st-hero-meta__author:focus .st-hero-meta__name {
  color: var(--st-link);
}

.st-hero-meta__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--st-accent-soft);
  flex: 0 0 32px;
}

.st-hero-meta__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c2c2ca;
  flex: 0 0 3px;
}

.st-hero-meta__read {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--st-muted);
  font-weight: 500;
}

.st-hero-meta__read .st-icon {
  display: block;
  color: var(--st-accent);
}

.st-hero-meta__updated {
  color: var(--st-muted);
}

body.single-post .elementor-widget-theme-post-excerpt.st-dek {
  margin: 0 !important;
}

body.single-post .elementor-widget-theme-post-excerpt.st-dek .elementor-widget-container {
  font-family: var(--st-sans) !important;
  font-size: 1.22rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.55 !important;
  color: var(--st-muted) !important;
  max-width: 38rem;
  text-align: left;
}

/* Tint band behind the header so the hero feels less sparse */
.st-hero {
  background: linear-gradient(180deg, #f3f0ff 0%, #f7f5ff 62%, #ffffff 100%);
  margin: -40px -48px 0;
  padding: 36px 48px 1.15rem;
  border-bottom: 1px solid #ece8f8;
  border-radius: 16px 16px 0 0;
}

body.single-post .elementor-widget-theme-post-featured-image {
  margin: 1.15rem 0 1.75rem !important;
}

body.single-post .elementor-widget-theme-post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(16, 16, 24, 0.1);
  display: block;
  object-fit: cover;
}

/* ------------------------------------------------------------------
   Article typography
   ------------------------------------------------------------------ */
body.single-post .elementor-widget-theme-post-content,
body.single-post .elementor-widget-theme-post-content .elementor-widget-container {
  font-family: var(--st-sans) !important;
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
  color: var(--st-body) !important;
  font-weight: 400 !important;
  max-width: 46rem;
}

body.single-post .elementor-widget-theme-post-content p {
  font-family: var(--st-sans) !important;
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
  color: var(--st-body) !important;
  font-weight: 400 !important;
  margin: 0 0 1.15em !important;
}

body.single-post .elementor-widget-theme-post-content p:last-child {
  margin-bottom: 0 !important;
}

body.single-post .elementor-widget-theme-post-content strong,
body.single-post .elementor-widget-theme-post-content b {
  color: var(--st-ink);
  font-weight: 700;
}

body.single-post .elementor-widget-theme-post-content h2 {
  font-family: var(--st-serif) !important;
  font-weight: 600 !important;
  font-size: clamp(1.4rem, 2vw, 1.7rem) !important;
  line-height: 1.28 !important;
  letter-spacing: -0.018em !important;
  color: var(--st-ink) !important;
  text-transform: none !important;
  margin: 2.5rem 0 0.9rem !important;
  padding-top: 0.2rem;
  scroll-margin-top: 5.5rem;
}

body.single-post .elementor-widget-theme-post-content h2::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: var(--st-accent);
}

body.single-post .elementor-widget-theme-post-content h3 {
  font-family: var(--st-sans) !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  color: var(--st-ink) !important;
  text-transform: none !important;
  margin: 1.75rem 0 0.6rem !important;
  scroll-margin-top: 5.5rem;
}

body.single-post .elementor-widget-theme-post-content a:not(.elementor-button):not(:has(img)) {
  color: var(--st-link) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(91, 67, 224, 0.4) !important;
  font-weight: 600 !important;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

body.single-post .elementor-widget-theme-post-content a:not(.elementor-button):not(:has(img)):hover,
body.single-post .elementor-widget-theme-post-content a:not(.elementor-button):not(:has(img)):focus {
  color: var(--st-link-hover) !important;
  text-decoration-color: var(--st-link-hover) !important;
}

body.single-post .elementor-widget-theme-post-content a:focus-visible,
body.single-post .st-breadcrumb a:focus-visible,
body.single-post .st-author__more:focus-visible,
body.single-post .st-toc a:focus-visible {
  outline: 2px solid var(--st-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Lists */
body.single-post .elementor-widget-theme-post-content ul,
body.single-post .elementor-widget-theme-post-content ol,
body.single-post .elementor-widget-theme-post-content li {
  list-style: none !important;
  list-style-type: none !important;
}

body.single-post .elementor-widget-theme-post-content ul,
body.single-post .elementor-widget-theme-post-content ol {
  margin: 0 0 1.4em !important;
  padding: 0 0 0 0.15em !important;
}

body.single-post .elementor-widget-theme-post-content li::marker {
  content: none !important;
  display: none !important;
  font-size: 0 !important;
  color: transparent !important;
}

body.single-post .elementor-widget-theme-post-content li {
  position: relative;
  padding-left: 1.45rem;
  margin: 0 0 0.55em !important;
  line-height: 1.7 !important;
  color: var(--st-body) !important;
  font-size: 1.125rem !important;
}

body.single-post .elementor-widget-theme-post-content ul > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.72em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--st-accent);
}

body.single-post .elementor-widget-theme-post-content ol {
  counter-reset: st-ol;
}

body.single-post .elementor-widget-theme-post-content ol > li {
  counter-increment: st-ol;
}

body.single-post .elementor-widget-theme-post-content ol > li::before {
  content: counter(st-ol);
  position: absolute;
  left: 0;
  top: 0.15em;
  font-family: var(--st-serif);
  font-size: 0.92em;
  font-weight: 600;
  color: var(--st-accent);
  line-height: 1.2;
}

/* Blockquotes */
body.single-post .elementor-widget-theme-post-content blockquote {
  font-family: var(--st-serif) !important;
  font-size: 1.12rem !important;
  font-weight: 500 !important;
  font-style: italic;
  line-height: 1.55 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  text-align: left !important;
  color: var(--st-ink) !important;
  background: var(--st-accent-soft);
  border: 0 none !important;
  border-left: 3px solid var(--st-accent) !important;
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.3rem 1.1rem 1.35rem !important;
  margin: 1.75rem 0 !important;
  quotes: none;
  position: relative;
}

body.single-post .elementor-widget-theme-post-content blockquote::before,
body.single-post .elementor-widget-theme-post-content blockquote::after,
body.single-post .elementor-widget-theme-post-content blockquote p::before,
body.single-post .elementor-widget-theme-post-content blockquote p::after {
  content: none !important;
  content: "" !important;
  display: none !important;
  background: none !important;
  font-size: 0 !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body.single-post .elementor-widget-theme-post-content blockquote,
body.single-post .elementor-widget-theme-post-content blockquote p,
body.single-post .elementor-widget-theme-post-content blockquote span,
body.single-post .elementor-widget-theme-post-content blockquote strong,
body.single-post .elementor-element-3948ecec blockquote,
body.single-post .elementor-element-3948ecec blockquote p {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  text-align: left !important;
  font-variant: normal !important;
}

body.single-post .elementor-widget-theme-post-content blockquote p {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  margin: 0 0 0.6em !important;
}

body.single-post .elementor-widget-theme-post-content blockquote p:last-child {
  margin-bottom: 0 !important;
}

body.single-post .elementor-widget-theme-post-content blockquote strong {
  font-style: normal;
  font-weight: 700;
  color: var(--st-link);
}

/* Tables */
body.single-post .elementor-widget-theme-post-content .st-table-wrap {
  margin: 1.75rem 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--st-line);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

body.single-post .elementor-widget-theme-post-content table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse !important;
  margin: 0 !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
  color: var(--st-body) !important;
}

body.single-post .elementor-widget-theme-post-content thead th {
  background: var(--st-accent-soft);
  color: var(--st-ink) !important;
  font-family: var(--st-sans) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.85rem 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--st-line) !important;
}

body.single-post .elementor-widget-theme-post-content tbody td {
  padding: 0.8rem 1rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--st-line) !important;
  vertical-align: top;
}

body.single-post .elementor-widget-theme-post-content tbody tr:nth-child(even) td {
  background: #fafafafe;
}

body.single-post .elementor-widget-theme-post-content tbody tr:last-child td {
  border-bottom: 0 !important;
}

/* Keep Reading */
body.single-post .elementor-widget-theme-post-content .st-keep-reading {
  list-style: none !important;
  padding: 0 !important;
  margin: 0.5rem 0 2rem !important;
  display: grid;
  gap: 0.65rem;
}

body.single-post .elementor-widget-theme-post-content .st-keep-reading > li {
  padding: 0 !important;
  margin: 0 !important;
}

body.single-post .elementor-widget-theme-post-content .st-keep-reading > li::before {
  display: none !important;
}

body.single-post .elementor-widget-theme-post-content .st-keep-reading a,
body.single-post .elementor-widget-theme-post-content .st-keep-reading a:not(.elementor-button):not(:has(img)) {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  background: var(--st-accent-soft);
  border: 1px solid var(--st-accent-softer);
  border-radius: 12px;
  color: var(--st-ink) !important;
  text-decoration: none !important;
  font-weight: 650 !important;
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.single-post .elementor-widget-theme-post-content .st-keep-reading a::before {
  content: "→";
  color: var(--st-accent);
  font-weight: 700;
  flex: 0 0 auto;
}

body.single-post .elementor-widget-theme-post-content .st-keep-reading a:hover,
body.single-post .elementor-widget-theme-post-content .st-keep-reading a:focus {
  background: var(--st-accent-softer);
  border-color: #d5cef8;
  color: var(--st-link) !important;
}

/* Quick Takeaway */
body.single-post .elementor-widget-theme-post-content .st-takeaway {
  list-style: none !important;
  padding: 1.2rem 1.3rem 1.1rem !important;
  margin: 0.4rem 0 2rem !important;
  background: var(--st-accent-soft);
  border: 1px solid var(--st-accent-softer);
  border-radius: 14px;
}

body.single-post .elementor-widget-theme-post-content .st-takeaway > li {
  padding-left: 1.5rem;
}

/* ------------------------------------------------------------------
   Rank Math FAQ
   ------------------------------------------------------------------ */
body.single-post #rank-math-faq,
body.single-post .wp-block-rank-math-faq-block,
body.single-post .rank-math-block#rank-math-faq {
  margin: 0.4rem 0 2rem;
}

body.single-post #rank-math-faq .rank-math-list-item,
body.single-post .rank-math-list-item {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 12px;
  margin: 0 0 0.65rem !important;
  padding: 0 !important;
  overflow: hidden;
}

body.single-post #rank-math-faq .rank-math-question,
body.single-post .rank-math-question {
  font-family: var(--st-sans) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--st-ink) !important;
  margin: 0 !important;
  padding: 1rem 3rem 1rem 1.15rem !important;
  cursor: pointer;
  position: relative;
  list-style: none;
}

body.single-post #rank-math-faq .rank-math-question::after,
body.single-post .rank-math-question::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--st-accent);
  border-bottom: 2px solid var(--st-accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

body.single-post #rank-math-faq .rank-math-list-item.is-open .rank-math-question::after,
body.single-post .rank-math-list-item.is-open .rank-math-question::after {
  transform: translateY(-30%) rotate(-135deg);
}

body.single-post #rank-math-faq .rank-math-answer,
body.single-post .rank-math-answer {
  padding: 0 1.15rem 1.1rem !important;
  color: var(--st-body);
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
}

body.single-post #rank-math-faq .rank-math-answer p,
body.single-post .rank-math-answer p {
  font-size: 1.05rem !important;
  margin: 0 0 0.6em !important;
}

body.single-post #rank-math-faq .rank-math-list-item:not(.is-open) .rank-math-answer {
  display: none;
}

body.single-post #rank-math-faq .rank-math-question:focus-visible {
  outline: 2px solid var(--st-accent);
  outline-offset: -2px;
}

/* ------------------------------------------------------------------
   Author box
   ------------------------------------------------------------------ */
.st-author {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  margin: 2.5rem 0 1.5rem;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 16px;
}

.st-author__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 72px;
  background: var(--st-accent-soft);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--st-accent-softer);
}

.st-author__label {
  display: block;
  font-family: var(--st-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-accent);
  margin-bottom: 0.2rem;
}

.st-author__name {
  font-family: var(--st-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--st-ink);
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.st-author__name:hover,
.st-author__name:focus {
  color: var(--st-link);
}

.st-author__bio {
  font-family: var(--st-sans);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--st-muted);
  margin: 0 0 0.85rem;
}

.st-author__more {
  display: inline-flex;
  align-items: center;
  font-family: var(--st-sans);
  font-size: 0.88rem;
  font-weight: 650;
  color: #fff !important;
  background: var(--st-accent);
  text-decoration: none !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.st-author__more:hover,
.st-author__more:focus {
  background: var(--st-accent-hover);
  color: #fff !important;
}

/* Share */
body.single-post .elementor-element-7302b8e8 .elementor-heading-title {
  font-family: var(--st-sans) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--st-muted) !important;
  text-align: left !important;
}

body.single-post .elementor-share-btn {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: var(--st-accent-soft) !important;
  border: 1px solid var(--st-accent-softer) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

body.single-post .elementor-share-btn svg,
body.single-post .elementor-share-btn i {
  width: 15px;
  height: 15px;
  fill: var(--st-link) !important;
  color: var(--st-link) !important;
}

body.single-post .elementor-share-btn:hover,
body.single-post .elementor-share-btn:focus {
  background: var(--st-accent) !important;
  border-color: var(--st-accent) !important;
  transform: translateY(-1px);
}

body.single-post .elementor-share-btn:hover svg,
body.single-post .elementor-share-btn:focus svg,
body.single-post .elementor-share-btn:hover i,
body.single-post .elementor-share-btn:focus i {
  fill: #fff !important;
  color: #fff !important;
}

/* ------------------------------------------------------------------
   Comments
   ------------------------------------------------------------------ */
body.single-post .elementor-widget-post-comments {
  font-family: var(--st-sans);
  margin-top: 0.5rem !important;
}

body.single-post .elementor-widget-post-comments {
  overflow: hidden;
}

/* Beat MyListing #c27-site-wrapper .container fixed widths */
body.single-post #c27-site-wrapper .elementor-widget-post-comments,
body.single-post #c27-site-wrapper .elementor-widget-post-comments .elementor-widget-container,
body.single-post #c27-site-wrapper .elementor-widget-post-comments .container,
body.single-post #c27-site-wrapper .elementor-widget-post-comments .row,
body.single-post #c27-site-wrapper .elementor-widget-post-comments [class*="col-"],
body.single-post #st-comments,
body.single-post #st-comments .elementor-widget-container,
body.single-post #st-comments .container,
body.single-post #st-comments .row,
body.single-post #st-comments [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

body.single-post .comments-list-wrapper {
  margin-bottom: 1.75rem;
}

body.single-post ul.comments-list {
  list-style: none !important;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
}

body.single-post ul.comments-list .single-comment,
body.single-post ul.comments-list > li {
  list-style: none;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1rem;
  margin: 0 0 0.85rem;
}

body.single-post ul.comments-list .comment-container {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

body.single-post ul.comments-list ul.children {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--st-accent-softer);
}

body.single-post ul.comments-list li.depth-2,
body.single-post ul.comments-list li.depth-3,
body.single-post ul.comments-list li.depth-4 {
  margin-left: 0;
}

body.single-post .comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  margin-bottom: 0.65rem;
}

body.single-post .c27-user-avatar,
body.single-post .c27-user-avatar img,
body.single-post .comment-author-avatar,
body.single-post .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--st-accent-soft);
}

body.single-post .comment-head .case27-primary-text,
body.single-post .comment-head h5 {
  font-family: var(--st-sans) !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: var(--st-ink) !important;
  margin: 0 !important;
  line-height: 1.3;
}

body.single-post .comment-head a,
body.single-post .comment-head a.url {
  color: var(--st-ink) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

body.single-post .comment-head a:hover {
  color: var(--st-link) !important;
}

body.single-post .comment-date {
  font-size: 0.82rem;
  color: var(--st-muted);
  font-weight: 500;
}

body.single-post .comment-body,
body.single-post .comment-body p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: var(--st-body);
  margin: 0 0 0.55rem !important;
}

body.single-post .comment-body p:last-child {
  margin-bottom: 0 !important;
}

body.single-post .reply.comment-info,
body.single-post .comment-reply-link {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--st-link) !important;
  text-decoration: none !important;
}

body.single-post .comment-reply-link:hover {
  color: var(--st-link-hover) !important;
}

body.single-post .st-comments-empty,
body.single-post .no-results-wrapper {
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  background: var(--st-accent-soft);
  border: 1px solid var(--st-accent-softer);
  border-radius: 14px;
  margin: 0 0 1.5rem;
}

body.single-post .no-results-wrapper .no-results-icon,
body.single-post .no-results-wrapper .material-icons {
  display: none !important;
}

body.single-post .no-results-wrapper li,
body.single-post .no_job_listings_found {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--st-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--st-ink);
}

body.single-post .st-comments-empty__hint {
  margin: 0.4rem 0 0 !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  color: var(--st-muted) !important;
}

body.single-post .elementor-widget-post-comments .title-style-1 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

body.single-post .elementor-widget-post-comments .title-style-1 i,
body.single-post .elementor-widget-post-comments .title-style-1 .mi {
  display: none;
}

body.single-post .elementor-widget-post-comments .title-style-1__heading,
body.single-post .elementor-widget-post-comments h4 {
  font-family: var(--st-serif) !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: var(--st-ink) !important;
  margin: 0 !important;
}

body.single-post .comment-reply-title.st-reply-title {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.single-post .sidebar-comment-form {
  background: #fafafb;
  border: 1px solid var(--st-line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.4rem;
}

body.single-post .sidebar-comment-form .comment-respond,
body.single-post .sidebar-comment-form .comment-form,
body.single-post .sidebar-comment-form > div {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-post .comment-notes {
  font-size: 0.88rem;
  color: var(--st-muted);
  margin: 0 0 1rem;
}

body.single-post .elementor-widget-post-comments .form-group {
  margin: 0 0 0.95rem;
}

body.single-post .elementor-widget-post-comments .form-group label,
body.single-post .comment-form label {
  display: block;
  font-family: var(--st-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--st-ink);
  margin: 0 0 0.35rem;
}

body.single-post .elementor-widget-post-comments input[type="text"],
body.single-post .elementor-widget-post-comments input[type="email"],
body.single-post .elementor-widget-post-comments input[type="url"],
body.single-post .elementor-widget-post-comments textarea,
body.single-post .comment-form input[type="text"],
body.single-post .comment-form input[type="email"],
body.single-post .comment-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--st-sans) !important;
  font-size: 1rem !important;
  color: var(--st-ink);
  background: #fff !important;
  border: 1px solid var(--st-line) !important;
  border-radius: 10px !important;
  padding: 0.7rem 0.85rem !important;
  line-height: 1.4;
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.single-post .elementor-widget-post-comments textarea,
body.single-post .comment-form textarea {
  min-height: 8rem;
  resize: vertical;
}

body.single-post .elementor-widget-post-comments input:focus,
body.single-post .elementor-widget-post-comments textarea:focus,
body.single-post .comment-form input:focus,
body.single-post .comment-form textarea:focus {
  outline: none;
  border-color: var(--st-accent) !important;
  box-shadow: 0 0 0 3px rgba(120, 95, 255, 0.22) !important;
}

body.single-post .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.25rem 0 1.1rem;
  font-size: 0.88rem;
  color: var(--st-muted);
  line-height: 1.45;
}

body.single-post .comment-form-cookies-consent input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--st-accent);
  flex: 0 0 1rem;
}

body.single-post .comment-form-cookies-consent label {
  font-weight: 400 !important;
  color: var(--st-muted) !important;
  margin: 0 !important;
}

body.single-post .elementor-widget-post-comments button.buttons,
body.single-post .elementor-widget-post-comments button[type="submit"],
body.single-post .comment-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 10rem;
  font-family: var(--st-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: var(--st-accent) !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1.25rem !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.15s ease;
}

body.single-post .elementor-widget-post-comments button.buttons:hover,
body.single-post .elementor-widget-post-comments button[type="submit"]:hover,
body.single-post .comment-form button[type="submit"]:hover,
body.single-post .elementor-widget-post-comments button.buttons:focus {
  background: var(--st-accent-hover) !important;
  color: #fff !important;
}

body.single-post .comment-form .form-submit .hide,
body.single-post .comment-form input#submit.hide {
  display: none !important;
}

/* ------------------------------------------------------------------
   TOC
   ------------------------------------------------------------------ */
.st-toc {
  font-family: var(--st-sans);
}

.st-toc__title,
.st-toc__summary {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-muted);
  margin: 0 0 0.8rem;
}

.st-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--st-line);
  counter-reset: none;
}

.st-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.4rem 0 0.4rem 0.75rem;
  color: var(--st-muted);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 500;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.st-toc__num {
  flex: 0 0 1.15rem;
  font-variant-numeric: tabular-nums;
  color: #8b8b98;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.45;
  padding-top: 0.08rem;
}

.st-toc__label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

.st-toc__item--h3 .st-toc__link {
  padding-left: 1.85rem;
  font-size: 0.88rem;
}

.st-toc__link:hover,
.st-toc__link:focus {
  color: var(--st-ink);
}

.st-toc__link.is-active {
  color: var(--st-link);
  border-left-color: var(--st-accent);
  font-weight: 650;
}

.st-toc__link.is-active .st-toc__num {
  color: var(--st-accent);
}

.st-toc--sticky {
  display: none;
  position: sticky;
  top: 96px;
  width: 100%;
  max-height: calc(100vh - 120px);
  overflow: auto;
  z-index: 2;
  padding: 1.05rem 1rem 1.1rem 0.9rem;
  scrollbar-width: thin;
  background: #f8f7fc;
  border: 1px solid #eeeaf8;
  border-radius: 16px;
  box-shadow: none;
  align-self: start;
  box-sizing: border-box;
}

/* Center the TOC + article as one group; no leftover gutter on one side */
@media (min-width: 1280px) {
  body.single-post .elementor-location-single > .elementor-section.elementor-top-section:first-of-type > .elementor-container:has(.st-toc--sticky) {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 800px);
    column-gap: 28px;
    justify-content: center;
    align-items: start;
    max-width: min(1068px, calc(100% - 40px));
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-post .elementor-location-single > .elementor-section.elementor-top-section:first-of-type > .elementor-container:has(.st-toc--sticky) > .elementor-column {
    width: auto !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .st-toc--sticky {
    display: block;
  }
}

.st-toc--mobile {
  display: none;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1.6rem;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 12px;
  padding: 0 1rem;
}

.st-toc--mobile > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--st-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-ink);
  padding: 0.8rem 0;
}

.st-toc--mobile > summary::-webkit-details-marker {
  display: none;
}

.st-toc--mobile > summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--st-accent);
  border-bottom: 2px solid var(--st-accent);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.st-toc--mobile[open] > summary::after {
  transform: rotate(-135deg);
}

.st-toc--mobile .st-toc__list {
  border-left: 0;
  padding-bottom: 0.75rem;
}

.st-toc--mobile .st-toc__link {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
  font-size: 0.95rem;
  color: var(--st-ink);
}

@media (max-width: 1279px) {
  .st-toc--mobile {
    display: block;
  }
}

/* ------------------------------------------------------------------
   Mobile / tablet
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  body.single-post .elementor-location-single > .elementor-section.elementor-top-section:first-of-type > .elementor-container {
    max-width: 800px;
  }
}

@media (max-width: 880px) {
  body.single-post .elementor-location-single > .elementor-section.elementor-top-section:first-of-type {
    padding-top: 14px !important;
    padding-bottom: 36px !important;
  }

  body.single-post .elementor-element-76880829,
  body.single-post .elementor-location-single > .elementor-top-section:first-of-type > .elementor-container > .elementor-column {
    border-radius: 14px;
    margin-left: 8px;
    margin-right: 8px;
  }

  body.single-post .elementor-element-76880829 > .elementor-widget-wrap,
  body.single-post .elementor-location-single > .elementor-top-section:first-of-type > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 22px 18px 32px !important;
  }

  .st-hero {
    margin: -22px -18px 0;
    padding: 22px 18px 1rem;
    border-radius: 14px 14px 0 0;
  }

  body.single-post .elementor-widget-theme-post-title .elementor-heading-title,
  body.single-post .elementor-element-120a47d4 .elementor-heading-title,
  body.single-post h1.elementor-heading-title {
    font-size: clamp(1.9rem, 7.6vw, 2.25rem) !important;
    line-height: 1.18 !important;
  }

  body.single-post .elementor-widget-theme-post-content,
  body.single-post .elementor-widget-theme-post-content .elementor-widget-container,
  body.single-post .elementor-widget-theme-post-content p,
  body.single-post .elementor-widget-theme-post-content li {
    font-size: 1.0625rem !important;
    line-height: 1.75 !important;
  }

  body.single-post .elementor-widget-theme-post-excerpt.st-dek .elementor-widget-container {
    font-size: 1.12rem !important;
  }

  .st-author {
    padding: 1rem;
  }

  .st-author__avatar {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  body.single-post .sidebar-comment-form {
    padding: 1.1rem 1rem 1.15rem;
  }
}

@media (max-width: 480px) {
  body.single-post .elementor-element-76880829,
  body.single-post .elementor-location-single > .elementor-top-section:first-of-type > .elementor-container > .elementor-column {
    margin-left: 6px;
    margin-right: 6px;
  }

  body.single-post .elementor-element-76880829 > .elementor-widget-wrap,
  body.single-post .elementor-location-single > .elementor-top-section:first-of-type > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 18px 16px 28px !important;
  }

  .st-hero {
    margin: -18px -16px 0;
    padding: 18px 16px 0.9rem;
  }

  .st-hero-meta {
    gap: 0.3rem 0.5rem;
  }

  .st-hero-meta__dot:has(+ .st-hero-meta__read) {
    display: none;
  }

  .st-hero-meta__read {
    flex-basis: 100%;
    margin-left: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-post *,
  body.single-post *::before,
  body.single-post *::after {
    transition: none !important;
  }
}
