/* Category landing pages: /events, /food-beverage, /anime, /card-games */
.cat-hero { position: relative; isolation: isolate; overflow: hidden; background: #070A12; color: #F4F7FB; padding-block: clamp(56px, 9vw, 130px); }
.cat-hero__bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 50%; }
.cat-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7, 10, 18, .9) 0, rgba(7, 10, 18, .7) 42%, transparent 72%); }
:root[dir="rtl"] .cat-hero__bg { transform: scaleX(-1); }
:root[dir="rtl"] .cat-hero::after { background: linear-gradient(270deg, rgba(7, 10, 18, .9) 0, rgba(7, 10, 18, .7) 42%, transparent 72%); }
.cat-hero h1 { color: #F4F7FB; font-size: clamp(40px, 6vw, 88px); max-width: 14ch; margin-bottom: 18px; }
:root[dir="rtl"] .cat-hero h1 { line-height: 1.3; letter-spacing: 0; }
.cat-lead { margin: 0; max-width: 34rem; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #E6ECF5; }
.cat-hero .btn-primary, .cat-hero .btn-primary:hover { background: #F2C46B; border-color: #F2C46B; color: #0B1322; }
.cat-hero .btn:not(.btn-primary) { color: #F4F7FB; border-color: rgba(244, 247, 251, .65); }
.cat-hero .btn:not(.btn-primary):hover { background: #F4F7FB; color: #0B1322; }
.cat-hero :focus-visible { outline-color: #F2C46B; }
.cat-list { padding-block: clamp(48px, 6vw, 88px); }
.cat-list h2 { margin-bottom: 24px; }
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cat-grid a { display: block; height: 100%; color: inherit; text-decoration: none; }
.cat-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--photo); transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.cat-grid a:hover img { transform: translateY(-4px); }
.cat-grid h3 { margin: 14px 0 6px; font-size: 20px; }
.cat-grid a:hover h3 { color: var(--maroon); }
.cat-grid p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.cat-note { margin: 22px 0 0; font-size: 13.5px; color: var(--ink-3); max-width: 56rem; }
.cat-end { padding-block: clamp(48px, 6vw, 88px); background: var(--surface); border-top: 1px solid var(--line); }
.cat-end p { color: var(--ink-2); max-width: 40rem; }
@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-hero::after { background: linear-gradient(180deg, rgba(7, 10, 18, .88) 0, rgba(7, 10, 18, .7) 60%, rgba(7, 10, 18, .35) 100%); }
}
@media (prefers-reduced-motion: reduce) { .cat-grid img { transition: none; } }

/* six tiles: three across */
.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
