
/* category-posts-4 Styles - Posts Timeline */
#category-posts-4 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #f4f6f9; /* A slightly different light background */
}

#category-posts-4 .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

#category-posts-4 .section-header .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

#category-posts-4 .section-header .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

#category-posts-4 .timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

#category-posts-4 .timeline:before { /* The central line */
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #007bff; /* Primary color for the line */
    margin-left: -1.5px; /* Half of the width */
    border-radius: 3px;
}

#category-posts-4 .timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

#category-posts-4 .timeline-item:nth-child(odd) { /* Left side items */
    left: 0;
    padding-right: 50px; /* Space from the central line */
    text-align: right;
}

#category-posts-4 .timeline-item:nth-child(even) { /* Right side items */
    left: 50%;
    padding-left: 50px; /* Space from the central line */
    text-align: left;
}

/* The circle on the timeline */
#category-posts-4 .timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid #007bff;
    top: 15px; /* Adjust vertical position of the circle */
    z-index: 1;
}

#category-posts-4 .timeline-item:nth-child(odd)::after {
    right: -10px; /* (Circle width / 2) */
}

#category-posts-4 .timeline-item:nth-child(even)::after {
    left: -10px; /* (Circle width / 2) */
}

#category-posts-4 .timeline-content {
    padding: 20px 25px;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#category-posts-4 .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}


#category-posts-4 .timeline-date {
    display: block;
    font-size: 1.5rem; /* Larger date */
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}
#category-posts-4 .timeline-date .year {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
}


#category-posts-4 .timeline-post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #343a40;
}
#category-posts-4 .timeline-post-title a {
    color: inherit;
    text-decoration: none;
}
#category-posts-4 .timeline-post-title a:hover {
    color: #0056b3;
}

#category-posts-4 .timeline-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#category-posts-4 .readmore-btn {
    font-size: 0.85rem;
    font-weight: 500;
}
#category-posts-4 .readmore-btn i {
    margin-left: 5px;
}

/* Pagination Wrapper */
#category-posts-4 .pagination-wrapper {
    margin-top: 1rem; /* Reduced margin as timeline items have bottom margin */
    display: flex;
    justify-content: center;
}

/* Responsive adjustments for timeline */
@media (max-width: 767.98px) {
    #category-posts-4 .timeline:before {
        left: 15px; /* Move line to the left for mobile */
        margin-left: 0;
    }

    #category-posts-4 .timeline-item {
        width: 100%;
        padding-left: 50px; /* Space for content from the line */
        padding-right: 0;
        text-align: left !important; /* Force left align for all items */
        margin-bottom: 30px;
    }

    #category-posts-4 .timeline-item:nth-child(odd),
    #category-posts-4 .timeline-item:nth-child(even) {
        left: 0; /* Align all items to the left of the line */
        padding-left: 50px;
    }

    #category-posts-4 .timeline-item::after {
        left: 5px; /* Adjust circle position (15px line - 10px half circle width) */
    }
    #category-posts-4 .timeline-date {
        font-size: 1.3rem;
    }
    #category-posts-4 .timeline-post-title {
        font-size: 1.15rem;
    }
}




#text-block-13 {
  padding: 80px 0;
  background-color: var(--section-bg-color, #ffffff);
  color: var(--text-color, #343a40);
}
#text-block-13 .container {
  max-width: 800px;
}
#text-block-13 .section-title-optional {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: #6c757d;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#text-block-13 .text-heading {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color, #343a40);
  margin-bottom: 20px;
}
#text-block-13 .intro-paragraph {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-color, #555e68);
  opacity: 0.9;
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
#text-block-13 .steps-container {
}
#text-block-13 .step-item {
  margin-bottom: 35px;
  align-items: flex-start;
}
#text-block-13 .step-item:last-child {
  margin-bottom: 0;
}
#text-block-13 .step-number {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background-color: var(--number-bg-color, #0d6efd);
  color: var(--number-text-color, #ffffff);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#text-block-13 .step-content {
  flex-grow: 1;
}
#text-block-13 .step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color, #343a40);
  margin-bottom: 8px;
}
#text-block-13 .step-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color, #555e68);
  opacity: 0.9;
  margin: 0;
}
@media (max-width: 767.98px) {
  #text-block-13 {
    padding: 60px 0;
  }
  #text-block-13 .text-heading {
    font-size: 2rem;
  }
  #text-block-13 .intro-paragraph {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  #text-block-13 .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-right: 15px;
  }
  #text-block-13 .step-title {
    font-size: 1.15rem;
  }
  #text-block-13 .step-description {
    font-size: 0.95rem;
  }
}


