.main-container {
 background-color: #ffffff;
}

.blog-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    margin-top: 150px;
    width: 100%;
    /* max-width: 1720px; */
    margin-left: auto;
    margin-right: auto;
    padding: 0 100px;
  }
  
  .blog-single__header {
    display: flex;
    width: 100%;
    max-width: 1720px;
    height: 68px;
    padding: 0 240px;
    align-items: end;
    gap: 40px 100px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .blog-single__title {
    color: #121a2b;
    font-family:
      JUST Sans,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 34px;
    font-weight: 500;
    width: 806px;
    margin: 0;
  }
  
  .blog-single__meta {
    display: flex;
    align-items: start;
    gap: 15px;
    font-family:
      Inter,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 16px;
    color: #8f939b;
    font-weight: 400;
  }
  
  .blog-single__featured-image {
    width: 100%;
    max-width: 1780px;
    height: 600px;
    object-fit: cover;
    object-position: center;
    margin-top: 60px;
  }
  
  .blog-single__content {
    margin-top: 60px;
    width: 100%;
      font-family:
      Inter,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    max-width: 1720px;
    padding: 0 240px;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  
  .blog-single__intro-text {
    color: #444a58;
    font-family:
      Figtree,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    margin: 0;
  }
  
  .blog-single__link {
    color: #444a58;
    text-decoration: none;
  }
  
  .blog-single__section {
    margin-top: 0;
    max-width: 1240px;
  }
  
  .blog-single__section-title {
    color: #2b3241;
    font-family:
      JUST Sans,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 26px;
    font-weight: 500;
    margin: 0;
  }
  
  .blog-single__section-text {
    color: #444a58;
    font-family:
      Inter,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    margin-top: 12px;
  }
  
  .blog-single__section-list {
    color: #444a58;
    font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    margin-top: 25px;
    margin-left: 20px;
  }
  
  .blog-single__content-image {
    width: 100%;
    max-width: 1720px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    margin-top: 60px;
    padding: 0 240px;
  }
  
  .blog-single__paragraph {
    color: #444a58;
    font-family:
      Inter,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 29px;
    margin: 0;
  }
  
  .blog-single__divider {
    border: none;
    /* border-top: 1px solid #c1c4c8; */
    margin: 60px 0 0;
    width: 100%;
    max-width: 1720px;
  }
  
  .comments {
    background-color: #f4f5f6;
    margin-top: 60px;
    padding: 60px 240px;
    width: 100%;
    max-width: 1750px;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .comments.comments-collapsed {
    min-height: 300px;
  }
  
  .comments__title {
    color: #121a2b;
    font-family: JUST Sans;
    font-size: 34px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    width: 1240px;
    height: 44px;
    align-self: center;
  }
  
  .comments__form {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .comments__form-row {
    display: flex;
    gap: 24px;
    width: 100%;
  }
  
  .comments__form-group {
    flex: 1;
    min-width: 240px;
  }
  
  .comments__form-label {
    color: #2b3241;
    font-family:
      JUST Sans,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 10px;
  }
  
  .comments__form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #c1c4c8;
    font-family:
      Inter,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 16px;
    color: #8f939b;
    font-weight: 400;
    line-height: 1.6;
    background-color: #f4f5f6;
  }
  
  .comments__form-textarea {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #c1c4c8;
    font-family:
      Inter,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 16px;
    color: #8f939b;
    font-weight: 400;
    line-height: 1.6;
    min-height: 120px;
    resize: vertical;
    background-color: #f4f5f6;
  }
  
  .comments__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 0.5px solid #c1c4c8;
    margin-top: 0;
    position: relative;
    z-index: 2;
  }
  
  .comments__count {
    color: #121a2b;
    font-family:
      JUST Sans,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
  }
  
  .comments__toggle {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .comments__toggle:hover {
    background-color: rgba(18, 26, 43, 0.05);
  }
  
  .comments__icon {
    width: 20px;
    height: 20px;
    transition: transform 0.5s ease-in-out;
    transform-origin: center;
  }
  
  .comments__toggle.rotated .comments__icon {
    transform: rotate(180deg);
  }
  
  .comments__list {
    margin-top: 0;
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding-top: 10px;
  }
  
  /* Highlight animation for comments list */
  @keyframes highlight {
    0% {
      background-color: rgba(18, 26, 43, 0.03);
    }
    50% {
      background-color: rgba(18, 26, 43, 0.06);
    }
    100% {
      background-color: transparent;
    }
  }
  
  .comments__list.highlight-animation {
    animation: highlight 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .comment {
    padding-bottom: 20px;
    border-bottom: 0.5px solid #c1c4c8;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: top;
    position: relative;
  }
  
  .comment::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #121A2B;
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
  

  
  .comment:hover::after {
    width: 100%;
  }
  
  .comment + .comment {
    margin-top: 20px;
  }
  
  /* Comment appear animation */
  @keyframes commentAppear {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .comment__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px 100px;
    flex-wrap: wrap;
  }
  
  .comment__author {
    color: #121a2b;
    font-family:
      JUST Sans,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
  }
  
  .comment__time,
  .comment__date {
    color: #767b85;
    font-family:
      Inter,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    display: block;
  }
  
  .comment__time {
    margin-top: 4px;
  }
  
  .comment__text {
    color: #444a58;
    font-family:
      Inter,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    margin: 8px 0 0;
  }
  
  .related-posts {
    margin-bottom: 60px;
    width: 100%;
    max-width: 1440px;
    height: auto;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 60px;
  }
  
  .related-posts__title {
    color: #121A2B;
    text-align: center;
    font-family: JUST Sans;
    font-size: 34px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0%;
    text-transform: uppercase;
    margin: 0;
    width: 100%;
    height: 44px;
  }
  
  /* Blogs Grid Styling from page-two.css */
  .blogs__grid {
    width: 100%;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  @media only screen and (max-width: 1440px) {
    .blogs__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 25px;
    }
  }
  
  @media only screen and (max-width: 1050px) {
    .blogs__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 25px;
    }
  }
  
  @media only screen and (max-width: 768px) {
    .blogs__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }
  }
  
  @media only screen and (max-width: 550px) {
    .blogs__grid {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 20px;
      justify-items: center;
    }
  }
  
  @media only screen and (max-width: 480px) {
    .blogs__grid {
      gap: 16px;
    }
  }
  
  .blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 280px;
    height: auto;
    align-items: flex-start;
    gap: 0;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Blog images */
  .blog-image-container {
    width: 100%;
    height: 250px;
    align-self: stretch;
    overflow: hidden;
    display: block;
    padding: 0;
    margin: 0;
  }
  
  @media only screen and (max-width: 1440px) {
    .blog-image-container {
      height: 210px;
    }
  }
  
  @media only screen and (max-width: 1050px) {
    .blog-image-container {
      height: 200px;
    }
  }
  
  @media only screen and (max-width: 768px) {
    .blog-image-container {
      height: 180px;
    }
  }
  
  @media only screen and (max-width: 550px) {
    .blog-image-container {
      height: 200px;
    }
  }
  
  @media only screen and (max-width: 480px) {
    .blog-image-container {
      height: 180px;
    }
  }
  
  .blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
  }
  
  /* .blog-card:hover .blog-image {
    transform: scale(1.05);
  } */
  
  /* Blog content */
  .blog-content {
    display: flex;
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    flex: 1 0 0;
    align-self: stretch;
    background: #ffffff;
    justify-content: space-between;
    border-radius: 0 0 8px 8px;
    border: 0.5px solid #C1C4C8;
    border-top: 0;
  }
  
  @media only screen and (max-width: 768px) {
    .blog-content {
      padding: 18px 15px;
      gap: 15px;
    }
  }
  
  @media only screen and (max-width: 550px) {
    .blog-content {
      padding: 16px;
    }
  }
  
  @media only screen and (max-width: 480px) {
    .blog-content {
      padding: 14px;
      gap: 12px;
    }
  }
  
  .blog-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 8px;
  }
  
  .blog-date {
    color: #5D636E;
    font-family: 'Inter';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
  }
  
  @media only screen and (max-width: 1440px) {
    .blog-date {
      font-size: 13px;
    }
  }
  
  @media only screen and (max-width: 768px) {
    .blog-date {
      font-size: 12px;
    }
  }
  
  @media only screen and (max-width: 480px) {
    .blog-date {
      font-size: 11px;
    }
  }
  
  .blog-heading {
    color: #2B3241;
    font-family: 'JUST Sans';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-top: 8px;
  }
  
  @media only screen and (max-width: 1440px) {
    .blog-heading {
      font-size: 17px;
    }
  }
  
  @media only screen and (max-width: 1050px) {
    .blog-heading {
      font-size: 16px;
    }
  }
  
  @media only screen and (max-width: 768px) {
    .blog-heading {
      font-size: 15px;
      margin-top: 6px;
    }
  }
  
  @media only screen and (max-width: 480px) {
    .blog-heading {
      font-size: 14px;
      margin-top: 4px;
    }
  }
  
  .blog-link {
    color: #121A2B;
    font-family: 'JUST Sans';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    position: relative;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  
  @media only screen and (max-width: 1440px) {
    .blog-link {
      font-size: 15px;
    }
  }
  
  @media only screen and (max-width: 768px) {
    .blog-link {
      font-size: 14px;
    }
  }
  
  @media only screen and (max-width: 480px) {
    .blog-link {
      font-size: 13px;
    }
  }
  
  .blog-link-icon {
    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
  }
  
  .blog-link-icon img {
    width: 15px;
    height: 11.67px;
    position: absolute;
    top: 4.17px;
    left: 2.5px;
    border-width: 1.67px;
  }
  
  /* View More button */
  .related-posts .button--get-started {
    align-self: center;
    margin-top: 20px;
    background-color: #FFFFFF !important;
    border: 1px solid #121A2B;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  }
  
  .related-posts .button--get-started:hover {
    background-color: #121A2B !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
  }
  
  .user-profile__read-more{
    color: #121A2B;
    font-family: 'Just Sans';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: relative;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .read-more-icon{
    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
  }
  .read-more-icon>img{
    width: 15px;
    height: 11.67px;
    position: absolute;
    top: 4.17px;
    left: 2.5px;
    border-width: 1.67px;
  }
  @media (max-width: 1720px) {
    .blog-single__header,
    .blog-single__content,
    .blog-single__content-image,
    .comments {
      padding-left: 120px;
      padding-right: 120px;
    }
    
    .blog-single__featured-image,
    .blog-single__content-image {
      height: auto;
    }
  }
  
  @media (max-width: 1440px) {
    .blog-single__header,
    .blog-single__content,
    .blog-single__content-image,
    .comments {
      padding-left: 80px;
      padding-right: 80px;
    }
    
    .related-posts {
      max-width: 100%;
      height: auto;
    }
    
    .related-posts__title {
      width: 100%;
    }
    
    .related-posts__grid {
      height: auto;
      max-width: 100%;
    }
  }
  
  @media (max-width: 991px) {
    .blog-single__header,
    .blog-single__content,
    .blog-single__content-image,
    .comments {
      padding-left: 40px;
      padding-right: 40px;
    }
  
    .blog-single__title,
    .blog-single__featured-image,
    .blog-single__content-image,
    .blog-single__section,
    .blog-single__section-title,
    .blog-single__section-text,
    .blog-single__section-list,
    .blog-single__paragraph,
    .comments__form-row,
    .comments__form-group,
    .comments__header,
    .comment__header,
    .related-post {
      max-width: 100%;
    }
  
    .blog-single__featured-image,
    .blog-single__content-image,
    .comments,
    .related-posts__grid {
      margin-top: 40px;
    }
    
    .comments {
      height: auto;
    }
    
    .comments__title {
      width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    .blog-single {
      margin-top: 60px;
    }
    
    .blog-single__header,
    .blog-single__content,
    .blog-single__content-image,
    .comments {
      padding-left: 20px;
      padding-right: 20px;
    }
    
    .blog-single__header {
      height: auto;
    }
    
    .blog-single__title {
      font-size: 30px;
      width: 100%;
    }
    
    .related-posts__grid {
      flex-direction: column;
      gap: 16px;
    }
    
    .related-post {
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .blog-single {
      margin-top: 40px;
    }
    
    .blog-single__header {
      flex-direction: column;
      gap: 20px;
    }
    
    .blog-single__title {
      font-size: 26px;
    }
    
    .blog-single__meta {
      width: 100%;
    }
    
    .blog-single__section-title {
      font-size: 22px;
    }
    
    .blog-single__section-text,
    .blog-single__section-list,
    .blog-single__paragraph,
    .blog-single__intro-text {
      font-size: 16px;
      line-height: 26px;
    }
    
    .comments {
      padding: 40px 16px;
    }
  }
  
  /* Header Transitions for blog page */
  .header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .header-wrapper.header-hidden {
    transform: translateY(-100%);
  }
  
  .header-wrapper.scrolled {
    background-color: var(--neutral_colors_white, #ffffff);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  }
  
  /* Button styling for forms and actions */
  .button--get-started {
    width: 180px;
    height: 48px;
    min-width: 180px;
    padding: 13px 40px;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid #121A2B;
    font-family: 'JUST Sans';
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: capitalize;
    align-self: flex-start;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #121A2B;
    background-color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Update comments toggle styles */
  .comments__toggle {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .comments__toggle:hover {
    background-color: rgba(18, 26, 43, 0.05);
  }
  
  .comments__icon {
    width: 20px;
    height: 20px;
    transition: transform 0.5s ease-in-out;
    transform-origin: center;
  }
  
  .comments__toggle.rotated .comments__icon {
    transform: rotate(180deg);
  }
  
  .comments__list {
    margin-top: 0;
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding-top: 10px;
  }
  #load-more-btn{
    border :0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
    /* Remove all other button hover effects and animations */
  .button--get-started:hover,
  .button--get-started:active,
  .comments>.button--get-started,
  .comments>.button--get-started::before,
  .comments>.button--get-started:hover,
  .comments>.button--get-started:active {
    background-color: #FFFFFF;
    color: #121A2B;
    transform: none;
    box-shadow: none;
  }
  
  @media (max-width: 768px) {
    .button--get-started {
      padding-left: 20px;
      padding-right: 20px;
      width: 160px;
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .button--get-started {
      width: 140px;
      padding-left: 16px;
      padding-right: 16px;
    }
  }

/* ========================================
   DARK THEME support for Blog Detail
   ======================================== */
[data-theme="dark"] .main-container {
    background-color: #0d0d0d;
}

[data-theme="dark"] .blog-single__title,
[data-theme="dark"] .blog-single__section-title,
[data-theme="dark"] .comments__title,
[data-theme="dark"] .related-posts__title {
    color: #ffffff;
}

[data-theme="dark"] .blog-single__intro-text,
[data-theme="dark"] .blog-single__section-text,
[data-theme="dark"] .blog-single__section-list,
[data-theme="dark"] .blog-single__paragraph,
[data-theme="dark"] .comment__text {
    color: #cccccc;
}

[data-theme="dark"] .blog-single__meta,
[data-theme="dark"] .comment__time,
[data-theme="dark"] .comment__date {
    color: #888888;
}

[data-theme="dark"] .comments {
    background-color: #1a1a1a;
}

[data-theme="dark"] .comments__form-label {
    color: #ffffff;
}

[data-theme="dark"] .comments__form-input,
[data-theme="dark"] .comments__form-textarea {
    background-color: #2a2a2a;
    border-color: #444444;
    color: #ffffff;
}

[data-theme="dark"] .comments__header {
    border-bottom-color: #444444;
}

[data-theme="dark"] .comments__count {
    color: #ffffff;
}

[data-theme="dark"] .comment {
    border-bottom-color: #333333;
}

[data-theme="dark"] .comment__author {
    color: #ffffff;
}

[data-theme="dark"] .blog-card {
    background-color: #1a1a1a;
}

[data-theme="dark"] .blog-content {
    background-color: #1a1a1a;
    border-color: #333333;
}

[data-theme="dark"] .blog-heading {
    color: #ffffff;
}

[data-theme="dark"] .blog-link {
    color: #ffffff;
}

[data-theme="dark"] .blog-link-icon img {
    filter: invert(1);
}

[data-theme="dark"] .dropdown-arrow {
    filter: invert(1);
}

[data-theme="dark"] .footer {
    background-color: #0d0d0d;
}

[data-theme="dark"] .footer__nav-link,
[data-theme="dark"] .footer__copyright-text {
    color: #888888;
}

[data-theme="dark"] .footer__nav-heading {
    color: #ffffff;
}
  