/* ─── EB Projects Carousel ──────────────────────────── */

.eb-projects-wrapper {
    
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* ─── Tabs ──────────────────────────────────────────── */

/* Desktop (default) */
.eb-projects-tabs {
    display: flex;
    gap: 0;
    background-color: transparent; 
    margin-left: 100px;
}

.eb-projects-tab {
    padding: 14px 20px;
    background: #AAAAAA;
    color: #888;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.25s, border-bottom-color 0.25s;
    width: 180px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-left: 10px;
    border: none;
}

/* Mobile */
@media (max-width: 768px) {

    .eb-projects-tabs {
        display: flex;
        gap: 0;
        background-color: transparent;
        margin-left: 0; /* remove desktop spacing */
        justify-content: center; /* optional: center tabs */
    }

    .eb-projects-tab {
        padding: 14px 20px;
        background: #AAAAAA;
        color: #888;
        font-size: 20px;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        cursor: pointer;
        border-bottom: 3px solid transparent;
        transition: color 0.25s, border-bottom-color 0.25s;
        width: 93px;
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        margin-left: 0;
        border: none;
    }

}

.eb-projects-tab:hover {
    color: #bbb;
}

.eb-projects-tab.active {
   color: #8FBE4F;
     font-weight: 700; 
    background: #181B18;
    border: none;
}

/* ─── List ──────────────────────────────────────────── */
/* Desktop (default) */
.eb-projects-list {
    padding: 10px 0;
    min-height: 120px;
    background: #E4E4E2;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

/* Mobile */
@media (max-width: 768px) {

    .eb-projects-list {
        padding: 8px 0;          /* smaller spacing */
        min-height: auto;        /* let it grow naturally */
        border-top: 1px solid #444;
        border-bottom: 1px solid #444;
		padding-bottom: 60px;
    }

}

.eb-projects-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 2px 132px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: opacity 0.3s, max-height 0.3s;
    margin-bottom: 10px;
}

.eb-projects-item:last-child {
    border-bottom: none;
}

.eb-projects-item.eb-hidden {
    display: none;
}

/* ─── Year ──────────────────────────────────────────── */

.eb-projects-year {
    flex: 0 0 110px;
    font-size: 13px;
    color: #aaa;
    white-space: nowrap;

    
color: #A6A6A6;
text-align: justify;
font-family: 'Inter', sans-serif;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 130%; /* 26px */
	    min-width: 148px;
}

/* ─── Logo ──────────────────────────────────────────── */

.eb-projects-logo {
    flex: 0 0 214px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eb-projects-logo img {
     
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
}

/* ─── Info ──────────────────────────────────────────── */

.eb-projects-info {
     
	 
	  display: flex;
   
    gap: 5px;
	
}

 

.eb-projects-title {
  /*    display: inline;
    font-size: 14px;
    font-weight: 700;
    color: #00bcd4;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    transition: color 0.2s;*/
	
	
	    display: inline;
    font-size: 14px;
    font-weight: 700;
    color: #00bcd4;
    text-decoration: none;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
    /* margin-bottom: 4px; */
    transition: color 0.2s;
    min-width: 128px;
       vertical-align: top;
    text-align: end;
}

@media (max-width: 768px) {

    .eb-projects-info {
        display: block;
    }

}
.eb-projects-title:hover {
    color: #26d9ed;
}

.eb-projects-desc {
    margin: 0;
    font-size: 13px;
  
    line-height: 1.5;
    text-align: justify;
    font-family: 'Inter', sans-serif;
    color: #000; 
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 130%;
 

}

/* ─── Empty state ───────────────────────────────────── */

.eb-projects-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 14px;
}

/* ─── Navigation ────────────────────────────────────── */

.eb-projects-nav {
    display: flex;
    background-color: transparent;
     
        position: relative;
    top: -43px;
    
}

.eb-projects-nav button {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    flex: 1;
    padding: 14px 20px;
    max-width: 180px;
    border: none;
    background: #AAAAAA;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.eb-projects-prev{
     position: absolute;
    left: 120px;
    width: 180px;
}

@media (max-width: 768px) {
	
	.eb-projects-prev{
	   position: absolute;
		left: 0px;
		width: 180px;
	}
}

.eb-projects-next{
   position: absolute;
    right: 120px;
    width: 180px;
}

@media (max-width: 768px) {
	
	.eb-projects-next{
	   position: absolute;
		right: 0px;
		width: 180px;
	}
}

.eb-projects-nav button:first-child {
    border-right: 1px solid #444;
}

.eb-projects-nav button:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.05);
}

.eb-projects-nav button:disabled {
    opacity: 0.35;
    cursor: default;
}

/* ─── Responsive ────────────────────────────────────── */

@media (max-width: 600px) {
    .eb-projects-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 16px;
    }

    .eb-projects-year {
        flex: 0 0 100%;
        order: -1;
    }

  .eb-projects-logo {
        flex: none!important;
    }

    /*  .eb-projects-logo img {
        height: 60px;
    }*/

    .eb-projects-tabs {
        flex-wrap: wrap;
     
    }

    .eb-projects-tab {
        padding: 10px 14px;
        font-size: 11px;
    }
}
