/* ===== AU DESIGN SYSTEM - Combined CSS =====
   Shared base + Newsfeed social feed styles + Landing page styles
   Source: au-new-landing.html + au-new-newsfeed.html
   ============================================ */

/* ===== CSS VARIABLES ===== */
/* All AU design tokens are defined in style.css :root and [data-theme="night"].
   au-design.css consumes those tokens — it does not redefine them. */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
  /* Reset Sngine's default body padding for fixed navbar — AU uses its own nav */
  padding-top: 0 !important;
  flex-direction: column !important;
}

/* Hide Sngine UI elements that conflict with AU newsfeed layout */
.js_new-posts,
.new-posts-alert,
#js_new-posts { display: none !important; }

/* Reset Sngine's main wrapper top offset */
#main-wrapper,
.main-wrapper { margin-top: 0 !important; padding-top: 0 !important; }

/* Hide Sngine's fixed top navbar (AU has its own) */
#header, .header-wrapper { display: none !important; }

a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 10px; }

/* ===== TYPOGRAPHY ===== */
.serif { font-family: 'Playfair Display', serif; }
.mono { font-family: 'Space Mono', monospace; }

/* ===== TOP NAVIGATION ===== */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}

.nav-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.5px;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-logo-text span { color: var(--accent); }

/* Nav Search */
.nav-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.nav-search input {
  width: 100%;
  height: 38px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 16px 0 40px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nav-search input::placeholder { color: var(--text-muted); }
.nav-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,89,42,0.1); }

.nav-search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 14px;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-btn {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 17px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.nav-btn:hover { background: var(--badge-bg); color: var(--text-primary); }

.nav-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace;
}

/* Day/Night Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--badge-bg);
  border-radius: 100px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover { border-color: var(--accent); }

.toggle-track {
  width: 36px; height: 20px;
  background: var(--toggle-bg);
  border-radius: 100px;
  position: relative;
  transition: background 0.3s;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

[data-theme="night"] .toggle-track { background: var(--accent); border-color: var(--accent); }

/* Night mode: light inline block backgrounds swapped by auApplyNightSurfaces() */
[data-theme="night"] .au-night-surface { background: var(--bg-primary) !important; color: var(--text-primary) !important; }
[data-theme="night"] .au-night-surface--alt { background: var(--bg-secondary) !important; color: var(--text-primary) !important; }

.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
}

[data-theme="night"] .toggle-thumb { transform: translateX(16px); background: #fff; }

.toggle-icon { font-size: 13px; color: var(--text-muted); flex-shrink: 0; }
[data-theme="night"] .toggle-icon.day { color: var(--text-muted); }
[data-theme="night"] .toggle-icon.night { color: var(--accent-gold); }

.toggle-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
  white-space: nowrap;
}

/* User Avatar */
.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.nav-avatar:hover { border-color: var(--accent); }
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 18px;
  transition: background 0.2s;
}

.mobile-menu-btn:hover { background: var(--badge-bg); }

/* ===== SECONDARY NAV (Content Menu) ===== */
.content-nav {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 999;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 48px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  transition: background 0.3s;
}
.content-nav::-webkit-scrollbar { height: 0; }

.content-nav-inner {
  display: flex;
  align-items: stretch;
  padding: 0 20px;
  gap: 0;
  min-width: max-content;
  width: 100%;
}

.content-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
}

.content-nav a:hover { color: var(--text-primary); }
.content-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.content-nav a i { font-size: 13px; }

.content-nav-divider {
  width: 1px;
  background: var(--border);
  margin: 10px 4px;
}

/* Breadcrumb trail under the nav-landing bar (e.g. hub/site pages) — sits in
   normal document flow, right after the sticky nav, no fixed positioning. */
.au-breadcrumb {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}

.au-breadcrumb-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: 'Space Mono', monospace;
}

.au-breadcrumb-inner a { color: var(--text-muted); text-decoration: none; }
.au-breadcrumb-inner a:hover { color: var(--accent); }
.au-breadcrumb-sep { font-size: 8px; color: var(--text-muted); opacity: 0.6; }
.au-breadcrumb-current { color: var(--text-primary); font-weight: 600; }

/* ===== LAYOUT ===== */
.page-layout {
  display: grid;
  /* Default layout (3-col) - used by au-newsfeed without variant class */
  grid-template-columns: var(--left-col) 1fr var(--right-col);
  gap: 0;
  width: 100%;
  min-height: 100vh;
  background: var(--bg-sidebar);
  /* CSS variables for dynamic sidebar widths (defaults: 300px / 320px) */
  --left-col: 300px;
  --right-col: 320px;
}
/* Layout variations - explicit grid columns for page-builder with layout classes */
.page-layout--3col       { grid-template-columns: var(--left-col) 1fr var(--right-col); }
.page-layout--2col-left  { grid-template-columns: var(--left-col) 1fr; }
.page-layout--2col-right { grid-template-columns: 1fr var(--right-col); }
.page-layout--1col       { grid-template-columns: 1fr; }
/* Tighten sidebar/main seams to remove visible column gaps */
.page-layout--has-side-columns .main-content { padding-left: 0; padding-right: 0; }
.page-layout--has-side-columns .sidebar-left { padding-right: 0; }
.page-layout--has-side-columns .sidebar-right { padding-left: 16px; }

/* ===== LEFT SIDEBAR ===== */
.sidebar-left {
  position: sticky;
  top: var(--nav-h, 112px);
  height: calc(100vh - var(--nav-h, 112px));
  overflow-y: auto;
  padding: 20px 16px 20px 20px;
  border-right: 1px solid var(--border);
  background: var(--bg-sidebar);
  transition: background 0.3s;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}

.sidebar-profile:hover { box-shadow: var(--card-shadow); }

.sidebar-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-profile-info { flex: 1; min-width: 0; }

.sidebar-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-handle {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
}

.sidebar-wallet {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
  font-family: 'Space Mono', monospace;
}

/* Sidebar Section */
.sidebar-section {
  margin-bottom: 6px;
}

.sidebar-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 8px 6px;
  font-family: 'Space Mono', monospace;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.sidebar-link:hover { background: var(--badge-bg); color: var(--text-primary); }
.sidebar-link.active { background: rgba(196,89,42,0.1); color: var(--accent); }

.sidebar-link i {
  width: 20px;
  text-align: center;
  font-size: 15px;
  flex-shrink: 0;
}

/* View header — used for memories and other view pages */
.au-view-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.au-view-header-icon {
  font-size: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.au-view-header h2 { margin: 0 0 4px; font-size: 18px; }
.au-view-header p  { margin: 0; color: var(--text-secondary); font-size: 14px; }

.sidebar-link-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 100px;
  font-family: 'Space Mono', monospace;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 0;
  min-width: 0;
  background: var(--bg-sidebar);
}

/* ===== STORY/HIGHLIGHTS ROW ===== */
.stories-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
}
.stories-row::-webkit-scrollbar { height: 0; }

.story-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.story-ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
}

.story-ring.add {
  background: var(--border);
}

.story-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--bg-primary);
  position: relative;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
}

.story-inner img { width: 100%; height: 100%; object-fit: cover; }

.story-add-icon {
  font-size: 20px;
  color: var(--text-muted);
}

.story-label {
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CAROUSEL SECTION ===== */
.carousel-section {
  margin-bottom: 0;
  padding: 28px 24px 24px;
}

/* Carousel section with a page-builder background colour — visual treatment only, spacing inherited from .carousel-section */
.carousel-section--has-bg {}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.carousel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-title-text { display: flex; flex-direction: column; gap: 2px; }

.carousel-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.carousel-subtitle {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary, #6b7280);
  max-width: 640px;
}

.carousel-title-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: #fff;
}

