div#detail {
  width: 100%;
  margin-top: 1rem;
  position: relative;
}
div::first-letter {
  text-transform: uppercase;
}
h1,
h3,
h4 {
  margin: 0;
  text-align: left;
  font-size: 18px;
}
.title {
  color: #214361;
  margin-bottom: 5px;
  margin-left: 10px;
  font-size: 32px;
  font-weight: 400;
}
.line {
  flex-grow: 1;
  height: 1.5px;
  background-color: #345e85;
  display: flex;
  align-items: center;
}
.toggle-button {
  padding: 4px 15px;
  background: linear-gradient(135deg, #2271bf, #345e85);
  color: white;
  border: none;
  border-radius: 30px;
  position: absolute;
  right: 50px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  margin-bottom: 15px;
  top: 197px;
}
.toggle-button:hover {
  background: linear-gradient(135deg, #345e85, #2271bf);
  transform: translateY(-2px);
}
.toggle-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 123, 255, 0.5);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background-color: #e6e7e8;
  padding: 30px 7px 30px 20px;
}
.tab-button {
  padding: 12px 20px;
  margin-right: 10px;
  margin-top: 10px;
  background-color: #ffffff;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}
.tab-button:hover {
  background-color: #d1d5db;
}
.tab-button.active {
  background-color: #214361;
  color: #f6921e;
  box-shadow: 0 2px 5px rgba(0, 123, 255, 0.5);
}
.tab-contents {
  padding-top: 15px;
}
.tab-content {
  display: none;
  padding: 20px;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}
.tab-content.active {
  display: block;
  opacity: 1;
}
.tab-content {
  max-height: 0;
  overflow: hidden;
}
.tab-content.active {
  max-height: none;
}
/* ��������*/
.accordion {
  cursor: pointer;
  padding: 15px;
  border: 1px solid #ccc;
  margin-top: 5px;
  border-radius: 5px;
  background-color: #ffffff;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.panel-accordion {
  display: none;
  padding: 10px 15px 15px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-top: none;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #214361;
}
ol {
  margin: 0;
  padding-left: 20px;
}
.line-numbered {
  counter-reset: line;
}
.line-numbered span {
  counter-increment: line;
  display: block;
  margin: 5px 0;
  /padding: 0;
  line-height: 1.2;
}
.line-numbered span::before {
  content: counter(line) ". ";
  color: #214361;
  font-weight: bold;
}
.indicator {
  margin-right: 8px;
}
@media (max-width: 768px) {
  .toggle-button,
  .line,
  .tab-button {
    display: none;
  }
  .tabs {
    display: none;
    background-color: transparent;
    border-radius: 0;
  }
}
/*TAB1*/
.item-container {
  display: grid;
  grid-template-columns: 141px 1fr;
  gap: 10px;
  padding: 5px;
}
.item {
  padding: 10px;
}
.year {
  font-family: "Montserrat", sans-serif;
  color: #2a6aa3;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}
.text {
  background-color: #ffffff;
  font-size: 16px;
}
@media (max-width: 780px) {
  .item-container {
    display: block;
  }
  .item {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
    padding: 2px;
  }
  .year {
    text-align: left;
    font-size: 16px;
  }
  .text {
    font-size: 16px;
  }
}
/*TAB2*/
.panel {
  display: flex;
  flex-wrap: wrap;
  padding-left: 20px;
}
.panel p {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  margin: 0;
}
.flag {
  width: 24px;
  height: auto;
  margin-left: 10px;
}
/*TAB6*/
.interest {
  background-color: #f1f1f2;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 16px;
}
.interest:nth-child(odd) {
  border-left: 5px solid #2271bf;
}
.interest:nth-child(even) {
  border-left: 5px solid #f6921e;
}
/*TAB7*/
.expert-list {
  padding-left: 20px;
  padding-right: 20px;
}
.expert-item {
  background-color: #ffffff;
  margin: 10px 0;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-size: 16px;
}
a {
  color: #2980b9;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
/*AVATAR-CARD*/
.container-avatar {
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Helvetica, Roboto,
    Arial, sans-serif;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}
.avatar {
  flex-shrink: 0;
  margin-right: 30px;
}
.avatar img {
  border-radius: 50%;
  width: 170px;
  height: 170px;
  object-fit: cover;
}
.contact-info {
  flex-grow: 1;
}
.position {
  font-size: 18px;
  line-height: 24px;
  color: #333333;
  margin-bottom: 10px;
}

.position:first-letter {
 text-transform: lowercase;
}

.contact-item {
  margin-top: 10px;
}
.contact-link {
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  text-decoration: none;
  transition: color 0.3s;
}
.contact-link:hover {
  color: #1168b4;
  text-decoration: none;
}
.icon {
  vertical-align: middle;
  margin-right: 5px;
  color: #1168b4;
}
@media (max-width: 768px) {
  .container-avatar {
    flex-direction: column;
    align-items: flex-start;
    align-items: center;
  }
  .avatar {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .contact-info {
    align-self: flex-start;
    text-align: left;
  }
}
@media (max-width: 468px) {
  .container-avatar {
    align-items: center;
  }
  .contact-info {
    align-self: flex-start;
    text-align: left;
  }
  .title {
    font-size: 28px;
  }
  .expert-list {
    padding-left: 0px;
    padding-right: 0px;
  }
  .panel {
    padding-left: 0px;
  }
}
/* EXPORT-Button */
.line-sign {
  display: flex;
  align-items: center;
  transform: translateY(-85px);
}
.m_share-sign {
  display: none;
}
.share-sign {
  padding: 10px;
  align-items: center;
  white-space: nowrap;
}
.export-button {
  display: flex;
  align-items: center;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
  margin-right: 10px;
  white-space: nowrap;
  position: relative;
}
.export-button i {
  margin-right: 8px;
  transition: fill 0.3s;
  display: flex;
  align-items: center;
}
.export-button:hover {
  color: #f6921e;
}
.export-button:hover .svg-file-download path {
  fill: #f6921e;
}
.tooltip {
  display: none;
  position: absolute;
  background-color: rgba(255, 255, 0, 0.1);
  color: #333;
  border: 1px solid rgba(255, 255, 0, 0.1);
  border-radius: 5px;
  padding: 8px;
  z-index: 100;
  white-space: nowrap;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease;
  opacity: 0;
}
.export-button:hover .tooltip {
  display: block;
  opacity: 1;
}
#success-message {
  display: none;
  align-items: center;
  white-space: nowrap;
  margin-right: 8px;
  color: green;
}
@media (max-width: 768px) {
  .share-sign,
  .line-sign {
    display: none;
  }
  .m_share-sign {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    transform: translateY(-10px);
  }
}
@media (max-width: 1024px) and (orientation: landscape) {
  .export-button {
    display: none;
  }
}