: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;
}

.hide {
  display: none !important;
}

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

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

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

#top {
  background-color: #ff9000;
  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;
}

.series-title {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px 0;
  text-align: center;
}

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

.title-main-sub {
  color: #c4d0cf;
  font-size: 32px;
  font-weight: bold;
  font-style: italic;
  text-align: center;
  line-height: 48px;
}

.title-main-sub-sub {
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 48px;
}

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

.yellow {
  color: #ebc306;
}

.orange {
  color: #ff9000;
}

/* Main Navigation */
.main-nav {
  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: #000;
  text-decoration: none;
  padding: 1px 5px;
  display: block;
  font-weight: bold;
}

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

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

.left-header {
  width: 60%;
}

#ghc-logo {
  max-width: 100%;
  height: auto;
}

/* 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: 0px;
}

/* 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);
}

.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: 0px;
  color: #660000;
}

.speaker-title {
  font-size: 0.9rem;
  color: #660000;
  margin: 0px;
}

.speaker-bio {
  margin: 0;
  padding: 0;
}

.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;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.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;
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
  }

  .hamburger-menu.is-active span {
    background-color: #000;
  }

  .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;
  }

  .series-title {
    font-size: 16px;
    line-height: 22px;
  }

  .title-main {
    font-size: 26px;
    line-height: 32px;
  }

  .title-main-sub {
    font-size: 18px;
    line-height: 24px;
  }

  .date {
    font-size: 15px;
    line-height: 22px;
  }

  /* Adjust nav for mobile */
  /* Slide-in Menu Styling */
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    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;
  }

  .main-nav ul li {
    display: block;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .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;
  }

  .w-1,
  .w-2,
  .w-3,
  .w-4,
  .w-5 {
    width: 100%;
  }
}

/* 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-tan {
  background-color: #e0c28d;
  color: #000;
  padding: 5px;
  margin-top: 20px;
  width: 100%;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
}

.header-light-tan {
  background-color: #f4ebda;
  color: #000;
  padding: 5px;
  margin-top: 0px;
  margin-bottom: 20px;
  width: 100%;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
}

.header-orange {
  background-color: #ff9000;
  color: #000;
  padding: 5px;
  margin-top: 20px;
  width: 100%;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
}

.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;
}

/* Contact Form
--------------------------------------------- */

.wrap-1100,
.wrap-1100 *,
.wrap-1100 *::before,
.wrap-1100 *::after {
  box-sizing: border-box;
}

.wrap-1100 form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
  text-align: left;
  margin-top: 30px;
}

.wrap-1100 form>* {
  min-width: 0;
}

.wrap-1100 form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.wrap-1100 form fieldset legend {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  padding: 0;
}

/* Full-width elements span both columns */
.wrap-1100 form>.form-name-row,
.wrap-1100 form>.form-group--interests,
.wrap-1100 form>.form-group:has(textarea),
.wrap-1100 form>.form-group:last-child {
  grid-column: 1 / -1;
}

.wrap-1100 .form-name-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.wrap-1100 .form-row--name {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.wrap-1100 .form-row--name .form-group {
  min-width: 0;
}

.wrap-1100 .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wrap-1100 .form-group label,
.wrap-1100 .form-row--name .form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.wrap-1100 .form-group input[type="text"],
.wrap-1100 .form-group input[type="email"],
.wrap-1100 .form-group input[type="tel"],
.wrap-1100 .form-group select,
.wrap-1100 .form-group textarea,
.wrap-1100 .form-row--name input[type="text"],
.wrap-1100 .form-row--name select {
  width: 100%;
  padding: 9px 12px;
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  color: #333;
  background-color: #fff;
  border: 1px solid #b0c4c9;
  border-radius: 3px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: auto;
}

.wrap-1100 .form-group input:focus,
.wrap-1100 .form-group select:focus,
.wrap-1100 .form-group textarea:focus,
.wrap-1100 .form-row--name input:focus,
.wrap-1100 .form-row--name select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.15);
}

.wrap-1100 .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Interests checkboxes */
.wrap-1100 .form-group--interests legend {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.wrap-1100 .checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.wrap-1100 .checkboxes label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  line-height: 1.4;
}

.wrap-1100 .checkboxes input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

/* Submit button */
.wrap-1100 form button[type="submit"] {
  background-color: var(--secondary-color);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 36px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
  align-self: flex-start;
}

.wrap-1100 form button[type="submit"]:hover {
  background-color: var(--primary-color);
}

/* Inline error banner (shown on a failed submission) */
.wrap-1100 .form-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 16px;
  background-color: #fdecea;
  border: 1px solid #f5c2c0;
  border-radius: 3px;
  color: #8a1f1a;
  font-size: 1.4rem;
}

@media screen and (max-width: 680px) {
  .wrap-1100 form {
    grid-template-columns: 1fr;
  }

  .wrap-1100 form>.form-name-row,
  .wrap-1100 form>.form-group--interests,
  .wrap-1100 form>.form-group:has(textarea),
  .wrap-1100 form>.form-group:last-child {
    grid-column: 1;
  }

  .wrap-1100 .form-row--name {
    grid-template-columns: 1fr;
  }

  .wrap-1100 .checkboxes {
    grid-template-columns: 1fr;
  }
}