/* Стиль для подзаголовка с авторами */
.article-subtitle {
  font-style: italic;
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* Стиль для блока с авторами */
.article-credits {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  text-align: center;
  margin-top: 1.5rem;
  border-top: 1px solid #d4a76a;
  padding-top: 1rem;
}

/* Стиль для разделительных линий */
.article-credits::before {
  content: "/// ";
}

.article-credits::after {
  content: " ///";
}
/* Основные стили журнальной статьи */
.article {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff9f0; /* Кремовый фон */
}

/* Заголовок статьи */
.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #d4a76a; /* Декоративная линия */
  padding-bottom: 10px;
}

/* Подзаголовок */
.article-subtitle {
  font-style: italic;
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

/* Основной текст */
.article-body {
  font-size: 1.1rem;
  text-align: justify;
  hyphens: auto; /* Перенос слов */
  margin-bottom: 2rem;
}

/* Выделение терминов */
.term {
  font-weight: bold;
  color: #8b4513; /* Коричневый */
}

/* Блок цитаты */
.quote {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.2rem;
  border-left: 3px solid #d4a76a;
  padding-left: 20px;
  margin: 20px 0;
  color: #555;
}

/* Изображения */
.article-image {
  width: 100%;
  border-radius: 5px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Сноски */
.footnote {
  font-size: 0.9rem;
  color: #777;
}
/* Стили для сносок с упражнениями */
.exercise-footnotes {
  margin: 2rem 0;
  font-family: 'Arial', sans-serif;
}

.exercise-note {
  background-color: #f5f7fa; /* Светло-серый фон */
  border: 1px solid #4a90e2; /* Синяя рамка */
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2); /* Сияние */
}

.exercise-title {
  color: #1a3e72; /* Темно-синий */
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 0.8rem 0;
  letter-spacing: 0.5px;
}

.exercise-description {
  color: #2d3748; /* Темно-синий (более мягкий) */
  line-height: 1.5;
  font-size: 0.95rem;
}

.exercise-description p {
  margin: 0;
}
/* Стиль для важных предупреждений */
.exercise-description strong {
  color: #e53e3e; /* Красный для предупреждений */
  font-weight: 600;
}

/* Стиль для анатомических указаний */
.exercise-description em {
  color: #2b6cb0;
  font-style: normal;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #c6f6d5;
  text-underline-offset: 3px;
}
/* Стиль для альтернативных техник */
.exercise-description em {
  background-color: #ebf8ff; /* Голубой фон */
  padding: 2px 6px;
  border-radius: 4px;
  font-style: normal;
  color: #2b6cb0;
}

/* Стиль для ключевых указаний */
.exercise-description strong {
  position: relative;
}

.exercise-description strong:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e53e3e; /* Красная подчеркивающая линия */
  transform: scaleX(0.9);
}
/* Акцент на положении локтей */
.elbow-emphasis {
  color: #3182ce;
  font-weight: 600;
  text-shadow: 0 0 2px rgba(49, 130, 206, 0.3);
}

/* Подсказка по технике */
.form-tip {
  display: block;
  margin-top: 8px;
  padding-left: 18px;
  position: relative;
  color: #4a5568;
  font-size: 0.9em;
}

.form-tip:before {
  content: "⚠";
  position: absolute;
  left: 0;
  color: #e53e3e;
}

/* Анимация подчеркивания */
.elbow-emphasis {
  position: relative;
}

.elbow-emphasis:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -1px;
  left: 0;
  background-color: #3182ce;
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform 0.25s ease-out;
}

.exercise-note:hover .elbow-emphasis:after {
  transform-origin: bottom left;
  transform: scaleX(1);
}
/* Стиль для ключевых точек формы */
.form-keypoint {
  background-color: #ebf8ff;
  padding: 2px 6px;
  border-radius: 4px;
  border-left: 3px solid #3182ce;
  font-weight: 500;
}

/* Блок с дополнительной подсказкой */
.exercise-tip {
  margin-top: 10px;
  padding: 10px;
  background-color: #fff5f5;
  border-left: 3px solid #e53e3e;
  border-radius: 0 4px 4px 0;
  font-size: 0.9em;
}

.exercise-tip:before {
  content: "СОВЕТ:";
  display: block;
  font-weight: bold;
  font-size: 0.8em;
  color: #e53e3e;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

/* Анимация акцентов */
.form-keypoint {
  transition: all 0.3s ease;
  position: relative;
}

.form-keypoint:hover {
  background-color: #bee3f8;
  transform: translateY(-2px);
}
/* Анимация для акцентов */
.form-keypoint {
  position: relative;
  z-index: 1;
}

.form-keypoint::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -2px;
  right: -2px;
  background-color: #4299e1;
  opacity: 0;
  border-radius: 3px;
  transition: opacity 0.3s ease;
}

.form-keypoint:hover::before {
  opacity: 0.2;
}

