.project-wrapper .project-main h1,
.taxonomy-wrapper .taxonomy-main h1{
    color: #363D79;
}

.project-wrapper, .taxonomy-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 90px auto 40px auto;
    gap: 30px;
    font-family: sans-serif;
}

.project-main {
    flex: 2;
}

.project-title, .taxonomy-title {
    font-size: 2rem;
    margin-bottom: 50px;
}

.project-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #666666;
}

.project-image {
    margin: 20px 0;
}

.project-content {
    line-height: 1.6;
}

.sidebar-wrapper {
    flex: 1;
    background: #2F3C7E0D;
    padding: 20px;
    border-radius: 16px;
}




.project-details,
.related-projects {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-details li,
.related-projects li {
    margin-bottom: 10px;
}

.sidebar-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #ddd;
}

/* Responsive layout */
@media (max-width: 768px) {
    .project-wrapper {
        flex-direction: column;
         padding: 0 20px;
    }

    .project-sidebar {
        margin-top: 20px;
    }

  .project-main h1.project-title, .taxonomy-main h1.taxonomy-title {
    font-size: 2.5em;

}
}


/* Two Column Layout */
.two-column-layout {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    gap: 30px;
    font-family: sans-serif;
    padding: 0 15px;
}

.taxonomy-main {
    flex: 2;
}

.taxonomy-sidebar {
    flex: 1;


    padding: 20px;
    border-radius: 8px;
}

.taxonomy-sidebar h3 {
    margin-bottom: 15px;
}

.taxonomy-widget h4 {
    margin: 20px 0 10px;
}

.taxonomy-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.taxonomy-widget li {
    margin-bottom: 10px;
}

.taxonomy-widget a {
    text-decoration: none;
    color: #0073aa;
}

.taxonomy-widget a:hover {
    text-decoration: underline;
}

/* Blog Style List */
.taxonomy-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.taxonomy-post {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.taxonomy-thumb {
    width: 280px;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 6px;
    background: #EBECF3BF;
    ;
}

.fixed-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-thumb {
    background: #EBECF3BF;

}

.taxonomy-content {
    flex: 1;
}

.taxonomy-post-title {
    font-size: 1.4rem;
    margin: 0 0 10px;
}

.taxonomy-post-title a {
    text-decoration: none;
    color: #333;
}

.taxonomy-post-title a:hover {
    color: #0073aa;
}

.taxonomy-subtitle {
    font-size: 1rem;
    color: #777;
    margin-bottom: 10px;
}

.taxonomy-excerpt {
    color: #666666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.taxonomy-readmore {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.taxonomy-readmore:hover {
    text-decoration: underline;
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .two-column-layout {
        flex-direction: column;
    }

    .taxonomy-sidebar {
        margin-top: 20px;
    }

    .taxonomy-post {
        flex-direction: column;
    }

    .taxonomy-thumb {
        width: 100%;
        height: 200px;
    }
}

/* List page item styling */
article.taxonomy-post h2,
 article.taxonomy-post h2 a{
    font-family: Rubik;
font-weight: 500;
font-size: 20px;
color: #2F3C7E;
}



article.taxonomy-post p.taxonomy-excerpt {
 font-family: Rubik;
 font-weight: 400;
 font-size: 14px;
 line-height: 20px;}

 .project-sidebar {
  /* Make sure this doesn't interfere with sticky behavior */
  position: relative;
}

.sidebar-wrapper {
  position: sticky;
  top: 20px;       /* How far from the top it sticks */
  z-index: 10;     /* Ensure it stays above other content */
}