.container1 {
  max-width: 900px;  /* Или 1200px, 800px — как вам нужно */
  margin: 0 auto;    /* Центрирует по горизонтали */
  padding: 20px;     /* Отступы внутри */
}
	
/* ---------------------------------------- */
/* ----------------- index.html Begin ------------------ */
  html {
    box-sizing: border-box;
    font-size: 16px;
  }

  *, *:before, *:after {
    box-sizing: inherit;
  }

  body {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #222;
  }

        body {
            margin: 0;
            font-family: sans-serif;
            background: #fff;
        }

        /* Шапка */
        .header-wrapper {
            background: #fff;
            border-bottom: 1px solid #e0e0e0;
        }

        .header-wrapper .container {
            max-width: 1140px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo img {
            height: 100px;
            display: block;
        }

        nav {
            display: flex;
            gap: 30px;
        }

        nav a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            font-size: 16px;
        }

        /* head */
        .head-section {
            position: relative;
            width: 100%;
            overflow: hidden;
        }

        .head-section img {
            width: 100%;
            height: auto;
            display: block;
        }

        .head-text {
          position: absolute;
          top: 50%;
          left: 5%;
          transform: translateY(-50%);
          color: white;
          max-width: 40%;
          font-size: 33px;
          line-height: 1.5;
          font-family: 'Montserrat', sans-serif;
          font-weight: 600;
          font-style: italic;
          text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
        }

        /* Карточки */
        .section-blue {
            background-color: #f0f4ff;
            padding: 60px 0;
        }

        .section-title {
          text-align: center;
          font-family: "Playfair Display", serif;
          font-weight: 600;
          font-size: 40px;
          font-weight: 600;
          margin-bottom: 40px;
          color: #2c2c2c;
        }

        .cards-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 30px;
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .card {
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            flex: 0 0 calc(33.333% - 20px);
            box-sizing: border-box;
            padding: 25px;
            text-align: center;
            transition: transform 0.3s ease;
        }

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

        .card img {
            width: 100%;
            border-radius: 8px;
            margin-bottom: 15px;
        }

        .card-title {
            font-size: 16px;
            font-weight: 600;
            color: #222;
            margin-bottom: 10px;
        }

        .card-desc {
            font-size: 14px;
            color: #555;
            line-height: 1.5;
        }

        /* Белые секции */
        .section-white {
            background-color: #ffffff;
            padding: 60px 0;
        }

        .container.double {
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 40px;
        }

        .text-block {
            flex: 1 1 45%;
        }

        .text-block h3 {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 20px;
            line-height: 1.4;
        }

        .text-block p {
            font-size: 16px;
            color: #555;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .btn {
            display: inline-block;
            background: #007bff;
            color: #fff;
            text-decoration: none;
            padding: 12px 20px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.3s ease;
        }

        .btn:hover {
            background: #0056b3;
        }

        .image-block {
            flex: 1 1 50%;
            text-align: right;
        }

        .image-block img {
            max-width: 100%;
            height: auto;
            border: 3px solid #1a5aa2;
            border-radius: 12px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }

        /* 5 блок — фон с градиентом */
        .section-gradient {
            background: linear-gradient(90deg, #f0f8ff 0%, #ffffff 100%);
            padding: 60px 0;
        }

/* ---------------- для МОБИЛЬНЫХ ------------------ */
/* ---------------- для МОБИЛЬНЫХ ------------------ */
/* ---------------- для МОБИЛЬНЫХ ------------------ */
        @media (max-width: 768px) {
          .header-wrapper .container {
            overflow: hidden; /* чтобы "обрезать" всё, что вылезает вправо */
            padding-right: 0;
            padding-left: 0;
            position: relative;
          }
        
          .logo img {
            width: auto;
            height: 120px; /* подберите нужную высоту */
            position: relative;
            right: -40px; /* подберите значение, чтобы сдвинуть влево */
          }

          .head-text {
            font-family: 'montserrat-tren', sans-serif;
            font-size: 3em;
            max-width: 90%;
            left: 5%;
            line-height: 1.4;
          }
            
            nav {
                flex-wrap: wrap;
                justify-content: flex-end;
                gap: 15px;
            }

            .logo img {
                height: 50px;
            }
              
            .cards-row {
              flex-direction: column;
              align-items: center;
            }
          
            .card {
              flex: 0 0 100%;
              font-size: 16px;
            }
          
            .card-title {
              font-size: 18px;
            }
          
            .card-desc {
              font-size: 16px;
            }

            .container.double {
              flex-direction: column;
              align-items: center;
              text-align: center;
            }
          
            .text-block,
            .image-block {
              flex: 1 1 100%;
            }
          
            .text-block h3 {
              font-size: 20px;
            }
          
            .text-block p {
              font-size: 16px;
            }
          
            .btn {
              font-size: 16px;
              padding: 14px 24px;
            }
          
        }
/* ---------------- для МОБИЛЬНЫХ ------------------ */
/* ---------------- для МОБИЛЬНЫХ ------------------ */
/* ---------------- для МОБИЛЬНЫХ ------------------ */
/* ----------------- index.html End ------------------ */





/* ----------Футер Big Begin ---------- */
/* Уникальная обёртка футера */
.site-footer {
  background-color: #21111e;
  color: #ccc;
  font-family: Arial, sans-serif;
}

/* Внутренний блок футера */
.site-footer__wrapper {
  background-color: #1a1a1a;
  padding: 60px 70px 30px 20px;
}

/* Заголовки */
.site-footer__wrapper h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

/* Ссылки */
.site-footer__wrapper a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.site-footer__wrapper a:hover {
  color: #fff;
}

/* Секции */
.site-footer__sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 80%;
  margin: 0 auto;
}


