/* ============================================================
   CORTIS TH — Global Styles
   Brand: Color Outside the Lines · Fandom: COER
   Member Colors: Red · Green · Blue · Black · Yellow
   ============================================================ */

:root,
[data-theme="dark"] {
  /* Brand */
  --cortis-green: #94B091;
  --cortis-pink: #FF2E93;
  --cortis-red: #E63946;
  --cortis-blue: #4DB8FF;
  --cortis-yellow: #FFD60A;
  --cortis-gold: #E8B923;
  --cortis-black: #2B2B2B;
  --cortis-desert: #D4A574;
  --coer-glow: rgba(255, 255, 255, 0.15);

  /* Surfaces */
  --bg-dark: #0F0F11;
  --bg-card: #18181A;
  --bg-elevated: #1E1E22;
  --bg-black: #000000;
  --border: #2A2A2E;

  /* Text */
  --text-main: #FFFFFF;
  --text-muted: #888888;
  --text-subtle: #666666;
  --text-nav: #BBBBBB;

  /* UI tokens */
  --nav-bg: rgba(15, 15, 17, 0.92);
  --nav-mobile-bg: rgba(15, 15, 17, 0.98);
  --surface-overlay: rgba(0, 0, 0, 0.35);
  --surface-overlay-strong: rgba(0, 0, 0, 0.5);
  --surface-muted: rgba(0, 0, 0, 0.25);
  --surface-input: #000000;
  --progress-track: #333333;
  --text-on-accent: #000000;
  --text-on-pink: #FFFFFF;
  --logo-icon-text: #000000;
  --shadow: rgba(0, 0, 0, 0.3);
  --hero-overlay: rgba(15, 15, 17, 0.75);
  --hero-badge-bg: rgba(0, 0, 0, 0.5);
  --hero-stats-bg: rgba(0, 0, 0, 0.45);
  --video-toggle-bg: rgba(0, 0, 0, 0.6);
  --lightbox-backdrop: rgba(0, 0, 0, 0.85);
  --thumb-cat-bg: rgba(0, 0, 0, 0.6);
  --color-badge-text: #FFFFFF;
  --hero-desc-color: rgba(255, 255, 255, 0.75);
  --hero-text-shadow: rgba(0, 0, 0, 0.6);
  --stat-divider-color: rgba(255, 255, 255, 0.12);
  --quick-icon-bg: rgba(255, 255, 255, 0.04);
  --chip-hover-bg: rgba(255, 255, 255, 0.04);
  --release-art-text: #000000;
  --release-art-subtext: rgba(0, 0, 0, 0.6);
  --page-home-nav-bg: rgba(15, 15, 17, 0.6);
  --page-home-nav-border: rgba(255, 255, 255, 0.06);
  --online-color: #4eff82;

  /* Layout */
  --nav-height: 72px;
  --banner-height: 0px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.25s var(--ease-out);
}

/* Light theme — CORTIS logo palette (cream + charcoal) */
[data-theme="light"] {
  --cortis-green: #6B8F68;
  --cortis-pink: #E0257A;
  --cortis-gold: #C9A227;
  --coer-glow: rgba(107, 143, 104, 0.18);

  --bg-dark: #F2EEE9;
  --bg-card: #EAE4DC;
  --bg-elevated: #E3DDD5;
  --bg-black: #2A2523;
  --border: #D4CCC3;

  --text-main: #2A2523;
  --text-muted: #6B635C;
  --text-subtle: #8A827A;
  --text-nav: #5C554E;

  --nav-bg: rgba(242, 238, 233, 0.92);
  --nav-mobile-bg: rgba(242, 238, 233, 0.98);
  --surface-overlay: rgba(42, 37, 35, 0.06);
  --surface-overlay-strong: rgba(42, 37, 35, 0.10);
  --surface-muted: rgba(42, 37, 35, 0.05);
  --surface-input: #FFFFFF;
  --progress-track: #D4CCC3;
  --text-on-accent: #F2EEE9;
  --text-on-pink: #FFFFFF;
  --logo-icon-text: #F2EEE9;
  --shadow: rgba(42, 37, 35, 0.12);
  --hero-overlay: rgba(242, 238, 233, 0.82);
  --hero-badge-bg: rgba(234, 228, 220, 0.88);
  --hero-stats-bg: rgba(234, 228, 220, 0.92);
  --video-toggle-bg: rgba(42, 37, 35, 0.75);
  --lightbox-backdrop: rgba(42, 37, 35, 0.55);
  --thumb-cat-bg: rgba(42, 37, 35, 0.72);
  --color-badge-text: #F2EEE9;
  --hero-desc-color: var(--text-muted);
  --hero-text-shadow: rgba(42, 37, 35, 0.12);
  --stat-divider-color: var(--border);
  --quick-icon-bg: var(--surface-overlay);
  --chip-hover-bg: var(--surface-overlay);
  --release-art-text: #F2EEE9;
  --release-art-subtext: rgba(242, 238, 233, 0.75);
  --page-home-nav-bg: rgba(242, 238, 233, 0.78);
  --page-home-nav-border: var(--border);
  --online-color: #3DA85A;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  font-family: 'Noto Sans Thai', 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.5s ease;
  -webkit-font-smoothing: antialiased;
}

