/**
 * Lapwing Book Club — Modern Components
 * Mobile-first components: nav, bottom nav, book/meeting cards, login panel.
 * Replaces: wise-theme.css, new-nav.css, meeting-cards.css, recommendations.css, custom.css
 */

/* ─── Top Navbar ─────────────────────────────────────────────────── */
.navbar {
  background: var(--color-brand) !important;
  padding: 0.6rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: none;
  letter-spacing: 0.01em;
}

.navbar-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Desktop nav links — clean, no icons */
.nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
  text-shadow: none;
}
.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}

/* Group badge in nav */
.badge-group {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3em 0.75em;
  border-radius: var(--radius-pill);
}

/* Admin dropdown */
.dropdown-menu {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.dropdown-item {
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  padding: 0.55rem 0.9rem;
  color: var(--color-text);
  transition: background 0.1s ease;
}
.dropdown-item:hover {
  background: var(--color-surface-2);
  color: var(--color-brand);
}
.dropdown-item i { width: 16px; text-align: center; }

/* Mobile: hide desktop collapse nav */
@media (max-width: 767px) {
  #navbarNav { display: none !important; }
  .navbar-toggler { display: none !important; }
  /* On mobile the brand + group badge is enough in the top bar */
  .navbar-brand { font-size: 1rem; }
  .navbar-logo { width: 26px; height: 26px; }
}

/* ─── Mobile Bottom Navigation ───────────────────────────────────── */
#bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  height: 62px;
  align-items: stretch;
  padding: 0;
  /* Safe area for notched phones */
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--color-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.15s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  min-height: var(--touch-min);
  position: relative;
}
.bottom-nav-item i {
  font-size: 1.1rem;
  transition: transform 0.15s ease;
}
.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--color-brand);
  text-decoration: none;
}
.bottom-nav-item.active i { transform: scale(1.1); }
.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--color-brand);
  border-radius: 0 0 2px 2px;
}

/* Desktop: hide bottom nav */
@media (min-width: 768px) {
  #bottom-nav { display: none; }
}

/* ─── Book Cards (list layout with spine colour) ─────────────────── */
.book-item {
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--spine-color, var(--color-accent));
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--space-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.book-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.book-list-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px var(--space-md);
}

.book-cover-container {
  flex-shrink: 0;
}
/* Constrain size only inside book list rows */
.book-list-content .book-cover-container {
  width: 48px;
}
/* Small cover inside list items */
.book-cover-container .book-cover-image {
  width: 48px;
  height: 68px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
  display: block;
}
/* Large cover on standalone book view pages — let it size naturally */
.card-body.text-center .book-cover-image {
  max-width: 200px;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: block;
  margin: 0 auto;
}
.book-cover-placeholder {
  width: 48px;
  height: 68px;
  background: var(--color-surface-2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted-2);
}

.book-details { flex: 1; min-width: 0; }

.book-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 1px;
  line-height: 1.25;
}
.book-author {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 4px;
  font-style: italic;
}

.book-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: 4px;
}
.book-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 6px;
}
.book-added-date {
  font-size: 0.72rem;
  color: var(--color-muted-2);
}

/* Compact vote buttons */
.vote-btn-group {
  display: flex;
  gap: 4px;
  align-items: center;
}
.vote-btn-group .btn {
  min-height: 36px;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
}

/* ─── Meeting Cards (dashboard + meetings index) ──────────────────── */
.meeting-item {
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--spine-color, var(--color-accent));
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--space-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.meeting-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.meeting-list-content {
  padding: var(--space-md);
}
.meeting-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
}
.meeting-info { flex: 1; min-width: 0; }

.meeting-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.meeting-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 2px;
  line-height: 1.3;
}
.meeting-author {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-style: italic;
  margin-bottom: 0;
}

