/* Announcements cards (mu-plugin kemble-announcements) */
.an-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; font-family: var(--font-ui); }
.an-nav a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent-strong); background: var(--card); text-decoration: none; background-image: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.an-nav a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.an-nav a b { font-weight: 700; color: var(--ink-soft); margin-left: 3px; } .an-nav a:hover b { color: #fff; }
.entry-content h2.an-h { margin: 28px 0 10px; font-size: 20px; }
.an-h small { font-family: var(--font-ui); font-size: 12px; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-left: 6px; }
.an-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; font-family: var(--font-ui); }
.an-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm);
	opacity: 0; transform: translateY(14px); animation: an-in 0.5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 50ms); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
@keyframes an-in { to { opacity: 1; transform: none; } }
.an-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.an-band { display: flex; align-items: center; justify-content: flex-end; height: 44px; padding: 0 14px; background: linear-gradient(120deg, var(--an-a, #2d4a63), var(--an-b, #4b6f8f)); position: relative; }
.an-band::before { content: ""; position: absolute; left: 14px; top: 10px; bottom: 10px; width: 5px; border-radius: 3px; background: rgba(255,255,255,0.35); }
.an-band::after { content: ""; position: absolute; left: 24px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: rgba(255,255,255,0.18); }
.an-badge { font-size: 12px; font-weight: 700; letter-spacing: 0.4px; color: #fff; background: rgba(0,0,0,0.25); padding: 3px 10px; border-radius: 999px; }
.an-badge-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; background: var(--gold); }
.an-series { --an-a: #1f3f5c; --an-b: #3f6b8e; } .an-soon { --an-a: #5a3e1b; --an-b: #a2792f; } .an-reprint { --an-a: #3b3b3b; --an-b: #6d6d6d; } .an-general { --an-a: #2f4d3a; --an-b: #5b8a6a; } .an-events { --an-a: #5c2a3c; --an-b: #94506d; }
.an-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.an-body h3 { margin: 0 !important; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--accent-strong); }
.an-by { margin: 0 !important; font-size: 13px; font-weight: 600; color: var(--ink); max-width: none !important; }
.an-imprint, .an-note { margin: 0 !important; font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; max-width: none !important; }
.an-btns { margin: auto 0 0 !important; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-width: none !important; }
.entry-content .an-btn { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--accent); color: #fff !important; font-size: 12px; font-weight: 700; text-decoration: none; background-image: none; line-height: 1.5; }
.entry-content .an-btn:hover { background: var(--accent-strong); color: #fff !important; }
.entry-content .an-btn-soft { background: var(--accent-soft); color: var(--accent-strong) !important; } .entry-content .an-btn-soft:hover { background: var(--accent); color: #fff !important; }
.entry-content .an-btns a.cite-link { margin-left: 0; line-height: 24px; }
.an-empty { font-family: var(--font-ui); font-size: 14px; color: var(--ink-soft); padding: 16px 18px; border: 1px dashed var(--line); border-radius: 14px; background: #fbfaf6; max-width: none !important; }
@media (prefers-reduced-motion: reduce) { .an-card { animation: none; opacity: 1; transform: none; } }
