@font-face {
  font-family: "Signifier";
  src: url("../../fonts/WOFF2/signifier-light.woff2") format("woff2"),
    url("../../fonts/OTF/Signifier-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0;
  padding: 0;
  background: transparent;
  color: rgba(0, 17, 55, 1);
}

a {
  text-decoration: none;
  color: rgba(0, 17, 55, 1);
}

.no-margin {
  margin: 0;
}

.margin-right-8 {
  margin-right: 8px;
}

.margin-right-4 {
  margin-right: 4px;
}

.margin-right-3 {
  margin-right: 3px;
}

.margin-left-4 {
  margin-left: 4px;
}

.margin-left-3 {
  margin-left: 3px;
}

.margin-top-2 {
  margin-top: 2px;
}

.no-wrap {
  white-space: nowrap;
}

p {
  margin: 0;
}

.line {
  width: 100%;
}

.profile-container {
  position: relative;
  display: inline-block;
  max-width: 626px;
  width: calc(100% - 20px);
  margin: 10px;
  border-radius: 20px;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.profile-card {
  gap: 15px;
  display: flex;
  padding: 10px 20px;
  align-items: flex-start;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.authority-section {
  width: 100%;
  gap: 9px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.authority-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.authority-line {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  min-height: 2px;
}

.authority-line-image {
  width: 100%;
  height: 100%;
  min-height: 2px;
}

.authority-content-inner {
  font-family: Signifier;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  transition: font-size 0.3s ease;
}

.authority-icon {
  width: 14px;
  height: 14px;
  transition: width 0.3s ease, height 0.3s ease;
}

.authority-description {
  width: 100%;
  font-size: 14px;
  text-align: center;
  /* open sans italic */
  font-style: italic;
  font-family: Open Sans;
  font-stretch: normal;
  text-decoration: none;
}

.profile-layout {
  gap: 25px;
  display: flex;
  align-self: stretch;
  align-items: center;
  flex-shrink: 0;
}

.profile-header {
  gap: 14px;
  display: flex;
  align-items: center;
  max-width: 45%;
}

.profile-image-link {
  display: contents;
}

.profile-image {
  width: 66px;
  height: 66px;
  border-radius: 50%;
}

.profile-info {
  gap: 3px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.profile-name {
  height: auto;
  font-size: 20px;
  font-style: Light;
  text-align: left;
  font-family: Signifier;
  font-weight: 300;
  line-height: 120%;
  font-stretch: normal;
  text-decoration: none;
}

.profile-name-section {
  display: flex;
  align-items: end;
  gap: 0.2em;
}

.social-link {
  display: contents;
}

.social-icon {
  width: 20px;
  margin-left: 0.2em;
  text-decoration: none;
}

.profile-title {
  height: auto;
  font-size: 14px;
  align-self: stretch;
  font-style: Regular;
  text-align: left;
  font-family: Open Sans;
  font-weight: 400;
  line-height: normal;
  font-stretch: normal;
  text-decoration: none;
}

.profile-company {
  height: auto;
  font-size: 14px;
  align-self: stretch;
  font-style: Regular;
  text-align: left;
  font-family: Open Sans;
  font-weight: 400;
  line-height: normal;
  font-stretch: normal;
  text-decoration: none;
}

.line-break-image {
  height: 56px;
}

.authority-score {
  display: flex;
  padding-top: 7px;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
  align-items: center;
  border-radius: 15px;
  flex-direction: column;
  background-color: rgba(0, 17, 55, 1);
  color: rgba(255, 255, 255, 1);
  font-family: Signifier;
}

.authority-score-text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.authority-score-text {
  font-size: 12px;
  font-style: Regular;
  text-align: left;
}

.authority-score-value {
  font-size: 28px;
  font-style: bold;
  font-family: Signifier;
  font-weight: 900;
}

.authority-score-divider {
  font-size: 16px;
  font-style: bold;
  font-family: Signifier;
  font-weight: 900;
}

.expertise-section {
  gap: 15px;
  display: flex;
  align-items: center;
}

.expertise-container {
  padding-left: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.expertise-title {
  font-size: 12px;
  font-family: Open Sans;
  margin-bottom: 3px;
  margin-top: 0;
  font-weight: 700;
}

.expertise-name {
  height: auto;
  font-size: 12px;
  align-self: stretch;
  font-style: Regular;
  text-align: left;
  font-family: Open Sans;
  font-weight: 400;
  line-height: normal;
  font-stretch: normal;
  text-decoration: none;
  text-wrap: nowrap;
}

.profile-bio {
  height: auto;
  font-size: 12px;
  font-style: Regular;
  text-align: left;
  font-family: Open Sans;
  font-weight: 400;
  line-height: 18px;
  font-stretch: normal;
  text-decoration: none;
}

.profile-bio-preview {
  width: 100%;
  font-size: 12px;
  font-style: Regular;
  text-align: left;
  font-family: Open Sans;
  font-weight: 400;
  line-height: 18px;
  font-stretch: normal;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.activity-section {
  width: 100%;
  gap: 18px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.activity-title-container {
  display: flex;
  align-items: center;
}

.activity-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-title {
  display: inline;
  height: auto;
  font-size: 14px;
  font-family: Signifier;
  font-style: Light;
  text-align: left;
  font-weight: 100;
  line-height: 130%;
  font-stretch: normal;
  text-decoration: none;
}

.activity-grid {
  width: 100%;
  gap: 18px;
  display: flex;
}

.activity-list {
  display: flex;
  gap: 24px;
  flex-direction: column;
}

.activity-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.activity-item-icon {
  width: 30px;
  height: 30px;
}

.activity-link {
  display: contents;
}

.activity-item-title {
  font-size: 12px;
  font-family: Signifier;
  line-height: 120%;
}

.activity-image {
  width: 31%;
  height: auto;
  border-radius: 10px;
  text-decoration: none;
}

.last-update-section {
  width: 100%;
  gap: 20px;
  display: flex;
  align-items: start;
  flex-direction: column;
  font-family: Open Sans;
  font-style: italic;
  font-size: 14px;
}

/* Toggle Button Container */
.badge-toggle-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 11px;
}

.toggle-authority-content-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
}

.toggle-authority-content-inner-container {
  font-size: 11.8px;
  font-family: Signifier;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.5;
}

.toggle-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.toggle-line-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 2px;
}

.toggle-line-container img {
  width: 100%;
  height: 100%;
  min-height: 2px;
}

/* Toggle Button Styles */
.badge-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Open Sans;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  padding: 0;
  gap: 4px;
}

.toggle-text {
  text-wrap: nowrap;
}

.toggle-line-container-last-update {
  display: flex;
  align-items: center;
  justify-content: center;
}

.last-update-toggle-section {
  font-family: Open Sans;
  font-style: italic;
  font-size: 10px;
  white-space: nowrap;
}

.toggle-line-container-mobile {
  display: none;
}

.toggle-line-container-mobile img {
  width: 100%;
  height: 100%;
  min-height: 2px;
}

.profile-container.collapsed {
  max-width: 626px;
}

.profile-card.collapsed .badge-toggle-btn {
  font-size: 10px;
  gap: 4px;
  font-weight: 400;
}

.profile-card.collapsed {
  gap: 10px;
  transition: all 0.3s ease;
  padding: 10px 20px;
}

.profile-card.collapsed .verification-section,
.profile-card.collapsed .activity-section,
.profile-card.collapsed .last-update-section,
.profile-card.collapsed .authority-section {
  display: none;
}

.profile-card.collapsed .toggle-icon {
  display: inline;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.profile-card.expanded .toggle-container {
  display: flex;
}

.profile-card.expanded .toggle-icon {
  display: inline;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.profile-card.expanded .toggle-text,
.profile-card.expanded .toggle-icon {
  font-size: 10px;
}

/* Collapsed State - show authority section but hide description */
.profile-card.collapsed .authority-description {
  display: none;
}

.profile-card.collapsed .authority-section {
  gap: 0;
}

.profile-card.collapsed .authority-content-inner {
  font-size: 14px;
  transition: font-size 0.3s ease;
}

.profile-card.collapsed .authority-icon {
  width: 14px;
  height: 14px;
  transition: width 0.3s ease, height 0.3s ease;
}

.profile-card.collapsed .profile-image {
  height: 66px;
  width: 66px;
}

.profile-card.collapsed .profile-name {
  font-size: 20px;
}

.profile-card.collapsed .profile-title,
.profile-card.collapsed .profile-company {
  font-size: 14px;
}

.profile-card.collapsed .authority-score {
  padding-top: 7px;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
}

.profile-card.collapsed .authority-score-text {
  font-size: 12px;
  font-style: Regular;
  text-align: left;
}

.profile-card.collapsed .authority-score-value {
  font-size: 28px;
  font-style: bold;
  font-family: Signifier;
  font-weight: 900;
}

.profile-card.collapsed .authority-score-divider {
  font-size: 16px;
  font-style: Regular;
  font-family: Signifier;
  font-weight: 700;
}

.profile-card.collapsed .expertise-section {
  gap: 15px;
}

.profile-card.collapsed .expertise-container {
  padding-left: 16px;
  gap: 3px;
}

.profile-card.collapsed .expertise-title {
  font-size: 12px;
  margin-bottom: 3px;
}

.profile-card.collapsed .expertise-name {
  font-size: 12px;
}

/* Expanded State - content is visible */
.profile-card.expanded {
  transition: all 0.3s ease;
}

.profile-card.expanded .verification-section,
.profile-card.expanded .activity-section,
.profile-card.expanded .authority-section,
.profile-card.expanded .last-update-section {
  max-height: 5000px;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 550px) {
  .margin-top-2 {
    margin-top: 1px;
  }

  .toggle-line-container-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .authority-content-inner {
    font-size: 15px;
  }

  .authority-icon {
    width: 15px;
    height: 15px;
  }

  .toggle-authority-content-inner-container {
    font-size: 13px;
    flex-wrap: wrap;
  }

  .toggle-authority-content-inner {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .toggle-line-container {
    width: 100%;
  }

  .toggle-line-container-last-update {
    width: 100%;
    max-width: 390px;
  }

  .last-update-toggle-section {
    font-size: 10px;
  }

  .badge-toggle-btn {
    margin-top: 5px;
  }

  .profile-header {
    width: 100%;
  }

  .expertise-section {
    width: 100%;
  }

  .authority-description {
    font-size: 15px;
  }

  .profile-layout {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-header {
    width: 100%;
    max-width: 100%;
  }

  .profile-name {
    font-size: 20px;
  }

  .profile-title,
  .profile-company {
    font-size: 14px;
  }

  .line-break {
    display: none;
  }

  .authority-score {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 7px;
    padding-bottom: 4px;
  }

  .authority-score-text {
    font-size: 12px;
  }

  .authority-score-value {
    font-size: 28px;
  }

  .authority-score-divider {
    font-size: 16px;
  }

  .expertise-section {
    gap: 15px;
  }

  .expertise-container {
    padding-left: 16px;
    gap: 3px;
  }

  .expertise-title {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .expertise-name {
    font-size: 12px;
  }

  .profile-bio {
    font-size: 12px;
  }

  .activity-section {
    width: 100%;
    gap: 18px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-title-container {
    display: flex;
    align-items: center;
  }

  .activity-divider {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .activity-title {
    font-size: 12px;
  }

  .activity-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .activity-list {
    display: flex;
    gap: 24px;
    flex-direction: column;
  }

  .activity-item {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .activity-item-icon {
    width: 30px;
    height: 30px;
  }

  .activity-link {
    display: contents;
  }

  .activity-image {
    width: 31%;
    height: auto;
    border-radius: 10px;
    text-decoration: none;
  }

  .last-update-section {
    gap: 16px;
    font-size: 14px;
  }
}

@media (max-width: 370px) {
  .margin-top-2 {
    margin-top: 1px;
  }

  .social-icon {
    width: 20px;
    height: 20px;
  }

  .line-break {
    display: none;
  }

  .profile-bio {
    height: auto;
    font-size: 12px;
    font-style: Regular;
    text-align: left;
    font-family: Open Sans;
    font-weight: 400;
    line-height: 21px;
    font-stretch: normal;
    text-decoration: none;
  }

  .activity-section {
    width: 100%;
    gap: 10px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-title-container {
    display: flex;
    align-items: center;
  }

  .activity-divider {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .activity-title {
    height: auto;
    font-size: 10px;
    font-family: Signifier;
    font-style: Light;
    text-align: left;
    font-weight: 100;
    line-height: 130%;
    font-stretch: normal;
    text-decoration: none;
  }

  .activity-grid {
    width: 100%;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .activity-list {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }

  .activity-item {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .activity-item-title {
    font-size: 10px;
  }

  .activity-item-icon {
    width: 30px;
    height: 30px;
  }

  .activity-link {
    display: contents;
  }

  .activity-image {
    width: 25%;
    height: auto;
    border-radius: 10px;
    text-decoration: none;
  }

  .last-update-section {
    gap: 12px;
    font-size: 12px;
  }
}