.icon-blog { background: #8B5CF6; }
.icon-audio { background: #06B6D4; }
.icon-reels { background: #EC4899; }
.icon-video { background: #EF4444; }
.icon-product { background: #F59E0B; }
.icon-course { background: #10B981; }
.icon-event { background: #C4592A; }

.carousel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-see-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(196,89,42,0.3);
  transition: background 0.2s, color 0.2s;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
}

.carousel-see-all:hover { background: var(--accent); color: #fff; }

.carousel-nav-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Carousel Track */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* ===== BLOG CARDS ===== */
.card-blog {
  flex-shrink: 0;
  width: 280px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.card-blog:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.card-blog-img {
  width: 100%; height: 160px;
  object-fit: cover;
  background: var(--badge-bg);
}

.card-blog-body { padding: 16px; }

.card-category {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
  margin-bottom: 8px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-author-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.card-author-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.card-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
  font-family: 'Space Mono', monospace;
}

.card-stats {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
}

/* ===== AUDIO CARDS ===== */
.card-audio {
  flex-shrink: 0;
  width: 200px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.card-audio:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.card-audio-cover {
  width: 100%; height: 200px;
  object-fit: cover;
  background: var(--badge-bg);
  position: relative;
}

.card-audio-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.card-audio-play {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 12px;
  transition: transform 0.2s;
}

.card-audio:hover .card-audio-play { transform: scale(1.1); }

.card-audio-body { padding: 12px; }

.card-audio-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-audio-artist {
  font-size: 12px;
  color: var(--text-muted);
}

.card-audio-duration {
  font-size: 11px;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
  margin-top: 6px;
}

/* ===== REEL CARDS ===== */
.card-reel {
  flex-shrink: 0;
  width: 160px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  position: relative;
}

.card-reel:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.card-reel-thumb {
  width: 100%; height: 280px;
  background: var(--badge-bg);
  position: relative;
  overflow: hidden;
}

.card-reel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card-reel:hover .card-reel-thumb img { transform: scale(1.05); }

.card-reel-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px 12px 12px;
}

.card-reel-title {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-reel-views {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  font-family: 'Space Mono', monospace;
}

.card-reel-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}

.card-reel:hover .card-reel-play { opacity: 1; }

/* ===== VIDEO CARDS ===== */
.card-video {
  flex-shrink: 0;
  width: 320px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.card-video:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.card-video-thumb {
  width: 100%; height: 180px;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--border) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: au-shimmer 1.6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.card-video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.card-video-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
}

.card-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.2s, opacity 0.2s;
  z-index: 10;
  opacity: 1;
}

.card-video-preview {
  transition: opacity 0.25s;
}

.card-video:hover .card-video-play { transform: translate(-50%, -50%) scale(1.1); }

.card-video-body { padding: 14px; }

.card-video-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== PRODUCT CARDS ===== */
.card-product {
  flex-shrink: 0;
  width: 200px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.card-product:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.card-product-img {
  width: 100%; height: 200px;
  object-fit: cover;
  background: var(--badge-bg);
}

.card-product-body { padding: 12px; }

.card-product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.card-product-artist {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-product-price {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.card-product-btn {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 12px;
  transition: transform 0.2s;
}

.card-product-btn:hover { transform: scale(1.1); }

/* ===== COURSE CARDS ===== */
.card-course {
  flex-shrink: 0;
  width: 280px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.card-course:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.card-course-thumb {
  width: 100%; height: 150px;
  background: var(--badge-bg);
  position: relative;
  overflow: hidden;
}

.card-course-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.card-course-level {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
}

.card-course-body { padding: 14px; }

.card-course-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-course-info {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.card-course-info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
}

.card-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-course-price {
  font-family: 'Space Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.card-course-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--accent-gold);
}

/* ===== EVENT CARDS ===== */
.card-event {
  flex-shrink: 0;
  width: 280px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.card-event:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.card-event-header {
  width: 100%; height: 130px;
  position: relative;
  overflow: hidden;
}

.card-event-header img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.card-event-date-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--bg-card);
  border-radius: 10px;
  padding: 6px 10px;
  text-align: center;
  min-width: 46px;
}

.card-event-day {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.card-event-month {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Space Mono', monospace;
}

.card-event-body { padding: 14px; }

.card-event-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card-event-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-event-price {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.card-event-going {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-event-avatars {
  display: flex;
}

.card-event-avatars img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-card);
  margin-left: -6px;
}

.card-event-avatars img:first-child { margin-left: 0; }

.card-event-going-text {
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== RIGHT SIDEBAR ===== */
.sidebar-right {
  position: sticky;
  top: var(--nav-h, 112px);
  height: calc(100vh - var(--nav-h, 112px));
  overflow-y: auto;
  padding: 20px 20px 20px 16px;
  border-left: 1px solid var(--border);
  background: var(--bg-sidebar);
  transition: background 0.3s;
}

/* Suggested Artists */
.sidebar-widget {
  margin-bottom: 24px;
}

.widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-title a {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.suggestions-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--badge-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s;
}

.suggestions-toggle-btn:hover { border-color: var(--accent); }
.suggestions-toggle-btn i { color: var(--text-muted); }
.suggestions-toggle-icon { transition: transform 0.2s; }
.suggestions-widget.open .suggestions-toggle-icon { transform: rotate(180deg); }

.suggestions-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.suggestions-widget.open .suggestions-panel { max-height: 600px; }

.suggestions-panel-inner { padding-top: 14px; }

.suggestions-see-all {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: right;
  margin-bottom: 8px;
}

.artist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.artist-item:last-child { border-bottom: none; }

.artist-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
}

.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }

.artist-info { flex: 1; min-width: 0; }

.artist-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.artist-name .verified { color: #2196f3; font-size: 12px; }

.artist-type {
  font-size: 11px;
  color: var(--text-muted);
}

.follow-btn {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Space Mono', monospace;
  transition: all 0.2s;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.follow-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.follow-btn.following { background: rgba(196,89,42,0.1); border-color: var(--accent); color: var(--accent); }

/* Trending Tags */
.tag-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.tag-item:hover { background: var(--badge-bg); }

.tag-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.tag-name span { color: var(--accent); }

.tag-count {
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
}

/* Upcoming Events mini */
.aup-sidebar-empty {
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 0;
}

.mini-event {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
}

.mini-event:last-child { border-bottom: none; }

.mini-event-date {
  width: 42px;
  background: rgba(196,89,42,0.1);
  border-radius: 8px;
  padding: 6px 4px;
  text-align: center;
  flex-shrink: 0;
}

.mini-event-day {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.mini-event-month {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Space Mono', monospace;
}

.mini-event-info { flex: 1; min-width: 0; }

.mini-event-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-event-loc {
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== CREATE POST ===== */
.create-post-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.create-post-bar:hover { border-color: var(--accent); box-shadow: var(--card-shadow); }

.create-post-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.create-post-avatar img { width: 100%; height: 100%; object-fit: cover; }

.create-post-input {
  flex: 1;
  font-size: 13.5px;
  color: var(--text-muted);
  font-family: 'Instrument Sans', sans-serif;
}

.create-post-actions {
  display: flex;
  gap: 6px;
}

.create-post-action {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: background 0.15s;
}

.create-post-action:hover { background: var(--badge-bg); }
.create-post-action i { font-size: 14px; }

/* ===== DROPDOWN MENUS ===== */
.dropdown-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
}

.dropdown-overlay.active { display: block; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--card-hover);
  z-index: 1001;
  overflow-y: auto;
  max-height: calc(100vh - 80px);
  animation: dropIn 0.2s ease;
}

.dropdown-menu.active { display: block; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-header-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.dropdown-item:hover { background: var(--badge-bg); color: var(--text-primary); }

.dropdown-item i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.dropdown-item:hover i { color: var(--accent); }

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

.dropdown-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background 0.15s;
}

.dropdown-footer:hover { background: rgba(196,89,42,0.05); }

/* ===== AU HEADER WIDGETS (platform includes: messages, notifications, friend requests) ===== */
/* Makes _header.messages.tpl, _header.notifications.tpl, _header.friend_requests.tpl
   visually match the AU nav design without modifying those platform files. */

.au-header-widgets {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.au-header-widgets li { position: relative; list-style: none; }

/* Hide mobile-app-redirect li (only shown when redirect_to_mobile_apps is on) */
.au-header-widgets li.d-block.d-md-none { display: none; }

/* Trigger <a> — matches .nav-btn */
.au-header-widgets > li > a {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 17px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.au-header-widgets > li > a:hover { background: var(--badge-bg); color: var(--text-primary); }

/* Hide "Menu" title text from _user_menu.tpl if ever included */
.au-header-widgets > li > a .title { display: none; }

/* SVG header icons — override style.min.css !important with higher specificity */
.au-header-widgets .header-icon,
.au-header-widgets .header-icon * { width: 20px; height: 20px; color: var(--text-secondary) !important; fill: var(--text-secondary) !important; }

/* Badge — matches .nav-badge */
.au-header-widgets .counter {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace;
  padding: 0 3px;
  pointer-events: none;
  box-shadow: none;
}
.au-header-widgets .counter.x-hidden { display: none; }

/* Dropdown panel — matches AU .dropdown-menu style */
.au-header-widgets .dropdown-widget {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 300px;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--card-hover);
  z-index: 1001;
  overflow: hidden;
  animation: dropIn 0.2s ease;
}
.au-header-widgets .dropdown-widget.show { display: block; }

/* Dropdown header */
.au-header-widgets .dropdown-widget-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.au-header-widgets .dropdown-widget-header .title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  display: block;
}

/* Dropdown body — scrollable */
.au-header-widgets .dropdown-widget-body { max-height: 320px; overflow-y: auto; }
.au-header-widgets .dropdown-widget-body ul { margin: 0; padding: 0; list-style: none; }

/* Dropdown footer */
.au-header-widgets .dropdown-widget-footer {
  display: block;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  font-family: 'Space Mono', monospace;
  border-top: 1px solid var(--border-light);
  text-decoration: none;
  transition: background 0.15s;
}
.au-header-widgets .dropdown-widget-footer:hover { background: rgba(196,89,42,0.05); }

/* Notification item */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  transition: background 0.15s;
  cursor: pointer;
}

.notif-item:hover { background: var(--badge-bg); }
.notif-item.unread { background: rgba(196,89,42,0.04); }

.notif-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.notif-text {
  flex: 1;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.notif-text strong { color: var(--text-primary); font-weight: 600; }

.notif-time {
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  margin-top: 2px;
  display: block;
}

/* ===== AU HEADER DROPDOWN FEED ITEMS ===================================== */
/* Sngine renders .feeds-item / .data-container / .data-content using a float
   layout with Sngine colors. These scoped rules override every Sngine default
   inside .au-header-widgets so the output matches the AU design system.       */

.au-header-widgets .feeds-item {
  border-bottom: 1px solid var(--border-light);
}
.au-header-widgets .feeds-item:last-child { border-bottom: 0; }
.au-header-widgets .feeds-item.unread { background: rgba(196,89,42,0.04); }

/* Reset Sngine float layout → flex */
.au-header-widgets .data-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  min-height: 0;
  text-decoration: none;
  transition: background 0.15s;
}
.au-header-widgets a.data-container:hover {
  background: var(--badge-bg);
  text-decoration: none;
}

/* Avatar — reset Sngine float, apply AU size */
.au-header-widgets .data-avatar {
  float: none;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
.au-header-widgets .data-avatar img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Content — reset Sngine padding-left (was for float avatar) */
.au-header-widgets .data-content {
  flex: 1;
  min-width: 0;
  padding-left: 0;
  color: var(--text-secondary);
  font-size: 13px;
}
.au-header-widgets .data-content .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.au-header-widgets .data-content .text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.au-header-widgets .data-content .time {
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  margin-top: 3px;
  display: block;
}

/* Night mode */
[data-theme="night"] .au-header-widgets .feeds-item { border-color: var(--card-dark-divider); }
[data-theme="night"] .au-header-widgets .feeds-item.unread { background: rgba(196,89,42,0.08); }
[data-theme="night"] .au-header-widgets a.data-container:hover { background: var(--card-dark-hover); }
[data-theme="night"] .au-header-widgets .data-content { color: var(--text-primary); }

/* ===== MEGA MENU ===== */
.mega-menu-overlay {
  display: none;
  position: fixed;
  top: 112px; left: 0; right: 0; bottom: 0;
  z-index: 997;
  background: var(--modal-bg);
}

.mega-menu-overlay.active { display: block; }

.mega-menu {
  display: none;
  position: fixed;
  top: 112px; left: 0; right: 0;
  z-index: 998;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  animation: slideDown 0.25s ease;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
}

.mega-menu.active { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.mega-col-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.mega-col-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: background 0.15s;
  cursor: pointer;
}

.mega-link:hover { background: var(--badge-bg); }

.mega-link-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(196,89,42,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}

.mega-link-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mega-link-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.mega-featured {
  background: linear-gradient(135deg, rgba(196,89,42,0.1), rgba(201,151,58,0.1));
  border: 1px solid rgba(196,89,42,0.2);
  border-radius: 14px;
  padding: 20px;
}

.mega-featured-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
  margin-bottom: 8px;
}

.mega-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.mega-featured-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}

.mega-cta:hover { opacity: 0.85; }

/* ===== EXPLORE BUTTON ===== */
.explore-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
  cursor: pointer;
  flex-shrink: 0;
}

.explore-btn:hover { opacity: 0.85; }

/* ===== MOBILE SIDEBAR OVERLAY ===== */
.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1010;
  background: var(--modal-bg);
}

.mobile-sidebar-overlay.active { display: block; }

.mobile-sidebar {
  position: fixed;
  top: 0; left: -280px;
  width: 280px; height: 100vh;
  background: var(--bg-sidebar);
  z-index: 1011;
  overflow-y: auto;
  transition: left 0.3s ease;
  border-right: 1px solid var(--border);
  padding: 20px 16px;
}

.mobile-sidebar.active { left: 0; }

.mobile-sidebar-close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-sidebar-close-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
  background: var(--badge-bg);
  cursor: pointer;
  transition: background 0.15s;
}

.mobile-sidebar-close-btn:hover { background: var(--border); }

/* ===== FAQ & MISC ===== */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}

.faq-question {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question i {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-top: 10px;
}

/* ===== RESPONSIVE =====
   These breakpoints only resize the --left-col/--right-col widths that the
   layout variant classes (.page-layout--1col/--2col-left/--2col-right/--3col)
   already read from. They must never set grid-template-columns on the bare
   .page-layout selector — that would force a 3-column grid onto pages that
   intentionally have no sidebar (e.g. gallery pages with --1col), leaving
   their real content squeezed into a leftover column with a huge empty gap
   next to it. Only the explicit 3-col/2-col-right selectors below collapse
   to a 2-column grid at ≤1100px, matching where sidebar-right is hidden. */
@media (min-width: 1800px) {
  .page-layout { --left-col: 300px; --right-col: 320px; }
}

@media (min-width: 2200px) {
  .page-layout { --left-col: 360px; --right-col: 380px; }
}

@media (max-width: 1280px) {
  .page-layout { --left-col: 240px; --right-col: 260px; }
}

@media (max-width: 1100px) {
  .page-layout--3col,
  .page-layout--2col-right { grid-template-columns: 220px 1fr; }
  .sidebar-right { display: none; }
}

/* Mobile search icon btn — hidden on desktop, shown on mobile */
.nav-search-btn { display: none; }

/* ── 860–959px: search bar visible, explore btn too tight — hide it ── */
@media (max-width: 959px) {
  .explore-btn { display: none; }
}

/* ── ≤860px: sidebar collapses, search bar hides, icon btn appears ── */
@media (max-width: 860px) {
  /* Stack builder columns cleanly on mobile (main first, then side columns) */
  /* ALL layout variants collapse to single column on mobile */
  .page-layout,
  .page-layout--3col,
  .page-layout--2col-left,
  .page-layout--2col-right,
  .page-layout--1col {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    grid-template-columns: 1fr !important;
    width: 100%;
    overflow-x: hidden;
  }
  .page-layout > .main-content {
    order: 1;
    padding: 0;
    width: 100% !important;
    max-width: 100%;
  }
  .page-layout > .sidebar-left { display: none !important; }
  .page-layout > .sidebar-right { display: none !important; }
  .page-layout--has-side-columns .main-content {
    padding-left: 0;
    padding-right: 0;
  }
  .mobile-menu-btn { display: flex; }
  .nav-search { display: none; }
  .nav-search-btn { display: flex; }
  .card-video { width: 260px; }
  .card-blog { width: 240px; }
  /* Collapse theme toggle to a single icon button */
  .theme-toggle {
    width: 38px; height: 38px;
    padding: 0;
    border-radius: 10px;
    justify-content: center;
    gap: 0;
    background: var(--badge-bg);
  }
  .toggle-track,
  .toggle-label,
  .toggle-icon.day,
  .toggle-icon.night { display: none; }
  .theme-toggle::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    color: var(--text-secondary);
    content: '\f185';
  }
  [data-theme="night"] .theme-toggle::before {
    content: '\f186';
    color: var(--accent-gold);
  }
}

@media (max-width: 580px) {
  .create-post-actions { display: none; }
}

/* Mobile search overlay */
.mobile-search-overlay {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 1002;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: slideDown 0.2s ease;
}

.mobile-search-overlay.active { display: flex; gap: 10px; align-items: center; }

.mobile-search-overlay input {
  flex: 1;
  height: 40px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 18px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
}

.mobile-search-overlay input:focus { border-color: var(--accent); }
.mobile-search-overlay input::placeholder { color: var(--text-muted); }

.mobile-search-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--badge-bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.mobile-search-close:hover { background: var(--border); }

/* ===== UTILITY ===== */
.text-accent { color: var(--accent); }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.fw-600 { font-weight: 600; }
.serif { font-family: 'Playfair Display', serif; }

/* Placeholder gradients for images */
.img-placeholder-1 { background: linear-gradient(135deg, #8B5CF6 0%, #C4592A 100%); }
.img-placeholder-2 { background: linear-gradient(135deg, #06B6D4 0%, #10B981 100%); }
.img-placeholder-3 { background: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%); }
.img-placeholder-4 { background: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%); }
.img-placeholder-5 { background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%); }
.img-placeholder-6 { background: linear-gradient(135deg, #C4592A 0%, #C9973A 100%); }

.placeholder-icon {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: rgba(255,255,255,0.6);
}

/* Floating Add Button */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(196,89,42,0.4);
  cursor: pointer;
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(196,89,42,0.5); }

/* Verified badge inline */
.verified-icon { color: #2196f3; font-size: 12px; }

/* Bottom bar for mobile */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  height: 58px;
  backdrop-filter: blur(20px);
}

@media (max-width: 860px) {
  .mobile-bottom-bar { display: flex; }
  body { padding-bottom: 58px; }
  .fab { bottom: 74px; }
}

.mobile-bottom-bar-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.mobile-bottom-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: pointer;
}

.mobile-bottom-link i { font-size: 18px; }
.mobile-bottom-link.active { color: var(--accent); }
.mobile-bottom-link:hover { color: var(--text-primary); }

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: calc(100% + 48px);
  margin-left: -24px;
  margin-right: -24px;
  margin-top: -24px;
  height: 340px;
  overflow: hidden;
  background: #0a0806;
  border-radius: 0;
  margin-bottom: 24px;
}
/* In column layouts, disable legacy full-bleed hero offsets */
.page-layout--has-side-columns .main-content .hero-slider:not(.lp-hero),
.sidebar-left .hero-slider:not(.lp-hero),
.sidebar-right .hero-slider:not(.lp-hero) {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: -24px;
}
/* Newsfeed page hero — shorter than full-bleed default */
.main-content .hero-slider:not(.lp-hero) { height: 250px; }
@media (max-width: 580px) { .main-content .hero-slider:not(.lp-hero) { height: 180px; } }

@media (max-width: 860px) { .hero-slider:not(.lp-hero) { height: 280px; width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; margin-top: -16px; } }
@media (max-width: 580px) { .hero-slider:not(.lp-hero) { height: 240px; } }
@media (max-width: 860px) {
  .page-layout--has-side-columns .main-content .hero-slider:not(.lp-hero),
  .sidebar-left .hero-slider:not(.lp-hero),
  .sidebar-right .hero-slider:not(.lp-hero) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: -16px;
  }
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg { transform: scale(1); }

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,8,6,0.82) 0%,
    rgba(10,8,6,0.45) 55%,
    rgba(10,8,6,0.1) 100%
  );
}

.hero-slide-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 32px 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 860px) { .hero-slider:not(.lp-hero) .hero-slide-content { padding: 20px 20px 28px; } }
@media (max-width: 580px) { .hero-slider:not(.lp-hero) .hero-slide-content { padding: 14px 16px 20px; flex-direction: column; align-items: flex-start; gap: 10px; } }

.hero-text { flex: 1; max-width: 640px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s 0.15s ease, transform 0.55s 0.15s ease;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-slide.active .hero-eyebrow { opacity: 1; transform: translateY(0); }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.4vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.28s ease, transform 0.6s 0.28s ease;
}

.hero-slide.active .hero-title { opacity: 1; transform: translateY(0); }

.hero-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s 0.4s ease, transform 0.6s 0.4s ease;
}

.hero-slide.active .hero-desc { opacity: 1; transform: translateY(0); }

@media (max-width: 700px) { .hero-slider:not(.lp-hero) .hero-desc { display: none; } }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s 0.52s ease, transform 0.6s 0.52s ease;
}

