/* ── 180 Habits — Meeting Pages ── */

/* ── Meeting Tag & Badge Tokens ── */
:root,
[data-theme="dark"] {
  --tag-virtual-bg: rgba(59, 130, 246, 0.15);
  --tag-virtual-text: #93c5fd;
  --tag-hybrid-bg: rgba(251, 191, 36, 0.15);
  --tag-hybrid-text: #fcd34d;
  --tag-inperson-bg: rgba(16, 185, 129, 0.15);
  --tag-inperson-text: #6ee7b7;
  --tag-open-bg: rgba(99, 102, 241, 0.15);
  --tag-open-text: #a5b4fc;
  --tag-closed-bg: rgba(168, 85, 247, 0.15);
  --tag-closed-text: #c4b5fd;
  --badge-live-bg: rgba(16, 185, 129, 0.15);
  --badge-live-text: #6ee7b7;
  --badge-live-dot: #34d399;
}

[data-theme="light"] {
  --tag-virtual-bg: #dbeafe;
  --tag-virtual-text: #1d4ed8;
  --tag-hybrid-bg: #fef3c7;
  --tag-hybrid-text: #92400e;
  --tag-inperson-bg: #d1fae5;
  --tag-inperson-text: #065f46;
  --tag-open-bg: #e0e7ff;
  --tag-open-text: #3730a3;
  --tag-closed-bg: #f3e8ff;
  --tag-closed-text: #6b21a8;
  --badge-live-bg: #dcfce7;
  --badge-live-text: #166534;
  --badge-live-dot: #16a34a;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --tag-virtual-bg: #dbeafe;
    --tag-virtual-text: #1d4ed8;
    --tag-hybrid-bg: #fef3c7;
    --tag-hybrid-text: #92400e;
    --tag-inperson-bg: #d1fae5;
    --tag-inperson-text: #065f46;
    --tag-open-bg: #e0e7ff;
    --tag-open-text: #3730a3;
    --tag-closed-bg: #f3e8ff;
    --tag-closed-text: #6b21a8;
    --badge-live-bg: #dcfce7;
    --badge-live-text: #166534;
    --badge-live-dot: #16a34a;
  }
}

/* Meeting pages default to light theme */
body.meetings-page {
  background: var(--bg);
  color: var(--text);
}

/* ── Meeting Page Layout ── */
.meeting-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── Crisis Hero ── */
.crisis-hero {
  background: linear-gradient(135deg, var(--danger-bg), var(--danger-bg-deep));
  border: 1px solid var(--danger-border-subtle);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 24px 0 32px;
  text-align: center;
}

.crisis-hero p {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--text-dim);
}

.crisis-hero p:last-child { margin-bottom: 0; }

.crisis-hero strong { color: var(--text-bright); }

.crisis-hero a {
  color: var(--danger);
  font-weight: 700;
  text-decoration: underline;
}

/* ── Section Headers ── */
.meeting-section-header {
  margin: 40px 0 20px;
}

.meeting-section-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 8px;
}

.meeting-section-header p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* ── Day Tabs ── */
.day-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.day-tabs::-webkit-scrollbar { display: none; }

.day-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.day-tab:hover {
  color: var(--text-bright);
  border-color: var(--text-muted);
  background: var(--surface);
}

.day-tab.active,
.day-tab[aria-selected="true"] {
  background: var(--accent-btn);
  color: #ffffff;
  border-color: var(--accent);
  font-weight: 600;
}

/* ── Filter Chips ── */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  color: var(--text-bright);
  border-color: var(--accent);
}

.filter-chip.active {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

/* ── Meeting Cards ── */
.meeting-day-group {
  margin-bottom: 32px;
}

.meeting-day-group h2,
.meeting-day-group h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.meeting-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.meeting-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.meeting-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.meeting-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.meeting-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.3;
  margin: 0;
}

.meeting-card-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.meeting-card-location {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px;
  line-height: 1.5;
}

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

