/* max-session-template.css */

/* Make sure Nav menu is showing (FOR GEO) */
body:not(.menu-overlay):not(.hmenu-center):not(.menu-force-opacity):not(
    .navbar-hover
  )
  .menu-wrapper:not(.no-header)
  .menu-transparent:not(.is_stuck:not(.menu-desktop-transparent)):not(
    .is_mobile_open
  ).style-dark-original {
  opacity: 1 !important;
}

/* Make sure Nav menu is showing (FOR GEO) */
body:not(.menu-force-opacity):not(.navbar-hover)
  .menu-wrapper:not(.no-header)
  .menu-transparent:not(.is_stuck:not(.menu-desktop-transparent)):not(
    .is_mobile_open
  ).style-dark-original
  > *:not(.overlay-search) {
  background: radial-gradient(
    circle at left top,
    rgb(0, 167, 181),
    rgb(189, 207, 0) 99%
  ) !important;
  border-color: #b5d334 !important;
}

/* Make sure Nav menu is showing (FOR GEO) */
body.menu-mobile-transparent:not(.hmenu-center)
  .menu-absolute.menu-transparent {
  position: initial !important;
}

/* BACK TO PROGRAMME BUTTON */
.back-to-programme {
  text-align: center;
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.back-to-programme-button {
  background-color: #1b1d1f;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.back-to-programme-button:hover {
  background-color: #2f3133;
}

/* Session styling */
.max-session-content {
  width: 100%; /* Ensure it takes up full width */
  max-width: 1200px; /* Limit the maximum width to 800px */
  margin: 0 auto; /* Center the content horizontally */
  padding: 20px; /* Add some padding for spacing */
  box-sizing: border-box; /* Ensure padding is included in the total width */
  margin-top: 20px;
  margin-bottom: 40px;
}

.max-session-content h1 {
  margin: 0;
}

.session-meta-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

/* Description Container (Left) */
.session-meta-main {
  flex: 2;
  min-width: 0;
}

/* Post Meta Details Container (Right) */
.session-meta-sidebar {
  flex: 1;
  min-width: 250px;
}

.session-widget {
  border-radius: 8px;
  background: white;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #e6e7e8;
  margin-bottom: 20px;
}

.session-widget > p {
  color: #555;
}

.session-widget-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 4px solid #ebebeb;
}

/* Cool Underline */
.session-widget-title::after {
  content: "";
  position: absolute;
  background: var(--single-event-underline-color);
  left: 35%;
  right: 35%;
  bottom: -4px;
  height: 4px;
}

.speaker-item {
  margin-bottom: .25rem;
}

/* Speaker name and image styling */
.speaker-link {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  font-weight: bold;
  color: var(--orange);
  text-decoration: none;
}

.speaker-link:hover {
  color: #e73f55; /* Change color on hover */
  text-decoration: none;
}

.speaker-content {
  display: flex;
  gap: 10px;
  align-items: center;
}

.speaker-image {
  margin-right: 8px;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%; /* Make the image round */
  display: contents;
}

.speaker-image img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--orange);
}

.speaker-link:hover .speaker-image img {
  border: 1px solid var(--schedule-speaker-color-hover);
}

.speaker-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speaker-name {
  font-weight: bold;
  font-size: 0.9em;
}

.speaker-job {
  font-size: 0.6em;
  color: #555;
  font-weight: 300;
}

/* Session Time Styling */
.max-session-content p {
  margin-bottom: 15px;
}

.max-session-content p strong {
  font-weight: bold;
  color: #444;
}

/* Session Description */
.session-description {
  margin-top: 20px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
}