.hero-slide.active .hero-actions { opacity: 1; transform: translateY(0); }

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}

.hero-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.hero-btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }

@media (max-width: 580px) {
  .hero-slider:not(.lp-hero) .hero-btn-ghost { display: none; }
}

/* Hero meta strip (right side) */
.hero-meta {
  display: none;
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.hero-dot.active {
  width: 24px;
  border-radius: 3px;
  background: var(--accent);
}

/* Hero Prev/Next */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.hero-arrow:hover { background: rgba(255,255,255,0.28); }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; }
.hero-arrow.prev:hover { transform: translateY(-50%) translateX(-2px); }
.hero-arrow.next:hover { transform: translateY(-50%) translateX(2px); }

@media (max-width: 580px) {
  .hero-arrow { display: none; }
}

/* Hero progress bar */
.hero-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  transition: width linear;
  z-index: 10;
}

/* hero counter */
.hero-counter {
  position: absolute;
  top: 14px; right: 16px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  z-index: 10;
  letter-spacing: 1px;
}

/* Minimal footer for feed page */
.site-footer--minimal {
  padding-top: 0;
}

.site-footer--minimal .footer-bottom {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== ALL CONTENT FEED ===== */
.all-content-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.all-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.all-content-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.all-content-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.all-content-title-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 15px;
}

/* Filter tabs */
.feed-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.feed-filter-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
}

.feed-filter-btn:hover { border-color: var(--accent); color: var(--accent); }

.feed-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Feed grid */
.all-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* Universal feed card */
.feed-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feed-card:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.feed-card-media {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--badge-bg);
  position: relative;
  overflow: hidden;
}

.feed-card-media.portrait { aspect-ratio: 9/14; }

.feed-card-media-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}

.feed-card-type-badge {
  position: absolute;
  top: 8px; left: 8px;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Space Mono', monospace;
  color: #fff;
}

.feed-card-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}

.feed-card:hover .feed-card-play { opacity: 1; }

.feed-card-body { padding: 12px 14px 14px; }

