* { box-sizing: border-box; font-family: system-ui, sans-serif; }
body { margin: 0; background: #f5f7fb; }
.topbar { background: #fff; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.filters { padding: 10px 20px; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 20px; margin: 4px; border: 1px solid #ccc; cursor: pointer; user-select: none; transition: all 0.2s ease; }
.chip.active { background: #2563eb; color: #fff; border-color: #2563eb; }
#contentGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding: 16px; }
.card { background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 12px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.modal.hidden { display: none; }
.modal-content { background: #fff; padding: 20px; width: 90%; max-width: 800px; border-radius: 12px; max-height: 90vh; overflow-y: auto; }
.modal-content.large { max-width: 1000px; }
.close { float: right; font-size: 20px; cursor: pointer; }
iframe { width: 100%; height: 500px; border: none; }
video, audio { width: 100%; margin-bottom: 16px; }
