/* --------------------------------------------------
   FONT IMPORT
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap');


/* --------------------------------------------------
   GLOBAL STYLES
-------------------------------------------------- */
body {
  font-family: 'Montserrat', sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  color: #2E3536; /* deep grey text */
  background: #DDEDEE; /* light blue background */
}


/* --------------------------------------------------
   SITE HEADER + NAV BAR
-------------------------------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 2px solid #AD1C9A; /* purple accent */
  margin-bottom: 30px;
}

/* Title + Subtitle Group */
.site-title-group {
  display: flex;
  flex-direction: column;
}

/* Main Title */
.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #AD1C9A; /* purple */
  letter-spacing: 0.5px;
}

/* Subheader */
.site-subtitle {
  font-size: 0.95rem;
  font-style: italic;
  color: #2E3536; /* deep grey */
  margin-top: 2px;
}

/* Top Navigation */
.top-nav {
  display: flex;
  gap: 30px;
}

.top-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #2E3536; /* deep grey */
  padding-bottom: 4px;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
}

.top-nav a:hover {
  color: #AD1C9A; /* purple hover */
  border-bottom: 2px solid #AD1C9A;
}


/* --------------------------------------------------
   HOMEPAGE LAYOUT
-------------------------------------------------- */
.index-layout {
  max-width: 900px;
  margin: 40px auto;
}

h2 {
  color: #AD1C9A; /* purple section headers */
  font-weight: 700;
  margin-top: 40px;
  border-bottom: 2px solid #AD1C9A;
  padding-bottom: 5px;
}

/* Meeting List */
.meeting-list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.meeting-list li {
  margin-bottom: 12px;
}

.meeting-list a {
  text-decoration: none;
  font-weight: 500;
  color: #2E3536; /* deep grey */
  padding: 6px 4px;
  display: inline-block;
  border-left: 3px solid #D0D94C; /* yellow accent */
  padding-left: 10px;
  transition: 0.2s;
}

.meeting-list a:hover {
  color: #AD1C9A; /* purple hover */
  border-left-color: #AD1C9A;
  background: rgba(208, 217, 76, 0.15); /* soft yellow tint */
}


/* --------------------------------------------------
   MEETING PAGE LAYOUT
-------------------------------------------------- */
.meeting-layout {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

/* Video Player */
#player-container video {
  width: 640px;
  height: auto;
  border: 2px solid #D0D94C; /* yellow accent */
  border-radius: 4px;
}


/* --------------------------------------------------
   CHAPTER SIDEBAR
-------------------------------------------------- */
#chapters {
  width: 300px;
  max-height: 80vh;
  overflow-y: auto;
  border-left: 3px solid #AD1C9A; /* purple accent */
  padding-left: 15px;
}

#chapters h2 {
  margin-top: 0;
  font-weight: 700;
  color: #AD1C9A;
}


/* --------------------------------------------------
   SECTION TITLES (NOT CLICKABLE)
-------------------------------------------------- */
.section-title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 22px;
  padding-top: 10px;
  border-top: 2px solid #AD1C9A; /* purple */
  color: #AD1C9A;
  cursor: default;
  background: #DDEDEE !important; /* match site background */
}


/* --------------------------------------------------
   CHAPTER ITEMS (CLICKABLE)
-------------------------------------------------- */
.chapter {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  border-bottom: 1px solid #BFC7C8; /* soft grey divider */
}

.chapter:hover {
  background: rgba(173, 28, 154, 0.08); /* soft purple tint */
}

/* Timestamp Column */
.chapter .time {
  width: 60px;
  font-weight: 600;
  color: #2E3536;
}

/* Label Column */
.chapter .label {
  flex: 1;
  color: #2E3536;
  font-weight: 500;
}


/* --------------------------------------------------
   MOBILE RESPONSIVE STYLES
-------------------------------------------------- */
@media (max-width: 900px) {

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .top-nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .index-layout {
    margin: 20px auto;
    padding: 0 10px;
  }

  .meeting-layout {
    flex-direction: column;
  }

  #player-container video {
    width: 100%;
    max-width: 100%;
  }

  #chapters {
    width: 100%;
    max-height: none;
    border-left: none;
    border-top: 3px solid #AD1C9A;
    padding-left: 0;
    padding-top: 15px;
  }
}

@media (max-width: 600px) {

  .site-title {
    font-size: 1.5rem;
  }

  .site-subtitle {
    font-size: 0.85rem;
  }

  .top-nav {
    justify-content: flex-start;
    gap: 15px;
  }

  .meeting-list a {
    padding: 10px 6px;
    font-size: 1rem;
  }
}


