.country-menu {
    position: relative;
}

.country-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background:#c9d9e2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 100;
}

.country-submenu a {
    display: block;
    padding: 10px 15px;
    color:rgb(67, 64, 64);
    text-decoration: none;
}

.country-submenu a:hover {
    background: #96bdcd;
}

.country-menu:hover .country-submenu {
    display: block;
}

.main {
    margin-top: 50px;
    padding: 0 80px;
    font-size: 30px;
    background-color: #fdfdfd;
}

.main h1 {
    text-align: center;
    font-size:55px;
}

.member-block {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px;
  border-bottom: 2px solid #ddd;
  font-family: Arial, sans-serif;
}

.role {
  text-align: center;
  font-size: 30px;
  color: #444;
  margin-bottom: 8px;
}

.name {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.member-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 25px;
}

.photo img {
  width: 220px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.description {
  flex: 1;
  font-size: 20px;
  line-height: 1.4;
  text-align: justify;
}

.description p {
    margin-bottom: 8px;
}

.link a {
    text-decoration: none;
    color:black;
    font-size: 20px;
}

.link {
    display: inline-block;
    margin-top: 30px;
    padding: 8px 15px;
    background-color: rgb(168, 168, 168);
    /* color:rgb(67, 64, 64); */
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.link-wrapper {
    text-align: center;
}

.link a:hover {
    color: white;
}

.link:hover {
    /* background-color: rgb(35, 34, 34); */
    background-color:#96bdcd ;
}

.more-info {
    display: none;
    margin-top: 25px;
    padding: 25px 30px;
    background-color: #f0f6f8;
    border-radius: 10px;
    line-height: 1.6;
    font-size: 19px;
    animation: fadeIn 0.5s ease forwards;
}

.more-info h4 {
    font-size: 22px;
    color: #466672;
    margin-bottom: 12px;
    text-align: center;
}

.more-info ol {
    padding-left: 30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 🔹 Общий стиль блока автора */
.member-block {
  max-width: 1100px;
  margin: 40px auto;
  padding: 40px;
  border-bottom: 2px solid #ddd;
  font-family: "Roboto Condensed", sans-serif;
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease-in-out;
}

.member-block:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 🔹 Названия и роли */
.role {
  text-align: center;
  font-size: 32px;
  color: #333;
  margin-bottom: 25px;
}

.name {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
}

/* 🔹 Контент внутри блока */
.member-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
}

.description {
  flex: 1;
  font-size: 20px;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

.description p {
  margin-bottom: 12px;
}

/* 🔹 Фото автора */
.photo img {
  width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* 🔹 Кнопка "Узнать больше" */
.link-wrapper {
  text-align: center;
  margin-top: 25px;
}

.link {
  display: inline-block;
  background-color: #96bdcd;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 20px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.link a {
  color: white;
  text-decoration: none;
}

.link:hover {
  background-color: #6da2b8;
}

/* 🔹 Дополнительный текст (избранные труды и т.д.) */
.extra-info {
  display: none;
  margin-top: 25px;
  padding: 20px;
  background: #f7f9fa;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  animation: fadeIn 0.5s ease-in-out;
}

.extra-info h4 {
  font-size: 22px;
  margin-top: 20px;
  color: #2c3e50;
}

.extra-info ul {
  margin-left: 20px;
  list-style-type: disc;
}

.extra-info li {
  margin-bottom: 8px;
}

/* 🔹 Анимация появления */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 Адаптив под телефон */
@media (max-width: 768px) {
  .member-content {
    flex-direction: column;
    align-items: center;
  }

  .photo img {
    width: 80%;
  }

  .description {
    font-size: 18px;
  }

  .link {
    font-size: 18px;
  }
}

.author-card {
    max-width: 900px;
    margin: 120px auto;
    padding: 60px 70px;
    background-color: #f0f6f8;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    color: #2c2c2c;
    line-height: 1.9;
    text-align: justify;
    font-size: 20px;
}

.author-card h1 {
    text-align: center;
    color: #466672;
    font-size: 40px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.author-card .years {
    text-align: center;
    font-style: italic;
    margin-bottom: 25px;
    color: #555;
    font-size: 18px;
}

.author-card h2 {
    margin-top: 50px;
    margin-bottom: 15px;
    color: #466672;
    font-size: 28px;
    text-align: center;
    border-bottom: 2px solid #aac6cf;
    display: inline-block;
    padding-bottom: 5px;
}

.author-card ol {
    padding-left: 30px;
}

.author-card li {
    margin-bottom: 12px;
}
