body {
  margin: 0 auto;
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
}

.name {
  font-family: "Figtree", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: left;
}

.cvname {
  font-family: "Figtree", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: left;
}

.cvnamespaced {
  font-family: "Figtree", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: left;
  margin-top: 2.9rem;
}

.container {
  max-width: 910px;
  margin: 0 auto;
  padding: 135px 20px;
  text-align: left;
}

.CVcontainer {
  max-width: 900px;
  margin: 0 auto;
  padding: 135px 20px;
  text-align: left;
  padding-left: 35px;
}

.containerblog {
  max-width: 400px;
  margin: 0 auto;
  padding: 185px 20px;
  text-align: left;
}

hr {
  border: none;
  border-top: 1px solid;
  opacity: 0.2;
  margin: 2rem 0;
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: left;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  margin-top: 0.6rem;
  text-align: left;
  font-family: "Figtree", sans-serif;
  font-weight: 500;
}

.about {
  margin-top: 12px;
  font-size: 1.0rem;
  font-weight: 396;
  letter-spacing: -0.01em;
  line-height: 1.5;
  text-align: left;
}

/* for the hyperlinks --== */
a {
  text-decoration: underline;
  text-decoration-thickness: 0.4px;
  text-underline-offset: 1.8px;
  transition: text-decoration-color 0.3s ease;
}

.byline {
  opacity: 0.9;
  font-size: 0.9rem;
  margin-top: -1.0rem;
  margin-bottom: 1rem;
}

u {
  text-decoration-thickness: 0.4px;
  text-underline-offset: 2px;
}

.bloglinks {
  margin-bottom: 3.2px;
  font-size: 1.0rem;
  line-height: 1.7;
  padding-left: 0.4rem;
  list-style: none;
  margin: 0;
  list-style-position: inside;
}

.bloglinks li {
  position: relative;
  padding-left: 0.9rem;
}

.bloglinks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  opacity: 0.7;
  border-radius: 0.6px;
}

.socials {
  margin-top: 45px;
}

.gh-link img,
.linkedin-link img {
  transform: scale(1);
  transition: transform 0.3s ease;
}

.gh-link:hover img,
.linkedin-link:hover img {
  transform: scale(1.06);
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 21.5px;
}

.socials img {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.3s ease, filter 0.4s ease;
}

.club-logo {
  height: 1.2em;
  padding-left: 0.2rem;
  width: auto;
  vertical-align: middle;
  filter: drop-shadow(-0.2px 0.2px 0.2px #10101046);
}

.byline-link {
  color: inherit;
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

.about ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.about ul li {
  position: relative;
  padding-left: 1.0rem;
}

.about ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  opacity: 0.9;
  border-radius: 1px;
}

.about h1 {
  margin-bottom: 0.2rem;
}

.about h1 + p {
  margin-top: 0;
}

.replayedlogo {
  float: right;
  margin-right: 12rem;
  margin-top: 1.4rem;
  width: 80px;
}

.about li,
.about p {
  position: relative;
}

.sidenote-ref {
  font-size: 0.65em;
  vertical-align: super;
}

.sidenote {
  position: absolute;
  left: calc(100% + 5.5rem);
  top: 0.1em;
  width: clamp(140px, 16vw, 260px);
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.8;
}

@media (max-width: 1100px) {
  .sidenote {
    position: static;
    display: block;
    width: auto;
    margin-top: 0.3rem;
    left: auto;
    opacity: 0.65;
  }
}

.blog-figure {
  margin: 1.5rem 0;
  text-align: center;
}

.blog-figure img {
  max-width: 70%;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(-1px 1px 2px #10101025);
}

.blog-figure figcaption {
  margin-top: 0.1rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.donor {
  font-family: "Figtree", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: left;
}

.rights {
  text-align: center;
}

a.viewmore {
  text-decoration: none;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 950px;
  margin: 0 auto;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.topofblog-figure {
  margin: 1.5rem 0;
  text-align: left;
}

.topofblog-figure img {
  max-width: 95%;
  height: auto;
  filter: drop-shadow(-1px 1px 2px #10101025);
}

.topofblog-figure figcaption {
  margin-top: 0.1rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.site-footer {
  min-height: 250px;
  margin-top: 60px;
}

.footer-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 250px;
  padding: 40px 10px 0;
  min-height: 250px;
}

.footer-heading {
  font-weight: 500;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  transition: color 0.3s ease;
}

@media (max-width: 600px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    padding: 30px 20px;
    min-height: unset;
  }

  .footer-col {
    text-align: center;
    width: 100%;
  }

  .footer-heading {
    text-align: center;
  }
}

.theme-toggle-wrap {
  text-align: center;
  padding: 20px 0 30px;
}

.theme-toggle-wrap {
  text-align: center;
  padding: 20px 0 30px;
}

.theme-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.12);
}

.theme-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.theme-option:hover {
  opacity: 0.8;
}

.theme-option.active {
  background: rgba(128, 128, 128, 0.25);
  opacity: 1;
}



/* Investment breakdown table */
.investments {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color, rgba(95, 95, 95, 0.3));
  margin: 1.25rem 0;
}

.investment-row {
  display: flex;
  align-items: stretch;
}

.investment-row + .investment-row {
  border-top: 1px solid var(--border-color, rgba(128,128,128,0.3));
}

.investment-main {
  flex: 1;
  padding: 1.1rem 1.4rem;
  min-width: 0;
}

.investment-label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.investment-main h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 520;
  color: #262420;

}

.investment-main p {
  margin: 0 0 0.75rem 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.investment-main p:last-child {
  margin-bottom: 0;
}

.investment-pct {
  flex: 0 0 auto;
  width: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Source Serif 4", serif;
  font-size: 0.85rem;
  border-left: 1px solid var(--border-color, rgba(128,128,128,0.3));
}