.meeting-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meeting-tag--virtual {
  background: var(--tag-virtual-bg, #dbeafe);
  color: var(--tag-virtual-text, #1d4ed8);
}

.meeting-tag--hybrid {
  background: var(--tag-hybrid-bg, #fef3c7);
  color: var(--tag-hybrid-text, #92400e);
}

.meeting-tag--in-person {
  background: var(--tag-inperson-bg, #d1fae5);
  color: var(--tag-inperson-text, #065f46);
}

.meeting-tag--open {
  background: var(--tag-open-bg, #e0e7ff);
  color: var(--tag-open-text, #3730a3);
}

.meeting-tag--closed {
  background: var(--tag-closed-bg, #f3e8ff);
  color: var(--tag-closed-text, #6b21a8);
}

.meeting-card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.meeting-card-link:hover {
  text-decoration: underline;
}

/* ── Happening Now Badge ── */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--badge-live-bg, #dcfce7);
  color: var(--badge-live-text, #166534);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--badge-live-dot, #16a34a);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Guide Section ── */
.guide-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0;
}

.guide-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 16px;
}

.guide-section h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 24px 0 8px;
}

.guide-section p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 12px;
}

.guide-section ul {
  margin: 0 0 16px 20px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.guide-section li { margin-bottom: 6px; }

/* ── FAQ Section (Light theme) ── */
.meeting-faq {
  margin: 40px 0;
}

.meeting-faq h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 16px;
}

.meeting-faq details {
  border-bottom: 1px solid var(--border);
}

.meeting-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.4;
  user-select: none;
  transition: color 0.15s ease;
}

.meeting-faq summary::-webkit-details-marker { display: none; }
.meeting-faq summary::marker { display: none; }
.meeting-faq summary:hover { color: var(--accent); }

.meeting-faq details[open] > summary { color: var(--accent); }

.meeting-faq .faq-icon {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.meeting-faq details[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.meeting-faq .faq-answer {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 680px;
  max-height: none;
  opacity: 1;
  overflow: visible;
}

/* ── Map Section ── */
.meeting-map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 24px 0 32px;
}

#meeting-map {
  width: 100%;
  height: 400px;
}

@media (max-width: 768px) {
  #meeting-map { height: 280px; }
}

/* ── Hub Cards ── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.hub-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  display: block;
}

.hub-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  color: var(--text);
}

.hub-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 8px;
}

.hub-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.hub-card .count {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* ── Nearby Cities Grid ── */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0 32px;
}

.nearby-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease;
  display: block;
}

.nearby-card:hover {
  border-color: var(--accent);
  color: var(--text);
}

.nearby-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 0 0 4px;
}

.nearby-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ── Cross-program Callout ── */
.cross-program {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}

.cross-program h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 8px;
}

.cross-program p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 12px;
}

.cross-program a {
  color: var(--accent);
  font-weight: 600;
}

/* ── Educational Content ── */
.edu-content {
  margin: 40px 0;
}

.edu-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 16px;
}

.edu-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 24px 0 8px;
}

.edu-content p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 12px;
}

.edu-content ul, .edu-content ol {
  margin: 0 0 16px 20px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.edu-content li { margin-bottom: 6px; }

/* ── City List (State pages) ── */
.city-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.city-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.city-item:hover {
  border-color: var(--accent);
  color: var(--text);
}

.city-item span:first-child {
  font-weight: 600;
  color: var(--text-bright);
}

.city-item .city-count {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Meeting Count Stat ── */
.meeting-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 32px;
}

.meeting-stat {
  text-align: center;
}

.meeting-stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.meeting-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Page Title ── */
.meeting-page-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.meeting-page-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

/* ── Mobile Adjustments ── */
@media (max-width: 768px) {
  .meeting-page { padding: 0 16px 60px; }
  .crisis-hero { padding: 20px 20px; margin: 16px 0 24px; }
  .meeting-cards { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .guide-section { padding: 24px 20px; }
  .meeting-page-title { margin-top: 8px; }
  .meeting-stats { gap: 16px; }
  .meeting-stat-number { font-size: 26px; }
}

@media (max-width: 480px) {
  .nearby-grid { grid-template-columns: 1fr; }
  .city-list { grid-template-columns: 1fr; }
}

/* ── Share Bar ── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.share-bar-bottom {
  border-bottom: none;
  border-top: 1px solid var(--border-subtle);
  margin-top: 32px;
  padding: 24px 0;
  flex-direction: column;
  align-items: flex-start;
}

.share-bar-bottom > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.share-cta {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 0 0 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  color: #ffffff;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #ffffff;
}

.share-whatsapp { background: #0d7263; }
.share-facebook { background: #1565c0; }
.share-twitter { background: #0f1419; }
.share-copy { background: var(--accent-btn); }

@media (max-width: 768px) {
  .share-bar { gap: 8px; }
  .share-btn { padding: 8px 12px; font-size: 13px; }
}

/* ── Online Page: Hero Image ── */
.online-hero-image {
  margin: 0 -24px;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  line-height: 0;
}

.online-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 400px;
}

@media (max-width: 768px) {
  .online-hero-image {
    margin: 0 -16px;
    border-radius: 0;
  }
  .online-hero-image img {
    max-height: 240px;
  }
}

/* ── Online Page: Hero ── */
.online-hero {
  text-align: center;
  padding: 48px 24px 40px;
  margin-bottom: 8px;
}

.online-hero .badge-live {
  margin-bottom: 16px;
}

.online-hero-lead {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 16px;
}

.online-hero-stats {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.online-hero-stats strong {
  color: var(--accent);
  font-weight: 700;
}

/* ── Online Page: Live Board Section ── */
.online-live-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  margin: 0 0 40px;
}

.online-live-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.online-live-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0;
}

