:root {
  --fdny-red: #c8102e;
  --fdny-dark: #1f1f1f;
  --fdny-blue: #007bff;
  --fdny-green: #28a745;
  --fdny-yellow: #ffc107;
  --soft-bg: #f6f6f6;
  --card-shadow: 0 4px 12px rgba(0,0,0,.12);
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: var(--soft-bg);
  margin: 0;
  padding-bottom: 78px;
  color: #222;
}

.app-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
}

.hero-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--card-shadow);
  margin-bottom: 18px;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--fdny-dark);
}

.hero-subtitle {
  color: #555;
  margin-bottom: 0;
  font-size: 1rem;
}

.section-title {
  text-align: center;
  font-weight: 800;
  margin: 20px 0 12px;
}

.hrc-button-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0;
}

.hrc-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 18px 20px;
  text-align: center;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 8px rgba(0,0,0,.14);
  transition: transform .12s ease, opacity .12s ease;
}

.hrc-btn:active {
  transform: scale(.98);
}

.hrc-btn-blue { background: var(--fdny-blue); }
.hrc-btn-green { background: var(--fdny-green); }
.hrc-btn-red { background: var(--fdny-red); }
.hrc-btn-dark { background: var(--fdny-dark); }
.hrc-btn-yellow { background: #d99b00; color: #111; }

.quick-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.session-card,
.speaker-card,
.admin-card,
.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--card-shadow);
}

.session-card {
  border-left: 6px solid var(--fdny-red);
}

.session-time {
  color: var(--fdny-red);
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .02em;
}

.session-title {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 4px 0 8px;
}

.muted-label {
  color: #666;
  font-size: .9rem;
  font-weight: 700;
}

.pill-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  margin-bottom: 8px;
}

.pill-filter a {
  white-space: nowrap;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: white;
  color: #111;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.pill-filter a.active {
  background: var(--fdny-red);
  color: white;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.speaker-card {
  text-align: center;
  padding: 12px;
  cursor: pointer;
}

.speaker-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
      object-position: top center;
  border-radius: 8px;
  background: #ddd;
  margin-bottom: 10px;
}

.speaker-name {
  font-weight: 900;
  margin-bottom: 2px;
}

.speaker-title {
  color: #555;
  font-size: .85rem;
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #111;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 9999;
  box-shadow: 0 -4px 14px rgba(0,0,0,.24);
}

.mobile-bottom-nav a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
}

.mobile-bottom-nav a.active {
  background: var(--fdny-red);
}

#map {
  height: calc(100vh - 128px);
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-link {
  background: white;
  color: #111;
  text-decoration: none;
  padding: 18px;
  border-radius: 12px;
  font-weight: 900;
  box-shadow: var(--card-shadow);
  border-left: 6px solid var(--fdny-blue);
}

.top-admin-link {
  font-size: .82rem;
}

@media (min-width: 640px) {
  .hrc-button-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .speaker-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .mobile-bottom-nav {
    display: none;
  }

  .speaker-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.speaker-popup-btn {
  appearance: none;
  border: none;
  cursor: pointer;
}

.single-button-row {
  grid-template-columns: 1fr;
}

.top-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-menu a {
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: .88rem;
  padding: 6px 8px;
  border-radius: 8px;
}

.top-menu a:hover,
.top-menu a:focus {
  background: rgba(255,255,255,.14);
}

.admin-menu-link {
  border: 1px solid rgba(255,255,255,.45);
}

.filter-heading {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #555;
  font-weight: 900;
  margin: 12px 0 8px;
}

.day-filter a {
  min-width: 112px;
  text-align: center;
  line-height: 1.1;
}

.day-filter small {
  font-weight: 700;
  opacity: .85;
}

@media (max-width: 380px) {
  .top-menu {
    gap: 4px;
  }

  .top-menu a {
    font-size: .78rem;
    padding: 5px 6px;
  }

  .navbar-brand {
    font-size: .95rem;
  }
}

.speaker-modal-card {
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.speaker-modal-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.speaker-modal-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  margin-bottom: 12px;
}


.event-type-pill {
  display: inline-block;
  color: white;
  font-weight: 900;
  font-size: .78rem;
  padding: 5px 10px;
  border-radius: 999px;
  margin: 2px 0 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.speaker-modal-card {
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.speaker-modal-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.speaker-modal-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  margin-bottom: 12px;
}


.admin-filter-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
}


.schedule-description {
  font-size: .98rem;
}

.schedule-notes {
  background: #fff8df;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
  padding: 10px;
  font-size: .95rem;
}

.schedule-description p,
.schedule-notes p {
  margin-bottom: .5rem;
}


.main-event-logo {
  display: block;
  max-width: 280px;
  width: 80%;
  height: auto;
  margin: 0 auto 16px;
}

.page-event-logo {
  display: block;
  max-width: 120px;
  width: 42%;
  height: auto;
  margin: 0 auto 10px;
}

.compact-hero {
  padding-top: 16px;
  padding-bottom: 16px;
}


.header-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
}

.dynamic-bottom-nav a {
  font-size: .74rem;
}

@media (max-width: 420px) {
  .dynamic-bottom-nav a {
    font-size: .68rem;
  }
}


.more-popup-btn {
  appearance: none;
  border: none;
  cursor: pointer;
}

.three-button-row {
  grid-template-columns: repeat(3, 1fr);
}

#scheduleMoreModalBody {
  font-size: .98rem;
}

#scheduleMoreModalBody img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 420px) {
  .three-button-row {
    grid-template-columns: 1fr;
  }
}


.popup-directions-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  background: #c8102e;
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}