.meeting-actions { flex-shrink: 0; }
.meeting-buttons {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Mobile: stack meeting card */
@media (max-width: 575px) {
  .meeting-main { flex-direction: column; gap: var(--space-sm); }
  .meeting-buttons { justify-content: flex-start; }
}

/* Grid layout for meetings index (not dashboard) */
.meetings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 576px) {
  .meetings-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .meetings-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Meeting grid card (meetings index) */
.meeting-grid-card {
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--spine-color, var(--color-accent));
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  padding: var(--space-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.meeting-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.meeting-grid-card .meeting-date {
  font-size: 0.72rem;
}
.meeting-grid-card .meeting-title {
  font-size: 0.95rem;
}
.meeting-grid-card .meeting-footer {
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
  display: flex;
  gap: 6px;
}

/* ─── Login Split Panel ───────────────────────────────────────────── */
.login-page {
  min-height: calc(100vh - 62px); /* full height minus navbar */
  display: flex;
  align-items: stretch;
}

.login-brand-panel {
  display: none; /* hidden on mobile */
  background: var(--color-brand);
  color: #fff;
  padding: var(--space-2xl) var(--space-xl);
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xl);
}
.login-brand-panel .brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.login-brand-panel h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.login-brand-panel p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.login-brand-quote {
  border-left: 3px solid rgba(255,255,255,0.4);
  padding-left: var(--space-md);
  font-style: italic;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

.login-form-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-surface);
  min-height: calc(100vh - 62px);
}
.login-form-inner {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
.login-form-panel h2 {
  margin-bottom: var(--space-xs);
}
.login-form-panel .login-subtitle {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

/* Desktop split */
@media (min-width: 768px) {
  .login-brand-panel { display: flex; width: 45%; }
  .login-form-panel  { min-height: auto; padding: var(--space-2xl); }
}
@media (min-width: 1200px) {
  .login-brand-panel { width: 42%; }
}

/* Google button */
.btn-google {
  background: #fff;
  color: #3c4043;
  border: 1.5px solid var(--color-border);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--touch-min);
  transition: background 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  justify-content: center;
}
.btn-google:hover {
  background: #f8f9fa;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: #3c4043;
}

/* Wisdom-link → brand link */
.wisdom-link, a.wisdom-link {
  color: var(--color-brand);
  font-weight: 500;
}
.wisdom-link:hover { color: var(--color-brand-dark); }

/* ─── Dashboard Hero ─────────────────────────────────────────────── */
.dashboard-hero {
  padding: var(--space-lg) 0 var(--space-md);
}
.dashboard-hero h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin-bottom: 4px;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.stat-card i {
  color: var(--color-brand);
  font-size: 1.1rem;
  margin-bottom: 4px;
  display: block;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ─── Quick Actions Panel ────────────────────────────────────────── */
.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  min-height: 72px;
  text-decoration: none;
}
.quick-action-btn i {
  font-size: 1.25rem;
  color: var(--color-brand);
}
.quick-action-btn:hover {
  border-color: var(--color-brand);
  background: rgba(154, 31, 64, 0.04);
  color: var(--color-brand);
  text-decoration: none;
}
.quick-action-btn.highlight {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: #fff;
}
.quick-action-btn.highlight i { color: #fff; }
.quick-action-btn.highlight:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
}

/* ─── Book Collection Grid ───────────────────────────────────────── */
.books-collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 576px) {
  .books-collection-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .books-collection-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Filter / Sort Toolbar ──────────────────────────────────────── */
.filter-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-xs);
}
.filter-toolbar .form-control {
  min-height: 38px;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  flex: 1;
  min-width: 140px;
}
.filter-toolbar .btn {
  min-height: 38px;
  font-size: 0.82rem;
  padding: 0 var(--space-md);
}

/* ─── No Content States ──────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  color: var(--color-muted);
}
.empty-state i {
  font-size: 2.5rem;
  color: var(--color-muted-2);
  margin-bottom: var(--space-md);
  display: block;
}
.empty-state h4 {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

/* ─── Recommendations ────────────────────────────────────────────── */
.recommendation-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}

/* Sample book covers on recommendation cards */
.sample-covers-container {
  display: flex;
  justify-content: center;
  height: 60px;
  margin-bottom: 10px;
  position: relative;
}
.sample-covers-container-left {
  display: flex;
  justify-content: flex-start;
  height: 60px;
  width: 80px;
  margin-right: 15px;
  position: relative;
  flex-shrink: 0;
}
.sample-cover {
  width: 40px;
  height: 60px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: absolute;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s ease;
}
.sample-cover:hover { transform: translateY(-4px) !important; z-index: 10; }
.sample-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.7rem;
}
.sample-covers-container .sample-cover-1 { transform: rotate(-10deg); left: calc(50% - 50px); z-index: 1; }
.sample-covers-container .sample-cover-2 { transform: rotate(0deg);   left: calc(50% - 20px); z-index: 2; }
.sample-covers-container .sample-cover-3 { transform: rotate(10deg);  left: calc(50% + 10px); z-index: 1; }
.sample-covers-container-left .sample-cover-1 { transform: rotate(-10deg); left: 0px;  z-index: 1; }
.sample-covers-container-left .sample-cover-2 { transform: rotate(0deg);   left: 20px; z-index: 2; }
.sample-covers-container-left .sample-cover-3 { transform: rotate(10deg);  left: 40px; z-index: 1; }
.recommendation-text-content { flex: 1; min-width: 0; font-size: 0.85rem; overflow: hidden; }
.recommendation-text-content .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}
/* Fix card body to uniform height */
.recommendation-card .card-body {
  height: 120px;
  overflow: hidden;
}

