#top_index{
  flex: 0 0 90px;
  width: 90px;
  height: auto;
  margin: 0;
  position: static;
}

#top_index img {
  display: block;
  width: 90px;
  height: auto;
}

.achievement-page-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 781px;
  max-width: calc(100% - 10px);
  margin: 0 0 30px 5px;
}

.achievement-page-heading h1 {
  min-width: 0;
  margin: 0;
}

.achievement-year-picker {
  width: 781px;
  max-width: calc(100% - 10px);
  margin: 0 0 18px 5px;
}

.achievement-year-picker summary {
  display: list-item;
  width: fit-content;
  box-sizing: border-box;
  padding: 2px 0;
  color: #65a42d;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.5em;
  font-weight: normal;
  letter-spacing: -1px;
}

.achievement-year-picker summary:hover,
.achievement-year-picker summary:focus-visible,
.achievement-year-picker[open] summary {
  color: #65a42d;
  background: transparent;
  outline: none;
  text-decoration: underline;
}

.achievement-year-nav {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 6px;
  box-sizing: border-box;
  margin: 6px 0 0;
  padding: 10px 0;
  background: #f2f8f8;
  border: 0;
  list-style: none;
  line-height: 1.4;
}

.achievement-year-nav li {
  display: block;
  margin: 0;
  text-align: center;
}

.achievement-year-nav li:nth-child(15n + 1) {
  text-align: left;
}

.achievement-year-nav li:nth-child(15n) {
  text-align: right;
}

.achievement-year-nav a {
  display: inline-block;
  padding: 2px 0;
  color: #65a42d;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.5em;
  font-weight: normal;
  letter-spacing: -1px;
  text-decoration: none;
}

.achievement-year-nav a:hover {
  color: #65a42d;
  text-decoration: underline;
}

.achievement-year-nav a:focus-visible {
  color: #65a42d;
  outline: 2px solid #a9cf54;
  outline-offset: 2px;
  text-decoration: underline;
}

.portfolio-item2[id] {
  scroll-margin-top: 12px;
}

.portfolio-item2[id]:target {
  background: #fff;
  outline: 2px solid #a9cf54;
  outline-offset: 2px;
}

/* Keep activity cards in strict rows even when a title wraps to more lines. */
.portfolio-area {
  display: grid;
  grid-template-columns: repeat(3, 255px);
  column-gap: 12px;
  row-gap: 10px;
  align-items: start;
  width: 789px;
  height: auto;
}

.portfolio-area > .portfolio-item2 {
  float: none;
  width: 245px;
  margin: 0;
  padding: 5px;
}

.portfolio-item2 .image-block img[src^="/images/Activities-Managed/"] {
  display: block;
  width: 225px;
  height: 175px;
  object-fit: contain;
  object-position: center;
}