/* Списки */
.site-footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Нижняя строка */
.site-footer__bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 13px;
  
    display: flex;
    justify-content: center;
    gap: 30px; /* расстояние между ссылками */
    flex-wrap: wrap; /* для мобильной адаптации */
    text-align: center;
  }
  
  .site-footer__bottom a {
    display: inline; /* или inline-block */
    color: #ccc;
    margin: 0;
    text-decoration: none;
  }
  
  .site-footer__bottom a:hover {
    color: #fff;
  }
  






/* ------------- для Мобильных Begin ---------- */

@media (max-width: 768px) {
  .site-footer__sections {
    flex-direction: row;
    justify-content: space-between;
  }

  .site-footer__wrapper {
    padding: 40px 20px 20px 20px;
  }

  .site-footer__sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .site-footer__column {
    width: 100%;
  }

  .site-footer__wrapper h3 {
    font-size: 18px;
  }

  .site-footer__wrapper a {
    font-size: 16px;
  }
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .site-footer__bottom {
    border-top: 1px solid #21111e;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 13px;
  
    display: flex;
    justify-content: center;
    gap: 30px; /* расстояние между ссылками */
    flex-wrap: wrap; /* для мобильной адаптации */
    text-align: center;
  }
  
  .site-footer__bottom a {
    display: inline; /* или inline-block */
    color: #ccc;
    margin: 0;
    text-decoration: none;
  }
  
  .site-footer__bottom a:hover {
    color: #fff;
  }
}
/* ------------- для Мобильных End ---------- */
/* ---------- Футер Big End ---------- */


/* ---------- Футер Small для Tren Begin ---------- */
  <style>
  .site-footer-s {
    background-color: #21111e;
    color: #ccc;
    font-family: Arial, sans-serif;
  }
  
  /* Внутренний блок футера */
  .site-footer-s__wrapper {
    background-color: #21111e;
    padding: 0px 0px 40px 0px;
  }
  /* ------------- для Мобильных Begin ---------- */
  @media (min-width: 768px) {
    .site-footer-s__sections {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  
  /* Нижняя строка */
  .site-footer-s__bottom {
      border-top: 1px solid #21111e;
      margin-top: 40px;
      padding-top: 20px;
      font-size: 13px;
    
      display: flex;
      justify-content: center;
      gap: 30px; /* расстояние между ссылками */
      flex-wrap: wrap; /* для мобильной адаптации */
      text-align: center;
    }
    
    .site-footer-s__bottom a {
      display: inline; /* или inline-block */
      color: #ccc;
      margin: 0;
      text-decoration: none;
    }
    
    .site-footer-s__bottom a:hover {
      color: #fff;
    }
    
  /* ------------- для Мобильных End ---------- */
  /* ---------- Футер для Tren_1 End ---------- */





  /* -----------Test Голицынский Begin ------------------ */

  .golitsynskiy1 body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .golitsynskiy1 .test-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 90%;
    width: 100%;
    margin: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .golitsynskiy1 h1 {
    text-align: center;
    color: #333;
    font-size: 22px;
  }

  .golitsynskiy1 .question {
    margin-bottom: 15px;
    font-size: 16px;
    word-wrap: break-word;
  }

  .golitsynskiy1 input[type="text"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    width: 100px;
    max-width: 25%;
    margin: 0 3px;
    text-align: center;
    font-size: 16px;
  }

  .golitsynskiy1 .check-button {
    display: block;
    width: 100%;
    padding: 10px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
  }

  .golitsynskiy1 .check-button:hover {
    background: #45a049;
  }

  .golitsynskiy1 .correct {
    color: green;
    font-weight: bold;
  }

  .golitsynskiy1 .incorrect {
    color: red;
    font-weight: bold;
    text-decoration: line-through;
  }

  .golitsynskiy1 .unattempted {
    color: blue;
    font-weight: bold;
  }

  .golitsynskiy1 .explanation {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    display: none;
  }
/* -----------Test Голицынский End  ------------------- */