.feed-card-category {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
  margin-bottom: 5px;
}

.feed-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-card-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  background: var(--badge-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
}

.feed-card-author {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-card-stat {
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

/* Load more */
.load-more-wrap {
  text-align: center;
  margin-top: 28px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.load-more-btn.loading i { animation: spin 1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-top: 60px;
  transition: background 0.3s;
}

.footer-inner {
  width: 100%;
  padding: 0 40px;
}

@media (max-width: 700px) { .footer-inner { padding: 0 20px; } }

/* Footer Brand row */
.footer-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 0 36px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-brand { max-width: 300px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-mark {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo-text span { color: var(--accent); }

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--badge-bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
}

.footer-social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Footer nav columns */
.footer-nav-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-link {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.15s;
  cursor: pointer;
}

.footer-col-link:hover { color: var(--accent); }

/* Footer Newsletter */
.footer-newsletter {
  padding: 40px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.footer-nl-text { flex: 1; min-width: 220px; }

.footer-nl-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.footer-nl-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-nl-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 420px;
  min-width: 260px;
}

.footer-nl-input {
  flex: 1;
  height: 44px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 20px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.footer-nl-input::placeholder { color: var(--text-muted); }
.footer-nl-input:focus { border-color: var(--accent); }

.footer-nl-btn {
  height: 44px;
  padding: 0 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.footer-nl-btn:hover { opacity: 0.85; }
a.footer-nl-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Footer App badges */
/* App badges — inline inside brand column */
.footer-app-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--badge-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.footer-app-badge:hover { border-color: var(--accent); box-shadow: var(--card-shadow); }

.footer-app-badge i { font-size: 20px; color: var(--text-primary); }

.footer-app-badge-text { display: flex; flex-direction: column; }

.footer-app-badge-sub {
  font-size: 9px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-app-badge-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Footer stats band */
.footer-stats-band {
  padding: 24px 0;
  display: flex;
  gap: 40px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.footer-stat-num span { color: var(--accent); }

.footer-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer bottom bar */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-copy {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color 0.15s;
  cursor: pointer;
}

.footer-bottom-link:hover { color: var(--accent); }

/* Language / region selector */
.footer-region {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  cursor: pointer;
  transition: color 0.15s;
}

.footer-region:hover { color: var(--text-primary); }


/* ===== NEWSFEED - Social Post-Card Styles ===== */
/* ===== ALL CONTENT FEED — Social Newsfeed ===== */
.all-content-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 2px solid var(--border);
}

.all-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.all-content-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.all-content-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.all-content-title-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
}

/* Filter tabs — scrollable horizontal strip */
.feed-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  flex: 1;
}

.feed-filters::-webkit-scrollbar { display: none; }

.feed-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.feed-filter-btn:hover { border-color: var(--accent); color: var(--accent); }

.feed-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Feed stream — single column posts */
.feed-stream {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Post Card ── */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}

.post-card:hover { box-shadow: var(--card-hover); }

/* Post header — author row */
.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
}

.post-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
  font-family: 'Space Mono', monospace;
  overflow: hidden;
  border: 2px solid var(--border);
}

.post-avatar img { width: 100%; height: 100%; object-fit: cover; }

.post-author-info { flex: 1; min-width: 0; }

.post-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1px;
}

.post-author-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-author-meta span::before { content: 'Â·'; margin-right: 6px; }
.post-author-meta span:first-child::before { display: none; }

.post-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Space Mono', monospace;
  color: #fff;
  flex-shrink: 0;
}

.post-more-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.post-more-btn:hover { background: var(--badge-bg); color: var(--text-primary); }

/* Post media */
.post-media {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--badge-bg);
  cursor: pointer;
}

.post-media.ratio-16-9 { aspect-ratio: 16/9; }
.post-media.ratio-4-3  { aspect-ratio: 4/3; }
.post-media.ratio-1-1  { aspect-ratio: 1/1; }
.post-media.ratio-9-16 { aspect-ratio: 9/16; max-height: 520px; }

.post-media-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}

/* Play button overlay */
.post-media-play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.post-card:hover .post-media-play { opacity: 1; }

.post-media-play-btn {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Duration badge */
.post-media-duration {
  position: absolute;
  bottom: 8px; right: 10px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 10px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

/* Audio post — waveform style */
.post-audio {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(196,89,42,0.06), rgba(201,151,58,0.04));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.post-audio-cover {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--badge-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}

.post-audio-info { flex: 1; min-width: 0; }

.post-audio-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-audio-artist {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
}

.post-audio-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  margin-top: 8px;
}

.post-audio-waveform span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.4;
  animation: waveAnim 1.2s ease-in-out infinite;
}

.post-audio-waveform span:nth-child(2) { animation-delay: 0.1s; }
.post-audio-waveform span:nth-child(3) { animation-delay: 0.2s; height: 20px !important; }
.post-audio-waveform span:nth-child(4) { animation-delay: 0.15s; }
.post-audio-waveform span:nth-child(5) { animation-delay: 0.05s; height: 14px !important; }
.post-audio-waveform span:nth-child(6) { animation-delay: 0.25s; height: 22px !important; }
.post-audio-waveform span:nth-child(7) { animation-delay: 0.18s; }
.post-audio-waveform span:nth-child(8) { animation-delay: 0.08s; height: 18px !important; }

@keyframes waveAnim {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); }
  50% { opacity: 0.9; transform: scaleY(1); }
}

.post-audio-play-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.post-audio-play-btn:hover { opacity: 0.85; }

/* Post text content */
.post-body {
  padding: 12px 16px 0;
}

.post-category {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
  margin-bottom: 5px;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 6px;
}

.post-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

/* Product row inside post */
.post-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--badge-bg);
  border-top: 1px solid var(--border-light);
  margin-top: 10px;
}

.post-product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.post-product-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.post-product-buy:hover { opacity: 0.85; }

/* Event row inside post */
.post-event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  margin-top: 10px;
}

.post-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  width: 44px;
  padding: 4px 0;
  flex-shrink: 0;
}

.post-event-day { font-size: 18px; font-weight: 800; line-height: 1; }
.post-event-month { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.post-event-info { flex: 1; min-width: 0; }
.post-event-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.post-event-loc { font-size: 11px; color: var(--text-muted); }

.post-event-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
  flex-shrink: 0;
}

/* Course row inside post */
.post-course-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  margin-top: 10px;
}

.post-course-badge {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Space Mono', monospace;
  background: rgba(196,89,42,0.1);
  color: var(--accent);
  flex-shrink: 0;
}

.post-course-meta {
  flex: 1;
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.post-course-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}

/* Post interaction bar */
.post-actions {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 4px 8px 8px;
  margin-top: 8px;
  border-top: 1px solid var(--border-light);
}

