/* Import custom font */
@font-face {
    font-family: 'Excalifont';
    src: url('assets/Excalifont-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Apply font to FullCalendar */
#calendar * {
    font-family: 'Excalifont', Arial, sans-serif;
}

body, #calendar-title {
    font-family: 'Excalifont', Arial, sans-serif;
}

body {
    background-color: #0D2B2F;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

img.banner {
  display:block;
  max-width:900px;
  width:100%;
  margin:0 auto 0 auto;
  border-radius:14px;
  box-shadow:0 2px 16px rgba(0,0,0,0.18);
}

img.decoration {
  display:block;
  width:35%;
  margin:0 auto 0 auto;
}

#calendar {
    max-width: 900px;
    margin: 40px auto 0 auto;
    background: #13383D;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    padding: 12px;
}

.fc {
    background: transparent;
}

.fc-toolbar-title,
#calendar-title {
    text-align: center;
    font-size: 28px;
    margin: 0 0 20px 0;
    font-weight: bold;
    color: #FFC857;
    letter-spacing: 1px;
}

.calendar-title {
    color: #FFC857;
    text-align: center;
}

#info-message {
    text-align: center;
    margin: 20px auto 0 auto;
    font-size: 1.1em;
    background: #1E474D;
    color: #FFC857;
    border-radius: 8px;
    padding: 12px 20px;
    max-width: 700px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#registration-note {
    text-align: center;
    margin: 20px auto 0 auto;
    font-size: 1.1em;
    background: #ffbf40;
    color: #0D2B2F;
    border-radius: 8px;
    padding: 12px 20px;
    max-width: 700px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    /* Make button look like the previous static panel */
    appearance: none;
    border: none;
    font-family: 'Excalifont', Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.3;
    display: block;
}

#registration-note:hover,
#registration-note:focus {
  background: #FFD680;
  color: #0D2B2F;
  outline: 2px solid #FFC857;
}

#registration-note:active {
  transform: translateY(1px);
}

#registration-note:focus-visible {
  outline: 3px solid #FFFFFF;
  box-shadow: 0 0 0 3px #FFC857;
}

#conference-intro {
    text-align: center;
    margin: 12px auto 24px auto;
    max-width: 900px;
    color: #FFF6F0;
    font-size: 1em;
    line-height: 1.5;
    padding: 0 8em;
}

#conference-intro .accent {
    color: #FFC857;
}

#conference-intro .intro-lead {
    font-size: 1.15em;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 1em;
}

#conference-intro .intro-body {
    font-size: 1em;
    margin: 0;
}

#conference-intro .intro-body mark {
    border-radius: 5px;
    padding-right:0.5em;
    padding-left:0.5em;
    background-color: #99DEDE;
}

#conference-intro .intro-cta {
    font-size: 1.02em;
    margin: 10px 0 0 0;
}

.fc-header-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
}

.fc-toolbar-chunk {
    flex: 1;
    text-align: center;
}

.fc-daygrid-event .fc-event-title,
.fc-event-title {
    white-space: normal;
    overflow: visible;
    display: block;
    text-overflow: clip;
    color: #FFF6F0;
}

.fc-daygrid-event {
    line-height: 1.2em;
    padding: 2px 4px;
}

.fc-event, .fc-v-event {
    background: #006666;
    border: 2.5px solid #FFC857;
    border-radius: 12px;
    color: #FFF6F0;
    font-size: 1em; /* Decrease font size */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-bottom: 6px;
    min-height: 120px; /* Even taller rows */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Remove break-event styling since breaks will not be rendered at all */
/* .break-event { ... } */

.session-title {
  font-size: 1em; /* Decrease font size */
  margin-bottom: 2px;
  text-align: center;
  width: 100%;
  color: #FFC857;
}

a {
    color: #FFC857;
    text-decoration: underline; /* underline session link */
}

.session-presenter {
    color: #FFF6F0;
    font-size: 0.9em; /* Decrease font size */
    text-align: center;
    width: 100%;
}

.fc-event-time {
    color: #FFD680;
    font-weight: bold;
    margin-bottom: 2px;
    margin-top: 6px;
    text-align: center;
    width: 100%;
    font-size: 0.9em; /* Decrease font size */
}

.fc-today {
    background: #1E474D !important;
}

:root {
    --fc-event-border-color: #FFC857;
    --fc-today-bg-color: #1E474D;
    --fc-button-bg-color: #FFC857;
    --fc-button-border-color: #FFC857;
    --fc-event-bg-color: #006666;
    --fc-event-border-color: #FFC857;
}

.fc-button, .fc-button-primary {
    background: #FFC857 !important;
    color: #0D2B2F !important;
    border: none !important;
    border-radius: 5px !important;
    font-weight: bold;
    box-shadow: none !important;
}

.fc-button:hover, .fc-button-primary:hover {
    background: #FFD680 !important;
    color: #0D2B2F !important;
}

.fc-today-button, .fc-prev-button, .fc-next-button {
    width: 6em;
    margin-bottom: 2px !important;
}

@media (max-width: 600px) {
    .fc-toolbar-title {
        font-size: 1.1em !important;
    }
    #calendar {
        padding: 8px 2px 2px 2px;
    }
    #info-message,
    #registration-note {
        font-size: 0.98em;
        padding: 8px 6px;
    }
    #conference-intro {
        font-size: 1em;
        padding: 0 2em;
    }

    img.decoration {
      width:50%;
    }

    #conference-intro .intro-lead {
        font-size: 1.05em;
    }
    #conference-intro .intro-body,
    #conference-intro .intro-cta {
        font-size: 0.98em;
    }

    .fc-list-event-graphic {
        display: none !important; /* hide the dot graphic */
    }

    /* List view (mobile) styling */
    .fc-list, .fc-list-sticky {
        background: transparent;
    }

    .fc .fc-list-table {
        background: #13383D;
        border: 0;
    }

    .fc .fc-list-day-cushion {
        background: #1E474D;
        color: #FFC857;
        border: 0;
    }

    .fc .fc-list-event td {
        border-color: rgba(255,255,255,0.08);
    }

    .fc .fc-list-event:hover td {
        background: rgba(255,255,255,0.04);
    }

    /* Allow default time column to show (was hidden earlier) */
    /* Also center and size it to match the session title */
    .fc .fc-list-event-time {
        display: block !important;        /* override previous display:none */
        text-align: center;
        color: #FFD680;
        font-weight: bold;
        font-size: 0.8em;                 /* match .session-title on mobile */
        margin: 6px 0 4px 0;
    }

    /* Underline session link in list view */
    .fc .fc-list-event-title a {
        color: #FFC857;
        text-decoration: underline;       /* override previous none */
    }

    /* Stack cells vertically and center content */
    .fc .fc-list-event { display: block; }
    .fc .fc-list-event td {
        display: block;
        width: 100%;
        border: 0;                        /* cleaner card look */
    }
    .fc .fc-list-event-title { text-align: center; }

    /* Remove the dot column entirely */
    .fc .fc-list-event-dot { display: none !important; }

    /* Slightly tighter list spacing on mobile */
    .fc .fc-list-event-time,
    .fc .fc-list-event-title {
        font-size: 0.9em;
    }
}

