html {
}

body { 
  line-height: 1.4;
    font-size: 16px;
    padding: 0 10px;
    margin: 50px auto;
    max-width: 650px;
}

.main {
  max-width:42em;
  margin:15 auto;
}

h1 {
  /* font-size: 1.7em; */
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  /* max-width: 500px; */
  margin-top: 64px;
  margin-bottom: 32px;
}

h2 {
  /* font-size: 28px; */
  margin-top: 24px;
  font-weight: 900;
  /* border-left: 8px solid #ff33ff;
    padding-left: 12px;
    margin-left: -12px; */
    /* text-decoration: underline 6px solid #ff88ff; */
}

h3 {
  /* text-decoration: underline 4px solid #ff88ff; */
}

p {
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
}

.subtitle {
  font-size: 1.7em;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  max-width: 600px;
  margin-top: 64px;
  margin-bottom: 32px;
}

.narrow {
  max-width: 500px;
}

ul {
  margin-top: 0rem;
  overflow: hidden;
}

details {
  margin-top: 8px;
}

summary {
  text-decoration: underline 1px solid black;
}

blockquote {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 40px;
  margin-inline-end: 40px;
}

blockquote blockquote {
  margin-left: 0;
  border-left-color: #e7c3e5;
}

blockquote blockquote blockquote {
  border-left-color: #c3e7d2;
}

blockquote blockquote blockquote blockquote {
  border-left-color: lightgray;
}

/* Simplified and Corrected Navigation Menu CSS */

.site-header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}

.site-title {
  font-size: 1.7rem;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-family: 'Monoton', sans-serif;
  color: #303030;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-navi-items {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-navi-items li {
  margin-left: 20px;
}

.site-navi-items a {
  color: #00e;
  text-decoration: none;
}

.site-navi-items a:hover {
  color: #ff33ff;
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .site-navi-items {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .site-navi-items li {
    margin-left: 0;
    margin-top: 8px;
  }
}


/* Site footer */

.footer {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 16px;
}

/* Mobile */

@media screen and (max-width: 768px) {
  .site-header, .site-header-bottom, .main, .breadcrumb, .site-footer {
    width: 98%;
    box-sizing: border-box;
  }
}

.full_bleed_outer {

  width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
      background-color: #dd77dd;
      color: #fff; padding-top: 32px; padding-bottom: 48px; margin-top: 32px;
  
  }
  
  .full_bleed_inner {
    margin: 0 auto;
    max-width: 1000px;
  }
  
  .full_bleed_inner a {
      /* color: #030303; */
      /* color: #00f; */
  }
  
  @media (max-width: 800px) {
    .full_bleed_inner {
      padding: 16px;
    }
  }

/* toc */

.toc_outside {
  
  /* position: absolute; */
  /* overflow: visible; */
  /* left: -430px; */
  left: 0px;
  /* min-width: 97%; */
float: right;;max-width: 400px;margin-left: 20px;margin-bottom: 20px;
border-left: solid 4px #ff99ff;
border-bottom: solid 4px #ff99ff;
border-radius: 0px 0px 0px 10px;

}

.toc {
  float: left;
  clear: left;
  z-index: 10;
  padding: 4px;
  /* margin-left: calc(100%); */
margin-bottom: 10px;
  /* border: solid 1px lightgray; */
  /* border-left: solid  4px #ff88ff; */
  /* border-top: solid 4px #ff33ff; */
  /* border-bottom: dotted  4px #ff33ff; */
    max-width: 388px;
    vertical-align: baseline;
    position: relative;
  font-size: 0.9em;
  font-weight: 400;
  
  /* border-radius: 6px; */
  /* box-shadow: 1px 2px 2px 0px rgba(0, 0, 255, .2); */
  
}
.toc a {
  text-decoration: none;  
  color: #000;
}
.toc a:hover {
  text-decoration: underline;
  
}
.toc ul {
  list-style-type: none;
  padding: 0;
  padding-left: 12px;
  margin: 0;
    counter-reset: toccounter;
}

.toc ul li {
  list-style-type: none;
  font-weight: 400;
  padding: 0;
  padding-left: 12px;
  margin: 0;
    
}

.toc ul li:before {
  content: counter(toccounter) ".\0000a0";
  counter-increment: toccounter;
}

.toc ul li ul li:before {
        content: counter(toccounter) ".\0000a0";
        counter-increment: toccounter;
}

.toc ul li ul li {
    font-weight: 500;
    font-size: 14px;
}
/*

.toc ul li ul li ul li:before {
        content: "\0000a0\0000a0\0000a0\0000a0";
}
*/

.toc ul li ul li ul li {
    display: none;
}
/*

.toc ul li ul li ul li ul li:before {
        content: "\0000a0\0000a0\0000a0\0000a0";
}
*/
.toc nav > ul {
  padding-left: 0;
}


@media (max-width: 700px) {
  .main {
    overflow: hidden;
  }
  .toc_outside {
  
    position: relative;
    min-width: 97%;
    /* margin-left: calc(470px); */
    border-bottom: 0px solid black;
    border-radius: 0px;
  }
    .toc {
 min-width: 97%;
    float: left;
    clear: right;
/*        position: relative;*/
  padding: 0px;
  margin-right: 4px;
    margin-left: 4px;
  margin-bottom: 10px;
  /* border: solid 1px lightgray; */
    }

    

}


/* fellow profiles w claude */

  .profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }

  .profile-header {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    margin-bottom: 48px;
    align-items: start;
  }

  .profile-image-wrapper {
    position: relative;
  }

  .profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    background: #f5f5f5;
    transition: transform 0.2s ease;
  }

  .profile-image:hover {
    transform: scale(1.02);
  }

  .profile-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a1a;
  }

  .profile-role {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4px;
  }
  
  .profile-affiliation {
    font-size: 1rem;
    color: #666;
    margin-bottom: 16px;
  }

  .profile-content {
    line-height: 1.7;
    color: #333;
  }

  .section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2em 0 1em;
    color: #1a1a1a;
  }

  .subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5em 0 0.75em;
    color: #333;
  }

  code {
    background: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
  }

  @media (max-width: 600px) {
    .profile-header {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 24px;
    }
    
    .profile-image-wrapper {
      margin: 0 auto;
      width: fit-content;
    }
  }

/* apply for fellowship button */

.apply-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #f8f9fa;
  color: #1a1a1a;
  text-decoration: none;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  transition: all 0.2s ease;
}

.apply-button:hover {
  background-color: #1a1a1a;
  color: #ffffff;
}


/* IMPACT styling */

.testimonials {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.testimonial {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  margin-bottom: 64px;
  align-items: start;
  position: relative;
}

.testimonial:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -32px;
  left: 0;
  right: 0;
  height: 1px;
  background: #eaeaea;
}

.profile-wrapper {
  position: relative;
}

.profile-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 3px solid white;
  background: #f5f5f5;
  transition: transform 0.2s ease;
}

.profile-image:hover {
  transform: scale(1.02);
}

.testimonial-content {
  margin: 0;
}

.testimonial-author {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1a1a1a;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0px;
}

.testimonial-text {
  margin: 0;
  margin-top: 8px;
  line-height: 1.7;
  color: #333;
}

.testimonial-text p {
  margin-bottom: 1em;
}

.testimonial-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .testimonial {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    margin-bottom: 48px;
  }
  
  .profile-wrapper {
    margin: 0 auto;
    width: fit-content;
  }

  .testimonial-role {
    margin-bottom: 12px;
  }
}