.online-live-tz {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.online-time-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.time-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.time-btn:hover {
  border-color: var(--accent);
  color: var(--text-bright);
}

.time-btn.active {
  background: var(--accent-btn);
  color: #ffffff;
  border-color: var(--accent);
  font-weight: 600;
}

.online-program-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

/* ── Online Page: Meeting Board ── */
.online-board {
  min-height: 120px;
}

.online-board-loading {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 15px;
}

.online-board-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dim);
}

.online-board-empty p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
}

.online-board-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 16px 0 0;
  text-align: center;
}

/* ── Online Page: Meeting Cards ── */
.online-meeting-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.online-meeting-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.online-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.online-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.3;
}

.online-card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

.online-card-right {
  flex-shrink: 0;
}

.online-starts-in {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tag-virtual-bg, #eff6ff);
  color: var(--tag-virtual-text, #1d4ed8);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.online-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.online-join-btn {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 8px;
  background: var(--accent-btn);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.online-join-btn:hover {
  background: var(--accent-btn-hover);
  color: #ffffff;
}

/* ── Online Page: Meeting Details (password, phone, notes) ── */
.online-card-details {
  padding: 8px 0 4px;
  border-top: 1px dashed var(--border-subtle);
  margin-top: 6px;
}

.online-card-detail {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 4px;
  word-break: break-word;
}

.detail-label {
  font-weight: 600;
  color: var(--text-bright);
}

/* ── Share CTA Block (loud) ── */
.share-cta-block {
  background: linear-gradient(135deg, var(--accent-btn-hover), var(--accent-btn));
  border-radius: 16px;
  padding: 40px 36px;
  margin: 40px 0;
  text-align: center;
}

.share-cta-block h2 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.share-cta-block p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0 0 12px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.share-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.share-cta-block .share-btn {
  padding: 12px 22px;
  font-size: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .share-cta-block { padding: 28px 20px; }
  .share-cta-block h2 { font-size: 22px; }
  .share-cta-buttons { flex-direction: column; }
  .share-cta-block .share-btn { width: 100%; justify-content: center; }
}

.online-feedback {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.online-feedback h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0 0 12px;
}

.online-feedback p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.online-feedback a {
  color: var(--accent);
  font-weight: 600;
}

/* ── Online Page: Freshness ── */
.online-freshness {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.online-freshness p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.online-freshness a {
  color: var(--text-muted);
  text-decoration: underline;
}

.online-freshness a:hover {
  color: var(--accent);
}

/* ── Online Page: Mobile ── */
@media (max-width: 768px) {
  .online-hero { padding: 32px 16px 24px; }
  .online-hero-lead { font-size: 16px; }
  .online-live-section { padding: 20px 16px; }
  .online-live-header { flex-direction: column; }
  .online-time-selector { flex-wrap: wrap; }
  .online-card-top { flex-direction: column; gap: 6px; }
  .online-card-right { align-self: flex-start; }
  .online-card-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .online-join-btn { width: 100%; text-align: center; }
  .online-bookmark { padding: 24px 20px; }
  .online-feedback { padding: 24px 20px; }
}

/* ── City Meeting View: Day Dividers ── */
.meeting-day-divider {
  padding: 12px 0 8px;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 10px;
  margin-top: 16px;
}

.meeting-day-divider:first-child {
  margin-top: 0;
}

/* Day filter and time-of-day filter */
.day-filter,
.time-of-day {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.day-filter:hover,
.time-of-day:hover {
  border-color: var(--accent);
  color: var(--text-bright);
}

.day-filter.active,
.time-of-day.active {
  background: var(--accent-btn);
  color: #ffffff;
  border-color: var(--accent);
  font-weight: 600;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .badge-live::before { animation: none; opacity: 1; }
}