body.dark-theme,
body.light-theme {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cortis-pink);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

/* ── Navigation ── */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--banner-height);
  background-color: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  gap: 16px;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--cortis-green);
  color: var(--logo-icon-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: 2px solid var(--cortis-pink);
  font-size: 18px;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.logo-icon.sm {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.logo-text {
  font-weight: 900;
  font-size: 20px;
  color: var(--cortis-green);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.05em;
}

.logo-text small {
  font-size: 10px;
  color: var(--cortis-pink);
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-nav);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  line-height: 1.2;
}

.nav-label-th { font-size: 13px; font-weight: 700; }
.nav-label-en {
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.6;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cortis-green);
  background: rgba(148, 176, 145, 0.1);
}

.nav-links a.active .nav-label-en { color: var(--cortis-pink); opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-messages-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface-overlay);
  color: var(--text-nav);
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-messages-btn .ico {
  width: 18px;
  height: 18px;
}

.nav-messages-btn:hover,
.nav-messages-btn.is-active {
  border-color: var(--cortis-green);
  color: var(--cortis-green);
  background: rgba(148, 176, 145, 0.1);
}

.nav-actions:has(.account-menu.is-user) .nav-messages-btn {
  border-color: rgba(148, 176, 145, 0.35);
}

/* ── Account dropdown menu ── */
.account-menu {
  position: relative;
}

.account-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--surface-overlay);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.account-menu-trigger:hover,
.account-menu.is-open .account-menu-trigger {
  border-color: var(--cortis-green);
  color: var(--cortis-green);
}

.account-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 200;
  min-width: 280px;
  padding: 8px 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px var(--shadow);
}

[data-theme="light"] .account-menu-panel {
  background: #fff;
  box-shadow: 0 16px 40px rgba(42, 37, 35, 0.14);
}

.account-menu-section {
  display: flex;
  flex-direction: column;
}

.account-menu-section[hidden],
.account-menu-item[hidden],
.account-menu-shared[hidden],
#accountMenuUser[hidden] {
  display: none !important;
}

.account-menu-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.account-menu-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  background: var(--cortis-green);
}

.account-menu-profile-text {
  min-width: 0;
  flex: 1;
}

.account-menu-profile-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-profile-text span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-trigger-icon,
.account-menu-trigger-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-menu-trigger-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: var(--cortis-green);
}

.account-menu.is-user .account-menu-trigger-icon {
  display: none;
}

.account-menu.is-user .account-menu-trigger {
  background: transparent;
  border-color: transparent;
  padding: 0;
  overflow: hidden;
}

.account-menu.is-user .account-menu-trigger:hover,
.account-menu.is-user.account-menu.is-open .account-menu-trigger {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--cortis-green);
}

.account-menu.is-user .account-menu-trigger-avatar {
  display: inline-flex;
}

.account-menu:not(.is-user) .account-menu-trigger-avatar {
  display: none !important;
}

.account-menu-logout {
  color: var(--text-main);
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: inherit;
  text-align: left;
}

.account-menu-item:hover {
  background: var(--chip-hover-bg);
  color: var(--cortis-green);
}

