/* Strona „Ogłoszenia” (MCQP_Notices::page, 0.49.1): oś czasu z latami, data w kalendarzyku, plakietka „Nowe”, kopiowanie linku. */
.mcqp-notices-page { max-width: 880px; margin: 6px auto 40px; font-size: .9375rem; }

.nb-hero { position: relative; display: flex; align-items: center; gap: 22px; padding: 26px 28px; border: 1px solid var(--mq-line); border-radius: 22px; background: radial-gradient(120% 160% at 0% 0%, var(--mq-primary-bg) 0%, var(--mq-card) 60%); overflow: hidden; }
.nb-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 165, 0, .16), transparent 70%); pointer-events: none; }
.nb-hero-ico { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: var(--mq-primary); color: var(--mq-on-primary); box-shadow: 0 14px 34px -12px rgba(240, 165, 0, .6); }
.nb-hero-ico svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.nb-horn { transform-box: view-box; transform-origin: 18px 24px; animation: nb-shout 2.4s ease-in-out infinite; }
.nb-wave { animation: nb-wave 2.4s ease-out infinite; }
.nb-wave--2 { animation-delay: .25s; }
@keyframes nb-shout { 0%, 55%, 100% { transform: rotate(0); } 10% { transform: rotate(-6deg); } 20% { transform: rotate(3deg); } 30% { transform: rotate(-2deg); } }
@keyframes nb-wave { 0%, 100% { opacity: .15; } 15%, 45% { opacity: 1; } }
.nb-hero-text { min-width: 0; flex: 1; }
.nb-lead { margin: 0 0 12px; color: var(--mq-soft); font-size: 1.05rem; }
.nb-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nb-stats li { padding: 6px 12px; border-radius: 999px; background: var(--mq-card); border: 1px solid var(--mq-line); color: var(--mq-soft); font-size: .8125rem; }
.nb-stats strong { color: var(--mq-strong); }
.nb-stats li.is-fresh { border-color: var(--mq-primary); background: var(--mq-primary-bg); }
.nb-add { position: relative; z-index: 1; flex: none; }

.nb-years { position: sticky; top: 72px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 8px; border: 1px solid var(--mq-line); border-radius: 14px; background: var(--mq-card); }
.nb-years a { padding: 6px 12px; border-radius: 10px; color: var(--mq-text); font-weight: 600; text-decoration: none; }
.nb-years a:hover { background: var(--mq-hover); color: var(--mq-strong); }
.nb-years span { margin-left: 4px; color: var(--mq-muted); font-weight: 500; font-size: .75rem; }

