<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Основные цвета */
:root {
--primary: #3A86FF;    /* Ярко-синий */
--secondary: #8338EC;  /* Фиолетовый */
--accent: #FF006E;     /* Розовый */
--dark: #1A1A2E;       /* Темно-синий */
--light: #F8F9FA;      /* Светлый фон */
--text: #2B2D42;       /* Основной текст */
--muted: #8D99AE;      /* Вторичный текст */
--warning: #f39c12;    /*  оранжевый  */
--success: #27ae60;    /*  зеленый  */
}

/* Базовые стили */
body {
background-color: var(--light);
color: var(--text);
font-family: 'Segoe UI', system-ui, sans-serif; 
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}

/* Верхнее меню */
.top-menu {
background: linear-gradient(90deg, #1a2a6c, #b21f1f, #fdbb2d);
height: 56px;
display: flex;
justify-content: center;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
width: 100%;
}

.top-menu-container {
width: 100%;
max-width: 1200px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}

.logo {
color: white;
font-size: 24px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
}

.nav-links {
display: flex;
list-style: none;
}

.nav-links li {
margin-left: 20px;
}

.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
transition: all 0.3s ease;
padding: 5px 10px;
border-radius: 4px;
}



.mobile-menu-btn {
display: none;
background: none;
border: none;
color: white;
font-size: 24px;
cursor: pointer;
}

/* Основной контент */
.main-content-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
display: flex;
flex: 1;
padding: 0 20px;
}

/* Правое меню */
.right-menu {
width: 300px;
padding: 20px;
transition: all 0.3s ease;
}

.right-menu h3 {
color: #fdbb2d;
margin-bottom: 20px;
font-size: 20px;
border-bottom: 2px solid #fdbb2d;
padding-bottom: 10px;
}

.right-menu ul {
list-style: none;
}

.right-menu li {
margin-bottom: 15px;
}

.right-menu a {
color: white;
text-decoration: none;
transition: all 0.3s ease;
display: block;
padding: 5px;
border-radius: 4px;
}

.right-menu a:hover {
background-color: rgba(255, 255, 255, 0.1);
color: #fdbb2d;
}



/* Центральный контент */
.content {
flex: 1;
padding: 30px;
background-color: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.content p {
line-height: 1.6;
margin-bottom: 20px;
}

/* Блоки статей */
.articles {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-top: 40px;
}

.article-card {
width: 48%;
margin-bottom: 30px;
background-color: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}

.article-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.article-image {
height: 200px;
overflow: hidden;
}

.article-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
transform: scale(1.05);
}

.article-info {
padding: 20px;
}

.article-info h3 {
color: #1a2a6c;
margin-bottom: 10px;
font-size: 18px;
}

.article-info p {
color: #666;
font-size: 14px;
line-height: 1.4;
}
.article-tags { margin-top: 24px;}
.read-more {
display: inline-block;
color: #b21f1f; /* Основной цвет */
font-weight: 600;
text-decoration: none;
position: relative;
padding-bottom: 3px;
transition: color 0.3s ease;
}

.read-more::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: 2px;
background-color: #FF006E; /* Цвет полоски */
transition: 
width 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0s,
transform-origin 0s 0.5s;
transform-origin: left center;
}

.read-more:hover {
color: #fdbb2d; /* Цвет при наведении */
}

.read-more:hover::after {
width: 100%;
background-color: #FF006E; /* Цвет полоски при наведении */
transition: 
width 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0s,
transform-origin 0s 0s;
transform-origin: left center;
}


/* Футер */
footer {

text-align: center;
padding: 20px 0;
margin-top: auto;
width: 100%;
background: var(--dark);
color: white;
border-top: 4px solid var(--accent);
box-sizing: border-box;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
}

/* Адаптивность */
@media (max-width: 1024px) {
.right-menu {
width: 250px;
}
}

