* {
    box-sizing: border-box;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2937;
}

img {
    max-width: 100%;
    height: auto;
}
#ldas-category-filter {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.ldas-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}

.ldas-category img {
    width: 24px;
    height: 24px;
}

.ldas-category span {
    font-size: 14px;
    font-weight: 500;
}

.ldas-category.active,
.ldas-category:hover {
    border-color: #16a34a;
    background: #f0fdf4;
}

.ldas-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

.ldas-sidebar {
    border-right: 1px solid #e5e7eb;
    padding-right: 20px;
}

.ldas-sidebar h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}

.ldas-research-category {
    padding: 10px 12px;
    font-size: 14px;
    border-left: 3px solid transparent;
    cursor: pointer;
    color: #374151;
    margin-bottom: 4px;
}

.ldas-research-category.active,
.ldas-research-category:hover {
    border-left-color: #16a34a;
    background: #f0fdf4;
    color: #166534;
    font-weight: 500;
}

#ldas-cards-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ldas-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    background: #ffffff;
}

/* Header */
.card-header {
    margin-bottom: 20px;
}

.card-label {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.card-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-short-description {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

.card-benefits {
    margin-top: 24px;
}

.card-benefits h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.benefit-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.benefit-item img {
    width: 28px;
    height: 28px;
}

.benefit-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}

.card-accordion {
    margin-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.accordion-header .toggle {
    font-size: 18px;
    font-weight: 700;
    color: #16a34a;
}

.accordion-body {
    display: none;
    padding-bottom: 14px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .ldas-layout {
        grid-template-columns: 1fr;
    }

    .ldas-sidebar {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 16px;
    }

    #ldas-category-filter {
        flex-wrap: wrap;
    }
}
.card-title,
.sidebar-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toggle-icon,
.sidebar-title .icon {
    font-size: 20px;
    font-weight: bold;
}
.sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 0 1rem 2rem; /* Left padding creates space for node */
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    /* The Vertical Line Segment */
    border-left: 2px solid #e2e8f0; 
    margin-left: 10px; /* Indent from container edge */
}
.sidebar-link::before {
    content: '';
    position: absolute;
    left: -5px; /* Centers the 8px dot on the 2px border */
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #cbd5e1;
    transition: all 0.3s ease;
    z-index: 2;
}
.sidebar-link:hover, .sidebar-link.active-node {
    color: var(--zifo-navy);
    /* Soft gradient fill on the item */
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
    border-radius: 0 8px 8px 0;
    /* Line turns green */
    border-left-color: var(--zifo-green); 
    /* Text moves slightly right */
    padding-left: 2.2rem; 
}

/* Node Glow Effect */
.sidebar-link:hover::before, .sidebar-link.active-node::before {
    background: var(--zifo-green);
    border-color: var(--zifo-green);
    box-shadow: 0 0 0 4px rgba(120, 184, 66, 0.15); /* The Glow */
    transform: translateY(-50%) scale(1.2);
}