/* =========================================================
   ТЕХНОГАЙЯ — ОСНОВНЫЕ СТИЛИ
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    background-image: url('https://nearspace.ru/wp-content/uploads/2014/03/strato211.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
}


/* =========================================================
   ШАПКА
   ========================================================= */

.header {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 25px;
    padding: 100px 20px 0;
    box-sizing: border-box;
}

/* Заголовок */
.title {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
    font-size: 48px;
    line-height: 1.05;
    font-weight: bold;
    color: #e6d85c;
}

.title2 {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
    font-size: 17px;
    color: #e6d85c;
}

/* =========================================================
   ЛОГОТИП И ЦИТАТЫ
   ========================================================= */

.header-row {
    display: flex;
    align-items: flex-start;
    gap: 35px;
}

.logo-block {
    flex: 0 0 450px;
}

.logo {
    display: block;
    width: 450px;
    max-width: 100%;
    margin-top: 10px;
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.5);
}

.block1 {
    flex: 1;
    max-width: 600px;
    margin-top: 10px;
    color: #ffffe0;
    line-height: 1.45;
    text-align: right;
}

.quote span {
    color: #e6d85c;
    font-size: 14px;
}

/* =========================================================
   ПОИСК
   ========================================================= */

.search-form {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 25px 0;
}

.search-form input {
    width: 230px;
    height: 34px;
    padding: 6px 10px;
    background: rgba(0, 0, 80, 0.8);
    border: 1px solid #e6d85c;
    border-radius: 5px;
    color: white;
    outline: none;
}

.search-form input::placeholder {
    color: #ddd;
}

.search-form button {
    height: 34px;
    padding: 0 15px;
    background: #0018b3;
    color: #e6d85c;
    border: 1px solid #e6d85c;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.search-form button:hover {
    background: #e6d85c;
    color: #0018b3;
}

/* =========================================================
   ОСНОВНОЙ КОНТЕЙНЕР
   ========================================================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* =========================================================
   МЕНЮ
   ========================================================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;

    gap: 0;

    padding: 10px 10px;
    margin-bottom: 25px;

    background: rgba(0, 0, 50, 0.85);
    border-radius: 10px;

    white-space: nowrap;
}

.nav li {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav li:not(:last-child)::after {
    content: "|";
    margin: 0 7px;
    color: #e6d85c;
}

.nav a {
    display: block;
    padding: 5px 3px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.nav a:hover {
    color: #e6d85c;
}

.menu-separator {
    color: #e6d85c;
    margin: 0 12px;
}

.nav a {
    display: block;
    padding: 5px 3px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.nav a:hover {
    color: #e6d85c;
}

/* =========================================================
   ЕДИНЫЙ ПОЛУПРОЗРАЧНЫЙ БЛОК КОНТЕНТА
   ========================================================= */

.content {
    width: 100%;
    padding: 30px;
    box-sizing: border-box;

    background: rgba(0, 18, 179, 0.65);
    border-radius: 12px;
    color: white;

    overflow: visible;
}


/* =========================================================
   ВВОДНЫЙ БЛОК
   ========================================================= */

.intro {
    display: flex;

    gap: 30px;

    align-items: flex-start;
}

.intro-left {
    flex: 1;

    padding: 25px;

    background: white;

    border-radius: 10px;

    color: #001b70;
}

.intro-left h2 {
    margin-top: 0;
    margin-bottom: 20px;

    color: #001b70;
}

.intro-left p {
    margin-bottom: 15px;

    color: #001b70;

    line-height: 1.55;
}


.footer {
    margin-top: 40px;
    padding: 25px;
    background: #0f1f3d;
    color: white;
    border-top: 3px solid #d4af37;
}

.footer-content {
    text-align: center;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: #d4af37;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 14px;
    opacity: 0.8;
}
@media (max-width: 768px) {

  /* Заголовок */
  .title {
    position: static;
    transform: none;
    font-size: 28px;
    margin: 20px 0;
    text-align: center;
  }

  /* Шапка в колонку */
  .header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Логотип */
  .logo {
    width: 200px;
  }

  /* Текст */
  .block1 {
    max-width: 100%;
    margin-top: 20px;
    text-align: center;
  }

  /* Меню */
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Контейнер */
  .container {
    padding: 10px;
  }

}
@media (max-width: 768px) {

  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav li {
    list-style: none;
  }

  .nav a {
    font-size: 14px;
  }

.news-text h4 {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* сколько строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
}
.menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}



#google_translate_element {
    margin: 0;
    padding: 0;
    height: 28px;
    flex-shrink: 0;
    white-space: nowrap;
}

#google_translate_element .goog-te-gadget {
    font-size: 0;
    white-space: nowrap;
}

#google_translate_element .goog-te-combo {
    width: 95px;
    height: 28px;
    padding: 2px 5px;

    background: #0018b3;
    color: #e6d85c;

    border: 1px solid #e6d85c;
    border-radius: 5px;

    font-family: Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
}