/*
 * 191-bs-blog-single.css — BlackSpace Single Blog Post
 * Version 3 · March 2026 · Ground-up rebuild matching mockup v2.
 * Every property uses !important — Elementor Pro post CSS specificity.
 *
 * Body class: .single-post
 * Template: New Elementor single post template (replace template 22145).
 * Page layout: Elementor Full Width, no sidebar.
 *
 * TEMPLATE STRUCTURE (build in Elementor in this order):
 *
 *   Section 1 — Hero  (CSS class: bs-single-hero)
 *     Inner: 820px centered column
 *       HTML widget — back link
 *       HTML widget — category pill
 *       Heading H1 — post title (Elementor theme-post-title widget)
 *       HTML widget — author meta row
 *     Image wrap sub-section (CSS class: bs-single-hero-img)
 *       theme-post-featured-image widget
 *
 *   Section 2 — Post body  (CSS class: bs-single-body)
 *     Inner: 820px centered
 *       HTML widget — share bar
 *       theme-post-content widget
 *       HTML widget — tags row
 *
 *   Section 3 — Post footer  (CSS class: bs-single-footer)
 *     Inner: 820px centered
 *       HTML widget — post nav (prev/next)
 *       author-box widget  (CSS class: bs-single-author-box)
 *
 *   Section 4 — Bottom share  (CSS class: bs-single-share-bottom)
 *     Inner: 820px centered
 *       HTML widget — "Found this article helpful? Share it."
 *       share-buttons widget
 *
 *   Section 5 — Related posts  (CSS class: bs-single-related)
 *     Inner: 820px centered
 *       HTML widget — "Keep reading" label + "Discover more insights" H2
 *       posts widget (cards skin, 3 col)  (CSS class: bs-single-related-cards)
 *
 * Colors: #b0743e bronze | #1e1919 deep-brown | #ffffff white
 *   #c8925e bronze-300 | #efd9c0 bronze-100 | #f7eee5 bronze-050
 *   #f5f0eb warm-off-white | #8c5d31 bronze-700 | #474747 graphite
 *   #e6e6e6 silver-mist | #1a1a1a neutral-900 | #2e2e2e neutral-700
 */

/* ─── Strip WoodMart wrapper padding ─────────────────────── */
.single-post .wd-content-layout {
  padding: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   SECTION 1 — HERO
   CSS class: bs-single-hero
   ══════════════════════════════════════════════════════════ */

.bs-single-hero {
  background-color: #1e1919 !important;
  background-image:
    radial-gradient(ellipse 65% 55% at 50% 45%, rgba(176,116,62,0.16) 0%, transparent 65%),
    repeating-linear-gradient(-45deg, transparent, transparent 44px,
      rgba(255,255,255,0.018) 44px, rgba(255,255,255,0.018) 45px) !important;
  position: relative !important;
  overflow: visible !important; /* allows featured image to overlap below */
  padding-bottom: 0 !important;
}

/* Section container settings in Elementor:
   Layout → Stretch: Yes | Padding: 64px top, 0 bottom, 40px sides */
.bs-single-hero .e-con-inner,
.bs-single-hero > .e-con-inner {
  max-width: 820px !important;
  margin: 0 auto !important;
  padding: 64px 40px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* ── Back link ───────────────────────────────────────────── */
/* HTML widget. HTML: <a href="/blog/" class="bs-single-back">← Back to Blog</a> */
.bs-single-back,
.single-post .bs-single-hero a.bs-single-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 28px !important;
  text-decoration: none !important;
  transition: color 0.15s !important;
  font-family: Verdana, Geneva, sans-serif !important;
  align-self: flex-start !important;
}
.bs-single-back:hover,
.single-post .bs-single-hero a.bs-single-back:hover {
  color: #c8925e !important;
}

/* ── Category pill ───────────────────────────────────────── */
/* HTML widget. HTML: <span class="bs-single-cat">Seller Spotlight</span>
   Or use Elementor Dynamic Tags shortcode for dynamic category. */
.bs-single-cat {
  display: inline-block !important;
  font-size: 0.5625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #c8925e !important;
  background: rgba(176,116,62,0.12) !important;
  border: 1px solid rgba(176,116,62,0.25) !important;
  border-radius: 50px !important;
  padding: 5px 14px !important;
  margin-bottom: 20px !important;
  font-family: Verdana, Geneva, sans-serif !important;
}

/* ── Post title ──────────────────────────────────────────── */
/* Elementor theme-post-title widget. No CSS class needed. */
.bs-single-hero .elementor-widget-theme-post-title .elementor-heading-title {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
  font-family: Verdana, Geneva, sans-serif !important;
  text-align: center !important;
  margin-bottom: 24px !important;
}

/* ── Author meta row ─────────────────────────────────────── */
/* HTML widget containing the meta row. */
.bs-single-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-bottom: 44px !important;
  font-family: Verdana, Geneva, sans-serif !important;
}
.bs-single-meta__avatar {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid rgba(176,116,62,0.35) !important;
  background: #5a3b1e !important;
  flex-shrink: 0 !important;
}
.bs-single-meta__avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}
.bs-single-meta__info {
  text-align: left !important;
}
.bs-single-meta__name {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  display: block !important;
}
.bs-single-meta__date {
  font-size: 0.6875rem !important;
  color: rgba(255,255,255,0.45) !important;
  letter-spacing: 0.05em !important;
  display: block !important;
}
.bs-single-meta__sep {
  width: 1px !important;
  height: 28px !important;
  background: rgba(255,255,255,0.12) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}
