.index-h2 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 2rem 0 0.4rem 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #1d1d1f;
}

.index-h2 span {
  text-decoration: none;
  display: inline-block;
  transform-origin: left bottom;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;      /* IE 10+ / Edge */
  user-select: none;         /* Chrome, Firefox, Opera */
}

.index-h2 span:hover {
  transform: scale(1.02);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.index-h2 span:active {
  transform: scale(1.01); 
}

.index-h2-icon {
  display: inline-block;
  flex-shrink: 0;
  color: #1d1d1f;
}

@media (max-width: 768px) {
  .index-h2 {
    font-size: 1.1rem;
    margin: 2rem 0 0.5rem 0.2rem;
  }
}
/* Index Name Card Styles */
.index-namecard {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg,
    rgba(251, 251, 251, 0.75) 0%,
    rgba(248, 250, 255, 0.8) 100%
  );
  backdrop-filter: blur(12px);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(180, 190, 210, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
              0 0 20px rgba(180, 190, 210, 0.1),
              inset 0 1px 3px rgba(255, 255, 255, 0.6),
              inset 0 -1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.index-namecard:hover {
  transform: translateY(-1px) scale(1.001);
  border-color: rgba(255, 255, 255, 0.8);
}

.index-namecard .profile-photo {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2rem;
  margin-left: 0.5rem;
}

.index-namecard .text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly !important;
  height: 100%;
  gap: 0.5rem;
  overflow-x: hidden
}

.index-namecard h1 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000000;
  margin: 0;
  margin-top: 0;
  margin-bottom: 0.1rem;
}

