.subject-title {
    font-weight: bold !important;
}

/*@media screen and (max-width: 768px) {*/
.description-wrap {
    position: relative;
}

.description-content {
    color: white !important;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
}

.description-wrap:not(.expanded) .description-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5em;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.2)
    );
    pointer-events: none;
}

.description-wrap.expanded .description-content {
    display: block;
    overflow: visible;
}

.toggle-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
    font-size: 0.9em;
}

.chip {
    display: inline-block;
    padding: 6px 10px;
    margin: 4px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    cursor: default;
    user-select: none;
}

.filters {
    display: flex;
    gap: 14px;
}

.filter-btn-wrapper {
    display: flex;
    justify-content: center; /* horizontal center */
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);

    color: #f3f4f6;
    font: 600 15px system-ui, sans-serif;

    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.25),
      inset 0 0 0 1px rgba(255,255,255,0.05);

    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.3),
      0 0 12px rgba(96, 165, 250, 0.25);
    transform: translateY(-1px);
}

.filter-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.filter-btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;
    border-radius: 50%;

    background: linear-gradient(135deg, #38bdf8, #a78bfa);
    color: #0b1020;

    font-size: 14px;
    font-weight: 700;
}

#active_filters {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
}

#active_filters.open {
    max-height: 200px; /* adjust as needed */
    padding: 15px;
}
