


/* ==========================================
SHARE BUTTONS
========================================== */

.share-linkedin,
.share-instagram,
.share-native {
transition:
background-color 200ms ease,
border-color 200ms ease,
color 200ms ease,
transform 200ms ease,
box-shadow 200ms ease;
}

/* ==========================================
LINKEDIN
========================================== */

.share-linkedin:hover {
background-color: #0A66C2;
border-color: #0A66C2;
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.share-linkedin:hover .bs-icon,
.share-linkedin:hover .h6-v2-overline {
color: #ffffff;
}

/* ==========================================
INSTAGRAM
========================================== */

.share-instagram:hover {
background-color: rgba(228, 72, 88, 1);
border-color: rgba(255, 255, 255, 0.20);
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.share-instagram:hover .bs-icon,
.share-instagram:hover .h6-v2-overline {
color: #ffffff;
}

/* ==========================================
SHARE
========================================== */

.share-native:hover {
background-color: #D98B4D;
border-color: #D98B4D;
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.share-native:hover .bs-icon,
.share-native:hover .h6-v2-overline {
color: #ffffff;
}

/* ==========================================
ACCESSIBILITY
========================================== */

.share-linkedin:focus-visible,
.share-instagram:focus-visible,
.share-native:focus-visible {
outline: none;
}


/* ==========================================
   STICKY SIDEBAR
   ========================================== */

.sidebar,
.blog-wrapper,
.blog-content,
.article-content,
.article {
  overflow: visible !important;
}

.sidebar {
  position: relative;
  display: flex;
  align-self: stretch;
  overflow: visible !important;
  width: 100%;
}

.article-sticky {
  position: sticky;
  top: 96px;
  width: 100%;
  align-self: flex-start;
  z-index: 10;

  max-height: calc(100vh - 120px);
  overflow: hidden;
}

/* Scrollable TOC */
.article-toc {
  max-height: calc(100vh - 300px);

  overflow-y: auto;
  overflow-x: hidden;

  overscroll-behavior: contain;

  padding-right: 1rem;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #7a7a7a transparent;
}

/* Chrome / Safari */
.article-toc::-webkit-scrollbar {
  width: 4px;
}

.article-toc::-webkit-scrollbar-track {
  background: transparent;
  margin: 12px 0;
}

.article-toc::-webkit-scrollbar-thumb {
  background: #7a7a7a;
  border-radius: 999px;
}

.article-toc::-webkit-scrollbar-thumb:hover {
  background: #9a9a9a;
}


/* ==========================================
   DESKTOP ARTICLE TOC
   ========================================== */

.article-toc-link {
  position: relative;
  display: block;
  padding: 0.75rem 0 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
  transition: color 200ms ease;
}

.article-toc-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 200ms ease;
}

.article-toc-link:hover,
.article-toc-link:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  outline: none;
}

.article-toc-link:hover::before {
  background: rgba(255, 255, 255, 0.4);
}

.article-toc-link.is-active {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: inherit;
}

.article-toc-link.is-active::before {
  background: #d98b4d !important;
}

/* ==========================================
   DESKTOP ARTICLE TOC SUBLINKS
   ========================================== */

.article-toc-sublink {
  position: relative;
  display: block;
  padding: 0.5rem 0 0.5rem 2.5rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-weight: 400;
  line-height: 1.45;
  transition: color 200ms ease;
}

.article-toc-sublink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 200ms ease;
}

.article-toc-sublink:hover,
.article-toc-sublink:focus-visible {
  color: rgba(255, 255, 255, 0.75);
  outline: none;
}

.article-toc-sublink:hover::before {
  background: rgba(255, 255, 255, 0.35);
}

.article-toc-sublink.is-active {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 500;
}

.article-toc-sublink.is-active::before {
  background: #d98b4d !important;
}


/* ==========================================
   MOBILE ARTICLE TOC
   ========================================== */

.mobile-article-toc {
  display: none;
}