/* Make time grid rows even taller */
.fc-timegrid-slot {
    height: 64px !important;
    min-height: 64px !important;
}

.fc-header-toolbar.fc-toolbar {
    display: none;
}

/* Ensure the inner event content is centered vertically & horizontally */
.fc-v-event .fc-event-main,
.fc-v-event .fc-event-main-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center; /* keep text centered */
}

/* If you ever render dayGrid items, center those as well */
.fc-daygrid-event .fc-event-main {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Center your custom wrapper too */
.session-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

/* Keep time/title/presenter fully centered */
.fc-event-time,
.session-title,
.session-presenter {
  width: 100%;
  text-align: center;
}

/* Centered book cover on session pages */
.book-cover {
  display: block;
  margin: 16px auto 0 auto;
  width: min(70%, 300px);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.book-cover-bio {
  display: block;
  width: min(70%, 250px);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* Flash highlight for clicked presenter's sessions */
@keyframes sym-flash {
  0% {
    background-color: var(--fc-event-bg-color);
    color: inherit;
    border-color: var(--fc-event-border-color);
    box-shadow: 0 0 0 0 rgba(255, 200, 87, 0), 0 0 0 0 rgba(255,255,255,0);
  }
  12% {
    border-color: #FFFFFF;     /* bright border */
    box-shadow:
      0 0 0 6px rgba(255,255,255,0.85) inset,
      0 0 0 10px rgba(255, 200, 87, 0.85),
      0 10px 28px rgba(255, 200, 87, 0.55);
  }
  50% {
    border-color: #FFFFFF;
    box-shadow:
      0 0 0 3px rgba(255,255,255,0.6) inset,
      0 0 0 6px rgba(255, 200, 87, 0.55),
      0 8px 22px rgba(255, 200, 87, 0.45);
  }
  100% {
    background-color: var(--fc-event-bg-color);
    color: inherit;
    border-color: var(--fc-event-border-color);
    box-shadow: 0 0 0 0 rgba(255, 200, 87, 0), 0 0 0 0 rgba(255,255,255,0);
  }
}
.flash-highlight,
.flash-highlight td { /* include list view cells */
  animation: sym-flash 2s ease-in-out 1;
  will-change: box-shadow, border-color;
  position: relative;
  z-index: 3;
}

/* Make scroller images clearly clickable */
.sym-photo-item img { cursor: pointer; }

/* RingCentral Hopin embed responsiveness */
.hopin-container { 
  overflow: hidden;
  padding-top: 75.25%;
  max-width: 900px;;
  position: relative;
}

.hopin-container iframe {
   border: 0;
   height: clamp(300px, 55vh, 560px);
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

.section-card {
  background: #13383D;
  border: 2.5px solid #FFC857;
  border-radius: 12px;
  color: #FFF6F0;
  padding: 18px 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  margin: 20px 0;
}

.section-title-host {
  color: #FFC857;
  font-size: 1.4em;
  margin: 0 0 14px 0;
  letter-spacing: 0.3px;
  text-align: center;
}

/* Host section specific */
#about-host .about-host-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1em;
  line-height: 1.55;
  text-align: left;
}

#about-host p {
  margin: 0 0 1.05em 0;
}

#about-host a {
  color: #FFC857;
  text-decoration: underline;
}

#about-host a:hover {
  color: #FFD680;
}

/* Circular headshot consistent with session pages */
.author-photo {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  border: 3px solid #FFC857;
  object-fit: cover;
  background: #1E474D;
  margin: 0 auto 18px auto;
  display: block;
}

/* Utilities pulled from sessions styles */
.u-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.u-glow-gold {
  filter: drop-shadow(0 8px 18px rgba(255, 200, 87, 0.35))
          drop-shadow(0 0 12px rgba(255, 200, 87, 0.25));
}

/* Tweak book cover when used in host section */
#about-host .book-cover {
  width: min(55%, 240px);
  margin-top: 10px;
  transition: transform 140ms ease;
}

#about-host .book-cover:hover {
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 640px) {
  #about-host .about-host-body { font-size: 0.98em; padding: 0 4px; }
  #about-host .book-cover { width: min(70%, 240px); }
  .author-photo { width: 120px; height: 120px; }
}