.post-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Instrument Sans', sans-serif;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.post-action-btn:hover { background: var(--badge-bg); color: var(--text-primary); }
.post-action-btn.liked { color: #EF4444; }
.post-action-btn.liked i { animation: heartPop 0.3s ease; }

.post-action-btn i { font-size: 15px; }

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.post-action-spacer { flex: 1; }

.post-action-btn.save:hover { color: var(--accent-gold); }

/* Load more */
.load-more-wrap {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.load-more-btn.loading i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-top: 60px;
  transition: background 0.3s;
}

[data-theme="night"] .site-footer { background: #0a0806; }

.footer-inner {
  width: 100%;
  padding: 0 40px;
}

@media (max-width: 700px) { .footer-inner { padding: 0 20px; } }

/* Footer Brand row */
.footer-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 0 36px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-brand { max-width: 300px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-mark {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo-text span { color: var(--accent); }

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--badge-bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
}

.footer-social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Footer nav columns */
.footer-nav-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-link {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.15s;
  cursor: pointer;
}

.footer-col-link:hover { color: var(--accent); }

/* Footer Newsletter */
.footer-newsletter {
  padding: 40px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.footer-nl-text { flex: 1; min-width: 220px; }

.footer-nl-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.footer-nl-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-nl-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 420px;
  min-width: 260px;
}

.footer-nl-input {
  flex: 1;
  height: 44px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 20px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.footer-nl-input::placeholder { color: var(--text-muted); }
.footer-nl-input:focus { border-color: var(--accent); }

.footer-nl-btn {
  height: 44px;
  padding: 0 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.footer-nl-btn:hover { opacity: 0.85; }

/* Footer App badges */
/* App badges — inline inside brand column */
.footer-app-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--badge-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.footer-app-badge:hover { border-color: var(--accent); box-shadow: var(--card-shadow); }

.footer-app-badge i { font-size: 20px; color: var(--text-primary); }

.footer-app-badge-text { display: flex; flex-direction: column; }

.footer-app-badge-sub {
  font-size: 9px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-app-badge-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Footer stats band */
.footer-stats-band {
  padding: 24px 0;
  display: flex;
  gap: 40px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.footer-stat-num span { color: var(--accent); }

.footer-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer bottom bar */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-copy {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color 0.15s;
  cursor: pointer;
}

.footer-bottom-link:hover { color: var(--accent); }

/* Language / region selector */
.footer-region {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  cursor: pointer;
  transition: color 0.15s;
}

.footer-region:hover { color: var(--text-primary); }

/* ===== LANDING PAGE SPECIFIC STYLES ===== */

/* Full-width layout — no sidebars */
.lp-body { background: var(--bg-primary); }

/* Section wrappers */
.lp-section {
  padding: 80px 60px;
  width: 100%;
}

.lp-section--dark {
  background: #0F0E0C;
  color: #F0EAE2;
}

[data-theme="night"] .lp-section--alt { background: #161410; }
.lp-section--alt { background: var(--bg-secondary); }

.lp-container {
  width: 100%;
}

.lp-section-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.lp-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.lp-section-title em { color: var(--accent); font-style: italic; }

.lp-section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 680px;
}

/* ===== INTRO SECTION ===== */
.intro-section {
  padding: 100px 60px;
  display: flex;
  align-items: center;
  gap: 80px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.intro-text { flex: 1; }

.intro-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
}

.intro-title em { color: var(--accent); font-style: italic; }

.intro-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 36px;
}

.intro-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.intro-ctas .btn-primary,
.intro-ctas .btn-outline {
  text-transform: none;
  letter-spacing: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.intro-visual {
  flex: 1;
  max-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.intro-visual-card {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}

.intro-visual-card:first-child {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

/* ===== FOR WHOM ===== */
/* For Whom — carousel */
.for-whom-carousel-wrap {
  position: relative;
  overflow: visible;
  margin-top: 48px;
}

.for-whom-carousel-wrap .carousel-track {
  overflow-x: auto;
  overflow-y: visible;
}

.for-whom-card {
  flex-shrink: 0;
  width: 300px;
}

.for-whom-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: start;
}

.for-whom-card:hover { box-shadow: var(--card-hover); transform: translateY(-3px); border-color: var(--accent); }
.for-whom-card.open { border-color: var(--accent); box-shadow: var(--card-hover); }

.for-whom-img {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.for-whom-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.for-whom-body {
  padding: 20px 20px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.for-whom-heading {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.for-whom-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.for-whom-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--badge-bg);
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.for-whom-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.for-whom-card.open .for-whom-expand {
  max-height: 300px;
}

.for-whom-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-bottom: 14px;
}

.for-whom-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: opacity 0.2s;
  align-self: flex-start;
  margin-bottom: 4px;
}

.for-whom-cta:hover { opacity: 0.85; }

/* Learn more bar — sits at the bottom of the body, always visible */
.for-whom-learn-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid var(--border-light);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, color 0.2s;
  background: transparent;
}

.for-whom-learn-more:hover {
  background: rgba(196,89,42,0.06);
}

.for-whom-learn-more i {
  font-size: 11px;
  transition: transform 0.3s;
}

.for-whom-card.open .for-whom-learn-more i { transform: rotate(180deg); }
.for-whom-card.open .for-whom-learn-more { color: var(--text-muted); }

/* Hide the old plus-circle hint */
.for-whom-toggle-hint { display: none !important; }

/* For Whom carousel nav arrows */
.for-whom-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, background 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.for-whom-nav.prev { left: -22px; }
.for-whom-nav.next { right: -22px; }

.for-whom-carousel-wrap:hover .for-whom-nav.arrow-visible {
  opacity: 1;
  pointer-events: auto;
}

.for-whom-nav:hover { background: var(--accent); border-color: var(--accent); }

@media (hover: none) {
  .for-whom-nav.arrow-visible { opacity: 0.7; pointer-events: auto; }
}

@media (max-width: 860px) {
  .for-whom-nav.prev { left: 8px; }
  .for-whom-nav.next { right: 8px; }
}

/* ===== HOW IT WORKS ===== */
/* ===== HOW IT WORKS — Modern Timeline ===== */
.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

/* Remove old pseudo-elements */
.how-it-works-steps::before { display: none; }

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding: 0 24px 0 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hiw-step.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.hiw-step:nth-child(1) { transition-delay: 0s; }
.hiw-step:nth-child(2) { transition-delay: 0.15s; }
.hiw-step:nth-child(3) { transition-delay: 0.3s; }
.hiw-step:nth-child(4) { transition-delay: 0.45s; }

/* ── Number + connector row ── */
.hiw-step-top {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.hiw-step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.hiw-step.visible .hiw-step-num {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(196,89,42,0.12), 0 0 20px rgba(196,89,42,0.18);
}

.hiw-step:hover .hiw-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(196,89,42,0.15), 0 4px 20px rgba(196,89,42,0.3);
}

/* Connector line + arrow between steps */
.hiw-connector {
  flex: 1;
  height: 2px;
  position: relative;
  overflow: visible;
  margin: 0 2px;
}

.hiw-connector-line {
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, var(--accent), var(--accent-gold));
  border-radius: 2px;
  transform: scaleX(var(--hiw-segment-progress, 0));
  transform-origin: left center;
  transition: transform 0.18s linear;
}

.hiw-connector-arrow {
  position: absolute;
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--accent-gold);
  opacity: var(--hiw-segment-progress, 0);
  transition: opacity 0.18s linear;
}

/* ── Text content ── */
.hiw-step-body { padding-right: 8px; flex: 1; }

/* Equal-height step cards (spec A4) — grid rows stretch every card to the tallest */
.how-it-works-steps { align-items: stretch; gap: 16px; }
.hiw-step {
  height: 100%;
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--bg-card, rgba(0,0,0,0.02));
  border: 1px solid var(--border-color, rgba(0,0,0,0.07));
}
body.night-mode .hiw-step,
[data-theme="night"] .hiw-step {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}

/* Scroll-progress rail (spec A4) — fills as the steps block scrolls into view */
.hiw-progress {
  position: relative;
  height: 3px;
  border-radius: 999px;
  margin: 44px 0 0;
  background: var(--border-color, rgba(0,0,0,0.10));
  overflow: hidden;
}
.hiw-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(to right, var(--accent, #C4592A), var(--accent-gold, #C9973A));
  transition: transform 0.25s linear;
}
.how-it-works-steps[data-hiw-steps] { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) {
  .hiw-progress-fill { transition: none; }
  .hiw-connector-line { transform: scaleX(1); transition: none; }
  .hiw-connector-arrow { opacity: 1; transition: none; }
}

.hiw-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.hiw-title-icon {
  font-size: 13px;
  color: var(--accent);
  background: rgba(196,89,42,0.1);
  width: 26px; height: 26px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.hiw-step:hover .hiw-title-icon { background: var(--accent); color: #fff; }

.hiw-step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.72;
  letter-spacing: 0.005em;
}
.hiw-step-title { font-size: 17px; }

/* Responsive */
@media (max-width: 1100px) {
  .how-it-works-steps { gap: 0; }
  .hiw-step-num { width: 44px; height: 44px; font-size: 17px; }
  .hiw-connector-arrow { right: -6px; }
}

@media (max-width: 860px) {
  .how-it-works-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .hiw-connector { display: none; }
  .hiw-connector-arrow { display: none; }
  .hiw-step { padding-right: 16px; }
}

@media (max-width: 580px) {
  .how-it-works-steps { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== ARTISTS CAROUSEL ===== */
.artist-carousel-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: visible;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-align: center;
  /* clip border-radius on body but let cover+avatar overflow cleanly */
  isolation: isolate;
}

/* The body+stats area clips itself within the card radius */
.artist-carousel-body {
  padding: 28px 14px 16px;
  background: var(--bg-card);
  border-radius: 0 0 16px 16px;
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

.artist-carousel-card:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }

.artist-carousel-cover {
  width: 100%;
  height: 110px;
  position: relative;
  overflow: visible;
}

.artist-carousel-cover-img {
  width: 100%;
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.artist-carousel-avatar-wrap {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  z-index: 2;
}

.artist-carousel-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}

.artist-carousel-type {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.artist-carousel-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.artist-carousel-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.artist-carousel-stat-num {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.artist-carousel-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== IMAGE CAROUSEL (Categories) ===== */
.category-carousel-card {
  display: block;
  flex-shrink: 0;
  width: 380px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  color: inherit;
  text-decoration: none;
}

.category-carousel-card:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Tablet: show ~2.5 cards */
@media (max-width: 1024px) {
  .category-carousel-card { width: clamp(260px, 38vw, 380px); }
}

/* Mobile: always show 1.5 cards so the second card is clearly visible */
@media (max-width: 640px) {
  .category-carousel-card {
    width: calc(100vw * 0.72);
    height: 180px;
  }
}

.category-carousel-card:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }

.category-carousel-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  transition: transform 0.5s;
}

.category-carousel-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-carousel-bg-emoji {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.category-carousel-card:hover .category-carousel-bg { transform: scale(1.06); }

.category-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}

.category-carousel-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 18px;
}

.category-carousel-num {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.category-carousel-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.2;
}

.category-carousel-count {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  font-family: 'Space Mono', monospace;
}

.category-carousel-arrow {
  position: absolute;
  top: 12px; right: 14px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s;
}

.category-carousel-card:hover .category-carousel-arrow { opacity: 1; }

/* Category carousel wrapper */
.cat-carousel-wrap {
  position: relative;
  margin-top: 36px;
  padding: 0;
  overflow: hidden;
}

/* Static grid variant (e.g. digital gallery hub): 3 cols x 2 rows on desktop,
   reuses the same image/overlay/hover-zoom card as the carousel above instead
   of scrolling horizontally. */
.universes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.universes-grid .category-carousel-card {
  width: 100%;
  height: 320px;
}

.universes-grid .category-carousel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
}

.universes-grid .category-carousel-cta i { font-size: 10px; }

@media (max-width: 1024px) {
  .universes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .universes-grid { grid-template-columns: 1fr; }
  .universes-grid .category-carousel-card { height: 240px; }
}

/* Prev/next — hover-only on all screen sizes, overlay ON the images */
.cat-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, transform 0.2s;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.cat-carousel-wrap:hover .cat-carousel-nav.arrow-visible,
.au-hub-carousel:hover .cat-carousel-nav.arrow-visible {
  opacity: 1;
  pointer-events: auto;
}

.au-hub-carousel .cat-carousel-nav.arrow-visible {
  opacity: 0.82;
  pointer-events: auto;
}

/* Touch devices */
@media (hover: none) {
  .cat-carousel-nav.arrow-visible {
    opacity: 0.7;
    pointer-events: auto;
  }
}

.cat-carousel-nav:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat-carousel-nav.prev { left: 12px; }
.cat-carousel-nav.next { right: 12px; }
.cat-carousel-nav.prev:hover { transform: translateY(-50%) translateX(-2px); }
.cat-carousel-nav.next:hover { transform: translateY(-50%) translateX(2px); }

/* Edge fades — only over the card images, not over bare background */
.cat-carousel-wrap::before,
.cat-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 8px;
  width: 60px;
  z-index: 6;
  pointer-events: none;
}

.cat-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.22), transparent);
}

.cat-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.22), transparent);
}
.lp-carousel-section {
  padding: 48px 60px 56px;
}

.lp-carousel-section + .lp-carousel-section {
  border-top: 1px solid var(--border-color, rgba(0,0,0,.07));
}

/* ===== CTA BAND ===== */
.cta-band {
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--accent) 0%, #9B3E1A 100%);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: 'A';
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 280px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta-band-inner {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.cta-band-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cta-band-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.cta-band-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: var(--accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-white:hover { opacity: 0.9; }

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-white-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ===== LP FAQ ===== */
.lp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
  margin-top: 48px;
}

.lp-faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}

.lp-faq-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Playfair Display', serif;
}

.lp-faq-question i {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.lp-faq-item.open .lp-faq-question i { transform: rotate(180deg); color: var(--accent); }
.lp-faq-item.open .lp-faq-question { color: var(--accent); }

.lp-faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
}

.lp-faq-item.open .lp-faq-answer {
  max-height: 300px;
  padding-top: 12px;
}