.bs-single-meta__readtime {
  font-size: 0.6875rem !important;
  color: rgba(255,255,255,0.45) !important;
}

/* ── Featured image sub-section ──────────────────────────── */
/* CSS class: bs-single-hero-img on a second inner section/container
   that sits BELOW the text inner, still inside bs-single-hero. */
.bs-single-hero-img {
  max-width: 820px !important;
  margin: 0 auto !important;
  width: 100% !important;
  position: relative !important;
  z-index: 1 !important;
  padding: 0 40px !important;
  box-sizing: border-box !important;
}
.bs-single-hero-img .elementor-widget-theme-post-featured-image .elementor-widget-container {
  border-radius: 10px 10px 0 0 !important;
  overflow: hidden !important;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.3) !important;
  display: block !important;
}
.bs-single-hero-img img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   SECTION 2 — POST BODY
   CSS class: bs-single-body
   ══════════════════════════════════════════════════════════ */

.bs-single-body {
  background: #ffffff !important;
}
.bs-single-body .e-con-inner,
.bs-single-body > .e-con-inner {
  max-width: 820px !important;
  margin: 0 auto !important;
  padding: 0 40px 72px !important;
  box-sizing: border-box !important;
}

/* ── Share bar ───────────────────────────────────────────── */
/* HTML widget. HTML:
   <div class="bs-share-bar">
     <span class="bs-share-bar__label">Share this article</span>
     <div class="bs-share-bar__icons">...</div>
   </div>
   Alternatively use the Elementor Share Buttons widget styled below. */
