/* === Go Today — Event Directory === */

/* ----- Site Hero ----- */
.site-hero {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 2rem;
}

.site-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.site-hero .tagline {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0;
}

/* ----- City tabs ----- */
.city-tab-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.city-tab {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  border: 1.5px solid #c0392b;
  background: #c0392b;
  color: #fff;
  cursor: default;
  letter-spacing: 0.02em;
}

.city-more {
  font-size: 0.72rem;
  color: #bbb;
  font-style: italic;
}

/* ----- Tonight banner ----- */
.tonight-section {
  background: #1a1a2e;
  color: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.tonight-section h3 {
  color: #fff;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  opacity: 0.55;
}

.today-tomorrow-row {
  display: flex;
  gap: 1.5rem;
}

.today-block,
.tomorrow-block {
  flex: 1;
  min-width: 0;
}

.tomorrow-block {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 1.5rem;
}

.tonight-summary {
  color: #fff !important;
  font-size: 0.875rem;
  margin-bottom: 0;
  line-height: 1;
}

.tonight-summary strong {
  color: #fff !important;
}

.banner-event {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.2rem 0;
  color: #fff;
}

@media (max-width: 480px) {
  .today-tomorrow-row {
    flex-direction: column;
    gap: 1rem;
  }
  .tomorrow-block {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-left: 0;
    padding-top: 1rem;
  }
}

/* ----- Filter bar ----- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.filter-btn {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.4;
}

.filter-btn:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.filter-btn.active {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}

.filter-today {
  border-color: #1a1a2e;
  color: #1a1a2e;
}

.filter-today.active {
  background: #1a1a2e;
  border-color: #1a1a2e;
}

/* ----- Event cards ----- */
.event-grid > [class*='col-'] {
  margin-bottom: 0.75rem;
}

.event-hidden {
  display: none !important;
}

.event-card {
  border: 1px solid #e8e8e8;
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem 0.8rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.18s, transform 0.18s;
}

.event-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Day badges */
.day-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 0.3rem;
  color: #fff;
  margin-bottom: 0.4rem;
  align-self: flex-start;
}

