:root {
    /* --section-profile-tag-bc: #31409F; */
    --section-profile-tag-bc: #D2987A;
  }
  
  summary-profile .summary-wrapper {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
  }
  
  summary-profile .nav-panel {
    grid-column: 1;
    position: sticky;
    align-self: start;
    top: 0px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0 var(--page-padding);
    width: 80px;
  }
  
  summary-profile .nav-legend {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto 0;
  }
  
  summary-profile .legend-item {
    /* height: 100px; */
    height: 50px;
    font-family: var(--sans);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  summary-profile .legend-item a {
    text-decoration: none;
  }
  
  summary-profile .legend-item p {
    color: var(--tc);
    font-size: 12px;
    line-height: 1.2;
    padding: 3px 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .03rem;
  }
  
  summary-profile .legend-item p.active {
    background-color: var(--section-profile-tag-bc);
  }
  
  summary-profile .summaries {
    display: grid;
    grid-gap: 60px;
    --hf: var(--sans);
  /*  width: 100%;*/
  }
  
  summary-profile .section p.section-title {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--section-profile-tag-bc);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    font-family: var(--sans);
    text-transform: uppercase;
    margin: 0;
    margin-bottom: -30px;
    width: fit-content;
    letter-spacing: .03rem;
  }
  
  summary-profile .section {
    display: grid;
    grid-gap: 60px;
    --hf: var(--sans);
    padding: 0 var(--page-padding) 0 0;
    width: min(var(--story-width), calc(100% - 2 * var(--page-padding)));
    margin: 0 auto;
  }
  
  summary-profile .profile {
    max-width: var(--story-width);
    margin: 0 auto;
  }
  
  summary-profile .image-grid {
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(auto-fit, 100px);
    grid-gap: 5px;
  }
  
  summary-profile .image-grid img {
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--bc);
  }
  
  summary-profile .title {
    margin-bottom: 5px;
  }
  
  summary-profile .subtitle {
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  summary-profile .date {
    margin-top: 0px;
    margin-bottom: 5px;
    font-family: var(--sans);
    font-size: 14px;
    text-transform: uppercase;
    color: lightgray;
    /* font-style: italic; */

  }
  
  summary-profile .collage {
    display: flex;
    max-width: 1100px;
    flex-wrap: wrap;
    grid-gap: 5px;
    margin: 0 auto;
    justify-content: center;
    padding: 0 var(--page-padding);
  }
  
  summary-profile .collage a {
    text-decoration: none;
  }
  
  summary-profile .collage img {
    display: block;
    /* image size */
    /* width: 75px; */
    /* height: 75px; */
    width: 150px;
    height: 150px;
    background-color: var(--bc);
    filter: saturate(0%);
    transition: filter 100ms;
  }
  
  summary-profile .collage img:hover {
      filter: saturate(100%);
  }
  
  summary-profile .collage .placeholder {
    margin: auto;
    width: 100px;
    height: 100%;
    text-align: center;
    line-height: 100px;
    background: #777;
    color: lightgray;
    text-decoration: none;
    font-size: 25px;
    font-family: var(--serif);
    transition: filter 100ms;
  }
  
  summary-profile .collage .placeholder:hover {
    background: lightgray;
    color: gray;
  }
  
  summary-profile hr {
    width: calc(100% - 4 * var(--page-padding));
    padding: 0 var(--page-padding);
    max-width: 1100px;
    opacity: 50%;
  }
  
  @media (max-width: var(--story-width)) {
    summary-profile hr {
      width: min(var(--story-width), calc(100% - 4 * var(--page-padding)));
    }
  }
  
  @media (min-width: 800px) {
    summary-profile .image-grid {
      grid-template-columns: repeat(auto-fit, 150px);
    } 
    summary-profile .collage img {
    /* image size */
      /* width: 100px; */
      /* height: 100px; */
      width: 150px;
      height: 150px;
    }
    summary-profile .nav-panel {
      width: 80px
    }
    summary-profile .legend-item p {
      font-size: 15px;
    }
  }