/* ===== LP NAV (simplified — no user menu, no messages) ===== */
/* ── LP Nav links ── */
.lp-nav-links {
  display: flex;
  align-items: stretch;
  flex: 1;
  overflow: visible;
  gap: 0;
  position: relative;
}

.lp-nav-link {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
  transition: color 0.2s;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  height: 64px;
}

.lp-nav-link:hover { color: var(--text-primary); }

.lp-nav-item { position: relative; display: flex; align-items: stretch; }

/* ── Mega menu panel ── */
.lp-mega {
  display: none;
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 96vw);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.14);
  z-index: 1060;
  padding: 24px;
  gap: 24px;
  animation: megaIn 0.18s ease;
}

.lp-mega.open { display: flex; }

@keyframes megaIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.lp-mega-col { flex: 1; }

.lp-mega-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  margin-bottom: 10px;
  padding: 0 10px;
}

.lp-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s;
}

.lp-mega-item:hover { background: var(--badge-bg); }

.lp-mega-item > i {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(196,89,42,0.1);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.lp-mega-item span { display: flex; flex-direction: column; gap: 1px; }
.lp-mega-item b { font-size: 13px; font-weight: 700; }
.lp-mega-item small { font-size: 11px; color: var(--text-muted); }

/* Divider between cols */
.lp-mega-col + .lp-mega-col {
  border-left: 1px solid var(--border-light);
  padding-left: 24px;
}

/* ── Language picker ── */
.lp-lang-wrap { position: relative; flex-shrink: 0; }

.lp-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 100px;
  background: var(--badge-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.lp-lang-trigger:hover { border-color: var(--accent); }

.lp-lang-flag-img {
  width: 20px; height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1.5px solid rgba(0,0,0,0.08);
}

.lp-lang-code {
  display: none;
}

.lp-lang-dd {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
  overflow: hidden;
  z-index: 1060;
}

@keyframes langDdIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lp-lang-dd.open {
  display: block;
  animation: langDdIn 0.16s ease;
}

.lp-lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  font-family: 'Instrument Sans', sans-serif;
  border-bottom: 1px solid var(--border-light);
}

.lp-lang-opt:last-child { border-bottom: none; }
.lp-lang-opt:hover { background: var(--badge-bg); }
.lp-lang-opt.active { color: var(--accent); font-weight: 700; }

.lp-lang-opt-flag {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.08);
}
.lp-lang-opt-name { flex: 1; }

.lp-lang-check {
  font-size: 11px;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.15s;
}

.lp-lang-opt.active .lp-lang-check { opacity: 1; }

/* Mobile language buttons in hamburger menu */
.lp-mobile-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--badge-bg);
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  transition: all 0.15s;
}

.lp-mobile-lang-btn span { font-size: 18px; }
.lp-mobile-lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lp-mobile-lang-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.lp-mobile-flag-img {
  width: 20px; height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.08);
}

/* Always-visible right actions */
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Join dropdown button */
.lp-join-wrap {
  position: relative;
  flex-shrink: 0;
}

.lp-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.lp-join-btn:hover { opacity: 0.88; }

/* Dropdown panel */
.lp-join-dd {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  overflow: hidden;
  z-index: 1050;
  animation: dropIn 0.18s ease;
}

.lp-join-dd.open { display: block; }

.lp-join-dd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-light);
}

.lp-join-dd-item:last-child { border-bottom: none; }
.lp-join-dd-item:hover { background: var(--badge-bg); }

.lp-join-dd-item--accent .lp-join-dd-icon { background: rgba(196,89,42,0.12); color: var(--accent); }
.lp-join-dd-item--accent .lp-join-dd-title { color: var(--accent); }

.lp-join-dd-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--badge-bg);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.lp-join-dd-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.lp-join-dd-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Language switcher buttons */
.lp-lang-btn {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--badge-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: 'Instrument Sans', sans-serif;
  transition: all 0.15s;
}

.lp-lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lp-lang-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Desktop auth: separate Sign In + Join buttons — hidden on mobile */
.lp-desktop-auth { display: inline-flex; }
.lp-mobile-auth  { display: none; }

.lp-nav-signin {
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.lp-nav-signin:hover { border-color: var(--accent); color: var(--accent); }

.lp-nav-join {
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: var(--accent);
  color: #fff;
  border: none;
  transition: opacity 0.2s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.lp-nav-join:hover { opacity: 0.85; }

/* ── Responsive nav ── */
@media (max-width: 860px) {
  /* Nav links go into hamburger */
  .lp-nav-links { display: none; }
  /* Force-hide desktop auth buttons so they take zero space */
  .lp-desktop-auth { display: none !important; }
  /* Show mobile Join dropdown */
  .lp-mobile-auth  { display: block; }
  /* Make nav-inner fill full width — do NOT use overflow:hidden here, it clips dropdown panels */
  .main-nav .nav-inner {
    max-width: 100%;
    width: 100%;
    justify-content: space-between;
    gap: 0;
    padding: 0 12px;
  }
  /* Hamburger: 44x44 minimum tap target */
  .mobile-menu-btn {
    min-width: 44px;
    width: 44px;
    height: 44px;
    padding: 10px;
    flex-shrink: 0;
  }
  /* Logo takes available space, pushes actions to far right */
  .nav-logo { margin-right: auto; padding: 0 8px 0 0; flex-shrink: 1; min-width: 0; }
  /* Right actions: compact gap, don't grow, don't overflow */
  .lp-nav-actions { gap: 6px; flex-shrink: 0; overflow: visible; align-items: center; }
  /* Language switcher: hide text, show flag only to save space */
  .lp-lang-code { display: none; }
  /* Mobile menu: full width, no horizontal overflow */
  #lp-mobile-menu {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    left: 0;
    right: 0;
  }
  /* Collapse theme toggle to icon only */
  .theme-toggle .toggle-label,
  .theme-toggle .toggle-track,
  .theme-toggle .toggle-icon { display: none; }
  .theme-toggle {
    width: 36px; height: 36px;
    padding: 0;
    border-radius: 10px;
    justify-content: center;
    gap: 0;
    border: 1px solid var(--border);
    background: var(--badge-bg);
  }
  .theme-toggle::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 15px;
    color: var(--text-secondary);
    content: '\f185';
  }
  [data-theme=”night”] .theme-toggle::before {
    content: '\f186';
    color: var(--accent-gold);
  }
}

/* ===== RESPONSIVE LP ===== */

/* Carousel track wrapper — full width, no side gaps */
.lp-carousel-track-wrap {
  position: relative;
  padding: 0;
  overflow: visible;
  max-width: 440px;
  margin: 0 auto;
}

/* The actual scrolling track clips its own overflow */
.lp-carousel-track-wrap .carousel-track {
  overflow-x: auto;
  overflow-y: visible;
}

/* Hover-reveal nav arrows shared by artists and categories carousels */
.lp-carousel-track-wrap .carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, background 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.lp-carousel-track-wrap .carousel-nav-btn.prev { left: 12px; }
.lp-carousel-track-wrap .carousel-nav-btn.next { right: 12px; }

.lp-carousel-track-wrap:hover .carousel-nav-btn.arrow-visible {
  opacity: 1;
  pointer-events: auto;
}

.lp-carousel-track-wrap .carousel-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===== ARTIST CAROUSEL CARDS ===== */
.aup-artist-card {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: visible;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  isolation: isolate;
}

.aup-artist-card:hover {
  box-shadow: var(--card-hover);
  transform: translateY(-2px);
}

.aup-artist-cover {
  width: 100%;
  height: 110px;
  position: relative;
  overflow: visible;
  border-radius: 16px 16px 0 0;
}

.aup-artist-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.aup-artist-avatar {
  position: absolute;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  z-index: 2;
}

.aup-artist-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.aup-artist-avatar-ph {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aup-artist-body {
  margin-top: -24px;
  padding: 38px 14px 16px;
  background: var(--bg-card);
  border-radius: 0 0 16px 16px;
  border-top: none;
  position: relative;
  z-index: 1;
}

.aup-artist-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.aup-artist-name a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aup-verified-icon {
  color: #2196f3;
  font-size: 13px;
}

.aup-artist-username {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.aup-artist-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light, var(--border));
}

.aup-artist-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.aup-artist-stat-number {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.aup-artist-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.lp-section[data-au-block-type="artists"] .lp-carousel-track-wrap {
  max-width: none;
  margin: 0;
}

/* Touch devices: always show arrows at reduced opacity */
@media (hover: none) {
  .lp-carousel-track-wrap .carousel-nav-btn.arrow-visible {
    opacity: 0.7;
    pointer-events: auto;
  }
}

.lp-carousel-header-pad {
  padding: 0 60px;
}

.lp-section-header-block {
  padding: 60px 60px 40px;
  background: var(--bg-secondary);
}

/* ===== Editorial and Production Hub Pages ===== */
.au-hub-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 72px 24px 88px;
}

.au-hub-shell {
  max-width: 1600px;
  margin: 0 auto;
}

.au-hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.au-hub-kicker::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
}

.au-hub-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  line-height: 1.05;
  margin: 0;
  max-width: 760px;
}

.au-hub-subtitle {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.au-hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
}

.au-hub-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: var(--bg-card);
}

.au-hub-nav a:hover,
.au-hub-card a:hover,
.au-hub-access:hover em {
  color: var(--accent);
}

.au-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
  padding: 42px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.au-hub-hero h2,
.au-hub-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  line-height: 1.18;
  margin: 0 0 16px;
}

.au-hub-hero p,
.au-hub-card p,
.au-hub-section-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.au-hub-lead {
  font-weight: 700;
  color: var(--text-primary);
}

.au-hub-note {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.au-hub-primary,
.au-hub-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.au-hub-primary {
  margin-top: 18px;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
}

.au-hub-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.au-hub-visual {
  min-height: 240px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(196,89,42,0.12), rgba(15,15,26,0.05));
  border: 1px solid var(--border-light);
}

.au-hub-visual i {
  font-size: 74px;
  color: var(--accent);
}

.au-hub-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.au-hub-grid--features {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.au-hub-grid--compact,
.au-hub-grid--access {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.au-hub-card,
.au-hub-access {
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 22px;
  text-decoration: none;
  color: inherit;
}

.au-hub-card h3,
.au-hub-access strong {
  display: block;
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.25;
  color: var(--text-primary);
}

.au-hub-card p {
  margin: 0 0 16px;
}

.au-hub-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: -22px -22px 18px;
  overflow: hidden;
  background: #16091f;
}

.au-hub-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.35s ease;
}

