.projects-section {
    display: grid;
    align-items: start;
    row-gap: 1.5rem;
    justify-items: center;
    
}
.projects-category {
    background-color: #f9f9f9;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 1rem 2rem 1rem;
    align-items: stretch;
    gap: 1rem;
    
}
.project-category {
    background-color: #f9fafb; 
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    padding: 1rem 0.5rem 1rem 0.5rem;
    justify-self: center;
    margin: 0.5rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #4b5563;
    align-items: center;
    flex: 1 1 0;
    transition: background 0.2s ease, border-color 0.2s ease;  
}
.project-category-current {
    background-color: #f2fadf; 
    border: 1px solid #0000ff;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
}
.project-category:hover {
    box-shadow: 0 2px 12px #4b5563;
    cursor: pointer;
    background-color: lightgray;
}
.projects-scroll {
    background-color: #f9f9f9;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem 1rem 2rem 1rem;
    align-items: stretch;
    gap: 1rem;
    
}
.project-scroll {
    background-color: #f9fafb; 
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    padding: 1rem 0.5rem 1rem 0.5rem;
    justify-self: center;
    margin: 0.5rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #4b5563;
    align-items: center;
    flex: 1 1 0;
    transition: background 0.2s ease, border-color 0.2s ease;  
}
.project-scroll-current {
    background-color: #f2fadf; 
    border: 1px solid #0000ff;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
}
.project-scroll:hover {
    box-shadow: 0 2px 12px #4b5563;
    cursor: pointer;
    background-color: lightgray;
}
.spotlight {
    margin: 0px;
    width: 90%;
    height: fit-content;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
    
}
.spotlight { padding-top: 0.5rem; 
} 

.spotlight-titles {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid lightblue;
}
h3.spotlight-titles { 
    margin: 0;
    font-size: 1.5rem;
    color: #111827;
    font-weight: 600;
}

.spotlight-card {
    display: flex;
    flex-direction: column;
}
.spotlight ul { list-style: none; 
    margin: 0.5rem; 
    justify-self: center;
    padding: 0.5rem;
     width: 90%; }

.spotlight li {
    margin-top: 1rem;
}
.spotlight-list-header{
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;  
}
.spotlight-list-details {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
}
.spotlight-list-details-description {
    display: flex;
    margin-left: 1rem;
    flex-direction: column;
}
.spotlight-list-details-description-tech {
    margin-left: 1rem;
}
.spotlight-list-details-description p{
    margin: 0;
}

.spotlight-list-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    gap: 0.75rem;
}
.spotlight-list-cards img{
    border-radius: 12px;
}
.spotlight-list-cards-description {
    display: flex;
    flex-direction: column;
    line-height: 1.2rem;
}
.project-category.active {
  background: #2563eb;
  color: white;
}
.spotlight-list-cards-description p{
    margin: 0;
}

.spotlight {
  display: none;
}

.spotlight.active {
  display: block;
}
.spotlight > :first-child { margin-top: 0; }

.spotlight-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
    border-radius: 12px;
    width: ;
    background: #e0f2fe;
    color: #0369a1;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.spotlight-summary::-webkit-details-marker {
    display: none;
}
.summary-text{
    display: grid;
    gap: 0.1rem;
    padding: 0.25rem;
}
.summary-title{
    margin:0;
    font-size: 1rem;
    color: #0369a1;
}
.summary-teaser{
    margin:0.5rem;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.2;
}
.summary-tags { display: flex;
     gap: 0.4rem;
      flex-wrap: wrap; 
      margin-top: 0.1rem; }
.tag {
  background: #dbeafe; color: #1e3a8a; font-size: 0.75rem;
  padding: 0.15rem 0.5rem; border-radius: 9999px;
}
.chevron { transition: transform .2s ease; align-self: center;
font-size: 1.5rem; }
.spotlight-details[open] .chevron { 
    transform: rotate(90deg); 
}


