body {
    background-color: #f5f5f9;
    width: auto;
    overflow-x: hidden;
    font-family: "Roboto", serif;
    margin: 0px;
}

.nav-bar {
    width: 100%;
    display: block;
    background-color: #1C539F;
    font-weight: 700;
    padding: 10px 0 6px;
}

.nav-bar h1 {
    text-align: center;
    width: 100%;
    font-size: 50px;
    font-weight: 700;
    color: white;
    margin: 0;
    padding: 8px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin: auto auto 12px;
}

.nav-logo img {
    width: 200px;
}

.nav-content nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 2px 0 0;
}

.nav-content nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.nav-content nav a.active {
    border-bottom: 2px solid white;
    padding-bottom: 2px;
}

.page-title {
    max-width: 780px;
    margin: 32px auto 0;
    padding: 0 16px;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
}

.intro {
    display: flex;
    justify-content: space-around;
    width: 80%;
}

.intro-picture {
    width: 30%;
    height: auto;
    border-radius: 8px;
    text-align: center;
}

.intro-picture>img {
    text-align: center;
}

.intro-body {
    width: 70%;
    padding: 0 16px;
}

.interests {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 32px auto;
    border-radius: 8px;
    border: 1px solid #e8e8ee;
}



.card:first-of-type {
    margin-top: 48px;
}

.card {
    max-width: 720px;
    margin: 24px auto;
    padding: 40px 32px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flow-root;
}

.card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1d539f;
    margin-top: 0;
    margin-bottom: 16px;
}

.card p {
    font-size: 16px;
    line-height: 1.3;
    color: #333;
    margin: 0;
}

.entry-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.entry {
    border-bottom: 1px solid #e8e8ee;
    padding-bottom: 20px;
}

.entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.entry-subtitle {
    font-size: 14px;
    color: #555;
}

.card-picture {
    float: right;
    margin: 0 0 16px 24px;
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.card-bio {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.card-bio img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

#map { height: 400px; }

.intro {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 980px;
    width: calc(100% - 32px);
    margin: 32px auto;
    padding: 28px 24px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.intro-picture {
    flex: 0 0 auto;
}

.intro-picture img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.intro-body {
    flex: 1 1 auto;
    text-align: left;
}

.intro-body h1 {
    margin: 0 0 8px 0;
    font-size: 36px;
    line-height: 1.2;
    color: #1a1a2e;
}

.intro-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #333;
}


.interests {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin: 18px 0 0 0;
    padding: 0;
    border: none;
    background: transparent;
}

.interest {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #eef2ff;
    color: #1d3a8a;
    border: 1px solid #dbe3ff;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

@media (max-width: 720px) {
    .intro {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 20px;
    }
    .intro-body {
        text-align: left;
        width: 100%;
    }
    .intro-picture img {
        width: 140px;
        height: 140px;
    }
}


.intro {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 980px;
  width: calc(100% - 32px);
  margin: 28px auto 12px;
  padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.intro-picture {
  flex: 0 0 auto;
}

.intro-picture img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: none;
}

.intro-body {
  flex: 1 1 auto;
  text-align: left;
  max-width: 720px;
}

.intro-body h1 {
  margin: 0 0 10px 0;
  font-size: 38px;
  line-height: 1.2;
  color: #121423;
}

.intro-body p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: #232323;
}

.interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: flex-start;
  margin: 16px 0 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.interest {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: #f3f6ff;
  color: #243a8a;
  border: 1px solid #e6ebff;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.interest:hover {
  background: #eaf0ff;
}

.card {
  max-width: 820px;
  margin: 20px auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.card h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1d3a8a;
  margin: 8px 0 14px 0;
  text-align: left;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.entry {
  border-bottom: 1px solid #e6e8ef;
  padding: 0 0 16px 0;
}

.entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 6px;
}

.entry-header strong {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.entry-header small {
  font-size: 12px;
  font-weight: 600;
  color: #243a8a;
  background: #eef2ff;
  border: 1px solid #e6ebff;
  padding: 2px 8px;
  border-radius: 9999px;
}

.entry-subtitle {
  display: block;
  font-size: 14px;
  color: #5b6474;
  margin-top: -2px;
}

.entry p {
  margin: 6px 0 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #2a2a2a;
}

.entry a {
  color: #1d539f;
  text-decoration: none;
}

.entry a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .intro {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 20px auto 8px;
  }
  .intro-body {
    width: 100%;
    text-align: left;
  }
  .intro-picture img {
    width: 160px;
    height: 160px;
  }

  .card {
    margin: 16px auto;
  }

  .entry-header strong {
    font-size: 17px;
  }
}


.intro {
  gap: 12px;
  align-items: flex-start;
}

.intro-picture img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  object-position: 50% 40%;
}

.intro-body {
  margin-left: 0;
  padding-left: 0;
}

.intro.intro--stack {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1100px) {
  .intro {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .intro-picture img {
    width: 210px;
    height: 210px;
  }
  .intro-body {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .intro-picture img {
    width: 170px;
    height: 170px;
  }
}

.card h2 {
  margin: 4px 0 8px 0;
}

.entry-list {
  gap: 14px;
}

.entry {
  padding-bottom: 14px;
}

.entry-header {
  margin-bottom: 4px;
}

.entry p {
  margin-top: 4px;
}


.section-separator {
  max-width: 980px;
  width: calc(100% - 32px);
  margin: 8px auto 28px;
  height: 0;
  border: 0;
  border-top: 1px solid #e6e8ef;
  position: relative;
}
.section-separator::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(230,232,239,0), rgba(230,232,239,1) 12%, rgba(230,232,239,1) 88%, rgba(230,232,239,0));
}

.intro {
  gap: 14px;
  align-items: center;
  margin: 28px auto 10px;
}

.intro-picture img {
  width: 232px;
  height: 232px;
  object-fit: cover;
  object-position: 50% 38%;
}

.intro-body {
  padding-left: 0 !important;
  margin-left: 0 !important;
  max-width: 760px;
}

@media (max-width: 1100px) {
  .intro { gap: 12px; }
  .intro-picture img { width: 210px; height: 210px; }
}
@media (max-width: 720px) {
  .intro { gap: 12px; margin: 22px auto 8px; }
  .intro-picture img { width: 170px; height: 170px; }
  .section-separator { width: calc(100% - 24px); margin: 6px auto 22px; }
}

.card:first-of-type {
  margin-top: 10px;
}


.site-footer {
  border-top: 1px solid #e6e8ef;
  margin: 32px 0 0;
  padding: 18px 0 26px;
  background: transparent;
}

.footer-inner {
  max-width: 980px;
  width: calc(100% - 32px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-name {
  color: #6b7280;
  font-size: 14px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  color: #1d539f;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.footer-socials a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}