.au-hub-card:hover .au-hub-card-media img {
  transform: scale(1.04);
}

.au-hub-card--video .au-hub-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.42));
}

.au-hub-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(196,89,42,0.92);
  color: #fff;
  box-shadow: 0 16px 32px rgba(0,0,0,0.28);
}

.au-hub-play i {
  margin-left: 3px;
  font-size: 16px;
}

.au-hub-icon,
.au-hub-access span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(196,89,42,0.12);
  color: var(--accent);
  border-radius: 8px;
}

.au-hub-section {
  margin-top: 54px;
}

.au-editorial-band {
  margin-top: 54px;
  padding: 48px 32px 62px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(196,89,42,0.26), transparent 32%),
    linear-gradient(135deg, rgba(26, 10, 38, 0.98), rgba(80, 28, 95, 0.94));
  color: #fff;
  text-align: center;
}

.au-editorial-band::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
}

.au-editorial-band-panel {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.au-editorial-band .au-hub-icon {
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.au-editorial-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  line-height: 1.18;
  margin: 0 0 12px;
  color: #fff;
}

.au-editorial-band p {
  margin: 0 auto;
  color: rgba(255,255,255,0.86);
  font-size: 15px;
  line-height: 1.65;
}

.au-editorial-band .au-hub-primary {
  background: var(--accent);
  color: #fff;
}

.au-hub-section--carousel {
  margin-top: -34px;
  padding: 0 22px 26px;
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.au-hub-section--carousel + .au-editorial-band {
  margin-top: 50px;
}

.au-hub-carousel {
  position: relative;
  margin-top: 0;
}

.au-hub-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 8px 18px;
  scrollbar-width: none;
}

.au-hub-carousel-track::-webkit-scrollbar {
  display: none;
}

.au-hub-carousel-track .au-hub-card,
.au-hub-carousel-track .au-hub-access {
  flex: 0 0 calc(33.333% - 12px);
  min-height: 220px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(80,28,95,0.12);
  border-top: 4px solid var(--accent);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 40px rgba(26,10,38,0.12);
}

.au-hub-carousel-track .au-hub-card::before,
.au-hub-carousel-track .au-hub-access::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 56px;
  background: linear-gradient(180deg, rgba(196,89,42,0.08), transparent);
  pointer-events: none;
}

[data-theme="night"] .au-hub-carousel-track .au-hub-card,
[data-theme="night"] .au-hub-carousel-track .au-hub-access {
  background: var(--bg-card);
  border-color: var(--border);
  border-top-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

@media (max-width: 767px) {
  .au-editorial-band {
    margin-top: 38px;
    padding: 38px 18px 54px;
  }

  .au-hub-section--carousel + .au-editorial-band {
    margin-top: 38px;
  }

  .au-hub-section--carousel {
    margin-top: -28px;
    padding: 0 10px 18px;
  }

  .au-hub-carousel-track {
    gap: 14px;
    padding-left: 2px;
    padding-right: 2px;
  }

  .au-hub-carousel-track .au-hub-card,
  .au-hub-carousel-track .au-hub-access {
    flex-basis: 100%;
  }

  .au-hub-card-media {
    margin-bottom: 16px;
  }
}

.au-hub-access {
  display: flex;
  flex-direction: column;
}

.au-hub-access small {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.au-hub-access em {
  margin-top: 18px;
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.au-hub-tagline {
  margin: 54px 0 0;
  padding: 24px;
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent);
  color: var(--text-primary);
  font-weight: 800;
}

.au-hub-faq {
  max-width: 860px;
}

@media (max-width: 900px) {
  .au-hub-title { font-size: 42px; }
  .au-hub-hero { grid-template-columns: 1fr; padding: 30px; gap: 28px; }
  .au-hub-visual { min-height: 170px; }
  .au-hub-grid--features,
  .au-hub-grid--compact,
  .au-hub-grid--access { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .au-hub-page { padding: 38px 14px 56px; }
  .au-hub-title { font-size: 32px; }
  .au-hub-subtitle { font-size: 16px; }
  .au-hub-hero { padding: 22px; }
  .au-hub-grid--features,
  .au-hub-grid--compact,
  .au-hub-grid--access { grid-template-columns: 1fr; }
}

/* ===== LANDING PAGE HERO OVERRIDES ===== */
.lp-hero {
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  height: 420px;
  overflow: hidden !important; /* prevent hero track / slides from leaking outside viewport */
  max-width: 100vw;
}

/* Page builder live page hero — shorter than the full landing page hero */
.main-content .hero-slider.lp-hero { height: 280px; }
@media (max-width: 580px) { .main-content .hero-slider.lp-hero { height: 200px; } }

.lp-hero-content {
  padding: 48px 80px 60px !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.lp-hero-title {
  font-size: clamp(28px, 4vw, 58px) !important;
}

.lp-hero-desc {
  display: block !important;
  font-size: 15px !important;
  max-width: 500px !important;
}

/* Hero meta tags beside text on desktop */
.hero-meta-lp {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.6s 0.45s ease, transform 0.6s 0.45s ease;
  flex-shrink: 0;
}

.hero-slide.active .hero-meta-lp {
  opacity: 1;
  transform: translateX(0);
}

/* For Whom card responsive widths */
@media (max-width: 860px) {
  .lp-section[data-au-block-type="artists"] .lp-carousel-track-wrap {
    padding: 0 24px;
  }
  .for-whom-card { width: 260px; }
}
@media (max-width: 580px) {
  .lp-section[data-au-block-type="artists"] .lp-carousel-track-wrap {
    padding: 0 16px;
  }
  .for-whom-card { width: calc(100vw * 0.78); }
}
.artist-carousel-card {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
}

.artist-carousel-cover-img {
  border-radius: 16px 16px 0 0 !important;
}

.artist-carousel-body {
  border-radius: 0 0 16px 16px !important;
  border: 1px solid var(--border) !important;
  border-top: none !important;
  background: var(--bg-card) !important;
}

.artist-carousel-cover {
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  background: var(--badge-bg);
}

.artist-carousel-card:hover .artist-carousel-cover { border-color: transparent; }
.artist-carousel-card:hover .artist-carousel-body { border-color: transparent; }
.artist-carousel-card:hover { filter: drop-shadow(0 8px 24px rgba(26,22,18,0.14)); }

/* Mobile: show 2.5 artist cards */
@media (max-width: 860px) {
  .artist-carousel-card { width: calc((100vw - 48px) / 2.4); }
}

@media (max-width: 580px) {
  .artist-carousel-card { width: calc((100vw - 32px) / 2.2); }
}

/* ===== CATEGORIES — mobile swipe hint + arrows ===== */
.cat-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.3px;
}

.cat-swipe-hint i { font-size: 13px; animation: swipeAnim 1.6s ease-in-out infinite; }

@keyframes swipeAnim {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(5px); opacity: 1; }
}

.cat-carousel-nav-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 24px;
}

.cat-carousel-nav-mobile button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.cat-carousel-nav-mobile button:hover,
.cat-carousel-nav-mobile button:active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Large desktop (≥1400px) ── */
@media (min-width: 1400px) {
  .lp-hero { height: 380px; }
  .lp-hero-content { padding: 60px 100px 80px !important; }
  .lp-carousel-header-pad { padding: 0 80px; }
  .lp-carousel-section { padding: 56px 80px 64px; }
  .lp-section-header-block { padding: 60px 80px 40px; }
}

/* ── Mid desktop / tablet landscape (≤1100px) ── */
@media (max-width: 1100px) {
  .lp-hero { height: 380px; }
  .lp-hero-content { padding: 36px 48px 48px !important; gap: 24px; }
  .hero-meta-lp { display: none !important; }
  /* for-whom-grid removed — now a carousel */
  .how-it-works-steps::before { display: none; }
  .hiw-step::after,
  .hiw-step::before { display: none; }
}

/* ── Tablet portrait (≤860px) ── */
@media (max-width: 860px) {
  /* Hero */
  .lp-hero { height: 320px; }
  .lp-hero-content { padding: 24px 28px 36px !important; flex-direction: column; align-items: flex-start; gap: 0; }
  .lp-hero-title { font-size: clamp(24px, 5vw, 38px) !important; }
  .lp-hero-desc { font-size: 13px !important; }
  .hero-meta-lp { display: none !important; }
  .hero-btn-ghost { display: none !important; }

  /* Intro */
  .intro-section { flex-direction: column; padding: 48px 24px; gap: 32px; }
  .intro-visual { display: none; }
  .intro-title { font-size: clamp(24px, 5vw, 40px); }
  .intro-desc { font-size: 15px; }

  /* Sections */
  .lp-section { padding: 48px 24px; }
  .cta-band { padding: 48px 24px; }
  .cta-band::before { display: none; }
  .lp-carousel-section { padding: 36px 24px 40px; }
  .lp-carousel-header-pad { padding: 0 24px; }
  .lp-section-header-block { padding: 48px 24px 32px; }

  /* For Whom */
  /* for-whom-grid removed */

  /* How It Works */
  .how-it-works-steps { grid-template-columns: repeat(2, 1fr); }

  /* FAQ */
  .lp-faq-grid { grid-template-columns: 1fr; }

  /* Categories: edge fades narrower on tablet */
  .cat-carousel-wrap::before,
  .cat-carousel-wrap::after { width: 28px; }

  /* Content carousels wrapper — no padding, full width always */
}

/* Prevent any full-width block from leaking outside viewport on mobile */
@media (max-width: 860px) {
  html, body { overflow-x: hidden; max-width: 100%; }
}

/* ── Mobile (≤580px) ── */
@media (max-width: 580px) {
  /* Hero */
  .lp-hero { height: 280px; }
  .lp-hero-content { padding: 16px 18px 28px !important; }
  .lp-hero-title { font-size: clamp(20px, 6.5vw, 30px) !important; margin-bottom: 8px; }
  .lp-hero-desc { display: none !important; }
  .hero-eyebrow { font-size: 9px; }
  .hero-arrow { width: 34px; height: 34px; font-size: 13px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }

  /* Intro */
  .intro-section { padding: 40px 16px; flex-direction: column; }
  .intro-visual { display: none; }
  .intro-title { font-size: clamp(22px, 6vw, 34px); }

  /* Sections */
  .lp-section { padding: 40px 16px; }
  .cta-band { padding: 40px 16px; }
  .lp-carousel-section { padding: 28px 16px 32px; }
  .lp-carousel-header-pad { padding: 0 16px; }
  .lp-section-header-block { padding: 40px 16px 28px; }

  /* For Whom: single col */
  /* for-whom-grid removed */

  /* How It Works: single col */
  .how-it-works-steps { grid-template-columns: 1fr; }

  /* Categories mobile arrows */
  .cat-carousel-wrap::before,
  .cat-carousel-wrap::after { width: 20px; }

  /* Carousels content header */
  div[style*="padding:0 60px"] { padding: 0 16px !important; }
  div[style*="padding: 0 60px"] { padding: 0 16px !important; }
}

/* ── Very small (≤380px) ── */
@media (max-width: 380px) {
  .lp-hero { height: 240px; }
  .lp-hero-content { padding: 12px 14px 22px !important; }
  .hero-btn-primary { font-size: 10px; padding: 8px 14px; }
  .lp-section { padding: 32px 12px; }
  .intro-section { padding: 32px 12px; }
}

/* ===== FOOTER SOCIAL ICON CONTRAST FIX ===== */
/* Social icons inside dark-background footer blocks must be visible regardless of CSS var theme */
.site-footer .footer-social-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
}
.site-footer .footer-social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.au-footer-mini a,
.au-footer-mini i {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transform: none !important;
  box-shadow: none !important;
}

