/* ========================================================================== */
/* SYMBIONT MUSIC GENRES MAP — Genres Archive v3.1                            */
/* Archive grid + Music Map filters                                           */
/* ========================================================================== */

.sym-genres-archive,
.sym-genres-archive-v1 {
  width: min(1180px, calc(100vw - 40px));
  margin: 42px auto 92px;
}

.sym-genres-archive .sym-cpt-archive__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(12, 19, 30, .10);
  border-radius: 12px;
  background: linear-gradient(112deg, rgba(255,255,255,.86), rgba(222,255,244,.46));
  box-shadow: none;
  margin-bottom: 18px;
}

.sym-genres-archive .sym-cpt-archive__eyebrow {
  margin: 0 0 8px;
  color: #0b1116;
  font-family: var(--sym-font-body, "Ruda", system-ui, sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sym-genres-archive h1 {
  margin: 0;
  color: #0b1116;
  font-family: var(--sym-font-heading, "Tektur", system-ui, sans-serif);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: normal;
}

.sym-genres-archive .sym-cpt-archive__hero p {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(12,19,30,.68);
  font-size: 14px;
  line-height: 1.45;
}

.sym-genres-archive .sym-cpt-archive__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sym-genres-archive .sym-cpt-archive__actions a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(12, 19, 30, .10);
  color: #0b1116;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 800;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.sym-genres-archive .sym-cpt-archive__actions a:hover {
  background: #0b1116;
  border-color: #0b1116;
  color: #fff;
}

.sym-genres-archive-v1__filters {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid rgba(12,19,30,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.58);
}

.sym-genres-archive-v1__filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sym-genres-archive-v1__filter-row > span {
  flex: 0 0 104px;
  color: rgba(12,19,30,.52);
  font-family: var(--sym-font-heading, "Tektur", system-ui, sans-serif);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: normal;
  text-transform: uppercase;
}

.sym-genres-archive-v1__filter-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(12,19,30,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #0b1116;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.sym-genres-archive-v1__filter-row a em {
  font-style: normal;
  color: rgba(12,19,30,.42);
  font-size: 10px;
  font-weight: 800;
}

.sym-genres-archive-v1__filter-row a:hover,
.sym-genres-archive-v1__filter-row a:focus-visible,
.sym-genres-archive-v1__filter-row a.is-active {
  background: #0b1116;
  border-color: #0b1116;
  color: #fff;
  transform: translateY(-1px);
}
.sym-genres-archive-v1__filter-row a:hover em,
.sym-genres-archive-v1__filter-row a:focus-visible em,
.sym-genres-archive-v1__filter-row a.is-active em {
  color: rgba(255,255,255,.68);
}

.sym-genres-archive-v1__count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  color: rgba(12,19,30,.60);
  font-size: 13px;
  font-weight: 700;
}
.sym-genres-archive-v1__count b {
  color: #0b1116;
  font-family: var(--sym-font-heading, "Tektur", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: normal;
  white-space: nowrap;
}

.sym-genres-grid,
.sym-genres-archive-v1__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sym-genres-archive .sym-cpt-archive__empty {
  padding: 28px;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(12, 19, 30, .10);
}

html[data-theme="dark"] .sym-genres-archive .sym-cpt-archive__hero,
body.dark .sym-genres-archive .sym-cpt-archive__hero,
body.theme-dark .sym-genres-archive .sym-cpt-archive__hero,
body.digital_newspaper_dark_mode .sym-genres-archive .sym-cpt-archive__hero {
  border-color: rgba(244,247,251,.12);
  background: linear-gradient(112deg, rgba(13,18,24,.95), rgba(20,35,32,.62));
}
html[data-theme="dark"] .sym-genres-archive h1,
html[data-theme="dark"] .sym-genres-archive .sym-cpt-archive__eyebrow,
body.dark .sym-genres-archive h1,
body.dark .sym-genres-archive .sym-cpt-archive__eyebrow,
body.theme-dark .sym-genres-archive h1,
body.theme-dark .sym-genres-archive .sym-cpt-archive__eyebrow,
body.digital_newspaper_dark_mode .sym-genres-archive h1,
body.digital_newspaper_dark_mode .sym-genres-archive .sym-cpt-archive__eyebrow {
  color: #f4f7fb;
}
html[data-theme="dark"] .sym-genres-archive .sym-cpt-archive__hero p,
body.dark .sym-genres-archive .sym-cpt-archive__hero p,
body.theme-dark .sym-genres-archive .sym-cpt-archive__hero p,
body.digital_newspaper_dark_mode .sym-genres-archive .sym-cpt-archive__hero p,
html[data-theme="dark"] .sym-genres-archive-v1__count,
body.dark .sym-genres-archive-v1__count,
body.theme-dark .sym-genres-archive-v1__count,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__count {
  color: rgba(244,247,251,.68);
}
html[data-theme="dark"] .sym-genres-archive-v1__count b,
body.dark .sym-genres-archive-v1__count b,
body.theme-dark .sym-genres-archive-v1__count b,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__count b {
  color: #f4f7fb;
}
html[data-theme="dark"] .sym-genres-archive .sym-cpt-archive__actions a,
body.dark .sym-genres-archive .sym-cpt-archive__actions a,
body.theme-dark .sym-genres-archive .sym-cpt-archive__actions a,
body.digital_newspaper_dark_mode .sym-genres-archive .sym-cpt-archive__actions a,
html[data-theme="dark"] .sym-genres-archive-v1__filter-row a,
body.dark .sym-genres-archive-v1__filter-row a,
body.theme-dark .sym-genres-archive-v1__filter-row a,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filter-row a {
  background: rgba(244,247,251,.06);
  border-color: rgba(244,247,251,.12);
  color: #f4f7fb;
}
html[data-theme="dark"] .sym-genres-archive .sym-cpt-archive__actions a:hover,
body.dark .sym-genres-archive .sym-cpt-archive__actions a:hover,
body.theme-dark .sym-genres-archive .sym-cpt-archive__actions a:hover,
body.digital_newspaper_dark_mode .sym-genres-archive .sym-cpt-archive__actions a:hover,
html[data-theme="dark"] .sym-genres-archive-v1__filter-row a:hover,
html[data-theme="dark"] .sym-genres-archive-v1__filter-row a:focus-visible,
html[data-theme="dark"] .sym-genres-archive-v1__filter-row a.is-active,
body.dark .sym-genres-archive-v1__filter-row a:hover,
body.dark .sym-genres-archive-v1__filter-row a:focus-visible,
body.dark .sym-genres-archive-v1__filter-row a.is-active,
body.theme-dark .sym-genres-archive-v1__filter-row a:hover,
body.theme-dark .sym-genres-archive-v1__filter-row a:focus-visible,
body.theme-dark .sym-genres-archive-v1__filter-row a.is-active,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filter-row a:hover,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filter-row a:focus-visible,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filter-row a.is-active {
  background: #f4f7fb;
  border-color: #f4f7fb;
  color: #050608;
}
html[data-theme="dark"] .sym-genres-archive-v1__filters,
body.dark .sym-genres-archive-v1__filters,
body.theme-dark .sym-genres-archive-v1__filters,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filters {
  background: rgba(255,255,255,.045);
  border-color: rgba(244,247,251,.10);
}
html[data-theme="dark"] .sym-genres-archive-v1__filter-row > span,
body.dark .sym-genres-archive-v1__filter-row > span,
body.theme-dark .sym-genres-archive-v1__filter-row > span,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filter-row > span {
  color: rgba(244,247,251,.50);
}
html[data-theme="dark"] .sym-genres-archive-v1__filter-row a em,
body.dark .sym-genres-archive-v1__filter-row a em,
body.theme-dark .sym-genres-archive-v1__filter-row a em,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filter-row a em {
  color: rgba(244,247,251,.46);
}
html[data-theme="dark"] .sym-genres-archive-v1__filter-row a:hover em,
html[data-theme="dark"] .sym-genres-archive-v1__filter-row a:focus-visible em,
html[data-theme="dark"] .sym-genres-archive-v1__filter-row a.is-active em,
body.dark .sym-genres-archive-v1__filter-row a:hover em,
body.dark .sym-genres-archive-v1__filter-row a:focus-visible em,
body.dark .sym-genres-archive-v1__filter-row a.is-active em,
body.theme-dark .sym-genres-archive-v1__filter-row a:hover em,
body.theme-dark .sym-genres-archive-v1__filter-row a:focus-visible em,
body.theme-dark .sym-genres-archive-v1__filter-row a.is-active em,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filter-row a:hover em,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filter-row a:focus-visible em,
body.digital_newspaper_dark_mode .sym-genres-archive-v1__filter-row a.is-active em {
  color: rgba(5,6,8,.62);
}

@media (max-width: 1180px) {
  .sym-genres-grid,
  .sym-genres-archive-v1__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .sym-genres-grid,
  .sym-genres-archive-v1__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .sym-genres-archive,
  .sym-genres-archive-v1 { width: calc(100vw - 28px); margin: 32px auto 68px; }
  .sym-genres-archive .sym-cpt-archive__hero { display: block; padding: 22px; }
  .sym-genres-archive .sym-cpt-archive__actions { margin-top: 18px; }
  .sym-genres-archive-v1__filter-row > span { flex-basis: 100%; }
  .sym-genres-grid,
  .sym-genres-archive-v1__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sym-genres-grid,
  .sym-genres-archive-v1__grid { grid-template-columns: 1fr; }
}