@media (max-width: 768px) {
.main-content-container {
flex-direction: column;
padding: 0;
}

.right-menu {
width: 100%;
order: 2;
padding: 15px;
}

.content {
order: 1;
padding: 20px;
}

.nav-links {
display: none;
position: absolute;
top: 56px;
left: 0;
width: 100%;
background-color: #1a2a6c;
flex-direction: column;
padding: 20px;
}

.nav-links.active {
display: flex;
}

.nav-links li {
margin: 10px 0;
}

.mobile-menu-btn {
display: block;
}

.article-card {
width: 100%;
}
}

@media (min-width: 769px) {
.nav-links {
display: flex !important;
}
}



/* Навигация */
.top-menu {
background: var(--dark);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo {
color: white;
font-weight: 800;
letter-spacing: 1px;
}

.logo span {
color: var(--accent);
}

.nav-links a {
color: rgba(255,255,255,0.9);
padding: 8px 16px;
border-radius: 4px;
font-weight: 600;
transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
background: var(--accent);
color: white;
transform: translateY(-2px);
}

/* Боковая панель */
.right-menu {
background: white;
border-left: 1px solid rgba(0,0,0,0.05);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.right-menu h3 {
color: var(--primary);
font-weight: 700;
border-bottom: 2px solid var(--accent);
}

.right-menu a {
color: var(--text);
transition: all 0.2s;
}

.right-menu a:hover {
color: var(--accent);
padding-left: 8px;
}

/* Основной контент */


.content h1 {
color: var(--dark);
font-weight: 800;
position: relative;
}

.content h1:after {
content: '';
display: block;
width: 60px;
height: 4px;
background: var(--accent);
margin-top: 12px;
}

/* Карточки статей */
.article-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 12px rgba(0,0,0,0.05);
border: 1px solid rgba(0,0,0,0.03);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.article-card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 24px rgba(58, 134, 255, 0.15);
border-color: var(--primary);
}

.article-info h3 {
color: var(--dark);
font-weight: 700;
}

.article-info p {
color: var(--muted);
line-height: 1.6;
}
.article-category {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 5px 15px 7px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}
.article-category.nutrition {
    background: var(--success);
}
.article-category.supplements {
    background: var(--warning);
}

.article-category.training {
    background: var(--primary);
}
.article-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 14px;  
}
.read-more {
color: var(--primary);
font-weight: 600;
display: inline-flex;
align-items: center;
}



.read-more:hover {
color: var(--accent);
}

.read-more:hover:after {
transform: translateX(3px);
}



/* Изображения */
.article-image {
overflow: hidden;
}

.article-image img {
transition: transform 0.8s ease;
}

.article-card:hover .article-image img {
transform: scale(1.08);
}

/* Анимации */
a, button, .article-card {
transition: all 0.3s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
.nav-links {
background: var(--dark);
}

.mobile-menu-btn {
color: white;
}

.article-card:hover {
transform: translateY(-3px);
}
}

/* Акцентные элементы */
.tag {
background: rgba(58, 134, 255, 0.1);
color: var(--primary);
border-radius: 20px;
padding: 4px 12px;
font-size: 0.8em;
font-weight: 600;
}

.tag:hover {
background: var(--primary);
color: white;
}
.black { color: var(--text); } 




/* article */
.article-content {
    flex: 1;
    padding: 30px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
  .article-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}
.article-image-main {
    width: 100%;
    max-width: 800px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 30px;
}
  .article-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
  .gallery-item {
    width: calc(33.333% - 10px);
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
  .article-gallery {
    display: flex
;
    flex-wrap: wrap;
    margin: 30px 0;
    gap: 15px;
}
.article-text ul, .article-text ol {
    margin: 20px 0;
    padding-left: 30px;
}
  .exercise-block {
    display: flex
;
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}
  .exercise-image {
    width: 40%;
    overflow: hidden;
}
  .exercise-info {
    width: 60%;
    padding: 20px;
}
  .exercise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
 .exercise-title {
    color: var(--accent);
    font-size: 20px;
    margin-bottom: 15px;
}
  .article-text ul, .article-text ol {
    margin: 20px 0;
    padding-left: 30px;
}
  .article-text li {
    margin-bottom: 10px;
}
  .tag {
    background-color: #f0f0f0;
    color: #666;
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}
  tag:hover {
    background-color: var(--primary);
    color: white;
}
