/* ==========================================================================
   Blog Post Page Styling
   ========================================================================== */

.blog-post-page {
  padding: 40px 0 60px;
  background-color: #ffffff;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 50px 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* BLOG -POST */

.blog-body {
  padding: 80px 0 0;
}

.blog-content-wrapper {
  max-width: 1460px;
  margin: auto;
}

.blog-content-wrapper {
  display: flex;
  gap: 30px;
  padding: 0 20px;
}

.blog-left {
  width: 65%;
  position: relative;
}

.blog-right {
  width: 35%;
}

@media (min-width: 1220px) {
  .ss-custom {
    position: sticky;
    top: 60px;
    left: -80px;
    margin-left: -80px;
    width: 40px;
    height: 0;
    z-index: 10;
  }
}

.related-post-wrapper {
  max-width: 1460px;
  margin: auto;
  padding: 0 20px;
}

.blog-form {
  margin: 40px 0 0 0;
  background-color: #fff;
  border: 24px solid #fff;
  border-radius: 10px;
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, .16);
  display: block;
  text-align: center;
}

.blog-form .form-title {
  padding: 0;
}

#form1 .page-center {
  float: none;
  margin: 0 auto;
  max-width: 1440px;
  padding-left: 15px;
  padding-right: 15px;
}

#form1 {
  background-image: url('https://7436532.fs1.hubspotusercontent-na2.net/hubfs/7436532/Imported%20images/buses-on-road-near-high-rise-buildings-3709402.jpg') !important;
}

.blog-form .hs-button.primary.large {
  width: 100%;
}

.hs_cos_wrapper_type_blog_social_sharing,
.section.post-header {
  display: none;
}

.footer-socials {
  display: flex !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

.popular-wrapper .post-content h4,
.popular-wrapper .post-content h4 a {
  font-size: 20px;
  font-weight: 700 !important;
}

.social-follow {
  margin: 50px 0 0;
}

.sf-label {
  color: #154174;
  font-size: 22.78px;
  font-weight: 700;
  line-height: normal;
}

.social-links {
  margin: 20px 0 0;
  justify-content: start !important;
}

.social-links__link svg {
  width: 16px !important;
  height: 20px !important;
}
.social-links {
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  justify-content:center
}
.social-links__icon {
  border-radius:50%;
  display:inline-flex;
  height:1.75rem;
  margin:0 .35rem;
  position:relative;
  width:1.75rem
}
.social-links__icon svg {
  fill:#fff;
  height:.625rem;
  left:50%;
  position:absolute;
  top:50%;
  transform:translate(-50%,-50%);
  width:auto
}
.social-links__icon:active svg,
.social-links__icon:focus svg,
.social-links__icon:hover svg {
  fill:#fff
}

@media (max-width: 1199px) {
  .blog-post-layout {
    grid-template-columns: 50px 1fr 300px;
    gap: 30px;
  }

  .footer-socials-share {
    display: flex;
    gap: 15px;
  }

  .blog-content-wrapper {
    flex-direction: column;
  }

  .blog-left {
    width: 100%;
  }

  .blog-right {
    width: 100%;
  }

  .blog-body {
    padding: 40px 0 0 0;
  }
}

@media (max-width: 991px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   Floating Sticky Left Share Bar
   -------------------------------------------------------------------------- */
.blog-post-share {
  position: sticky;
  top: 120px;
  z-index: 10;
}

.blog-post-share__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 991px) {
  .blog-post-share {
    position: static;
    margin-bottom: 20px;
  }

  .blog-post-share__inner {
    flex-direction: row;
    justify-content: flex-start;
  }
}

.blog-post-share__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #f1f5f9;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  transition: all 0.2s ease;
  text-decoration: none;
}

.blog-post-share__icon:hover {
  background-color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Center Main Content Column
   -------------------------------------------------------------------------- */
.blog-post-main {
  min-width: 0;
}

.blog-post__title {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  margin: 0 0 20px 0;
}

@media (max-width: 767px) {
  .blog-post__title {
    font-size: 26px;
  }
}

.blog-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.blog-post__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-post__author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;

  border: 1.5px solid {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
}

.blog-post__author-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;

  border: 1.5px solid {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  background-color: #ffffff;
}

.blog-post__author-name {
  font-size: 15px;
  font-weight: 600;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
}

.blog-post__date-separator {
  color: #94a3b8;
}

.blog-post__date {
  font-size: 14px;
  color: #64748b;
}

.blog-post__featured-image-wrapper {
  margin-bottom: 30px;
  border-radius: 4px;
  overflow: hidden;
}

.blog-post__featured-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.blog-post__body {
  font-size: 17px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 40px;
}

.blog-post__body p {
  margin-bottom: 1.5em;
}

.blog-post__body h2,
.blog-post__body h3,
.blog-post__body h4 {
  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  margin: 1.6em 0 0.6em;
  line-height: 1.3;
}

.blog-post__body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5em 0;
}

