@charset "utf-8";
/* Styles for Love Data Week Events Table & Cards */

i {
  opacity: 1;
}

h3 {
  font-weight: normal;
}

.dayName {
  font-weight: bold;
}

/* Sticky Sidebar - Dynamically adapts height up to full screen */
@media (min-width: 992px) {
  #filterSidebar {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    height: fit-content;                  /* Expands/shrinks with expanded accordions */
    max-height: calc(100vh - 2rem);        /* Caps height at full screen minus margins */
    overflow: hidden;                      /* Prevents overflowing rounded card edges */
  }

  #filterSidebar::-webkit-scrollbar {
    width: 4px;
  }
  #filterSidebar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
}

/* Sidebar Inner Containers */
#filterSidebar .card,
#filterSidebar .card-body,
#filterForm {
  overflow: visible;
  max-height: none;
}

#filterSidebar .sidebar-header,
#filterSidebar .filter-top-bar {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 10;
}

#filterSidebar .sidebar-footer,
#filterSidebar .filter-action-buttons {
  position: sticky;
  bottom: 0;
  background-color: #ffffff;
  z-index: 10;
}

#filterSidebar .sidebar-content,
#dynamicFiltersContainer {
  position: relative;
  z-index: 1;
}

/* Ultra-Tight WCAG AAA Compliant Interactive Checkbox Rows */
#dynamicFiltersContainer .form-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0 !important;
  padding-top: 0.15rem !important;  /* Creates full-row AAA hit target */
  padding-bottom: 0.15rem !important;
}

#dynamicFiltersContainer .form-check-input {
  width: 0.75rem !important;       /* Compact ~14px visual checkbox */
  height: 0.875rem !important;
  margin-top: 0 !important;
  flex-shrink: 0;
  cursor: pointer;
}

#dynamicFiltersContainer .form-check-label {
  cursor: pointer;
  font-weight: 300 !important;
  font-size: 0.9rem !important;
  color: #495057 !important;
  line-height: 1.15 !important;
  user-select: none;
}

#filterSidebar {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sidebar-header, 
#filterSidebar > .filter-top-section {
  padding: 0.5rem 0.5rem 0.35rem 0.5rem !important;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

#dynamicFiltersContainer {
  flex: 1 1 auto;                         /* Fills remaining available space in card */
  min-height: 0;                          /* Allows inner scrolling when parent hits max-height */
  overflow-y: auto;                        /* Enables vertical scrolling dynamically */
  padding: 0.5rem 0.5rem 0.5rem 0 !important;
}