.index-namecard p {
  font-size: 1rem;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

.index-namecard .location {
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.25rem;
}

.index-namecard .small-button {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  padding: 0;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  font-size: 1rem;
  width: auto;
  height: auto;
  color: #000000;
  font-weight: bold;
  border: none;
  border-radius: 0;
  cursor: pointer;
  background-color: transparent;
  margin-bottom: 0 !important;
  border-bottom: transparent 2px solid;
}

.index-namecard .small-button:hover {
  flex-wrap: wrap;
  background-color: transparent;
  border-bottom: rgb(131, 131, 131) 4px solid;
}

/* Responsive styles for index name card */
@media (max-width: 768px) {
    .index-namecard {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0.5rem;
      gap: 0.5rem;
      width: 92%;
      margin: 20px auto;
      position: relative;
      overflow-x: hidden;
    }
    .index-namecard h1 {
      font-size: 1.1rem;
      font-weight: bold;
    }
    .index-namecard p {
      font-size: 0.9rem;
    }
    .index-namecard .location {
      font-size: 0.9rem;
      font-style: normal;
    }
    .index-namecard .profile-photo {
      width: 5rem;
      height: 5rem;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 0rem;
      margin-left: 0rem;
    }
    .index-namecard .text-content {
      gap: 0.1rem;
    }
}

/* Index Education section */
.education-section {
  background: linear-gradient(135deg,
    rgba(251, 251, 251, 0.75) 0%,
    rgba(248, 250, 255, 0.8) 100%
  );
  backdrop-filter: blur(12px);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(180, 190, 210, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
              0 0 20px rgba(180, 190, 210, 0.1),
              inset 0 1px 3px rgba(255, 255, 255, 0.6),
              inset 0 -1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.4s ease, transform 0.4s ease;
}


.education-section:hover {
  transform: translateY(-1px) scale(1.001);
  border-color: rgba(255, 255, 255, 0.8);
}

.education-section .education-item {
  display: flex;
  margin-bottom: 20px;
}

.education-date {
  font-size: 0.9rem;
  flex: 1;
  font-weight: bold;
  margin-right: 0.5rem;
}

.education-details {
  flex: 3;
  font-size: 1rem;
  overflow-x: hidden;
}

.education-header {
  display: flex;
  justify-content: space-between;
}

.education-institution {
  font-size: 1rem;
  font-weight: bold;
}

.education-location {
  font-size: 0.9rem;
  color: #666;
  overflow-x: hidden;
}

.education-degree {
  font-size: 1rem;
  color: #333;
  overflow-x: hidden;
}

.education-remarks {
  font-size: 0.9rem;
  color: #555;
}

@media (max-width: 768px) {
  .education-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    margin-bottom: 24px;
    overflow: hidden;
    width: 100%;
  }
  .education-date {
    font-size: 0.9rem;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.1rem;
  }

  .education-institution {
    font-size: 0.9rem;
    font-weight: bold;
    }

  .education-location {
    margin-bottom: 0.1rem;
    position: relative;
    overflow: visible;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }

  .education-details {
    font-size: 0.9rem;
    width: 100%;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    overflow: hidden;
  }
  .education-header {
    flex-direction: column;
    gap: 2px;
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  .education-institution {
    font-size: 0.9rem;
    font-weight: bold;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    overflow: hidden;
  }

  .education-degree {
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }

.education-remarks {
  margin-left: 2.05rem;
  font-size: 0.75rem;
  color: #555;
  position: relative;
}

  .education-date::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0rem;
    top: 0.2rem;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    margin-left: 0.8rem;
    background-color: black;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em'><path d='M8 14q-.425 0-.712-.288T7 13t.288-.712T8 12t.713.288T9 13t-.288.713T8 14m4 0q-.425 0-.712-.288T11 13t.288-.712T12 12t.713.288T13 13t-.288.713T12 14m4 0q-.425 0-.712-.288T15 13t.288-.712T16 12t.713.288T17 13t-.288.713T16 14M5 22q-.825 0-1.412-.587T3 20V6q0-.825.588-1.412T5 4h1V3q0-.425.288-.712T7 2t.713.288T8 3v1h8V3q0-.425.288-.712T17 2t.713.288T18 3v1h1q.825 0 1.413.588T21 6v14q0 .825-.587 1.413T19 22zm0-2h14V10H5z'/></svg>");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
  }

  .education-institution::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: -2rem;
    top: 0.2rem;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    margin-left: 0.8rem;
    background-color: black;
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='1em' height='1em'><path fill='currentColor' d='M496 128v16a8 8 0 0 1-8 8h-24v12c0 6.627-5.373 12-12 12H60c-6.627 0-12-5.373-12-12v-12H24a8 8 0 0 1-8-8v-16a8 8 0 0 1 4.941-7.392l232-88a8 8 0 0 1 6.118 0l232 88A8 8 0 0 1 496 128m-24 304H40c-13.255 0-24 10.745-24 24v16a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8v-16c0-13.255-10.745-24-24-24M96 192v192H60c-6.627 0-12 5.373-12 12v20h416v-20c0-6.627-5.373-12-12-12h-36V192h-64v192h-64V192h-64v192h-64V192z'/></svg>");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
  }

  .education-location::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: -2rem;
    top: 0.2rem;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    margin-left: 0.8rem;
    background-color: #666;
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='1em' height='1em'><path fill='currentColor' d='M6 0a4.88 4.88 0 0 0-5 4.76c0 1.77.8 2.69 1.82 4c.9 1.13 1.93 2.15 2.82 3.1a.48.48 0 0 0 .72 0c.9-1 2-2 2.81-3.1c.94-1.27 1.83-2.23 1.83-4A5.11 5.11 0 0 0 6 0m0 7a2 2 0 1 1 2-2a2 2 0 0 1-2 2'/></svg>");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    overflow: visible;
  }

  .education-degree::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: -2rem;
    top: 0.2rem;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    margin-left: 0.8rem;
    background-color: #333;
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em'><path fill='currentColor' d='M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3L1 9l11 6l9-4.91V17h2V9z'/></svg>");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
  }
}

