.ssm-date-header {
  text-align: center;
  padding: 2rem;
  margin: 2rem 0rem;
}

.ssm-filter-container {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.ssm-filter-container label {
  display: inline-block;
  margin-right: 10px;
  font-weight: 600;
  color: #333;
}

.ssm-session-type-filter {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  min-width: 200px;
  cursor: pointer;
}

.ssm-session-type-filter:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

@media screen and (max-width: 700px) {
  .ssm-filter-container {
    padding: 10px;
    text-align: left;
  }

  .ssm-filter-container label {
    display: block;
    margin-bottom: 8px;
    margin-right: 0;
  }

  .ssm-session-type-filter {
    width: 100%;
    min-width: auto;
  }
}

.ssm-layout-table {
  width: 100%;
  border-spacing: 0px;
  table-layout: fixed;
  margin-bottom: 0;
  border-bottom: 1px solid #dee2e6;
}

@media screen and (max-width: 700px) {
  .ssm-layout-table {
    border: none;
    width: 100%;
  }
}

.ssm-layout-table thead th {
  background: #f2f2f2;
  color: #000000;
  border-bottom: none;
  font-weight: 300;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid #dee2e6;
  border-bottom: none;
}

@media screen and (max-width: 700px) {
  .ssm-layout-table thead {
    display: none;
  }
}

.ssm-layout-table tbody,
.ssm-layout-table tr,
.ssm-layout-table td,
.ssm-layout-table th {
  text-align: center;
  vertical-align: top;
}

@media screen and (max-width: 700px) {
  .ssm-layout-table tbody,
  .ssm-layout-table tr,
  .ssm-layout-table td,
  .ssm-layout-table th {
    display: block;
  }
}

.ssm-layout-table tr {
  background: #ffffff;
}

@media screen and (max-width: 700px) {
  .ssm-layout-table tr {
    border: 1px solid #32383e;
    margin-bottom: 16px;
  }
}

.ssm-layout-table tr td {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 6px;
  padding-right: 6px;
  border: none;
  white-space: pre-wrap;
  word-break: break-word;
}

@media screen and (max-width: 700px) {
  .ssm-layout-table tr td {
    border: none;
  }
}

.ssm-layout-table .ssm-session-empty {
  border-right: 1px solid #dee2e6;
}

@media screen and (max-width: 700px) {
  .ssm-layout-table .ssm-session-empty {
    display: none;
  }
}

.ssm-layout-table .ssm-time {
  min-width: 105px;
  border: 1px solid #dee2e6;
  border-bottom: 0px;
}

@media screen and (max-width: 700px) {
  .ssm-layout-table .ssm-time {
    font-size: 22px;
    padding: 0 16px;
  }
}

.ssm-layout-table [class*="ssm-session-type-"] {
  border-right: 1px solid #dee2e6;
  border-top: 1px solid #dee2e6;
}

@media screen and (max-width: 700px) {
  .ssm-layout-table .ssm-session-type-session {
    line-height: 1.4;
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 700px) {
  .ssm-layout-table .ssm-session-type-session:before {
    color: #909294;
    content: attr(data-track-title);
    border-bottom: 1px dashed #dee2e6;
    border-top: 1px dashed #dee2e6;
    display: block;
    font-size: 110%;
    line-height: 1;
    margin-bottom: 8px;
    padding: 3px 10px;
  }
}

@media screen and (max-width: 700px) {
  .ssm-layout-table .ssm-global-session .ssm-session-type-session:before {
    display: none;
  }
}

.ssm-layout-table .ssm-session-cell-content h3 {
  margin-bottom: 10px;
  font-size: clamp(10px, 1vw, 20px);
}

@media screen and (max-width: 700px) {
  .ssm-layout-table .ssm-session-title {
    display: block;
    padding: 10px;
  }
}

.ssm-layout-table .ssm-track-description,
.ssm-layout-table .ssm-session-speakers {
  display: inline-block;
}



@media screen and (max-width: 700px) {
  .ssm-layout-table .ssm-session-speakers {
    display: block;
    padding-left: 20px;
  }
}

.ssm-layout-table .ssm-global-session {
  background: #f2f2f2;
}

.ssm-layout-table .ssm-global-session td {
  padding: 20px 0 !important;
}

.ssm-layout-table .ssm-global-session-mainstage,
.ssm-layout-table .ssm-session-type-mainstage {
  background: #bfdcea;
}

.ssm-layout-table.ssm-color-scheme-dark {
  color: #ffffff;
}

.ssm-layout-table.ssm-color-scheme-dark thead th {
  background: #212529;
  color: #ffffff;
}

.ssm-layout-table.ssm-color-scheme-dark a {
  color: #ffffff;
}

.ssm-layout-table.ssm-color-scheme-dark tr {
  background-color: #212529;
}

.ssm-layout-table.ssm-color-scheme-dark .ssm-session-title {
  color: #ffffff;
}

@media screen and (max-width: 700px) {
  .ssm-layout-table.ssm-color-scheme-dark .ssm-session-type-session:before {
    border-bottom-color: #32383e;
    border-top-color: #32383e;
  }
}

.ssm-layout-table.ssm-color-scheme-dark .ssm-global-session {
  background: #2C2F33;
}

.ssm-layout-table.ssm-color-scheme-dark .ssm-global-session-mainstage,
.ssm-layout-table.ssm-color-scheme-dark .ssm-session-type-mainstage {
  background: #4a4a4a;
}

.ssm-layout-grid .ssm-time {
  display: none;
}

@media screen and (min-width: 700px) {
  .ssm-layout-grid .ssm-time {
    display: block;
    grid-column: times;
    background-color: transparent;
    margin: 0;
    font-size: 1em;
    font-weight: bold;
    font-size: .75em;
  }
}

.ssm-layout-grid .ssm-col-track {
  display: none;
}

@supports (display: grid) {
  @media screen and (min-width: 700px) {
    .ssm-layout-grid .ssm-col-track {
      display: block;
      padding: 10px 5px 5px;
      position: sticky;
      top: 0;
      z-index: 1000;
      background-color: transparent;
      font-weight: bold;
      font-size: .75em;
    }
  }
}

.ssm-layout-grid [class*="ssm-session-type-"] {
  margin-bottom: 1em;
  padding: .5em;
  border-radius: 2px;
  font-size: 14px;
  box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 0;
  background-color: #f2f2f2;
  border: solid 1px white;
}

@supports (display: grid) {
  @media screen and (min-width: 700px) {
    .ssm-layout-grid [class*="ssm-session-type-"] {
      margin: 0;
    }
  }
}

.ssm-layout-grid .ssm-session-cell-content h3 {
  margin: 0;
  font-size: 1.5em;
}

.ssm-layout-grid .ssm-session-title {
  text-decoration: none !important;
}

.ssm-layout-grid .ssm-session-title:hover {
  font-style: italic;
}

.ssm-layout-grid .ssm-session-title:focus {
  outline: 2px dotted rgba(255, 255, 255, 0.8);
}

.ssm-layout-grid .ssm-session-time {
  color: #696969;
}


@media screen and (max-width: 700px) {
  .ssm-layout-grid .ssm-session-speakers {
    display: block;
  }
}

.ssm-layout-grid .ssm-global-session {
  background: #f2f2f2;
}

.ssm-layout-grid .ssm-global-session td {
  padding: 20px 0 !important;
}

.ssm-layout-grid .ssm-global-session-mainstage,
.ssm-layout-grid .ssm-session-type-mainstage {
  background: #bfdcea;
}

.ssm-layout-grid.ssm-color-scheme-dark a {
  color: #ffffff;
}

.ssm-layout-grid.ssm-color-scheme-dark [class*="ssm-session-type-"] {
  border: solid 1px black;
  background-color: #212529;
}

.ssm-layout-grid.ssm-color-scheme-dark .ssm-session-cell-content {
  color: #ffffff;
}

.ssm-layout-grid.ssm-color-scheme-dark .ssm-session-title {
  color: #ffffff;
}

.ssm-layout-grid.ssm-color-scheme-dark .ssm-global-session {
  background: #2C2F33;
}

.ssm-layout-grid.ssm-color-scheme-dark .ssm-global-session-mainstage,
.ssm-layout-grid.ssm-color-scheme-dark .ssm-session-type-mainstage {
  background: #4a4a4a;
}

.ssm-layout-grid.ssm-color-scheme-dark .ssm-session-time {
  color: #b3b3b3;
}

.ssm-promo {
  text-align: right;
}

.single-ssm_session .wpsc-single-session-title {
  font-size: 2em;
  margin-bottom: 25px;
}

.single-ssm_session .wpsc-single-session-time {
  font-size: 1.5em;
  margin-bottom: 25px;
}

.single-ssm_session .wpsc-single-session-taxonomies {
  list-style-type: none;
  margin-left: 0;
  padding: 0;
}

.single-ssm_session .wpsc-single-session-taxonomies-taxonomy {
  display: inline;
  margin-right: 20px;
}

.single-ssm_session .wpsc-single-session-taxonomies-taxonomy i {
  margin-right: 4px;
}

/* Locations Grid Styles */
.ssm-locations-grid {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), 1fr);
  gap: var(--gap, 20px);
}

