/* ==========================================================================
   IMS Noida — Cultural Activities page (brand guide colours and fonts)
   ========================================================================== */

main [class^="cul-"] h2, main [class^="cul-"] p, main [class^="cul-"] ul, main [class^="cul-"] figure { margin: 0; }
main [class^="cul-"] ul { padding: 0; list-style: none; }

.cul-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px !important; color: var(--brand-olive); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cul-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.cul-kicker--light { color: var(--brand-beige); }
.cul-title { margin-bottom: 20px !important; color: var(--brand-forest) !important; font-family: var(--ims-serif) !important; font-size: clamp(34px, 3.8vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -.015em; }
.cul-head { max-width: 820px; margin: 0 auto clamp(36px, 4vw, 52px); text-align: center; }
.cul-head .cul-kicker { justify-content: center; }
.cul-head p:not(.cul-kicker) { color: var(--ims-muted); font-size: 18px; line-height: 1.6; }
.cul-head--light .cul-title { color: #fff !important; }
.cul-head--light p:not(.cul-kicker) { color: rgba(255, 255, 255, .82); }

/* ---------- 1. Intro ---------- */
.cul-intro { padding: clamp(72px, 9vw, 120px) 0; background: #fff; }
.cul-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.cul-intro__copy > p:not(.cul-kicker) { color: var(--ims-ink); font-size: 17.5px; line-height: 1.75; }
.cul-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px !important; }
.cul-acts li { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--ims-line); border-radius: 16px; background: #fff; transition: border-color .2s, transform .2s var(--ims-ease), box-shadow .2s; }
.cul-acts li:hover { transform: translateY(-3px); border-color: var(--brand-olive); box-shadow: 0 18px 34px -24px rgba(27, 60, 28, .5); }
.cul-acts i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-gradient); color: #fff; font-size: 19px; }
.cul-acts strong { display: block; margin-bottom: 4px; color: var(--brand-forest); font-family: var(--ims-serif); font-size: 19px; line-height: 1.2; }
.cul-acts span { display: block; color: var(--ims-muted); font-size: 14.5px; line-height: 1.5; }

.cul-intro__media { position: relative; padding: 0 0 28px 28px; }
.cul-intro__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: 24px; background: var(--brand-ivory); }
.cul-intro__media img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.6; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -34px rgba(27, 60, 28, .6); }
.cul-intro__media figcaption { position: absolute; left: 0; bottom: 0; max-width: 260px; padding: 18px 22px; border-radius: 16px; background: var(--brand-forest); color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 1.45; box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .5); }
.cul-intro__media figcaption span { display: block; color: var(--brand-beige); font-family: var(--ims-serif); font-size: 24px; font-weight: 700; }

/* ---------- 2. Gallery mosaic ---------- */
.cul-gallery { padding: clamp(72px, 9vw, 120px) 0; background: var(--brand-ivory); }
.cul-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 13vw, 220px); gap: 14px; }
.cul-grid__item { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--brand-beige); }
/* every 10 photos fill an exact 4 x 4 block */
.cul-grid__item:nth-child(10n+1) { grid-column: span 2; grid-row: span 2; }
.cul-grid__item:nth-child(10n+3) { grid-row: span 2; }
.cul-grid__item:nth-child(10n+6), .cul-grid__item:nth-child(10n) { grid-column: span 2; }
.cul-grid__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ims-ease); }
.cul-grid__item::after { content: "\f00e"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(27, 60, 28, .45); color: #fff; font-family: "Font Awesome 6 Free"; font-size: 26px; font-weight: 900; opacity: 0; transition: opacity .3s; }
.cul-grid__item:hover img, .cul-grid__item:focus-visible img { transform: scale(1.05); }
.cul-grid__item:hover::after, .cul-grid__item:focus-visible::after { opacity: 1; }
.cul-grid__item:focus-visible { outline: 3px solid var(--brand-olive); outline-offset: 3px; }

/* ---------- 3. Videos ---------- */
.cul-videos { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; background: var(--brand-forest); }
.cul-videos::before { content: ""; position: absolute; left: -15%; top: -40%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(88, 123, 29, .5), rgba(88, 123, 29, 0)); pointer-events: none; }
.cul-videos .container { position: relative; }
.cul-vids { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 16px; }
.cul-vid { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .7); }
.cul-vid--main { grid-row: span 3; aspect-ratio: auto; min-height: 100%; border-radius: 20px; }
.cul-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cul-videos__cta { margin-top: clamp(32px, 4vw, 48px); text-align: center; }

/* animated button (same as other pages) */
.h-cta { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; overflow: hidden; border-radius: 999px; background: var(--brand-forest); color: #fff !important; font-size: 16px; font-weight: 600; text-decoration: none !important; box-shadow: 0 10px 24px -12px rgba(27, 60, 28, .7); transition: transform .2s var(--ims-ease); }
.h-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-gradient); transform: translateX(-101%); transition: transform .45s var(--ims-ease); }
.h-cta__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brand-forest); font-size: 15px; transition: transform .35s var(--ims-ease); }
.h-cta:hover { transform: translateY(-2px); }
.h-cta:hover::before { transform: translateX(0); }
.h-cta:hover .h-cta__icon { transform: translateX(4px); }
.cul-videos .h-cta { background: var(--brand-beige); color: var(--brand-forest) !important; }
.cul-videos .h-cta::before { background: #fff; }
.cul-videos .h-cta__icon { background: var(--brand-forest); color: #fff; }

/* ---------- Photo viewer ---------- */
.cul-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; background: rgba(15, 30, 16, .94); }
.cul-lb[hidden] { display: none; }
.cul-lb__fig { margin: 0; text-align: center; }
.cul-lb__fig img { display: block; max-width: min(1100px, calc(100vw - 180px)); max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 12px; }
.cul-lb__count { margin-top: 12px; color: rgba(255, 255, 255, .75); font-size: 14px; letter-spacing: .08em; }
button.cul-lb__btn { flex: none; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 18px; transition: background-color .2s, color .2s; }
button.cul-lb__btn:hover { background: var(--brand-beige); color: var(--brand-forest); }
button.cul-lb__close { position: absolute; top: 20px; right: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .cul-intro__grid { grid-template-columns: 1fr; }
  .cul-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .cul-grid__item:nth-child(10n+3) { grid-row: span 1; }
  .cul-grid__item:nth-child(10n) { grid-column: span 1; }
  .cul-vids { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cul-vid--main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 575.98px) {
  .cul-acts { grid-template-columns: 1fr; }
  .cul-intro__media { padding: 0 0 20px 16px; }
  .cul-intro__media figcaption { max-width: 220px; padding: 14px 16px; }
  .cul-grid { grid-auto-rows: 130px; gap: 10px; }
  .cul-grid__item:nth-child(10n+1) { grid-row: span 1; }
  .cul-vids { grid-template-columns: 1fr; }
  .cul-lb { padding: 12px; gap: 0; }
  .cul-lb__fig img { max-width: calc(100vw - 24px); }
  button.cul-lb__prev, button.cul-lb__next { position: absolute; bottom: 24px; }
  button.cul-lb__prev { left: calc(50% - 64px); }
  button.cul-lb__next { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) {
  main [class^="cul-"] *, .h-cta, .h-cta * { transition: none !important; }
}
