body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.4;
  color: #2c3e50;
  background-color: #fcfcfc;
  margin: 0;
  padding: 20px;
  text-align: justify;
}

.header {
  max-width: 1200px;
  width: 100%;
  height: 486px;
  margin: 0 auto;
  background-image: url('../img/JessicaWatson.png'); 
  background-repeat: no-repeat; 
  background-position: center;
  color: #3a1f20;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.header h1 {
  padding-top: 320px;
  font-size: 48px;
  color: #3a1f20;
  border-bottom: 1px solid #f0f0f0;
}

.header h2 {
  font-size: 32px;
  margin-top: -30px;
  margin-left: 50px;
}


/* ==========================================================================
   ОСНОВНОЙ СЕТОЧНЫЙ КОНТЕЙНЕР (ДВЕ КОЛОНКИ)
   ========================================================================== */

section {
  display: grid;
  grid-template-columns: 1fr 280px; 
  gap: 30px; /* Уменьшили расстояние между текстом и меню наполовину */
  max-width: 1200px;
  width: 100%;
  margin: 50px auto;
  padding: 0 40px; 
  flex-grow: 1;   
}


/* ==========================================================================
   ЛЕВАЯ ЧАСТЬ: ПОСТ (ТИПОГРАФИКА SERIF)
   ========================================================================== */
article p {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.7;
  color: #222222;
  margin-bottom: 20px;
  max-width: 820px; 
  text-align: justify; 
}

.blog {
  font-style: italic;
  margin-bottom: 90px;
}

.blog .date {
  float: left;
  color: #bbb;
  font-size: 26px;
  margin: 0 35px 15px 0;
  font-style: normal;
}

article p {
  font-size: 18px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

article blockquote {
  border-left: 1px solid #bbb;
  margin: 30px 15px;
  background-color: #EEEFF6;
  padding: 20px 40px;
}

article em {
  color: #9B2D30;
}

.main__date {
  font-style: italic;
  color: #64748b;
  margin-top: 30px;
  font-size: 16px;
}

.main__img {
  margin-bottom: 20px; 
}

.main__img img {
  display: block;
  border-radius: 8px; /* Слегка скругляем углы у фото */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Легкая тень для объема */
}


/* ==========================================================================
   ПРАВАЯ ЧАСТЬ: САЙДБАР С МЕНЮ (ТИПОГРАФИКА SANS-SERIF)
   ========================================================================== */
.main__sidebar {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border-left: 1px solid #e2e8f0; /* Аккуратная разделительная линия слева */
  padding-left: 30px;
}

.main__sidebar h3 {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav__list {
  list-style: none; 
  padding: 0;
  margin: 0;
}

.nav__item {
  margin-bottom: 8px; /* Расстояние между кнопками-датами */
}

.nav__item a {
  display: block;
  padding: 8px 12px;
  color: #475569;
  text-decoration: none; 
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease; /* Плавный эффект при наведении */
}

/* Эффект при наведении курсора на дату */
.nav__item a:hover {
  background-color: #f1f5f9; /* Легкий серый фон */
  color: #0f172a; /* Текст становится темнее */
  padding-left: 16px; /* Эффект легкого сдвига вправо при наведении */
}


/* ==========================================================================
   ПОДВАЛ (ФУТЕР)
   ========================================================================== */
.footer {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  border-top: 1px solid #e8e8e8;
  text-align: center;
}

.footer__copyright p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  color: #888888;
  margin: 0 auto;
}