@media (max-width: 767px) {

  .mobile-article-toc {
    display: block;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 999;
    padding: 1rem;
    background: rgba(17, 17, 17, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
  }

  .mobile-article-list {
    display: flex;
    gap: 0.50rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-article-list::-webkit-scrollbar {
    display: none;
  }

  .mobile-article-toc-link {
    flex: 0 0 auto;
    padding: 0.65rem 0.9rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 500;
    white-space: nowrap;
    scroll-snap-align: center;
    transition: color 200ms ease, background 200ms ease;
  }

  .mobile-article-toc-link:hover,
  .mobile-article-toc-link:focus-visible {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.14);
    outline: none;
  }

  .mobile-article-toc-link.is-active {
    color: #ffffff !important;
    background: #d98b4d !important;
    opacity: 1 !important;
  }
}

/* ==========================================
   TOC READ PROGRESS
   ========================================== */


.toc-progress {
  /* margin: 1.5rem 0 2rem; */
}

.toc-progress-track {
  /* width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden; */
}

.toc-progress-fill {
  width: 0%;
  height: 100%;
  background: #d98b4d;
  border-radius: 999px;
  transition: width 120ms linear;
 }

.toc-progress-percentage {
  /* margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.2;
  text-align: center; */
}

/* ==========================================
   FADE IN SECTIONS
   ========================================== */

.fade-section {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 800ms ease,
    transform 800ms ease;
  will-change: opacity, transform;
}

.fade-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .fade-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
     BLOG TEMPLATE STYLE OVERRIDES
     ======================================== */

  /* ========================================
     HEADING AND BUTTON LINK UNDERLINES
     ======================================== */

  /* Remove underlines and borders from H3 and H4 links */
  .blog-body-copy :is(h3, h4),
  .blog-body-copy :is(h3, h4) a {
    text-decoration: none !important;
    border: none !important;
  }

  /* Remove underlines from primary button text */
  .blog-body-copy .primary-btn-txt,
  .blog-body-copy .primary-btn-txt a,
  .primary-btn-txt,
  .primary-btn-txt:hover,
  .primary-btn-txt:focus,
  .primary-btn-txt:visited,
  .primary-btn-txt * {
    text-decoration: none !important;
    border: none !important;
  }


  /* ========================================
     HUBSPOT FORM SPACING
     ======================================== */

  /* Remove the default padding from HubSpot form steps */
  .hsfc-Step .hsfc-Step__Content {
    padding: 0 !important;
  }


  /* ========================================
     RELATED BLOG CARD VISIBILITY
     Controls how many blog cards appear
     at each responsive breakpoint
     ======================================== */

  /* Mobile: display the first three blog cards */
  @media screen and (max-width: 479px) {
    .blog-list > :nth-child(n + 4) {
      display: none;
    }
  }

  /* Tablet: display the first four blog cards */
  @media screen and (min-width: 480px) and (max-width: 991px) {
    .blog-list > :nth-child(n + 5) {
      display: none;
    }
  }

  /* Desktop: display the first three blog cards */
  @media screen and (min-width: 992px) and (max-width: 1439px) {
    .blog-list > :nth-child(n + 4) {
      display: none;
    }
  }

  /* Large desktop: display the first four blog cards */
  @media screen and (min-width: 1440px) {
    .blog-list > :nth-child(n + 5) {
      display: none;
    }
  }

  /* ========================================
     BLOG BODY BULLETS
     ======================================== */

.blog-accent-list {
  border-left: 1px solid #B66A2C;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 28px 0 36px;
  padding-left: 28px;
}

.blog-accent-list_item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  column-gap: 12px;
  font-size: 1rem;
  line-height: 1.55;
}

.blog-accent-list_number {
  color: #B66A2C;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 5px;
}

/* ==========================================
   BLOG TEMPLATE MOBILE FIXES
   Paste this after the existing blog CSS so these rules win the cascade.
   ========================================== */

@media screen and (max-width: 767px) {
  /* Prevent the Webflow grid track from expanding to the article's
     intrinsic content width. */
  .v2-section-container.blog {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Allow every article layer to shrink inside the mobile grid. */
  .v2-section-container.blog > *,
  .v2-section-container.blog .blog-show-page,
  .v2-section-container.blog .blog-header,
  .v2-section-container.blog .blog-heading,
  .v2-section-container.blog .blog-section,
  .v2-section-container.blog .blog-body-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* The outer wrapper has both classes but never receives .fade-in.
     Restore it on mobile while individual child sections may still animate. */
  .v2-section-container.blog > .blog-body-copy.fade-section {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================
   BLOG QUICK ANSWER SUMMARY
   Styles the AI-friendly answer at the beginning of each blog article.
   ========================================== */

.blog-answer-summary {
  position: relative;
  margin: 2rem 0 3.5rem;
  padding: 2rem 2.25rem;
  overflow: hidden;
  background-color: #f6f4f1;
  border: 1px solid #e5e0da;
  border-left: 4px solid #a76f4b;
  border-radius: 12px;
}

.blog-answer-summary_label {
  margin-bottom: 0.75rem;
  color: #a76f4b;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-answer-summary_content {
  color: #29292e;
  font-size: 1.125rem;
  line-height: 1.65;
}

.blog-answer-summary_content p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.blog-answer-summary_content p:first-child {
  font-weight: 500;
}

.blog-answer-summary_content p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .blog-answer-summary {
    margin: 1.5rem 0 2.5rem;
    padding: 1.5rem;
    border-radius: 10px;
  }

  .blog-answer-summary_content {
    font-size: 1rem;
    line-height: 1.6;
  }
}