/* Unified Typography & Spacing for All Filter Titles */
.filter-section-header,
label.filter-section-header,
span.filter-section-header {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #454545 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.04em !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Top Divider Lines between Category Filter Groups */
.filter-group {
  border-top: 1px solid #dee2e6;
  margin-bottom: 0.35rem !important;
  padding-top: 0.15rem !important;
  padding-bottom: 0 !important;
}

.filter-group:first-child {
  border-top: none;
  padding-top: 0 !important;
}

/* Container Spacing for Accordions & Plain Headings */
.filter-heading {
  background-color: transparent !important;
  padding: 0.25rem 0 !important;
}

.filter-heading:hover,
.filter-heading:focus {
  background-color: transparent !important;
}

/* Accordion & Summary Selector Controls */
.filter-accordion {
  border: none !important;
  background-color: transparent !important;
}

.filter-accordion summary {
  list-style: none;
  cursor: pointer;
}

.filter-accordion summary::-webkit-details-marker {
  display: none;
}

/* Sticky Top Action Buttons Bar */
.filter-actions-top {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #ffffff;
  padding-bottom: 0.35rem !important;
}

/* Custom Secondary Gray Button */
.btn-secondary-gray {
  color: #ffffff;
  background-color: #6c757d;
  border-color: #6c757d;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-secondary-gray:hover,
.btn-secondary-gray:focus {
  color: #ffffff;
  background-color: #5a6268;
  border-color: #545b62;
}

.btn-secondary-gray:active {
  color: #ffffff;
  background-color: #545b62;
  border-color: #4e555b;
}

/* Static Module Wrapper (Search / Keyword Shells) */
.static-module .filter-options-wrapper {
  border-top: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.static-module input {
  padding: 0.2rem 0.4rem !important;
  font-size: 0.8125rem !important;
}

/* Zero-Offset Geometric Chevron Spin */
.toggle-icon-wrapper {
  display: inline-grid !important;
  place-items: center !important;
  width: 0.875rem;
  height: 0.875rem;
  overflow: hidden;
}

.toggle-icon {
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  text-align: center !important;
  transform-origin: 50% 50% !important;
  transition: transform 0.2s ease-in-out;
}

.toggle-icon::before {
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: auto !important;
  line-height: 1 !important;
}

details[open] .toggle-icon,
.filter-accordion[open] .toggle-icon {
  transform: rotate(180deg);
}

/* Accordion Content Drawer */
.filter-options-wrapper {
  background-color: #ffffff;
  border-top: none !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0.1rem 0 !important;
}

/* Event Glance Table */
.event-glance-table {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  width: 100%;
  margin: auto;
  background-color: #fafafa;
  padding: 0 0 1rem 0;
}

.event-glance-day {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  justify-content: flex-start;
  margin: 0 0.5rem 0 0;
  flex-wrap: wrap;
  flex: 1 0 calc(20% - 20px);
  min-width: 200px;
  max-width: 40%;
  padding: 0 0.2rem 0 0;
}

.event-glance-day:first-child {
  padding-left: 0.6rem;
}

.event-glance-day-num {
  width: 100%;
  margin: 0 0 -1.2rem 0;
  padding: 0 0 0 0.75rem;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.5;
  background-color: #e6e6e6;
  color: #000000;
}

.event-glance-day-name {
  width: 100%;
  margin: 0;
  padding: 0 0 0 0.75rem;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.5;
  background-color: #e6e6e6;
  color: #000000;
}

.event-glance-day-event {
  margin: 0.25rem 0.25rem 0.25rem 0.75rem;
  white-space: normal;
  word-wrap: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-glance-day-event:last-child {
  margin-bottom: 1.2rem;
}

.event-glance-day-container {
  max-width: 100%;
  margin: 0;
  padding: 0.2rem;
  background-color: #fafafa;
  border-left: 1px solid #e6e6e6;
}

.event-glance-day:not(:first-child) .event-glance-day-container {
  padding-left: 0;
}

.event-glance-day:first-child .event-glance-day-container {
  border: none;
}

.event-glance-day:last-child {
  padding: 0 0.5rem 0 0;
  margin: 0;
}

.event-glance-day-event .callout {
  max-width: 70%;
  margin: 0 75% 0 0.4rem;
}

.event-glance-day-event .callout .label {
  font-size: 0.75rem;
}

.event-glance-link,
.event-glance-title {
  color: #e21833;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.5;
  min-height: 44px;
  padding-top: 1.5rem;
  margin-bottom: 0;
  white-space: normal;
  text-decoration: none;
}

.event-glance-day-event:first-child .event-glance-link, 
.event-glance-day-event:first-child .event-glance-title {
  padding-top: 0.5rem;
}

.event-glance-link:hover {
  color: #9d1123;
}

.event-glance-host,
.event-glance-time {
  padding: 0;
  margin: 0;
  position: relative;
}

/* Main Events Table Structure */
.event-table {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.keyword-bar-filter-container {
  padding: 0;
  margin: 0;
  width: 100%;
}

.keyword-bar {
  width: 100%;
  max-width: 1400px;
  margin: 0;
  padding: 0;
}

.keyword-bar div {
  width: 100%;
}

/* Day & Time Blocks */
.day-block {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e6e6e6;
  margin: 1.5rem 0 0 0;
}

.day-block:first-of-type {
  border: none;
  margin: 0;
}

.day-label {
  margin: 0.5rem;
}

.time-block {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  margin: 0.5rem 0;
}

.time-event-block {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.time-label {
  margin: 0.5rem;
  padding: 1.1rem 0 0 0;
  width: 20%;
  min-height: 44px;
  line-height: 1.5rem;
  box-sizing: border-box;
  text-align: right;
  font-size: 1.25rem;
}

/* Event Card Item */
.event {
  flex: 1 0 calc(20% - 10px);
  min-width: 200px;
  border: 1px solid #e6e6e6;
  margin: 0.5rem 0 0.5rem 0.5rem;
  padding: 0.85rem 10px 10px 10px;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 1.2em;
  font-weight: bold;
  padding: 0 0.15rem;
  margin: 0;
  line-height: 1.5;
  min-height: 44px;
  box-sizing: border-box;
}

a.event-title { 
  display: block;
  padding: 0;
  min-height: 44px;
  height: 100%;
}

.event-title h4 {
  margin: 0 0.2rem 0.2rem 0.2rem;
}

.event-location,
.event-time,
.event-date,
.event-host {
  display: inline-block;
  text-align: left;
  position: relative;
  color: #000000;        
  margin: 0 0 0 1.75rem;
}

p.event-date i,
p.event-time i,
p.event-glance-time i,
p.event-location i,
p.event-host i,
p.event-glance-host i {
  padding: 0;
  margin: 0 0.5rem 0 0;
  text-align: center;
  position: absolute;
  left: -1.55rem;
  top: 50%;
  transform: translateY(-50%);
}

p.event-location i {
  padding-left: 2px;
}

.event-description {
  margin: 1rem 0.2rem 1rem 0.2rem;
}

.event-button-container {
  margin: auto 0 0 0.2rem;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.event-button {
  margin: 0 0.25rem;
}

.event-button:first-child {
  margin-left: 0;
}

/* Tags / Badges / Keywords */
.event-audience,
.event-zoom,
.event-keyword,
.event-featured,
.event-format {
  display: inline-block;
  background-color: #e6e6e6;
  color: #000000;
  padding: 5px 10px;
  border-radius: 15px;
  margin: 4px 4px 4px 0;
  font-size: 0.8rem;
  text-align: center;
  border: 1px solid #e6e6e6;
}

.event-featured,
.event-featured *,
button.event-featured {
  border-color: #ffd200; 
  background-color: #ffffff;
}

.event-format,
.event-format * {
  border-color: #e21833;
  background-color: #ffffff;
}

.event-audience,
.event-audience * {
  border-color: #454545;
  background-color: #ffffff;
}

.event-zoom,
.event-zoom *,
button.event-zoom {
  border-color: #0e72ed;
  background-color: #ffffff;
}

.event-keyword i {
  padding: 0;
  margin: 0 0.5rem 0 0;
  background-color: transparent;
}

.event-featured i {
  color: #ffd200;
}

.event-audience i {
  color: #454545;
}

.event-format i {
  color: #e21833;
}

.event-zoom i {
  color: #0e72ed;
}

.event-keyword-container {
  margin: 1rem 0 0 0.2rem;
  padding-left: 0;
  padding-bottom: 0;
  width: 100%;
  display: inline-block;
}

.event-keyword-subcontainer {
  width: 100%;
}

.event-presenters-container {
  margin: 0.2rem 0 1rem 0.2rem;
}

.event-presenter {
  margin: 0 0 0 1rem;
  padding: 0;
}

.event-presenter * {
  font-size: 1rem;
}

.event-presenter-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.2rem 0 0 0.25rem;
  padding: 0;
}

/* Selected Keyword Highlights */
.event-keyword.selected-keyword {
  background-color: #e21833;
  border-color: #e21833;
  color: #ffffff;
}

.event-featured.selected-keyword {
  background-color: #ffd200;
  border-color: #ffd200;
  color: #000000;
}

.event-format.selected-keyword {
  background-color: #e21833;
  border-color: #e21833;
  color: #000000;
}

.event-zoom.selected-keyword {
  background-color: #0e72ed;
  border-color: #0e72ed;
}

.event-audience.selected-keyword {
  background-color: #454545;
  border-color: #454545;
}

.event-format.selected-keyword,
.event-format.selected-keyword i,
.event-zoom.selected-keyword,
.event-zoom.selected-keyword i,
.event-audience.selected-keyword,
.event-audience.selected-keyword i {
  color: #ffffff;
}

.event-featured.selected-keyword,
.event-featured.selected-keyword i {
  color: #000000;
}

/* Host Variations */
.event-host-umd .event-title {
  color: #e21833;
}

.modal-header.host-umd {
  background-color: #e21833;
}

.event-host-btaa.event-title,
.event-host-btaa.modal-header,
.event-host-btaa.modal-close {
  color: #005e8d;
}

.event-glance-link.event-host-btaa:not(:hover) {
  color: #005e8d;
}

.event-modal-link.event-host-btaa:not(:hover),
.btn-primary.event-host-btaa:not(:hover) {
  color: #ffffff;
  background-color: #005e8d;
  border-color: #005e8d;
}

.event-glance-link.event-host-btaa:hover {
  color: #003c5a;
}

.event-modal-link.event-host-btaa:hover,
.btn-primary.event-host-btaa:hover {
  color: #ffffff;
  background-color: #003c5a;
  border: 2px solid #003c5a;
}

.event-host-other {
  border: 1px solid #fcfcfc;
}

.event-host-other .event-title {
  color: #fcfcfc;
}

/* Modals */
.modal-body {
  padding: 1rem 2rem 2rem 2rem;
}

.modal-header,
.modal-close {
  color: #e21833;
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1;
}

.modal-header {
  padding: 10px 2.5rem;
}

.event-modal-date,
.event-modal-time,
.event-modal-host,
.event-modal-location {
  font-size: 1.0rem;
  padding: 0;
  margin: 0 0 0 2em;
  position: relative;
}

p.event-modal-date i,
p.event-modal-time i,
p.event-modal-host i,
p.event-modal-location i {
  padding: 0;
  margin: 0 0.5rem 0 0;
  text-align: center;
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

p.event-modal-location i {
  padding-left: 2px;
}

.event-modal-description {
  margin: 1rem 0.5rem;
  font-size: 1rem;
}

.modal-register-link {
  margin-left: 0.5rem;
}

.event-modal-link {
  margin-top: auto;
  margin-left: 0.2rem;
}

.link-div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.event-social-share-bar {
  position: absolute;
  top: 10px;
  right: 2rem;
  max-height: 100px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-around;
  text-align: center;
  background-color: #f7f7f7;
  border-radius: 10%;
}

.event-social-share-link,
.event-social-share-link * {
  font-size: 1.2rem;
}

/* Fixed Responsive Media Queries */
@media (max-width: 1000px) {
  .time-block {
    flex-direction: column;
    flex: 1;
    margin: 0;
  }
  .time-label {
    display: none;
  }
  .day-label {
    width: 100%;
    text-align: left;
  }
  .event {
    width: 100%;
    margin: 0.5rem 0;
  }
  .day-block {
    border: none;
  }
  .event-glance-day {
    width: 100%;
    max-width: 20%;
  }
}

@media (max-width: 767px) {
  .event-glance-table {
    flex-direction: column;
    margin: auto 0;
  }
  .event-glance-day {
    width: 90%;
    max-width: 90%;
  }
  .event-glance-day-container {
    border: none;
  }
  .event-glance-day-num,
  .event-glance-day-name {
    margin: 0;
  }
  .event-glance-day-num {
    margin-bottom: -1.0rem;
    font-weight: 700;
  }
}

#dynamicFiltersContainer label {
  margin-bottom: 0;
}

.keyword-bar-filter-container input[type="text"],
.search-input {
  margin-left: 0.2rem;
  margin-bottom: 0.5rem;
}

/* Event Detail Page Styles */
.not-found-card {
  max-width: 600px;
}

.flyer-card {
  border: 1px solid #e0e0e0;
  border-top: 6px solid #e21833;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.tag-pill {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 50rem;
  background-color: #f8f9fa;
  border: 1px solid #e21833;
  color: #e21833;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

.meta-item {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 0.75rem;
}

.meta-item i {
  color: #e21833;
  width: 24px;
}

.event-description-text {
  white-space: pre-line;
}

/* Container base styling */
#eventDaysTabs {
  border-bottom: 2px solid #e0e0e0;
}

/* Desktop Tab styling */
#eventDaysTabs .nav-link {
  color: #000000 !important;
  font-size: 0.95rem;
  font-weight: 700;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  background-color: transparent !important;
  padding: 0.75rem 1.25rem;
  margin-bottom: -2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

#eventDaysTabs .nav-link:hover {
  color: #e21833 !important;
  border-color: transparent !important;
}

#eventDaysTabs .nav-link.active {
  color: #e21833 !important;
  border-bottom: 3px solid #e21833 !important;
  background-color: transparent !important;
}

#eventDaysTabs .badge {
  font-size: 0.75rem;
  vertical-align: middle;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #f8f9fa;
  border: 1px solid #e21833;
  color: #e21833;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 50rem;
}

.filter-pill .btn-close-pill {
  background: none;
  border: none;
  color: #e21833;
  padding: 0;
  margin-left: 0.2rem;
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
}

.filter-pill .btn-close-pill:hover {
  opacity: 1;
  color: #b01026;
}