.ws-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem;
}

.ws-back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #666;
    text-decoration: none;
    font-size: 1rem;
}

.ws-container h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ws-intro {
    font-size: 1.125rem;
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* Filter bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.filter-btn {
    background: transparent;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    /* <button> defaults to system UI sans-serif; match page serif */
    font-family: Georgia, 'Times New Roman', Times, serif;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

.filter-btn.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* Bo1, Yl1 lemon, Ro1 — outline idle; solid fill when active */
.filter-btn--comp {
    background: #fff;
    border: 2px solid #29b6f6;
    color: #0288d1;
}

.filter-btn--comp:hover:not(.active) {
    background: rgba(41, 182, 246, 0.12);
}

.filter-btn--comp.active {
    background: #0288d1;
    border-color: #0288d1;
    color: #fff;
}

.filter-btn--ai {
    background: #fff;
    border: 2px solid #ffee58;
    color: #6d4c00;
}

.filter-btn--ai:hover:not(.active) {
    background: rgba(255, 238, 88, 0.35);
}

.filter-btn--ai.active {
    background: #fff9c4;
    border-color: #ffeb3b;
    color: #6d4c00;
}

.filter-btn--critical {
    background: #fff;
    border: 2px solid #f5426c;
    color: #f5426c;
}

.filter-btn--critical:hover:not(.active) {
    background: rgba(245, 66, 108, 0.1);
}

.filter-btn--critical.active {
    background: #f5426c;
    border-color: #f5426c;
    color: #fff;
}

.filter-btn-all {
    padding: 5px 16px;
    font-size: 0.8rem;
    margin-right: 1rem;
}

/* Workshop grid */
.workshops-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 600px) {
    .workshops-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .workshops-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Workshop cards */
.workshop-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.card-content {
    padding: 0.85rem 1rem;
}

.card-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 0.3rem 0;
    line-height: 1.25;
}

.card-date {
    font-size: 0.85rem;
    color: #666;
    display: block;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.stream-badge {
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    font-family: Georgia, 'Times New Roman', Times, serif;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.stream-badge--comp {
    background: #fff;
    border: 1px solid #29b6f6;
    color: #0288d1;
}

.stream-badge--ai {
    background: #fff;
    border: 1px solid #ffee58;
    color: #6d4c00;
}

.stream-badge--critical {
    background: #fff;
    border: 1px solid #f5426c;
    color: #f5426c;
}

.filter-btn--podcast {
    background: #fff;
    border: 2px solid #ab47bc;
    color: #6a1b9a;
}

.filter-btn--podcast:hover:not(.active) {
    background: rgba(171, 71, 188, 0.12);
}

.filter-btn--podcast.active {
    background: #7b1fa2;
    border-color: #7b1fa2;
    color: #fff;
}

.stream-badge--podcast {
    background: #fff;
    border: 1px solid #ab47bc;
    color: #6a1b9a;
}

/* Literature & art workshops — green / orange tags */
.filter-btn--literature {
    background: #fff;
    border: 2px solid #66bb6a;
    color: #2e7d32;
}

.filter-btn--literature:hover:not(.active) {
    background: rgba(102, 187, 106, 0.12);
}

.filter-btn--literature.active {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

.filter-btn--art {
    background: #fff;
    border: 2px solid #ffb74d;
    color: #e65100;
}

.filter-btn--art:hover:not(.active) {
    background: rgba(255, 183, 77, 0.2);
}

.filter-btn--art.active {
    background: #e65100;
    border-color: #e65100;
    color: #fff;
}

.stream-badge--literature {
    background: #fff;
    border: 1px solid #66bb6a;
    color: #2e7d32;
}

.stream-badge--art {
    background: #fff;
    border: 1px solid #ffb74d;
    color: #e65100;
}

/* Card expandable — override global details/summary styles */
.card-details {
    margin: 0;
    width: 100%;
}

.card-details summary {
    cursor: pointer;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.1;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    font-weight: normal;
    list-style: none;
}

.card-details summary::-webkit-details-marker {
    display: none;
}

.card-details summary::marker {
    display: none;
    content: '';
}

.card-details summary::before {
    content: '▸ ' !important;
}

.card-details summary::after {
    content: '' !important;
}

.card-details[open] summary::before {
    content: '▾ ' !important;
}

.card-details p {
    margin: 0.35rem 0;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 1.05rem;
    line-height: 1.12;
}

.card-details img {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0;
}

.card-details a:has(> img) {
    display: block;
    cursor: zoom-in;
}

.card-details a:has(> img):hover img {
    opacity: 0.92;
}

.card-details a.card-video-link:has(> img) {
    cursor: pointer;
}

/* Brief description on cards without expandable details */
.card-description {
    margin: 0;
    font-size: 1rem;
    line-height: 1.12;
    color: #444;
}
