:root {
  /* Светлая палитра 
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #555555;
  --card-bg: #fafafa;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.06);
  --white: #ffffff;

  /* Акцентные цвета по типу тренировки */
  --color-work-capacity: #e63946;      /* Работоспособность — насыщенный красный */
  --color-strength: #1d7874;           /* Сила — глубокий бирюзовый */
  --color-hypertrophy: #f4a261;        /* Гипертрофия — тёплый оранжево-жёлтый */
  --color-conditioning: #6a4c93;       /* Функциональная — фиолетовый */

  /* Градиенты для заголовков */
  --gradient-capacity: linear-gradient(135deg, #e63946, #ff6b6b);
  --gradient-strength: linear-gradient(135deg, #1d7874, #4ecdc4);
  --gradient-hypertrophy: linear-gradient(135deg, #f4a261, #ffd166);
  --gradient-conditioning: linear-gradient(135deg, #6a4c93, #8a6fc4);*/
} 
/* Цвет заголовков по протоколу (можно расширить) */
h2[data-type="work-capacity"] {
  color: var(--color-work-capacity);
  text-shadow: 0 0 12px rgba(255, 107, 107, 0.3);
}
h2[data-type="strength"] {
  color: var(--color-strength);
  text-shadow: 0 0 12px rgba(78, 205, 196, 0.3);
}
h2[data-type="hypertrophy"] {
  color: var(--color-hypertrophy);
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.3);
}
h2[data-type="conditioning"] {
  color: var(--color-conditioning);
  text-shadow: 0 0 12px rgba(106, 76, 147, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px 0;
}

.headerH  h1 {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #e63946, #f4a261);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 6px rgba(230, 57, 70, 0.1);
  margin-bottom: 12px;
  line-height: 1.2;
}
.meta {
  font-size: 1rem;
  color: #555555;
  font-weight: 500;
}
.container {
  max-width: 100%;
  margin: 0 auto;
}
/* === КАРТОЧКИ ПРОТОКОЛОВ === */
.protocol-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.protocol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
/* === ТАБЛИЦЫ === */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
  background: white;
}

th {
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

/* Цвет шапки таблицы по типу тренировки */
table[data-type="work-capacity"] th { background: var(--color-work-capacity); }
table[data-type="strength"] th { background: var(--color-strength); }
table[data-type="hypertrophy"] th { background: var(--color-hypertrophy); color: #2a2a2a; }
table[data-type="conditioning"] th { background: var(--color-conditioning); }

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background-color: #fcfcfc;
}

/* === УПРАЖНЕНИЯ И СОВЕТЫ === */
.exercise-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-strength);
  margin: 16px 0 8px;
}

.tip {
  background: rgba(255, 107, 53, 0.1);
  border-left: 4px solid var(--color-work-capacity);
  padding: 16px;
  margin: 24px 0;
  border-radius: 0 10px 10px 0;
  font-style: normal;
  color: var(--text);
}

.tip strong {
  color: var(--color-work-capacity);
}

.author-box {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 16px;
  margin: 40px 0;
  border: 1px solid var(--border);
}

.author-box strong {
  color: var(--white);
  display: block;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
/* === УПРАЖНЕНИЯ И СОВЕТЫ === */
.exercise-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-strength);
  margin: 16px 0 8px;
}

.tip {
  background: rgba(255, 107, 53, 0.1);
  border-left: 4px solid var(--color-work-capacity);
  padding: 16px;
  margin: 24px 0;
  border-radius: 0 10px 10px 0;
  font-style: normal;
  color: var(--text);
}

.tip strong {
  color: var(--color-work-capacity);
}

.author-box {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 16px;
  margin: 40px 0;
  border: 1px solid var(--border);
}

.author-box strong {
  color: var(--white);
  display: block;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .protocol-card {
    padding: 18px;
  }
  th, td {
    padding: 10px;
    font-size: 0.85rem;
  }
  body {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }
  table {
    display: block;
    overflow-x: auto;
  }
}
.hero-header {
  text-align: center;
  margin: 40px 0 48px;
  padding: 0 16px;
}

.main-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
  background: linear-gradient(
    100deg,
    #e63946,
    #f4a261,
    #1d7874
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
  text-shadow: 0 4px 12px rgba(230, 57, 70, 0.12);
  margin-bottom: 16px;
  padding: 0 8px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.meta {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.2rem;
    padding: 0 6px;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
  }
  .meta {
    font-size: 0.95rem;
  }
}