.account-menu-item .ico {
  flex-shrink: 0;
  opacity: 0.85;
}

.account-menu-divider {
  height: 1px;
  margin: 6px 0;
  background: var(--border);
}

.account-menu-switch {
  cursor: default;
  justify-content: flex-start;
}

.account-menu-switch span {
  flex: 1;
}

.account-theme-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  margin: 0;
  background: var(--progress-track);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.account-theme-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.account-theme-switch:checked {
  background: var(--cortis-green);
}

.account-theme-switch:checked::after {
  transform: translateX(18px);
}

@media (max-width: 900px) {
  .account-menu-panel {
    right: -8px;
    min-width: 220px;
  }
}

.btn-theme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-overlay);
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  position: relative;
}

.btn-theme:hover {
  border-color: var(--cortis-green);
  color: var(--cortis-green);
}

.btn-theme .ico-theme {
  width: 18px;
  height: 18px;
}

.btn-theme .ico-theme-dark { display: none; }
[data-theme="light"] .btn-theme .ico-theme-light { display: none; }
[data-theme="light"] .btn-theme .ico-theme-dark { display: block; }

.btn-theme-label {
  font-size: 12px;
}

@media (max-width: 900px) {
  .btn-theme-label { display: none; }
}

/* ── Login required modal ── */
.login-required-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}

.login-required-overlay[hidden] {
  display: none;
}

.login-required-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 32px 28px 28px;
  text-align: center;
}

.login-required-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-overlay);
  color: var(--text-muted);
  cursor: pointer;
}

.login-required-close:hover {
  color: var(--text-main);
}

.login-required-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--cortis-green);
}

.login-required-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-required-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

.login-required-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-required-actions .btn-primary,
.login-required-actions .btn-outline {
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

/* ── Shared Components ── */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.page-header {
  margin-bottom: 48px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(148, 176, 145, 0.12);
  color: var(--cortis-green);
  border: 1px solid rgba(148, 176, 145, 0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.page-header .highlight { color: var(--cortis-green); }

.page-header p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 16px;
  max-width: 640px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition), background-color 0.4s ease;
}

.card:hover { border-color: rgba(148, 176, 145, 0.25); }

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cortis-green);
  margin-bottom: 20px;
}

.card-title .ico-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(148, 176, 145, 0.12);
  color: var(--cortis-green);
  flex-shrink: 0;
}

.card-title h2 {
  font-size: 18px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.04em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cortis-green);
  color: var(--text-on-accent);
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--cortis-pink);
  color: var(--text-on-pink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 46, 147, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cortis-green);
  border: 2px solid var(--cortis-green);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-outline:hover {
  background: rgba(148, 176, 145, 0.12);
  border-color: var(--cortis-pink);
  color: var(--cortis-pink);
}

.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--cortis-pink);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-beus {
  grid-template-columns: repeat(5, 1fr);
}

.footer-col h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--cortis-green);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover { color: var(--cortis-green); }

.footer-brand.compact {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand strong {
  font-size: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--cortis-green);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-greeting {
  font-style: italic;
  color: var(--cortis-pink) !important;
  margin-top: 8px !important;
}

.footer-links h3,
.footer-about h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--cortis-green);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--cortis-green); }

.footer-about p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-about em { color: var(--cortis-pink); font-style: normal; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-subtle);
  margin: 4px 0;
}

/* ── Animations ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s var(--ease-out) both;
}

/* ── SVG Icons ── */
.ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 28px; height: 28px; }
.ico-btn { width: 18px; height: 18px; }

.btn-primary,
.btn-outline {
  gap: 8px;
}

.btn-primary .ico,
.btn-outline .ico {
  width: 16px;
  height: 16px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-heading .ico-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(148, 176, 145, 0.1);
  color: var(--cortis-green);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── Feed Hub (BEUS-inspired) ── */
.hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}

.hub-main { min-width: 0; }

.featured-post {
  padding: 0;
  overflow: hidden;
  margin-bottom: 28px;
}

.featured-link {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.featured-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.featured-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 900;
  line-height: 1.35;
  margin: 10px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color var(--transition);
  word-break: break-word;
}