.day-mon { background-color: #6c5ce7; }
.day-tue { background-color: #0984e3; }
.day-wed { background-color: #00897b; }
.day-thu { background-color: #e17055; }
.day-fri { background-color: #c0392b; }
.day-sat { background-color: #8e44ad; }
.day-sun { background-color: #d4a017; }

/* Card text */
.event-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.15rem;
  line-height: 1.35;
}

.event-time,
.event-venue {
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 0.05rem;
}

.event-time .fa,
.event-venue .fa {
  width: 14px;
  opacity: 0.5;
  margin-right: 2px;
}

.venue-map-links {
  color: #888;
  white-space: nowrap;
}

.venue-map-links a {
  color: #c0392b;
  text-decoration: none;
}

.venue-map-links a:hover,
.venue-map-links a:active {
  color: #a93226;
}

/* Style tags */
.event-tags {
  margin-top: 0.4rem;
  padding-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.style-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  border: 1.5px solid currentColor;
}

.tag-salsa    { color: #c0392b; }
.tag-bachata  { color: #6c5ce7; }
.tag-kizomba  { color: #00897b; }
.tag-afrobeats { color: #e17055; }

.recurring-badge {
  font-size: 0.6rem;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-left: 0.1rem;
}

/* More info link inside card */
.event-more-link {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c0392b;
  text-decoration: none;
}

.event-more-link:hover {
  color: #a93226;
  text-decoration: none;
}

/* ----- Sidebar social ----- */
.sidebar-social {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-social-link {
  font-size: 0.8rem;
  opacity: 0.65;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-social-link:hover {
  opacity: 1;
  text-decoration: none;
  color: inherit;
}

/* ----- Organizer CTA ----- */
.submit-cta {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: #f9f9f9;
  border-radius: 0.75rem;
  border: 1px solid #eee;
}

.submit-cta p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.submit-cta a {
  color: #c0392b;
  font-weight: 600;
  text-decoration: none;
}

.submit-cta a:hover {
  text-decoration: underline;
}

/* ----- Sidebar brand ----- */
.sidebar-brand-block {
  margin-bottom: 1.5rem;
}

.sidebar-brand-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  display: block;
  line-height: 1.2;
}

.sidebar-brand-link:hover {
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
}

.sidebar-tagline {
  font-size: 0.7rem;
  opacity: 0.55;
  margin: 0.2rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ----- Submit form ----- */
.submit-form-wrap {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0.75rem;
  padding: 2rem;
}

.form-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.day-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.day-check-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.3rem 0.7rem;
  border: 1.5px solid #ddd;
  border-radius: 99px;
  transition: all 0.15s;
}

.day-check-label:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.day-check-label input {
  margin: 0;
}

.btn-submit {
  background-color: #c0392b;
  border-color: #c0392b;
  color: #fff;
  padding: 0.5rem 2rem;
  font-weight: 600;
}

.btn-submit:hover {
  background-color: #a93226;
  border-color: #a93226;
  color: #fff;
}

.submit-note {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 0;
}

.submit-sidebar-info {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 0.75rem;
  padding: 1.5rem;
  font-size: 0.875rem;
}

.submit-sidebar-info h6 {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #999;
  margin-bottom: 0.75rem;
}

.submit-benefits {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.submit-benefits li {
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

/* ----- Footer ----- */
.footer {
  padding: 1rem;
  background-color: #f5f5f5;
  text-align: center;
  font-size: 0.8rem;
}

.footer a {
  color: #c0392b;
}

/* ----- Misc ----- */
.meta {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0;
  margin-bottom: 10px;
}

.pagination {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  margin: 10px 0;
}

.pagination a {
  text-decoration: none;
  color: #c0392b;
}

/* ----- Responsive sidebar widths ----- */
@media (min-width: 768px) {
  #sidebar {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .content-column {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

@media (min-width: 992px) {
  #sidebar {
    flex: 0 0 16%;
    max-width: 16%;
  }
  .content-column {
    flex: 0 0 84%;
    max-width: 84%;
  }
}

/* ----- Mobile ----- */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
  }

  .content-column-content {
    padding: 1rem;
  }

  .site-hero {
    padding: 1.25rem 0 1rem;
    margin-bottom: 1.25rem;
  }

  .site-hero h1 {
    font-size: 1.5rem;
  }

  .site-hero .tagline {
    font-size: 0.9rem;
  }

  /* Filter bar wraps to two rows on mobile */
  .filter-bar {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .filter-btn {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }

  .tonight-section {
    padding: 1rem 1.1rem;
  }

  .tonight-summary {
    font-size: 0.82rem;
  }

  /* Full-width cards on phones */
  .event-grid .col-12 {
    margin-bottom: 1rem;
  }

  .event-card {
    padding: 1rem;
  }

  /* Bigger tap target for more info link */
  .event-more-link {
    padding-top: 0.25rem;
    font-size: 0.85rem;
  }

  .city-tab-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .submit-form-wrap {
    padding: 1.25rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .submit-form-wrap .form-control {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .day-checkboxes {
    gap: 0.4rem;
  }

  .day-check-label {
    font-size: 0.82rem;
    padding: 0.28rem 0.6rem;
  }
}

/* =============================================
   THEME OVERRIDE — swap teal (#379392 / #60c5ba)
   for Go Today red (#c0392b) everywhere
   ============================================= */

/* General links */
a { color: #c0392b; }
a:hover, a:focus { color: #a93226; }

/* Sidebar active link */
.sidebar-link { color: #555; }
.sidebar-link.active,
.sidebar-item.active > a,
.sidebar-item.current-menu-item > a { color: #c0392b; }
.sidebar-link.active::before,
.sidebar-link:hover::before,
.sidebar-item.active:before,
.sidebar-item.current-menu-item:before { color: #c0392b; }
.sidebar-item a:hover { color: #c0392b; }

/* Buttons — primary */
.btn-primary {
  background-color: #c0392b;
  border-color: #c0392b;
}
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  background-color: #a93226;
  border-color: #a93226;
}
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.4);
}
.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #c0392b;
  border-color: #c0392b;
}

/* Buttons — outline primary */
.btn-outline-primary {
  color: #c0392b;
  border-color: #c0392b;
}
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  background-color: #c0392b;
  border-color: #c0392b;
  color: #fff;
}
.btn-outline-primary:focus,
.btn-outline-primary.focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.4);
}
.btn-outline-primary.disabled,
.btn-outline-primary:disabled { color: #c0392b; }

/* Text / bg / border utilities */
.text-primary,
a.text-primary:hover,
a.text-primary:focus { color: #c0392b !important; }

.bg-primary,
a.bg-primary:hover,
a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus { background-color: #c0392b !important; }

.border-primary { border-color: #c0392b !important; }

/* Badges */
.badge-primary { background-color: #c0392b; }
.badge-primary[href]:hover,
.badge-primary[href]:focus { background-color: #a93226; }

/* Blockquote left border */
.blockquote { border-left-color: #c0392b; }

/* Misc theme classes */
.required,
.accent { color: #c0392b; }
.icon { border-color: #c0392b; color: #c0392b; }

/* Pagination (Bootstrap's page-link) */
.page-item.active .page-link {
  background-color: #c0392b;
  border-color: #c0392b;
}
.page-link { color: #c0392b; }
.page-link:hover, .page-link:focus { color: #a93226; }

/* Form focus rings */
.form-control:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.2);
}

/* Section background (secondary) */
section.background-secondary { background: #c0392b; border-color: #a93226; }

/* Nav pills active */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #c0392b;
}

/* Dropdown active item */
.dropdown-item.active,
.dropdown-item:active { background-color: #c0392b; }