.nb-timeline { position: relative; margin-top: 10px; padding-top: 14px; }
.nb-year { position: relative; margin: 28px 0 14px; padding-left: 96px; color: var(--mq-strong); font-size: 1.25rem; scroll-margin-top: 140px; }
.nb-year span { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--mq-card2); }
.nb-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.nb-list::before { content: ""; position: absolute; left: 35px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--mq-primary), var(--mq-line) 40%); border-radius: 2px; }
.nb-item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; align-items: start; scroll-margin-top: 140px; animation: nb-in .45s ease-out both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes nb-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.nb-date { position: relative; z-index: 1; display: grid; justify-items: center; width: 72px; padding: 10px 0 9px; border: 1px solid var(--mq-line); border-radius: 16px; background: var(--mq-card); line-height: 1; box-shadow: 0 0 0 6px var(--mq-bg); }
.nb-date::before { content: ""; position: absolute; left: 14px; right: 14px; top: -5px; height: 8px; border-left: 3px solid var(--mq-muted); border-right: 3px solid var(--mq-muted); }
.nb-day { color: var(--mq-strong); font-size: 1.6rem; font-weight: 800; }
.nb-month { margin-top: 5px; color: var(--mq-ptext); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.nb-item.is-latest .nb-date { border-color: var(--mq-primary); background: var(--mq-primary-bg); }
.nb-card { position: relative; padding: 18px 20px 14px; border: 1px solid var(--mq-line); border-radius: 18px; background: var(--mq-card); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.nb-card::before { content: ""; position: absolute; left: -9px; top: 26px; width: 16px; height: 16px; background: inherit; border-left: 1px solid var(--mq-line); border-bottom: 1px solid var(--mq-line); transform: rotate(45deg); }
.nb-card:hover { border-color: var(--mq-soft); transform: translateY(-2px); box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .6); }
.nb-item.is-latest .nb-card { border-color: var(--mq-primary); box-shadow: 0 0 0 1px var(--mq-primary), 0 18px 40px -24px rgba(240, 165, 0, .55); }
.nb-item.is-latest .nb-card::before { border-color: var(--mq-primary); }
.nb-item.is-target .nb-card { animation: nb-flash 1.6s ease-out 2; }
@keyframes nb-flash { 0% { box-shadow: 0 0 0 0 rgba(240, 165, 0, .7); } 100% { box-shadow: 0 0 0 14px rgba(240, 165, 0, 0); } }
.nb-card-head { display: flex; align-items: flex-start; gap: 10px; }
.nb-card-head h3 { flex: 1; margin: 0; color: var(--mq-strong); font-size: 1.15rem; line-height: 1.3; overflow-wrap: anywhere; }
.nb-badge { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--mq-primary); color: var(--mq-on-primary); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; animation: nb-pulse 2s ease-in-out infinite; }
@keyframes nb-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(240, 165, 0, .5); } 50% { box-shadow: 0 0 0 6px rgba(240, 165, 0, 0); } }
.nb-body { margin-top: 8px; color: var(--mq-text); line-height: 1.65; overflow-wrap: anywhere; }
.nb-body > :first-child { margin-top: 0; }
.nb-body > :last-child { margin-bottom: 0; }
.nb-body a { color: var(--mq-ptext); }
.nb-body img { max-width: 100%; height: auto; border-radius: 12px; }
.nb-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--mq-line); }
.nb-ago { color: var(--mq-muted); font-size: .8125rem; }
.nb-copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--mq-soft); font: inherit; font-size: .8125rem; cursor: pointer; }
.nb-copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nb-copy:hover, .nb-copy:focus-visible { border-color: var(--mq-line); color: var(--mq-strong); }
.nb-copy.is-done { color: var(--mq-ok); }

.nb-empty { margin-top: 22px; padding: 36px 20px; border: 1px dashed var(--mq-line); border-radius: 18px; text-align: center; color: var(--mq-soft); }
.nb-empty svg { width: 72px; height: 72px; fill: none; stroke: var(--mq-muted); stroke-width: 2.2; stroke-linecap: round; }
.nb-empty-dot { fill: var(--mq-primary); stroke: none; animation: nb-wave 1.8s ease-in-out infinite; }
.nb-empty p { max-width: 460px; margin: 12px auto 0; }

.notices-all { margin: 16px 0 0; text-align: center; }

@media (max-width: 640px) {
	.nb-hero { flex-direction: column; align-items: flex-start; padding: 20px; gap: 14px; }
	.nb-hero-ico { width: 64px; height: 64px; border-radius: 18px; }
	.nb-hero-ico svg { width: 40px; height: 40px; }
	.nb-add { width: 100%; text-align: center; }
	.nb-years { top: 60px; }
	.nb-year { padding-left: 0; }
	.nb-list::before { left: 27px; }
	.nb-item { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
	.nb-date { width: 56px; padding: 8px 0 7px; }
	.nb-day { font-size: 1.3rem; }
	.nb-card { padding: 14px 15px 12px; }
	.nb-card::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.nb-horn, .nb-wave, .nb-item, .nb-badge, .nb-empty-dot, .nb-item.is-target .nb-card { animation: none; }
	.nb-card { transition: none; }
}