.featured-link:hover .featured-title { color: var(--cortis-green); }

.featured-thumb {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.12em;
}

.featured-thumb-label { opacity: 0.35; color: var(--text-main); }

.thumb-green    { background: linear-gradient(145deg, var(--cortis-green), #6B8F68); }
.thumb-pink     { background: linear-gradient(145deg, var(--cortis-pink), #CC2475); }
.thumb-blue     { background: linear-gradient(145deg, var(--cortis-blue), #2A8FCC); }
.thumb-yellow   { background: linear-gradient(145deg, var(--cortis-yellow), #E6B800); }
.thumb-gradient { background: linear-gradient(135deg, var(--cortis-green), var(--cortis-pink)); }

.featured-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post-tag {
  padding: 4px 10px;
  background: var(--surface-overlay);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--cortis-green);
  letter-spacing: 0.02em;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.post-meta.compact { margin-top: 10px; }

.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cortis-green);
  color: var(--text-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex-shrink: 0;
}

.author-avatar.sm {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.author-name {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.verified-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--cortis-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cortis-gold);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(232, 185, 35, 0.35);
}

.member-verified .ico-verified {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.artist-name-row,
.member-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--cortis-red);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-follow:hover {
  background: #ff4d58;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35);
}

.btn-follow.is-following {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-follow.is-following:hover {
  border-color: var(--cortis-red);
  color: var(--cortis-red);
  transform: none;
}

.btn-follow.btn-follow-sm {
  padding: 6px 14px;
  font-size: 11px;
}

.post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-subtle);
}

.post-date { font-size: 12px; color: var(--text-subtle); }

.category-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar { display: none; }

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.category-chip:hover {
  border-color: var(--cortis-green);
  color: var(--cortis-green);
}

.category-chip.active {
  background: var(--cortis-green);
  color: var(--text-on-accent);
  border-color: var(--cortis-green);
}

.cat-count {
  font-size: 11px;
  opacity: 0.75;
  font-family: monospace;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.feed-card {
  padding: 0;
  overflow: hidden;
}

.feed-card.feed-hidden { display: none; }
.feed-card.filtered-out { display: none; }

.feed-card-link {
  display: flex;
  gap: 20px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.feed-card-link:hover .feed-title { color: var(--cortis-green); }

.feed-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-on-accent);
}

.feed-body { flex: 1; min-width: 0; }

.feed-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  margin: 8px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color var(--transition);
  word-break: break-word;
}

.btn-show-more {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-show-more:hover {
  border-color: var(--cortis-green);
  color: var(--cortis-green);
}

.btn-show-more.hidden { display: none; }

/* Sidebar widgets */
.hub-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--banner-height) + var(--nav-height) + 16px);
}

.widget { padding: 22px; }

.widget-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--cortis-green);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.widget-categories { list-style: none; }

.widget-categories li { margin-bottom: 4px; }

.widget-cat-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  text-align: left;
}

.widget-cat-btn:hover {
  background: var(--surface-overlay);
  color: var(--cortis-green);
}

.widget-schedule { list-style: none; }

.widget-schedule li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.widget-schedule li:last-child { border-bottom: none; }

.widget-schedule time {
  font-size: 11px;
  font-weight: 700;
  color: var(--cortis-green);
}

.widget-schedule p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.widget-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cortis-green);
  text-decoration: none;
  transition: color var(--transition);
}

.widget-link:hover { color: var(--cortis-pink); }

.widget-members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-overlay);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pill-color);
}

.member-pill:hover {
  border-color: var(--pill-color);
}

.widget-cta p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.about-hub {
  padding: 40px;
}

.about-hub h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.about-hub p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.about-hub em { color: var(--cortis-pink); font-style: normal; }

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .hub-grid { grid-template-columns: 1fr; }
  .hub-sidebar { position: static; }
  .featured-link { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 160px; }
}

@media (max-width: 600px) {
  .feed-card-link { flex-direction: column; }
  .feed-thumb { width: 100%; height: 80px; }
  .featured-body { padding: 20px; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-inner,
  .footer-beus { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 600px) {
  .footer-beus { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--nav-mobile-bg);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 4px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .nav-actions {
    gap: 6px;
  }

}