.main-nav {
  background: #fffaf4;
}

.main-nav .nav-logo-text,
.main-nav .logo-text,
.main-nav .site-logo,
.main-nav .nav-brand {
  color: #1c1c19;
  text-shadow: none;
}

.main-nav .nav-logo-mark {
  background: #c05e2b;
  color: #ffffff;
}

.main-nav[style*="#1a1a2e"] .nav-logo-text,
.main-nav[style*="#0f0f1a"] .nav-logo-text {
  color: #ffffff;
}

/* ===== SKELETON LOADING ===== */
@keyframes au-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sk-shimmer {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--border) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: au-shimmer 1.6s ease-in-out infinite;
  border-radius: 6px;
}

/* Skeleton blog card */
.sk-blog-card {
  min-width: 240px; max-width: 260px; flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sk-blog-card .sk-img  { height: 160px; }
.sk-blog-card .sk-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sk-blog-card .sk-line { height: 12px; border-radius: 4px; }
.sk-blog-card .sk-line.w80 { width: 80%; }
.sk-blog-card .sk-line.w60 { width: 60%; }
.sk-blog-card .sk-line.w40 { width: 40%; }

/* Skeleton audio card */
.sk-audio-card {
  min-width: 200px; max-width: 220px; flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sk-audio-card .sk-img  { height: 200px; }
.sk-audio-card .sk-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.sk-audio-card .sk-line { height: 11px; border-radius: 4px; }
.sk-audio-card .sk-line.w80 { width: 80%; }
.sk-audio-card .sk-line.w55 { width: 55%; }

/* Skeleton reel card */
.sk-reel-card {
  min-width: 140px; max-width: 150px; flex-shrink: 0;
  aspect-ratio: 9/16;
  border-radius: 10px;
  overflow: hidden;
}

/* Skeleton video card */
.sk-video-card {
  min-width: 240px; max-width: 260px; flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sk-video-card .sk-img  { height: 150px; }
.sk-video-card .sk-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.sk-video-card .sk-line { height: 12px; border-radius: 4px; }
.sk-video-card .sk-line.w85 { width: 85%; }
.sk-video-card .sk-line.w55 { width: 55%; }

/* Skeleton product card */
.sk-product-card {
  min-width: 200px; max-width: 220px; flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sk-product-card .sk-img  { height: 180px; }
.sk-product-card .sk-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.sk-product-card .sk-line { height: 12px; border-radius: 4px; }
.sk-product-card .sk-line.w75 { width: 75%; }
.sk-product-card .sk-line.w45 { width: 45%; }

/* Skeleton course card */
.sk-course-card {
  min-width: 240px; max-width: 260px; flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sk-course-card .sk-img  { height: 160px; }
.sk-course-card .sk-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sk-course-card .sk-line { height: 12px; border-radius: 4px; }
.sk-course-card .sk-line.w80 { width: 80%; }
.sk-course-card .sk-line.w60 { width: 60%; }

/* Skeleton event card */
.sk-event-card {
  min-width: 240px; max-width: 260px; flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sk-event-card .sk-img  { height: 140px; }
.sk-event-card .sk-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sk-event-card .sk-line { height: 12px; border-radius: 4px; }
.sk-event-card .sk-line.w70 { width: 70%; }
.sk-event-card .sk-line.w50 { width: 50%; }

/* Logo image in nav */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Notification / message dropdown items */
.dd-notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: background 0.15s;
}
.dd-notif-item:hover { background: var(--badge-bg); }
.dd-notif-item:last-child { border-bottom: none; }
.dd-notif-avatar {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
}
.dd-notif-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.dd-notif-text { flex: 1; min-width: 0; }
.dd-notif-text strong { font-size: 12px; font-weight: 600; color: var(--text-primary); display: block; line-height: 1.4; }
.dd-notif-text span  { font-size: 11px; color: var(--text-muted); font-family: 'Space Mono', monospace; }
.dd-notif-unread { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 5px; }
.dd-empty { padding: 20px 16px; text-align: center; font-size: 13px; color: var(--text-muted); }

/* Wallet badge in sidebar */
.sidebar-wallet-balance {
  font-size: 11px;
  font-family: 'Space Mono', monospace;
  color: var(--accent);
  font-weight: 700;
}

/* ===== LANDING — ACTION BAND (CRÉER · EXPOSER · ÉCOUTER …) ===== */
.lp-action-band {
  background: #0f0f1a;
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-action-band-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}
.lp-action-band-word {
  position: relative;
  display: inline-flex;
  font-family: 'Space Mono', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s, opacity 0.16s;
}
.lp-action-band-word:hover {
  color: var(--accent-gold);
  opacity: 1;
}
.lp-action-band-word + .lp-action-band-word::before {
  content: "·";
  position: absolute;
  left: -15px;
  color: var(--accent, #C4592A);
  font-weight: 700;
}
@media (max-width: 600px) {
  .lp-action-band-track { gap: 8px 20px; padding: 14px 16px; }
  .lp-action-band-word { font-size: 11px; letter-spacing: 1.5px; }
  .lp-action-band-word + .lp-action-band-word::before { left: -12px; }
}

/* ===== LANDING — FEATURED ARTISTS: discipline filter + richer card (spec A6) ===== */
.carousel-section .au-artist-filters,
.carousel-section .au-course-filters {
  background: transparent;
  padding: 0 0 14px;
}

.au-filter-empty {
  padding: 32px 24px;
  color: var(--text-muted, #888);
  font-size: .92rem;
}

/* .au-course-filters (spec A7-F) reuses the same chip styling as the artist filter.
   The bar is a bare <body> child wedged between two carousel sections, so it must
   paint the same background and share the section gutter to read as one band.
   #f8fafc mirrors the seeded bg_color of the universes / artists / courses blocks
   in includes/au-seed-system-pages.php; left padding matches .lp-section (60px) so
   the chips line up under the section title. */
.au-artist-filters,
.au-course-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 22px 60px 2px;
  background: #f8fafc;
}
body.night-mode .au-artist-filters,
body.night-mode .au-course-filters,
[data-theme="night"] .au-artist-filters,
[data-theme="night"] .au-course-filters { background: #161410; }
@media (max-width: 860px) {
  .au-artist-filters, .au-course-filters { padding: 18px 24px 0; gap: 8px; }
}
@media (max-width: 580px) {
  .au-artist-filters, .au-course-filters {
    padding: 16px 16px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .au-artist-filters::-webkit-scrollbar, .au-course-filters::-webkit-scrollbar { display: none; }
}
.au-artist-filter-chip {
  flex: none;
  border: 1px solid var(--border-color, rgba(0,0,0,0.12));
  background: var(--bg-card, #fff);
  color: var(--text-secondary, #555);
  font: 600 13px/1 inherit;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.au-artist-filter-chip:hover {
  border-color: var(--accent, #C4592A);
  color: var(--accent, #C4592A);
  background: rgba(196, 89, 42, 0.06);
}
.au-artist-filter-chip.is-active {
  background: var(--accent, #C4592A);
  border-color: var(--accent, #C4592A);
  color: #fff;
  box-shadow: 0 2px 10px rgba(196, 89, 42, 0.25);
}
body.night-mode .au-artist-filter-chip,
[data-theme="night"] .au-artist-filter-chip {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04);
}

/* Generic category filter bar for shared carousel blocks (blogs/videos/
   products/services/events) — populated client-side by
   auInitCarouselFilterBars() in au-design.js from the categories actually
   present among the rendered cards. Reuses the artist/course filter chip
   visual language above, but sits inside the carousel section itself
   (between the header and the track) rather than as a bare body child. */
.carousel-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0 0 14px;
}
@media (max-width: 580px) {
  .carousel-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .carousel-filter-bar::-webkit-scrollbar { display: none; }
}
.carousel-filter-chip {
  flex: none;
  border: 1px solid var(--border-color, rgba(0,0,0,0.12));
  background: var(--bg-card, #fff);
  color: var(--text-secondary, #555);
  font: 600 13px/1 inherit;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.carousel-filter-chip:hover {
  border-color: var(--accent, #C4592A);
  color: var(--accent, #C4592A);
  background: rgba(196, 89, 42, 0.06);
}
.carousel-filter-chip.is-active {
  background: var(--accent, #C4592A);
  border-color: var(--accent, #C4592A);
  color: #fff;
  box-shadow: 0 2px 10px rgba(196, 89, 42, 0.25);
}
body.night-mode .carousel-filter-chip,
[data-theme="night"] .carousel-filter-chip {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04);
}

.artist-carousel-location {
  font-size: 11.5px;
  color: var(--text-muted, #888);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.artist-carousel-cta {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--accent, #C4592A);
  color: var(--accent, #C4592A);
  font-weight: 600;
  font-size: 12.5px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.artist-carousel-cta:hover { background: var(--accent, #C4592A); color: #fff; }

/* ===== LANDING — 6 ARTISTIC UNIVERSES (reuses .category-carousel-card) ===== */
.universe-card .category-carousel-bg { font-size: 30px; }
.universe-card .category-carousel-num {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 2px;
}
.universe-card .universe-card-desc {
  font-weight: 400;
  line-height: 1.45;
  opacity: 0.9;
  white-space: normal;
}
