/* Pakdis — general assembly. Builds on feedback.css (hero) and style.css (.card news cards). */
.ag [hidden] { display: none !important; }
.ag .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.ag-card__k { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--gold); }
.ag-card__t { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 900; line-height: 1.6; color: var(--purple); }

/* Stage */
.ag-stage { position: relative; padding: 28px 30px 24px; background: #fff; border-radius: 9px 9px 52px 9px; box-shadow: 0 0 0 1px rgb(68 47 114 / .08), 0 30px 50px -34px rgb(17 7 53 / .5); }
.ag-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.ag-bar__k { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--gold); }
.ag-bar__t { margin: 0; font-size: clamp(21px, 2.3vw, 31px); font-weight: 900; color: var(--purple); }
.ag-pill { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px; font-size: 15px; color: var(--purple-deep); background: rgb(187 167 96 / .28); border-radius: 40px; }
.ag-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
[data-state="live"] .ag-pill { color: #fff; background: #c0263f; }
[data-state="live"] .ag-pill i { background: #fff; animation: agPulse 1.2s infinite; }
[data-state="ended"] .ag-pill { color: var(--purple); background: rgb(68 47 114 / .1); }
[data-state="ended"] .ag-pill i { background: rgb(68 47 114 / .4); }
@keyframes agPulse { 50% { opacity: .25; scale: .7; } }

.ag-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px 9px 36px 9px; background: #120a2b; box-shadow: 0 0 0 1px rgb(187 167 96 / .5), 0 24px 40px -26px rgb(17 7 53 / .8); }
.ag-view { position: absolute; inset: 0; display: none; }
[data-state="upcoming"] .ag-view--up, [data-state="live"] .ag-view--live, [data-state="ended"] .ag-view--end { display: grid; }
.ag-view--up { isolation: isolate; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; color: #fff; background: linear-gradient(150deg, var(--purple-flood), var(--purple-deep)); }
.ag-view--up::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../assets/pattern-gallery.png) left -419px top -101px / 2477px auto repeat; opacity: .16; }
.ag-view__lead { margin: 0; font-size: clamp(16px, 1.8vw, 22px); font-weight: 300; color: rgb(255 255 255 / .9); }
.ag-count { display: flex; gap: clamp(8px, 1.6vw, 18px); direction: ltr; }
.ag-count div { display: grid; place-items: center; width: clamp(64px, 9vw, 112px); padding: 14px 4px 10px; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(187 167 96 / .55); border-radius: 9px 9px 22px 9px; }
.ag-count b { font-size: clamp(30px, 4.6vw, 62px); font-weight: 900; line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.ag-count small { font-size: clamp(12px, 1.2vw, 15px); color: rgb(255 255 255 / .8); }
.ag-view__when { margin: 0; font-size: clamp(14px, 1.4vw, 18px); color: #e6dcb2; }
.ag-view__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.ag-frame { position: absolute; inset: 0; display: grid; }
.ag-frame iframe { width: 100%; height: 100%; border: 0; }
.ag-mock { display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px; text-align: center; color: #fff; background: radial-gradient(circle at 50% 40%, #3d2a6e, #120a2b 70%); }
.ag-mock p { margin: 0; font-size: clamp(17px, 2vw, 26px); font-weight: 700; }
.ag-mock small { font-size: 14px; color: rgb(255 255 255 / .7); max-width: 46ch; }
.ag-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; font-size: 14px; font-weight: 700; background: #c0263f; border-radius: 30px; }
.ag-live i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: agPulse 1.2s infinite; }
.ag-play { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: var(--purple-deep); background: var(--gold); box-shadow: 0 0 0 10px rgb(187 167 96 / .25); cursor: pointer; transition: transform .3s var(--ease); }
.ag-play:hover { transform: scale(1.06); }
.ag-play svg { width: 34px; height: 34px; fill: currentColor; }

.ag-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; font: inherit; font-size: 15.5px; font-weight: 700; border-radius: 8px 8px 8px 20px; cursor: pointer; transition: transform .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.ag-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ag-btn--gold { color: var(--purple-deep); background: var(--gold); }
.ag-btn--gold:hover { transform: translateY(-2px); background: #fff; }
.ag-btn--ghost { color: #fff; border: 1.5px solid var(--gold); }
.ag-btn--ghost:hover { background: rgb(187 167 96 / .22); }
.ag-btn:focus-visible, .ag-play:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.ag-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; padding: 0; }
.ag-fact { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 9px 9px 22px 9px; background: rgb(68 47 114 / .05); }
.ag-fact__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold); background: var(--purple); }
.ag-fact__ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ag-fact__t { display: grid; min-width: 0; line-height: 1.6; }
.ag-fact__t small { font-size: 12.5px; color: var(--grey-600, #666); }
.ag-fact__t b { font-size: 14.5px; font-weight: 700; color: var(--purple); }
.ag-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 14px; font-size: 13px; color: var(--grey-600, #666); border: 1.5px dashed rgb(68 47 114 / .25); border-radius: 10px; }
.ag-preview button { padding: 6px 14px; font: inherit; font-size: 13px; color: var(--purple); border-radius: 20px; background: rgb(68 47 114 / .07); cursor: pointer; }
.ag-preview button.is-cur { color: var(--gold); background: var(--purple); }

/* Cards */
.ag-card { padding: 30px 32px; background: #fff; border-radius: 9px 9px 44px 9px; box-shadow: 0 0 0 1px rgb(68 47 114 / .08), 0 24px 40px -32px rgb(17 7 53 / .5); }
.ag-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; }
.ag-about__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: start; margin-top: 18px; }
.ag-fig { margin: 0; overflow: hidden; border-radius: 9px 9px 28px 9px; background: #120a2b; box-shadow: 0 0 0 1px rgb(187 167 96 / .5); }
.ag-fig img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ag-fig figcaption { padding: 8px 12px; font-size: 12.5px; color: rgb(255 255 255 / .75); }
.ag-rich p { margin: 0 0 12px; font-size: 16px; font-weight: 300; line-height: 2.05; color: var(--grey-600, #555); }
.ag-agenda { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(150deg, var(--purple-flood), var(--purple-deep)); display: flex; flex-direction: column; }
.ag-agenda::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../assets/pattern-gallery.png) left -419px top -101px / 2477px auto repeat; opacity: .16; }
.ag-agenda .ag-card__t { color: #fff; }
.ag-list { list-style: none; counter-reset: a; display: grid; gap: 12px; margin: 18px 0 22px; padding: 0; }
.ag-list li { display: flex; align-items: flex-start; gap: 12px; }
.ag-list span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; font-size: 14px; font-weight: 700; color: var(--purple-deep); background: var(--gold); border-radius: 50%; }
.ag-list p { margin: 3px 0 0; font-size: 15px; font-weight: 300; line-height: 1.85; color: rgb(255 255 255 / .92); }
.ag-agenda__dl { margin-top: auto; }

/* Last assembly */
.ag-last { padding: 30px 32px 28px; }
.ag-last__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 30px; align-items: center; }
.ag-last__fig { position: relative; }
.ag-last__fig img { aspect-ratio: 4 / 3; }
.ag-last__badge { position: absolute; top: 14px; right: 14px; padding: 6px 16px; font-size: 13.5px; font-weight: 700; color: var(--purple-deep); background: var(--gold); border-radius: 30px; }
.ag-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.ag-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; font-size: 13.5px; color: var(--purple); border-radius: 30px; background: rgb(68 47 114 / .07); }
.ag-chips svg { width: 17px; height: 17px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ag-report__p { margin: 14px 0 0; font-size: 16px; font-weight: 300; line-height: 2; color: var(--grey-600, #555); }
.ag-ticks { list-style: none; display: grid; gap: 8px; margin: 14px 0 0; padding: 0; }
.ag-ticks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--purple); }
.ag-ticks svg { flex: none; width: 22px; height: 22px; padding: 4px; fill: none; stroke: var(--purple-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; background: var(--gold); border-radius: 50%; box-sizing: border-box; }
.ag-last__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ag-btn--purple { color: var(--gold); background: var(--purple); }
.ag-btn--purple:hover { transform: translateY(-2px); background: var(--gold); color: var(--purple-deep); }
.ag-btn--outline { color: var(--purple); border: 1.5px solid var(--gold); }
.ag-btn--outline:hover { background: rgb(187 167 96 / .18); }
.ag-last__strip { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0 0; padding: 0; }
.ag-last__strip img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px 9px 26px 9px; box-shadow: 0 0 0 1px rgb(187 167 96 / .5); }
.ag-agenda__note { margin: -4px 0 16px; font-size: 13.5px; line-height: 1.9; color: rgb(255 255 255 / .75); }

/* News slider */
.ag-sec { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ag-sec__t { margin: 0; font-size: clamp(21px, 2.2vw, 29px); font-weight: 900; color: var(--purple); }
.ag-arrows { display: flex; gap: 10px; }
.ag-arrows button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--purple); border: 1.5px solid var(--gold); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.ag-arrows button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ag-arrows__n svg { transform: scaleX(-1); }
.ag-arrows button:hover { background: var(--purple); color: var(--gold); }
.ag-news__track { list-style: none; display: flex; gap: 22px; margin: 0; padding: 6px 2px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ag-news__track > .card { flex: 0 0 calc((100% - 66px) / 4); scroll-snap-align: start; direction: rtl; min-width: 230px; }

/* Past assemblies */
.ag-past__list { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.ag-past__item { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 9px 9px 22px 9px; background: rgb(68 47 114 / .05); transition: background-color .25s var(--ease); }
.ag-past__item:hover { background: rgb(187 167 96 / .16); }
.ag-past__img { flex: none; width: 96px; height: 62px; overflow: hidden; border-radius: 8px 8px 8px 18px; box-shadow: 0 0 0 1.5px rgb(187 167 96 / .6); }
.ag-past__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ag-past__txt { flex: 1; display: grid; min-width: 0; line-height: 1.7; }
.ag-past__txt b { font-size: 16px; color: var(--purple); }
.ag-past__txt small { font-size: 13px; color: var(--grey-600, #666); }
.ag-past__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; font-size: 14.5px; font-weight: 700; color: var(--purple); border: 1.5px solid var(--gold); border-radius: 8px 8px 8px 16px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.ag-past__btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
.ag-past__btn:hover { background: var(--purple); color: var(--gold); }

@media (max-width: 1100px) {
  .ag-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-cols { grid-template-columns: 1fr; }
  .ag-news__track > .card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 760px) {
  .ag-about__body, .ag-last__main { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ag-stage { padding: 18px 14px 18px; border-bottom-left-radius: 36px; }
  .ag-bar { align-items: flex-start; flex-direction: column-reverse; gap: 12px; }
  .ag-player { aspect-ratio: auto; min-height: 420px; }
  .ag-view--up { padding: 18px 12px; gap: 14px; }
  .ag-facts { grid-template-columns: 1fr; }
  .ag-card { padding: 22px 18px; }
  .ag-news__track > .card { flex-basis: 82%; }
  .ag-arrows { display: none; }
  .ag-past__item { flex-wrap: wrap; }
  .ag-past__btn { flex-basis: 100%; justify-content: center; }
  .ag-last { padding: 22px 16px; }
  .ag-last__strip { grid-template-columns: 1fr; }
  .ag-past__img { width: 76px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .ag-pill i, .ag-live i { animation: none; } }
