  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --color-bg:        #d4c5a9;   /* тёплый песочно-бежевый фон */
    --color-bg-dark:   #b8a88a;   /* тёмный бежевый */
    --color-red:       #c0392b;   /* акцентный красный */
    --color-white:     #ffffff;
    --color-text:      #2c2c2c;
    --color-text-light:#5a5a5a;
    --color-rust:      #a0522d;   /* ржавчина */
    --color-wood:      #8b6914;   /* дерево */
    --font-title:      'Impact', 'Arial Black', sans-serif;
    --font-body:       'Georgia', 'Times New Roman', serif;
    --font-meta:       'Helvetica Neue', Arial, sans-serif;
  }

  html {
    font-size: 16px;
    scroll-behavior: smooth;
  }

  body2 {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
  }

  /* ===== ОБЁРТКА МАГАЗИННОГО РАЗВОРОТА ===== */
  .magazine-spread {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 0;
    min-height: auto;
    position: relative;
    background:
      linear-gradient(135deg, #c9b896 0%, #d4c5a9 40%, #bfae8e 100%);
  }

  /* ===== ВЕРХНЯЯ ПАНЕЛЬ (АВТОР / ФОТОГРАФ) ===== */
  .top-bar {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    font-family: var(--font-meta);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text);
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .top-bar .author {
    font-weight: 700;
  }

  .top-bar .photographer {
    font-weight: 400;
    color: var(--color-text-light);
  }

  /* ===== ЛЕВАЯ КОЛОНКА — ЗАГОЛОВОК ===== */
  .left-column {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 30px;
    position: relative;
  }

  .main-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow:
      2px 2px 4px rgba(0,0,0,0.3),
      0 0 20px rgba(0,0,0,0.1);
    position: relative;
    padding-left: 18px;
  }

  .main-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--color-red);
    border-radius: 3px;
  }

  .subtitle {
    font-family: var(--font-meta);
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    margin-top: 20px;
    padding-left: 18px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    max-width: 320px;
    line-height: 1.4;
  }

  /* ===== ПРАВАЯ КОЛОНКА — ТЕКСТ ===== */
  .right-column {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 30px;
  }

  .article-text-box {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
  }

  .article-text-box::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--color-red);
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
    flex-shrink: 0;
  }

  .article-text-box p {
    
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    line-height: 1.7;
    color: var(--color-text);
    text-align: justify;
    hyphens: auto;
  }

  .article-text-box p::first-letter {
    /* Можно добавить буквицу при желании */
  }

  /* ===== НИЖНЯЯ ПАНЕЛЬ (КОЛОНТИТУЛ) ===== */
  .bottom-bar {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-family: var(--font-meta);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-light);
    border-top: 1px solid rgba(0,0,0,0.1);
  }

  .bottom-bar .page-number {
    font-weight: 700;
    color: var(--color-text);
  }

  .bottom-bar .magazine-name {
    font-weight: 900;
    color: var(--color-red);
  }

  /* ===== ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ===== */
  .decorative-line {
    grid-column: 1 / -1;
    height: 3px;
    background: linear-gradient(
      90deg,
      var(--color-red) 0%,
      var(--color-red) 30%,
      transparent 30%
    );
    opacity: 0.6;
  }

  /* ===== АДАПТИВНОСТЬ ===== */

  /* Планшеты */
  @media (max-width: 1024px) {
    .magazine-spread {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto;
    }

    .left-column {
      grid-column: 1;
      grid-row: 2;
      padding: 30px 20px;
    }

    .right-column {
      grid-column: 1;
      grid-row: 3;
      padding: 20px 20px 30px;
    }

    .main-title {
      font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .subtitle {
      max-width: 100%;
    }
  }

  /* Мобильные устройства */
  @media (max-width: 600px) {
    .magazine-spread {
      padding: 10px;
    }

    .top-bar {
      flex-direction: column;
      align-items: flex-end;
      gap: 4px;
      font-size: 0.6rem;
      padding: 8px 12px;
    }

    .left-column {
      padding: 20px 15px;
    }

    .main-title {
      font-size: clamp(2rem, 14vw, 3.5rem);
      padding-left: 12px;
    }

    .main-title::before {
      width: 4px;
    }

    .subtitle {
      font-size: 0.7rem;
      padding-left: 12px;
      margin-top: 12px;
    }

    .right-column {
      padding: 15px 15px 25px;
    }

    .article-text-box {
      padding: 16px 18px;
    }

    .article-text-box p {
      font-size: 0.85rem;
      text-align: left;
    }

    .bottom-bar {
      flex-direction: column;
      gap: 4px;
      font-size: 0.6rem;
      padding: 10px 12px;
    }
  }

  /* Очень маленькие экраны */
  @media (max-width: 360px) {
    .main-title {
      font-size: 2rem;
    }

    .article-text-box {
      padding: 12px 14px;
    }
  }

  /* Горизонтальная ориентация на мобильных */
  @media (max-height: 500px) and (orientation: landscape) {
    .magazine-spread {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto 1fr auto;
    }

    .left-column {
      grid-column: 1;
      grid-row: 2;
    }

    .right-column {
      grid-column: 2;
      grid-row: 2;
    }

    .main-title {
      font-size: clamp(2rem, 6vw, 4rem);
    }
  }

  /* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-title {
    animation: fadeInUp 0.8s ease-out;
  }

  .article-text-box {
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }

  .subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
  }

 .magazine-spread2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
  }

  /* ===== СТРАНИЦЫ ===== */
  .page {
    background: var(--color-white);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
  }

  .page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-red) 0%, var(--color-rust) 100%);
  }

  /* ===== БОЛЬШИЕ ЦИТАТЫ ===== */
  .big-quote {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-red);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding: 20px 0;
    border-left: 6px solid var(--color-red);
    padding-left: 20px;
    animation: fadeInLeft 0.8s ease-out;
  }

  /* ===== ТЕКСТОВЫЕ БЛОКИ ===== */
  .text-block {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    line-height: 1.8;
    color: var(--color-gray);
    text-align: justify;
    hyphens: auto;
    margin-bottom: 20px;
  }

  .text-block p {
    margin-bottom: 15px;
  }

  /* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
  .section-title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-red);
    text-transform: uppercase;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-red);
    display: inline-block;
  }

  /* ===== ФИНАЛЬНАЯ ЦИТАТА ===== */
  .final-quote {
    font-family: var(--font-title);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-rust) 100%);
    padding: 30px;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: center;
    margin-top: 30px;
    box-shadow: var(--shadow);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.4s both;
  }

  .final-quote:hover {
    transform: rotate(0deg) scale(1.02);
  }

  /* ===== ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ===== */
  .decorative-line {
    width: 60px;
    height: 4px;
    background: var(--color-red);
    margin: 20px 0;
  }

  /* ===== АНИМАЦИИ ===== */
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== АДАПТИВНОСТЬ ===== */
  
  /* Планшеты */
  @media (max-width: 1024px) {
    .magazine-spread {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .page {
      padding: 30px;
    }
  }

  /* Мобильные устройства */
  @media (max-width: 600px) {
    .magazine-spread2 {
      padding: 10px;
grid-template-columns: 1fr;

    }

    .page {
      padding: 20px;
    }

    .big-quote {
      font-size: 1.8rem;
      padding-left: 15px;
      border-left-width: 4px;
    }

    .text-block {
      font-size: 0.9rem;
      text-align: left;
    }

    .section-title {
      font-size: 1.5rem;
    }

    .final-quote {
      font-size: 1.2rem;
      padding: 20px;
    }
  }

  /* Маленькие экраны */
  @media (max-width: 360px) {
    .big-quote {
      font-size: 1.5rem;
    }

    .text-block {
      font-size: 0.85rem;
    }
  }

  /* Горизонтальная ориентация */
  @media (max-height: 600px) and (orientation: landscape) {
    .magazine-spread2 {
      grid-template-columns: 1fr 1fr;
    }

    .page {
      padding: 20px;
      max-height: 90vh;
      overflow-y: auto;
    }
  }

  /* ===== ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ ===== */
  .author-info {
    font-family: var(--font-meta);
    font-size: 0.8rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
  }

  .highlight {
    background: linear-gradient(120deg, rgba(211,47,47,0.1) 0%, rgba(211,47,47,0.2) 100%);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
  }

 .main-quote {
   
    bottom: 30px;
    left: 30px;
    right: 30px;
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--color-black);
    line-height: 1.2;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-left: 6px solid var(--color-red);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: fadeInLeft 0.8s ease-out;
  }

  /* ===== ПРАВАЯ КОЛОНКА ===== */
  .content-area {
    grid-column: 2;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
.magazine-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    background: var(--color-white);

  }