/* ─── Books List Grid (recommendation lists, collection pages) ───── */
.books-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  width: 100%;
}
@media (min-width: 768px) {
  .books-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

/* ─── Book info content (Hardcover-rendered HTML) ───────────────── */
/* Normalise tables so borders span full row width, not just one cell */
.book-info-content table {
  width: 100%;
  border-collapse: collapse;
}
.book-info-content tr {
  border-bottom: 1px solid var(--color-border) !important;
}
.book-info-content td {
  border: none !important;
  padding: 10px 12px;
  vertical-align: top;
}
.book-info-content {
  background: #fff !important;
  color: var(--color-text) !important;
}
.book-info-content div:not(.rating-bar):not(.rating-bar-wrapper),
.book-info-content p,
.book-info-content span {
  background-color: transparent !important;
  color: inherit !important;
  font-style: normal !important;
  box-shadow: none !important;
}
.book-info-content .rating-bar { background-color: #ffc107 !important; }

/* ─── Availability / Progress Tables ────────────────────────────── */
.availability-table th,
.availability-table td {
  font-size: 0.85rem;
  padding: 0.6rem var(--space-sm);
}
.availability-chip {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  line-height: 28px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ─── Admin Member Cards (mobile) ────────────────────────────────── */
.member-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  box-shadow: var(--shadow-xs);
}
.member-card .avatar {
  flex-shrink: 0;
}

/* ─── Android WebView Compatibility (preserved) ──────────────────── */
.app-wrapper-mode { -webkit-overflow-scrolling: touch; }
.app-wrapper-mode .recommendation-card,
.app-wrapper-mode .book-item { display: block !important; opacity: 1 !important; visibility: visible !important; }
.app-wrapper-mode .modal { z-index: 9999 !important; }
.app-wrapper-mode .dropdown-menu { z-index: 10050 !important; }
.app-wrapper-mode .navbar {
  padding-top: 20px !important;
  position: relative !important;
  z-index: 1000 !important;
}
/* On mobile webview hide bottom nav — use top navbar only */
.app-wrapper-mode #bottom-nav { display: none !important; }
.app-wrapper-mode .main-content { padding-bottom: var(--space-lg) !important; }

@media (max-width: 768px) {
  .app-wrapper-mode .navbar { padding-top: 25px !important; }
}

/* ─── Misc Overrides ─────────────────────────────────────────────── */
/* Preserve Bootstrap spinner colour */
.spinner-border { border-color: var(--color-brand); border-right-color: transparent; }

/* Star ratings */
.star-rating, .fa-star { color: var(--color-warning, #d97706); }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

/* Hide old wisdom-themed classes gracefully (fallback) */
.wisdom-nav, .wisdom-card, .badge-wisdom, .badge-amber,
.btn-wisdom, .btn-outline-wisdom, .btn-gold, .btn-search-highlight,
.wisdom-divider, .wisdom-link, .wisdom-logo, .wisdom-footer {
  /* Intentionally left mostly unstyled — replaced by new classes */
}
/* Preserve functional parts of old classes */
.btn-wisdom {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
  border-radius: var(--radius-pill) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  min-height: var(--touch-min);
}
.btn-wisdom:hover { background: var(--color-brand-dark); color: #fff; }
.btn-outline-wisdom {
  background: transparent;
  color: var(--color-brand);
  border: 2px solid var(--color-brand);
  border-radius: var(--radius-pill) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  min-height: var(--touch-min);
}
.btn-outline-wisdom:hover { background: var(--color-brand); color: #fff; }
.btn-gold {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  border-radius: var(--radius-pill) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  min-height: var(--touch-min);
}
.btn-gold:hover { background: #a85d72; color: #fff; }
.badge-wisdom {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3em 0.75em;
  border-radius: var(--radius-pill);
}
.wisdom-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-muted);
  font-size: 0.85rem;
  margin: var(--space-lg) 0;
}
.wisdom-divider::before, .wisdom-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.wisdom-footer {
  background: var(--color-brand);
  color: rgba(255,255,255,0.9);
  padding: var(--space-lg) 0;
  font-size: 0.85rem;
}
