/* Tour page — extends global tokens/components from main.css */

/* Page hero */
.tour-hero {
  padding-block: 32px;
  background: linear-gradient(0deg, rgba(11,11,12,.04), rgba(11,11,12,0));
}
.page-hero__sub { color: var(--text-500); margin: 6px 0 0; }

/* Responsive table wrapper */
.table-scroll { overflow-x: auto; background: transparent; }
.tour-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.tour-table thead th {
  text-align: left;
  font-weight: 700;
  padding: 12px 14px;
  background: var(--ivory);
  border-bottom: 1px solid #e8e2d7;
  white-space: nowrap;
}
.tour-table tbody td, .tour-table tbody th[scope="row"] {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
.tour-table tbody tr:last-child td,
.tour-table tbody tr:last-child th[scope="row"] { border-bottom: 0; }
.cell-city { font-weight: 700; }
.cell-datetime time { color: var(--text-500); }
.th-actions, .cell-actions { white-space: nowrap; }

/* Add to Calendar dropdown (CSS-only using <details>) */
.cal { position: relative; display: inline-block; }
.cal__summary { cursor: pointer; }
.cal[open] .cal__summary { transform: translateY(-1px); }
.cal__menu {
  position: absolute; z-index: 10;
  inset: calc(100% + 6px) auto auto 0;
  min-width: 220px;
  display: grid; gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: #fff; border: 1px solid #eee; box-shadow: var(--shadow-2);
}
.cal__menu a {
  display: block; padding: 8px 10px; border-radius: 6px;
  text-decoration: none; color: var(--text-900);
  border: 1px solid #f0f0f0;
}
.cal__menu a:hover { background: var(--ivory); text-decoration: none; }

/* Map helper */
.map-note { color: var(--text-500); font-size: 14px; margin-top: 12px; }

/* FAQ */
.tour-faq { padding-block: 48px; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid #eee; border-radius: 10px;
  padding: 12px 14px; box-shadow: var(--shadow-1);
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--text-900); }

/* Buttons in the table */
.cell-actions .btn { margin-right: 6px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; }
}