.blog-post__strategy-cta {
  margin: 40px 0;
  text-align: center;
}

.blog-post__strategy-cta img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.blog-post__strategy-cta img:hover {
  transform: translateY(-2px);
}

.blog-post__tags {
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
  color: #475569;
}

.blog-post__tags-label {
  font-weight: 600;
  margin-right: 6px;
}

.blog-post__tag-link {
  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  text-decoration: none;
}

.blog-post__tag-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Right Sidebar Styling
   -------------------------------------------------------------------------- */
.blog-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Sidebar Box 1: Property Tax CTA */
.sidebar-cta-box {
  background: linear-gradient(135deg, {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  , #0f172a);
color: #ffffff;
border: none;
}

.sidebar-cta-box__heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px 0;
  color: #ffffff;
}

.sidebar-cta-box__desc {
  font-size: 14px;
  line-height: 1.5;
  color: #e2e8f0;
  margin: 0 0 20px 0;
}

.sidebar-cta-box__btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;

  background-color: {
      {
      theme.global_colors.accent.color | default('#3182ce')
    }
  }

  ;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sidebar-cta-box__btn:hover {
  opacity: 0.9;
}

/* Sidebar Box 2: Newsletter */
.sidebar-newsletter__heading {
  font-size: 18px;
  font-weight: 700;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  margin: 0 0 8px 0;
}

.sidebar-newsletter__desc {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px 0;
}

/* Sidebar Box 3: Social Handles */
.sidebar-social__heading {
  font-size: 16px;
  font-weight: 700;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  margin: 0 0 14px 0;
}

.sidebar-social__links {
  display: flex;
  gap: 12px;
}

.sidebar-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #f1f5f9;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  transition: all 0.2s ease;
  text-decoration: none;
}

.sidebar-social__link:hover {
  background-color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  color: #ffffff;
}

/* Sidebar Box 4: Top Posts */
.sidebar-top-posts__heading {
  font-size: 18px;
  font-weight: 700;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  margin: 0 0 18px 0;
  padding-bottom: 10px;

  border-bottom: 2px solid {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
}

.sidebar-top-posts__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-top-post-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sidebar-top-post-item__image-link {
  width: 70px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.sidebar-top-post-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-top-post-item__content {
  min-width: 0;
}

.sidebar-top-post-item__title {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.sidebar-top-post-item__title a {
  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-top-post-item__title a:hover {
  color: {
      {
      theme.global_colors.accent.color | default('#3182ce')
    }
  }

  ;
}

.sidebar-top-post-item__date {
  font-size: 12px;
  color: #94a3b8;
}

/* Sidebar Box 5: Ad Banner */
.sidebar-ad-banner {
  padding: 0;
  border: none;
  overflow: hidden;
}

.sidebar-ad-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Related Posts Section (Reusing @all-blogs card design system)
   -------------------------------------------------------------------------- */
.blog-related-posts-section {
  padding: 60px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.blog-related-posts-section__heading {
  font-size: 28px;
  font-weight: 700;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  margin: 0 0 30px 0;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.blog-card {
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15), 0 0 3px rgba(0, 0, 0, .12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 10px 35px rgba(0, 0, 0, .15), 0 0 15px rgba(0, 0, 0, .12);
  transform: translateY(-4px);
}

.blog-card__image-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f4f5f7;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-card__author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;

  border: 1.5px solid {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  flex-shrink: 0;
}

.blog-card__author-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;

  border: 1.5px solid {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  background-color: #ffffff;
  flex-shrink: 0;
}

.blog-card__author-name {
  font-size: 15px;
  font-weight: 600;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
}

.blog-card__title {
  margin: 0 0 14px 0;
}

.blog-card__title-heading {
  font-family: inherit;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0;

  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
}

.blog-card__title-heading a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title-heading a:hover {
  color: {
      {
      theme.global_colors.accent.color | default('#3182ce')
    }
  }

  ;
}

.blog-card__excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: #333333;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.blog-card__footer {
  padding: 14px 24px;
  border-top: 1px solid #e2e8f0;
  font-size: 14px;
  color: #333333;
  background-color: #ffffff;
}

.blog-card__topics-label {
  font-weight: 400;
  color: #333333;
  margin-right: 4px;
}

.blog-card__topic-link {
  color: {
      {
      theme.global_colors.primary.color | default('#1a365d')
    }
  }

  ;
  text-decoration: none;
}

.blog-card__topic-link:hover {
  text-decoration: underline;
}