@media screen and (max-width: 992px) {
  .ssm-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .ssm-locations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.ssm-location-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: var(--text-align, center);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ssm-location-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.ssm-location-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--image-ratio, 16/9);
  background: #f5f5f5;
}

.ssm-location-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.ssm-location-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ssm-location-image-link:hover .ssm-location-image {
  transform: scale(1.05);
}

.ssm-location-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
}

.ssm-location-no-image {
  text-align: center;
  padding: 2rem;
}

.ssm-location-no-image i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.ssm-location-no-image span {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.ssm-location-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ssm-location-title {
  margin: 1rem 1rem 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.ssm-location-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ssm-location-title-link:hover {
  color: #667eea;
}

.ssm-location-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: auto 1rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.ssm-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.ssm-social-website {
  background: #667eea;
}

.ssm-social-facebook {
  background: #1877f2;
}

.ssm-social-twitter {
  background: #1da1f2;
}

.ssm-social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.ssm-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ssm-location-toggle {
  width: 100%;
  background: #f8f9fa;
  border: none;
  border-top: 1px solid #e0e0e0;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #666;
  transition: all 0.3s ease;
}

.ssm-location-toggle:hover {
  background: #e9ecef;
  color: #333;
}

.ssm-location-toggle[aria-expanded="true"] {
  background: #667eea;
  color: white;
}

.ssm-toggle-icon {
  transition: transform 0.3s ease;
}

.ssm-location-toggle[aria-expanded="true"] .ssm-toggle-icon {
  transform: rotate(180deg);
}

.ssm-location-details {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fafbfc;
  border-top: 1px solid #e0e0e0;
}

.ssm-location-details.ssm-expanded {
  max-height: 1000px;
  padding: 1.5rem;
}

.ssm-location-section-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ssm-location-section-title i {
  color: #667eea;
  width: 16px;
}

.ssm-location-description,
.ssm-location-address,
.ssm-location-phone,
.ssm-location-website-details {
  margin-bottom: 1.5rem;
}

.ssm-location-description p,
.ssm-location-address address,
.ssm-location-phone p,
.ssm-location-website-details p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.ssm-location-address address {
  font-style: normal;
}

.ssm-location-phone a,
.ssm-location-website-details a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ssm-location-phone a:hover,
.ssm-location-website-details a:hover {
  color: #5a6fd8;
  text-decoration: underline;
}

.ssm-location-website-details a i {
  margin-left: 0.25rem;
  font-size: 0.85rem;
}

.ssm-location-archive {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.ssm-location-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #667eea;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.ssm-location-archive-link:hover {
  background: #5a6fd8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ssm-locations-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
  font-style: italic;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* Archive Content Styles */
.ssm-location-archive-content {
  padding: 1.5rem 0;
}

.ssm-location-archive-content h3 {
  margin: 0 0 1.5rem;
  color: #333;
  font-size: 1.5rem;
}

.ssm-location-sessions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ssm-session-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.ssm-session-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.ssm-session-time {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  min-width: 120px;
}

.ssm-session-content {
  flex: 1;
}

.ssm-session-title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.3rem;
}

.ssm-session-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ssm-session-title a:hover {
  color: #667eea;
}

.ssm-session-speakers {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ssm-session-speakers i {
  color: #667eea;
  width: 14px;
}

/* Dark Mode Support - Only manual override via settings/shortcode */

/* Dark Mode Support - Manual override */
.ssm-locations-grid.ssm-color-scheme-dark {
  background: #1a1a1a;
  color: #e0e0e0;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-item {
  background: #2a2a2a;
  border-color: #444;
  color: #e0e0e0;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-title {
  color: #e0e0e0;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-title-link {
  color: inherit;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-title-link:hover {
  color: #87ceeb;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-toggle {
  background: #333;
  border-color: #444;
  color: #ccc;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-toggle:hover {
  background: #404040;
  color: #e0e0e0;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-toggle[aria-expanded="true"] {
  background: #667eea;
  color: white;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-details {
  background: #1e1e1e;
  border-color: #444;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-section-title {
  color: #e0e0e0;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-description p,
.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-address address,
.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-phone p,
.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-website-details p {
  color: #ccc;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-phone a,
.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-website-details a {
  color: #87ceeb;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-phone a:hover,
.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-website-details a:hover {
  color: #b0e0e6;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-locations-no-results {
  background: #2a2a2a;
  border-color: #444;
  color: #ccc;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-session-item {
  background: #2a2a2a;
  border-color: #444;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-session-title a {
  color: #e0e0e0;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-session-title a:hover {
  color: #87ceeb;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-session-time,
.ssm-locations-grid.ssm-color-scheme-dark .ssm-session-speakers {
  color: #ccc;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-archive-link {
  background: #667eea;
  color: white;
}

.ssm-locations-grid.ssm-color-scheme-dark .ssm-location-archive-link:hover {
  background: #5a6fd8;
}

/* Track Display Styling */
.ssm-session-track {
  font-size: 0.9em;
  color: #666;
  font-style: italic;
  margin: 4px 0;
  line-height: 1.3;
}

.ssm-session-track:before {
  content: "Track: ";
  font-weight: 600;
  color: #333;
}

/* Sponsors Grid Styles */
.ssm-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), 1fr);
  gap: var(--gap, 20px);
}

@media screen and (max-width: 992px) {
  .ssm-sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .ssm-sponsors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.ssm-sponsor-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: var(--text-align, center);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ssm-sponsor-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.ssm-sponsor-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.ssm-sponsor-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--image-ratio, 16/9);
  background: #f5f5f5;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.ssm-sponsor-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.ssm-sponsor-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  background: #ffffff;
}

.ssm-sponsor-image-link:hover .ssm-sponsor-image {
  transform: scale(1.05);
}

.ssm-sponsor-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
}

.ssm-sponsor-no-image {
  text-align: center;
  padding: 2rem;
}

.ssm-sponsor-no-image i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.ssm-sponsor-no-image span {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.ssm-sponsor-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-top: auto;
}

.ssm-sponsor-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ssm-sponsor-title-link:hover {
  color: #667eea;
}

.ssm-sponsors-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #666;
  font-style: italic;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* Dark Mode Support for Sponsors */
.ssm-sponsors-grid.ssm-color-scheme-dark {
  background: #1a1a1a;
  color: #e0e0e0;
}

.ssm-sponsors-grid.ssm-color-scheme-dark .ssm-sponsor-item {
  background: #2a2a2a;
  border-color: #444;
  color: #e0e0e0;
}

.ssm-sponsors-grid.ssm-color-scheme-dark .ssm-sponsor-title {
  color: #e0e0e0;
}

.ssm-sponsors-grid.ssm-color-scheme-dark .ssm-sponsor-title-link {
  color: inherit;
}

.ssm-sponsors-grid.ssm-color-scheme-dark .ssm-sponsor-title-link:hover {
  color: #87ceeb;
}

.ssm-sponsors-grid.ssm-color-scheme-dark .ssm-sponsors-no-results {
  background: #2a2a2a;
  border-color: #444;
  color: #ccc;
}

.ssm-sponsors-grid.ssm-color-scheme-dark .ssm-sponsor-image-container {
  background: #333;
}