.marketing-card { max-width: 900px; margin: 0 auto; padding: 1.5rem; }
.marketing-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.5rem; }
.marketing-subtitle { color: #666; margin: 0; font-size: 0.9rem; }
.marketing-count { font-size: 0.85rem; color: #888; background: #f0f7f5; padding: 0.3rem 0.8rem; border-radius: 12px; }

.marketing-loading, .marketing-empty { text-align: center; padding: 3rem; color: #888; }
.marketing-success { background: #d4edda; color: #155724; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.marketing-error { background: #f8d7da; color: #721c24; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }

.marketing-list { display: flex; flex-direction: column; gap: 0.75rem; }
.marketing-item { background: white; border: 1px solid #e8e8e8; border-radius: 10px; overflow: hidden; transition: box-shadow 0.15s ease; }
.marketing-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.marketing-item.expanded { border-color: #97c1bc; }
.marketing-item-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; cursor: pointer; gap: 1rem; }
.marketing-item-left { flex: 1; min-width: 0; }
.marketing-item-title { margin: 0; font-size: 1rem; color: #372562; }
.marketing-item-meta { display: flex; gap: 0.75rem; align-items: center; margin-top: 0.3rem; flex-wrap: wrap; }
.marketing-item-author { font-size: 0.85rem; color: #333; font-weight: 600; }
.marketing-item-role { font-size: 0.75rem; color: #7c3aed; background: #f3eaff; padding: 0.1rem 0.5rem; border-radius: 8px; }
.marketing-item-school { font-size: 0.8rem; color: #666; }
.marketing-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.marketing-item-date { font-size: 0.8rem; color: #999; }
.marketing-item-attach-badge { font-size: 0.8rem; color: #555; }

.marketing-item-body { padding: 0 1.2rem 1.2rem; border-top: 1px solid #f0f0f0; }
.marketing-loading-detail { padding: 1rem 0; color: #888; font-size: 0.85rem; }
.marketing-detail-text { color: #333; line-height: 1.6; margin: 1rem 0; font-size: 0.9rem; }
.marketing-detail-attachments { margin: 1rem 0; }
.marketing-att-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.marketing-att-image img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 1px solid #e8e8e8; }
.marketing-att-info { display: flex; justify-content: space-between; align-items: center; margin-top: 0.2rem; }
.marketing-att-info small { font-size: 0.7rem; color: #888; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.marketing-att-file { background: #f8f9fa; border: 1px solid #e8e8e8; border-radius: 6px; padding: 0.6rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.marketing-att-file span { font-size: 0.8rem; color: #333; word-break: break-all; flex: 1; }
.marketing-att-file-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.marketing-download-btn { background: #ec5f59; color: white !important; text-decoration: none !important; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 4px; white-space: nowrap; }
.marketing-download-btn:hover { background: #d4605a; }
.marketing-view-btn { color: #7c3aed !important; text-decoration: none !important; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 4px; background: #f3eaff; white-space: nowrap; }
.marketing-view-btn:hover { background: #e8d5ff; }
.marketing-detail-actions { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid #f0f0f0; }
.marketing-delete-btn { background: #f8d7da; color: #721c24; border: none; padding: 0.4rem 0.8rem; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-weight: 600; }
.marketing-delete-btn:hover { background: #f5c6cb; }
