:root {
  --primary-color: #0056b3;
  /* Healthcare Blue */
  --secondary-color: #004494;
  --accent-color: #f8f9fa;
  --text-color: #333;
  --light-text: #666;
  --background-color: #fff;
  --header-height: 80px;
  --container-width: 1200px;
}

/* General Body Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

h3 {
  color: #660000;
  font-size: 24px;
}

h4 {
  color: #660000;
  font-size: 20px;
}

h5 {
  color: #006766;
  font-size: 18px;
}

#top {
  background-color: #ebc306;
  text-transform: uppercase;
  color: #000;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Header with Background Image */
.site-header {
  background-image: url("../images/banner-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 1rem 1rem;
  text-align: center;
  position: relative;
}

/* Overlay for better text readability on the header image */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  /* Ensures text is on top of the overlay */
  gap: 6rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.title-main {
  color: #fff;
  font-size: 46px;
  font-weight: bold;
  text-align: center;
  line-height: 52px;
}

.date {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 26px;
  text-align: center;
}

.yellow {
  color: #ebc306;
}

/* Main Navigation */
.main-nav {
  background-color: #333;
  background-color: #f6d98b;
}

.main-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0.5rem 1rem;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}

.main-nav ul li {
  display: inline-block;
  border-right: 2px solid #000;
}

.main-nav ul li:last-child {
  border-right: none;
}

.main-nav ul li a {
  color: white;
  color: #000;
  text-decoration: none;
  padding: 1px 5px;
  display: block;
  font-weight: bold;
}

.main-nav ul li a:hover {
  background-color: #555;
  background-color: #ebc306;
}

.right-header {
  text-align: center;
  width: 40%;
}

.left-header {
  width: 60%;
}

/* Main Content and Sidebar Layout */
.container {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  gap: 2rem;
}

.main-column {
  flex: 3;
}

#main-sidebar {
  flex: 1;
  background: #fff;
  padding: 1.5rem;
  max-width: 338px;
  text-align: center;
}

.section-title {
  text-align: center;
  color: #660000;
}

.two-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.three-wide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.faculty-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.speaker-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  text-align: center;
  padding-bottom: 20px;
  /* width: 260px; Removed for variable width support */
}

/* Variable width speaker card classes */
.w-1 {
  width: 100%;
}

.w-2 {
  width: calc((100% - 30px) / 2);
}

.w-3 {
  width: calc((100% - 60px) / 3);
}

.w-4 {
  width: calc((100% - 90px) / 4);
}

.w-5 {
  width: calc((100% - 120px) / 5);
}

@media (max-width: 768px) {
  .w-1,
  .w-2,
  .w-3,
  .w-4,
  .w-5 {
    width: 100%;
  }
}

.speaker-img {
  width: 100px;
  height: 90px;
  object-fit: cover;
  background-color: #eee;
}

.speaker-info {
  padding: 0;
}

.speaker-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 3px;
  color: #660000;
}

.speaker-title {
  font-size: 0.9rem;
  color: var(--light-text);
  margin: 3px;
  color: #660000;
}

.main-column-below-sidebar {
  margin: 0 auto;
  max-width: 1280px;
}

.home-img {
  margin: 0 auto;
  max-width: 1000px;
}

.home-img img {
  margin: 0 auto;
  height: auto;
  width: 100%;
}

#main-sidebar a,
.content a {
  color: rgb(250, 142, 1);
  font-weight: bold;
  text-decoration: none;
}

#main-sidebar a:hover,
.content a:hover {
  color: #333;
}

/* Footer */
#main-footer {
  background-color: #f6d98b;
  color: #000;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-weight: bold;
}

#main-footer .container {
  display: block;
  margin: 0 auto;
  text-align: center;
}

/* Hamburger Menu Button (hidden on desktop) */
.hamburger-menu {
  display: none;
  /* Hidden by default */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  /* Ensure it's on top */
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 5px 0;
  transition: all 0.3s;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  /* Header stacks vertically */
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hamburger-menu {
    display: block;
    /* Show on mobile */
    position: absolute;
    /* Position relative to #top */
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
  }

  /* 'X' icon transformation when menu is active */
  .hamburger-menu.is-active span {
    background-color: #000;
    /* Change color to black for the 'X' */
  }

  .hamburger-menu.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger-menu.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .left-header,
  .right-header {
    width: 100%;
    text-align: center;
  }

  /* Adjust nav for mobile */
  /* Slide-in Menu Styling */
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    /* Start off-screen */
    width: 280px;
    height: 100%;
    background-color: #f6d98b;
    padding: 4rem 1rem 1rem;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  }

  .main-nav.is-active {
    left: 0;
    /* Slide in */
  }

  .main-nav ul li {
    display: block;
    /* Stack nav items */
    border-right: none;
    /* Remove pipe separator */
    border-bottom: 1px solid #ccc;
    /* Add bottom border instead */
  }

  .main-nav ul li:last-child {
    border-bottom: none;
  }

  /* Main content and sidebar stack */

  .container,
  .two-wide,
  .three-wide {
    flex-direction: column;

    grid-template-columns: 1fr;
    /* Make grids single-column */
  }
}

/* Sidebar Styles from source */
.header-brown {
  background-color: #660000;
  color: #fff;
  padding: 5px;
  margin-top: 0px;
  width: 100%;
  font-size: 18px;
}

.header-yellow {
  background-color: #ebc306;
  color: #000;
  padding: 5px;
  margin-top: 20px;
  width: 100%;
  font-size: 18px;
}

.header-blue {
  background-color: #5b73af;
  color: #000;
  padding: 5px;
  margin-top: 20px;
  width: 100%;
  font-size: 18px;
}

.header-dark-green {
  background-color: #006666;
  color: #fff;
  padding: 5px;
  margin-top: 20px;
  width: 100%;
  font-size: 18px;
}

.header-light-blue {
  background-color: #b9c8ed;
  color: #000;
  padding: 5px;
  margin-top: 0px;
  margin-bottom: 20px;
  width: 100%;
  font-size: 18px;
}

.header-light-yellow {
  background-color: #f6d98b;
  color: #000;
  padding: 5px;
  margin-top: 0px;
  margin-bottom: 20px;
  width: 100%;
  font-size: 18px;
}

.header-red {
  background-color: #cc0202;
  color: #000;
  padding: 5px;
  margin-top: 20px;
  width: 100%;
  font-size: 18px;
}

.sidebar .widget {
  background-color: #ffffff;
  border-radius: 3px;
  margin-bottom: 20px;
  padding: 20px;
}

.sidebar li {
  list-style-type: none;
  margin-bottom: 6px;
  word-wrap: break-word;
}

.aligncenter {
  display: block;
  margin: 5px auto;
}

#main-sidebar h6 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #660000;
  margin-top: 10px;
}

/* Content Area Link Styles */
.main-column-below-sidebar a,
.main-column a {
  color: rgb(250, 142, 1);
  font-weight: bold;
  text-decoration: none;
}

.main-column-below-sidebar a:hover,
.main-column a:hover {
  color: #333;
}

/* Award Winners Styles */
.award-img {
  width: 60px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
}