/* Index Research Section */
.indexlist-section {
  background: linear-gradient(135deg,
    rgba(251, 251, 251, 0.75) 0%,
    rgba(248, 250, 255, 0.8) 100%
  );
  backdrop-filter: blur(12px);
  padding: 1rem;
  margin-bottom: 1rem;
  margin-top: 0rem !important; 
  border-radius: 12px;
  border: 1px solid rgba(180, 190, 210, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
              0 0 20px rgba(180, 190, 210, 0.1),
              inset 0 1px 3px rgba(255, 255, 255, 0.6),
              inset 0 -1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.indexlist-section ul {
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 20px;
  list-style-type: disc !important;
}

.indexlist-section:hover {
  transform: translateY(-1px) scale(1.001);
  border-color: rgba(255, 255, 255, 0.8);
}

.indexlist-section li {
  margin-bottom: 4px;
}

/* Expand/Collapse functionality */
.expandable-list {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.expandable-list li {
  transition: all 0.5s ease;
  opacity: 1;
  transform: translateY(0);
  list-style-type: disc;
}

.expandable-list li:nth-child(n+5) {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  margin-bottom: 0rem;
  transition: all 0.5s ease;
}

.expandable-list.expanded li:nth-child(n+5) {
  transition: all 2s ease;
}

.expandable-list.expanded li:nth-child(n+5) {
  max-height: none;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
  margin-bottom: 4px;
}

.show-more-btn {
  display: none;
  width: auto;
  padding: 0rem;
  margin-top: 0rem;
  margin-bottom: 0rem;
  font-size: 0.9rem;
  background-color: transparent;
  color: #2f5183d8;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  transform-origin: left center;
}

.show-more-btn:hover {
  transform: scale(1.05);
  background-color: transparent;
}

.show-more-btn:active {
  transform: scale(1.05);
  background-color: transparent;
}

@media (max-width: 768px){
  .indexlist-section {
    margin-top: 20px;
    font-size: 0.9rem;
  }
}
/* Index Work Section */
.work-section {
  background: linear-gradient(135deg,
    rgba(251, 251, 251, 0.75) 0%,
    rgba(248, 250, 255, 0.8) 100%
  );
  backdrop-filter: blur(12px);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(180, 190, 210, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
              0 0 20px rgba(180, 190, 210, 0.1),
              inset 0 1px 3px rgba(255, 255, 255, 0.6),
              inset 0 -1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.work-section:hover {
  transform: translateY(-1px) scale(1.001);
  border-color: rgba(255, 255, 255, 0.8);
}

.work-section .work-item {
  display: flex;
  margin-bottom: 0px;
}

.work-date {
  font-size: 0.9rem;
  flex: 1;
  font-weight: bold;
  margin-left: 0rem;
}

.work-details {
  flex: 3;
}

.work-header {
  display: flex;
  justify-content: space-between;
}

.work-logo {
  margin-right: 10px;
}

.work-logo img {
  width: 2.4rem;
  height: auto;
}

.work-company {
  font-size: 1rem;
  font-weight: bold;
}

.work-logo-company-group {
  display: flex;
  align-items: center;
  gap: 0px;
  flex-wrap: nowrap;
}

.work-location {
  font-size: 0.9rem;
  color: #666;
  margin-left: auto;
}

.work-position {
  font-size: 1rem;
  font-weight: bold;
  font-style: italic;
  margin-top: 10px;
}

.work-description {
  font-size: 0.95rem;
  color: #555;
  margin-top: 10px;
}

.work-highlights {
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 0;
  list-style-type: disc;
  padding-left: 20px;
}

.work-highlights li {
  margin-bottom: 5px;
}

.work-highlights li:last-child {
  margin-bottom: 0px;
}

@media (max-width: 768px) {
  .work-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    margin-bottom: 24px;
  }
  .work-date {
    font-size: 0.9rem;
    margin-bottom: 2px;
    margin-left: 0rem;
  }
  .work-details { 
    width: 100%; 
  }
  /* ----  Header layout  ---- */
  .work-header {
    display: flex;
    flex-direction: column;      /* stack title-group & location */
    align-items: flex-start;
    gap: 4px;
  }
  /* Logo + Company stay on the SAME line */
  .work-logo-company-group {
    display: flex;
    align-items: center;
    gap: 0px;
    flex-wrap: nowrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .work-company {
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: calc(100% - 2.5rem);
  }
  .work-logo {
    margin-left: 0.1rem;
    flex-shrink: 0;
  }
  /* Location forced to next line */
  .work-location {
    align-self: flex-start;
    font-size: 0.9rem;
    color: #666;
    margin-left: 0 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }

  .work-position {
    font-size: 0.9rem;
    font-weight: bold;
    font-style: normal;
    margin-top: 0 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }
  .work-description {
    font-size: 0.9rem;
    margin-left: 2.05rem;
    color: #555;
    margin-top: 2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
  .work-highlights {
    margin-left: 2.05rem;
    font-size: 0.9rem;
    margin-top: 2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
  .work-date::before {
    content: "";
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    margin-left: 0.8rem;
    background-color: black;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em'><path d='M8 14q-.425 0-.712-.288T7 13t.288-.712T8 12t.713.288T9 13t-.288.713T8 14m4 0q-.425 0-.712-.288T11 13t.288-.712T12 12t.713.288T13 13t-.288.713T12 14m4 0q-.425 0-.712-.288T15 13t.288-.712T16 12t.713.288T17 13t-.288.713T16 14M5 22q-.825 0-1.412-.587T3 20V6q0-.825.588-1.412T5 4h1V3q0-.425.288-.712T7 2t.713.288T8 3v1h8V3q0-.425.288-.712T17 2t.713.288T18 3v1h1q.825 0 1.413.588T21 6v14q0 .825-.587 1.413T19 22zm0-2h14V10H5z'/></svg>");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
  }
  .work-logo-company-group::before {
    content: "";
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    margin-left: 0.8rem;
    background-color: black;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em'><path fill='currentColor' d='M21 20h2v2H1v-2h2V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1zM8 11v2h3v-2zm0-4v2h3V7zm0 8v2h3v-2zm5 0v2h3v-2zm0-4v2h3v-2zm0-4v2h3V7z'/></svg>");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    flex-shrink: 0;
  }
  .work-location::before {
    content: "";
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    margin-left: 0.8rem;
    background-color: #666;
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='1em' height='1em'><path fill='currentColor' d='M6 0a4.88 4.88 0 0 0-5 4.76c0 1.77.8 2.69 1.82 4c.9 1.13 1.93 2.15 2.82 3.1a.48.48 0 0 0 .72 0c.9-1 2-2 2.81-3.1c.94-1.27 1.83-2.23 1.83-4A5.11 5.11 0 0 0 6 0m0 7a2 2 0 1 1 2-2a2 2 0 0 1-2 2'/></svg>");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
  }
  .work-position::before {
    content: "";
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    margin-left: 0.8rem;
    background-color: black;
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='1em' height='1em'><path fill='currentColor' fill-rule='evenodd' d='M8 7a4 4 0 1 1 8 0a4 4 0 0 1-8 0m0 6a5 5 0 0 0-5 5a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3a5 5 0 0 0-5-5z' clip-rule='evenodd'/></svg>");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
  }
}

/* Index Contacts Section */
.contact-section {
  background: linear-gradient(135deg,
    rgba(251, 251, 251, 0.75) 0%,
    rgba(248, 250, 255, 0.8) 100%
  );
  backdrop-filter: blur(12px);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(180, 190, 210, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
              0 0 20px rgba(180, 190, 210, 0.1),
              inset 0 1px 3px rgba(255, 255, 255, 0.6),
              inset 0 -1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.contact-section:hover {
  transform: translateY(-1px) scale(1.001);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Index About Me Section */
.about-section {
  background: linear-gradient(135deg,
    rgba(251, 251, 251, 0.75) 0%,
    rgba(248, 250, 255, 0.8) 100%
  );
  backdrop-filter: blur(12px);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(180, 190, 210, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
              0 0 20px rgba(180, 190, 210, 0.1),
              inset 0 1px 3px rgba(255, 255, 255, 0.6),
              inset 0 -1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.about-section:hover {
  transform: translateY(-1px) scale(1.001);
  border-color: rgba(255, 255, 255, 0.8);
}

.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  border-bottom: transparent;
}

.contact-links li {
  border-bottom: transparent;
  overflow-x: hidden
}

.contact-links li.nolink {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: transparent;
  overflow-x: hidden;
  border-radius: 12px;
}

.contact-links li.nolink:hover {
  background-color: #f9f9f9;
}

.contact-links a.link-wrapper {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  overflow-x: hidden;
}

.contact-links a.link-wrapper:hover {
  background-color: #f9f9f9;
}

.contact-links .icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding-top: 0;
}

.contact-links .label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  margin-right: 0.5rem;
  flex-shrink: 0;
  text-overflow: ellipsis;
}

.contact-links .link {
  font-size: 0.8rem;
  font-weight: normal;
  color: #525252;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.contact-links .separator {
  flex-grow: 1;
  height: 1px;
  background-color: #ccc;
  margin: 0 0.5rem;
}

@media (max-width: 768px) {

.contact-links .icon {
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.contact-links .label {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.contact-links .link {
  font-size: 0.7rem;
  color: #525252;
  max-width: 15rem;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.contact-links li.nolink {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  font-size: 0.9rem;
}
.contact-links a.link-wrapper {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  font-size: 0.9rem;
}
}

@media (max-width: 460px) {
.contact-links .icon {
  margin-right: 0.3rem;
  flex-shrink: 0;
}

.contact-links .label {
  font-weight: 600;
  margin-right: 0.3rem;
}

.contact-links .link {
  font-size: 0.6rem;
  color: #525252;
  max-width: 8rem;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.contact-links li.nolink {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  font-size: 0.9rem;
}
.contact-links a.link-wrapper {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  font-size: 0.9rem;
}
}