.bs-share-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid #e6e6e6 !important;
  margin-bottom: 48px !important;
}
.bs-share-bar__label {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #474747 !important;
  font-family: Verdana, Geneva, sans-serif !important;
  white-space: nowrap !important;
}
.bs-share-bar__icons {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}
.bs-share-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #2e2e2e !important;
  border: 1px solid #474747 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  text-decoration: none !important;
  color: #ffffff !important;
}
.bs-share-icon svg { stroke: #ffffff !important; fill: #ffffff !important; }
.bs-share-icon svg[fill="none"] { fill: none !important; }
.bs-share-icon:hover {
  background: #b0743e !important;
  border-color: #b0743e !important;
}
.bs-share-icon:hover svg { stroke: #ffffff !important; fill: #ffffff !important; }
.bs-share-icon:hover svg[fill="none"] { fill: none !important; }

/* Alternatively — Elementor Share Buttons widget inside body section */
.bs-single-body .elementor-widget-share-buttons {
  margin-bottom: 0 !important;
}
.bs-single-body .elementor-share-buttons {
  justify-content: flex-end !important;
  gap: 8px !important;
}
.bs-single-body .elementor-share-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #e6e6e6 !important;
  transition: all 0.15s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.bs-single-body .elementor-share-btn:hover {
  background: #b0743e !important;
  border-color: #b0743e !important;
}
.bs-single-body .elementor-share-btn__icon {
  font-size: 13px !important;
  color: #474747 !important;
}
.bs-single-body .elementor-share-btn:hover .elementor-share-btn__icon {
  color: #ffffff !important;
}
.bs-single-body .elementor-share-btn__title {
  display: none !important;
}

/* ── Post content (theme-post-content widget) ────────────── */
.bs-single-body .elementor-widget-theme-post-content .elementor-widget-container {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Body paragraphs */
.bs-single-body .elementor-widget-theme-post-content p {
  font-size: 1rem !important;
  line-height: 1.9 !important;
  color: #2e2e2e !important;
  margin-bottom: 24px !important;
  font-family: Verdana, Geneva, sans-serif !important;
}
.bs-single-body .elementor-widget-theme-post-content p:last-child {
  margin-bottom: 0 !important;
}

/* H2 with top border separator */
.bs-single-body .elementor-widget-theme-post-content h2 {
  font-size: 1.375rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  line-height: 1.3 !important;
  margin: 48px 0 16px !important;
  padding-top: 8px !important;
  border-top: 1px solid #e6e6e6 !important;
  font-family: Verdana, Geneva, sans-serif !important;
}

/* H3 */
.bs-single-body .elementor-widget-theme-post-content h3 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  line-height: 1.35 !important;
  margin: 36px 0 12px !important;
  font-family: Verdana, Geneva, sans-serif !important;
}

/* Blockquote */
.bs-single-body .elementor-widget-theme-post-content blockquote {
  border-left: 3px solid #b0743e !important;
  background: #f7eee5 !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 20px 24px !important;
  margin: 32px 0 !important;
  font-style: italic !important;
  font-size: 1rem !important;
  color: #2e2e2e !important;
  line-height: 1.7 !important;
}
.bs-single-body .elementor-widget-theme-post-content blockquote p {
  margin: 0 !important;
  font-style: italic !important;
}

/* Links */
.bs-single-body .elementor-widget-theme-post-content a {
  color: #b0743e !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  transition: color 0.15s !important;
}
.bs-single-body .elementor-widget-theme-post-content a:hover {
  color: #8c5d31 !important;
}

/* Images in content */
.bs-single-body .elementor-widget-theme-post-content img {
  border-radius: 10px !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 32px auto !important;
}

/* Bold */
.bs-single-body .elementor-widget-theme-post-content strong,
.bs-single-body .elementor-widget-theme-post-content b {
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

/* Lists */
.bs-single-body .elementor-widget-theme-post-content ul,
.bs-single-body .elementor-widget-theme-post-content ol {
  padding-left: 24px !important;
  margin-bottom: 24px !important;
}
.bs-single-body .elementor-widget-theme-post-content li {
  font-size: 1rem !important;
  line-height: 1.9 !important;
  color: #2e2e2e !important;
  margin-bottom: 8px !important;
  font-family: Verdana, Geneva, sans-serif !important;
}

/* ── Tags row ────────────────────────────────────────────── */
/* HTML widget. Classes on elements inside. */
.bs-tags-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  padding: 32px 0 !important;
  border-top: 1px solid #e6e6e6 !important;
  margin-top: 48px !important;
  font-family: Verdana, Geneva, sans-serif !important;
}
.bs-tags-row__label {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #474747 !important;
}
.bs-tag-chip {
  display: inline-block !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #474747 !important;
  background: #ffffff !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 50px !important;
  padding: 5px 14px !important;
  text-decoration: none !important;
  transition: all 0.15s !important;
}
.bs-tag-chip:hover {
  color: #b0743e !important;
  border-color: #efd9c0 !important;
  background: #f7eee5 !important;
}

/* ══════════════════════════════════════════════════════════
   SECTION 3 — POST FOOTER
   CSS class: bs-single-footer
   Widgets: HTML (post nav) + Elementor Author Box widget
   ══════════════════════════════════════════════════════════ */

.bs-single-footer {
  background: #ffffff !important;
}
.bs-single-footer .e-con-inner,
.bs-single-footer > .e-con-inner {
  max-width: 820px !important;
  margin: 0 auto !important;
  padding: 0 40px 56px !important;
  box-sizing: border-box !important;
}

/* ── Post navigation ─────────────────────────────────────── */
/* Post navigation HTML widget.
   Uses the mockup's custom HTML structure:
   .post-nav > .post-nav__item (prev|next) > .post-nav__dir + .post-nav__title
   CSS class bs-post-nav assigned to the HTML widget wrapper in Elementor.
   The widget's inner HTML must use the classes below. */
.bs-post-nav .elementor-widget-container {
  padding: 0 !important;
}
.post-nav {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin: 0 0 48px !important;
}
.post-nav__item {
  background: #ffffff !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 10px !important;
  padding: 20px 22px !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.post-nav__item:hover {
  border-color: #efd9c0 !important;
  background: #f7eee5 !important;
}
.post-nav__dir {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.5625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #b0743e !important;
  font-family: Verdana, Geneva, sans-serif !important;
}
.post-nav__dir svg {
  stroke: #b0743e !important;
  flex-shrink: 0 !important;
}
.post-nav__item--next .post-nav__dir {
  justify-content: flex-end !important;
}
.post-nav__item--next {
  text-align: right !important;
}
.post-nav__title {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  line-height: 1.4 !important;
  font-family: Verdana, Geneva, sans-serif !important;
}
/* Single card (no prev or next): span full width */
.post-nav--single {
  grid-template-columns: 1fr !important;
}

/* ── Author box ──────────────────────────────────────────── */
/* Elementor Author Box widget. CSS class: bs-single-author-box */
.bs-single-author-box .elementor-author-box {
  background: #f5f0eb !important;
  border: 1px solid #efd9c0 !important;
  border-radius: 10px !important;
  padding: 32px 36px !important;
  display: flex !important;
  gap: 28px !important;
  align-items: flex-start !important;
}
.bs-single-author-box .elementor-author-box__avatar {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  border: 3px solid #efd9c0 !important;
  background: #efd9c0 !important;
}
.bs-single-author-box .elementor-author-box__avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: 50% !important;
}
/* "Written by" kicker */
.bs-single-author-box .elementor-author-box__name::before {
  content: 'Written by' !important;
  display: block !important;
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #b0743e !important;
  margin-bottom: 4px !important;
  font-family: Verdana, Geneva, sans-serif !important;
}
.bs-single-author-box .elementor-author-box__name {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  font-family: Verdana, Geneva, sans-serif !important;
  margin-bottom: 6px !important;
  display: block !important;
}
/* Bronze rule under name */
.bs-single-author-box .elementor-author-box__name::after {
  content: '' !important;
  display: block !important;
  width: 28px !important;
  height: 2px !important;
  background: #efd9c0 !important;
  border-radius: 2px !important;
  margin: 8px 0 12px !important;
}
.bs-single-author-box .elementor-author-box__bio {
  font-size: 0.8125rem !important;
  color: #474747 !important;
  line-height: 1.75 !important;
  font-family: Verdana, Geneva, sans-serif !important;
}
.bs-single-author-box .elementor-author-box__posts-wrapper {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════
   SECTION 4 — BOTTOM SHARE
   CSS class: bs-single-share-bottom
   Widgets: HTML widget (heading) + Share Buttons widget
   ══════════════════════════════════════════════════════════ */

.bs-single-share-bottom {
  background: #1e1919 !important;
  padding: 48px 40px !important;
  text-align: center !important;
  position: relative !important;
}

/* Amber top line */
.bs-single-share-bottom::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(176,116,62,0.5), transparent) !important;
}
.bs-single-share-bottom .e-con-inner,
.bs-single-share-bottom > .e-con-inner {
  max-width: 820px !important;
  margin: 0 auto !important;
  align-items: center !important;
  display: flex !important;
  flex-direction: column !important;
}

/* "Found this article helpful? Share it." heading */
/* HTML widget or Text widget. Assign class: bs-share-bottom-heading */
.bs-share-bottom-heading,
.bs-share-bottom-heading .elementor-widget-container p,
.bs-share-bottom-heading .elementor-widget-container div {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  font-family: Verdana, Geneva, sans-serif !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* Share Buttons widget — large dark glass circles */
/* Share Buttons widget grid: override inline-block with flex so it
   centers and never overflows on mobile */
.bs-single-share-bottom .elementor-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: 100% !important;
}
.bs-single-share-bottom .elementor-grid-item {
  display: flex !important;
  flex-shrink: 0 !important;
}
.bs-single-share-bottom .elementor-share-buttons {
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}
.bs-single-share-bottom .elementor-share-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  transition: all 0.15s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.bs-single-share-bottom .elementor-share-btn:hover {
  background: #b0743e !important;
  border-color: #b0743e !important;
}
/* Full white icons (not 60% opacity) */
.bs-single-share-bottom .elementor-share-btn__icon {
  font-size: 16px !important;
  color: #ffffff !important;
}
.bs-single-share-bottom .elementor-share-btn:hover .elementor-share-btn__icon {
  color: #ffffff !important;
}
.bs-single-share-bottom .elementor-share-btn__title {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════
   SECTION 5 — RELATED POSTS
   CSS class: bs-single-related
   Widgets: HTML widget (header) + Posts widget (cards skin)
   ══════════════════════════════════════════════════════════ */

.bs-single-related {
  background: #ffffff !important;
  border-top: 1px solid #e6e6e6 !important;
}
.bs-single-related .e-con-inner,
.bs-single-related > .e-con-inner {
  max-width: 820px !important;
  margin: 0 auto !important;
  padding: 64px 40px !important;
  box-sizing: border-box !important;
}

/* Related header — HTML widget */
.bs-related-header {
  margin-bottom: 32px !important;
}
.bs-related-header .bs-related-kicker {
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #b0743e !important;
  display: block !important;
  margin-bottom: 6px !important;
  font-family: Verdana, Geneva, sans-serif !important;
}
.bs-related-header .bs-related-heading {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  font-family: Verdana, Geneva, sans-serif !important;
}

/* ── Related posts cards widget ──────────────────────────── */
/* CSS class: bs-single-related-cards on the Posts widget */
.bs-single-related-cards .elementor-posts-container {
  gap: 20px !important;
}
.bs-single-related-cards .elementor-post__card {
  background: #ffffff !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}
.bs-single-related-cards .elementor-post__card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08) !important;
  transform: translateY(-2px) !important;
}
.bs-single-related-cards .elementor-post__thumbnail__link {
  display: block !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 10 !important;
  background: #f5f0eb !important;
  flex-shrink: 0 !important;
}
.bs-single-related-cards .elementor-post__thumbnail {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}
.bs-single-related-cards .elementor-post__thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}
.bs-single-related-cards .elementor-post__card:hover .elementor-post__thumbnail img {
  transform: scale(1.04) !important;
}
.bs-single-related-cards .elementor-post__badge {
  background-color: rgba(46, 46, 46, 0.69) !important;
  color: #ffffff !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border-radius: 999px !important;
  padding: 4px 13px !important;
  font-family: Verdana, sans-serif !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  margin: 5px !important;
  width: auto !important;
  display: block !important;
}
.bs-single-related-cards .elementor-post__avatar {
  display: none !important;
}
.bs-single-related-cards .elementor-post__text {
  padding: 16px 18px 0 !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.bs-single-related-cards .elementor-post__title {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: #000000 !important;
  line-height: 1.35 !important;
  font-family: Verdana, Geneva, sans-serif !important;
}
.bs-single-related-cards .elementor-post__title a {
  color: #000000 !important;
  text-decoration: none !important;
  transition: color 0.15s !important;
}
.bs-single-related-cards .elementor-post__title a:hover {
  color: #b0743e !important;
}
.bs-single-related-cards .elementor-post__meta-data {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  font-size: 0.625rem !important;
  color: #474747 !important;
  padding: 12px 18px 16px !important;
  border-top: 1px solid #e6e6e6 !important;
  margin-top: 12px !important;
  font-family: Verdana, Geneva, sans-serif !important;
  overflow: hidden !important;
}
.bs-single-related-cards .elementor-post-author {
  font-weight: 700 !important;
  color: #2e2e2e !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.bs-single-related-cards .elementor-post-date {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.bs-single-related-cards .elementor-post-author::after {
  content: '' !important;
  display: inline-block !important;
  width: 3px !important;
  height: 3px !important;
  border-radius: 50% !important;
  background: #c8925e !important;
  margin: 0 5px !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 960px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .bs-single-hero .e-con-inner,
  .bs-single-hero > .e-con-inner {
    padding: 52px 32px 0 !important;
  }
  .bs-single-hero-img { padding: 0 32px !important; }
  .bs-single-body .e-con-inner,
  .bs-single-body > .e-con-inner { padding: 0 32px 56px !important; }
  .bs-single-footer .e-con-inner,
  .bs-single-footer > .e-con-inner { padding: 0 32px 48px !important; }
  .bs-single-related .e-con-inner,
  .bs-single-related > .e-con-inner { padding: 48px 32px !important; }
  .bs-single-hero .elementor-widget-theme-post-title .elementor-heading-title {
    font-size: 2rem !important;
  }
  .bs-single-hero-img img { aspect-ratio: 16 / 9 !important; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 640px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .bs-single-hero .e-con-inner,
  .bs-single-hero > .e-con-inner {
    padding: 40px 20px 0 !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .bs-single-hero-img { padding: 0 20px !important; }
  .bs-single-hero .elementor-widget-theme-post-title .elementor-heading-title {
    font-size: 1.5rem !important;
    text-align: left !important;
  }
  .bs-single-meta { justify-content: flex-start !important; }
  .bs-single-hero-img img { aspect-ratio: 4 / 3 !important; }
  .bs-single-body .e-con-inner,
  .bs-single-body > .e-con-inner { padding: 0 20px 56px !important; }
  .bs-single-footer .e-con-inner,
  .bs-single-footer > .e-con-inner { padding: 0 20px 48px !important; }
  .bs-single-share-bottom { padding: 36px 20px !important; }
  .bs-single-related .e-con-inner,
  .bs-single-related > .e-con-inner { padding: 48px 20px !important; }
  .post-nav { grid-template-columns: 1fr !important; }
  .bs-single-author-box .elementor-author-box {
    flex-direction: column !important;
    gap: 16px !important;
    padding: 24px !important;
  }
  .bs-single-body .elementor-widget-theme-post-content p { font-size: 0.9375rem !important; }
  .bs-single-body .elementor-widget-theme-post-content h2 {
    font-size: 1.125rem !important;
    margin: 36px 0 12px !important;
  }

  /* Share bar: stack icons below label on mobile, both centered */
  .bs-share-bar {
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
  }
  .bs-share-bar__icons {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .bs-share-bar__icons::-webkit-scrollbar { display: none !important; }

  /* Author box: center everything on mobile including avatar */
  .bs-single-author-box .elementor-author-box {
    align-items: center !important;
    text-align: center !important;
  }
  .bs-single-author-box .elementor-author-box__avatar {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .bs-single-author-box .elementor-author-box__name {
    text-align: center !important;
  }
  /* Center the bronze rule under the author name */
  .bs-single-author-box .elementor-author-box__name::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .bs-single-author-box .elementor-author-box__bio {
    text-align: center !important;
  }
  .bs-single-author-box .elementor-author-box__button {
    align-self: center !important;
  }

  /* Related posts header: center on mobile */
  .bs-single-related .bs-section-label,
  .bs-single-related .elementor-widget-heading .elementor-heading-title {
    text-align: center !important;
  }
  .bs-single-related .elementor-widget-heading {
    text-align: center !important;
  }

  /* Section 4 header text: always single line */
  .bs-single-footer .elementor-widget-heading .elementor-heading-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }


}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .bs-single-hero .elementor-widget-theme-post-title .elementor-heading-title {
    font-size: 1.25rem !important;
  }
  .bs-single-hero .e-con-inner,
  .bs-single-hero > .e-con-inner,
  .bs-single-hero-img,
  .bs-single-body .e-con-inner,
  .bs-single-body > .e-con-inner,
  .bs-single-footer .e-con-inner,
  .bs-single-footer > .e-con-inner,
  .bs-single-related .e-con-inner,
  .bs-single-related > .e-con-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .bs-single-share-bottom { padding: 36px 16px !important; }
  .bs-single-body .elementor-widget-theme-post-content p {
    font-size: 0.9375rem !important;
    line-height: 1.8 !important;
  }
}
